JOURNAL ARTICLE

Document Flattening: Beyond Concatenating Context for Document-Level Neural Machine Translation

Abstract

Existing work in document-level neural machine translation commonly concatenates several consecutive sentences as a pseudo-document, and then learns inter-sentential dependencies. This strategy limits the model’s ability to leverage information from distant context. We overcome this limitation with a novel Document Flattening (DocFlat) technique that integrates Flat-Batch Attention (FBA) and Neural Context Gate (NCG) into Transformer model to utilizes information beyond the pseudo-document boundaries. FBA allows the model to attend to all the positions in the batch and model the relationships between positions explicitly and NCG identifies the useful information from the distant context. We conduct comprehensive experiments and analyses on three benchmark datasets for English-German translation, and validate the effectiveness of two variants of DocFlat. Empirical results show that our approach outperforms strong baselines with statistical significance on BLEU, COMET and accuracy on the contrastive test set. The analyses highlight that DocFlat is highly effective in capturing the long-range information.

Keywords:
Computer science Leverage (statistics) Machine translation Artificial intelligence Natural language processing Benchmark (surveying) Transformer Flattening Context (archaeology) Machine learning

Metrics

8
Cited By
2.04
FWCI (Field Weighted Citation Impact)
44
Refs
0.86
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Text Readability and Simplification
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Context-Adaptive Document-Level Neural Machine Translation

Zhang LiZhirui ZhangBoxing ChenWeihua LuoLuo Si

Journal:   ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) Year: 2022 Pages: 6232-6236
JOURNAL ARTICLE

Document-Level Neural Machine Translation With Recurrent Context States

Yue ZhaoHui Liu

Journal:   IEEE Access Year: 2023 Vol: 11 Pages: 27519-27526
JOURNAL ARTICLE

Rethinking Document-level Neural Machine Translation

Zewei SunMingxuan WangHao ZhouChengqi ZhaoShujian HuangJiajun ChenLei Li

Journal:   Findings of the Association for Computational Linguistics: ACL 2022 Year: 2022 Pages: 3537-3548
BOOK-CHAPTER

Routing Based Context Selection for Document-Level Neural Machine Translation

Weilun FeiPing JianXiaoguang ZhuYi Lin

Communications in computer and information science Year: 2021 Pages: 77-91
© 2026 ScienceGate Book Chapters — All rights reserved.