atlas

Research map / Large language models / Reasoning and chain of thought

Deliberation in Latent Space via Differentiable Cache Augmentation

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains a coprocessor (initialized from Gemma-2 2B) that reads the frozen LLM's kv-cache and emits latent embeddings inserted into the cache, using only the language-modeling loss on pretraining data, yielding gains on reasoning and knowledge benchmarks.

Problem

Standard test-time reasoning methods such as chain-of-thought generate discrete intermediate tokens just-in-time, which is slow and hard to optimize end-to-end; the paper asks whether a frozen LLM can instead be improved by latent computation over its kv-cache.

Approach

A coprocessor, a copy of the frozen LLM, takes the kv-cache plus trainable soft tokens and produces latent embeddings in a single forward pass; these are appended to the cache so the frozen LLM decodes with augmented context. Training uses multi-position augmentation with ahead-token prediction in one forward pass via a custom attention mask, so it is differentiable and needs no RL.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add cache augmentation with 64 latent embeddingsGemma-2 2B · GSM8K 8-shotaccuracy: 21.38 -> 31.43Helped
Add cache augmentation with 64 latent embeddingsGemma-2 2B · MMLU 5-shotaccuracy: 52.00 -> 56.70Helped
Replace fixed Pause Token embeddings with context-dependent coprocessor-generated cache latentsGemma-2 2B · GSM8K 8-shotaccuracy: 22.37 -> 26.76Helped
Replace zero-shot CoT prompt with learned latent cache augmentation using 16 latentsGemma-2 2B · GSM8K 8-shotaccuracy: 23.20 -> 24.72Helped
Initialize the coprocessor from pretrained Gemma-2 2B weights instead of randomly (ablation)DAC coprocessor · GSM8K, 32 latentsaccuracy: 25.78 -> 26.76Helped
Use LoRA rank 64 instead of full finetuning for the coprocessor (ablation)DAC coprocessor · GSM8K, 32 latentsaccuracy: 26.76 -> 23.35Hurt
Use LoRA rank 128 instead of full finetuning for the coprocessor (ablation)DAC coprocessor · GSM8K, 32 latentsaccuracy: 26.76 -> 24.03Hurt
Use last-layer activations instead of the kv-cache as coprocessor input (ablation)DAC · GSM8K, 32 latentsaccuracy: 26.76 -> 23.20Hurt
Use last-layer activations instead of the kv-cache as coprocessor input (ablation)DAC · Validation set, 32 latentsperplexity: 10.69 -> 10.81Hurt
Train with 16 rather than 32 ahead tokens (ablation)DAC with 16 latent embeddings · GSM8K 8-shotaccuracy: 23.73 -> 24.72Helped
Increase latent count from 4 to 64 (ablation)DAC · GSM8K 8-shotaccuracy: 22.67 -> 31.43Helped
Increase latent count from 4 to 64 (ablation)DAC · MATH 4-shotaccuracy: 16.38 -> 18.56Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Gemma-2 pretraining mixture (2T tokens) GSM8K training set MATH training set

Benchmarks: MMLU GSM8K DROP ARC-e ARC-c MATH Winogrande PIQA SIQA HellaSwag BoolQ MBPP

Metrics: accuracy F1 pass@1 perplexity

Baselines: Gemma-2 2B baseline Pause Token zero-shot CoT COCONUT last-layer activation augmentation

Builds on: Pause Token Quiet-STaR chain-of-thought prompting LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy