CLAIFeb 22, 2024

Balanced Data Sampling for Language Model Training with Clustering

arXiv:2402.14526v230 citationsh-index: 23ACL
Originality Incremental advance
AI Analysis

This addresses the data sampling bottleneck in LLM training, offering a method to improve model performance by balancing data distribution, though it is incremental as it builds on existing cluster-based approaches.

The paper tackles the problem of unbalanced training data distribution in Large Language Models (LLMs) by proposing ClusterClip Sampling, which uses clustering to balance common and rare samples and includes a repetition clip to prevent overfitting, resulting in outperformance over random sampling and other variants across various datasets and models.

Data plays a fundamental role in the training of Large Language Models (LLMs). While attention has been paid to the collection and composition of datasets, determining the data sampling strategy in training remains an open question. Most LLMs are trained with a simple strategy, random sampling. However, this sampling strategy ignores the unbalanced nature of training data distribution, which can be sub-optimal. In this paper, we propose ClusterClip Sampling to balance the text distribution of training data for better model training. Specifically, ClusterClip Sampling utilizes data clustering to reflect the data distribution of the training set and balances the common samples and rare samples during training based on the cluster results. A repetition clip operation is introduced to mitigate the overfitting issue led by samples from certain clusters. Extensive experiments validate the effectiveness of ClusterClip Sampling, which outperforms random sampling and other cluster-based sampling variants under various training datasets and large language models.

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