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

在整合前解耦:测试时合成SFT和RLVR任务向量

Decouple before Integration: Test-time Synthesis of SFT and RLVR Task Vectors

Department of Systems Engineering and Engineering Management, Chinese University of Hong Kong, Hong Kong, China(系统工程与工程管理系,香港中文大学,香港,中国);Department of Computer Science, Hong Kong Baptist University, Hong Kong, China(计算机科学系,香港 Baptist 大学,香港,中国);DAMO Academy, Alibaba Group, Hangzhou, China(达摩院,阿里巴巴集团,杭州,中国);Hupan Lab, Hangzhou, China(虎派实验室,杭州,中国)

Chaohao Yuan, Chenghao Xiao, Yu Rong, Hong Cheng, Long-Kai Huang

AI总结:

本文提出DoTS框架,通过测试时任务向量运算解耦SFT和RLVR,减少干扰并提升性能,实验表明其在多个数学推理基准上表现优异。

摘要:

SFT和RLVR代表LLM预训练后两种根本但不同的范式,各自在不同维度上表现突出。SFT扩展知识广度,RLVR增强推理深度。然而整合这两种互补优势仍极具挑战。顺序训练会导致灾难性遗忘,联合优化常面临严重梯度冲突。本文通过任务向量分析揭示整合失败的三个结构性问题:30倍量级差异、45度符号干扰和模块级更新分布异质性。这些发现表明SFT和RLVR难以直接整合,但二者修改了模型部分互补组件。受此启发,我们提出Decoupled Test-time Synthesis (DoTS),一种后处理框架,允许SFT和RLVR检查点独立训练,并通过任务向量运算在推理时合成能力,不更新模型参数。为减少干扰,DOTS应用选择性稀疏化并保持范数重缩放。然后在少量未标记查询上使用贝叶斯优化搜索一致性与困惑度的帕累托前沿组合系数。实验证明,\ours在多个数学推理基准上表现匹配或优于训练基SFT-RLVR整合方法,仅需约3%的计算成本。当应用于更强的预训练检查点时,DOTS超越SOTA模型,并在域外基准上泛化无需重新训练。代码见https://github.com/chaohaoyuan/DoTS。

英文摘要:

SFT and RLVR represent two fundamental yet distinct paradigms for LLM post-training, each excelling in distinct dimensions. SFT expands knowledge breadth while RLVR enhances reasoning depth. Yet integrating these complementary strengths remains a formidable challenge. Sequential training can cause catastrophic forgetting, and joint optimization often suffers from severe gradient conflicts. We analyze SFT and RLVR through the lens of task vectors and reveal three structural properties behind these failures: a 30* magnitude disparity, 45* sign interference, and heterogeneous module-wise update distributions. These findings show SFT and RLVR are difficult to integrate directly, but they also suggest that the two paradigms modify partly complementary components of the model. Motivated by these observations, we propose Decoupled Test-time Synthesis (DoTS), a post-hoc framework allows SFT and RLVR checkpoints to be trained independently and synthesizes their capabilities only at inference time via task vector arithmetic, without updating model parameters. To reduce interference, DOTS applies selective sparsification with norm-preserving rescaling. It then uses Bayesian optimization on a small set of unlabeled queries to search for combination coefficients on the Pareto frontier of consistency and perplexity. Empirically, \ours matches or exceeds the performance of training-based SFT--RLVR integration methods across multiple mathematical reasoning benchmarks, incurring only $\sim$3\% of the computational cost. When applied to stronger post-trained checkpoints, DOTS surpasses SOTA models and generalizes to out-of-domain benchmarks without re-tuning. Code is available at https://github.com/chaohaoyuan/DoTS.

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

↑