Token-Scaled Logit Distillation for Ternary Weight Generative Language Models

Minsoo Kim, Sihwa Lee, Janghwan Lee, S. Hong, Duhyeuk Chang +2 more
8/1/2023

No official code found. Best implementation: aiha-lab/TSLD (18 stars, last commit 2023-12-06).

Abstract

Generative Language Models (GLMs) have shown impressive performance in tasks such as text generation, understanding, and reasoning. However, the large model size poses challenges for practical deployment. To solve this problem, Quantization-Aware Training (QAT) has become increasingly popular. However, current QAT methods for generative models have resulted in a noticeable loss of accuracy. To counteract this issue, we propose a novel knowledge distillation method specifically designed for GLMs. Our method, called token-scaled logit distillation, prevents overfitting and provides superior learning from the teacher model and ground truth. This research marks the first evaluation of ternary weight quantization-aware training of large-scale GLMs with less than 1.0 degradation in perplexity and no loss of accuracy in a reasoning task.

View on arXivView PDF

Code Implementations(1)

aiha-lab/TSLDCommunity68%

[NeurIPS 2023] Token-Scaled Logit Distillation for Ternary Weight Generative Language Models

181Shell, PythonOct 24, 20232 years ago

Similar Papers

Cite this paper

@article{kim2023tokenscaled,
  title  = {Token-Scaled Logit Distillation for Ternary Weight Generative Language Models},
  author = {Minsoo Kim and Sihwa Lee and Janghwan Lee and S. Hong and Duhyeuk Chang and Wonyong Sung and Jungwook Choi},
  year   = {2023},
  eprint = {2308.06744},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.06744},
  journal = {NEURIPS 2023 2023}
}

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/2308.06744.svg)](https://codeofpaper.com/paper/2308.06744)

Discussion