Focused Concatenation for Context-Aware Neural Machine Translation

Lorenzo Lupo, Marco Dinarelli, Laurent Besacier
10/24/2022
cs.CL

Official code: lorelupo/focused-concat (6 stars, Python, MIT, last commit 2023-05-03).

Abstract

A straightforward approach to context-aware neural machine translation consists in feeding the standard encoder-decoder architecture with a window of consecutive sentences, formed by the current sentence and a number of sentences from its context concatenated to it. In this work, we propose an improved concatenation approach that encourages the model to focus on the translation of the current sentence, discounting the loss generated by target context.

Show full abstract

We also propose an additional improvement that strengthen the notion of sentence boundaries and of relative sentence distance, facilitating model compliance to the context-discounted objective. We evaluate our approach with both average-translation quality metrics and contrastive test sets for the translation of inter-sentential discourse phenomena, proving its superiority to the vanilla concatenation approach and other sophisticated context-aware systems.

View on arXivView PDF

Code Implementations(1)

MIT
61Python, ShellOct 17, 20223 years agoMIT

Similar Papers

Cite this paper

@article{lupo2022focused,
  title  = {Focused Concatenation for Context-Aware Neural Machine Translation},
  author = {Lorenzo Lupo and Marco Dinarelli and Laurent Besacier},
  year   = {2022},
  eprint = {2210.13388},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13388}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.13388.svg)](https://codeofpaper.com/paper/2210.13388)

Discussion