MT-PATCHER: Selective and Extendable Knowledge Distillation from Large Language Models for Machine Translation

Jiahuan Li, Shanbo Cheng, Shujian Huang, Jiajun Chen

Abstract

Traditional Knowledge Distillation (KD) for Machine Translation (MT) often suffers from data redundancy and limited coverage of rare terms. We present MT-PATCHER, a framework that treats Large Language Models (LLMs) as interactive tutors. By identifying specific student errors, synthesizing diverse new contexts, and proactively predicting similar future mistakes, MT-PATCHER achieves state-of-the-art performance using only 10% of the training data required by standard KD methods.

Introduction

Large Language Models (LLMs) like GPT-4 have set new benchmarks in translation quality but remain computationally expensive for real-time applications. Smaller models, while efficient, often lack the nuanced knowledge of their larger counterparts. Knowledge Distillation (KD) typically bridges this gap by training small "student" models to mimic "teacher" LLMs. However, standard KD is inefficient, forcing students to relearn concepts they already know while failing to address rare "long-tail" terms not present in the training corpus.

The MT-PATCHER Framework

MT-PATCHER shifts the paradigm from exhaustive mimicry to selective "patching." The framework consists of three core components:

  1. The Feedbacker: The teacher LLM acts as a reviewer, identifying student errors, explaining the reasoning, and providing a corrected "patch."
  2. Parallel Data Synthesizer (PDS): To ensure robust learning, the system generates new sentences using the corrected terms across various styles and topics, preventing simple memorization.
  3. Word Analoger (WA): This proactive module identifies terms related to the student's errors (e.g., if "methanol" is mistranslated, it generates data for "benzene") to preempt future mistakes.
The MT-PATCHER framework overview, illustrating the Feedbacker, Word Analogy, and Parallel Data Synthesis modules.

Experimental Results

The effectiveness of MT-PATCHER was evaluated on WMT22 benchmarks and specialized datasets for Chemistry and Chinese Idioms.

Efficiency and Performance

A key finding is that MT-PATCHER is significantly more data-efficient than traditional Sequence KD (SeqKD). As shown in the results table, MT-PATCHER with only the Patching Evidence (+ PE) module—utilizing roughly 10% of the data—outperforms SeqKD-Full across multiple metrics.

Performance comparison of MT-PATCHER against baseline student models and traditional Sequence Knowledge Distillation (SeqKD) across Chinese-English and English-German tasks.

Generalization to Unseen Terms

MT-PATCHER demonstrates superior generalization on rare terms. In the Chemistry Materials dataset, MT-PATCHER improved "Unseen Word" accuracy from 6.3% (baseline) to 16.3%, significantly outperforming traditional KD (10.6%). This highlights the value of the Word Analoger in expanding the student's knowledge base beyond the initial corpus.

Key Insights

  • Revision over Generation: LLMs provide higher-quality knowledge when correcting a draft rather than generating from scratch.
  • Information Bottleneck for Augmentation: Effective data augmentation requires "squeezing" sentences into abstract attributes (topic, domain, style) before re-expansion to ensure creative diversity.
  • Iterative Learning: Teaching is most effective in rounds; iterative feedback (up to 4 epochs) consistently improves correction accuracy.

Conclusion and Future Work

MT-PATCHER provides a scalable and efficient way to transfer deep knowledge from giant LLMs to smaller, deployable models. Future work will focus on better utilizing the natural language explanations provided by the Feedbacker during training and mitigating "translationese" in synthesized data.

Summary updated

BibTeX
@inproceedings{li2024mt,
  author = {Jiahuan Li and Shanbo Cheng and Shujian Huang and Jiajun Chen},
  title = {{MT-PATCHER: Selective and Extendable Knowledge Distillation from Large Language Models for Machine Translation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.358},
}
Figure