mlsanityData to 7 Oct 2026

CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representations

arXiv 2210.06350 ↗First posted 12 Oct 2022cs.LG cs.AI cs.NEcited by 12

Not on the map. Why?

Abstract (arXiv)

Well-designed diagnostic tasks have played a key role in studying the failure of neural nets (NNs) to generalize systematically. Famous examples include SCAN and Compositional Table Lookup (CTL). Here we introduce CTL++, a new diagnostic dataset based on compositions of unary symbolic functions. While the original CTL is used to test length generalization or productivity, CTL++ is designed to test systematicity of NNs, that is, their capability to generalize to unseen compositions of known functions. CTL++ splits functions into groups and tests performance on group elements composed in a way not seen during training. We show that recent CTL-solving Transformer variants fail on CTL++. The simplicity of the task design allows for fine-grained control of task difficulty, as well as many insightful analyses. For example, we measure how much overlap between groups is needed by tested NNs for learning to compose. We also visualize how learned symbol representations in outputs of functions from different groups are compatible in case of success but not in case of failure. These results provide insights into failure cases reported on more complex compositions in the natural language domain. Our code is public.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 17 of its 26 references that are in the map. First posted on arXiv 12 Oct 2022.

Builds on

17 of 26 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2016Layer Normalizationcited by 5,579
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  8. 2018Universal Transformerscited by 613
  9. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  10. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  11. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  12. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
5 more
  1. 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
  2. 2018Memorize or generalize? Searching for a compositional RNN in a haystackcited by 41
  3. 2019Location Attention for Extrapolation to Longer Sequencescited by 33
  4. 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
  5. 2018Learning compositionally through attentive guidancecited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 6; 2025: 2; 2026: 1.

12 papers.