Search papers, labs, and topics across Lattice.
The paper introduces a tail-aware divergence for language model distillation that decouples the contribution of the teacher model's top-K predicted probabilities from the lower-probability predictions. This approach aims to address the issue of standard KL divergence being dominated by the teacher's modes, thereby diminishing the influence of the tail of the distribution. Experiments on pre-training and supervised distillation of decoder models show competitive performance across various datasets with efficient computation, requiring only a modest budget.
Distilling language models just got more efficient: a new loss function focuses on the long tail of token probabilities, boosting performance without extra compute.
The core learning signal used in language model distillation is the standard Kullback-Leibler (KL) divergence between the student and teacher distributions. Traditional KL divergence tends to be dominated by the next tokens with the highest probabilities, i.e., the teacher's modes, thereby diminishing the influence of less probable yet potentially informative components of the output distribution. We propose a new tail-aware divergence that decouples the contribution of the teacher model's top-K predicted probabilities from that of lower-probability predictions, while maintaining the same computational profile as the KL Divergence. Our decoupled approach reduces the impact of the teacher modes and, consequently, increases the contribution of the tail of the distribution. Experimental results demonstrate that our modified distillation method yields competitive performance in both pre-training and supervised distillation of decoder models across various datasets. Furthermore, the distillation process is efficient and can be performed with a modest academic budget for large datasets, eliminating the need for industry-scale computing.