无需训练即可提升大模型适应能力,通过外部复用任务向量实现
ELICIT: LLM Augmentation via External In-Context Capability
- 用两个模块存储并重用任务向量,实现能力外置复用
- 跨不同输入格式、任务和模型架构均表现良好,性能显著提升
- 适合希望零训练提升模型灵活性的研究者与开发者
提升大语言模型的自适应能力是研究与应用中的关键挑战。传统微调需大量数据与计算资源,尤其在增强特定能力时;而上下文学习受限于合适示例的提供和高效令牌使用。受任务向量表达上下文学习能力及模块化思想启发,我们提出 alg,一个由两个模块组成的框架,可有效存储并重用任务向量,从而在不增加训练或推理令牌的情况下激发模型的多样化能力。全面实验与分析表明,该方法在不同输入格式、任务及模型架构间具有高度可迁移性。ELICIT 可作为即插即用的性能增强器,实现模型能力的自适应激发。通过外部存储与复用代表上下文学习能力的向量, alg 不仅展现出模块化能力运作的潜力,更显著提升了大模型的性能、通用性、适应性与可扩展性。代码将公开于 https://github.com/LINs-lab/ELICIT。
原文摘要 · Abstract (English)
Enhancing the adaptive capabilities of large language models is a critical pursuit in both research and application. Traditional fine-tuning methods require substantial data and computational resources, especially for enhancing specific capabilities, while in-context learning is limited by the need for appropriate demonstrations and efficient token usage. Inspired by the expression of in-context learned capabilities through task vectors and the concept of modularization, we propose \alg, a framework consisting of two modules designed to effectively store and reuse task vectors to elicit the diverse capabilities of models without additional training or inference tokens. Our comprehensive experiments and analysis demonstrate that our pipeline is highly transferable across different input formats, tasks, and model architectures. ELICIT serves as a plug-and-play performance booster to enable adaptive elicitation of model capabilities. By externally storing and reusing vectors that represent in-context learned capabilities, \alg not only demonstrates the potential to operate modular capabilities but also significantly enhances the performance, versatility, adaptability, and scalability of large language models. Our code will be publicly available at https://github.com/LINs-lab/ELICIT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。