# Do LLMs Signal When They’re Right? Evidence from Neuron Agreement

Neuron agreement across samples reveals which LLM answer is right

Kang Chen, Yaoning Wang, Kai Xiong, Zhuoka Feng, Yu Minshen, Wenhe Sun and 2 more · International Conference on Machine Learning · 2026-9-29

- **Problem** Best-of-N methods pick answers using output confidence, which can be miscalibrated after post-training. Majority voting cannot handle open-ended generation, and confidence scores need access to the full output distribution at every step.
- **Method** NAD picks one sample by comparing which neurons each sample activates. It splits each trace into 32-token chunks, takes the union of active neurons, and scores pairs with the Jaccard index.
- **Results** NAD-kNN with filtering scored 85.0 on AIME24+25, compared to 74.6 for Avg@64. It did not lead DeepConf, which reached 88.3 on that benchmark.

## Why output-based selection stalls

Best-of-N decoding draws several responses to one prompt and keeps one of them, so the real work is deciding which one to keep. Majority voting works when answers can be compared exactly, which leaves open-ended generation out of reach. Confidence methods such as self-certainty and DeepConf avoid that limit by reading token probabilities or entropy, but they need access to the model's output distribution at every step.

These scores also assume that output confidence tracks correctness, and the GPT-4 report cited by the authors says calibration is lost after post-training. So the authors ask whether the model's internal state holds a quality signal that the output scores miss. They turn to neuron activation vectors instead of token probabilities.

## Neuron activation sets from one trace

The core idea is to describe each sampled trace by the neurons it switches on, and then compare those sets across samples. Each neuron in layer l gets a contribution score for each output token, computed from the feed-forward hidden input and the output and gate projections. A neuron joins the activation set when its contribution exceeds a threshold η for at least one token.

Because a long trace would otherwise pile up activations, the authors cut it into B-sized chunks, compute a set for each chunk, and take the union. The chunk size used for early stopping is B = 32 tokens. Two traces are then compared by the Jaccard index of their sets, which is the overlap divided by the union. Computing this similarity for every pair gives an n by n consensus matrix with values between 0 and 1.

## What the internal signals show

For AIME24, the authors generated 64 responses per instance with Qwen3-4B-Think. The neuron count correlates with average self-certainty at Pearson r = -0.605 and with average entropy at Pearson r = 0.633, with p-values below 0.05. The authors read this as neuron counts being a high-dimensional version of these scalar scores, not a copy of them.

In the t-SNE plot coloured by entropy, samples in one cluster don't share entropy values, and samples from different clusters can have similar entropy. So the activation patterns hold structure that entropy alone can't represent. In the t-SNE view for one prompt, correct responses sit near the centre of their cluster, while incorrect ones lie at the margins.

Correct responses also activate far fewer unique neurons than incorrect ones, and the gap persists when traces are aligned by generation step. The authors take this as the basis for using neuron counts to stop low-quality generations early.

## How NAD picks one trace

NAD draws n = 64 samples per input and builds the consensus matrix from their pairwise Jaccard values. kNN-Agreement sums each sample's top-k similarities to the others and selects the sample with the largest sum, so a sample with many close neighbours wins. The Global Medoid instead maximizes the sum of similarities to all other samples, written as \\( \\hat{i} = \\arg\\max\_i \\sum\_j S\_{ij} \\).

DBSCAN clusters the distance matrix D = 1 - S, keeps the largest cluster and picks the medoid inside it.

MinAct drops pairwise similarity entirely and picks the sample with the smallest activation set, \\( \\hat{i} = \\arg\\min\_i \|N\_{activated}(x, y\_i)\| \\). Here the set size acts as a proxy for quality. Before any of these selectors, the tail-token confidence from DeepConf can drop the bottom p% of samples, and the authors mark that combined variant with a dagger.

## Early stopping after the first chunk

The early-stopping variant computes the activation set of the first 32-token chunk of each trace, applies a selector, and continues decoding only the chosen trace. The authors hypothesize that correctness can be predicted from this early prefix, and the earlier correct-versus-incorrect contrasts point that way.

Stopping later doesn't always help: for NAD-kNN on AIME24+25, stopping at the 4096th token reached 86.7, compared to 85.0 for the full response. The authors attribute this to noise accumulation and signal dilution, where later activations add redundancy that hides the earlier and more reliable signal.

## Accuracy and token savings

On AIME24+25 with Qwen3-4B-Think, NAD-kNN with filtering scored 85.0, compared to 74.6 for Avg@64. Cons@64 reached 86.7 and DeepConf reached 88.3 in the same table, so NAD-kNN doesn't lead on that benchmark. The authors describe the result as competitive with majority voting and DeepConf on math tasks.

