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

InsCL:一种面向大型语言模型指令微调的高数据效率持续学习范式

InsCL: A Data-efficient Continual Learning Paradigm for Fine-tuning Large Language Models with Instructions

OPPO AI Center(OPPO人工智能中心);Tsinghua University(清华大学)

Yifan Wang, Yafei Liu, Chufan Shi, Haoling Li, Chen Chen, Haonan Lu, Yujiu Yang

AI总结:

本文提出InsCL范式,利用指令的Wasserstein距离和InsInfo度量动态重放高质量数据,在16个任务上显著提升LLM持续学习性能。

摘要:

指令微调能有效地优化大型语言模型(LLMs)以适应下游任务。由于实际应用中环境的变化,LLMs需要在不发生灾难性遗忘的情况下进行持续的任务特定适应。考虑到高昂的计算成本,基于重放的持续学习(CL)方法是LLMs解决遗忘问题最简单且最广泛使用的方法。然而,传统的基于重放的方法并未充分利用指令来定制重放策略。在这项工作中,我们提出了一种名为基于指令的持续学习(InsCL)的新范式。InsCL基于任务相似性动态重放先前数据,该相似性通过指令的Wasserstein距离计算。此外,我们进一步引入了一种指令信息度量(InsInfo)来量化指令的复杂性和多样性。根据InsInfo,InsCL引导重放过程更倾向于高质量数据。我们在16个任务上进行了广泛实验,采用不同的训练顺序,观察到InsCL的一致性能提升。当所有任务训练完成后,与随机重放相比,InsCL实现了3.0相对增益的性能提升,与无重放相比,实现了27.96相对增益。

英文摘要:

Instruction tuning effectively optimizes Large Language Models (LLMs) for downstream tasks. Due to the changing environment in real-life applications, LLMs necessitate continual task-specific adaptation without catastrophic forgetting. Considering the heavy computational cost, replay-based Continual Learning (CL) methods are the simplest and most widely used for LLMs to address the forgetting issue. However, traditional replay-based methods do not fully utilize instructions to customize the replay strategy. In this work, we propose a novel paradigm called Instruction-based Continual Learning (InsCL). InsCL dynamically replays previous data based on task similarity, calculated by Wasserstein Distance with instructions. Moreover, we further introduce an Instruction Information Metric (InsInfo) to quantify the complexity and diversity of instructions. According to InsInfo, InsCL guides the replay process more inclined to high-quality data. We conduct extensive experiments over 16 tasks with different training orders, observing consistent performance improvements of InsCL. When all tasks have been trained, InsCL achieves performance gains of 3.0 Relative Gain compared with Random Replay, and 27.96 Relative Gain compared with No Replay.

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

↑