Co-training and Co-distillation for Quality Improvement and Compression of Language Models

Hayeon Lee, Rui Hou, Jongpil Kim, Davis Liang, Hongbo Zhang +2 more
11/6/2023
cs.CLcs.AI

No official code found. Best implementation: leovianaf/project-co-training-co-distillation (0 stars, MIT, last commit 2025-12-11).

Abstract

Knowledge Distillation (KD) compresses computationally expensive pre-trained language models (PLMs) by transferring their knowledge to smaller models, allowing their use in resource-constrained or real-time settings. However, most smaller models fail to surpass the performance of the original larger model, resulting in sacrificing performance to improve inference speed. To address this issue, we propose Co-Training and Co-Distillation (CTCD), a novel framework that improves performance and inference speed together by co-training two models while mutually distilling knowledge. The CTCD framework successfully achieves this based on two significant findings: 1) Distilling knowledge from the smaller model to the larger model during co-training improves the performance of the larger model. 2) The enhanced performance of the larger model further boosts the performance of the smaller model. The CTCD framework shows promise as it can be combined with existing techniques like architecture design or data augmentation, replacing one-way KD methods, to achieve further performance improvement. Extensive ablation studies demonstrate the effectiveness of CTCD, and the small model distilled by CTCD outperforms the original larger model by a significant margin of 1.66 on the GLUE benchmark.

View on arXivView PDF

Code Implementations(1)

MIT

A replication study of the paper 'Co-training and Co-distillation for Quality Improvement and Compression of Language Models'.

00Python, MakefileSep 28, 202510 months agoMIT

Similar Papers

Cite this paper

@article{lee2023cotraining,
  title  = {Co-training and Co-distillation for Quality Improvement and Compression of Language Models},
  author = {Hayeon Lee and Rui Hou and Jongpil Kim and Davis Liang and Hongbo Zhang and Sung Ju Hwang and Alexander Min},
  year   = {2023},
  eprint = {2311.02849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.02849v2}
}

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

Discussion