Low-rank adaptations (LoRA) are often employed to fine-tune large language models (LLMs) for new tasks. This paper investigates LoRA composability for cross-task generalization and introduces LoraHub, a simple framework devised for the purposive assembly of LoRA modules trained on diverse given tasks, with the objective of achieving adaptable performance on unseen tasks. With just a few examples from a new task, LoraHub can fluidly combine multiple LoRA modules, eliminating the need for human expertise and assumptions. Notably, the composition requires neither additional model parameters nor gradients. Empirical results on the Big-Bench Hard benchmark suggest that LoraHub, while not surpassing the performance of in-context learning, offers a notable performance-efficiency trade-off in few-shot scenarios by employing a significantly reduced number of tokens per example during inference. Notably, LoraHub establishes a better upper bound compared to in-context learning when paired with different demonstration examples, demonstrating its potential for future development. Our vision is to establish a platform for LoRA modules, empowering users to share their trained LoRA modules. This collaborative approach facilitates the seamless application of LoRA modules to novel tasks, contributing to an adaptive ecosystem. Our code is available at https://github.com/sail-sg/lorahub, and all the pre-trained LoRA modules are released at https://huggingface.co/lorahub.
ChunkWise LoRA: Adaptive Sequence Partitioning for Memory-Efficient Low-Rank Adaptation and Accelerated LLM Inference
Bentley University USA(伯克利大学);Cornell University USA(康奈尔大学);University of California Berkeley USA(加州大学伯克利分校);George Mason University USA(乔治·马歇尔大学);Georgia Institute of Technology USA(佐治亚理工学院)
Compositional Steering of Large Language Models with Steering Tokens
NEC Laboratories Europe(NEC欧洲实验室);University of Edinburgh(爱丁堡大学);Center for Artificial Intelligence and Data Science(人工智能与数据科学中心);University of Würzburg(乌尔姆大学);CAIR, Ss. Cyril and Methodius University of Skopje(CAIR,斯·西里尔和方法ius大学)
FiLoRA: Focus-and-Ignore LoRA for Controllable Feature Reliance
University of Melbourne, Melbourne, Australia;Brain Science Institute, Korea Institute of Science;Department of Computer Science;Engineering, Korea University, Seoul, Republic of Korea;Division of Bio-Medical Science \& Technology, University of Science;Technology KIST School, Seoul, Republic of Korea
Towards Understanding Fine-Tuning Mechanisms of LLMs via Circuit Analysis
School of Computing(计算学院);Data Science, The University of Hong Kong(数据科学,香港大学);School of Data Science, The Chinese University of Hong Kong, Shenzhen(数据科学学院,香港中文大学(深圳))
From One-Shot Generation to Incremental Music Composition: Adapting a General-Purpose Instruction LLM for Persistent Symbolic Editing
Pontifícia Universidade Católica do Rio de Janeiro (PUC-Rio)(里约热内卢天主教大学);Sorbonne Université(索邦大学);LIP6(巴黎第六大学计算机科学实验室);Universidade Federal do Rio de Janeiro (UFRJ)(里约热内卢联邦大学)
Dynamic Cross-Modal Prompt Generation for Multimodal Continual Instruction Tuning
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室)