大型语言模型展现出强大的推理能力,可被有效压缩到较小模型中。然而,现有数据集和微调方法仍面临导致灾难性遗忘的挑战,尤其是对于小于8B的模型。首先,大多数数据集通常忽略训练数据知识与模型固有能力之间的关系,难以保留先验知识。其次,传统训练目标往往无法约束固有知识的保留,这可能导致先前学习的技能被遗忘。为了解决这些问题,我们提出了一个全面的解决方案,从数据和微调方法两个角度缓解灾难性遗忘。在数据方面,我们构建了一个包含5K实例的数据集,该数据集覆盖多个推理任务并融入了元认知知识,使其在蒸馏到较小模型时更具耐受性和有效性。我们标注了解决每个问题所需的元认知知识,并根据任务知识和模型的固有技能对数据进行了过滤。在训练方面,我们引入了GDPO(Group Direction Preference Optimization,群体方向偏好优化),它更适合资源受限的场景,能够高效地逼近GRPO的性能。在大型模型的引导下,并通过参考模型隐式约束优化路径,GDPO实现了从大型模型更有效的知识转移,并限制了过度的参数漂移。大量实验表明,我们的方法显著缓解了灾难性遗忘,并提高了较小模型的推理性能。
英文摘要:
Large Language Models demonstrate strong reasoning capabilities, which can be effectively compressed into smaller models. However, existing datasets and fine-tuning approaches still face challenges that lead to catastrophic forgetting, particularly for models smaller than 8B. First, most datasets typically ignore the relationship between training data knowledge and the model's inherent abilities, making it difficult to preserve prior knowledge. Second, conventional training objectives often fail to constrain inherent knowledge preservation, which can result in forgetting of previously learned skills. To address these issues, we propose a comprehensive solution that alleviates catastrophic forgetting from both the data and fine-tuning approach perspectives. On the data side, we construct a dataset of 5K instances that covers multiple reasoning tasks and incorporates metacognitive knowledge, making it more tolerant and effective for distillation into smaller models. We annotate the metacognitive knowledge required to solve each question and filter the data based on task knowledge and the model's inherent skills. On the training side, we introduce GDPO (Group Direction Preference Optimization), which is better suited for resource-limited scenarios and can efficiently approximate the performance of GRPO. Guided by the large model and by implicitly constraining the optimization path through a reference model, GDPO enables more effective knowledge transfer from the large model and constrains excessive parameter drift. Extensive experiments demonstrate that our approach significantly alleviates catastrophic forgetting and improves reasoning performance on smaller models.
Delayed Bottlenecking: Alleviating Forgetting in Pre-trained Graph Neural Networks
University of Science and Technology of China (USTC)(中国科学技术大学);Shaoguan University(韶关学院);Nanchang University(南昌大学);City University of Hong Kong(香港城市大学);Shenzhen Research Institute, City University of Hong Kong(香港城市大学深圳研究院)
Weights-Rotated Preference Optimization for Large Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Baidu Inc.(百度公司)
Google Research(谷歌研究院);Indian Institute of Technology Hyderabad(印度理工学院海得拉巴分校);Indian Institute of Science, Bangalore(印度科学学院班加罗尔分院);Indian Institute of Technology Kanpur(印度理工学院坎普尔分校);The University of Hong Kong(香港大学)
Distribution-aware Forgetting Compensation for Exemplar-Free Lifelong Person Re-identification
State Key Laboratory of Robotics, Shenyang Institute of Automation, Chinese Academy of Sciences(机器人国家重点实验室,沈阳自动化研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Key Laboratory of Manufacturing Industrial Integrated Automation, Shenyang University(制造工业集成自动化重点实验室,沈阳大学);Automation and AI College, Nanjing University of Posts and Telecommunications(自动化与人工智能学院,南京邮电大学);Department of Statistics and Actuarial Science and the Institute of Data Science, The University of Hong Kong(统计与精算系和数据科学研究所,香港大学)
Fast and Continual Knowledge Graph Embedding via Incremental LoRA
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);College of Software Engineering, Southeast University(东南大学软件学院)
Few-shot Class-incremental Fault Diagnosis by Preserving Class-Agnostic Knowledge with Dual-Granularity Representations
School of Computer and Software Engineering, Xihua University(西华大学计算机与软件工程学院);School of Computing and Artificial Intelligence, Southwest Jiaotong University(西南交通大学计算机与人工智能学院);School of Computer Science and Artificial Intelligence, Southwest Petroleum University(西南石油大学计算机科学与人工智能学院);School of Automation Engineering, University of Electronic Science and Technology of China(电子科技大学自动化工程学院);State Key Laboratory of Rail Transit Vehicle System(轨道交通车辆系统国家重点实验室)