NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMs

Lecheng Yan, Ruizhe Li, Guanhua Chen, Qing Li, Jiahui Geng, Wenxi Li, Longyue Wang, Chenyang Lyu

Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a primary driver for enhancing reasoning capabilities in large language models (LLMs) like DeepSeek-R1 and Qwen2.5-Math. By rewarding models for correct answers in deterministic domains like mathematics and coding, benchmark scores have surged. However, recent evidence reveals a startling anomaly: models can achieve significant gains even when trained with spurious rewards—signals that are random, purely format-based, or intentionally incorrect.

This paper investigates this phenomenon, revealing that rather than teaching the model to reason, spurious RLVR can act as a retrieval trigger for data seen during pre-training. The authors identify this as the Perplexity Paradox: as the model becomes highly confident in generating correct answer tokens (exhibiting lower perplexity), its general coherence and understanding of the prompt actually degrade (exhibiting higher perplexity).

Mechanistic Methodology: Looking Under the Hood

To understand how models bypass reasoning in favor of memorization, the researchers applied a suite of mechanistic interpretability tools to the Qwen2.5 architecture:

  • Path Patching: Swapping activations between "reasoning" and "memorization" runs to isolate the specific Multi-Layer Perceptrons (MLPs) and Attention heads responsible for the shortcut.
  • Logit Lens: Decoding hidden states across all layers to observe what the model "thinks" the answer is at every stage of processing.
  • Neural Differential Equations (NDEs): Modeling hidden states as continuous trajectories to pinpoint the exact "bifurcation point" where the model's internal logic diverges from problem-solving to rote retrieval.

The Anchor-Adapter Circuit

The investigation uncovered a previously unknown mechanism enabling this shortcut, which the authors term the Anchor-Adapter circuit. While genuine reasoning capabilities are distributed across the entire network, the memorization shortcut is highly localized into two distinct stages:

  1. Functional Anchors (Layers 18–20): These middle layers act as the trigger. NDE analysis revealed that at Layer 20, the model's internal state physically diverges. Instead of continuing to process the problem, these layers decide to halt reasoning and initiate the retrieval of a pre-trained answer.
  2. Structural Adapters (Layers 21+): Rather than storing knowledge themselves, these later layers act as transformers. They reshape the internal representations to accommodate the sudden injection of the memorized shortcut signal, formatting it for the final output.

Experimental Results and Causal Steering

The researchers validated their findings by comparing model performance across contaminated datasets (MATH-500, MinervaMath, AIME, AMC) and a clean, leakage-free control set (LiveMathBench).

  • Targeted Ablation: Resetting just the Functional Anchor layers (L18–20) to their base-model weights caused accuracy on leaked MATH-500 samples to plummet from 98% to 86%. Crucially, performance on the clean LiveMathBench remained untouched, confirming the shortcut is dataset-dependent.
  • Bidirectional Causal Steering: By scaling specific MLP keys in Layer 18, the authors demonstrated causal control over the model's behavior. Without any retraining, they could artificially amplify the "contamination effect" by +4.4% or suppress it by -3.8%.
  • Probe-Gated Shortcut Audit: Leveraging these mechanistic insights, the authors developed an audit tool that successfully identified and suppressed 19 "fake" successes on MATH-500. This intervention had zero negative impact on out-of-distribution, non-leaked reasoning benchmarks like OlymMATH and OmniMATH.

Conclusion and Future Directions

The discovery of the Anchor-Adapter circuit provides a mechanistic roadmap for identifying and mitigating data contamination in RLVR-tuned models. While the current evidence is localized to the Qwen model family, these insights lay the groundwork for developing contamination-resistant training objectives. By understanding how models "cheat," the AI community can better ensure that RLVR fosters the generalizable reasoning it was designed to create, rather than merely unlocking sophisticated memorization.

Summary updated

BibTeX
@inproceedings{yan2026spurious,
  author = {Lecheng Yan and Ruizhe Li and Guanhua Chen and Qing Li and Jiahui Geng and Wenxi Li and Longyue Wang and Chenyang Lyu},
  title = {{Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMs}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=SGUSUm2491},
}
Figure