# Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation

신경 기계 번역을 위한 데이터 증강으로서의 시퀀스 수준 지식 증류 설명

Mitchell A. Gordon, Kevin Duh · arXiv · 2019년 12월 6일

- **연구 문제** SLKD가 작은 신경망 기계 번역 모델의 성능을 높이는 이유가 학생 모델의 용량 부족 해결인지 검증합니다.
- **연구 방법** SLKD를 정규화와 데이터 증강의 관점에서 재해석하고, 다중 모드 가설을 검증하는 실험과 증강 및 dropout 제거 실험을 설계합니다.
- **주요 결과** 다중 모드 가설만으로는 결과를 충분히 설명하기 어렵고, SLKD 데이터를 추가한 조건과 dropout을 끈 조건에서 정규화에 가까운 역할이 관찰됩니다.

## SLKD가 작은 모델을 돕는 이유에 대한 질문

SLKD는 큰 교사 모델이 학습 원문을 빔 서치로 번역하고, 작은 학생 모델이 원래 데이터와 교사 번역을 함께 학습하는 모델 압축 기법입니다. 이 방식이 작은 신경망 기계 번역 모델의 성능을 높인다는 사실은 알려져 있지만, 왜 그런 효과가 생기는지는 분명하지 않습니다. Kim and Rush(2016)는 학생 모델의 용량이 부족해 노이즈가 많은 원래 데이터를 맞추기 어렵고, SLKD가 데이터를 단순하게 만들어 용량을 확보한다고 설명했습니다. 이 논문은 이 설명이 실제 결과를 충분히 설명하는지 먼저 검증합니다. 이어서 SLKD 데이터가 정규화처럼 작용하여 일반화 가능한 해를 찾게 한다는 대안 가설을 제안합니다.

## 교사와 학생 구성과 SLKD 데이터 생성

교사 모델 LARGE는 1층 인코더와 1층 디코더로 이루어진 Bi-LSTM이며 hidden과 embed 차원이 각각 256이고, 파라미터는 9M입니다. 학생 모델 SMALL은 8M 파라미터 미만의 후보 중 무작위로 선택되었고 파라미터는 1.4M입니다. 두 모델의 차이는 BPE 어휘 크기로, LARGE는 10k이고 SMALL은 500입니다. 교사는 TED 독일어-영어 데이터의 원본 base 데이터로 학습한 뒤 원문을 빔 서치로 번역해 kd 데이터셋을 만듭니다. 학생은 base, kd, 그리고 두 데이터를 이어 붙인 base+kd로 학습합니다. 단어 수준 지식 증류가 위치별 분포를 맞추는 교차 엔트로피 항인 것과 달리, SLKD는 교사가 생성한 번역 시퀀스를 학생의 학습 데이터로 씁니다.

모든 모델은 Sockeye로 학습되며 3회 시행의 평균으로 보고됩니다. 검증 지표는 토큰화된 BLEU이며 학습 체크포인트 수는 실험마다 다르게 설정됩니다.

## 다중 모드 가설 검증

다중 모드 가설은 SLKD가 데이터의 다중 모드성을 줄여 학생 모델의 용량을 확보한다는 설명입니다. 이 논문은 SMALL 학생을 base, kd, base+kd로 학습해 가설을 검증합니다. Table 1에서 30 checkpoints 기준 테스트 BLEU 평균은 base 25.85, kd 27.07, base+kd 27.28입니다. Table 2에서 평균 어휘 크기는 base 51k, kd 44k, base+kd 70k로, kd 데이터의 어휘가 줄어든 것이 확인됩니다. 다중 모드 가설이 맞다면 base+kd는 base보다 다양하므로 학생에게 더 어려워야 합니다. 그러나 SMALL 학생은 노이즈가 있는 데이터와 단순화된 데이터를 함께 맞출 수 있었습니다.

저자들은 이 TED 설정의 어려움이 용량보다 일반화 가능한 해를 찾는 능력에 있다고 해석합니다. 따라서 multi-modal hypothesis는 SLKD 성능 향상을 완전히 설명하지 못하는 가설로 읽어야 합니다.

![Table 1: Test BLEU of student models trained on dif- ferent datasets for 30 checkpoints. Single trials with different student architectures are also plotted in…](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982/figures/figure-88c3a6e6ffd19692d8722bcbef7dd435.png?thumb=512)

**Table 1** : Test BLEU of student models trained on dif- ferent datasets for 30 checkpoints. Single trials with different student architectures are also plotted in Ap- pendix Fig 3.

[원문](https://arxiv.org/abs/1912.03334v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Mitchell A. Gordon, Kevin Duh · Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 2: Average number of tokens and vocabulary size for baseline, kd, and base+kd target datasets](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982/figures/figure-dfae6d2d9c8ef48925de65b001fd34f8.png?thumb=512)

**Table 2** : Average number of tokens and vocabulary size for baseline, kd, and base+kd target datasets.

[원문](https://arxiv.org/abs/1912.03334v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Mitchell A. Gordon, Kevin Duh · Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 데이터 증강 가설과 dropout 제거 실험

데이터 증강 가설은 SLKD 데이터가 추가되면 학습이 일반화 가능한 해를 찾기 쉬워진다고 봅니다. 저자들은 역번역 데이터 BT와 빔의 최상위 두 번역을 쓴 best-2 데이터를 추가 조건으로 두었습니다. Table 3에서 dropout을 유지한 SMALL 학생의 Beam=5 테스트 BLEU는 baseline 26.79, kd 27.70, base+kd 27.74, base+kd+bt 27.87, base+best-2 27.92입니다. 같은 구조에서 dropout을 끄면 base+kd는 27.84로 조금 오르지만, baseline은 25.37, kd는 26.45로 낮아집니다. 저자들은 이 결과를 정규화 제거가 SMALL의 증강 효과를 키우는 한편 기준선과 kd의 성능은 떨어뜨리는 것으로 해석합니다.

LARGE 학생에서는 dropout 유지 조건의 baseline 31.75, kd 30.38, base+kd 32.52, base+kd+bt 32.99, base+best-2 32.59가 보고됩니다. 100 checkpoints까지 학습을 늘린 실험에서는 결과가 변하지 않았다고 보고됩니다. 저자들은 SLKD가 교사 manifold 위의 데이터를 늘려 과적합 모델을 일반화 쪽으로 끌어당긴다고 해석하며, 이는 별도의 용량 측정으로 확인된 결론이 아닙니다.

![Table 3: The tokenized test BLEU scores (Beam=5) 6 and BPE train perplexities for student models trained on concatenations of datasets. SMALL students are trai…](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982/figures/figure-0169be77de57bee91514382d5fcc6960.png?thumb=512)

**Table 3** : The tokenized test BLEU scores (Beam=5) 6 and BPE train perplexities for student models trained on concatenations of datasets. SMALL students are trained for 100 checkpoints, rather than the initial 30.

[원문](https://arxiv.org/abs/1912.03334v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Mitchell A. Gordon, Kevin Duh · Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 1: BPE validation curves of models trained on augmented datasets](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982/figures/figure-f3655d91c9496cf448d5ac48e77c7f61.png?thumb=512)

**Figure 1** : BPE validation curves of models trained on augmented datasets.

[원문](https://arxiv.org/abs/1912.03334v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Mitchell A. Gordon, Kevin Duh · Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 결과의 적용 범위와 남은 질문

이 결과는 TED 독일어-영어 데이터와 Bi-LSTM 기반 SMALL 및 LARGE 구조에서 얻은 것입니다. 저자들은 다른 데이터셋, 언어쌍, Transformer 같은 모델 구조에서 결과가 달라질 수 있다고 밝힙니다. dropout을 끈 SLKD 학생의 성능 저하에 대해 저자들은 manifold의 모든 부분을 채울 데이터가 부족했을 가능성을 제시합니다. 다만 더 많은 데이터에 교사를 적용한 실험은 본 논문에서 확인되지 않았습니다. 따라서 정규화 해석은 데이터 증강 실험을 바탕으로 한 가설로 읽어야 합니다.

## 논문 정보

- **저자**: Mitchell A. Gordon, Kevin Duh
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 12월 6일
- **등록일**: 2026년 11월 5일
- **수정일**: 2019년 12월 6일
- **버전**: v1
- **arXiv**: 1912.03334
- **분류**: cs.CL
- **원문 이용 조건**: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/1912.03334v1) · [원문 PDF ↗](https://arxiv.org/pdf/1912.03334v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Sequence-level knowledge distillation (SLKD) is a model compression technique that leverages large, accurate teacher models to train smaller, under-parameterized student models. Why does pre-processing MT data with SLKD help us train smaller models? We test the common hypothesis that SLKD addresses a capacity deficiency in students by "simplifying" noisy data points and find it unlikely in our case. Models trained on concatenations of original and "simplified" datasets generalize just as well as baseline SLKD. We then propose an alternative hypothesis under the lens of data augmentation and regularization. We try various augmentation strategies and observe that dropout regularization can become unnecessary. Our methods achieve BLEU gains of 0.7-1.2 on TED Talks.

## 원문 인용

Mitchell A. Gordon, Kevin Duh (2019). Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation. arXiv:1912.03334v1. https://arxiv.org/abs/1912.03334v1

**BibTeX**

```
@misc{gordon2019explaining,
  title = {{Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation}},
  author = {Mitchell A. Gordon and Kevin Duh},
  year = {2019},
  eprint = {1912.03334},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.03334v1}
}
```

## 이 논문의 용어

- [BLEU](https://refivu.com/terms/42cd9b97719e-bleu)
- [dropout](https://refivu.com/terms/db73f75bbdd3-dropout)
- [Beam search](https://refivu.com/terms/3e449f8f713b-beam-search)
- [back-translation](https://refivu.com/terms/c84c48f96399-back-translation)
- [Bi-LSTM](https://refivu.com/terms/9cd9340aa3c3-bi-lstm)
- [dark knowledge](https://refivu.com/terms/5e287e68c1c1-dark-knowledge)
- [sequence-level knowledge distillation](https://refivu.com/terms/46f4a91f79d5-sequence-level-knowledge-distillation)

## 다른 논문 해설

- [LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering](https://refivu.com/papers/a2a0bf8e-4307-4c12-921a-7ff99465ceb9-lora-patch-defending-against-backdoored-lora-adapters-via.md)
- [Accelerating Offloading-Based MoE Inference by Interleaving Concurrent Requests](https://refivu.com/papers/38ae7098-de63-4991-8b67-56a700ccc83d-accelerating-offloading-based-moe-inference-by-interleaving.md)
- [Coarse Semantic Blocks for Efficient Training-Free Sparse Attention](https://refivu.com/papers/52935b53-62a3-4266-90b0-b3631ba9ddcc-coarse-semantic-blocks-for-efficient-training-free-sparse.md)
- [HybridSpec: Throughput-Aware Speculative Decoding for Hybrid GDN-MoE Models](https://refivu.com/papers/c680f759-5ac8-4847-9288-bf267250d01d-hybridspec-throughput-aware-speculative-decoding-for-hybrid.md)
- [GC-MoE: Overlapping Expert-Parallel Token Dispatch with FP8/FP4 Grouped GEMM via CUDA Green Contexts](https://refivu.com/papers/523301d6-5adb-45ac-9ad2-59d6cbaaacb7-gc-moe-overlapping-expert-parallel-token-dispatch-with.md)
- [Testing Processor Contracts in Speculative Decoding Engines](https://refivu.com/papers/a4ed062a-b35a-494b-bee5-b5de71d080de-testing-processor-contracts-in-speculative-decoding-engines.md)
- [On the generalization capabilities of FSL methods through domain adaptation: a case study in endoscopic kidney stone image classification](https://refivu.com/papers/d0852ca3-f9f1-4ed4-b12e-f39db82c6c87-on-the-generalization-capabilities-of-fsl-methods-through.md)
- [Restoring Negative Information in Few-Shot Object Detection](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731-restoring-negative-information-in-few-shot-object-detection.md)
- [Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator](https://refivu.com/papers/6c563382-b07f-4499-b0d2-cae4199ee500-edge-cloud-collaborated-object-detection-via-difficult-case.md)
- [Honest Small Decision Models for Finance: Scale, Specialization Collapse, and Mixed-Corpus Remediation](https://refivu.com/papers/7a9a2694-dbb6-41dd-a5c8-2f7bfc5a8bbf-honest-small-decision-models-for-finance-scale.md)
- [Language Models Can Benefit from Domain-Specific Inductive Biases](https://refivu.com/papers/ecf0e8f5-8763-4d53-8896-37d657f3527c-language-models-can-benefit-from-domain-specific-inductive.md)
- [PROB: Probabilistic Objectness for Open World Object Detection](https://refivu.com/papers/7afdf10e-6825-4f0b-aa2f-4309d8ee5ff4-prob-probabilistic-objectness-for-open-world-object.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982-explaining-sequence-level-knowledge-distillation-as-data)
