DiLM: Distilling Dataset into Language Model for Text-level Dataset Distillation
Dataset distillation aims to compress a training dataset by creating a few informative synthetic samples such that the neural networks trained on them perform as best as those trained on the original training dataset. Current text dataset distillation methods create each synthetic sample as a sequence of word embeddings instead of text data to apply gradient-based optimization; however, such embedding-level distilled datasets cannot be used for training other models whose word embedding weights are different from the model used for distillation. To address this issue, we propose a novel text dataset distillation approach, called distilling dataset into language model (DiLM), which trains a language model to generate informative synthetic training samples as text data, rather than directly optimizing synthetic samples. We evaluated DiLM on various text classification datasets and showed that the distilled synthetic datasets from DiLM outperformed those from the current coreset selection methods. DiLM achieved remarkable generalization performance in training different types of models and in the in-context learning of large language models. Our code is available at https://github.com/arumaekawa/DiLM.
Authors
- Satoshi Kosugi (ORCID: https://orcid.org/0000-0001-7556-9072)
- Manabu Okumura
- Kotaro Funakoshi (ORCID: https://orcid.org/0000-0002-4529-4634)
- Aru Maekawa
Institutions
- Shanghai Institute for Science of Science (CN)
- Institute of Science Tokyo (JP)
Publication Details
- Journal
- Journal of Natural Language Processing
- Published
- 2025-01-01
- DOI
- https://doi.org/10.5715/jnlp.32.252
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00