Gradient-Free Editing for Attribute Invariance in Graph Neural Networks
Aastha A K Verma, Vishakha Agarwal, Sahil Manchanda, Sayan Ranu
NeurIPS page · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Graph Neural Network Explainability · Type: new method · Keywords: gradient-free editing, attribute invariance, graph neural networks, model editing, post-deployment
Areas: Graph Learning › Graph Analysis Methods › Graph Neural Network Uncertainty
Summary
The paper presents a gradient-free editing framework that surgically removes sensitive attribute influence from deployed graph neural networks without retraining, by identifying influential nodes, isolating the low-rank activation subspace of attribute variation, and computing a closed-form weight update that decouples decisions from the target attribute.
Explained to a 5-year-old
When a computer program learns to make decisions about graphs, sometimes it uses a hidden trait like gender or color to decide. After the program is used in the real world, we might want to stop it from using that trait. We have a new way to change the program so it forgets that trait, without having to teach it again. The new method finds the important parts of the program that cause the trait to matter and tweaks them. This makes the program fairer and still works well, and it is much faster than before.
Explained to a 5-year-old, longer
A computer program that looks at graphs can learn to make predictions. Sometimes it accidentally pays attention to a hidden characteristic, like someone's gender or the color of something. After the program is released, we might realize we don't want it to use that characteristic. Retraining the whole program from scratch is often too hard because the graphs are huge and we might not have the original data. Changing just a small part of the program without retraining is tricky because the graph connections spread influence everywhere. Researchers have created a way to edit the program after it has been trained, without needing the original training data. The method looks for the nodes (important points) in the graph that cause the unwanted characteristic to affect the predictions. It then finds a small space where the unwanted variation lives and adjusts the program's weights directly. This adjustment removes the influence of the hidden trait while keeping the program's predictions accurate. The new editing process does not add any new parameters to the program. It can be done in a single step, making it extremely fast compared to older editing techniques. As a result, we can quickly make graph models fairer and more trustworthy without a lot of extra work.
For a technical reader
The paper addresses the need to modify a deployed graph neural network (GNN) to remove a sensitive attribute without retraining. It proposes a gradient-free editing procedure that finds influential nodes, isolates the low-rank activation subspace where the attribute’s effect lives, and computes a closed-form weight update that decouples decisions from that attribute. The update requires no training labels, adds no parameters, and runs in a single pass, offering speed-ups of three orders of magnitude over existing editing methods. Empirical evaluations show the edited model retains predictive performance while achieving the desired invariance. This approach enables rapid, privacy-preserving model corrections for large-scale graph models.
Problem
When a deployed graph neural network must be modified to remove a sensitive attribute or eliminate spurious correlations, retraining is often infeasible due to scale, inaccessible training data, or privacy constraints. In graph-structured data, attribute dependencies propagate through message-passing, making it difficult to edit the model locally without affecting the rest of the network.
Method
The approach identifies structurally influential nodes that exhibit high attribute sensitivity, isolates the low-rank manifold in activation space where sensitive variation is concentrated, and solves directly for a weight update that decouples the model's decision logic from the target attribute, all without requiring training labels or adding parameters.
Results
The approach enforces attribute invariance while preserving predictive utility and achieves a speed-up of three orders of magnitude compared to existing GNN editing methods.
Contributions
It provides a gradient-free, post-hoc editing framework for GNNs that can surgically remove attribute influence without retraining, requires no training data, adds no parameters, and runs orders of magnitude faster than prior approaches.
Practical relevance
It enables rapid, privacy-preserving updates of large graph models, allowing correction of undesirable attribute influence without costly retraining.
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