← Back to all articles
arXiv cs.CLSeptember 14, 2026

Type Diversity Enables Transformers to Generalise Compositionally

Excerpt

arXiv:2609.13144v1 Announce Type: new Abstract: Compositional generalisation has been divided into lexical and structural generalisation. Previous work has found that structural generalisation is harder than lexical for Transformers. We propose that this difference is not inherent to Transformers, but due to the high diversity of lexical types and low diversity of structural types in the specific datasets of these previous works. By type diversity we mean the number of different constructors of