Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yao, Rong, Hu, Hailin, Fu, Yifei, Chen, Hanting, Fang, Wenyi, Du, Fanyi, Han, Kai, Wang, Yunhe
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:https://arxiv.org/abs/2504.09818
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916704918962176
author Yao, Rong
Hu, Hailin
Fu, Yifei
Chen, Hanting
Fang, Wenyi
Du, Fanyi
Han, Kai
Wang, Yunhe
author_facet Yao, Rong
Hu, Hailin
Fu, Yifei
Chen, Hanting
Fang, Wenyi
Du, Fanyi
Han, Kai
Wang, Yunhe
contents In the realm of large language model (LLM), as the size of large models increases, it also brings higher training costs. There is a urgent need to minimize the data size in LLM training. Compared with data selection method, the data distillation method aims to synthesize a small number of data samples to achieve the training effect of the full data set and has better flexibility. Despite its successes in computer vision, the discreteness of text data has hitherto stymied its exploration in natural language processing (NLP). In this work, we proposed a method that involves learning pseudo prompt data based on trajectory matching and finding its nearest neighbor ID to achieve cross-architecture transfer. During the distillation process, we introduce a regularization loss to improve the robustness of our distilled data. To our best knowledge, this is the first data distillation work suitable for text generation tasks such as instruction tuning. Evaluations on two benchmarks, including ARC-Easy and MMLU instruction tuning datasets, established the superiority of our distillation approach over the SOTA data selection method LESS. Furthermore, our method demonstrates a good transferability over LLM structures (i.e., OPT to Llama).
format Preprint
id arxiv_https___arxiv_org_abs_2504_09818
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Transferable text data distillation by trajectory matching
Yao, Rong
Hu, Hailin
Fu, Yifei
Chen, Hanting
Fang, Wenyi
Du, Fanyi
Han, Kai
Wang, Yunhe
Computation and Language
In the realm of large language model (LLM), as the size of large models increases, it also brings higher training costs. There is a urgent need to minimize the data size in LLM training. Compared with data selection method, the data distillation method aims to synthesize a small number of data samples to achieve the training effect of the full data set and has better flexibility. Despite its successes in computer vision, the discreteness of text data has hitherto stymied its exploration in natural language processing (NLP). In this work, we proposed a method that involves learning pseudo prompt data based on trajectory matching and finding its nearest neighbor ID to achieve cross-architecture transfer. During the distillation process, we introduce a regularization loss to improve the robustness of our distilled data. To our best knowledge, this is the first data distillation work suitable for text generation tasks such as instruction tuning. Evaluations on two benchmarks, including ARC-Easy and MMLU instruction tuning datasets, established the superiority of our distillation approach over the SOTA data selection method LESS. Furthermore, our method demonstrates a good transferability over LLM structures (i.e., OPT to Llama).
title Transferable text data distillation by trajectory matching
topic Computation and Language
url https://arxiv.org/abs/2504.09818