适应性测试时间计算分配与演变上下文演示
Adaptive Test-Time Compute Allocation with Evolving In-Context Demonstrations
AI总结:
本文提出一种适应性测试时间计算分配框架,通过动态调整计算分配和生成策略,结合演变上下文演示提升模型性能,实验表明在数学、编程和推理基准上表现优于现有方法且计算消耗更低。
摘要:
尽管增加测试时间计算能显著提升模型性能,现有方法要么依赖静态计算分配,要么从固定生成分布中采样。本文提出一种测试时间计算分配框架,联合调整计算分配和生成策略。我们的方法首先通过预热阶段识别简单查询,并从测试集自身组装初始问题-回答对。随后的适应阶段进一步集中在未解决的查询上,通过演变上下文演示重塑生成分布——将每个生成过程条件于语义相关查询的成功回答,而非从固定分布中重新采样。在数学、编程和推理基准上的实验表明,我们的方法在性能上一致优于现有基线,同时消耗的推理时间计算显著减少。
英文摘要:
While scaling test-time compute can substantially improve model performance, existing approaches either rely on static compute allocation or sample from fixed generation distributions. In this work, we introduce a test-time compute allocation framework that jointly adapts where computation is spent and how generation is performed. Our method begins with a warm-up phase that identifies easy queries and assembles an initial pool of question-response pairs from the test set itself. An adaptive phase then concentrates further computation on unresolved queries while reshaping their generation distributions through evolving in-context demonstrations -- conditioning each generation on successful responses from semantically related queries rather than resampling from a fixed distribution. Experiments across math, coding, and reasoning benchmarks demonstrate that our approach consistently outperforms existing baselines while consuming substantially less inference-time compute.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。