Algebraic Representability as the Limiting Regime of Grokking: An Exactly Solvable Model with Holomorphic Activations

· Source: Takara TLDR - Daily AI Papers · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences · Depth: Expert, quick

Summary

This study investigates grokking in neural networks by examining a limiting case where the architecture's expressible function class collapses to a finite-dimensional algebraic variety. Researchers used two-layer networks with a holomorphic monomial activation sigma(z)=z^k, trained on modular arithmetic tasks encoded via roots of unity. They found that the network output is confined to a (k+1)-dimensional subspace of characters of (Z_p)^2, representing an O(k/p^2) slice of the full function space. A task is representable if its discrete Fourier support lies on the diagonal u+v = k (mod p), or m+n=k for linear-phase targets. Non-representable targets cannot be fit, even on the training set, resulting in a positive lower bound on training loss, independent of width. Across 585 runs, this algebraic prediction matched observed outcomes with 99.8% accuracy, showing instant success or outright failure, with no memorization or grokking. This binary behavior represents the extreme end of the capacity-grokking relationship.

Key takeaway

For AI scientists designing or debugging neural networks, understanding the algebraic limits of your model's expressibility is crucial. This research demonstrates that severe architectural constraints can eliminate grokking, forcing a binary outcome of instant success or outright failure. If your network struggles with a task, consider whether its expressible function class can even represent the target, rather than solely focusing on training dynamics or capacity. This perspective shifts debugging from "why isn't it grokking?" to "can it represent this at all?".

Key insights

Constraining neural network expressibility to an algebraic variety eliminates grokking, leading to binary representability outcomes.

Principles

Method

The study used two-layer networks with sigma(z)=z^k holomorphic monomial activation, trained on modular tasks encoded via roots of unity, to analyze algebraic representability.

In practice

Topics

Best for: Research Scientist, AI Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Takara TLDR - Daily AI Papers.