DiLM: Distilling Dataset into Language Model for Text-level Dataset Distillation

Aru Maekawa, Satoshi Kosugi, Kotaro Funakoshi, Manabu Okumura
3/30/2024
33 citations
cs.CLcs.LG
distillation

Official code: arumaekawa/DiLM (28 stars, Python, MIT, last commit 2025-02-10).

Abstract

Dataset distillation aims to compress a training dataset by creating a small number of informative synthetic samples such that neural networks trained on them perform as well 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 a text 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.

Show full abstract

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, instead of directly optimizing synthetic samples. We evaluated DiLM on various text classification datasets and showed that distilled synthetic datasets from DiLM outperform those from current coreset selection methods. DiLM achieved remarkable generalization performance in training different types of models and in-context learning of large language models. Our code will be available at https://github.com/arumaekawa/DiLM.

View on arXivView PDF

Code Implementations(1)

arumaekawa/DiLMOfficial100%
MIT

Implementaiton of "DiLM: Distilling Dataset into Language Model for Text-level Dataset Distillation" (accepted by NAACL2024 Findings)".

2810PythonMar 28, 20241 years agoMIT

Similar Papers

Cite this paper

@article{maekawa2024dilm,
  title  = {DiLM: Distilling Dataset into Language Model for Text-level Dataset Distillation},
  author = {Aru Maekawa and Satoshi Kosugi and Kotaro Funakoshi and Manabu Okumura},
  year   = {2024},
  eprint = {2404.00264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00264v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.00264.svg)](https://codeofpaper.com/paper/2404.00264)

Discussion