Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

$\phi$-Decoding: Adaptive Foresight Sampling for Balanced Inference-Time Exploration and Exploitation

About

Inference-time optimization scales computation to derive deliberate reasoning steps for effective performance. While previous search-based strategies address the short-sightedness of auto-regressive generation, the vast search space leads to excessive exploration and insufficient exploitation. To strike an efficient balance to derive the optimal step, we frame the decoding strategy as foresight sampling, leveraging simulated future steps to obtain globally optimal step estimation. Built on it, we propose a novel decoding strategy, named $\phi$-Decoding. To provide a precise and expressive estimation of step value, $\phi$-Decoding approximates two distributions via foresight and clustering. Sampling from the joint distribution, the optimal steps can be selected for exploitation. To support adaptive computation allocation, we propose in-width and in-depth pruning strategies, featuring a light-weight solution to achieve inference efficiency. Extensive experiments across seven benchmarks show $\phi$-Decoding outperforms strong baselines in both performance and efficiency. Additional analysis demonstrates its generalization across various LLMs and scalability across a wide range of computing budgets. The code will be released at https://github.com/xufangzhi/phi-Decoding, and the open-source PyPI package is coming soon.

Fangzhi Xu, Hang Yan, Chang Ma, Haiteng Zhao, Jun Liu, Qika Lin, Zhiyong Wu• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningSVAMP
Accuracy84.5
368
Mathematical ReasoningGSM8K
Accuracy (GSM8K)86.58
358
Mathematical ReasoningAIME 2025
Accuracy24.33
227
Mathematical ReasoningGSM-Hard
Solve Rate39.88
162
Mathematical ReasoningAIME 2024 (test)--
103
Logical reasoningReClor (test)
Accuracy59.4
87
ReasoningARC
Accuracy85.41
83
ReasoningARC Challenge
Accuracy79.69
70
Mathematical ReasoningAIME 2025 (test)
Pass@1 Rate46.67
47
Mathematical ReasoningMATH500
Accuracy38.2
41
Showing 10 of 26 rows

Other info

Follow for update