arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19519cs.AIcs.LG
收藏

Ada-RS: 选择性思维的自适应拒绝采样

Ada-RS: Adaptive Rejection Sampling for Selective Thinking

PayPal AI

Yirou Ge, Yixi Li, Alec Chiu, Shivani Shekhar, Zijie Pan, Avinash Thangali, Yun-Shiuan Chuang, Chaitanya Kulkarni, Uma Kona, Linsey Pang, Prakhar Mehrotra

AI总结:

Ada-RS通过自适应拒绝采样提升LLMs在延迟敏感场景下的推理效率与准确性。

摘要:

大语言模型(LLMs)越来越多地被部署在成本和延迟敏感的环境中。虽然思维链能提高推理能力,但会对简单请求浪费token。我们研究了工具使用LLMs的选择性思维,并引入了自适应拒绝采样(Ada-RS),一种算法无关的样本过滤框架,用于学习选择性和高效的推理。对于每个给定的上下文,Ada-RS用自适应长度惩罚奖励对多个采样完成进行评分,然后应用随机拒绝采样,只保留高奖励候选(或偏好对)以供下游优化。我们展示了Ada-RS如何嵌入到偏好对(如DPO)或分组策略优化策略(如DAPO)中。使用带有LoRA的Qwen3-8B在合成工具调用导向的电商基准上,Ada-RS在标准算法的基础上提高了准确性-效率前沿,通过将平均输出token减少高达80%、将思考率减少高达95%的同时保持或提高工具调用准确性。这些结果表明,训练信号选择是实现延迟敏感部署中高效推理的强大杠杆。

英文摘要:

Large language models (LLMs) are increasingly being deployed in cost and latency-sensitive settings. While chain-of-thought improves reasoning, it can waste tokens on simple requests. We study selective thinking for tool-using LLMs and introduce Adaptive Rejection Sampling (Ada-RS), an algorithm-agnostic sample filtering framework for learning selective and efficient reasoning. For each given context, Ada-RS scores multiple sampled completions with an adaptive length-penalized reward then applies stochastic rejection sampling to retain only high-reward candidates (or preference pairs) for downstream optimization. We demonstrate how Ada-RS plugs into both preference pair (e.g. DPO) or grouped policy optimization strategies (e.g. DAPO). Using Qwen3-8B with LoRA on a synthetic tool call-oriented e-commerce benchmark, Ada-RS improves the accuracy-efficiency frontier over standard algorithms by reducing average output tokens by up to 80% and reducing thinking rate by up to 95% while maintaining or improving tool call accuracy. These results highlight that training-signal selection is a powerful lever for efficient reasoning in latency-sensitive deployments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