{"id":"d3655724-a78a-44f5-ac0c-fb95ef3681a5","arxiv_id":"2610.21810","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":3,"one_line_summary":"A shared Gaussian trellis with per-row norm restoring scales compresses n-gram lookup tables to about two bits per value, cutting output KL by 41-63% versus round-to-nearest on three model families.","lead":"Conditional Program (CP) compresses the n-gram lookup tables that give language models extra memory, storing each row as a short code plus a scale decoded by a shared trellis. At two bits per value, CP cuts storage about four to eight times while keeping most task scores, and lowers output divergence 41 to 63 percent versus round-to-nearest.","discovery_kind":"new_application","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Table 3 undercuts the abstract's matched-budget claim: mean+trellis beats the shared trellis at equal 2.10 bpp (0.0193 vs 0.0198), and the 2.50 bpp trellis reference is interpolated, not measured.","rationale":"I read the central engineering claim as well supported: CP at roughly two bits preserves task scores across 40 tasks and three model families, reduces output KL by 41-63% versus 2-bit RTN with paired bootstrap intervals, and cuts the DeepSeek table from 202.7 to 50.7 GB. The Gaussian source model is explicitly heuristic, but the paper checks it empirically with row kurtosis, effective rank, and direct VQ/trellis comparisons, so I do not consider it the weakest point. The weakest point is internal: the paper's own Table 3 contains a statistically resolved matched-budget case where a low-rank residual variant (mean+trellis) beats the plain shared trellis, while the comparison that would support trellis superiority at 2.50 bpp rests on an unmeasured interpolated value. This does not overturn the main result, but it does mean the abstract's matched-budget sentence should not be taken at face value until the missing point is measured. The reader's CONDITIONAL verdict already accounts for the broader reproducibility concerns, so my stress-test does not move the verdict.","tokens_in":40240,"tokens_out":18200,"duration_ms":152229,"concrete_test":"Re-run the Qwen matched-budget comparison in Table 16 with measured, non-interpolated trellis points at 2.10 and 2.50 bpp using the same 256 held-out FineWeb-Edu documents and paired 2,000-document bootstrap. If the measured 2.50 bpp trellis KL is at or above 0.0188, or if the 2.10 bpp mean+trellis variant still beats the plain shared trellis, the abstract's matched-budget claim should be revised to say the shared trellis is competitive with, not superior to, the tested structured variants.","verdict_should_be":"UNCHANGED","load_bearing_attack":"Section 4.3 and the abstract claim that 'at matched storage budgets, the shared trellis outperforms the fitted codebooks and low-rank residual variants we test.' Table 3's own Qwen numbers do not support that for the low-rank variants: at equal 2.10 bpp, 'Mean + trellis' has output KL 0.0193 whereas 'Shared trellis' has 0.0198, a 2.4% improvement with 95% CI [0.1, 4.5] (Appendix D.2). That is a matched-budget comparison, and mean+trellis is exactly the kind of structured residual the abstract says the shared trellis beats. The paper's 'improvements are limited relative to storage required' is a judgment about practical value, not a refutation of the comparison. The separate 2.50 bpp comparison against 'Mean + four PCs + trellis' (0.0188) relies on a trellis reference of 0.0144 obtained by log-linear interpolation with no measured run and no uncertainty (acknowledged in Appendix D.2 and Limitations); if the true 2.5-bit trellis KL is at or above 0.0188, the only direct evidence for trellis superiority over the PC-residual variant disappears. The headline 41-63% KL reduction versus RTN and the 203-to-51 GB storage figure are unaffected; the concern is confined to the matched-budget superiority claim, which is nevertheless part of the abstract.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper introduces Conditional Program (CP), a compressed representation for n-gram lookup tables in LLMs. Each row is stored as a short Gaussian-trellis code plus a bf16 norm-restoring scale, with a shared reconstruction program (an HYB trellis) used to decode any row; because rows are independent fixed-size records, only requested rows are fetched and decoded at inference. The method is evaluated on three hashed-memory models (DeepSeek-V4.1-Flash, Qwen3.8-Flash-Next, LongCat-Flash-Lite) on a 40-task suite and on six-domain output-KL sweeps, with systems measurements for selective lookup, GPU memory tiers, and workload capacity. The paper claims roughly 4-8x table compression at two bits with near-parity task scores, a 41-63% reduction in output KL versus 2-bit RTN and a further 3-9% reduction versus QTIP (Table 13), a reduction of the DeepSeek tables from 202.7 to 50.7 GB, norm restoration as the better row-scale choice, and matched-budget superiority of the shared trellis over fitted VQ codebooks and low-rank residual variants. A boundary study on token-indexed Gemma PLE tables delimits the method's scope.","tokens_in":40676,"tokens_out":14629,"duration_ms":106371,"significance":"If the claims hold, the paper makes a useful contribution: it shows that frozen hashed n-gram lookup tables can be stored near two bits per value with most task performance retained, while preserving selective per-row access, and it quantifies the serving benefits (GPU memory relief, larger workloads, faster host-memory prefill). The evidence for the two leading claims is strong: the 41-63% KL reduction over RTN follows from paired chunk-bootstrap ratios in Table 13, and the 202.7-to-50.7 GB reduction is consistent across Tables 1 and 13. The evaluation is unusually careful: 40 tasks with paired item bootstraps, held-out gain sweeps with predictions fixed before test splits were opened and the failed primary predictor reported (Appendix E.2), a synthetic rank sweep with pre-fixed equivalence margins (Appendix D.2), a transparent boundary test on token-indexed tables (Appendix H), and storage-accounting conventions that are conservative for CP in some comparisons (Appendix A.3).","major_comments":[{"comment":"The abstract's matched-budget claim is contradicted by the paper's own Table 3. The abstract states that 'at matched storage budgets, the shared trellis outperforms the fitted codebooks and low-rank residual variants we test.' Table 3 reports that at the same 2.10 bpp, 'Mean + trellis' achieves output KL 0.0193 against 0.0198 for the shared trellis, a 2.4% improvement whose 95% CI [0.1, 4.5] excludes zero (Appendix D.2, Table 16). This is a matched-budget comparison, and 'Mean + trellis' is exactly the kind of structured residual the abstract says the shared trellis beats. The paper's Section 4.3 sentence that these representations' 'improvements are limited relative to the storage required' is a practical-value judgment, not a refutation of the equal-rate comparison, since the per-head mean adds negligible shared storage. Additionally, the fitted-codebook and structured-residual comparisons measure output KL on Qwen only, as the Limitations acknowledge, so the abstract's general phrasing is too strong on two counts. The abstract and the Section 4.3 sentence 'These findings support using a shared trellis rather than fitting and storing table-specific representations' should be reworded to restrict the superiority claim to fitted codebooks, or to present mean+trellis as a competitive equal-rate alternative.","section":"Abstract and Section 4.3, Table 3","authors_acknowledge":"Analysis.The fitted-codebook and structured- residual comparisons evaluate output KL only on Qwen, limiting their generality across models.","authors_acknowledge_p":0.7},{"comment":"The evidence for trellis superiority over the PC-residual variant at 2.5 bits rests on an unmeasured, interpolated reference. The comparison of 'Mean + four PCs + trellis' (0.0188 at 2.50 bpp) against 'Shared trellis curve' (0.0144) uses a log-linear interpolation across the 1.5-, 2- and 2.5-bit rates, with no measured run and no uncertainty, as acknowledged in Appendix D.2, in the footnote to Table 16, and in the Limitations ('Some equal-budget comparisons use interpolated trellis values without uncertainty estimates'). If the true 2.5-bit trellis KL is at or above 0.0188, the only direct evidence for trellis superiority over the PC-residual variant disappears and the matched-budget claim would need to be withdrawn or qualified. Because the abstract-level claim depends on this comparison, a measured 2.5-bit trellis run with a bootstrap interval is needed to sustain the claim as stated; otherwise the claim should be restricted to the measured 2.10 bpp comparison against the fitted VQ codebooks.","section":"Appendix D.2, Table 16, and Limitations","authors_acknowledge":"Some equal-budget comparisons use interpolated trellis values without uncertainty estimates.","authors_acknowledge_p":0.96}],"minor_comments":[{"comment":"The CP 2-bit rows are unlabeled and appear as continuation rows under the QTIP block (for example the DeepSeek row at 50.7 GB, the Qwen row at 13.4 GB, and the LongCat row at 8.1 GB). They should be labeled 'CP 2' so the table matches Appendix C, where the same values appear as CP at 2.06-2.10 bpp.","section":"Table 1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Two editorial artifacts reading 'Length revision: original wording retained below.' appear in Section 2.1 and should be removed before publication.","section":"Section 2.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Appendix A.3 discloses that the Qwen RTN baseline is evaluated with its group scale and minimum kept in fp32 while its advertised rate counts that metadata as bf16; this convention favors RTN and is conservative for CP, so it would be helpful to state it in a footnote to Table 1 rather than only in the appendix.","section":"Appendix A.3 and Table 1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The main-text phrasing that norm restoration 'consistently achieves lower output KL divergence across all three models' is based on the six-domain geometric mean of Table 4; the held-out gain test in Table 19 confirms the advantage on LongCat (all domains, ratios .904-.940) and on Qwen web and code (.944-.983), but the DeepSeek intervals and the Qwen multilingual interval include 1. The paper reports this transparently, and a short pointer in Section 4.3 to the partial held-out confirmation would prevent readers from over-reading the claim.","section":"Section 4.3, Tables 4 and 19","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Colleague —\n\nThe paper is worth engaging with seriously. The central claim, that frozen hashed n-gram lookup tables can be stored at roughly two bits per value with a shared Gaussian trellis plus per-row norm-restoring scales while keeping most task performance, is supported by the reported evidence: three model families, 40 tasks, paired item-bootstrap intervals, and honest disclosure of a failed prediction. The 41–63% KL reduction versus 2-bit RTN and the 202.7-to-50.7 GB DeepSeek table reduction stand up.\n\nWhat is actually new: applying QTIP's trellis codec to frozen lookup rows with per-row norm restoration, independently decodable row records, and the finding that restoring the original row norm beats least-squares scaling for downstream KL, with a theoretical condition and a held-out gain test. The paper also reports a pre-registered prediction that missed, and says so. That is good practice.\n\nThe soft spot that matters is in the abstract. It claims that at matched storage budgets the shared trellis outperforms the fitted codebooks and low-rank residual variants tested. The paper's own Table 3 shows the opposite for one of those variants: at equal 2.10 bpp on Qwen, mean+trellis gives KL 0.0193 versus 0.0198 for the shared trellis, with a 95% CI that excludes zero. The 2.50 bpp comparison against mean+four-PCs+trellis uses an interpolated trellis value with no measured run and no uncertainty. The authors acknowledge the interpolation in the Limitations and Appendix D.2, but the abstract still overstates. The headline KL and storage claims are unaffected; this is confined to the matched-budget superiority sentence.\n\nThe Gaussian source model is heuristic. The paper's own numbers show 19–33% of energy in 16 shared directions among frequent rows, against a 6.25–10% Gaussian reference, and the synthetic crossover near 45–50% spike energy is a judgment call. They disclose this and test it. Serving numbers are single-node, eager inference, with some one-run configurations; also acknowledged. No code, data, or commit hash is released, and the upstream tables are proprietary, so the numbers cannot be independently reproduced from the paper alone.\n\nBottom line: solid, carefully evaluated work with one overclaim in the abstract and a few addressable weaknesses. It deserves peer review. I would send it to a serious referee and require the matched-budget claim to be corrected or the comparison completed.","headline":"Core compression result is solid and honestly evaluated, but the abstract's matched-budget claim is contradicted by the paper's own Table 3 and needs fixing before publication.","tokens_in":41282,"tokens_out":3566,"duration_ms":31977},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Hashed n-gram lookup tables in LLMs can be stored at about two bits per value — shrinking a 203 GB table to 51 GB — while keeping most task scores and per-row selective lookup.","keywords":["conditional memory","n-gram lookup tables","table quantization","trellis-coded quantization","Gaussian source model","2-bit compression","selective lookup","LLM serving"],"falsifier":"Measure the shared-direction energy of the most-read rows of a trained conditional-memory table: the paper's own synthetic sweep places the crossover near 45–50% spike energy, so if roughly 16 fitted directions capture about half of those rows' squared norm (rather than the 10–33% measured here), the shared-trellis claim fails for that table and per-table fitted codebooks should win at equal storage. A direct test is to train or find a conditional-memory model whose rows carry strong low-rank structure and compare output KL of shared-trellis versus fitted-VQ compression at the same bit budget.","tokens_in":43680,"feed_emoji":"🗜️","tokens_out":2404,"duration_ms":93160,"temperature":0.7,"pith_summary":"Large language models are beginning to carry conditional memory: huge embedding tables, keyed by hashed input n-grams, from which each token reads only a handful of rows. This paper tries to establish that such tables can be stored at roughly two bits per value without giving up either fidelity or selective access: each row keeps a short trellis code and one per-row scale, and a single Gaussian trellis shared by the whole table reconstructs only the rows an input requests. The authors report that across three model families and 40 tasks, this nearly matches uncompressed tables, cuts output KL by 41–63% relative to 2-bit round-to-nearest, and shrinks a 202.7 GB DeepSeek table to 50.7 GB. The payoff is practical: smaller tables fit on GPU, four- to eightfold storage savings translate into larger workloads, and row-granular records keep host-memory lookup fast.","feed_headline":"Two bits per value shrink a 203 GB LLM table to 51 GB","feed_subtitle":"One shared Gaussian trellis plus per-row scales keeps most task scores and selective lookup intact.","key_machinery":"The carrying object is the Conditional Program representation, $\\hat{e}_i = \\alpha_i f(c_i)$: a per-row trellis code $c_i$, a per-row bf16 scale $\\alpha_i$, and one shared decoder $f$ implemented as trellis-coded quantization with a Gaussian HYB bitshift trellis, a 16-bit state, two values per step, and tail-biting Viterbi search. The shared decoder is justified by a source model: normalized rows $z_i = \\sqrt{d}\\, e_i/\\|e_i\\|_2$ are treated as approximately $\\mathcal{N}(0,1)$ coordinate-wise, so one trellis built from a Gaussian codebook encodes every row without per-table codebooks or rotation. The scale does the second half of the work: $\\alpha_i$ restores the original row norm exactly, which the paper shows is preferable to least-squares scaling in the downstream model, and a local quadratic analysis yields the condition $2v^\\top H u > (1+c)v^\\top H v$ under which magnitude preservation beats coordinate error. Storing each record as an independent (code, scale) pair at rate $b + 16/d$ bits per value preserves selective lookup, because a fused kernel fetches and decodes only addressed rows.","core_discovery":"The central claim is that a single shared reconstruction rule, instantiated as a Gaussian trellis decoder, suffices for the normalized contents of every row of a hashed n-gram memory, so the compressed table stores only a short code $c_i$ and a norm-restoring scale $\\alpha_i = \\|e_i\\|_2/\\|f(c_i)\\|_2$ per row, with $\\hat{e}_i = \\alpha_i f(c_i)$. The paper argues that normalized rows approximate a standard Gaussian source by a high-dimensional central-limit argument, and its measurements find within-row kurtosis within 0.02–0.06 of the Gaussian reference even though frequently read rows carry 10–33% of their energy in 16 shared directions (against a 6.25–10% Gaussian baseline). At two bits, the paper reports a 41–63% output-KL reduction over 2-bit round-to-nearest and a further 3–9% over the QTIP trellis baseline, with pooled accuracy across all 40 DeepSeek tasks changing by −0.07 points. The central design choice is norm restoration: for a fixed code, restoring the original row magnitude beats a least-squares scale on output KL for all three models, so minimizing reconstruction error is not the right objective when decoded rows feed a trained readout and network.","pith_inferences":["Generalization: if the Gaussian-row premise holds, the conditional-program recipe is not tied to hashed n-grams — any frozen lookup table with roughly isotropic rows could be stored at about two bits, with the per-row scale carrying magnitude; the paper's own token-indexed Gemma test indicates such tables need sensitive-row protection first.","The norm-restoration condition, $2v^\\top H u > (1+c)v^\\top H v$, is a transferable test: in any setting where quantized embeddings feed a trained network, one could check before compressing whether magnitude preservation will beat least-squares scaling, rather than discovering it after the fact.","The paper's roughly 45–50% spike-energy crossover is a falsifiable boundary for future training methods: if conditional-memory training is pushed toward stronger shared low-rank structure, fitted codebooks should overtake the trellis exactly in that regime.","A deployment consequence left implicit is that compression stacks with caching: because each record is four to eight times denser, hot-row caches hold proportionally more rows, so host-side serving should require less DRAM per replica and fewer SSD reads per token at a fixed cache size."],"forward_implications":["DeepSeek's Engram tables drop from 202.7 GB to 50.7 GB at 2.06 bits per value, with pooled accuracy across all 40 tasks changing by −0.07 points and most per-task confidence intervals containing zero.","Two-bit CP preserves output distributions: per-token KL falls 41–63% relative to 2-bit round-to-nearest and a further 3–9% relative to the QTIP trellis baseline across web, code, math, chat, and multilingual text.","GPU serving capacity grows: on four H200s the representative DeepSeek prefill drops from 64.66 s to 13.27 s and a batch-512 decode becomes feasible; on eight GPUs the largest tested decode batch rises from 1,024 to at least 2,048 and prefill from 96k to at least 128k tokens.","Selective access survives compression: independent row records make a 4,096-token host-memory lookup 6.54 ms versus 10.78 ms for a tile-window layout, and a 51.5 GB cache can hold the entire compressed table.","Norm restoration is the objective that matters: restoring the original row magnitude consistently beats least-squares scaling on output KL across all three models, implying the downstream network consumes row magnitude, not just direction."],"supporting_citations":[{"why":"Defines the hashed n-gram conditional-memory architecture whose lookup tables are the compression target.","marker":"Cheng et al., 2026"},{"why":"Supplies the second conditional-memory family (scaling embeddings) whose tables CP compresses.","marker":"Liu et al., 2026"},{"why":"Provides the Gaussian HYB bitshift trellis construction CP adapts and the QTIP tile-window baseline for lookup cost.","marker":"Tseng et al., 2024b"},{"why":"Foundation of trellis-coded quantization that the shared decoder instantiates.","marker":"Marcellin and Fischer, 1990"},{"why":"High-dimensional isotropy results used to justify modeling normalized rows as a Gaussian source.","marker":"Diaconis and Freedman, 1987"},{"why":"Defines the NVFP4/MXFP4 micro-scaling formats used as four-bit baselines.","marker":"Rouhani et al., 2023"},{"why":"Supports the TCQ instantiation with trellis encoding results for IID Gaussian sources.","marker":"Mao and Gray, 2010"}],"fun_headline_variants":["Shared trellis shrinks LLM table from 203GB to 51GB","Two-bit Gaussian trellis lowers output KL 41-63%","Norm-restoring codes cut 203GB table to 51GB on GPU","Two-bit row codes beat round-to-nearest on LM output KL","Conditional program stores LLM n-gram memory at two bits"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The scheme stands or falls on the premise that the normalized contents of trained lookup rows look enough like independent Gaussian vectors that one fixed trellis decodes every row well; if rows ever concentrate more than about half their energy in a few shared directions, fitted per-table codebooks would beat the shared trellis at the same storage.","fun_headline_variants_meta":{"raw":{"variants":["Shared trellis shrinks LLM table from 203GB to 51GB","Two-bit Gaussian trellis lowers output KL 41-63%","Norm-restoring codes cut 203GB table to 51GB on GPU","Two-bit row codes beat round-to-nearest on LM output KL","Conditional program stores LLM n-gram memory at two bits"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000148,"raw_usage":{"cost":0.0001478204,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0001478204,"upstream_inference_prompt_cost":3.35244e-05,"upstream_inference_completions_cost":0.000114296},"total_tokens":1698,"prompt_tokens":1070,"completion_tokens":628,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":877,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":543}},"tokens_in":1070,"tokens_out":628,"cost_source":"openrouter_usage","duration_ms":6892,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":543,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-16T11:35:47.865034+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Measure the shared-direction energy of the most-read rows of a trained conditional-memory table: the paper's own synthetic sweep places the crossover near 45–50% spike energy, so if roughly 16 fitted directions capture about half of those rows' squared norm (rather than the 10–33% measured here), the shared-trellis claim fails for that table and per-table fitted codebooks should win at equal storage. A direct test is to train or find a conditional-memory model whose rows carry strong low-rank structure and compare output KL of shared-trellis versus fitted-VQ compression at the same bit budget.","supporting_citations":[{"cited_title":"Pooling Engram conditional memory in large language models using CXL","cited_arxiv_id":null,"evidence_quote":"Supplies the second conditional-memory family (scaling embeddings) whose tables CP compresses."},{"cited_title":null,"cited_arxiv_id":null,"evidence_quote":"Foundation of trellis-coded quantization that the shared decoder instantiates."},{"cited_title":"and Gray, Robert M","cited_arxiv_id":null,"evidence_quote":"Supports the TCQ instantiation with trellis encoding results for IID Gaussian sources."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}