English

RE-Adapt: Reverse Engineered Adaptation of Large Language Models

Computation and Language 2024-05-27 v1 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2405.15007,
  title  = {RE-Adapt: Reverse Engineered Adaptation of Large Language Models},
  author = {William Fleshman and Benjamin Van Durme},
  journal= {arXiv preprint arXiv:2405.15007},
  year   = {2024}
}
R2 v1 2026-06-28T16:38:00.653Z