mlsanityData to 7 Oct 2026

SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networks

arXiv 2106.01917 ↗First posted 3 Jun 2021cs.LG cs.LOcited by 6

Not on the map. Why?

Abstract (arXiv)

Deep neural networks (DNNs) are increasingly applied in safety-critical domains, such as self-driving cars, unmanned aircraft, and medical diagnosis. It is of fundamental importance to certify the safety of these DNNs, i.e. that they comply with a formal safety specification. While safety certification tools exactly answer this question, they are of no help in debugging unsafe DNNs, requiring the developer to iteratively verify and modify the DNN until safety is eventually achieved. Hence, a repair technique needs to be developed that can produce a safe DNN automatically. To address this need, we present SpecRepair, a tool that efficiently eliminates counter-examples from a DNN and produces a provably safe DNN without harming its classification accuracy. SpecRepair combines specification-based counter-example search and resumes training of the DNN, penalizing counter-examples and certifying the resulting DNN. We evaluate SpecRepair's effectiveness on the ACAS Xu benchmark, a DNN-based controller for unmanned aircraft, and two image classification benchmarks. The results show that SpecRepair is more successful in producing safe DNNs than comparable methods, has a shorter runtime, and produces safe DNNs while preserving their classification accuracy.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 14 of its 37 references that are in the map. First posted on arXiv 3 Jun 2021.

Builds on

14 of 37 references.

References · 14

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  3. 2013Intriguing properties of neural networkscited by 5,114
  4. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
  5. 2019HopSkipJumpAttack: A Query-Efficient Decision-Based Attackcited by 328
  6. 2016Safety Verification of Deep Neural Networkscited by 262
  7. 2019Algorithms for Verifying Deep Neural Networkscited by 221
  8. 2019Parsimonious Black-Box Adversarial Attacks via Efficient Combinatorial Optimizationcited by 49
  9. 2021Provable Repair of Deep Neural Networkscited by 39
  10. 2019Outside the Box: Abstraction-Based Monitoring of Neural Networkscited by 36
  11. 2021NNrepair: Constraint-based Repair of Neural Network Classifierscited by 24
  12. 2020Into the Unknown: Active Monitoring of Neural Networkscited by 19
2 more
  1. 2020Towards Repairing Neural Networks Correctlycited by 13
  2. 2020Provably-Robust Runtime Monitoring of Neuron Activation Patternscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 3; 2025: 0; 2026: 1.

6 papers.