Generative Adapter は、文書の一節、入出力例、会話履歴を、重みを固定した言語モデル用の低ランクアダプタに変換する。
仕組み
- 構築方法
- 生成器は文脈を区切って読み取り、各区間について 1 回の順伝播でアダプタの重みを生成する。
- 準備と学習
- ベースモデルの重みを固定し、次のトークンを予測するよう生成器を学習する。
- 実行
- 文脈長 512 トークンの StreamingQA で、Mistral-7B の F1 はアダプタ使用時が 51.5、文脈をプロンプトに含めた場合が 47.2 だった。
この研究を引用する
@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}
}