Abstract
This article summarizes Luyang Liu, Jonas Pfeiffer, Jiaxing Wu, Jun Xie and Arthur Szlam’s December 23, 2024 paper, version 1. All experiments and findings below belong to those authors; Kingy did not train or benchmark this system. Their method explores an alternative to generating discrete intermediate reasoning: a learned coprocessor produces continuous embeddings from a frozen language model’s key-value cache. The authors report lower validation perplexity and improvements on several benchmarks, including GSM8K and MMLU. These are historical research results, not current model or product guarantees.
The frozen decoder can still operate without augmentation. The paper proposes asynchronous or offline coprocessing as a possibility; its reported comparisons do not establish an end-to-end latency or memory advantage for every workload.
Keywords: latent reasoning, cache augmentation, coprocessor, language model.
1. Introduction
The paper places its work alongside Chain-of-Thought, Zero-shot CoT and inference-time search. Those approaches can generate intermediate text; the proposed coprocessor instead generates a batch of latent embeddings in one forward call. The authors connect this idea to kv-cache compression while distinguishing augmentation from compression: extra embeddings are added rather than a smaller cache being promised.
Training backpropagates the language-modeling loss through the augmented cache while leaving the base decoder’s weights fixed. The internal CoT guide is contextual reading, not evidence that a deployed product implements this paper. The experiments use the frozen Gemma-2 2B model. Improvements generally grow with more latents, but not every task or configuration improves monotonically.

