CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representations
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Layer Normalizationcited by 5,579
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2018Universal Transformerscited by 613
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
5 more
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2018Memorize or generalize? Searching for a compositional RNN in a haystackcited by 41
- 2019Location Attention for Extrapolation to Longer Sequencescited by 33
- 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
- 2018Learning compositionally through attentive guidancecited by 11
Built on by
Citing papers per year: 2023: 3; 2024: 6; 2025: 2; 2026: 1.
12 papers.
- 2024A Philosophical Introduction to Language Models -- Part I: Continuity With Classic Debatescited by 22
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 21
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformerscited by 19
- 2024Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizingcited by 15
- 2025An Analysis for Reasoning Bias of Language Models with Small Initializationcited by 13
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategiescited by 9
- 2023Modularity in Deep Learning: A Surveycited by 3
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practicecited by 3
- 2024A Neural Rewriting System to Solve Algorithmic Problemscited by 2
- 2024On the Design Space Between Transformers and Recursive Neural Netscited by 1
- 2023Self-Organising Neural Discrete Representation Learning `a la Kohonencited by 0
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Pathcited by 0
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Path16 Apr 2026
- 2025An Analysis for Reasoning Bias of Language Models with Small Initialization5 Feb 2025
- 2025Complexity Control Facilitates Reasoning-Based Compositional Generalization in Transformers15 Jan 2025
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practice14 Oct 2024
- 2024On the Design Space Between Transformers and Recursive Neural Nets3 Sep 2024
- 2024Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizing8 May 2024
- 2024A Neural Rewriting System to Solve Algorithmic Problems27 Feb 2024
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies27 Feb 2024
- 2024A Philosophical Introduction to Language Models -- Part I: Continuity With Classic Debates8 Jan 2024
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks21 Nov 2023
- 2023Modularity in Deep Learning: A Survey2 Oct 2023
- 2023Self-Organising Neural Discrete Representation Learning `a la Kohonen15 Feb 2023