NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Generalization in Neural Networks Through the Lens of Magnitude Potential

Sahel Torkamani, Henry Gouk, Rik Sarkar

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Neural Generalization and Memorization Geometry · Type: new method · Keywords: neural network generalization, metric magnitude, representation analysis, memorization detection, grokking, decision boundaries

Areas: Interpretability › Neural Representation Analysis › Spectral Learning Analysis

Summary

The paper introduces a metric-magnitude based quantity to study neural network generalization, showing its ratios correlate with Feldman memorization scores and reveal decision-boundary changes and grokking.

Explained to a 5-year-old

Scientists want to understand how computer brains learn and remember things. They made a new special number that tells how well the brain knows each thing it sees. This number helps them see when the brain starts to really understand things and when it remembers them well. It also shows when the brain changes how it decides what belongs where. The new number still works even when the brain uses other tricks.

Explained to a 5-year-old, longer

Scientists study how big computer brains learn and remember information. They noticed it was hard to tell if a brain really understood something or just memorized it. To help with this, they created a new way to measure how well the brain represents each piece of information. This measurement looks at how the brain groups similar things together and separates different things. By looking at the ratio of how well a specific group is represented compared to all groups, they can see patterns. They found that this ratio matches up with known scores that measure how much the brain memorizes individual examples. When they looked at many examples together, the ratio showed changes in the brain's decision boundaries. It also gave a signal of a phenomenon called grokking, where the brain suddenly understands a task deeply. Even when they tried to stop another known effect called neural collapse, this new ratio still gave useful information. This helps researchers diagnose when a brain is learning, remembering, and making new rules. The new measurement is simple enough to apply to many different kinds of computer brains. Overall, it gives a clearer picture of how neural networks generalize and develop understanding.

For a technical reader

The work defines a representation-quality metric derived from metric magnitude theory and computes class-to-overall ratios at the logit layer. These ratios capture memorization, decision-boundary shifts, and grokking, correlating with Feldman scores and remaining informative even when neural collapse is suppressed. The approach offers a unified geometric lens for diagnosing generalization dynamics across tasks.

Problem

Understanding how neural networks generalize and the dynamics of their training is difficult, and existing approaches do not fully capture the geometric representation of points. There is a need for a general, theoretically grounded measure that can reveal aspects of generalization such as memorization and grokking.

Method

The approach defines a quantity based on metric magnitude theory that reflects how well an arbitrary point is represented by a given set, computes ratios of class-specific to overall representation at the logit layer, and aggregates these ratios to detect changes in decision boundaries and grokking. Experiments evaluate correlations with existing memorization scores and compare with related geometric phenomena.

Results

The approach finds that its ratios correlate with Feldman memorization scores and, when aggregated, reveal changes in decision boundaries and grokking in modular arithmetic, even when neural collapse is suppressed.

Contributions

It introduces a theoretically grounded quantity based on metric magnitude theory for measuring point representation, demonstrates its utility for diagnosing memorization, decision-boundary dynamics, and grokking, and shows its robustness compared to neural collapse.

Research questions this paper is counted under

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