RE-Adapt:大型语言模型的反向工程适配
RE-Adapt: Reverse Engineered Adaptation of Large Language Models
AI总结:
RE-Adapt通过反向工程适配器,在不损害指令调整的前提下微调LLM新领域,其低秩变体LoRE-Adapt在多种模型和数据集上优于其他方法,且兼容RAG。
摘要:
我们引入了RE-Adapt,一种在新领域上微调大型语言模型且不损害任何预先存在的指令调整的方法。我们反向工程了一个适配器,该适配器隔离了指令调整模型在其对应的预训练基础模型之外所学到的内容。重要的是,这不需要额外的数据或训练。然后,我们可以在新领域上微调基础模型,并使用反向工程适配器重新适应指令跟随。RE-Adapt及其低秩变体LoRE-Adapt在多种流行的LLM和数据集上均优于其他微调方法,即使模型与检索增强生成结合使用也是如此。
英文摘要:
We introduce RE-Adapt, an approach to fine-tuning large language models on new domains without degrading any pre-existing instruction-tuning. We reverse engineer an adapter which isolates what an instruction-tuned model has learned beyond its corresponding pretrained base model. Importantly, this requires no additional data or training. We can then fine-tune the base model on a new domain and readapt it to instruction following with the reverse engineered adapter. RE-Adapt and our low-rank variant LoRE-Adapt both outperform other methods of fine-tuning, across multiple popular LLMs and datasets, even when the models are used in conjunction with retrieval-augmented generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。