Compositional Generalization via Structural Identification in a Category-Theoretic Framework
Organizations: The University of Tokyo Tokyo, Japan · CNRS Paris, France
Abstract
Compositional generalization is usually evaluated through model accuracy. We instead ask which structural or lexical identifications make held-out COGS examples admissible from the structures observed in training. Sentences are represented as functors from syntactic addresses to lexical tokens, and selective collapses induce Kan extensions that propagate observed associations. Across 21 COGS generalization types, admissibility follows distinct identification profiles, while residual failures separate unsupported structural templates. These data-side diagnoses characterize what the training corpus licenses under specified identifications, without training a predictive model.
Figures & tables
| Map | Identification | Example |
|---|---|---|
| No identification | ||
| Collapse recursive depth | ||
| Retain only the final relation | ||
| Identify argument roles | ||
| Identify broad structural roles |
| Generalization type | id | rec | last | arg | arg |
|---|---|---|---|---|---|
| Frame alternation (6) | 0.878–0.903 | 0.878–0.903 | 0.888–0.914 | 0.890–0.914 | 1.000 |
| Clausal embedding (1) | 0.000 | 0.010 | 0.998 | 0.998 | 1.000 |
| Argument-position shift (7) | 0.000 | 0.000 | 0.000 | 0.998–1.000 | 1.000 |
| Modifier-position shift (1) | 0.025 | 0.025 | 0.604 | 0.920 | 0.922 |
| Primitive-to-role (5) | 0.000 | 0.000 | 0.000 | 0.000 | 1.000 |
| Unbounded modifier depth (1) | 0.000 | 0.003 | 0.220 | 0.220 | 0.222 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| type | id | rec | last | arg | role | arg+ | gate |
|---|---|---|---|---|---|---|---|
| passive_to_active | .878 | .878 | .888 | .890 | 1.000 | 1.000 | – |
| active_to_passive | .895 | .895 | .895 | .895 | 1.000 | 1.000 | – |
| unacc_to_transitive | .885 | .885 | .896 | .898 | 1.000 | 1.000 | – |
| obj_omitted_transitive_to_transitive | .885 | .885 | .896 | .898 | 1.000 | 1.000 | – |
| do_dative_to_pp_dative | .894 | .894 | .911 | .911 | .999 | 1.000 | – |
| pp_dative_to_do_dative | .903 | .903 | .914 | .914 | .999 | 1.000 | – |
| Generalization type | Associated identification | Transformer |
|---|---|---|
| Frame alternation (6) | none | 0.38–0.99 |
| Argument-position shift (7) | 0.30–0.87 | |
| Clausal embedding (1) | 0.00 | |
| Modifier-position shift (1) | 0.00 | |
| Primitive-to-role (5) | 0.00–0.17 | |
| Unbounded modifier depth (1) | unresolved | 0.00 |
Compositional Generalization
Compositional generalization is the ability to combine learned parts and rules in ways that transfer to unseen combinations.
See all 113 papers