2. Methodology
2.1. Problem Statement
Let x be the input, y the target output and theta the fixed decoder parameters. A trainable coprocessor f reads the key-value cache produced for x and generates latent embeddings z. Its objective is to maximize the expected log probability of y conditioned on x and z under the frozen decoder. Only the coprocessor parameters and its trainable soft-token embeddings are optimized; the decoder parameters remain fixed.
2.2. Model Architecture
The architecture has three stages. First, the frozen decoder processes the input to create its cache. Second, a coprocessor with the same architecture, initialized from the decoder’s pretrained weights, reads that cache and trainable soft tokens. Third, its output latent embeddings augment the original cache before ordinary decoding continues. The soft tokens do not stand for words or subwords. This is an additional learned model, not a claim that the full system has no extra compute or storage cost.
2.3. Pretraining Setup: Multi-Position Augmentation
During training, the authors sample multiple augmentation positions within each sequence. At a position after “b” in “a b c d e f,” generated latents can help predict subsequent tokens such as “c” and “d.” Teacher forcing supplies the target tokens. A modified attention mask prevents each augmentation branch from seeing original tokens beyond its insertion point or the other augmentation branches. The extended input and mask allow losses from multiple positions to be computed together.
The number of latent embeddings and the number of ahead tokens are separate hyperparameters. This training objective predicts future text; it does not guarantee that the latent representations are human-interpretable reasoning steps.
3. Experiments
The reported base model is Gemma-2 2B. The coprocessor is trained on the same primarily English, 2-trillion-token mixture used for Gemma-2 pretraining: 100,000 steps, batch size 1,024, packed sequence length 2,048, 16 ahead tokens and 128 sampled augmentation positions. The public benchmark results in the main paper use no task-specific fine-tuning. Appendix A.2 separately studies downstream adaptation; it should not be confused with the main benchmark setup.
3.1. Perplexity Evaluation
The authors evaluate a proprietary validation set used for Gemma. They measure predictions at positions 1, 2, 4, 8, 16 and 32 after augmentation. The 32nd-token measurement also conditions on the 31 intervening tokens; it is not a claim that 32 future tokens are guessed without their context. With 64 latents, reported relative perplexity reductions range from 3.94% at position 1 to 1.20% at position 32. Figure 3 and Table 1 report improvements across the tested latent counts; the benefits extend beyond the 16 ahead tokens used in training.
3.2. Public Benchmark Evaluation
For Table 2, the coprocessor is called once at the end of each prompt. The historical evaluation includes MMLU 5-shot, GSM8K 8-shot, DROP 3-shot F1, ARC-e and ARC-c 0-shot, MATH 4-shot, Winogrande, PIQA, SIQA, HellaSwag and BoolQ 0-shot, MBPP 3-shot, AGIEval 3–5-shot, TriviaQA and Natural Questions 5-shot, HumanEval pass@1, and BBH 3-shot. Metrics and prompt conditions differ, so these results are not a single universal ranking.
With 64 latents, GSM8K accuracy rises from 21.38% to 31.43%: an increase of 10.05 percentage points. MMLU rises from 52.00% to 56.70%, or 4.70 points. ARC-c rises from 50.26% to 54.44%, or 4.18 points. These are absolute differences between accuracy percentages, not relative percentage improvements.
The table also contains regressions and non-monotonic results: for example, MATH falls from 16.50% to 16.38% with 4 latents, and AGIEval falls from 31.71% to 30.04% with 8. At 64 latents all listed benchmark values exceed the baseline, but more latents do not guarantee a better result at every intermediate setting.
3.3. Comparison with Other Methods
3.3.1. Pause Token Baseline
Table 3 compares 32 learned latents against a Pause Token baseline trained under the same setup. First-token validation perplexity is 10.96 for frozen Gemma-2 2B, 11.63 for Pause Token and 10.60 for cache augmentation. GSM8K 8-shot accuracy is 21.38%, 22.37% and 26.76%, respectively. This supports the authors’ comparison under those conditions, not universal superiority over every pause-token implementation.
3.3.2. Zero-Shot Chain-of-Thought (CoT)
Table 4 compares GSM8K 8-shot accuracy after adding the generic zero-shot-CoT instruction “Let’s think step by step.” The baseline scores 21.38%, zero-shot CoT 23.20%, 16 latents 24.72% and 32 latents 26.76%. A single coprocessor call avoids generating its intermediate representations as a sequence of text tokens. The paper does not report a measured end-to-end latency comparison for these runs.
3.3.3. Alternative Coprocessor Configurations
The authors compare random initialization, full fine-tuning and LoRA tuning of the coprocessor. With 32 latents, Table 5 reports GSM8K accuracy of 21.38% for the baseline, 23.35% with LoRA rank 64, 24.03% with rank 128, 25.78% with a coprocessor trained from scratch and 26.76% with full fine-tuning.
LoRA freezes the pretrained weights and trains low-rank updates. In the coprocessor experiment, the base decoder remains frozen. This is not a procedure that selectively fine-tunes arbitrary decoder layers. LoRA reduces the extra trainable and stored update parameters compared with full fine-tuning; no universal total-system memory saving is established here.
Feeding the decoder’s last-layer activations to the coprocessor instead of the cache yields 23.20% GSM8K accuracy, versus 26.76% with cache input. The authors report validation perplexity 10.81 for the activation input and 10.69 for the cache comparison in Section 3.3.3. Table 3 separately gives 10.60 for its cache comparison; the summary preserves those reported contexts rather than silently reconciling them. The explanation that multi-layer cache information is richer is the authors’ hypothesis.
3.4. Impact of Number of Ahead Tokens
Table 6 varies ahead-token counts while using 16 latents. GSM8K accuracy is 21.38% at baseline, 24.03% with 4 ahead tokens, 24.11% with 8, 24.72% with 16 and 23.73% with 32. Sixteen performs best in this experiment. The authors note a trade-off between later-token and earlier-token perplexity; this is not a universal optimum.
4. Related Work
The following descriptions report how this paper positions its method within prior literature. They are not independent reproductions or reviews of every cited work.
4.1. Chain-of-Thought Reasoning
The authors discuss chain-of-thought prompting, self-consistency, search, verification and reinforcement-learning approaches. Their distinction is that the proposed coprocessor generates continuous latent embeddings while the base decoder stays fixed. This does not establish that all other reasoning methods require the same training objective or have the same runtime cost.
4.2. Latent Space Reasoning
The paper relates latent reasoning to internal multi-hop representations, Pause Token and COCONUT. Its embeddings are conditioned on the input cache. It contrasts this with the fixed learned embeddings in the Pause Token setup and with COCONUT’s staged training. These are the authors’ methodological comparisons, not new Kingy benchmark results.
4.3. KV-Cache Compression
The cited compression work aims to compact context or remove redundant input. This paper adds learned latent embeddings to help subsequent predictions instead. Augmentation does not mean the cache becomes smaller.
4.4. Augmenting LLMs with External Modules
The authors connect their approach to prompt tuning, prefix tuning, adapters, LoRA and modular or multimodal language models. Their coprocessor is a separate Transformer initialized from the base model. The comparison explains a design relationship; it does not certify the current capabilities of any product linked elsewhere in this guide.
4.5. Hypernetworks
The paper uses hypernetworks as a conceptual analogy: a network generates outputs conditioned on another representation. Here the coprocessor reads the decoder cache and emits embeddings, rather than generating a separate model’s weight matrices.
5. Conclusion
The December 2024 experiments support cache augmentation as a way to improve the tested frozen Gemma-2 2B model’s perplexity and several benchmark scores. They do not establish a guaranteed latency, memory, safety or interpretability improvement, or a result for current larger models. The latent computation is not itself an exposed natural-language explanation.
The authors propose future work on larger models, different coprocessor architectures, multiple coprocessors and more downstream tasks. Appendix A.1 reports scaling with more coprocessor training, while Appendix A.2 examines LoRA adaptation on GSM8K/MATH training data. Those are separate historical experiments. No training, generation or benchmark was performed by Kingy for this correction.
References and Further Reading
The references below are retained contextual reading. The corrected compression, Quiet-STaR and COCONUT links point to their bibliographic records in the reviewed version 1 paper. The Gist Tokens year below follows that paper’s bibliographic entry. This does not certify every linked work’s present availability or independently reproduce its findings.
- arXiv Paper (this work):
Deliberation in Latent Space via Differentiable Cache Augmentation (2024) - Chain-of-Thought:
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Xia, F., Chi, E., et al. (2022). “Chain-of-thought prompting elicits reasoning in large language models.” NeurIPS. - Zero-shot CoT:
Kojima, T., Gu, S. S., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022). “Large language models are zero-shot reasoners.” NeurIPS. - Gemma-2:
Team-Gemma, Riviere, M., Pathak, S., Sessa, P. G., Hardin, C., Bhupatiraju, S., et al. (2024). “Gemma 2: Improving open language models at a practical size.” arXiv. - KV-Cache Compression:
Mu, J., Li, X., & Goodman, N. (2024). “Learning to compress prompts with gist tokens.” NeurIPS. - Pause Token:
Goyal, S., Ji, Z., Rawat, A. S., Menon, A. K., Kumar, S., & Nagarajan, V. (2023). “Think before you speak: Training language models with pause tokens.” arXiv. - LoRA:
Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., & Chen, W. (2021). “LoRA: Low-rank adaptation of large language models.” arXiv. - Quiet-STaR:
Zelikman, E., Harik, G., Shao, Y., Jayasiri, V., Haber, N., & Goodman, N. D. (2024). “Quiet-STAR: Language models can teach themselves to think before speaking.” arXiv. - COCONUT:
Hao, S., Sukhbaatar, S., Su, D., Li, X., Hu, Z., Weston, J., & Tian, Y. (2024). “Training large language models to reason in a continuous latent space.” arXiv. - MATH:
Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., & Steinhardt, J. (2021). “Measuring mathematical problem solving with the MATH dataset.” NeurIPS. - Other Mentioned Works:
- Schuster, T., Fisch, A., Gupta, J., et al. (2022). Confident Adaptive Language Modeling. NeurIPS.
- Wang, X., Wei, J., Schuurmans, D., et al. (2022). Self-consistency improves chain of thought reasoning in language models. arXiv:2203.11171.
- Lightman, H., Kosaraju, V., Burda, Y., et al. (2023). Let’s verify step by step. arXiv:2305.20050.
- Pfeiffer, J., Ruder, S., Vulić, I., & Ponti, E. M. (2023). Modular deep learning. Transactions of Machine Learning Research.
- Li, X., & Liang, P. (2021). “Prefix-tuning: Optimizing continuous prompts for generation.” arXiv:2101.00190.
- Lester, B., Al-Rfou, R., & Constant, N. (2021). “The power of scale for parameter-efficient prompt tuning.” arXiv:2104.08691.
Related Guides
- Continuous Autoregressive Language Models – Full Paper and Review
- s1: Simple Test-time Scaling – Paper Summary
- Gödel Agent: A Self-referential Framework For Agents Recursively Self-improvement – Academic Paper Summary
Compare
The Kingy Brief
Get The Kingy Brief.
AI changes, original tests and one practical thing to try. Fridays at 09:00 Vancouver time.
Free · Double opt-in · Unsubscribe anytime
Signup help and newsletter schedule
Signup form provided by Beehiiv. After submitting, check your inbox for "Confirm your subscription to The Kingy Brief" and open its confirmation link. Check Spam or Promotions if you cannot find it.
Fridays at 09:00 Vancouver time: source-checked AI changes, original tests and one practical thing to try. The weekly restart begins October 9, 2026. We skip a week when there is not enough verified material. Free. Unsubscribe anytime.
