漂移约束优化:在微调指令模型时,只有方向重要
研究论文 · 2026/09/16
指令模型的微调常能提升目标任务性能,但会引发相对于参考模型的行为漂移,可能损害已有能力。本文不再将这种漂移视为优化的不可控后果,而是在优化前指定行为漂移预算,并探究如何在该预算内提升目标任务性能。局部上,行为漂移在参考模型处诱导出一个共享几何空间,漂移预算定义了该空间内的边界。在此空间中,漂移决定了与参考模型的距离,更新方向成为剩余的自由度。因此,微调更新可通过其方向效率进行比较,自然地将微调重构为方向选择问题。这一重构做出具体预测:改变可访问的方向可以定性改变微调结果。我们在严格的仅问答设置中测试该预测,即仅用最终答案微调强指令模型,但推理时仍需生成多步推理。尽管存在这种不匹配,一个粗粒度的层选择探针逆转了仅问答微调的失败,并揭示了有效方向的存在,多个邻近配置在提升目标任务性能的同时保持了推理和通用能力。在Qwen3-8B和Qwen3-14B上,这些方向显著提升了科学推理和多语言翻译。在超过100种语言上,所得模型匹配或超越了专用翻译系统,并为后续强化学习提供了更强的初始化。结果表明,微调不仅关乎模型改变多少,更关乎改变如何被使用。
该研究将微调中的行为漂移转化为可控的方向选择问题,在严格约束下实现目标性能提升且不损害原有能力,为指令模型的高效微调提供了新视角和实用方法。
Fine-tuning instruct models often improves target performance while inducing behavioral drift from the reference model, which can degrade existing capabilities. Rather than treating this drift as an uncontrolled consequence of optimization, we specify a behavioral drift budget before optimization and ask how to boost the target-task performance within it. Locally, behavioral drift induces a shared geometry anchored at the reference model, with the drift budget defining a boundary within this space. In this space, drift determines distance from the reference, leaving update direction as the remaining degree of freedom. Fine-tuning updates can therefore be compared through their directional efficiency, naturally reformulating fine-tuning as a direction-selection problem. This reformulation makes a concrete prediction: changing the accessible directions can qualitatively alter the outcome of fine-tuning. We test this prediction in a stringent QA-only setting, where strong instruct models are fine-tuned only on final answers but must still generate multi-step reasoning at inference. Despite this mismatch, a coarse layer-selective probe reverses the failure of QA-only fine-tuning and reveals the existence of effective directions, with multiple neighboring configurations improving target performance while preserving reasoning and general capabilities. Across Qwen3-8B and Qwen3-14B, these directions substantially improve scientific reasoning and multilingual translation. Over more than 100 languages, the resulting models match or outperform dedicated translation systems and provide a stronger initialization for subsequent reinforcement learning. Our results suggest that fine-tuning is not just about how much a model changes, but how that change is spent. https://github.com/CONE-MT/DCO and https://huggingface.co/collections/LLaMAX/dco