CPU-LLM: A CPU-First Evidence Engine for Cited Answers, Deterministic Checks and Labelled Hypotheses
We describe CPU-LLM, an open-source Python library that answers questions from a user's own documents on commodity CPUs without a generative language model. Documents are split into passages, encoded once with a frozen sentence encoder, and stored with explicit directed facts in PostgreSQL/pgvector. A request passes through a 27-stage graph that authenticates the caller, retrieves passages through six representation channels, and delivers only sentences or licensed constructions whose relation to the question has been checked. Every reply carries an answer_status: answered, refused for insufficient evidence, conflicting, or unverified hypothesis. An optional strict mode delivers only literal substrings of authorized stored text. Deterministic nodes handle rule-based deduction, exact arithmetic and interval constraints. A separate family of nodes proposes hypotheses, always labelled UNVERIFIED_HYPOTHESIS. Frontier enumerates relation chains across a knowledge base in the manner of Swanson's literature-based discovery. Deepen then examines one hypothesis link by link and returns supporting and contrary quotes and a test plan. We report the recorded evaluations: a synthetic request benchmark (460/460 rows, 86/86 expected abstentions), an answerability contract (6/6 answerable, 0 unsupported answers on 9 unanswerable items), ingestion cost, and Frontier runs over three corpora of openly licensed papers. On a holdout in which nine published findings were removed, Frontier recovered none fully and two partially. We state what the system does not do: it does not establish that a source is true, and its hypotheses are candidates to screen, not findings.
Authors
- Amin Parva
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.5281/zenodo.24453545
- Primary Topic
- Topic Modeling
- Type
- preprint