TL;DR
Fuel Gauge is a lightweight framework that predicts the length of Chain-of-Thought (CoT) reasoning in Large Multimodal Models (LMMs) before generation finishes. By tapping into an internal "fuel level" signal within the model's hidden states, it enables proactive memory allocation (reducing fragmentation) and dynamic control over reasoning depth to prevent under- or over-thinking.
What Problem Does This Paper Address?
Reasoning models (like DeepSeek-R1 or Qwen3) use Chain-of-Thought (CoT) processing to break down complex problems step-by-step. While this significantly boosts accuracy, it introduces a major operational challenge: CoT length is highly unpredictable at runtime. Because these models generate text token-by-token (autoregressively), we don't know how long they will "think" until they stop.
This unpredictability causes two major issues:
- Memory Fragmentation: Serving frameworks must repeatedly allocate small memory blocks for the Key-Value (KV) cache as the CoT grows. This scatters free memory and can cause out-of-memory errors even when total free space is technically sufficient.
- Sub-optimal Accuracy: LMMs sometimes misjudge task difficulty, leading to under-thinking (giving up too early on hard problems) or over-thinking (wasting computation and introducing errors on simple ones).
Methods
The authors introduce Fuel Gauge, a method based on the hypothesis that an LMM's hidden states contain an internal "fuel level" that starts high and decreases linearly to zero when the reasoning process concludes.
The framework operates in two stages:
- Stage 1: Fuel Level Estimation: A tiny neural network (only 82k parameters) looks at the hidden states of a single intermediate transformer layer across the most recent 8 tokens. It maps these states to a scalar value representing the current "fuel level" ($r_i$).
- Stage 2: CoT Length Estimation: By fitting a linear model to these fuel level readings over time, the system extrapolates ahead to find the "zero-crossing point"—the exact step where the model will run out of fuel and finish its CoT.
Downstream Applications
- Predictive KV Cache Allocator: Uses the predicted length to allocate the correct amount of memory in one shot, drastically reducing allocation frequency.
- CoT Length Modulation: Uses a modulation factor ($\eta$) via normalized gradient ascent/descent to alter the model's hidden states during generation, artificially extending or shortening the reasoning path to optimize accuracy.
Datasets
The Fuel Gauge network is incredibly data-efficient, requiring training on only 200 CoT traces from general benchmarks:
- MMLU (for text-only models)
- MMMU (for text-vision models)
The authors evaluated its generalizability across several challenging downstream benchmarks:
- Text-only: GPQA-Diamond, AIME24, AIME25
- Image-Text: MathVision-m
- Video-Text: LongVideoBench-15, LongVideoBench-60
Key Insights and Ideas
- The Biological Analogy: The core idea is inspired by human brain chemistry. Human cognition relies on ATP depletion and adenosine accumulation to signal mental fatigue. Similarly, LMM hidden states track an implicit budget of "reasoning energy."
- Difficulty is Encoded Early: As shown in the paper's analysis, there is a strong negative correlation between task difficulty (accuracy) and CoT length. The model implicitly registers the complexity of a prompt right at the start of generation.
- Linear Controllability: The most surprising finding is how cleanly the internal fuel signal behaves. Tweaking the hidden states along the Fuel Gauge gradient results in a remarkably linear adjustment of both CoT length and final accuracy.
Key Results
- Superior Prediction Accuracy: On the GPQA-Diamond benchmark, Fuel Gauge cut the CoT length prediction error by more than half compared to direct prediction baselines.
- Massive Memory Efficiency: By accurately predicting memory needs upfront, Fuel Gauge achieved a 13.37× reduction in memory allocation frequency on GPQA-Diamond and a 9.8× reduction on MathVision-m.
- Cross-Modality Generalization: Even when trained purely on static image-text data (MMMU), Fuel Gauge successfully predicted CoT lengths for video-text tasks (LongVideoBench), proving it captures a fundamental reasoning property rather than superficial patterns.
Limitations and Future Work
While Fuel Gauge demonstrates impressive results, the paper notes a few boundaries:
- Linear Assumption: The current framework assumes that the internal fuel level decreases linearly. While this approximation works well in practice, actual model dynamics might be non-linear during highly complex backtracking phases.
- Future Directions: The authors suggest that this is the first step toward test-time scaling with classifier guidance, opening the door for future architectures to actively self-correct and manage their computational budgets on the fly.
Summary updated