Grokking Is Not Convergence: A Representation Metric Audit

Effective rank overstates convergence 3-5x at the grokking transition. Learn how to audit representation metrics and measure convergence reliably.

viernes, 31 de julio de 2026 • 6 min read • Q2BSTUDIO Team

Por qué las métricas sobreestiman la convergencia en grokking

Machine learning has popularized the idea that a neural network generalizes when its accuracy stabilizes. However, the phenomenon known as grokking shows that the story is more complex: a model can appear to converge and, much later, continue reorganizing its internal representations. This distinction is not academic; it affects the validation, deployment, and auditing of AI systems in business environments.

In experiments with modular arithmetic, researchers have observed that a network's embedding continues to compress for tens of thousands of steps after accuracy has already reached a high level. The effective rank metric, used to measure that compression, tends to overestimate the final converged value. In a multilayer perceptron, that overestimate can be three to five times; in a transformer, 1.3 to 1.5 times. If training is stopped right at the grokking transition, an incomplete picture of the model is obtained.

Effective rank is used to estimate how many dimensions of an embedding are truly informative. A drop in rank suggests that the network is simplifying its representation, discarding irrelevant information. However, this simplification can continue long after accuracy has stabilized, making rank an indicator of maturity rather than convergence.

The time gap between accuracy and compression is not small. In the environments studied, compression continues during an interval comparable to the time the model takes to reach grokking, in some cases at least ten thousand steps after accuracy has stabilized. This instability window is particularly relevant when deciding when to deploy a model to production.

Architecture also modifies the balance between the two dynamics. Adding a normalization layer to a transformer changes the fraction of compression completed at grokking time notably: from 0.87 to 0.25. This means the same task can show almost all of its compression or barely a quarter at the moment accuracy appears to converge. A pre-registered control ruled out scale invariance as the explanation, reinforcing the need for rigorous experimental designs and for not attributing effects to apparent mechanisms.

To avoid incorrect conclusions, a representation audit must separate the onset of generalization from later compression. It must also detect censoring: if training is stopped early, the metric may reflect an intermediate value that will never be final. In addition, boundary cells that never fully generalize should be excluded, and the reference floor should be checked to ensure it has stopped decreasing. Without these conditions, effective rank and other similar measures can induce false confidence.

The research community itself has developed adversarial suites to test evaluation methods. In one of them, a false-confidence bug was detected in an internal code branch. This finding underscores that measurement tools also need to be audited. If a metric can fail silently, any decision based on it must be reviewed.

The difference between accuracy and compression has practical consequences. A network may have learned to solve the task, but its internal layers are still moving. This affects auxiliary tasks, transfer learning, interpretability, and robustness to perturbations. For a company deploying AI, relying only on the loss curve or exactness is risky.

False confidence is a hidden cost in AI projects. If a metric says the model has converged when in reality its representation is still changing, decisions based on that model can degrade without anyone noticing. In regulated sectors, this lack of visibility can also create compliance problems. Therefore, incorporating representation audits into MLOps flows is essential.

In a business context, models rarely operate in isolation. A conversational assistant, a recommendation system, or an anomaly detector coexists with other software components, changing data flows, and regulatory requirements. Therefore, validation must continue after deployment. Measuring in the lab is not enough; the evolution of representations must be monitored in production.

At Q2BSTUDIO, a software development and technology company, we apply this vision in every project. We design custom software with a continuous evaluation layer that is not limited to accuracy. When building AI solutions and AI agents, we incorporate robustness tests, representation monitoring, and bias audits. We also integrate cloud AWS/Azure infrastructure to scale experiments safely and reproducibly.

The same logic applies to the rest of the technology stack. A dashboard based on BI/Power BI is not reliable if the underlying data is not audited. A system protected by cybersecurity is not robust if detection metrics are evaluated only at a single instant. Continuous monitoring, traceability, and separating signal from noise are cross-cutting competencies that Q2BSTUDIO applies both in cloud solutions and in on-premises environments.

Precisely, when we talk about AI agents and process automation, the risk multiplies. An agent that executes actions on behalf of a company needs continuous validation of its internal representations, because a silent error can propagate to multiple systems. The combination of good cybersecurity practices, robust cloud, and model auditing is the only way to operate at scale with guarantees.

From an interpretability perspective, grokking forces us to rethink what it means to understand a model. If representations change for thousands of steps after accuracy, any explanation extracted at an early time can become obsolete. Therefore, explainability tools must operate on stable models, not on frozen snapshots.

Research has also tested generalizations that do not survive contact with other architectures. A depth law linking the norm budget to the converged floor may have worked in one type of network, but it failed a generality test on a transformer and, moreover, changed sign when weight decay was applied. This result is a reminder that empirical regularities must be validated under broad conditions before becoming engineering principles.

The general lesson is that representation metrics must be interpreted with context. An effective rank value does not mean the same thing in an MLP as in a transformer, nor with or without normalization. Transparency about those conditions is as important as the calculation itself. Software companies that adopt AI must demand from their technical teams reports that detail not only the result, but also the measurement method and its limitations.

For organizations that develop software, this demands changing the acceptance criteria of a model. Setting a minimum accuracy is not enough. Representation stability thresholds must be defined, the reference floor must be checked to have plateaued, and the evolution of internal metrics must be documented. Otherwise, a model can pass the tests and still behave unstably in production.

In short, grokking is not convergence. Accuracy can stabilize while representations keep compressing, and the metrics that measure that compression require careful audits. For Q2BSTUDIO, technical excellence means understanding these nuances and building AI systems that not only get things right, but are understandable, traceable, and reliable. From AI solutions to custom software, the key is not to confuse a metric with reality.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.