Compositional Generalization Certificates via the Van Kampen Theorem
Karen Sargsyan
NeurIPS page · Open on the map
Category: Interpretability & Model Adaptation › Neural Representation and Efficiency · Type: theory · Keywords: compositional generalization, grokking plateau, Van Kampen theorem, homotopy pullback, stratified certificate
Summary
A theoretical framework uses the Van Kampen theorem to derive stratified generalization certificates for compositional tasks, predicting grokking plateaus and providing exact plateau height and error gap formulas.
Explained to a 5-year-old
A computer brain learns to solve a puzzle that involves multiplying special numbers. It gets some parts right, like simple steps, but gets the tricky combined steps wrong. The scientists used a special math idea to figure out why this happens and when it will stop. They discovered a rule that tells us how long the mistake will stay. This helps us make smarter computers that know when they are not fully ready.
Explained to a 5-year-old, longer
Imagine a robot brain that is taught a game with special numbers that multiply together. It learns to answer simple questions about each group of numbers correctly. When it tries to answer questions that mix numbers from different groups, it often gets them wrong. The researchers used a clever math trick to understand why the robot gets stuck on the mixed questions. They found that the robot stays wrong for a certain amount of time before it suddenly gets it right. The amount of time depends on how the groups overlap. They also found a formula that predicts how far off the answers will be. This helps us design better learning systems that can tell when they are not ready. By studying this simple puzzle, we can improve how computers learn to solve more complex problems. The idea can be applied to many different kinds of learning tasks. It shows that understanding the structure of a problem can prevent surprises. It also gives us tools to check if a model truly understands the whole puzzle.
For a technical reader
The paper uses algebraic topology to model how neural representations of overlapping groups interact, showing that local accuracy does not guarantee global correctness. It derives a certificate that partitions generalization behavior into strata defined by the topology of the overlap space. The height of the grokking plateau and the error gap are expressed analytically in terms of the dimension and the maximal rank of the overlap. This provides a principled way to predict when compositional failures will appear and how long they persist.
Problem
Neural networks often achieve perfect accuracy on subcomponents of a task but remain incorrect on cross-region compositions, creating puzzling plateaus. Understanding and predicting when such failures occur is a core challenge in compositional generalization.
Method
The approach models the representation space of a group as a homotopy pullback of its subgroups, leading to a stratified certificate based on connected components of Hom(C, U(d)).
Results
The framework shows the grokking plateau height is exactly 4 for dimension d=2 and provides an exact error gap c = 2(d - r_max) for cross-region predictions.
Contributions
Introduces a topological framework linking homotopy pullbacks to compositional generalization certificates, predicts which task families exhibit plateaus, and derives exact plateau height and error gap formulas.
Limitations and assumptions
The analysis assumes finite overlap between subgroups and focuses on dimension d=2; extensions to higher dimensions or more complex overlaps are not covered.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction