Language Model Distillation: A Temporal Difference Imitation Learning Perspective

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Yu, Zishun, Li, Shangzhe, Zhang, Xinhua
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908745553936384
author Yu, Zishun
Li, Shangzhe
Zhang, Xinhua
author_facet Yu, Zishun
Li, Shangzhe
Zhang, Xinhua
contents Large language models have led to significant progress across many NLP tasks, although their massive sizes often incur substantial computational costs. Distillation has become a common practice to compress these large and highly capable models into smaller, more efficient ones. Many existing language model distillation methods can be viewed as behavior cloning from the perspective of imitation learning or inverse reinforcement learning. This viewpoint has inspired subsequent studies that leverage (inverse) reinforcement learning techniques, including variations of behavior cloning and temporal difference learning methods. Rather than proposing yet another specific temporal difference method, we introduce a general framework for temporal difference-based distillation by exploiting the distributional sparsity of the teacher model. Specifically, it is often observed that language models assign most probability mass to a small subset of tokens. Motivated by this observation, we design a temporal difference learning framework that operates on a reduced action space (a subset of vocabulary), and demonstrate how practical algorithms can be derived and the resulting performance improvements.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20335
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Language Model Distillation: A Temporal Difference Imitation Learning Perspective
Yu, Zishun
Li, Shangzhe
Zhang, Xinhua
Computation and Language
Artificial Intelligence
Large language models have led to significant progress across many NLP tasks, although their massive sizes often incur substantial computational costs. Distillation has become a common practice to compress these large and highly capable models into smaller, more efficient ones. Many existing language model distillation methods can be viewed as behavior cloning from the perspective of imitation learning or inverse reinforcement learning. This viewpoint has inspired subsequent studies that leverage (inverse) reinforcement learning techniques, including variations of behavior cloning and temporal difference learning methods. Rather than proposing yet another specific temporal difference method, we introduce a general framework for temporal difference-based distillation by exploiting the distributional sparsity of the teacher model. Specifically, it is often observed that language models assign most probability mass to a small subset of tokens. Motivated by this observation, we design a temporal difference learning framework that operates on a reduced action space (a subset of vocabulary), and demonstrate how practical algorithms can be derived and the resulting performance improvements.
title Language Model Distillation: A Temporal Difference Imitation Learning Perspective
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.20335