LLMs Encode Their Failures: Predicting Success from Pre-Generation Activations
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
Other references · 19
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 354
7 more
- 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 275
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2025IRT-Router: Effective and Interpretable Multi-LLM Routing via Item Response Theorycited by 40
- 2025No Answer Needed: Predicting LLM Answer Accuracy from Question-Only Linear Probescited by 35
- 2024Easy2Hard-Bench: Standardized Difficulty Labels for Profiling LLM Performance and Generalizationcited by 24
- 2025Probing the Difficulty Perception Mechanism of Large Language Modelscited by 8
- 2025LLMs Encode How Difficult Problems Arecited by 6
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026Verbalizing LLM's Higher-order Uncertainty via Imprecise Probabilitiescited by 4
- 2026LLM Router: Rethinking Routing with Prefill Activationscited by 2
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMscited by 1
- 2026Future Confidence Distillation in Large Language Modelscited by 1
- 2026On the Robustness of LLMs' Internal Representation of Code Correctnesscited by 1
- 2026Zero-Shot Confidence Estimation for Small LLMs: When Supervised Baselines Aren't Worth Trainingcited by 0
- 2026Resample or Reroute? Recoverable Stopping Debt Without Identified Action Selectioncited by 0
- 2026It's the Problem, Not the Path: Budget and Difficulty Confounds in LLM Reasoning Trajectoriescited by 0
- 2026HARISSA: Inference-Time Self-Checks for Efficient and Safe Local Language Model Deploymentcited by 0
- 2026HARISSA: Inference-Time Self-Checks for Efficient and Safe Local Language Model Deployment29 Sep 2026
- 2026It's the Problem, Not the Path: Budget and Difficulty Confounds in LLM Reasoning Trajectories3 Sep 2026
- 2026On the Robustness of LLMs' Internal Representation of Code Correctness8 Aug 2026
- 2026Resample or Reroute? Recoverable Stopping Debt Without Identified Action Selection9 Jul 2026
- 2026Future Confidence Distillation in Large Language Models8 Jul 2026
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMs7 May 2026
- 2026Zero-Shot Confidence Estimation for Small LLMs: When Supervised Baselines Aren't Worth Training4 May 2026
- 2026LLM Router: Rethinking Routing with Prefill Activations21 Mar 2026
- 2026Verbalizing LLM's Higher-order Uncertainty via Imprecise Probabilities11 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Can LLMs Predict Their Own Failures? Self-Awareness via Internal Circuits
- 2025e3: Learning to Explore Enables Extrapolation of Test-Time Compute for LLMs
- 2025QueST: Incentivizing LLMs to Generate Difficult Problems
- 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
- 2025Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning
- 2025How Difficulty-Aware Staged Reinforcement Learning Enhances LLMs' Reasoning Capabilities: A Preliminary Experimental Study
- 2025The Valley of Code Reasoning: Scaling Knowledge Distillation of Large Language Models
- 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Models