ZIP-FIT: Embedding-Free Data Selection via Compression-Based Alignment
Not on the map. Why?
Abstract (arXiv)
Data selection is crucial for optimizing language model (LM) performance on specific tasks, yet most existing methods fail to effectively consider the target task distribution. Current approaches either ignore task-specific requirements entirely or rely on approximations that fail to capture the nuanced patterns needed for tasks like Autoformalization or code generation. Methods that do consider the target distribution often rely on simplistic, sometimes noisy, representations, like hashed n-gram features, which can lead to collisions and introduce noise. We introduce ZIP-FIT, a data selection framework that uses gzip compression to directly measure alignment between potential training data and the target task distribution. In extensive evaluations on Autoformalization and Python code generation, ZIP-FIT significantly outperforms leading baselines like DSIR and D4. Models trained on ZIP-FIT-selected data achieve their lowest cross-entropy loss up to 85.1% faster than baselines, demonstrating that better task alignment leads to more efficient learning. In addition, ZIP-FIT performs selection up to 65.8% faster than DSIR and two orders of magnitude faster than D4. Notably, ZIP-FIT shows that smaller, well-aligned datasets often outperform larger but less targeted ones, demonstrating that a small amount of higher quality data is superior to a large amount of lower quality data. Our results imply that task-aware data selection is crucial for efficient domain adaptation, and that compression offers a principled way to measure task alignment. By showing that targeted data selection can dramatically improve task-specific performance, our work provides new insights into the relationship between data quality, task alignment, and model learning efficiency.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 23 Oct 2024.
Builds on
25 of 39 references.
References · 25
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
13 more
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
- 2022Autoformalization with Large Language Modelscited by 263
- 2022Will we run out of data? Limits of LLM scaling based on human-generated datacited by 195
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 157
- 2024Is Model Collapse Inevitable? Breaking the Curse of Recursion by Accumulating Real and Synthetic Datacited by 151
- 2024How to Train Data-Efficient LLMscited by 93
- 2024Collapse or Thrive? Perils and Promises of Synthetic Data in a Self-Generating Worldcited by 52
- 2019Exploration of Neural Machine Translation in Autoformalization of Mathematics in Mizarcited by 40
- 2023Efficient Continual Pre-training for Building Domain Specific Large Language Modelscited by 34
- 2023Beyond Scale: The Diversity Coefficient as a Data Quality Metric for Variability in Natural Language Datacited by 19
- 2022Less is More: Parameter-Free Text Classification with Gzipcited by 7
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Frequency Matters: Fast Model-Agnostic Data Curation for Pruning and Quantization
- 2025Principled Data Selection for Alignment: The Hidden Risks of Difficult Examples
- 2025DaMoC: Efficiently Selecting the Optimal Large Language Model for Fine-tuning Domain Tasks Based on Data and Model Compression
- 2023The Cost of Compression: Investigating the Impact of Compression on Parametric Knowledge in Language Models
- 2024Dynamic Gradient Alignment for Online Data Mixing
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
- 2024Efficient Alignment of Large Language Models via Data Sampling
- 2025Data Selection for LLM Alignment Using Fine-Grained Preferences