On code, where voting and confidence baselines don't apply, NAD-kNN with filtering scored 62.3 on LCBv5, compared to 61.8 for Avg@64. The gain is small, and the authors frame the code results as a sampling-average improvement rather than a win over a stronger ensemble.

These early-stopping runs drop the confidence filter, so the accuracy is not directly comparable to the filtered rows in the main table.

Against TTRL, which trained Qwen3-4B-Instruct on AIME24 for 100 steps, the authors report only marginal in-domain gains and a substantial out-of-domain drop. TTRL also costs much more to train than NAD costs to run at inference, as the authors state.

## Sparsity against agreement on code

On math and science benchmarks, the trace with the fewest activated neurons beats the one with the most. On code the gap is smaller, and in some cases the maximal-activation choice wins. MinAct, which uses only set size, trails the global selectors but still beats sampling average.

The authors suspect code is more open-ended, with several valid implementations of the same function. In a parenthesis-matching case, one correct solution uses dynamic programming and another uses a combinatorial formula, and their activation sets have a Jaccard similarity of only 0.22. So correct solutions need not share one activation pattern, which weakens the link between activation size and performance on code.

## Aggregating neurons across chunks

The main method takes the plain union of chunk sets, but the authors also tried top-k filters on neuron contribution, with k from 2K to 200K. As k grows, the correct-sample distribution shifts left and the incorrect-sample distribution shifts right, so the two separate more clearly. The Figure 6 caption says the no-top-k setting gives the best separation.

## Cost of the activation pipeline

During rollout collection the authors report throughput of about 2,600 to 2,700 tokens per second on the evaluated benchmarks. The resulting activation caches reached 9.4 GB, so the authors stored them in memory-mapped files to limit memory use and I/O overhead. The analysis of 1,920 problems, including Jaccard computation and selection, finished in 12.74 seconds, a throughput of 150.6 problems per second.

## Open problems

Storing neuron activations needs substantial disk and memory, and the authors note that more compact representations are still needed. The paper introduces several selectors but doesn't determine which one works best under different sampling patterns.

The authors read activation sparsity as an intra-trajectory selectivity signal and neuron agreement as an inter-trajectory stability signal, treating them as related rather than independent. They focus on using these regularities for selection and early stopping, and they don't explain the causal mechanism.

The main tables cover three models, Qwen3-4B-Think, R1-Qwen3-8B and Qwen3-4B-Instruct, all sampled at temperature 0.6 with top-p 0.9. Code results use a single-execution protocol, so the selected candidate is run only once.

## Paper info

