ThinkPilot:通过自动化思考前缀优化引导推理模型
ThinkPilot: Steering Reasoning Models via Automated Think-prefixes Optimization
AI总结:
ThinkPilot提出无需训练的进化式思考前缀优化框架,自动生成指令引导大型推理模型,提升推理效率与安全性,并可与训练方法协同。
摘要:
大型推理模型(LRMs)功能强大,但仍存在推理效率低下和偏离目标的问题。目前,无需训练的方法仅限于僵化的启发式规则或描述性、非可操作的分析。在本文中,我们介绍了ThinkPilot,一个无需训练的框架,可自动优化LRMs的推理。它利用进化过程生成思考前缀,这些指令在推理行为分类法的驱动下进化,以引导模型实现更优性能。大量实验证明了ThinkPilot的广泛有效性:它显著改善了高效推理的准确率-长度权衡,大幅提升了安全性(例如,将DeepSeek-R1-Distill-Qwen-32B的StrongREJECT分数从27.0%降至0.7%),并增强了指令遵循能力。它还与现有的基于训练的方法协同工作。我们的分析表明,思考前缀能可靠地控制LRMs的推理行为,且不同任务对特定行为分布有强烈偏好。通过自动识别和激发这些行为,ThinkPilot提供了一个可泛化的框架,使LRMs的推理与任务需求对齐。数据和代码可在https://github.com/teqkilla/ThinkPilot获取。
英文摘要:
Large Reasoning Models (LRMs) are powerful, but they still suffer from inefficient and off-target reasoning. Currently, training-free methods are limited to either rigid heuristics or descriptive, non-actionable analyses. In this paper, we introduce ThinkPilot, a training-free framework that automatically optimizes LRMs reasoning. It uses an evolutionary process to generate think-prefixes, which are instructions that evolve driven by a taxonomy of reasoning behaviors to guide models toward superior performance. Extensive experiments demonstrate ThinkPilot's broad effectiveness: it significantly improves the accuracy-length trade-off for efficient reasoning, drastically improves safety (for example, cutting the StrongREJECT score of DeepSeek-R1-Distill-Qwen-32B from 27.0% to 0.7), and enhances instruction following. It also synergizes with existing training-based methods. Our analysis reveals that think-prefixes can reliably control LRMs' reasoning behaviors, and that different tasks have strong preferences for specific behavioral distributions. By automatically identifying and eliciting these behaviors, ThinkPilot provides a generalizable framework for aligning LRMs reasoning with task demands. Data and code are available at https://github.com/teqkilla/ThinkPilot
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。