Control LLM:用于 LLM 中智能保留的受控演化
Control LLM: Controlled Evolution for Intelligence Retention in LLM
AI总结:
提出Control LLM,通过并行预训练和扩展transformer块并插值对齐隐藏状态,有效缓解CPT和CSFT中的灾难性遗忘,在保留原始能力的同时显著提升数学、编码和多语言性能,已在LinkedIn产品中部署。
摘要:
大型语言模型(LLMs)需要大量计算资源,因此在不从头重新训练的情况下增强其能力至关重要。该领域的一个关键挑战是灾难性遗忘(CF),它阻碍了连续预训练(CPT)和连续监督微调(CSFT)期间的性能。我们提出了Control LLM,这是一种新颖的方法,利用并行的预训练和扩展的transformer块,通过插值策略对齐它们的隐藏状态。该方法有效地保留了现有任务的性能,同时无缝集成了新知识。大量实验证明了Control LLM在CPT和CSFT中的有效性。在Llama3.1-8B-Instruct上,它在数学推理(Math-Hard上+14.4%)和编码性能(MBPP-PLUS上+10%)方面取得了显著提升。在Llama3.1-8B上,它增强了多语言能力(C-Eval上+10.6%,CMMLU上+6.8%,CMMLU-0shot-CoT上+30.2%)。它超越了现有方法,并在从相同基础模型微调的开源模型中实现了SOTA,且使用的数据和计算量大幅减少。关键的是,这些增益是在保留强大原始能力的同时实现的,与开源数学和编码模型中超过35%的退化相比,退化极小(MMLU上<4.3%)。该方法已成功部署在LinkedIn的GenAI驱动的求职者和广告单元产品中。为了支持进一步研究,我们向社区发布了训练和评估代码(https://github.com/linkedin/ControlLLM)以及在公共数据集上训练的模型(https://huggingface.co/ControlLLM)。
英文摘要:
Large Language Models (LLMs) demand significant computational resources, making it essential to enhance their capabilities without retraining from scratch. A key challenge in this domain is \textit{catastrophic forgetting} (CF), which hampers performance during Continuous Pre-training (CPT) and Continuous Supervised Fine-Tuning (CSFT). We propose \textbf{Control LLM}, a novel approach that leverages parallel pre-trained and expanded transformer blocks, aligning their hidden-states through interpolation strategies This method effectively preserves performance on existing tasks while seamlessly integrating new knowledge. Extensive experiments demonstrate the effectiveness of Control LLM in both CPT and CSFT. On Llama3.1-8B-Instruct, it achieves significant improvements in mathematical reasoning ($+14.4\%$ on Math-Hard) and coding performance ($+10\%$ on MBPP-PLUS). On Llama3.1-8B, it enhances multilingual capabilities ($+10.6\%$ on C-Eval, $+6.8\%$ on CMMLU, and $+30.2\%$ on CMMLU-0shot-CoT). It surpasses existing methods and achieves SOTA among open-source models tuned from the same base model, using substantially less data and compute. Crucially, these gains are realized while preserving strong original capabilities, with minimal degradation ($<4.3\% \text{on MMLU}$) compared to $>35\%$ in open-source Math and Coding models. This approach has been successfully deployed in LinkedIn's GenAI-powered job seeker and Ads unit products. To support further research, we release the training and evaluation code (https://github.com/linkedin/ControlLLM) along with models trained on public datasets (https://huggingface.co/ControlLLM) to the community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。