Saved in:
Bibliographic Details
Main Authors: Zweiger, Adam, Pari, Jyothish, Guo, Han, Akyürek, Ekin, Kim, Yoon, Agrawal, Pulkit
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.10943
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914045407264768
author Zweiger, Adam
Pari, Jyothish
Guo, Han
Akyürek, Ekin
Kim, Yoon
Agrawal, Pulkit
author_facet Zweiger, Adam
Pari, Jyothish
Guo, Han
Akyürek, Ekin
Kim, Yoon
Agrawal, Pulkit
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_10943
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Self-Adapting Language Models
Zweiger, Adam
Pari, Jyothish
Guo, Han
Akyürek, Ekin
Kim, Yoon
Agrawal, Pulkit
Machine Learning
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.
title Self-Adapting Language Models
topic Machine Learning
url https://arxiv.org/abs/2506.10943