mlsanityData to 7 Oct 2026

LLMs Encode Their Failures: Predicting Success from Pre-Generation Activations

arXiv 2602.09924 ↗First posted 10 Feb 2026cs.CL cs.AI cs.LGcited by 9

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Running LLMs with extended reasoning on every problem is expensive, but determining which inputs actually require additional compute remains challenging. We investigate whether their own likelihood of success is recoverable from their internal representations before generation, and if this signal can guide more efficient inference. We train linear probes on pre-generation activations to predict policy-specific success on math and coding tasks, substantially outperforming surface features such as question length and TF-IDF. Using E2H-AMC, which provides both human and model performance on identical problems, we show that models encode a model-specific notion of difficulty that is distinct from human difficulty, and that this distinction increases with extended reasoning. Leveraging these probes, we demonstrate that routing queries across a pool of models can exceed the best-performing model whilst reducing inference cost by up to 70% on MATH, showing that internal representations enable practical efficiency gains even when they diverge from human intuitions about difficulty. Our code is available at: https://github.com/KabakaWilliam/llmsknowdifficulty

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 20 of its 30 references that are in the map. First posted on arXiv 10 Feb 2026.

Builds on

20 of 30 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Language Models (Mostly) Know What They Know11 Jul

Other references · 19

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  7. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  8. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  9. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  10. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  11. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  12. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
7 more
  1. 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 275
  2. 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
  3. 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
  4. 2025No Answer Needed: Predicting LLM Answer Accuracy from Question-Only Linear Probescited by 35
  5. 2024Easy2Hard-Bench: Standardized Difficulty Labels for Profiling LLM Performance and Generalizationcited by 24
  6. 2025Probing the Difficulty Perception Mechanism of Large Language Modelscited by 8
  7. 2025LLMs Encode How Difficult Problems Arecited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Can LLMs Predict Their Own Failures? Self-Awareness via Internal Circuits
  2. 2025e3: Learning to Explore Enables Extrapolation of Test-Time Compute for LLMs
  3. 2025QueST: Incentivizing LLMs to Generate Difficult Problems
  4. 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
  5. 2025Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning
  6. 2025How Difficulty-Aware Staged Reinforcement Learning Enhances LLMs' Reasoning Capabilities: A Preliminary Experimental Study
  7. 2025The Valley of Code Reasoning: Scaling Knowledge Distillation of Large Language Models
  8. 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Models