arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05498cs.CL
收藏

基于原型的大语言模型动态引导

Prototype-Based Dynamic Steering for Large Language Models

Drexel University(德雷塞尔大学)

Ceyhun Efe Kayan, Li Zhang

AI总结:

提出基于原型的动态引导(PDS),通过聚类激活差异生成实例特定引导向量,无需微调或提示工程即可增强LLM推理,在多个基准上持续提升准确性。

摘要:

尽管大语言模型(LLM)具有广泛的性能,但仍依赖于显式的推理指令或静态的、一刀切的引导方法,这为自适应、无需指令的推理增强留下了空白。我们提出了基于原型的动态引导(PDS),一种测试时方法,在不添加或修改指令的情况下增强大语言模型的推理能力。我们通过聚类思维链(CoT)与中性提示之间激活差异来引入“推理原型”。在推理时,输入的隐藏状态被投影到这些原型上,形成实例特定的引导向量。在GSM8K、AQuA-RAT和BIG-Bench任务上的评估表明,PDS在无需微调或提示工程的情况下持续提高准确性。值得注意的是,即使显式抑制CoT以提高成本效率,增益仍然存在,这表明该干预增强了潜在推理过程,而非引发表面的行为转变。这些结果将动态的、原型引导的引导定位为增强LLM推理的训练时方法的轻量级替代方案。

英文摘要:

Despite impressive breadth, LLMs still rely on explicit reasoning instructions or static, one-fits-all steering methods, leaving a gap for adaptive, instruction-free reasoning amplification. We present Prototype-Based Dynamic Steering (PDS), a test-time method that amplifies large language model (LLM) reasoning without adding or altering instructions. We introduce "reasoning prototypes" by clustering activation differences between Chain-of-Thought (CoT) and neutral prompts. At inference, an input's hidden state is projected onto these prototypes to form an instance-specific steering vector. Evaluated on GSM8K, AQuA-RAT, and BIG-Bench tasks, PDS consistently improves accuracy without fine-tuning or prompt engineering. Notably, the gains persist even when CoT is explicitly suppressed to improve cost-efficiency, indicating that the intervention strengthens latent reasoning processes rather than inducing a superficial behavioral shift. These results position dynamic, prototype-guided steering as a lightweight alternative to training-time approaches for enhancing LLM reasoning.

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

↑