Dataset distillation aims to create a small dataset of informative synthetic samples to rapidly train neural networks that retain the performance of the original dataset. In this paper, we focus on constructing distilled few-shot datasets for natural language processing (NLP) tasks to fine-tune pre-trained transformers. Specifically, we propose to introduce attention labels, which can efficiently distill the knowledge from the original dataset and transfer it to the transformer models via attention probabilities. We evaluated our dataset distillation methods in four various NLP tasks and demonstrated that it is possible to create distilled few-shot datasets with the attention labels, yielding impressive performances for fine-tuning BERT. Specifically, in AGNews, a four-class news classification task, our distilled few-shot dataset achieved up to 93.2% accuracy, which is 98.5% performance of the original dataset even with only one sample per class and only one gradient step.
CITATION STYLE
Maekawa, A., Kobayashi, N., Funakoshi, K., & Okumura, M. (2023). Dataset Distillation with Attention Labels for Fine-tuning BERT. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (Vol. 2, pp. 119–127). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.acl-short.12
Mendeley helps you to discover research relevant for your work.