Triangles and Grokking: How Neural Networks Discover Modular Arithmetic

The geometric structure hidden in addition mod p Prerequisites: Key Concepts for Newcomers Before diving in, let’s establish clear definitions for readers unfamiliar with machine learning or modular arithmetic. What is Modular Addition? Modular addition is “clock arithmetic.” When numbers reach a limit, they wrap around to zero. Think of a clock face with 12 […]