News for hackers. Stuff that matters.
Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by getnormality on Friday November 07, 2025 @08:25AM (#45846088)
Thank you!

I think you may have accidentally switched low and high in #2, no? The abstract speaks of high curvature as associated with memorization:

> curvature for memorized training points is much sharper than non memorized

Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by andy12_ on Friday November 07, 2025 @09:57AM (#45847065)
Actually, no! Look at this in the paper

> In extending from studying per-example to bulk memorization, we propose a novel inversion of the previous interpretation of loss curvature: while individual memorized points are associated with high curvature, the direction of curvature varies across examples, meaning that, averaged across multiple examples, memorization directions are actually flatter than generalizing directions, which maintain a consistent moderate curvature across points

Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by getnormality on Friday November 07, 2025 @10:34AM (#45847463)
Ah! I figured I should be very circumspect in the question since I hadn't read in full and there could be some crazy reason it's actually the opposite.
Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by vatsachak on Friday November 07, 2025 @11:38AM (#45848186)
The decomposition they use "averages out the points of high curvature" therefore those components of the decomposition which correspond to "higher curvature" are those components which are used across multiple data points. Therefore they are the "general reasoning"
Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by radarsat1 on Friday November 07, 2025 @08:58AM (#45846413)
This sounds more correct to me. I've read previously somewhere that better generalization is usually associated with wider, smoother minima, and this is why regularization is important, because it has a smoothing function on the loss landscape.
Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by getnormality on Friday November 07, 2025 @09:27AM (#45846730)
Yes. This is also not hard to see intuitively from scratch.

Say you have a smooth but highly flexible model y = f(x) and some data points you are fitting with a machine learning algorithm. For whatever reason, the algorithm decides it wants to reduce training error by interpolating some specific point, (x0,y0), without negatively affecting training error on nearby points. The direct, guaranteed successful way to do this is to adjust the model to y0 = f(x0) exactly on x0 by adding a Dirac delta there, leaving the rest of f exactly as-is. But this cannot be done on a differentiable model, as it would create a discontinuity. The next best thing that such a model can actually do is replace the Dirac delta with a smooth but very narrow bump (e.g. Gaussian). But this narrow bump will inevitably have extremely high curvature at x0, since the bump is flat at x0 and it has to merge with the neighborhood around x0 in a very short distance.

Think of driving: if you have to change lanes in a very short distance, you're going to have to steer hard. Steering is curvature.

Re:From Memorization to Reasoning in the Spectrum of Loss Cu... by woadwarrior01 on Friday November 07, 2025 @09:42AM (#45846897)
That's very reminiscent of the idea behind the SAM (Sharpness Aware Minimization) family of optimizers.