{"id":"3abeda80-6348-4c12-9899-809770e7ade0","arxiv_id":"2610.31309","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":7.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":6,"one_line_summary":"A token-shared, layer-decoded vector quantization scheme compresses Gemma 4 per-layer embeddings about 100x while retaining 97.8% of seven-task performance on BF16 E4B.","lead":"OPTIC compresses Gemma 4's per-layer embedding tables around 100x by giving each token one shared code that every layer decodes separately, while keeping about 97.8% of the model's benchmark performance. It matters because these large embedding tables are a growing share of model memory, and the scheme cuts serving GPU memory by 29.7% with negligible slowdown.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Load-bearing residual uncertainty: OPTIC's codes and decoders are fitted under one untested calibration-gate policy in which roughly 29% of records use all-ones gates, so the 97.8% E4B headline still depends on benchmark-gate transfer.","rationale":"The reader's weakest assumption and my concern coincide: calibration transfer. I agree and sharpen it to the all-ones synthetic records, which contribute roughly 29% of records entering the global gate covariance used for code reassignment (Equation 7) and to the continuous objective. The paper is internally consistent, storage accounting is explicit, and benchmark retention is direct evidence of transfer on the seven reported tasks, so this is not a rejection reason. It is, however, the least-secure condition for the central claim: no ablation changes the gate policy, and the single seed acknowledged in Limitations is not the only unvaried fitting choice. I therefore keep CONDITIONAL rather than accepting unconditionally or rejecting. The synthetic-gate refit would settle whether the all-ones choice is material.","tokens_in":27037,"tokens_out":1713,"duration_ms":181506,"concrete_test":"Refit the nominal-100x BF16 E4B OPTIC artifact with the synthetic vocabulary records' gates set to the per-layer mean of the natural-text calibration gates instead of all-ones, keeping the 5,000-update schedule, fitting seed 0, and the evaluation protocol otherwise fixed. If the seven-task retention moves by more than about 2 percentage points from 97.8%, the all-ones gate policy is load-bearing; if retention stays within the reported bootstrap interval (95.5-99.0%), the concern is resolved.","verdict_should_be":"UNCHANGED","load_bearing_attack":"All OPTIC codes and decoders are fitted under a single calibration-gate policy (Section 3.2): 786,432 natural-text positions plus 262,144 synthetic vocabulary records and 55,200 repeated special-token rows with all-ones gates. The code-reassignment surrogate (Equation 7) uses one global gate-covariance G_l (Equation 6) for every token, so the all-ones records are not isolated to rare-token initialization: roughly 29% of the records entering G_l and the continuous-update batches carry all-ones gates. No experiment varies this policy, and the headline 97.8% BF16 E4B retention is a single-fitting-seed, fitted-then-transferred estimate. The three-fit controls in Tables 5 and 6 use a common Euclidean initialization and therefore do not bound variation of the main output-path-weighted recipe. This is a robustness and external-validity concern rather than an internal contradiction; the measured benchmark retention is itself evidence that transfer worked on these seven tasks. But if benchmark gate distributions differ from the natural-plus-all-ones mixture along dimensions that Equation 7 weights heavily, token code selection can be systematically off, and the paper provides no sensitivity analysis. The Limitations acknowledge the single seed, but not the synthetic-gate choice as untested.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper introduces OPTIC, a compression scheme for the per-layer embedding (PLE) tables of Gemma 4 E2B/E4B. OPTIC stores one quantized code tuple per vocabulary token in a shared latent space and reconstructs each token-layer vector with a layer-specific affine decoder; both codes and decoders are fitted to the gated output-projection path of the frozen model rather than to the stored PLE rows. The paper reports capped seven-task geometric-mean retention relative to the uncompressed checkpoint: 97.8% on BF16 E4B and 96.9% on W4A16 E4B at about 100x PLE compression, with 90.5% and 84.1% at about 594x and 1002x. It also compares against six conventional quantizers and an output-path-weighted row-wise baseline, presents ablations of code sharing and fitting components, reports paired-bootstrap intervals, and measures direct serving memory and runtime on an RTX 4090.","tokens_in":26612,"tokens_out":12125,"duration_ms":101617,"significance":"If the empirical claims hold, the contribution is significant for practical deployment of embedding-rich language models: PLE accounts for 35.2% of E4B parameters, and the reported retention gap between OPTIC and the strongest conventional baseline is large (97.8% vs 66.3% on BF16 E4B). The paper's accounting is careful: resident-byte budgets include codes, codebooks, decoders, and baseline overheads; the retention metric is defined with a cap and an equal-weight geometric mean; paired-bootstrap intervals are reported; W4A16 fits use matched QAT parents; calibration data exclude evaluation examples; and the code, evaluation protocols, and serving setup are described in detail. The main residual risk is not internal inconsistency but external validity of the calibration-gate policy and the single-seed nature of the headline estimates.","major_comments":[{"comment":"The calibration-gate policy is load-bearing but untested. The fitting population contains 786,432 natural-text records, 262,144 synthetic vocabulary records, and 55,200 repeated special-token rows, and the synthetic and special records use all-ones gates; because all records enter the marginal gate covariance G_l and the continuous-update batches, roughly 29% of the fitting records carry all-ones gates. No experiment varies this policy, so the headline E4B numbers are a single fitted-then-transferred estimate whose validity depends on benchmark gate distributions resembling the natural-plus-all-ones mixture. The Limitations acknowledge the single seed but not this gate-policy choice. I request a sensitivity analysis that varies the synthetic-gate treatment (for example, ablating the all-ones records or imputing natural-text gate statistics to vocabulary rows) and reports the effect on E4B retention, or direct evidence that benchmark gate distributions are close to the calibration mixture. This is an external-validity concern rather than an internal inconsistency.","section":"Section 3.2, Eqs. (6)-(7)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The headline comparisons are single-fitting-seed point estimates, and the paired-bootstrap intervals in Table 2 cover benchmark-item sampling only. The three-seed controls in Tables 5, 6, and 17 all use a common Euclidean initialization, so they do not bound the fitting variation of the main output-path-weighted recipe with its output-path-weighted PCA initialization and unused-codeword handling. Please report at least E4B BF16 retention over multiple seeds for the main recipe, or state explicitly in the abstract and Section 4 that the headline values are single-fit point estimates rather than expected retention over fitting variation.","section":"Section 3.3, Tables 1-2, Limitations","authors_acknowledge":"The main comparisons and Table 3 use one fixed fitting seed, so the paired-bootstrap intervals describe benchmark sampling uncertainty.","authors_acknowledge_p":0.7},{"comment":"For the W4A16 results, each OPTIC artifact is fitted with gates and output projections from the unquantized QAT parent but evaluated in the official W4A16 release, whose linear weights, including the PLE output projection W_out in Equation (4), are 4-bit quantized. The fitting objective is therefore not exactly the output-path loss of the evaluated model. Please justify that the parent is the correct fitting source (for example, by showing the relevant output projections are sufficiently close) or add a control fitted on the W4A16 release's own output path to confirm that the 96.9% retention is not an artifact of this mismatch.","section":"Appendix B.2, Table 8, Eq. (4)","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The values of the sensitivity floor epsilon_w and the tempering exponent alpha_w for output-path-weighted PCA-PQ are never reported; please state them and indicate whether they were fixed a priori or selected during development, since they control the behavior of a method used both as a baseline and as an ablation.","section":"Appendix D, Eq. (14)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The text says lambda is set to 10^-8 times the mean diagonal entry of the sum over layers of A_l^T G_l A_l, but it does not state whether lambda is computed once from the initial decoders and frozen or recomputed as the decoders change; please clarify.","section":"Appendix B.1, Eq. (7)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The layer-mean replacement experiment is summarized as showing that layer means alone do not preserve model performance, but the zero retention is driven by AIME 2026 scoring zero; stating this at the point of the claim would help readers interpret the result.","section":"Section 5.1","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Short version: best embedding-compression paper I have seen in a while, and the headline number holds up. OPTIC's representation — one code tuple per token shared across all PLE layers, decoded by per-layer affine maps, fitted at the gated projection output — is genuinely new relative to the cited single-embedding-matrix work, and the evaluation is careful enough that I trust the 97.8% figure far more than the average compression paper's headline.\n\nCredit where due. Byte accounting includes every persistent tensor; baselines are matched by resident bytes; retention is a capped geometric mean, so a zero task score genuinely zeroes a baseline; paired-bootstrap intervals are reported for the primary comparisons; W4A16 artifacts are fitted from matched QAT parents. The ablations are the best part: layer means hold only 8.1% of the norm yet yield zero retention, the output-path metric visibly compresses each layer's eigenspectrum relative to stored coordinates, code sharing beats independent codes at equal bytes (97.8 vs 79.3), and the decoder-rank control shows the affine decoders carry real weight. The 594x and 1002x tiers show graceful degradation, and the serving numbers are measured in vLLM, not estimated. Code and model pins are provided.\n\nSoft spots, in proportion. The calibration-gate policy is the honest open question: 317,344 of 1,103,776 records carry all-ones gates, and those enter both the G_l covariance and the minibatch stream, so the fit is partly driven by a gate distribution benchmarks will not reproduce. The paper never varies this mixture, so sensitivity is unknown. I do not call this a flaw: the measured 97.8% across seven diverse tasks is itself evidence the transfer worked, and the small gap between diagonal and full output-path fitting (0.31 pp) suggests the gate geometry is mostly captured along simple axes. Second, the main comparisons are single-seed; the Limitations say so, and the three-fit controls use a common Euclidean initialization, so they bound a variant, not the main recipe. Fitting variance would need to be absurdly large to threaten a 31.5-point margin over PQ. Third, all results are on two Gemma 4 scales — acceptable scope, worth stating.\n\nNet: a solid conditional accept. The audience is people working on embedding storage, post-training compression, and serving memory; they get a real method with a reproducible evaluation. Send it to a serious referee. The fixes are cheap — a seed sweep on the main recipe and one calibration-policy variant — and they would close the only real gap.","headline":"A careful, honest embedding-compression paper: the shared-code representation is genuinely new, the headline numbers hold up under scrutiny, and the remaining gaps are calibration robustness and single-seed main results.","tokens_in":27281,"tokens_out":5999,"duration_ms":49081},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"OPTIC compresses per-layer embeddings of Gemma 4 E4B about 100-fold while retaining 97.8% of seven-task performance, where the strongest conventional quantizer keeps 66.3%.","keywords":["per-layer embeddings","vector quantization","embedding compression","output-path fitting","cross-layer latent codes","affine decoding","post-training compression","large language models"],"falsifier":"Fit OPTIC at about 100x on BF16 E4B using only the synthetic all-ones-gate records, with no natural-text calibration, then measure the same seven benchmarks: if seven-task retention collapses far below the reported 97.8% or lands outside the 95.5–99.0% paired-bootstrap interval, the headline result depends on the calibration-gate population rather than on the shared-code architecture and output-path objective, isolating exactly the premise above.","tokens_in":27604,"feed_emoji":"💾","tokens_out":10177,"duration_ms":54438,"temperature":0.7,"pith_summary":"The paper claims that the per-layer embedding tables of a modern Transformer — which for the model studied here hold over a third of its parameters — can be compressed roughly a hundredfold with almost no loss of downstream quality, if the compressed representation shares storage along both storage axes and is fitted to the model's actual use of the embeddings. The proposed method, OPTIC, stores one quantized code tuple per vocabulary token and reconstructs each layer's embedding of that token through a layer-specific affine decoder, so the code payload does not grow with the layer count. Codes and decoders are fitted to minimize error at the output of the gated branch that consumes the embeddings, rather than error in the stored coordinates. On the bfloat16 version of a 4-billion-parameter model, OPTIC retains 97.8% of seven-task performance at about 100x compression of the embedding table, while the strongest of six conventional quantizers retains 66.3%; at 594x and 1002x it still retains 90.5% and 84.1%.","feed_headline":"One per-token code shrinks embeddings 100x, keeps 98% quality","feed_subtitle":"OPTIC shares one per-token code across layers and fits each layer's affine decoder to the consumed output path.","key_machinery":"The central object is the token-shared latent $z_t = \\mathrm{concat}_{m=1}^{M} C_m[q_{tm},:]$, one tuple of codebook indices per token, decoded at layer $\\ell$ by the affine map $\\mathrm{Dec}_\\theta(t,\\ell) = A_\\ell z_t + b_\\ell$ shared across all tokens of that layer; its resident cost is $\\lceil V M b_q/8\\rceil + 2KZ + 2LdZ + 2Ld$, where the first term is the only one carrying the vocabulary size, so code storage loses the layer factor. The fitting objective is the output-path loss $\\mathcal{L}_{\\mathrm{path}}(\\theta) = \\frac{1}{nL}\\sum_i\\sum_\\ell \\|W^{\\mathrm{out}}_\\ell(\\tau g_{i\\ell}\\odot(\\hat{e}_{t_i\\ell}-e_{t_i\\ell}))\\|^2$, evaluated with frozen gates $g_{i\\ell}$ and projections, so reconstruction error is minimized where the model observes it. Continuous updates move codebooks and decoders; discrete reassignment of token codes uses the surrogate $\\sum_\\ell \\|\\cdot\\|^2_{G_\\ell}$ with $G_\\ell = ((W^{\\mathrm{out}}_\\ell)^T W^{\\mathrm{out}}_\\ell)\\odot(\\frac{1}{n}\\sum_i g_{i\\ell}g_{i\\ell}^T)$, and initialization comes from PCA of the output-path-scaled token vectors with OPQ eigenvalue allocation across codebook groups.","core_discovery":"The core discovery is that per-layer embeddings are far more compressible than row-wise methods suggest, provided one exploits both storage indices and the downstream geometry. OPTIC represents all $L$ aligned embedding vectors of a token by one shared latent $z_t$ — a concatenation of $M$ codewords — and reconstructs the vector at layer $\\ell$ as $A_\\ell z_t + b_\\ell$, a per-layer affine decoder the tokens share; the token-assignment payload therefore scales with vocabulary size but not with layer count. The fitting objective is the output-path loss, which measures squared error after the gate and the frozen output projection, so the reconstruction is tuned for the branch that actually consumes the embeddings rather than for raw coordinate distance. With this recipe, at 99.94x resident-byte compression of the bfloat16 Gemma 4 E4B PLE table, OPTIC retains 97.8% of seven-task performance versus 66.3% for product quantization, the best conventional baseline; at 594x and 1002x retention is 90.5% and 84.1%, and on the official 4-bit-weight release it is 96.9% at about 100x. A control with nearly equal storage shows the cross-layer sharing itself matters: independent per-vector latent codes retain only 79.3% on the same E4B setting.","pith_inferences":["A direct test the paper leaves untried: fit OPTIC at about 100x using only the synthetic all-ones-gate records, with no natural-text calibration; if retention holds near 97.8%, gate representativeness is not the load-bearing piece, and if it collapses, natural-text gates carry the result.","Because the token-assignment payload is layer-free while the decoder weights grow with layer count, the method's advantage should widen with a model's layer-to-vocabulary ratio; the paper does not map the point where decoder overhead overtakes the savings for small models.","The same two moves — a shared per-item code tuple plus fitting to the consuming projection — should transfer to other aligned multi-vector-per-item tensors, such as n-gram memory banks or per-layer adapter embeddings, a direction the conclusion gestures toward without testing."],"forward_implications":["If correct, a model's embedding table can shrink from more than a third of its parameters to about a hundredth of that footprint while keeping roughly 98% of benchmark performance, making expanded embedding capacity cheap to deploy.","The method composes with weight quantization: on the official 4-bit-weight W4A16 release, about 100x PLE compression retains 96.9%, so embedding compression and backbone quantization can be applied together.","At rates where each vector has about one byte or less remaining, the method still retains 84.1% at 1002x compression, a regime where row-wise quantizers fall to zero on at least one task.","Serving directly from the compact codes cuts GPU memory by 29.7% at a fixed key-value cache size on the bfloat16 model with less than 0.4% added wall time, so the memory saving is nearly free at inference."],"supporting_citations":[{"why":"Defines product quantization, the codebook-group mechanism OPTIC extends as its codebooks, and supplies the strongest baseline it must beat at the nominal compression tier.","marker":"(Jegou et al., 2010)"},{"why":"Optimized product quantization; its eigenvalue-allocation rule assigns the shared latent's coordinates to codebook groups with balanced quantization cost.","marker":"(Ge et al., 2013)"},{"why":"AQLM; provides the additive-quantization Euclidean beam encoder baseline and anchors the additive-code comparison used to isolate the effect of code sharing.","marker":"(Egiazarian et al., 2024)"},{"why":"Gemma 4 technical report; defines the E2B and E4B checkpoints and their per-layer embedding tables that the method compresses and evaluates.","marker":"(Team et al., 2026)"},{"why":"Gemma 3n documentation; introduced per-layer embeddings, the tensor structure the method's cross-layer sharing exploits.","marker":"(Gemma Team, 2025)"},{"why":"Residual vector quantization; one of the six conventional baselines, defining the greedy residual encoding that is compared against.","marker":"(Chen et al., 2010)"},{"why":"Randomized low-rank SVD; supplies the INT8 low-rank baseline and the standard factorization technique used for the comparison matrix.","marker":"(Halko et al., 2011)"}],"fun_headline_variants":["One shared latent per token compresses per-layer embeddings 100x with 98% quality","OPTIC gives every token one code, then decodes it layer-wise to keep 98% at 100x","Cross-layer codebook fits embeddings to the output path, not raw vectors, at 100x","One token-shared code covers all layers' embeddings, keeping 98% quality at 100x compressi","Shared latent per token beats per-vector codes by 18.5 points at equal storage"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The load-bearing premise is that the gate vectors cached from 786,432 natural-text positions, together with all-ones gates for synthetic vocabulary records, represent the gates the model will see at evaluation, so that codes and decoders fitted under those gates transfer to the benchmarks; the paper runs the main comparisons on one calibration policy and one fitting seed, a scope it acknowledges in its limitations.","fun_headline_variants_meta":{"raw":{"variants":["One shared latent per token compresses per-layer embeddings 100x with 98% quality","OPTIC gives every token one code, then decodes it layer-wise to keep 98% at 100x","Cross-layer codebook fits embeddings to the output path, not raw vectors, at 100x","One token-shared code covers all layers' embeddings, keeping 98% quality at 100x compression","Shared latent per token beats per-vector codes by 18.5 points at equal storage"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000342,"raw_usage":{"cost":0.0003419598,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0003419598,"upstream_inference_prompt_cost":3.12858e-05,"upstream_inference_completions_cost":0.000310674},"total_tokens":2934,"prompt_tokens":1227,"completion_tokens":1707,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":1104,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":1595}},"tokens_in":1227,"tokens_out":1707,"cost_source":"openrouter_usage","duration_ms":16139,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":1595,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-23T08:52:55.592439+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":"Fit OPTIC at about 100x on BF16 E4B using only the synthetic all-ones-gate records, with no natural-text calibration, then measure the same seven benchmarks: if seven-task retention collapses far below the reported 97.8% or lands outside the 95.5–99.0% paired-bootstrap interval, the headline result depends on the calibration-gate population rather than on the shared-code architecture and output-path objective, isolating exactly the premise above.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}