Arachne: Search Based Repair of Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
The rapid and widespread adoption of Deep Neural Networks (DNNs) has called for ways to test their behaviour, and many testing approaches have successfully revealed misbehaviour of DNNs. However, it is relatively unclear what one can do to correct such behaviour after revelation, as retraining involves costly data collection and does not guarantee to fix the underlying issue. This paper introduces Arachne, a novel program repair technique for DNNs, which directly repairs DNNs using their input-output pairs as a specification. Arachne localises neural weights on which it can generate effective patches and uses Differential Evolution to optimise the localised weights and correct the misbehaviour. An empirical study using different benchmarks shows that Arachne can fix specific misclassifications of a DNN without reducing general accuracy significantly. On average, patches generated by Arachne generalise to 61.3% of unseen misbehaviour, whereas those by a state-of-the-art DNN repair technique generalise only to 10.2% and sometimes to none while taking tens of times more than Arachne. We also show that Arachne can address fairness issues by debiasing a gender classification model. Finally, we successfully apply Arachne to a text sentiment model to show that it generalises beyond Convolutional Neural Networks.
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 5; 2024: 6; 2025: 12; 2026: 2.
26 papers.
Sort:
By area:
- 2024Machine Learning Robustness: A Primercited by 8
- 2023Neuron Patching: Semantic-based Neuron-level Language Model Repair for Code Generationcited by 5
- 2022AIREPAIR: A Repair Platform for Neural Networkscited by 4
- 2023Repairing Deep Neural Networks Based on Behavior Imitationcited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
- 2024DNN Modularization via Activation-Driven Trainingcited by 3
- 2025COSMosFL: Ensemble of Small Language Models for Fault Localisationcited by 3
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generationcited by 2
- 2025Feature-Guided Analysis of Neural Networks: A Replication Studycited by 2
- 2025A Comprehensive Study of Deep Learning Model Fixing Approachescited by 2
- 2024One-Shot Domain Incremental Learningcited by 1
14 more
- 2025On Accelerating Deep Neural Network Mutation Analysis by Neuron and Mutant Clusteringcited by 1
- 2025An Experience Report on Regression-Free Repair of Deep Neural Network Modelcited by 1
- 2023Hazards in Deep Learning Testing: Prevalence, Impact and Recommendationscited by 0
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networkscited by 0
- 2024Patch Synthesis for Property Repair of Deep Neural Networkscited by 0
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learningcited by 0
- 2025Causality-Driven Neural Network Repair: Challenges and Opportunitiescited by 0
- 2025PRUNE: A Patching Based Repair Framework for Certifiable Unlearning of Neural Networkscited by 0
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmapcited by 0
- 2025FairFLRep: Fairness aware fault localization and repair of Deep Neural Networkscited by 0
- 2025DeepProv: Behavioral Characterization and Repair of Neural Networks via Inference Provenance Graph Analysiscited by 0
- 2025Provable Repair of Deep Neural Network Defects by Preimage Synthesis and Property Refinementcited by 0
- 2026Provable Fairness Repair for Deep Neural Networkscited by 0
- 2026RepTran: Search-Based Repair of Transformer Modelscited by 0
- 2026RepTran: Search-Based Repair of Transformer Models13 Jul 2026
- 2026Provable Fairness Repair for Deep Neural Networks19 May 2026
- 2025A Comprehensive Study of Deep Learning Model Fixing Approaches26 Dec 2025
- 2025Provable Repair of Deep Neural Network Defects by Preimage Synthesis and Property Refinement11 Nov 2025
- 2025Feature-Guided Analysis of Neural Networks: A Replication Study28 Oct 2025
- 2025DeepProv: Behavioral Characterization and Repair of Neural Networks via Inference Provenance Graph Analysis30 Sep 2025
- 2025FairFLRep: Fairness aware fault localization and repair of Deep Neural Networks11 Aug 2025
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmap26 May 2025
- 2025PRUNE: A Patching Based Repair Framework for Certifiable Unlearning of Neural Networks10 May 2025
- 2025Causality-Driven Neural Network Repair: Challenges and Opportunities24 Apr 2025
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generation17 Mar 2025
- 2025An Experience Report on Regression-Free Repair of Deep Neural Network Model10 Mar 2025
14 more
- 2025COSMosFL: Ensemble of Small Language Models for Fault Localisation5 Feb 2025
- 2025On Accelerating Deep Neural Network Mutation Analysis by Neuron and Mutant Clustering22 Jan 2025
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learning15 Dec 2024
- 2024DNN Modularization via Activation-Driven Training1 Nov 2024
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selection13 Sep 2024
- 2024Patch Synthesis for Property Repair of Deep Neural Networks2 Apr 2024
- 2024Machine Learning Robustness: A Primer1 Apr 2024
- 2024One-Shot Domain Incremental Learning25 Mar 2024
- 2023Neuron Patching: Semantic-based Neuron-level Language Model Repair for Code Generation8 Dec 2023
- 2023Path Analysis for Effective Fault Localization in Deep Neural Networks29 Oct 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023Hazards in Deep Learning Testing: Prevalence, Impact and Recommendations11 Sep 2023
- 2023Repairing Deep Neural Networks Based on Behavior Imitation5 May 2023
- 2022AIREPAIR: A Repair Platform for Neural Networks24 Nov 2022
- 2024Machine Learning Robustness: A Primercited by 8
- 2023Neuron Patching: Semantic-based Neuron-level Language Model Repair for Code Generationcited by 5
- 2022AIREPAIR: A Repair Platform for Neural Networkscited by 4
- 2023Repairing Deep Neural Networks Based on Behavior Imitationcited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
- 2024DNN Modularization via Activation-Driven Trainingcited by 3
- 2025COSMosFL: Ensemble of Small Language Models for Fault Localisationcited by 3
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generationcited by 2
- 2025Feature-Guided Analysis of Neural Networks: A Replication Studycited by 2
- 2025A Comprehensive Study of Deep Learning Model Fixing Approachescited by 2
- 2024One-Shot Domain Incremental Learningcited by 1
12 most cited of 23 All 23 (JSON)
- 2026RepTran: Search-Based Repair of Transformer Models13 Jul 2026
- 2026Provable Fairness Repair for Deep Neural Networks19 May 2026
- 2025A Comprehensive Study of Deep Learning Model Fixing Approaches26 Dec 2025
- 2025Feature-Guided Analysis of Neural Networks: A Replication Study28 Oct 2025
- 2025DeepProv: Behavioral Characterization and Repair of Neural Networks via Inference Provenance Graph Analysis30 Sep 2025
- 2025FairFLRep: Fairness aware fault localization and repair of Deep Neural Networks11 Aug 2025
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmap26 May 2025
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generation17 Mar 2025
- 2025An Experience Report on Regression-Free Repair of Deep Neural Network Model10 Mar 2025
- 2025COSMosFL: Ensemble of Small Language Models for Fault Localisation5 Feb 2025
- 2025On Accelerating Deep Neural Network Mutation Analysis by Neuron and Mutant Clustering22 Jan 2025
- 2024An Empirical Study of Fault Localisation Techniques for Deep Learning15 Dec 2024
12 newest of 23 All 23 (JSON)