English

Improving Compositional Generalization in Classification Tasks via Structure Annotations

Machine Learning 2021-06-22 v1 Computation and Language

Abstract

Compositional generalization is the ability to generalize systematically to a new data distribution by combining known components. Although humans seem to have a great ability to generalize compositionally, state-of-the-art neural models struggle to do so. In this work, we study compositional generalization in classification tasks and present two main contributions. First, we study ways to convert a natural language sequence-to-sequence dataset to a classification dataset that also requires compositional generalization. Second, we show that providing structural hints (specifically, providing parse trees and entity links as attention masks for a Transformer model) helps compositional generalization.

Keywords

Cite

@article{arxiv.2106.10434,
  title  = {Improving Compositional Generalization in Classification Tasks via Structure Annotations},
  author = {Juyong Kim and Pradeep Ravikumar and Joshua Ainslie and Santiago Ontañón},
  journal= {arXiv preprint arXiv:2106.10434},
  year   = {2021}
}

Comments

Accepted as a short paper at ACL 2021