TensorMutation: Learning Weight-Space Mutations of Deep Learning Models on Neural Graphs
Not on the map. Why?
Abstract (arXiv)
Mutation testing for deep learning (DL) faces a cost-realism trade-off. The pre-training approach produces realistic but computationally expensive mutants, whereas existing post-training operators modify trained models efficiently but produce mutants that less closely resemble real faults. This study asks whether the trade-off is necessary: can the weight-space effect of a fault-informed pre-training mutation operator be predicted from a trained model, without retraining it? We answer this question with TensorMutation, which represents a trained model as a neural graph and uses a mutation-conditioned graph neural network (GNN) to predict parameter changes. The GNN is trained offline and reused across unseen models so that TensorMutation can generate executable mutants without retraining. We construct a corpus of 25,252 original-mutant pairs from 71 multilayer perceptron (MLP) classifiers using 11 fault-informed pre-training operators, including 25 newly curated subjects. TensorMutation partially reproduces the behavioral effects of pre-training mutations on nine held-out subjects, and direct weight-space supervision significantly improves weight-space fidelity. On 12 real-fault subjects, TensorMutation achieves the highest median behavioral similarity among the evaluated approaches. The improvement over the post-training tool DeepMutation++ is statistically significant (Holm-adjusted p=0.018), whereas the differences from the pre-training tool DeepCrime and the norm-matched random control are not significant. These results show that fault-informed pre-training mutations leave learnable structure in weight space that transfers to unseen models.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 34 of its 67 references that are in the map. Submitted 6 Nov 2026.
Builds on
34 of 67 references.
References · 34
- 2017Neural Message Passing for Quantum Chemistrycited by 3,554
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,620
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 519
- 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 313
- 2023Equivariant Architectures for Learning in Deep Weight Spacescited by 132
- 2020Predicting Neural Network Accuracy from Weightscited by 131
- 2019Taxonomy of Real Faults in Deep Learning Systemscited by 100
- 2023Permutation Equivariant Neural Functionalscited by 85
- 2020Classifying the classifier: dissecting the weight space of neural networkscited by 73
- 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 70
- 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 69
- 2023Graph Metanetworks for Processing Diverse Neural Architecturescited by 68
22 more
- 2024Graph Neural Networks for Learning Equivariant Representations of Neural Networkscited by 66
- 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 49
- 2024Interpreting the Weight Space of Customized Diffusion Modelscited by 40
- 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 39
- 2019Arachne: Search Based Repair of Deep Neural Networkscited by 29
- 2026A Survey of Weight Space Learning: Understanding, Representation, and Generationcited by 28
- 2022DeepFD: Automated Fault Diagnosis and Localization for Deep Learning Programscited by 18
- 2025Generative Modeling of Weights: Generalization or Memorization?cited by 18
- 2024Accelerating Training with Neuron Interaction and Nowcasting Networkscited by 17
- 2022Bugs in Machine Learning-based Systems: A Faultload Benchmarkcited by 16
- 2021A Search-Based Testing Framework for Deep Neural Networks of Source Code Embeddingcited by 14
- 2021DeepMetis: Augmenting a Deep Learning Test Set to Increase its Mutation Scorecited by 14
- 2023REIN: A Comprehensive Benchmark Framework for Data Cleaning Methods in ML Pipelinescited by 13
- 2024Towards Understanding the Impact of Data Bugs on Deep Learning Models in Software Engineeringcited by 7
- 2025Structure Is Not Enough: Leveraging Behavior for Neural Network Weight Reconstructioncited by 7
- 2023Mutation-based Fault Localization of Deep Neural Networkscited by 6
- 2023TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural Networkscited by 4
- 2025MuFF: Stable and Sensitive Post-training Mutation Testing for Deep Learningcited by 3
- 2025An Empirical Study of the Realism of Mutants in Deep Learningcited by 3
- 2025On Accelerating Deep Neural Network Mutation Analysis by Neuron and Mutant Clusteringcited by 2
- 2024Real Faults in Deep Learning Fault Benchmarks: How Real Are They?cited by 1
- 2026Quality-Driven Selective Mutation for Deep Learningcited by 1
Built on by
Not cited yet.