RE-Adapt: Reverse Engineered Adaptation of Large Language Models

William Fleshman, Benjamin Van Durme
5/23/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fleshman2024readapt,
  title  = {RE-Adapt: Reverse Engineered Adaptation of Large Language Models},
  author = {William Fleshman and Benjamin Van Durme},
  year   = {2024},
  eprint = {2405.15007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15007v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15007.svg)](https://codeofpaper.com/paper/2405.15007)

Discussion