Evaluating Structural Generalization in Neural Machine Translation

Ryoma Kumon, Daiki Matsuoka, Hitomi Yanaka
6/19/2024
cs.CL

No official code found. Best implementation: ynklab/SGET (1 star, MIT, last commit 2025-02-21).

Abstract

Compositional generalization refers to the ability to generalize to novel combinations of previously observed words and syntactic structures. Since it is regarded as a desired property of neural models, recent work has assessed compositional generalization in machine translation as well as semantic parsing. However, previous evaluations with machine translation have focused mostly on lexical generalization (i.e., generalization to unseen combinations of known words). Thus, it remains unclear to what extent models can translate sentences that require structural generalization (i.e., generalization to different sorts of syntactic structures). To address this question, we construct SGET, a machine translation dataset covering various types of compositional generalization with control of words and sentence structures. We evaluate neural machine translation models on SGET and show that they struggle more in structural generalization than in lexical generalization. We also find different performance trends in semantic parsing and machine translation, which indicates the importance of evaluations across various tasks.

View on arXivView PDF

Code Implementations(1)

ynklab/SGETCommunity100%
MIT
10Shell, PythonMay 27, 20241 years agoMIT

Similar Papers

Cite this paper

@article{kumon2024evaluating,
  title  = {Evaluating Structural Generalization in Neural Machine Translation},
  author = {Ryoma Kumon and Daiki Matsuoka and Hitomi Yanaka},
  year   = {2024},
  eprint = {2406.13363},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13363v1}
}

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/2406.13363.svg)](https://codeofpaper.com/paper/2406.13363)

Discussion