Measuring Sample Importance in Data Pruning for Language Models based on Information Entropy

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kim, Minsang, Baek, Seungjun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913608917581824
author Kim, Minsang
Baek, Seungjun
author_facet Kim, Minsang
Baek, Seungjun
contents Compute-efficient training of language models has become an important issue. We consider data pruning for data-efficient training of LLMs. In this work, we consider a data pruning method based on information entropy. We propose that the samples in the training corpus be ranked in terms of their informativeness which we estimate through entropy functions. The key idea is that, less informative samples are likely to contain redundant information, and thus should be pruned first. We use the entropy functions based on the negative log-likelihood and the average inverse word frequency of a sample as a surrogate to measure its informativeness. Experiments reveal that the proposed information-based pruning can improve upon various language modeling and downstream tasks, and enhance the generalization capability of language models.
format Preprint
id arxiv_https___arxiv_org_abs_2406_14124
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Measuring Sample Importance in Data Pruning for Language Models based on Information Entropy
Kim, Minsang
Baek, Seungjun
Artificial Intelligence
Machine Learning
Compute-efficient training of language models has become an important issue. We consider data pruning for data-efficient training of LLMs. In this work, we consider a data pruning method based on information entropy. We propose that the samples in the training corpus be ranked in terms of their informativeness which we estimate through entropy functions. The key idea is that, less informative samples are likely to contain redundant information, and thus should be pruned first. We use the entropy functions based on the negative log-likelihood and the average inverse word frequency of a sample as a surrogate to measure its informativeness. Experiments reveal that the proposed information-based pruning can improve upon various language modeling and downstream tasks, and enhance the generalization capability of language models.
title Measuring Sample Importance in Data Pruning for Language Models based on Information Entropy
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2406.14124