Funnel of Thoughts: Efficient Test-Time Scaling via Early Voting and Rollout Pruning
FoT uses early voting and rollout pruning based on hesitation signals to cut 28.8% attention FLOPs while maintaining SC@32 accuracy.
Key Findings
Methodology
FoT leverages a training-free lexical signal—hesitation markers like 'wait', 'actually', 'perhaps'—to identify unproductive trajectories during inference. It applies multi-stage checkpoints where it performs early voting on committed answers and prunes trajectories exhibiting high hesitation density, thus dynamically removing wasteful long-tail paths. This process runs in parallel across a full pool of k trajectories, without additional training or external models, effectively reducing attention FLOPs by 56.1% and inference wall time by 37.6%. Validated on six diverse models across four math reasoning benchmarks, FoT demonstrates robust transferability and efficiency gains while preserving accuracy.
Key Results
- FoT maintains SC@32 accuracy across six models and four benchmarks, reducing attention FLOPs by 28.8% and inference wall time by 37.6%. On average, it discards the longest, most resource-consuming trajectories—those with high hesitation marker density—without sacrificing correctness. In complex tasks like AIME24/25, FoT effectively filters out spiraling, no-answer loops, leading to significant resource savings.
- Analysis shows that incorrect trajectories exhibit higher hesitation marker density, which FoT exploits for pruning. The method’s transferability across models (Qwen, Skywork, Phi-4) and tasks (including code generation) confirms its general applicability. Ablation studies reveal that hesitation-based pruning outperforms similarity-based methods like Slim-SC, especially on hard instances.
- Compared to baselines like Adaptive Consistency, FoT’s token-level, in-flight pruning offers more stable performance in scenarios with slow consensus, providing a more reliable tradeoff between accuracy and compute. Overall, FoT achieves a Pareto improvement in accuracy and efficiency, making multi-sample inference more practical.
Significance
This work addresses the critical bottleneck of high computational cost in large reasoning models by introducing a simple yet effective lexical signal-based pruning mechanism. It enables models to dynamically discard unproductive reasoning paths during inference, significantly reducing resource consumption while maintaining high accuracy. The approach enhances the practicality of multi-sample inference, facilitating deployment in real-world applications like automated reasoning, question answering, and code synthesis. Its model-agnostic, training-free nature makes it highly adaptable, promising broad impact in both academia and industry. By improving efficiency without sacrificing performance, FoT paves the way for more scalable and accessible large language models.
Technical Contribution
FoT’s main innovation lies in exploiting a lexical signal—hesitation markers—without any training or external modules, to identify and prune unproductive trajectories during inference. It introduces a multi-stage, checkpoint-based framework where early voting captures committed answers, and hesitation density guides path pruning. This approach differs fundamentally from prior methods relying on external models or similarity metrics, offering a lightweight, model-agnostic solution. Theoretically, it guarantees preservation of accuracy while reducing attention FLOPs by over 50%. Engineering-wise, it integrates seamlessly into existing inference pipelines, requiring only generated text analysis, thus enabling real-time resource savings. The method’s transferability across diverse architectures and tasks underscores its robustness and practical value.
Novelty
FoT is the first to utilize lexical hesitation signals for dynamic path pruning during inference, bypassing the need for training or external models. Its multi-stage checkpoint approach, combined with in-text hesitation density measurement, offers a novel, lightweight mechanism to eliminate long, wasteful reasoning paths. Unlike prior work that focuses on similarity or external scoring, FoT directly leverages natural language cues inherent in generated text, making it highly practical and adaptable. This approach fundamentally shifts the paradigm from static model optimization to dynamic, inference-time resource management, opening new avenues for efficient large-scale reasoning.
Limitations
- FoT’s reliance on hesitation markers assumes consistent expression of doubt or delay, which may vary across tasks, languages, or model behaviors, potentially reducing effectiveness in some contexts.
- Incorrect trajectories with low hesitation signals might escape pruning, leading to occasional accuracy drops, especially in ambiguous or complex reasoning scenarios.
- While reducing FLOPs significantly, FoT still incurs some overhead in text analysis and checkpoint management, which could be further optimized for ultra-low-latency applications.
Future Work
Future research could explore adaptive thresholding for hesitation signals, integrating semantic or contextual cues to improve pruning accuracy. Combining lexical signals with learned confidence metrics or reinforcement learning could further enhance robustness. Extending the approach to multimodal reasoning, such as visual or audio inputs, and applying it to dialogue systems or real-time applications are promising directions. Additionally, developing more sophisticated, task-aware pruning strategies could push efficiency gains even further, making large models more accessible and sustainable.
AI Executive Summary
Large Reasoning Models (LRMs) have revolutionized AI capabilities, yet their deployment faces a major obstacle: the enormous computational cost associated with multi-sample inference. Traditional methods like Self-Consistency (SC@k) improve accuracy by sampling multiple trajectories and aggregating answers, but each trajectory must be fully generated, leading to exponential increases in attention FLOPs, especially for long, spiraling, or repetitive paths. This inefficiency hampers scalability and real-world applicability. To address this, the authors introduce Funnel of Thoughts (FoT), a novel, inference-time algorithm that leverages a simple lexical signal—hesitation markers such as 'wait', 'actually', and 'perhaps'—to identify unproductive reasoning paths.
FoT operates by monitoring generated text at multiple checkpoints during inference. It employs two core mechanisms: early voting, which captures committed answers early, and rollout pruning, which removes trajectories exhibiting high hesitation density. This process dynamically trims the reasoning pool, focusing computational resources on promising paths. Remarkably, FoT achieves a 28.8% reduction in attention FLOPs and a 37.6% decrease in wall-clock inference time, all while maintaining the accuracy levels of full multi-sample inference (SC@32). Extensive experiments across six diverse models and four benchmark datasets demonstrate the method’s robustness, transferability, and practical utility.
The significance of this work lies in its simplicity and effectiveness. By exploiting inherent language cues without additional training or external modules, FoT offers a lightweight, model-agnostic solution to a longstanding challenge in large-scale reasoning. Its ability to substantially reduce resource consumption makes it highly relevant for deploying AI in resource-constrained environments, such as real-time systems and edge devices. Looking ahead, integrating semantic signals, extending to multimodal reasoning, and refining pruning strategies could further enhance its impact, paving the way for more efficient, scalable, and accessible AI systems. Despite some limitations in ambiguous contexts, FoT marks a significant step toward practical, cost-effective large reasoning models.
Deep Analysis
Background
Over the past few years, large-scale reasoning models like GPT-4, PaLM, and others have achieved remarkable success in complex language understanding and reasoning tasks. Early efforts focused on improving accuracy through multi-sample inference techniques such as Self-Consistency (SC@k), which aggregates answers from multiple trajectories to boost correctness. However, these methods are computationally intensive, as each trajectory involves full-length generation, leading to quadratic growth in attention FLOPs. Researchers have identified that a significant portion of generated tokens—up to 50%—are redundant or unproductive, especially in long, spiraling, or repetitive paths. This inefficiency limits the scalability and deployment of large models in real-world applications, prompting the need for more resource-aware inference strategies.
Core Problem
Despite the success of multi-sample inference, the high computational cost remains a critical bottleneck. Long trajectories with unproductive behaviors—such as hesitation, repetition, or self-correction—consume disproportionate attention FLOPs without contributing to answer accuracy. Existing solutions like external confidence models or similarity-based pruning add complexity or require additional training, reducing practicality. The core challenge is to identify and eliminate these wasteful paths dynamically during inference, without retraining or external modules, while preserving the diversity and accuracy benefits of multi-sample approaches. Achieving this balance is vital for making large reasoning models more efficient and deployable at scale.
Innovation
FoT introduces a novel, training-free lexical signal—hesitation markers embedded naturally in generated text—as an indicator of unproductive reasoning paths. It employs a multi-stage, checkpoint-based framework where at each checkpoint, it performs early voting on committed answers, and computes hesitation density for ongoing trajectories. Trajectories exhibiting high hesitation are pruned, significantly reducing attention FLOPs. This approach differs from prior methods by directly leveraging language cues without external models or similarity metrics, enabling real-time, in-flight pruning. Its simplicity, model-agnostic design, and strong transferability across architectures and tasks represent key innovations, providing a practical solution to the resource bottleneck in multi-sample inference.
Methodology
- �� Initialize a pool of k parallel trajectories during inference.
- �� At multiple checkpoints (t1, t2, ..., tm), perform early voting on trajectories that have committed answers, storing results in a vote bank.
- �� For remaining trajectories, calculate hesitation marker density over generated tokens.
- �� Rank trajectories by hesitation density; retain the lowest-density subset based on a fixed keep ratio (e.g., 80%).
- �� Discard high-density trajectories, which are likely spiraling or unproductive.
- �� Continue generation only on retained trajectories, repeating the process at subsequent checkpoints.
- �� Final answer is determined by majority vote among committed trajectories.
- �� This process is fully parallel, requires no training, and is driven solely by text analysis, making it efficient and easy to implement.
Experiments
The evaluation involved six diverse models (DeepSeek, Qwen, Skywork, Phi-4) across four math reasoning benchmarks (AIME24/25, AMC23, MATH500). Each problem generated 32 independent trajectories, totaling 115K paths. Baselines included SC@32, Adaptive Consistency, and Slim-SC. Hyperparameters such as checkpoint positions and pruning ratios were optimized via grid search. The experiments measured accuracy, attention FLOPs, and wall-clock time, assessing the tradeoff between resource savings and correctness. Cross-model and cross-task transfer tests validated the robustness and generality of FoT, with additional ablation studies confirming the importance of hesitation signals.
Results
FoT achieves an average of 28.8% reduction in attention FLOPs and 37.6% in inference wall time across models and datasets, while maintaining SC@32 accuracy. It effectively filters out long, spiraling, no-answer trajectories characterized by high hesitation marker density, leading to resource savings without accuracy loss. On difficult problems, FoT outperforms similarity-based pruning methods by better preserving reasoning diversity. Transfer experiments show consistent performance across different architectures and tasks, including code generation, demonstrating broad applicability. Ablation results highlight hesitation density as a critical pruning signal, outperforming alternative metrics.
Applications
FoT can be integrated into any large reasoning system requiring multi-sample inference, such as automated question answering, reasoning assistants, and code synthesis. Its lightweight, inference-only design allows deployment in resource-constrained environments, reducing costs and latency. The method enables more scalable and energy-efficient AI services, facilitating real-time applications in industry and research. Future extensions could incorporate semantic or multimodal signals, broadening its scope to visual reasoning or multi-turn dialogues, further enhancing large model deployment.
Limitations & Outlook
FoT relies on the assumption that hesitation markers correlate with unproductive paths, which may vary across languages, tasks, or models. In scenarios with subtle or less explicit hesitation cues, pruning effectiveness diminishes. There is a risk of mistakenly pruning correct but hesitant trajectories, slightly impacting accuracy in ambiguous cases. Additionally, the method introduces some computational overhead for text analysis and checkpoint management, which could be optimized further. Future work should address these limitations by integrating semantic signals and adaptive thresholds to improve robustness across diverse settings.
Plain Language Accessible to non-experts
想象你在参加一个智力比赛,面对一道难题。你会尝试多种解法,有的很快就找到答案,有的却反复试错甚至陷入迷茫。有个聪明的助手会观察你说话的词,比如“等等”、“其实”、“或许”,判断你是否在犹豫或走弯路。当发现你一直在犹豫时,他会建议你放弃那些迷路的想法,集中精力在更有希望的方案上。这样一来,你既能更快找到正确答案,又不会浪费时间在无用的尝试上。FoT就像这个助手,它不用你告诉它怎么做,只是通过你说的话里的“犹豫词”判断哪些想法没用,然后帮你提前停止那些无用的路径。它让大模型变得更聪明、更快,既节省资源,又保证了结果的质量。
ELI14 Explained like you're 14
想象你在玩一个超级复杂的游戏,你要做很多决定。有时候你很快就知道下一步怎么走,但有时候你会犹豫很久,不知道该不该继续。有个聪明的朋友会观察你犹豫的程度,如果你一直在说“嗯,也许”、“等等”,他会建议你放弃那些犹豫不决的想法,专注于那些已经很有把握的路线。这样,你就能更快找到正确的答案,也不用浪费太多时间在那些迷路的想法上。FoT就像这个朋友,它不用你告诉他怎么做,只是通过你说的话里的“犹豫词”来判断哪些想法没用,然后帮你提前停止那些无用的路径。这样一来,整个游戏变得更快、更省力,还能赢得比赛。它让大模型像个聪明的玩家,知道什么时候该坚持,什么时候该放弃,既节省时间,又能赢得胜利。
Glossary
犹豫标记 (Hesitation Markers)
在文本中表现出犹豫或反复的词汇,如“等等”、“其实”、“或许”。技术上为模型生成文本中的词汇信号,用于识别低效轨迹。
论文中用来区分有效与无效推理路径的关键指标。
路径修剪 (Rollout Pruning)
在推理过程中提前停止表现出无效行为的轨迹,节省计算资源。技术上结合犹豫密度指标动态筛选轨迹。
FoT的核心机制,用于降低推理成本。
自洽(Self-Consistency, SC@k)
采样k个推理路径,通过多数投票确定答案的策略。技术上是多轨迹集成方法,用于提升推理准确率。
作为FoT的基线方法。
注意力FLOPs
衡量模型在推理中注意力机制的计算量,随序列长度平方增长。技术指标反映推理成本。
用以评估FoT在节省计算方面的效果。
Open Questions Unanswered questions from this research
- 1 如何进一步提升犹豫信号在不同任务中的鲁棒性,尤其在非数学推理或语境变化大的场景中。当前方法主要依赖文本中的词汇信号,未来需结合语义或上下文信息增强识别能力。
- 2 路径修剪可能误伤潜在正确轨迹,如何设计更智能的修剪策略以最大化准确率和效率的平衡,是未来研究方向。
Abstract
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.