Goodfire uses loss curvature to distinguish model memorization from reasoning and achieve selective editing
Understanding Memorization via Loss Curvature - Goodfire
Goodfire Research proposes analyzing the curvature of the model's loss landscape to distinguish directions in weight space that primarily support memorization from directions that support general computation, thereby selectively suppressing memorization without needing labeled forgotten samples. The method first uses K-FAC to approximate curvature from forward and backward pass statistics of random training sequences, then decomposes weight matrices accordingly and zeroes out low-curvature components. On language models, this method suppresses unlearned sequences not seen during training better than the SOTA unlearning method BalancedSubnet, and performance on pure logical reasoning tasks is unaffected or slightly improved. On vision transformers, the memorization rate for 10% random label noise drops from 81.6% to 3.5%, and validation accuracy rises from 67% to 71.7%.
Goodfire uses loss curvature to distinguish memorization from general computation directions, providing a label-free method for understanding model memory storage and selective editing.