TensorX
返回文献探索

Paper · arXiv 2405.20541

Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Models

Zachary Ankner, Cody Blakeney, Kartik Sreenivasan, Max Marion, Matthew L. Leavitt, Mansheej Paul

22 upvotesMay 30, 2024arXiv 预印本
AI 摘要

Perplexity-based data pruning using small language models improves performance and reduces training time for larger models across various datasets and conditions.

perplexity-based pruningpretraining datadownstream task performanceparameter-efficient fine-tuning

Abstract

In this work, we investigate whether small language models can determine high-quality subsets of large-scale text datasets that improve the performance of larger language models. While existing work has shown that pruning based on the perplexity of a larger model can yield high-quality data, we investigate whether smaller models can be used for perplexity-based pruning and how pruning is affected by the domain composition of the data being pruned. We demonstrate that for multiple dataset compositions, perplexity-based pruning of pretraining data can significantly improve downstream task performance: pruning based on perplexities computed with a 125 million parameter model improves the average performance on downstream tasks of a 3 billion parameter model by up to 2.04 and achieves up to a 1.45times reduction in pretraining steps to reach commensurate baseline performance. Furthermore, we demonstrate that such perplexity-based data pruning also yields downstream performance gains in the over-trained and data-constrained regimes.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Models | TensorX