# Synchronous Bidirectional Neural Machine Translation

동기식 양방향 신경 기계 번역

Long Zhou, Jiajun Zhang, Chengqing Zong · arXiv · 2019년 5월 13일

- **연구 문제** 기존 단방향 NMT는 왼쪽에서 오른쪽으로만 생성하여 미래 문맥을 충분히 쓰지 못하고, 접미사 예측이 접두사보다 약한 불균형 출력 문제를 보입니다.
- **연구 방법** SB-NMT는 하나의 디코더에서 좌→우와 우→좌 상태를 SBAtt로 결합하고, 두 방향 빔을 함께 확장합니다.
- **주요 결과** 원문은 NIST Chinese-English에서 SB-NMT의 평균 BLEU 51.11을 보고하며 Transformer 대비 3.92 높다고 합니다. WMT14 English-German에서는 29.21로 1.49 높고, WMT18 Russian-English 테스트에서는 32.06으로 1.04 높습니다.

## 단방향 디코딩의 불균형 출력 문제

기존 신경 기계 번역은 목표 문장을 왼쪽에서 오른쪽으로 한 토큰씩 생성합니다. 이 방식에서는 각 단어가 이미 생성된 앞부분에만 조건화되므로, 뒤쪽에 올 미래 문맥을 활용하지 못합니다. 원문은 이를 불균형 출력 문제로 부르며, 번역 접두사는 잘 예측되지만 접미사는 덜 정확하다는 현상을 제시합니다. 원문의 Table 1은 NIST Chinese-English 번역에서 L2R의 처음 4개 토큰 정확도가 40.21%, 마지막 4개 토큰 정확도가 35.10%이고, R2L은 각각 35.67%와 39.47%라고 보고합니다. 이 결과는 두 방향이 서로 다른 위치에 강점을 가진다는 관찰입니다.

![Table 1: Translation accuracy of the ﬁrst 4 tokens and last 4 tokens in NIST Chinese-English translation tasks. L2R denotes left-to-right decoding and R2L mean…](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-a42572e2cc00c49973d67f42ab0ac486.png?thumb=512)

**Table 1** : Translation accuracy of the ﬁrst 4 tokens and last 4 tokens in NIST Chinese-English translation tasks. L2R denotes left-to-right decoding and R2L means right-to-left decoding for conventional NMT.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

기존 해결책은 두 개의 디코더를 쓰거나 두 방향 모델을 따로 학습한 뒤 후보를 재순위화하는 방식이었습니다. 이 방법들은 모델 구조가 복잡하고, 두 방향이 서로 독립적이거나 한쪽 방향만 다른 방향의 정보를 활용한다는 한계가 있습니다. 이 논문은 단일 디코더에서 두 방향이 서로 상호작용하며 동시에 생성되는 구조가 필요하다고 제기합니다.

## SB-NMT의 동기식 양방향 디코딩과 SBAtt

SB-NMT는 하나의 인코더와 하나의 디코더를 사용합니다. 목표 문장 앞에 ⟨l2r⟩와 ⟨r2l⟩ 표지 토큰을 붙여 좌→우와 우→좌 생성을 구분하며, 디코더 각 층의 최하위 서브레이어로 기존 다중 헤드 내부 어텐션을 대체하는 SBAtt를 둡니다. 이 구조에서 좌→우 상태와 우→좌 상태는 같은 층에서 함께 계산되어 서로의 정보를 참조합니다.

![Figure 6: The new Transformer architecture with the proposed synchronous bidirectional multi-head atten- tion network, namely SBAtt. The input of decoder is co…](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-f75af27f43eb0056605801934fa36d3f.png?thumb=512)

**Figure 6** : The new Transformer architecture with the proposed synchronous bidirectional multi-head atten- tion network, namely SBAtt. The input of decoder is concatenation of forward (L2R) sequence and back- ward (R2L) sequence. Note that all bidirectional in- formation ﬂow in decoder runs in parallel and only in- teracts in synchronous bidirectional attention layer.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

SBAtt의 핵심은 동기식 양방향 점곱 어텐션입니다. 좌→우 상태 H→는 history 어텐션 Attention(Q→, K→, V→)과 future 어텐션 Attention(Q→, K←, V←)을 계산한 뒤 Fusion으로 결합합니다. 우→좌 상태 H←도 같은 방식으로 대칭적으로 계산됩니다. 즉 future 정보는 반대 방향의 키와 값에서 얻습니다. 원문은 Fusion으로 선형 보간 H→ = H→history + λH→future, 비선형 보간 H→ = H→history + λAF(H→future), 게이트 메커니즘을 제시합니다. 원문의 실험 설정에서는 λ=0.1과 tanh를 쓰는 비선형 보간이 개발 세트 최고 성능을 보였고, 이를 이후 모든 실험에 사용했습니다.