- **Authors**: Kang Chen, Yaoning Wang, Kai Xiong, Zhuoka Feng, Yu Minshen, Wenhe Sun, Haotian Chen, Yixin Cao
- **Venue**: International Conference on Machine Learning · Published
- **First published**: 2026-9-29
- **Added**: 2026-11-27
- **Original paper terms**: [Check in the original ↗](https://proceedings.mlr.press/v306/chen26eo.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/chen26eo.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Kang Chen, Yaoning Wang, Kai Xiong, Zhuoka Feng, Yu Minshen, Wenhe Sun, Haotian Chen, Yixin Cao (2026). Do LLMs Signal When They’re Right? Evidence from Neuron Agreement. International Conference on Machine Learning. https://proceedings.mlr.press/v306/chen26eo.html

**BibTeX**

```
@article{chen2026llms,
  title = {{Do LLMs Signal When They’re Right? Evidence from Neuron Agreement}},
  author = {Kang Chen and Yaoning Wang and Kai Xiong and Zhuoka Feng and Yu Minshen and Wenhe Sun and Haotian Chen and Yixin Cao},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/chen26eo.html}
}
```

## Related papers

- [ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools](https://refivu.com/en/papers/9637d904-3e6d-4047-bd71-6ae5b68f90d8-chatglm-a-family-of-large-language-models-from.md)
- [Qwen2 Technical Report](https://refivu.com/en/papers/edc7be28-5a87-45ae-afa8-a9b7e9819cd7-qwen2-technical-report.md)
- [CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs](https://refivu.com/en/papers/4e886007-b40a-4b34-ae15-82829e661e98-cecar-cache-expert-co-aware-routing-accelerates-on.md)
- [DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence](https://refivu.com/en/papers/a9b5666a-9125-4553-968a-b6f76e0d19db-deepseek-coder-when-the-large-language-model-meets.md)
- [CreditFilter: Calibrated Token Weights over the Within-Response Entropy Rank for RLVR](https://refivu.com/en/papers/e6ecdc8e-786f-4179-a461-3a584f302e1b-creditfilter-calibrated-token-weights-over-the-within.md)

## Other paper commentary

- [To Believe or Not to Believe Your LLM: Iterative Prompting for Estimating Epistemic Uncertainty](https://refivu.com/en/papers/b71ecca0-59f2-4260-b74f-1c35839640b8-to-believe-or-not-to-believe-your-llm.md)
- [Representation Drift Compensation: A Near-Zero Inference Cost Enhancement for LLM Decomposition](https://refivu.com/en/papers/b9ad989e-7c06-4f6f-8008-335a945d3a5d-representation-drift-compensation-a-near-zero-inference-cost.md)
- [Random Selection Reveals Implicit Knowledge Consensus in Code Generation](https://refivu.com/en/papers/3824968b-20fc-4c3a-89c4-30ce0f08c74f-random-selection-reveals-implicit-knowledge-consensus-in.md)
- [Evaluating Ukrainian Grammatical Competence in Language Models: Probability Versus Prompting](https://refivu.com/en/papers/b9da328b-a55a-404e-8dab-7573f504b062-evaluating-ukrainian-grammatical-competence-in-language.md)
- [Evidence-Aligned Benchmarking and Learning for Medical Video Language Models](https://refivu.com/en/papers/403144c2-124b-4deb-ae8e-ee18219c9fef-evidence-aligned-benchmarking-and-learning-for-medical-video.md)
- [CriticEval: Evaluating Large-scale Language Model as Critic](https://refivu.com/en/papers/49cb4d52-0b81-4cbd-9b74-dfe48638ac34-criticeval-evaluating-large-scale-language-model-as-critic.md)
- [Implicit Intelligence - Evaluating Agents on What Users Don’t Say](https://refivu.com/en/papers/46a3027e-e7cd-4c3e-be85-2fe588fd1675-implicit-intelligence-evaluating-agents-on-what-users-don.md)
- [Why Self-Distillation Helps and Hurts: Denoising vs. Signal Forgetting](https://refivu.com/en/papers/c70638c0-8d0a-4b89-9840-3a8ed7406fca-why-self-distillation-helps-and-hurts-denoising-vs.md)
- [Don’t Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference](https://refivu.com/en/papers/c6799446-0a64-4c27-835e-5fb01a7e9ecb-don-t-drop-dropout-optimizing-layer-sparsity-for.md)
- [ArcFace: Additive Angular Margin Loss for Deep Face Recognition](https://refivu.com/en/papers/c413067c-e2eb-43a0-8011-b952f120296a-arcface-additive-angular-margin-loss-for-deep-face.md)
- [Can VLMs Diagnose and Recover from VLA Manipulation Faults?](https://refivu.com/en/papers/121caf8a-c8eb-4636-a58d-15ea45e3872a-can-vlms-diagnose-and-recover-from-vla-manipulation.md)
- [Private and Personalized Frequency Estimation in a Federated Setting](https://refivu.com/en/papers/dec6a489-e413-46db-b7e2-06e68093b0e2-private-and-personalized-frequency-estimation-in-a-federated.md)

## Terms in this paper

- [t-SNE](https://refivu.com/en/terms/488ecf7dbbcf-t-sne)
- [HumanEval](https://refivu.com/en/terms/3c3dbcadfdda-humaneval)
- [MBPP](https://refivu.com/en/terms/717e657dd0b2-mbpp)
- [Code generation](https://refivu.com/en/terms/8b457c4f8807-code-generation)
- [entropy](https://refivu.com/en/terms/4c6413bc6b11-entropy)
- [Jaccard Index](https://refivu.com/en/terms/c2a7049ebc65-jaccard-index)
- [Best-of-N](https://refivu.com/en/terms/934cd41a02e1-best-of-n)
- [token consumption](https://refivu.com/en/terms/3889ea616a73-token-consumption)
- [AIME24](https://refivu.com/en/terms/b95a1fc9ed51-aime24)
- [AIME25](https://refivu.com/en/terms/724339b1db8b-aime25)
- [DBSCAN](https://refivu.com/en/terms/1f8d3d6ce4f9-dbscan)
- [GPQA](https://refivu.com/en/terms/cbab20dc9cad-gpqa)
- [LiveCodeBench v5](https://refivu.com/en/terms/028627da4759-livecodebench-v5)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/bc0f460c-030c-47f4-9e74-9dd6af4c68c4-do-llms-signal-when-they-re-right-evidence)
