Generative Adapter turns document passages, demonstrations or conversation history into low-rank adapters for a frozen language model.
How it works
- Construction
- The generator reads each context chunk in one forward pass and produces adapter weights.
- Preparation and training
- The generator learns through next-token prediction while the base model stays frozen.
- Execution
- On StreamingQA with 512 tokens of context, Mistral-7B scored 51.5 F1 with the adapter and 47.2 with in-context prompting.
Cite this work
@inproceedings{generative-adapter,
title = {{Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass}},
author = {Chen, Tong and Fang, Hao and Xia, Patrick and Liu, Xiaodong and Van Durme, Benjamin and Zettlemoyer, Luke and Gao, Jianfeng and Cheng, Hao},
year = {2025},
booktitle = {The Thirteenth International Conference on Learning Representations},
url = {https://proceedings.iclr.cc/paper_files/paper/2025/hash/447708674d7f30492ca5338b36b07d0c-Abstract-Conference.html}
}