추론에서는 좌→우 빔과 우→좌 빔을 절반씩 유지하며 같은 빔 탐색 과정에서 두 방향을 동시에 확장합니다. 우→좌 가설이 최종 선택되면 토큰 순서를 뒤집어 출력합니다. 원문은 이 방식을 기존 두 단계 디코딩과 달리 하나의 빔 탐색으로 처리하는 구조라고 설명합니다.

## 의사 참조 문장을 이용한 학습

양방향 디코딩에서는 우→좌 생성이 학습 중 정답 문장의 미래 토큰을 직접 보게 되는 정보 누수 문제가 생깁니다. 원문은 이 문제가 BERT의 양방향 언어 모델과도 유사하다고 설명하고, 이를 줄이기 위해 의사 참조 문장을 만듭니다.

먼저 좌→우 모델과 우→좌 모델을 각각 정답 문장으로 학습합니다. 그다음 각 모델로 소스 문장을 번역하여 의사 목표 문장을 얻고, 학습 삼중항을 (x, y→p, y←g)와 (x, y→g, y←p)로 구성합니다. 이렇게 하면 학습 때 디코더가 보는 반대 방향 정보가 추론 시 얻는 정보와 더 가까워집니다. 원문의 목적함수는 두 방향의 로그우도를 함께 최대화하는 형태이며, 이는 음의 로그 손실을 최소화하는 것과 같은 방향입니다.

## 중국어-영어 번역 품질과 설계 선택

NIST Chinese-English 실험에서 검증 세트는 MT02이고 테스트 세트는 MT03-06입니다. BLEU는 대소문자를 구분하지 않고 토큰화된 조건에서 계산되었습니다. 원문의 Table 3에 따르면 SB-NMT의 평균 BLEU는 51.11이며, Transformer의 47.19보다 3.92 높습니다. 같은 표에서 Transformer (R2L)은 46.11, Rerank-NMT는 48.10, ABD-NMT는 48.19입니다. 원문은 SB-NMT의 모든 결과가 Transformer 및 Transformer (R2L)보다 유의하게 높다고 보고합니다(p\<0.01).

![Table 3: Evaluation of translation quality for Chinese-English translation tasks using case-insensitive BLEU scores. All results of our model are signiﬁcantly…](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-ac40559b710d47e574e45828b91f2423.png?thumb=512)

**Table 3** : Evaluation of translation quality for Chinese-English translation tasks using case-insensitive BLEU scores. All results of our model are signiﬁcantly better than Transformer and Transformer (R2L) (p\< 0.01).

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

원문은 Fusion 방식의 선택도 개발 세트에서 비교합니다. Linear 보간은 λ에 민감했고, 비선형 tanh 보간은 λ=0.1에서 50.99로 가장 높았습니다. 원문은 게이트 방식보다 비선형 보간이 더 단순하고 파라미터가 적다고 설명하며, 이후 실험에 tanh와 λ=0.1을 사용합니다. 이 λ 값은 이 개발 세트 비교에서 선택된 설정입니다.

![Table 2: Experiment results on the development set us- ing different fusion mechanism with differentλs](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-4dcd247c438abfa3198d9043229fc409.png?thumb=512)

**Table 2** : Experiment results on the development set us- ing different fusion mechanism with differentλs.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 영어-독일어와 러시아-영어 결과

WMT14 English-German 실험에서 검증 세트는 newstest2013이고 테스트 세트는 newstest2014입니다. 원문은 BLEU를 대소문자를 구분하는 방식으로 보고합니다. 원문의 Table 4에서 SB-NMT의 테스트 점수는 29.21이며, Transformer 27.72보다 1.49 높고 ABD-NMT 28.22보다도 높습니다. 저자들은 이 결과를 해당 과제에서의 최고 점수로 보고합니다.

![Table 4: Results of WMT14 English-German transla- tion using case-sensitive BLEU. Results with ‡ mark are taken from the corresponding papers](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-c007b9fea2ec46d6cd116a42bb852279.png?thumb=512)

**Table 4** : Results of WMT14 English-German transla- tion using case-sensitive BLEU. Results with ‡ mark are taken from the corresponding papers.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

