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}
}