Large language models (LMs) are typically adapted to improve performance on new contexts (\eg text prompts that define new tasks or domains) through fine-tuning or prompting. However, there is an accuracy compute tradeoff -- fine-tuning incurs significant training cost and prompting increases inference overhead. We introduce $GenerativeAdapter$, an effective and efficient adaptation method that directly maps new contexts to low-rank LM adapters, thereby significantly reducing inference overhead with no need for finetuning. The adapter generator is trained via self-supervised learning, and can be used to adapt a single frozen LM for any new task simply by mapping the associated task or domain context to a new adapter. We apply $GenerativeAdapter$ to two pretrained LMs (Mistral-7B-Instruct and Llama2-7B-Chat) and evaluate the adapted models in three adaption scenarios: knowledge acquisition from documents, learning from demonstrations, and personalization for users. In StreamingQA, our approach is effective in injecting knowledge into the LM's parameters, achieving a 63.5% improvement in F1 score over the model with supervised fine-tuning (from $19.5$ to $31.5$) for contexts as long as 32K tokens. In the MetaICL in-context learning evaluation, our method achieves an average accuracy of $44.9$ across 26 tasks, outperforming the base model. On MSC, our method proves to be highly competitive in memorizing user information from conversations with a 4x reduction in computation and memory costs compared to prompting with full conversation history. Together, these results suggest that $GenerativeAdapter$ should allow for general adaption to a wide range of different contexts.
SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Pass
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);Technion, NVIDIA(技术学院与NVIDIA);University of Oxford(牛津大学);School of Electronics Engineering(电子工程学院);Computer Science, Peking University(计算机科学,北京大学)
Resource-Efficient Personal Large Language Models Fine-Tuning with Collaborative Edge Computing
School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);Department of Information Engineering, The Chinese University of Hong Kong(香港中文大学信息工程系);The Hong Kong University of Science and Technology (Guangzhou)(香港理工大学(广州));Shenzhen Institute of Artificial Intelligence and Robotics for Society(社会人工智能与机器人研究所(深圳))
LadderEdit: Edit-Level Residual Compression for Memory-Efficient Lifelong Editing of LLMs
Yale University(耶鲁大学);Washington University in St. Louis(圣路易斯华盛顿大学);Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院);Arizona State University(亚利桑那州立大学)
LoCA: Forward-Only LLM Tuning after One-Shot Calibration with Local Credit Assignment
University of Oklahoma(俄克拉荷马大学);Imperial College London(伦敦帝国学院);University of Michigan(密歇根大学);Tencent(腾讯);University of Edinburgh(爱丁堡大学);University of Southern California(南加州大学);Beijing Normal University(北京师范大学);Beijing Normal-Hong Kong Baptist University(北京师范大学-香港浸会大学联合国际学院)
Histogram-based Parameter-efficient Tuning for Passive and Active Sonar Classification
1 Department of Electrical;Computer Engineering, Texas A\&M University, College Station, TX, USA;2 Massachusetts Institute of Technology Lincoln Laboratory, Lexington, MA, USA
Pin-Tuning: Parameter-Efficient In-Context Tuning for Few-Shot Molecular Property Prediction
New Laboratory of Pattern Recognition (NLPR)(新模式识别实验室(NLPR));State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS)(多模态人工智能系统国家重点实验室(MAIS));Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所(CASIA));University of Science and Technology of China(中国科学技术大学);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)