arXiv(opens in a new tab)cs.IRSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.07663

Noēsis: Deterministic-First Retrieval with Two-Tier Context Hydration for Factuality-Critical Queries on Small Local Models

Nicola Cogotti

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Retrieval-Augmented Generation (RAG) is increasingly deployed on small, local language models for latency, cost, and data sovereignty. Yet answer quality remains tightly coupled to model scale: sub-7B models fail to utilize retrieved context effectively, and standard RAG can be a net negative at this scale [3]. We argue this coupling is an artifact of the query interface, not of model capacity. On factuality-critical queries—exact values, cross-source alignment, multi-source attribution—the dominant failure is not retrieval miss but confabulation: models fabricate numbers and timestamps even when correct evidence is in context.

We present Noësis [1], the deterministic-first query plane of the Noësis architecture, which makes every deterministic judgment before generation. Its mechanisms are a direct consequence of the ingestion architecture—the subject of a separate patent application: (a) a producer-side fact layer rendering precomputed metric facts verbatim without ranking; (b) positional addressing with deterministic cross-source alignment, resolved ahead of query time at zero LLM cost; (c) provenance scoping as an attribution constraint with multi-tier named-reference routing; and (d) two-tier context with model-triggered verbatim hydration.

Across four ablations, a 2B-parameter model achieves parity with a 35B model on factual integrity for factuality-critical questions (exact values in all runs; zero confabulated numbers on absent-entity traps); structured retrieval outperforms flat RAG by +11.4 points at 2B; skeleton-only context preserves quantitative answers at -20/30% prompt size; and hydration recovers verbatim narrative in ~8s versus ~29s for eager context. Two properties matter for regulated domains: each factuality-critical query resolves in a single generation call, and every reported value is traceable to its exact source and position by construction.

1 Introduction

Retrieval-Augmented Generation grounds large language model (LLM) responses in external corpora [2]. When the generator is a small local model—the regime of on-premises, latency-sensitive, and data-sovereign deployments—two problems dominate. We describe them, then present the query plane that addresses both.

Model-Scale Coupling. Deploying RAG on small language models (SLMs) keeps inference fast, cheap, and inside the organization's network perimeter [9]. A recent controlled study across scales from 360M to 8B parameters carefully characterizes a limit of this regime: below 7B the main limitation of RAG is not retrieval quality but context utilization—even when the retrieved passage is guaranteed to contain the answer, small models often fail to use it reliably, and adding retrieval context under standard conditions can be a net negative at this scale [3]. A common reading of such results is that better answers require bigger models.

*Patent pending. Application No. 102026000023146; Application No. IT202500035167. This paper is the query-plane counterpart of our companion work on the Noësis architecture [1].

Confabulation on Factuality-Critical Queries. We observe a failure mode we consider more severe for production use. On factuality-critical queries—questions whose answer is an exact value at an exact position (a peak audience share of 37.5% at second 146; the minimum of a series; the difference between two programs)—the dominant error is not retrieval miss but confabulation: the model emits plausible numbers and timestamps that are absent from the corpus, even when the correct evidence is present in context. This query class is central to any factuality-critical domain—audience metrics, scheduling and rights in media; dosages and lab values in healthcare; figures and citations in finance and legal—and it is the one where a wrong number is not merely unhelpful but actively harmful: a decision made on a fabricated value (an editorial call on a peak share, a clinical reading, a financial figure) is worse than no answer at all. We evaluate on broadcast media as one such domain, chosen for its unambiguous ground truth; the mechanisms assume no particular subject matter.

Context Bloat under Eager Retrieval. A second problem compounds the first. Standard RAG assembles context eagerly: top-kk prose chunks are retrieved and injected regardless of whether the question needs them, a pattern associated with context overload and indiscriminate retrieval in agentic settings [10]. For quantitative questions, prose is not merely redundant—it competes for attention with the few deterministic values the answer depends on, and it inflates prompt size exactly where small models degrade most. The field's response has been to add machinery: learned retrieval triggers [15, 16], corrective evaluators [17], compression models [21, 22]. We take the opposite direction: we remove from the model every judgment that the infrastructure can make deterministically, and we let the model request—rather than receive—the prose it actually needs.

Positioning. This paper is the query-plane counterpart of our companion work on the Noesis architecture [1], which presented the ingestion side of the system (bidirectional graph traversal, adaptive parallelism, model quantization, cross-KB semantic discovery). The mechanisms reported here are a direct consequence of that architecture. We make no claim that any single mechanism is new in isolation; several have close prior art (§9). Our contribution is their conjunction into a deterministic-first query interface—made explicit as an assembly principle we call epistemic tiering (§7)—and its measured effect on small-model answer quality.

Contributions. We present Noesis, the fully implemented and validated query plane of the Noesis system:

  1. A producer-side deterministic fact layer: metric facts computed at ingestion time, materialized as graph nodes, rendered verbatim in context without any threshold level (§3);

  2. Positional addressing with deterministic cross-source alignment: content made addressable by position along an ordered attribute, related to positional observations ahead of query time at zero LLM cost (§4);

  3. Provenance scoping as an attribution constraint and multi-tier named-reference routing: no lossy signal can veto a named reference; scoping bounds attribution, never data access (§5);

  4. Two-tier context with model-triggered verbatim hydration: a structural skeleton without prose, completed on demand by inventory-addressed fetches the model itself requests—training-free, no control tokens, no constrained decoding (§6);

  5. Epistemic tiering and address-bounded assembly: context is assembled by the mechanism that selected each piece of evidence—computed facts, addressed spans, discovered chunks—each with its own section, provenance, and scope; once deterministic addressing resolves a file set, semantic fill operates inside it (a bilevel structure), with an escape valve so the constraint bounds noise but never coverage (§7);

  6. A four-arm ablation study (A–D) demonstrating that, for factuality-critical queries over producer-structured corpora, a 2B local model matches a 35B model when the deterministic infrastructure is present, and degrades gracefully when it is removed (§8).

Patent Pending — App. No. 102026000023146, IT202500035167

Table 1: Mechanisms of Noësis. “Guarantee” states the property that holds by construction, not by score.

MechanismActs atGuarantee by construction
Deterministic fact layer (§3)Producer (ingestion)Exact metric values are always in context; never demoted or filtered by any score
Positional addressing + cross-source alignment (§4)Producer (index time)Positional queries answerable without LLM; cross-source “what was happening when” is deterministic
Provenance scoping + named-reference routing (§5)Query (activation)A named reference deterministically reaches its owning source/KB; attribution never crosses sources
Two-tier hydration (§6)Query (context assembly)Prose cost is paid only when the model requests it; fetches are bounded to the named file and validated against the KB inventory
Epistemic tiering + address-bounded fill (§7)Query (context assembly)Addressed content never competes with ranked evidence for attention; once an address resolves, semantic fill stays inside the addressed files; no resolvable address ⇒ byte-identical unconstrained assembly

References (28)