Generative Adapter 将文档片段、示例或对话历史转换为供冻结语言模型使用的低秩适配器。
它是如何运作的
- 构建方法
- 生成器对每个上下文片段做一次前向传播,生成适配器权重。
- 准备与训练
- 生成器通过预测下一个词元来学习,基础模型保持冻结。
- 执行
- 在上下文长度为 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}
}