What makes Models Compositional? A Theoretical View: With Supplement

Parikshit Ram, Tim Klinger, Alexander G. Gray
5/2/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Compositionality is thought to be a key component of language, and various compositional benchmarks have been developed to empirically probe the compositional generalization of existing sequence processing models. These benchmarks often highlight failures of existing models, but it is not clear why these models fail in this way. In this paper, we seek to theoretically understand the role the compositional structure of the models plays in these failures and how this structure relates to their expressivity and sample complexity. We propose a general neuro-symbolic definition of compositional functions and their compositional complexity. We then show how various existing general and special purpose sequence processing models (such as recurrent, convolution and attention-based ones) fit this definition and use it to analyze their compositional complexity. Finally, we provide theoretical guarantees for the expressivity and systematic generalization of compositional models that explicitly depend on our proposed definition and highlighting factors which drive poor empirical performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ram2024what,
  title  = {What makes Models Compositional? A Theoretical View: With Supplement},
  author = {Parikshit Ram and Tim Klinger and Alexander G. Gray},
  year   = {2024},
  eprint = {2405.02350},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.02350v1}
}

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

Discussion