Self-Adapting Language Models

Adam Zweiger, Jyothish Pari, Han Guo, Ekin Akyürek, Yoon Kim +1 more
6/12/2025
cs.LG

No official code found. Best implementation: Continual-Intelligence/SEAL (1,871 stars, MIT, last commit 2025-08-01). 1 more below.

Abstract

Large language models (LLMs) are powerful but static; they lack mechanisms to adapt their weights in response to new tasks, knowledge, or examples. We introduce Self-Adapting LLMs (SEAL), a framework that enables LLMs to self-adapt by generating their own finetuning data and update directives. Given a new input, the model produces a self-edit-a generation that may restructure the information in different ways, specify optimization hyperparameters, or invoke tools for data augmentation and gradient-based updates. Through supervised finetuning (SFT), these self-edits result in persistent weight updates, enabling lasting adaptation. To train the model to produce effective self-edits, we use a reinforcement learning loop with the downstream performance of the updated model as the reward signal. Unlike prior approaches that rely on separate adaptation modules or auxiliary networks, SEAL directly uses the model's own generation to control its adaptation process. Experiments on knowledge incorporation and few-shot generalization show that SEAL is a promising step toward language models capable of self-directed adaptation. Our website and code is available at https://jyopari.github.io/posts/seal.

View on arXivView PDF

Code Implementations(2)

MIT

Self-Adapting Language Models

1,871326Shell, PythonJun 13, 20251 years agoMIT

I implimented the method of self-adapting language Models proposed in the MIT paper withe ARXIVID : 2506.10943

00Jupyter NotebookNov 1, 202510 months ago

Similar Papers

Cite this paper

@article{zweiger2025selfadapting,
  title  = {Self-Adapting Language Models},
  author = {Adam Zweiger and Jyothish Pari and Han Guo and Ekin Akyürek and Yoon Kim and Pulkit Agrawal},
  year   = {2025},
  eprint = {2506.10943},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.10943v2}
}

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/2506.10943.svg)](https://codeofpaper.com/paper/2506.10943)

Discussion