Algebraic Representability Explains Grokking's Limiting Behavior.

Chon-Fai Kam, Xavier Cadet, Miloud Bessafi, Frederic Cadet· July 16, 2026 View original

Summary

This research explores grokking in neural networks trained on modular arithmetic, focusing on networks with holomorphic monomial activations. It demonstrates that when the network's expressible function class collapses to a finite-dimensional algebraic variety, grokking disappears, and outcomes become binary: instant success or outright failure based on algebraic representability.

The phenomenon of "grokking" in neural networks, where a delayed transition from memorization to generalization occurs, is known to depend on model capacity. This study investigates the extreme end of this spectrum by examining two-layer networks with a specific holomorphic monomial activation function, trained on modular arithmetic tasks. In this setup, the network's output is algebraically confined to a finite-dimensional subspace. The researchers found that a task is representable by such a network only if its discrete Fourier support meets a specific algebraic criterion. Crucially, if a target is not algebraically representable, the network cannot even memorize the training set, leading to a guaranteed positive lower bound on training loss. This results in a binary outcome: either instant success or complete failure, with no memorization phase or grokking observed. This suggests that when the expressible function class is severely constrained, the question shifts from *when* a network will grok to *whether* it can represent the target at all.

Why it matters

Understanding the fundamental limits of neural network expressibility and its connection to phenomena like grokking can inform the design of more robust and predictable AI models, especially in critical applications.

How to implement this in your domain

  1. 1Consider the implications of model capacity and architectural choices on generalization behavior in your AI systems.
  2. 2Investigate the algebraic properties of tasks and model architectures to predict representational limits.
  3. 3Design experiments to test for grokking or its absence in constrained neural network settings.
  4. 4Apply insights from representability theory to select appropriate model architectures for specific problem domains.

Who benefits

AI ResearchSoftware DevelopmentEducationCybersecurity

Key takeaways

  • Grokking behavior is linked to neural network capacity and expressibility.
  • Algebraic representability can define the limits of what a network can learn.
  • In extreme cases, grokking disappears, leading to binary success or failure.
  • Understanding these limits is crucial for designing predictable AI models.

Original post by Chon-Fai Kam, Xavier Cadet, Miloud Bessafi, Frederic Cadet

"arXiv:2607.13749v1 Announce Type: new Abstract: Neural networks trained on modular arithmetic exhibit grokking, a delayed transition from memorisation to generalisation known to depend on model capacity: too little and the network memorises slowly or not at all, too much and it g…"

View on X

Originally posted by Chon-Fai Kam, Xavier Cadet, Miloud Bessafi, Frederic Cadet on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Research

AI Engineering & DevToolsAI Research

NodeImport Improves Imbalanced Node Classification on Graphs

NodeImport is a new framework addressing class imbalance in graph node classification by assessing node importance to create a balanced meta-set for training. It dynamically filters valuable labeled, unlabeled, and synthetic nodes, outperforming existing baselines across various datasets and GNN architectures.

Nan Chen, Zemin Liu, Bryan Hooi, Bingsheng He, Jun Hu, Jia ChenJul 16, 2026
AI ResearchAI Engineering & DevTools

Neural Spline Flows Aid Dark Matter Search in CMS Data.

This paper reports a search for dark matter produced with a leptonically decaying Z boson using CMS Run 2015D open data and Neural Spline Flows. The method models signal and background densities to set upper limits on signal-strength parameters for various dark matter mediators, though observed limits are weaker than expected due to background modeling discrepancies.

Hitesh Rasineni (VIT-AP University, Amaravati, India), Bhavishya Chebrolu (Mohan Babu University, Tirupati, India)Jul 16, 2026
AI Engineering & DevToolsAI Research

Multiplex Graph Transformer Boosts Power Grid Model Generalization.

Researchers introduce MxGPS, a multiplex graph transformer designed to overcome "topology overfitting" in power grid problems. By jointly training on multiple tasks with a shared encoder, MxGPS achieves superior zero-shot generalization across unseen grid topologies, demonstrating high accuracy and low boundary violation rates with significantly fewer parameters.

Charilaos Papaioannou, Ioannis Tsantilas, Dimitris Giannakakos, Vasilis Michalakopoulos, Sotiris Pelekis, Vangelis Marinakis, Arsam Aryandoust, Antonello Monti, Ricardo J. Bessa, Perdo P. Vergara, Jochen Cremer, Elissaios SarmasJul 16, 2026