Measuring Compositional Generalization: A Comprehensive Method on Realistic Data

Daniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman, Daniel Furrer, Sergii Kashubin, Nikola Momchev, Danila Sinopalnikov, Łukasz Stafiniak, Tibor Tihon,

arXiv (Cornell University) · 2019 · 55 citations · 20 references

DOIFull text

Open access

Concepts

TL;DR

State‑of‑the‑art machine learning methods exhibit limited compositional generalization, and realistic benchmarks to measure this ability are lacking. The study introduces a method for constructing compositional generalization benchmarks that maximizes compound divergence while keeping atom divergence low, and demonstrates its application to both a new dataset and the SCAN dataset. The method constructs benchmarks by maximizing compound divergence and minimizing atom divergence, and is applied to a large realistic natural language question‑answering dataset and to the SCAN dataset to analyze compositional generalization of three machine learning architectures. The benchmarks reveal that the architectures fail to generalize compositionally and that higher compound divergence is strongly negatively correlated with accuracy.

Abstract

State-of-the-art machine learning methods exhibit limited compositional generalization. At the same time, there is a lack of realistic benchmarks that comprehensively measure this ability, which makes it challenging to find and evaluate improvements. We introduce a novel method to systematically construct such benchmarks by maximizing compound divergence while guaranteeing a small atom divergence between train and test sets, and we quantitatively compare this method to other approaches for creating compositional generalization benchmarks. We present a large and realistic natural language question answering dataset that is constructed according to this method, and we use it to analyze the compositional generalization ability of three machine learning architectures. We find that they fail to generalize compositionally and that there is a surprisingly strong negative correlation between compound divergence and accuracy. We also demonstrate how our method can be used to create new compositionality benchmarks on top of the existing SCAN dataset, which confirms these findings.

References

20