WMT18 Russian-English 실험에서 검증 세트는 newstest2017이고 테스트 세트는 newstest2018입니다. 원문의 Table 5에서 SB-NMT는 검증 36.38, 테스트 32.06을 기록했고, Transformer는 각각 35.28과 31.02입니다. 따라서 테스트 기준으로 1.04 높습니다. 저자들은 영어-독일어와 러시아-영어의 향상폭이 중국어-영어보다 작은 이유로 중국어-영어 데이터의 참조 번역 수가 네 개인 점과 영어와 중국어의 거리가 더 멀다는 점을 제시합니다. 이는 저자들의 해석이며, 원인을 직접 분리한 실험은 아닙니다.

![Table 5: Results of WMT18 Russian-English transla- tion using case-insensitive tokenized BLEU](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-9dbe23af3f4a353f83f7399d8aa652cc.png?thumb=512)

**Table 5** : Results of WMT18 Russian-English transla- tion using case-insensitive tokenized BLEU.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 과소번역과 비용 분석

원문의 Table 8은 중국어-영어 100개 소스 문장, 총 2712개 단어를 대상으로 4명의 평가자가 수행한 주관 평가입니다. 지표는 과소번역 또는 과다번역된 소스 단어의 비율입니다. L2R의 과소번역 비율은 7.85%, R2L은 7.81%이고, SB-NMT는 5.42%입니다. 이는 과소번역 비율에서 30.6% 감소한 값으로 보고됩니다. 과다번역 비율은 L2R과 SB-NMT 모두 0.07%입니다.

![Table 8: Subjective evaluation on over-translation and under-translation for Chinese-English. Ratio denotes the percentage of source words which are over- or u…](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-e238a719fa21f2c9afd4a1c9ff3b724e.png?thumb=512)

**Table 8** : Subjective evaluation on over-translation and under-translation for Chinese-English. Ratio denotes the percentage of source words which are over- or under-translated, ∆ indicates relative improvement.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

계산 비용에 대해 원문은 SB-NMT가 표준 Transformer와 같은 207.8M 파라미터를 사용한다고 보고합니다. 학습 속도는 1.26, 테스트 속도는 17.87로 Transformer의 2.07, 19.97보다 낮지만 Rerank-NMT와 ABD-NMT보다는 빠릅니다. 이 값들은 Table 6의 측정 조건에서 얻은 결과입니다.

![Table 6: Statistics of parameters, training and test- ing speeds. Train denotes the number of global train- ing steps processed per second at the same batch-si…](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b/figures/figure-2d6c3493c6fd23569b02af43c5a0ec72.png?thumb=512)

**Table 6** : Statistics of parameters, training and test- ing speeds. Train denotes the number of global train- ing steps processed per second at the same batch-size sentences; Test indicates the amount of translated sen- tences in one second.

