模型Whisper:引导向量解锁大型语言模型在测试时的潜力
Model Whisper: Steering Vectors Unlock Large Language Models' Potential in Test-time
AI总结:
Model Whisper通过轻量级引导向量在测试时提升大型语言模型的推理能力,实现高效且稳定的性能提升。
摘要:
解锁大型语言模型(LLMs)在特定任务或新分布中的强大推理潜力是一个关键挑战。现有的测试时适应方法通常需要调整模型参数,这不仅计算成本高,而且有损模型已有的能力。为此,我们引入了一个轻量级组件,即测试时引导向量(TTSV),它在输入前被预置,同时保持LLM参数完全冻结。通过在测试数据上优化TTSV以最小化模型输出熵,我们将模型引导到更高的置信度内部状态,激活与当前任务最相关的固有能力。TTSV既轻量又高效,使其成为真正的即插即用增强。广泛的实验验证了我们的方法在基础模型和推理增强模型上的有效性。例如,在MATH500任务中,TTSV在Qwen2.5-Math-7B模型上实现了45.88%的相对性能提升,在Qwen3-4B模型上实现了16.22%的相对提升。此外,我们的方法表现出稳健的泛化能力,其引导向量在多样化的任务中表现出高度的迁移性。
英文摘要:
It is a critical challenge to efficiently unlock the powerful reasoning potential of Large Language Models (LLMs) for specific tasks or new distributions. Existing test-time adaptation methods often require tuning model parameters, which is not only computationally expensive but also risks degrading the model's pre-existing abilities.To address this, we introduce a lightweight component, Test-Time Steering Vectors (TTSV), which is prepended to the input while keeping the LLM's parameters entirely frozen. By optimizing the TTSV on test data to minimize the model's output entropy, we steer the model towards an internal state of higher confidence, activating its inherent abilities most relevant to the current task. TTSV is both lightweight and highly efficient to optimize, making it a true plug-and-play enhancement. Extensive experiments validate our approach's effectiveness on both base models and reasoning-enhanced models. For instance, on the MATH500 task, TTSV achieves a 45.88% relative performance gain on the Qwen2.5-Math-7B model and a 16.22% relative gain on the Qwen3-4B model. Furthermore, our approach exhibits robust generalization, with its steering vectors proving highly transferable across diverse tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。