Machine Learning
Improved influence functions show promise for more reliable model editing
Researchers propose generalized influence functions that update only relevant parameters and eliminate bias in computational approximations, improving unlearning and model editing tasks.
Influence functions are a key technique for understanding and modifying machine learning models after training. However, they rely on linear approximations that often fall short when making significant edits to model behavior. A new paper from arXiv tackles this limitation by introducing generalized influence functions (GIFs) and a related method called pseudo-LiSSA (p-LiSSA) to make post hoc model editing more accurate and efficient.
The problem with classical influence functions#
Traditional influence functions estimate how removing or reweighting specific training examples affects a trained model's behavior. The challenge is that their linear approximation breaks down in practice—the actual effect of changing training data doesn't always match the predicted effect. The researchers identify two main culprits behind this discrepancy.
First, classical methods treat all model parameters equally when making updates, adjusting weights that have little or no connection to the data being modified. This introduces noise and unnecessary changes to the model.
Second, existing computational approaches use a technique called LiSSA to approximate inverse-Hessian-vector products, but these iterations can become unstable. Current workarounds add artificial damping to stabilize the process, but this introduces bias into the estimates.
How GIFs improve accuracy#
The new approach restricts model edits to a data-relevant subspace—only the parameters that actually influence how the model processes the target data. By leaving other parameters unchanged, GIFs reduce unwanted side effects. The authors show theoretically that this focused approach achieves tighter error bounds than classical methods, especially when the parameter subset is selected properly by avoiding low-curvature directions while preserving key gradient components.
Removing bias from Hessian estimates#
p-LiSSA addresses the second problem by solving the restricted inverse-Hessian problem directly, eliminating the bias introduced by damping. The researchers demonstrate that low-curvature directions slow convergence, but selecting the data-relevant subspace with GIFs mitigates this effect.