[원문](https://arxiv.org/abs/1905.04847v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Long Zhou, Jiajun Zhang, Chengqing Zong · Synchronous Bidirectional Neural Machine Translation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

이 결과는 중국어-영어, 영어-독일어, 러시아-영어의 세 번역 과제와 원문에 보고된 학습 설정에서 얻은 것입니다. 중국어-영어 결과의 향상폭은 영어-독일어와 러시아-영어보다 크지만, 저자들이 제시한 이유는 해석이며 원인을 분리한 실험으로 확인된 것은 아닙니다. 또한 과소번역 평가는 100개 문장과 4명의 평가자에 의존하므로 대규모 평가 결과로 일반화하기에는 제한이 있습니다.

원문은 미래 작업으로 시퀀스 레이블링, 추상 요약, 이미지 캡셔닝에 이 틀을 적용하고 학습 비용을 줄이는 방법을 탐색하겠다고 밝힙니다. 이는 계획이며 이 논문에서 검증된 결과가 아닙니다.

## 논문 정보

- **저자**: Long Zhou, Jiajun Zhang, Chengqing Zong
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2019년 5월 13일
- **등록일**: 2026년 11월 6일
- **수정일**: 2019년 5월 13일
- **버전**: v1
- **arXiv**: 1905.04847
- **분류**: cs.CL · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Existing approaches to neural machine translation (NMT) generate the target language sequence token by token from left to right. However, this kind of unidirectional decoding framework cannot make full use of the target-side future contexts which can be produced in a right-to-left decoding direction, and thus suffers from the issue of unbalanced outputs. In this paper, we introduce a synchronous bidirectional neural machine translation (SB-NMT) that predicts its outputs using left-to-right and right-to-left decoding simultaneously and interactively, in order to leverage both of the history and future information at the same time. Specifically, we first propose a new algorithm that enables synchronous bidirectional decoding in a single model. Then, we present an interactive decoding model in which left-to-right (right-to-left) generation does not only depend on its previously generated outputs, but also relies on future contexts predicted by right-to-left (left-to-right) decoding. We extensively evaluate the proposed SB-NMT model on large-scale NIST Chinese-English, WMT14 English-German, and WMT18 Russian-English translation tasks. Experimental results demonstrate that our model achieves significant improvements over the strong Transformer model by 3.92, 1.49 and 1.04 BLEU points respectively, and obtains the state-of-the-art performance on Chinese-English and English-German translation tasks.

## 원문 인용

Long Zhou, Jiajun Zhang, Chengqing Zong (2019). Synchronous Bidirectional Neural Machine Translation. arXiv:1905.04847v1. https://arxiv.org/abs/1905.04847v1

**BibTeX**

```
@misc{zhou2019synchronous,
  title = {{Synchronous Bidirectional Neural Machine Translation}},
  author = {Long Zhou and Jiajun Zhang and Chengqing Zong},
  year = {2019},
  eprint = {1905.04847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.04847v1}
}
```

## 이 논문의 용어

- [트랜스포머](https://refivu.com/terms/515e8433c447-transformer)
- [BLEU](https://refivu.com/terms/42cd9b97719e-bleu)
- [multi-head attention](https://refivu.com/terms/370ae5c971cd-multi-head-attention)
- [scaled dot-product attention](https://refivu.com/terms/0e345f72fc32-scaled-dot-product-attention)
- [Fusion](https://refivu.com/terms/c86bab8177f5-fusion)

## 다른 논문 해설

- [Embedding Projection for Targeted Cross-Lingual Sentiment: Model Comparisons and a Real-World Study](https://refivu.com/papers/14ebfd4f-6ac8-4737-851d-03108b88fa3b-embedding-projection-for-targeted-cross-lingual-sentiment.md)
- [Word Similarity Datasets for Thai: Construction and Evaluation](https://refivu.com/papers/79a699ae-0739-4d3a-a58f-925cc30c3e07-word-similarity-datasets-for-thai-construction-and.md)
- [Machine Reading Comprehension for Answer Re-Ranking in Customer Support Chatbots](https://refivu.com/papers/3cb52c93-8dda-462e-9b98-2cbe67557aa2-machine-reading-comprehension-for-answer-re-ranking-in.md)
- [NMT-Keras: a Very Flexible Toolkit with a Focus on Interactive NMT and Online Learning](https://refivu.com/papers/1f71471f-1b41-4c8e-923d-0d64f05ab69e-nmt-keras-a-very-flexible-toolkit-with-a.md)
- [Neural sentence embedding models for semantic similarity estimation in the biomedical domain](https://refivu.com/papers/779351be-1691-4a73-b4f4-7c1c825d9619-neural-sentence-embedding-models-for-semantic-similarity.md)
- [Applying Transformer-based Text Summarization for Keyphrase Generation](https://refivu.com/papers/9b1f8452-bbfa-41de-99fc-19492b6180b8-applying-transformer-based-text-summarization-for-keyphrase.md)
- [Comparison Between Genetic Fuzzy Methodology and Q-learning for Collaborative Control Design](https://refivu.com/papers/17e5bc29-b1e5-49dd-9fc0-ec2a816e89e3-comparison-between-genetic-fuzzy-methodology-and-q-learning.md)
- [GPT Understands, Too](https://refivu.com/papers/1bee23a9-1e12-440d-bf82-0263604d14f2-gpt-understands-too.md)
- [Towards Learning Universal, Regional, and Local Hydrological Behaviors via Machine-Learning Applied to Large-Sample Datasets](https://refivu.com/papers/c1ee1227-dd45-4aef-9943-a760b7a45dbc-towards-learning-universal-regional-and-local-hydrological.md)
- [Optimizing Quantum Error Correction Codes with Reinforcement Learning](https://refivu.com/papers/ed0ded3a-768a-49f3-9eb5-e36bb24fe5d1-optimizing-quantum-error-correction-codes-with-reinforcement.md)
- [Context Vectors are Reflections of Word Vectors in Half the Dimensions](https://refivu.com/papers/b7b81b8b-5025-4fbd-a52e-a2e1e26668da-context-vectors-are-reflections-of-word-vectors-in.md)
- [Language Model Adaptation for Language and Dialect Identification of Text](https://refivu.com/papers/92259e24-b03b-4c91-9783-7e0643e39c9e-language-model-adaptation-for-language-and-dialect.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/a9d42360-cea4-402b-be66-54c6fcbb997b-synchronous-bidirectional-neural-machine-translation)
