中性残差:重新审视用于模型扩展的适配器(Adapters)
Neutral Residues: Revisiting Adapters for Model Extension
AI总结:
针对预训练大语言模型领域扩展存在的新旧领域性能权衡问题,提出从数据、架构、训练流程联合改进适配器的中性残差方法,使残差块在原域输出近零值,在跨语言适配任务上显著优于微调、LoRA等方法。
摘要:
我们解决将预训练大语言模型扩展到训练期间未见过的新领域的问题。标准技术,如微调或低秩适配(LoRA)在领域适配方面取得了成功,但并未正式增加模型容量。这通常会导致在新领域表现良好与原始领域性能下降之间的权衡。在此,我们从数据、架构和训练流程三个角度重新审视并改进适配器以扩展大语言模型,将这三者结合考虑具有优势。由此产生的名为中性残差(neutral residues)的方法对适配器进行修改,使每个新的残差块在原始领域上输出接近零的值。当将原本在英语上训练的最先进模型适配到一种新语言时,该方案取得了优异的结果。在学习新语言与不遗忘英语的权衡方面,中性残差显著优于微调、LoRA或普通适配器等竞争方法。
英文摘要:
We address the problem of extending a pretrained large language model to a new domain that was not seen during training. Standard techniques, such as finetuning or low-rank adaptation (LoRA) are successful at domain adaptation, but do not formally add capacity to the model. This often leads to a trade-off, between performing well on the new domain vs. degrading performance on the original domain. Here, we revisit and improve adapters to extend LLMs from three angles: data, architecture and training procedure, which are advantageously considered jointly. The resulting method, called neutral residues, modifies adapters in a way that leads each new residual block to output near-zeros on the original domain. This solution leads to strong results when adapting a state-of-the-art model originally trained on English to a new language. Neutral residues significantly outperform competing approaches such as finetuning, LoRA or vanilla adapters in terms of the trade-off between learning the new language and not forgetting English.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。