Document Flattening: Beyond Concatenating Context for Document-Level Neural Machine Translation
Minghao Wu, George Foster, Lizhen Qu, Gholamreza Haffari

TL;DR
This paper introduces DocFlat, a novel technique for document-level neural machine translation that effectively captures long-range context beyond pseudo-document boundaries, improving translation quality.
Contribution
The paper proposes DocFlat, combining Flat-Batch Attention and Neural Context Gate to enhance context utilization in Transformer models for NMT.
Findings
Outperforms strong baselines on BLEU, COMET, and contrastive test accuracy.
Effectively captures long-range contextual information.
Validated on three benchmark datasets for English-German 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 utilize information beyond the pseudo-document boundaries. FBA allows the model to attend to all the positions in the batch and learns 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Text Readability and Simplification
MethodsMulti-Head Attention · Attention Is All You Need · Test · Layer Normalization · Linear Layer · Dense Connections · Label Smoothing · Absolute Position Encodings · Adam · Position-Wise Feed-Forward Layer
