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

不要丢弃你的预训练模型

Don't Throw Away Your Pretrained Model

University of Washington(华盛顿大学);Tencent AI Seattle Lab(腾讯AI西雅图实验室)

Shangbin Feng, Wenhao Yu, Yike Wang, Hongming Zhang, Yulia Tsvetkov, Dong Yu

AI总结:

提出Switch Generation方法,通过训练switcher LM在推理时动态调度预训练与对齐模型轮流生成文本片段,有效结合两者优势,在多任务上显著超越单模型及基线方法。

摘要:

对齐训练有权衡:它帮助语言模型(LM)在推理和指令遵循方面获得提升,但可能会在创造力和校准等技能上有所损失,而在这些方面,未对齐的基础模型表现更好。我们旨在通过模型协作实现两全其美,即让训练流程中的不同模型相互协作与互补。由于 LM 的响应呈现出交替出现不同技能的特点,而这些技能更偏好不同的模型,因此我们提出了 Switch Generation,即预训练和对齐的模型版本在响应序列中轮流“发言”。具体而言,我们通过学习在不同查询和上下文中选择不同模型来生成下一个片段的结果,以此训练一个 switcher LM。在推理阶段,switcher LM 指导不同的模型检查点动态生成最需要其优势的下一个片段。基于 8 个模型协作基线和 18 个数据集的大量实验表明:1)模型协作在 18 个任务中的 16 个任务上始终优于单个模型;2)Switch Generation 进一步以平均 12.9% 的优势超越基线。进一步分析表明,Switch Generation 能够发现组合技能来解决单个模型难以应对的问题,并能泛化到未见过的模型和任务,从而重用并重新利用昂贵模型训练流程中原本会被丢弃的副产品。

英文摘要:

Alignment training has tradeoffs: it helps language models (LMs) gain in reasoning and instruction following but might lose out on skills such as creativity and calibration, where unaligned base models are better at. We aim to make the best of both worlds through model collaboration, where different models in the training pipeline collaborate and complement each other. Since LM responses feature interleaving skills that favor different models, we propose Switch Generation, where pretrained and aligned model versions take turns to ``speak'' in a response sequence. Specifically, we train a switcher LM by learning from outcomes of choosing different models to generate the next segment across diverse queries and contexts. At inference time, the switcher LM guides different model checkpoints to dynamically generate the next segment where their strengths are most needed. Extensive experiments with 8 model collaboration baselines and 18 datasets show that 1) model collaboration consistently outperforms individual models on 16 out of 18 tasks, and 2) Switch Generation further outperforms baselines by 12.9% on average. Further analysis reveals that Switch Generation discovers compositional skills to solve problems where individual models struggle and generalizes to unseen models and tasks, reusing and repurposing by-products in expensive model training pipelines that are otherwise discarded.

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

↑