Large Reasoning Models produce diverse, sometimes inconsistent answers across repeated queries on the same problem, so multi-sample inference is a prerequisite for reliable deployment. Majority voting at k rollouts is the standard solution and the de facto accuracy target for this regime, but it is prohibitively expensive at the scale LRMs require. We introduce Funnel of Thoughts (FoT), an inference-time method that preserves the full 32-trajectory voted accuracy while halving its attention FLOPs, a 28.8% reduction in full-model inference cost. Across 115K reasoning trajectories from six LRMs, we find that unproductive trajectories often reveal themselves through repeated hesitation markers such as "Wait", "Actually", and "perhaps." These trajectories are less likely to reach the correct answer and consume disproportionate attention FLOPs, degenerating into no-answer loops in the worst case. Built on this training-free lexical signal, FoT identifies the vocabulary that captures these pathological patterns and prunes affected trajectories before completion, reducing online generation attention FLOPs by 56.1% and wall time by 37.6% without any additional model inference; the same signal transfers without retuning across held-out architectures and out-of-domain tasks.
Figures & tables
Figure 1: Accuracy vs. compute on AIME24/25. SC@ k trades accuracy for compute by varying pool size k . FoT@32 defines a new Pareto point: matching SC@32 accuracy at SC@16-level compute.
Figure 2: Funnel of Thoughts on AMC23 Problem 20 (DeepSeek-R1-Distill-Qwen-7B, k=32 ). Top: Each bar is one rollout, ordered by sampling seed, and truncated at its pruning or early-voting checkpoint. Bottom-left: The pool narrows across three checkpoints. Bottom-right: SC@32 elects the wrong plurality (2); FoT@32 lifts the correct answer (9) into the plurality.
Correct
Incorrect
No Answer
Proportion of pool
90.5%
7.4%
2.1%
Avg. tokens generated
5,575
16,128
31,319
Hesitation density (/1K chars)
3.46
6.14
6.93
Relative attention FLOPs
1.0 ×
6.0 ×
17.4 ×
Table 1: Behavioral profile of the 115,200-rollout pool across 6 models and 4 benchmarks. Correct rollouts commit early, carry fewer hesitation markers, and cost a fraction of the compute; the 9.5% of rollouts that end wrong or never commit consume a disproportionate share of it.
AIME24
AIME25
AMC23
MATH500
Overall (/600)
Model
Method
Acc
FLOP
Acc
FLOP
Acc
FLOP
Acc
FLOP
Acc
FLOP
DS-R1-1.5B
SC@32
56.7
—
33.3
—
90.0
—
92.4
—
87.5
—
AC
56.7
10.4%
33.7
12.7%
90.0
39.4%
92.2
43.3%
87.3
26.4%
SlimSC
63.3
56.3%
40.0
68.7%
92.5
60.3%
91.8
54.5%
87.8
60.0%
FoT@32
60.0
57.6%
33.3
54.3%
90.0
55.9%
92.6
50.3%
87.8
54.5%
DS-R1-7B
SC@32
80.0
—
53.3
—
95.0
—
95.4
—
92.5
—
Table 2: Main results across 6 models and 4 competition-math benchmarks ( k=32 ). Acc is accuracy (%) and FLOP the attention-FLOP saving over SC@32, with Overall FLOP taken as the per-benchmark mean so that MATH500’s size does not dominate. Accuracy cells are shaded relative to SC@32 ( higher , lower , unshaded within ±1 pp) and FLOP cells grey -shaded by size of saving.
Hard regime
Easy regime
AIME24+25 (gap 22.3pp)
AMC+MATH500 (gap 5.3pp)
Method
Acc
FLOP ↓
Acc
FLOP ↓
Pass@1 (single rollout)
60.7
—
93.8
—
Pass@32 (oracle ceiling)
83.1
—
99.1
—
SC@32 (baseline)
75.0
—
96.5
—
AC
75.2
44.9%
96.6
65.6%
Table 3: Each method split by pass@ k gap. FoT preserves SC@32 accuracy while saving more attention FLOPs in the hard split, where consensus is slow; accuracy is in %, and FLOP savings are problem-weighted macro averages relative to SC@32.
Figure 3: FoT removes compute, not votes. Left: attention FLOPs actually consumed, as a percentage of SC@32’s total, so a pruned rollout is charged for everything it generated before termination. Right: votes cast in the final plurality.
Benchmark
SC@32
FoT@32
Δ (pp)
Token ↓
FLOP ↓
Qwen3-14B
AIME24
83.3
83.3
+ 0.0
32.5%
53.6%
AIME25
80.0
80.0
+ 0.0
38.8%
59.6%
AMC23
100.0
100.0
+ 0.0
18.7%
40.1%
MATH500
70.4
70.6
+ 0.2
12.7%
35.6%
Qwen3-32B
Table 4: Cross-model transfer with unchanged FoT configuration: FoT preserves SC@32 accuracy on four held-out models while saving 51.9% of attention FLOPs on average. Accuracies use exact-match grading, which depresses only the MATH500 absolutes (Appendix D.1 ); the deltas are unaffected.
pass@ k (LCB only)
Model
SC@32
FoT@32
Δ (pp)
FLOP ↓
SC
FoT
Δ (pp)
GPQA-Diamond (accuracy %)
DS-R1-1.5B
38.9
41.4
+ 2.5
42.2%
—
—
—
DS-R1-7B
55.6
55.6
+ 0.0
31.8%
—
—
—
OT3-7B
51.5
53.0
+ 1.5
56.8%
—
—
—
Qwen3-4B
65.7
67.7
+ 2.0
35.3%
—
—
—
Table 5: Cross-domain transfer with unchanged FoT configuration. GPQA reports accuracy; LCB reports mean per-rollout pass rate and, in the right block, pass@ k (a problem counts as solved if any rollout in the pool—for FoT, any surviving rollout—passes all tests). Δ is FoT − SC in percentage points.
Pass@1
SC@32
FoT@32
vs. SC@32
Accuracy (%)
53.3
76.7
80.0
+ 3.3 pp
Wall time (s)
4,145
21,561
13,445
− 37.6%
Attn. FLOPs ( ×1010 )
0.35
12.9
5.67
− 56.1%
Cumulative KV (M)
0.37
12.88
8.51
− 33.9%
Table 6: Online deployment on AIME24 with DS-R1-7B ( k=32 ), measured end-to-end on a single A100. Cumulative KV counts generated-token positions rather than peak memory; pruned and banked rollouts release their slots at each checkpoint.
w/o Early Voting
w/ Early Voting
Pruning Signal
Correct
FLOP ↓
Correct
FLOP ↓
None (SC@32)
94.36 (baseline)
—
Random
93.94 ( − 0.42)
48.0%
94.38 ( + 0.01)
48.4%
Hesitation density
94.61 ( + 0.25)
51.7%
94.47 ( + 0.11)
48.7%
Table 7: Pruning signal × early voting on the 4-benchmark pool (3,600 model-problem pairs), with Δ relative to the SC@32 baseline of 94.36; random rows are means over 10 seeds, with a pooled standard deviation of ± 0.14 without early voting and ± 0.06 with it. Early voting slightly lowers the FLOP saving because banked rollouts are exempt from the pruning quota, so the shrunken active pool ends pruning earlier.
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
Marker
rpbw
pw
Prev. (%)
W/C
perhaps
− 0.427
< 1e-300
42.7
3.56 ×
Wait,
− 0.286
< 1e-300
97.3
1.83 ×
Wait
− 0.276
< 1e-300
97.7
1.79 ×
actually
− 0.210
< 1e-300
60.4
1.75 ×
wrong
− 0.142
< 1e-300
23.4
2.32 ×
However
− 0.125
< 1e-300
18.0
1.89 ×
Appendix
Table 8: Operational 21-marker kernel, ranked by benchmark-weighted point-biserial correlation with correctness on the 115,200-rollout pool ( neff=32,797 stratified). Prev. is rollout prevalence and W/C the wrong-to-correct frequency ratio; † marks a marker essentially absent from correct rollouts, where the ratio is unstable.
Decile
Density range
Accuracy (%)
D1
0.00–1.11
96.9
D2
1.11–1.76
98.0
D3
1.76–2.30
97.0
D4
2.30–2.80
95.9
D5
2.80–3.31
95.1
D6
3.31–3.87
94.3
Appendix
Table 9: Accuracy by hesitation-marker density decile across 115,200 rollouts, where density is marker count per 1K characters. Accuracy falls monotonically with density ( r=−0.82 between decile index and accuracy), for a 31.4pp gap between the lowest and highest decile.
Model
All
Correct
Wrong
Wrong/Correct
DS-R1-1.5B
4.05
3.12
7.23
2.32
DS-R1-7B
3.37
2.93
6.66
2.27
OT3-7B
5.11
4.98
6.56
1.32
Qwen3-4B
3.13
3.10
3.59
1.16
Qwen3-30B
2.44
2.43
2.55
1.05
QwQ-32B
4.30
4.17
6.73
1.62
Appendix
Table 10: Per-model hesitation-marker density, in markers per 1K characters, where wrong counts every rollout not graded correct. Absolute density varies several-fold across models, but every model separates wrong from correct in the same direction, which is what lets one relative rule transfer.
Benchmark
Pass@1
SC@32
Pass@32
No-ans./32
AIME24
15.7
50.0
73.3
19.0
AIME25
13.6
36.7
66.7
17.2
AMC23
16.8
55.0
87.5
18.2
MATH500
11.5
46.6
59.6
21.0
Appendix
Table 11: Phi-4-reasoning rollout profile at k=32 . Accuracy columns are percentages under exact-match grading (Appendix D.1 ); no-answer reports the mean number of rollouts per problem that never produce an extractable final answer.
Subset
Start
Ckpt 1
Ckpt 2
Final
AIME/AMC avg.
2.67
1.74
1.18
0.79
Qwen3-4B/AIME25
9.4
–
–
2.4
OT3-7B/AIME25
5.4
–
–
1.7
Appendix
Table 12: No-answer rollouts remaining under FoT over the checkpoint sequence on the AIME24/AIME25/AMC23 stress subset. Entries report the mean count per 32-rollout pool; the aggregate removes 71% of no-answer rollouts by the final checkpoint.
Accuracy (%)
Model
Dataset
Pass@1
Pass@32
Gap 1→32
SC@32
DS-R1-1.5B
AIME24
29.2
80.0
50.8
56.7
AIME25
24.3
53.3
29.1
33.3
AMC23
71.2
100.0
28.8
90.0
MATH500
83.8
98.0
14.2
92.4
DS-R1-7B
AIME24
54.9
83.3
28.4
80.0
Appendix
Table 13: Pass@1 vs. Pass@32 accuracy gap across 6 models and 4 benchmarks ( k=32 ), where Pass@1 is the average single-rollout accuracy and Pass@32 the oracle accuracy of the pool. The 14.4pp average gap is the headroom majority voting exploits; averages are unweighted means over the 24 model–benchmark cells.
Figure 4: Per-model accuracy breakdown across the 4-benchmark math suite.
Figure 5: Discordant cases on the AIME/AMC subset. Left: SC@32–FoT@32 concordance. Right: FoT wins and losses by model.
Figure 6: Vote-concentration diagnostic on the 4-benchmark pool. Bins are SC@32 plurality-share ranges. Left: how often FoT changes the SC answer. Right: FoT correct minus SC correct within each bin.
All (4 benchmarks)
Hard (AIME24/25)
pass@1 bin
n
SC
FoT
Δ
n
SC
FoT
Δ
p1=0
91
0.0
0.0
+ 0.0
61
0.0
0.0
+ 0.0
0<p1≤0.25
121
23.1
28.9
+ 5.8
42
35.7
40.5
+ 4.8
0.25<p1≤0.5
91
79.1
80.2
+ 1.1
33
93.9
97.0
+ 3.0
p1>0.5
3297
100.0
99.9
− 0.1
224
100.0
99.1
− 0.9
Appendix
Table 14: Accuracy (%) stratified by per-problem difficulty, graded with math_verify . Bins are per-problem pass@1, the fraction of the 32 rollouts that are correct; n counts model-problem pairs.
All
Hard
Method
Acc
FLOP ↓
Acc
FLOP ↓
SC@32
94.4
—
75.0
—
DSC
94.4
69.4%
75.0
54.4%
Certaindex (offline proxy)
94.0
11.5–13.2%
75.0
9.9–10.9%
FoT@32
94.5
28.8%
75.0
44.0%
FoT+DSC (composed)
94.0
80.9%
73.6
75.7%
Appendix
Table 15: Sample-axis baselines and composition on a unified basis: math_verify grading, with FLOP ↓ the full-model saving against SC@32 and hard = AIME24/25. DSC ( Wang et al., 2025b ) and Certaindex ( Fu et al., 2025 ) act on the sample axis, FoT on the token axis.
Figure 7: Hyperparameter sensitivity analysis. (a) Full 340-configuration sweep on the 4-benchmark calibration pool. Stars mark the default joint-Pareto config and the math-only in-domain maximizer. (b) Pool-size scaling for the default config.
Keep ratio ρ
Schedule
0.50
0.67
0.75
Early {4K, 8K, 12K}
3380 ( − 17)
3398 ( + 1)
3400 ( + 3)
Mid {6K, 10K, 14K}
3389 ( − 8)
3401 ( + 4)
3403 ( + 6)
Math-only {6K, 11K, 16K}
3399 ( + 2)
3404 ( + 7)
3399 ( + 2)
Late {8K, 12K, 16K}
3395 ( − 2)
3401 ( + 4)
3402 ( + 5)
Appendix
Table 16: Ablation over checkpoint schedules and keep ratio ρ on the 4-benchmark pool (3,600 pairs per cell), showing FoT correct count and Δ against the SC@32 baseline of 3397/3600. The shaded universal default (Mid {6K, 10K, 14K}, ρ=0.67 ) is our joint choice; within this grid Math-only {6K, 11K, 16K} scores highest in domain but loses out of distribution (Appendix C.1 ).
Per-Model
Universal
Model
Best Config
Δ
FLOP ↓
Δ
FLOP ↓
DS-R1-1.5B
Math-only, ρ=0.50
+ 7
63.2
+ 2
52.7
DS-R1-7B
Math-only, ρ=0.50
+ 4
55.5
+ 3
46.5
OT3-7B
Mid, ρ=0.67
+ 3
51.2
+ 3
51.2
Qwen3-4B
Mid, ρ=0.75
− 1
39.6
− 2
49.1
Qwen3-30B
Math-only, ρ=0.67
+ 2
43.0
+ 0
45.3
Appendix
Table 17: Per-model calibration against the universal Mid ρ=0.67 config, with each model’s best config selected on its own 600-problem math pool. Δ is relative to SC@32 and Agg. sums across all 3,600 model-problem pairs.
Target Model ( Δ vs. SC@32 on 600 problems)
Source Config
DS-R1-1.5B
DS-R1-7B
OT3-7B
Qwen3-4B
Qwen3-30B
QwQ-32B
Agg.
Mid, ρ=0.67 (Ours)
+ 2
+ 3
+ 3
− 2
+ 0
− 2
+ 4
Math-only, ρ=0.50
+ 7
+ 4
− 2
− 6
− 1
+ 0
+ 2
Math-only, ρ=0.67
+ 4
+ 4
+ 1
− 3
+ 2
− 1
+ 7
Mid, ρ=0.75
+ 3
+ 2
+ 2
− 1
+ 1
− 1
+ 6
Appendix
Table 18: Cross-model config transfer on the 4-benchmark pool, where cells show Δ against SC@32 out of 600 problems per model and Agg. sums across all 3,600 pairs. Bold marks each model’s self-optimal config from Table 17 .
Kernel
Δ
Tok ↓ (%)
FLOP ↓ (%)
top-1 (perhaps)
−3
29.12
50.59
top-2
+6
29.20
50.66
top-3 (3 markers)
+5
29.22
50.70
top-5
+5
29.19
50.65
top-7
+6
29.17
50.59
top-10
+0
29.17
50.61
Appendix
Table 19: Kernel-size sweep on the 4-benchmark pool. Tokens are added by descending ∣rpb∣ ; Δ is FoT@32 minus SC@32.
Accuracy
FLOP ↓
keep ρ
w/ EV
w/o EV
EV Δ
w/ EV
w/o EV
0.67 (default) ∗
75.0
75.0
+ 0.0
57.3%
59.2%
0.50
73.9
73.3
+ 0.6
72.0%
73.3%
0.33
71.1
67.5
+3.6
80.5%
81.7%
0.25
70.8
67.2
+3.6
81.7%
82.8%
Appendix
Table 20: Early voting under keep-ratio sweep on the hard cells (attention-FLOP convention of Table 2 ). At the default ρ early voting is neutral; at aggressive ρ it recovers committed correct answers that pruning would otherwise delete. ∗ The default row quotes the main-result lineage (Table 3 ); the sweep recomputation differs by one problem on one model due to re-tokenization, within single-problem resolution.
Figure 8: Early voting diagnostic on the AIME/AMC subset. Left: banked rollout count per problem. Center: fraction with a correct answer banked. Right: average banked and active rollouts per model.
Attention regime
FLOP saving
Full quadratic (headline)
48.7%
Sliding window, w=8 K
38.6%
Sliding window, w=4 K
30.9%
Sliding window, w=2 K
26.8%
Sliding window, w=1 K
24.8%
Linear / sparse top- k
23.0%
Appendix
Table 21: FoT attention-FLOP saving relative to SC@32 under different attention regimes, on the 4-benchmark pool with the universal configuration. The saving interpolates between the full-attention headline and the token-reduction floor as the effective attention window narrows.
Test-time compute scaling is a primary driver of performance in large reasoning models (LRMs), but extreme inefficiency bounds current approaches, shifting the critical question from how much compute to spend, to where to allocate it. We formalize test-time reasoning as a constrained compute allocation problem over partial trajectories. Under a fixed hardware budget, existing paradigms fail to actively allocate the compute to the most promising partial progress: traditional parallel sampling treats traces independently and induces severe memory bottlenecks, while subtractive pruning starves hardware and fails to actively and sufficiently shift the output distribution. To overcome this dichotomy, we introduce Gambit, an inference algorithm that executes thought-level beam search. By periodically pruning unpromising trajectories and immediately branching from high-quality prefixes, Gambit dynamically concentrates compute onto the most promising reasoning traces via a light-weight scorer probing hidden states while maintaining continuous high hardware utilization. Extensive evaluations across multiple models and benchmarks demonstrate that Gambit strictly dominates existing baselines. Under identical hardware constraints, our method yields up to a +6.7% absolute accuracy gain on HMMT-24 and +3.3% on AIME-25 over pruning baselines, delivers >2× higher throughput on trace completion, and reduces total token consumption by up to 68.5% relative to standard parallel sampling.
Scaling test-time computation is a powerful way to improve language-model reasoning, and is particularly appealing for small reasoning models (sRMs) that are cheap to serve. However, is additional thinking always the right operation? By intervening at intermediate reasoning states across two model families and multiple scales, we find that self-refinement largely consolidates probability mass onto solutions already reachable from the current state, rather than making new ones reachable. These interventions reveal two failure regimes: execution bottlenecks, where the correct path is reachable and reflection can recover it, and knowledge bottlenecks, where relevant external information makes it reachable. Motivated by this distinction, we introduce FlyBy, a selective querying framework, and train 4B and 8B variants to reason first, diagnose what remains unresolved, and, at a knowledge bottleneck, query stronger models whose parametric knowledge extends beyond its own. Supervised fine-tuning bootstraps a multi-depth query action, and cost-aware reinforcement learning calibrates whether to query, what to ask, and how much to spend. On 1,158 hard problems across six benchmarks, FlyBy-4B achieves 45.96% pass@8, surpassing Qwen3-14B (41.64%) at 2.7 times lower serving cost, while also exceeding Qwen3-8B in pass@1 (16.85% vs. 15.31%). Scaling to FlyBy-8B further improves pass@8 to 51.81%.
Large language models (LLMs) have demonstrated impressive reasoning capabilities by scaling test-time compute via long Chain-of-Thought (CoT). However, recent findings suggest that raw token counts are unreliable proxies for reasoning quality: increased generation length does not consistently correlate with accuracy and may instead signal "overthinking," leading to performance degradation. In this work, we quantify inference-time effort by identifying deep-thinking tokens -- tokens where internal predictions undergo significant revisions in deeper model layers prior to convergence. Across four challenging mathematical and scientific benchmarks (AIME 24/25, HMMT 25, and GPQA-diamond) and a diverse set of reasoning-focused models (GPT-OSS, DeepSeek-R1, and Qwen3), we show that deep-thinking ratio (the proportion of deep-thinking tokens in a generated sequence) exhibits a robust and consistently positive correlation with accuracy, substantially outperforming both length-based and confidence-based baselines. Leveraging this insight, we introduce Think@n, a test-time scaling strategy that prioritizes samples with high deep-thinking ratios. We demonstrate that Think@n matches or exceeds standard self-consistency performance while significantly reducing inference costs by enabling the early rejection of unpromising generations based on short prefixes.