CEM: A Data-Efficient Method for Large Language Models to Continue Evolving From Mistakes

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhao, Haokun, Han, Haixia, Shi, Jie, Du, Chengyu, Liang, Jiaqing, Xiao, Yanghua
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929631395840000
author Zhao, Haokun
Han, Haixia
Shi, Jie
Du, Chengyu
Liang, Jiaqing
Xiao, Yanghua
author_facet Zhao, Haokun
Han, Haixia
Shi, Jie
Du, Chengyu
Liang, Jiaqing
Xiao, Yanghua
contents As world knowledge advances and new task schemas emerge, Continual Learning (CL) becomes essential for keeping Large Language Models (LLMs) current and addressing their shortcomings. This process typically involves continual instruction tuning (CIT) and continual pre-training (CPT) to enable these models to adapt to novel tasks and acquire critical knowledge. However, collecting sufficient CPT data and efficiently bridging knowledge gaps remain significant challenges. Inspired by the 'summarizing mistakes' strategy, we propose the Continue Evolving from Mistakes (CEM) method, a data-efficient approach aiming to collect CPT data and continually improve LLMs' performance through iterative evaluation and supplementation with mistake-relevant knowledge. To further optimize data usage and mitigate forgetting, we introduce a novel training paradigm that combines CIT and CPT. Experiments show that CEM substantially enhances multiple models' performance on both in-domain and out-of-domain QA tasks, achieving gains of up to 29.63%. Code and datasets are available on https://anonymous.4open.science/r/cem-BB25.
format Preprint
id arxiv_https___arxiv_org_abs_2404_08707
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CEM: A Data-Efficient Method for Large Language Models to Continue Evolving From Mistakes
Zhao, Haokun
Han, Haixia
Shi, Jie
Du, Chengyu
Liang, Jiaqing
Xiao, Yanghua
Machine Learning
Artificial Intelligence
Computation and Language
As world knowledge advances and new task schemas emerge, Continual Learning (CL) becomes essential for keeping Large Language Models (LLMs) current and addressing their shortcomings. This process typically involves continual instruction tuning (CIT) and continual pre-training (CPT) to enable these models to adapt to novel tasks and acquire critical knowledge. However, collecting sufficient CPT data and efficiently bridging knowledge gaps remain significant challenges. Inspired by the 'summarizing mistakes' strategy, we propose the Continue Evolving from Mistakes (CEM) method, a data-efficient approach aiming to collect CPT data and continually improve LLMs' performance through iterative evaluation and supplementation with mistake-relevant knowledge. To further optimize data usage and mitigate forgetting, we introduce a novel training paradigm that combines CIT and CPT. Experiments show that CEM substantially enhances multiple models' performance on both in-domain and out-of-domain QA tasks, achieving gains of up to 29.63%. Code and datasets are available on https://anonymous.4open.science/r/cem-BB25.
title CEM: A Data-Efficient Method for Large Language Models to Continue Evolving From Mistakes
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2404.08707