Does Your Large Language Model Have An Intuitive Sense of The Difficulty of A Question?

Ruitao Wang, Jinyi Liu, Hongyao Tang, Rong Cheng, Yi Ma, Shaojin Ma, Yiwen Zhu, Hebin Liang, Gangyi Zhao, Pengyi Li, Yan Zheng, Jianye HaoNeurIPS 2026

TL;DR

When you look at a math problem like $2+3$ versus a calculus integral, you instantly feel the difference in difficulty before solving either. It turns out Large Language Models (LLMs) have a remarkably similar "gut feeling" encoded in their hidden layers before generating a single word. By tapping directly into this internal signal—with zero extra training and zero test-time sampling—we can stop LLMs from overthinking easy questions and cut compute costs in half.

What Problem Does This Paper Address?

Modern reasoning LLMs have developed a quirky habit: they overthink. Ask a state-of-the-art model a simple question, and it might still burn thousands of tokens second-guessing itself in long chains of thought.

To fix this, engineers want adaptive reasoning—routing easy problems to a cheap "fast mode" and saving expensive "slow mode" deliberation for genuinely tough nuts to crack. The catch? To route a problem, the model first has to know how hard it is.

Currently, we estimate difficulty in two ways, both of which are flawed:

  1. Training-based judges: Fine-tuning auxiliary classifiers or LLMs on labeled difficulty data, which is brittle across domains and requires training overhead.
  2. Rollout-based methods: Generating multiple answers at test time to check for self-consistency or entropy—ironically burning massive compute just to decide if we should save compute.

This paper asks: Do LLMs already have an intrinsic, pre-reasoning intuition of difficulty that we can read for free?

Methods

Instead of asking the LLM to output a judgment or training a new network, the authors look inside the Transformer's hidden activations during the initial prefill pass (reading the prompt, specifically at the last token) before any decoding begins.

They introduce two lightweight, plug-and-play components:

  • RLDP (Referential Latent Difficulty Perception): First, using a tiny offline reference set (just 10 easy and 10 hard problem pairs!), RLDP calculates Which Transformer layers best separate easy from hard representations using a custom Layer-wise Variance-Normalized Discriminability (LVD) score. When a new question arrives, RLDP extracts its hidden state at the top discriminative layer(s) and measures how close it sits to the "easy" vs. "hard" reference centers. Crucially, instead of standard Euclidean distance, it uses a shrinkage-regularized diagonal Mahalanobis distance, which accounts for the fact that different feature dimensions in Transformer space stretch and scale wildly (anisotropy).
  • RLDP-AdaSwitch: A simple routing controller. If RLDP's score crosses a threshold indicating the question is easy, AdaSwitch triggers fast inference (e.g., standard no_think mode); otherwise, it unleashes slow, deliberate think mode. No weights are updated, and zero extra tokens are generated to make the decision.

Datasets

The authors evaluate their approach across three open-weight models (Qwen3-4B, Qwen3-14B, and Llama-3.1-Nemotron-Nano-4B) on five existing benchmarks spanning three domains (no new datasets are introduced):

  • Math Reasoning: OlympiadBench, AIME, and MATH500.
  • Code Generation: LiveCodeBench.
  • Question Answering: ScienceQA.

(Note: For dual-mode models, a question is operationally defined as "easy" if solved by both fast and slow modes, and "hard" if it fails in fast mode but succeeds in slow mode.)

Key Insights and Ideas

  • LLMs are terrible at verbalizing difficulty, even when they know it: If you explicitly prompt an LLM ("Is this question easy or hard?"), zero-shot predictions completely collapse—often labeling 98%+ of everything as hard. Few-shot prompting barely helps. Yet, inside the hidden states, the separation is crystal clear.
  • Intuition peaks in the middle layers: Difficulty isn't readable at the input embedding layer. As information flows through the Transformer, the gap between easy and hard problem centers grows, peaks sharply in the middle-to-upper-middle layers, and tapers off near the final output layers.
Figure 2: Layer-wise center-distance analysis of Qwen3-4B across different metrics and settings. Consistent separability dynamics between easy and hard problems emerge across distance measures and remain robust under token-length control.
  • It’s not just counting words: A natural skeptic might ask, "Aren't hard problems just longer?" The authors strictly controlled for prompt length (testing only 55–65 token questions) and found the exact same middle-layer separation peak (Figure 2c above). The model is genuinely reacting to conceptual complexity, not token count.
  • Geometry matters: Standard Euclidean distance fails miserably at reading this signal because LLM hidden dimensions have wildly uneven variances. Normalizing per-coordinate variance via Mahalanobis distance is the secret sauce that makes training-free perception work.

Key Results

  • Balanced, top-tier difficulty perception: Using just 10 reference pairs, RLDP achieves top or near-top Macro-F1 scores across models and tasks (e.g., 67.39% F1 on OlympiadBench with Qwen3-14B, beating fine-tuned LLM judges and trained linear probes). Unlike baselines that skew heavily toward one class, RLDP stays balanced (70%–80% accuracy on both easy and hard subsets on MATH500).
  • Massive token efficiency gains: In end-to-end adaptive reasoning on Qwen3-4B, RLDP-AdaSwitch achieves 1.34× to 2.00× higher token efficiency than rollout-based baselines, while matching or beating supervised methods.
  • Extreme data efficiency: When trained linear probes are restricted to the same tiny budget of 10 reference pairs, their performance plummets (dropping from 59.63% to 47.08% F1 on OlympiadBench), whereas RLDP thrives at 62.75% F1. RLDP also transfers cleanly across datasets (e.g., using MATH500 references to judge Olympiad questions).

Limitations and Future Work

  • Open-weights required: Because RLDP reads internal hidden-layer activations, you cannot use it on closed-source, API-only models like GPT-4 or Claude.
  • Pre-reasoning estimation only: RLDP captures a rapid "first glance" intuition; it is a routing heuristic, not a substitute for actual step-by-step verification when a problem genuinely requires deep thought.
  • Future directions: The authors suggest extending these intrinsic representation-level difficulty signals beyond test-time routing—such as integrating them into model training curricula or broader deployment pipelines.

Summary updated

Abstract

Difficulty perception is essential for adaptive reasoning in large language models (LLMs). Previous studies rely on training auxiliary models or using extra reasoning rollouts to estimate difficulty, which incurs high computational costs. In this paper, we identify an intrinsic property of LLMs: their internal representations, even before explicit reasoning, encode an informative and useful signal that correlates with problem difficulty. Inspired by this property, we propose Referential Latent Difficulty Perception (RLDP), a training-free and rollout-free method that estimates difficulty directly from hidden activations in a single forward pass, and requires only minimal reference problems. Additionally, we introduce RLDP-AdaSwitch, a lightweight controller that dynamically allocates reasoning effort based on the difficulty signals provided by RLDP, enabling efficient trade-offs between accuracy and compute. Our experimental results across multiple LLMs and diverse datasets, including math reasoning, code generation, and QA, demonstrate that RLDP provides stable and effective difficulty discrimination. This further powers RLDP-AdaSwitch to achieve 1.34×–2.00× efficiency compared to rollout-based methods, while matching the performance of training-based methods.
BibTeX
@inproceedings{wang2026does,
  author = {Ruitao Wang and Jinyi Liu and Hongyao Tang and Rong Cheng and Yi Ma and Shaojin Ma and Yiwen Zhu and Hebin Liang and Gangyi Zhao and Pengyi Li and YAN ZHENG and Jianye HAO},
  title = {{Does Your Large Language Model Have An Intuitive Sense of The Difficulty of A Question?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sFq1guxX1W},
}
Figure