paper-with-me

Papers

On Provable Length and Compositional Generalization

2024-02-07 · Kartik Ahuja, Amin Mansouri

Out-of-distribution generalization capabilities of sequence-to-sequence models can be studied from the lens of two crucial forms of generalization: length generalization -- the ability to generalize to longer sequences than ones seen during training, and compositional generalization: the ability to generalize to token combinations not seen during training. In this work, we provide first provable guarantees on length and compositional generalization for common sequence-to-sequence models -- deep sets, transformers, state space models, and recurrent neural nets -- trained to minimize the prediction error. We show that limited capacity versions of these different architectures achieve both length and compositional generalization provided the training distribution is sufficiently diverse. In the first part, we study structured limited capacity variants of different architectures and arrive at the generalization guarantees with limited diversity requirements on the training distribution. In the second part, we study limited capacity variants with less structural assumptions and arrive at generalization guarantees but with more diversity requirements on the training distribution.

📄 PDF Abstract BibTeX arXiv:2402.04875

Code (1)

facebookresearch/length-and-compositional-generalization 공식 구현 pytorch

Tasks

DiversityOut-of-Distribution GeneralizationState Space Models

Similar Papers 제목 키워드 기반

Provable Compositional Generalization for Object-Centric Learning

2023-10-09 · Thaddäus Wiedemer, Jack Brady, Alexander Panfilov, Attila Juhos 외

Learning representations that generalize to novel compositions of known concepts is crucial for bridging the gap between human and machine perception. One prominent effort is learning object-centric representations, whic…

DecoderObject

Local Mechanisms of Compositional Generalization in Conditional Diffusion

2025-09-19 · Arwen Bradley arxiv

Conditional diffusion models appear capable of compositional generalization, i.e., generating convincing samples for out-of-distribution combinations of conditioners, but the mechanisms underlying this ability remain unc…

Provable Length Generalization in Sequence Prediction via Spectral Filtering

2024-11-01 · Annie Marsden, Evan Dogariu, Naman Agarwal, Xinyi Chen 외

We consider the problem of length generalization in sequence prediction. We define a new metric of performance in this setting -- the Asymmetric-Regret -- which measures regret against a benchmark predictor with longer c…

Prediction

Compositional Generalization in Spoken Language Understanding

2023-12-25 · Avik Ray, Yilin Shen, Hongxia Jin

State-of-the-art spoken language understanding (SLU) models have shown tremendous success in benchmark SLU datasets, yet they still fail in many practical scenario due to the lack of model compositionality when trained o…

Spoken Language Understanding

Dynamic MOdularized Reasoning for Compositional Structured Explanation Generation

2023-09-14 · Xiyan Fu, Anette Frank

Despite the success of neural models in solving reasoning tasks, their compositional generalization capabilities remain unclear. In this work, we propose a new setting of the structured explanation generation task to fac…

Explanation Generation