CLAILGAug 12, 2021

The paradox of the compositionality of natural language: a neural machine translation case study

arXiv:2108.05885v2654 citations
Originality Incremental advance
AI Analysis

This work addresses the problem of evaluating compositional generalization in neural networks for natural language processing, highlighting the need for better benchmarks using real data, though it is incremental as it builds on existing tests.

The study investigates how neural machine translation models handle realistic compositionality in natural language, finding that models trained on more data become more compositional but sometimes fail to modulate between different levels of compositionality, with some non-compositional behaviors reflecting natural data variation.

Obtaining human-like performance in NLP is often argued to require compositional generalisation. Whether neural networks exhibit this ability is usually studied by training models on highly compositional synthetic data. However, compositionality in natural language is much more complex than the rigid, arithmetic-like version such data adheres to, and artificial compositionality tests thus do not allow us to determine how neural models deal with more realistic forms of compositionality. In this work, we re-instantiate three compositionality tests from the literature and reformulate them for neural machine translation (NMT). Our results highlight that: i) unfavourably, models trained on more data are more compositional; ii) models are sometimes less compositional than expected, but sometimes more, exemplifying that different levels of compositionality are required, and models are not always able to modulate between them correctly; iii) some of the non-compositional behaviours are mistakes, whereas others reflect the natural variation in data. Apart from an empirical study, our work is a call to action: we should rethink the evaluation of compositionality in neural networks and develop benchmarks using real data to evaluate compositionality on natural language, where composing meaning is not as straightforward as doing the math.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes