arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.09343cs.CL
收藏

ELICIT: 通过外部上下文内能力增强大语言模型

ELICIT: LLM Augmentation via External In-Context Capability

Zhejiang University(浙江大学);Westlake University(西湖大学);Institute of Advanced Technology, Westlake Institute for Advanced Study(西湖高等研究院先进技术研究院);Research Center for Industries of the Future, Westlake University(西湖大学未来产业研究中心)

Futing Wang, Jianhao Yan, Yue Zhang, Tao Lin

AI总结:

本文提出ELICIT框架,通过外部存储和复用任务向量,在不增加训练或推理开销的情况下激发大语言模型的多维能力,显著提升其性能、适应性和可扩展性。

摘要:

增强大语言模型的适应能力是研究与应用中的关键追求。传统的微调方法需要大量数据和计算资源,尤其是在增强特定能力时,而上下文内学习则受限于需要合适的示例和高效的令牌使用。受任务向量表达上下文内学习能力以及模块化概念的启发,我们提出了ELICIT框架,该框架由两个模块组成,旨在有效存储和复用任务向量,以在不增加训练或推理令牌的情况下激发模型的各种能力。我们的综合实验和分析表明,我们的流程在不同输入格式、任务和模型架构之间具有高度的可迁移性。ELICIT作为即插即用的性能提升器,能够实现模型能力的自适应激发。通过外部存储和复用代表上下文内学习能力的向量,ELICIT不仅展示了操作模块化能力的潜力,还显著提升了大语言模型的性能、多功能性、适应性和可扩展性。我们的代码将在https://github.com/LINs-lab/ELICIT公开提供。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