The Box is in the Pen: Evaluating Commonsense Reasoning in Neural Machine Translation

Jie He, Tao Wang, Deyi Xiong, Qun Liu
3/5/2025
cs.CL

Official code: tjunlp-lab/CommonMT (8 stars, last commit 2023-05-02).

Abstract

Does neural machine translation yield translations that are congenial with common sense? In this paper, we present a test suite to evaluate the commonsense reasoning capability of neural machine translation. The test suite consists of three test sets, covering lexical and contextless/contextual syntactic ambiguity that requires commonsense knowledge to resolve. We manually create 1,200 triples, each of which contain a source sentence and two contrastive translations, involving 7 different common sense types. Language models pretrained on large-scale corpora, such as BERT, GPT-2, achieve a commonsense reasoning accuracy of lower than 72% on target translations of this test suite. We conduct extensive experiments on the test suite to evaluate commonsense reasoning in neural machine translation and investigate factors that have impact on this capability. Our experiments and analyses demonstrate that neural machine translation performs poorly on commonsense reasoning of the three ambiguity types in terms of both reasoning accuracy (60.1%) and reasoning consistency (31%). The built commonsense test suite is available at https://github.com/tjunlp-lab/CommonMT.

View on arXivView PDF

Code Implementations(1)

83Oct 2, 20203 years ago

Similar Papers

Cite this paper

@article{he2025pen,
  title  = {The Box is in the Pen: Evaluating Commonsense Reasoning in Neural Machine Translation},
  author = {Jie He and Tao Wang and Deyi Xiong and Qun Liu},
  year   = {2025},
  eprint = {2503.03308},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03308v1}
}

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

Discussion