TRANSMISSION // 2606.16620v5

Can a Language Model Find New Answers by Reusing Its Own Layers?

Source published

A decoding method called EGLR re-applies selected model layers at uncertain tokens, creating a deterministic source of answer diversity. Tests show promising gains, with important limits.

AI-generated conceptual illustration for Can a Language Model Find New Answers by Reusing Its Own Layers?
AI-generated conceptual illustration; not documentary evidence.

Language models can produce different answers by sampling at different temperatures. This paper explores another route: changing how the model computes at uncertain tokens, without changing its trained weights or adding randomness. The early results suggest this can help generate complementary solutions, though turning that diversity into reliably better answers remains a challenge.

A second route to varied answers

When a language model tackles a maths problem, it can spend extra inference-time compute by generating several candidate answers and choosing among them. A common way to make those candidates differ is to vary the sampling temperature: higher temperature changes how likely the model is to select less-probable words. But this mostly draws from the same underlying generation process.

In Entropy-Gated Latent Recursion, Soham Bhattacharjee and colleagues ask whether a frozen language model can generate useful alternatives through a different kind of variation: changing which of its upper layers are reapplied during decoding. Their method, Entropy-Gated Latent Recursion (EGLR), uses the model’s uncertainty to decide when to do this extra computation.

Recomputing at uncertain tokens

At each step, the model estimates a probability distribution over the next token. EGLR measures the uncertainty in that distribution using entropy. Most tokens are generated normally; when uncertainty crosses a threshold, the method re-applies a chosen span of the model’s top decoder layers to its internal representation. The process can repeat for a small number of iterations, stopping when the output distribution stabilizes or an iteration limit is reached.

The span of layers, called L, can be varied. With the model’s weights held fixed and greedy decoding, each choice of L produces a deterministic path: the same prompt and setting produce the same output. Varying the sampling temperature T remains stochastic. Together, the researchers describe these as an L × T space of candidate generations.

The team tested eight instruction-tuned models on six maths benchmarks, including GSM8K, MATH-500 and AIME sets. They compared majority voting across layer spans with greedy decoding and, on selected models, with beam search at a similar estimated compute budget. They also examined a combined layer-span-and-temperature pool on one model and benchmark, and ran smaller exploratory tests on code generation and reinforcement-learning rollouts.

Promising results, with a gap between potential and practice

Across the 48 model-and-benchmark combinations, majority voting across layer spans matched or exceeded greedy decoding in 45, and was strictly better in 38. It fell below greedy in three. In a comparison involving two Qwen models, the method beat FLOP-matched beam search in 11 of 12 cases. The exception was on a 30-problem AIME set, where the difference amounted to one problem.

These results do not mean that choosing one layer span reliably improves an answer. The best span varied by model and benchmark, and an individual setting sometimes performed worse than greedy decoding. The gains reported for layer spans came from aggregating multiple outputs by majority vote.

The paper also calculates an “oracle” ceiling: the share of problems solved by at least one candidate in a pool, assuming an ideal selector that knows the correct answer. This indicates which problems a pool can cover, but it is not a usable prediction method. On MATH-500 with Qwen2.5-3B-Instruct, the combined layer-span-and-temperature pool had an oracle ceiling of 91.6%, compared with 83.4% for temperature alone and 81.2% for layer spans alone. However, the combined pool contained 100 configurations, versus 10 in either single-axis pool, so its higher ceiling is not a comparison at equal pool size. At a matched budget of 10 configurations, majority-vote accuracy for the combined pool was 74.2%, versus 72.6% for temperature alone and 69.2% for layer spans alone in that experiment.

What remains uncertain

The main results were single-seed experiments, and the authors caution against over-interpreting small differences. The full combined-pool analysis covered just one model–benchmark pair. Additional tests included one code benchmark and one single-seed reinforcement-learning run; those are preliminary, not evidence of broad generalization. Majority voting also captured only about 28% of the layer-only oracle gap in one reported case, showing that many available correct answers were not selected by the practical aggregator.

There are implementation costs, too. The paper’s FLOP estimate suggests modest overhead under its assumed settings, but measured wall-clock overhead was higher because refinement was not batched. The implementation is also incompatible with paged-attention engines such as vLLM, according to the authors.

This is an arXiv preprint, and its claims should be read as research results rather than settled findings. The experiments make a case that changing internal computation can yield candidate answers complementary to temperature sampling. Whether that diversity can be converted into dependable improvements across models, tasks and real deployment systems remains open.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.