LGFeb 22, 2024

Take the Bull by the Horns: Hard Sample-Reweighted Continual Training Improves LLM Generalization

arXiv:2402.14270v214 citationsh-index: 40Has Code
Originality Incremental advance
AI Analysis

This work addresses the problem of data efficiency for LLM developers and researchers, offering an incremental improvement through a novel optimization framework.

The paper tackles the challenge of improving large language model (LLM) generalization amid limited high-quality data by proposing a hard sample-reweighted continual training method, which significantly enhances performance across multiple benchmarks in both continual pre-training and instruction tuning scenarios.

In the rapidly advancing arena of large language models (LLMs), a key challenge is to enhance their capabilities amid a looming shortage of high-quality training data. Our study starts from an empirical strategy for the light continual training of LLMs using their original pre-training data sets, with a specific focus on selective retention of samples that incur moderately high losses. These samples are deemed informative and beneficial for model refinement, contrasting with the highest-loss samples, which would be discarded due to their correlation with data noise and complexity. We then formalize this strategy into a principled framework of Instance-Reweighted Distributionally Robust Optimization (IR-DRO). IR-DRO is designed to dynamically prioritize the training focus on informative samples through an instance reweighting mechanism, streamlined by a closed-form solution for straightforward integration into established training protocols. Through rigorous experimentation with various models and datasets, our findings indicate that our sample-targeted methods significantly improve LLM performance across multiple benchmarks, in both continual pre-training and instruction tuning scenarios. Our codes are available at https://github.com/VITA-Group/HardFocusTraining.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes