arXiv:2610.25098cs.ITOct 2026

Manuscript Offprint

arXiv:2610.25098

Pre-Query Retention with Bounded Bit and Word Retrieval

Pranav Singh, Prashant Singh

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

PRANAV SINGH*, Indian Institute of Technology Ropar, India

PRASHANT SINGH*, Indian Institute of Technology Ropar, India

An agent can retain information before receiving a future question and later retrieve evidence from an archive. Evaluating this arrangement requires accounting for both retained information and the width of each retrieval response. Decision-tree capacity bounds describe individual sets of distinguishable records, but a memory writer must encode every possible record before the query is known. We study fixed-length retention beside an immutable binary archive, with a worst-case limit on raw bit or word reads. We characterize feasible one-bit-read memory cells and construct encoders that partition the complete record space. Supporting pairwise exclusive disjunction and conjunction with one bit read is equivalent to supporting every Boolean query. For multiple reads, we combine explicit encoders with decision-tree counting and an entropy converse. The word-read bounds differ by at most two retained bits when the read budget is at most half the archive length. Under an explicit condition on word width and archive length, raw-word caching attains the exact optimum among all writers. A related condition preserves this optimum under positive average error. Exhaustive checks validate the implementations. In a matched dialogue-agent study, a categorical sufficient statistic preserves source decisions with less storage and lower decoding latency than the universal encoder. A catalogue-specific index reduces private state further and requires additional shared storage. The results characterize how response width and future query structure determine retention requirements.

1 Introduction

An agent may receive evidence before knowing which future decision will use it. A memory writer can compress that evidence into retained state, while a later reader retrieves selected parts of the original archive. The retained state and retrieval responses jointly determine which decisions remain possible. Decision-oriented compression and selective information acquisition already address this relationship [Bilgic and Getoor 2011; Permuter and Weissman 2011; Zou et al. 2026].

A useful comparison must specify the archive interface. A bit read returns one original binary coordinate. A word read returns a fixed block of original coordinates. Both interfaces differ from querying a rewritten index or a semantic retrieval service. Systematic data structures formalize storage beside original data [Gál and Miltersen 2003; Natarajan Ramamoorthy and Rashtchian 2020]. Input-dependent information available without charged probes also appears as published bits [Pătrașcu and Viola 2010]. Help-bit models study information provided before bounded decision-tree computation [Nisan et al. 1999]. Our focus is a single writer shared by all subsequent Boolean queries, where a Boolean query returns a binary decision about the record.

Decision-tree capacity provides a local restriction on such a writer. A retained state identifies a set of possible records, called its memory cell. The reader must answer each query on that cell using bounded raw retrieval. Established shattering results characterize sets on which decision trees can realize every binary labeling [Leboeuf et al. 2022; Yildiz 2012, 2015]. A retention guarantee also requires a fixed-length encoding that partitions the complete record space into suitable cells. Response width must be included when interpreting the resulting savings.

We study this global encoding problem with unrestricted computation and an explicit worst-case read budget. Figure 1 shows the writer and reader interfaces. The writer records offsets relative to public anchor features. After receiving a query, the reader evaluates it on the candidate records allowed by those offsets. A selected raw

∗^{*}Both authors contributed equally to this work.

Authors' Contact Information: Pranav Singh, 2023mcb1308@iitrpr.ac.in, Department of Mathematics, Indian Institute of Technology Ropar, Rupnagar, Punjab, India; Prashant Singh, 2023mcb1309@iitrpr.ac.in, Department of Mathematics, Indian Institute of Technology Ropar, Rupnagar, Punjab, India.

• Pranav Singh and Prashant Singh

Figure

Fig. 1. Pre-query writing and bounded raw retrieval.

coordinate then determines the answer. For word retrieval, the reader compares this construction with retaining all words except those it will read directly.

A retained payload alone does not specify archive requirements or query coverage. The matched application compares these resources under fixed source observations and includes shared codebooks in its storage accounting. Our contributions are as follows:

  • We characterize one-bit-read memory cells and prove that supporting pairwise exclusive disjunction and conjunction implies support for every Boolean query. Explicit full-domain encoders attain the resulting fixed-bit retention bounds.

  • We derive word-read retention bounds with a uniform gap of at most two bits for budgets up to half the archive length. We identify a regime in which raw-word caching is exactly optimal among all writers.

  • We extend the counting converse to randomized schemes with average error and obtain an exact caching regime with positive error allowance.

  • We provide instrumented implementations, exhaustive checks, and a matched text-to-decision evaluation. The study separates preservation of source decisions from source accuracy and compares payload, archive, and shared storage across query workloads.

The capacity bounds and selector constructions originate in prior decision-tree work [Yildiz 2012, 2015]. Our results concern writer partitions, workload equivalence, and their retained-state consequences under specified retrieval interfaces.

References (45)