Outside the Box: Abstraction-Based Monitoring of Neural Networks
Not on the map. Why?
Abstract (arXiv)
Neural networks have demonstrated unmatched performance in a range of classification tasks. Despite numerous efforts of the research community, novelty detection remains one of the significant limitations of neural networks. The ability to identify previously unseen inputs as novel is crucial for our understanding of the decisions made by neural networks. At runtime, inputs not falling into any of the categories learned during training cannot be classified correctly by the neural network. Existing approaches treat the neural network as a black box and try to detect novel inputs based on the confidence of the output predictions. However, neural networks are not trained to reduce their confidence for novel inputs, which limits the effectiveness of these approaches. We propose a framework to monitor a neural network by observing the hidden layers. We employ a common abstraction from program analysis - boxes - to identify novel behaviors in the monitored layers, i.e., inputs that cause behaviors outside the box. For each neuron, the boxes range over the values seen in training. The framework is efficient and flexible to achieve a desired trade-off between raising false warnings and detecting novel inputs. We illustrate the performance and the robustness to variability in the unknown classes on popular image-classification benchmarks.
Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 5; 2023: 7; 2024: 10; 2025: 3; 2026: 4.
36 papers.
Sort:
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 93
- 2022Out-Of-Distribution Detection Is Not All You Needcited by 23
- 2022Detection of out-of-distribution samples using binary neuron activation patternscited by 15
- 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learningcited by 14
- 2021Beyond Robustness: A Taxonomy of Approaches towards Resilient Multi-Robot Systemscited by 12
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Surveycited by 12
- 2023SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agentscited by 10
- 2022Runtime Monitoring for Out-of-Distribution Detection in Object Detection Neural Networkscited by 7
- 2021Customizable Reference Runtime Monitoring of Neural Networks using Resolution Boxescited by 6
- 2021SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networkscited by 6
- 2023What, Indeed, is an Achievable Provable Guarantee for Learning-Enabled Safety Critical Systemscited by 6
- 2023A Low-cost Strategic Monitoring Approach for Scalable and Interpretable Error Detection in Deep Neural Networkscited by 6
24 more
- 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forwardcited by 6
- 2024BAM: Box Abstraction Monitors for Real-time OoD Detection in Object Detectioncited by 5
- 2021Monitoring Object Detection Abnormalities via Data-Label and Post-Algorithm Abstractionscited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2022Prioritizing Corners in OoD Detectors via Symbolic String Manipulationcited by 3
- 2024Safety Monitoring of Machine Learning Perception Functions: a Surveycited by 3
- 2024Can we Defend Against the Unknown? An Empirical Study About Threshold Selection for Neural Network Monitoringcited by 2
- 2024Monitizer: Automating Design and Evaluation of Neural Network Monitorscited by 2
- 2024Gaussian-Based and Outside-the-Box Runtime Monitoring Join Forcescited by 2
- 2024Edge Case Detection in Automated Driving: Methods, Challenges, and Future Directionscited by 2
- 2025Runtime Safety Monitoring of Deep Neural Networks for Perception: A Surveycited by 2
- 2021Abstraction and Symbolic Execution of Deep Neural Networks with Bayesian Approximation of Hidden Featurescited by 1
- 2023Runtime Monitoring DNN-Based Perceptioncited by 1
- 2025A New Perspective On AI Safety Through Control Theory Methodologiescited by 1
- 2025Out-of-Distribution Detection using Counterfactual Distancecited by 1
- 2021Hack The Box: Fooling Deep Learning Abstraction-Based Monitorscited by 0
- 2023Preventing Errors in Person Detection: A Part-Based Self-Monitoring Frameworkcited by 0
- 2024On the Detection of Anomalous or Out-Of-Distribution Data in Vision Models Using Statistical Techniquescited by 0
- 2024Attention Masks Help Adversarial Attacks to Bypass Safety Detectorscited by 0
- 2024Hallucination Detection in Virtually-Stained Histology: A Latent Space Baselinecited by 0
- 2026Bounding Box Anomaly Scoring for simple and efficient Out-of-Distribution detectioncited by 0
- 2026Unifying Runtime Monitoring Approaches for Safety-Critical Machine Learning: Application to Vision-Based Landingcited by 0
- 2026Mining Verdict Boundaries for Neural Network Verificationcited by 0
- 2026TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitorcited by 0
- 2026TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitor18 Sep 2026
- 2026Mining Verdict Boundaries for Neural Network Verification31 Jul 2026
- 2026Unifying Runtime Monitoring Approaches for Safety-Critical Machine Learning: Application to Vision-Based Landing29 Apr 2026
- 2026Bounding Box Anomaly Scoring for simple and efficient Out-of-Distribution detection24 Mar 2026
- 2025Runtime Safety Monitoring of Deep Neural Networks for Perception: A Survey8 Nov 2025
- 2025Out-of-Distribution Detection using Counterfactual Distance13 Aug 2025
- 2025A New Perspective On AI Safety Through Control Theory Methodologies30 Jun 2025
- 2024Safety Monitoring of Machine Learning Perception Functions: a Survey9 Dec 2024
- 2024Hallucination Detection in Virtually-Stained Histology: A Latent Space Baseline22 Nov 2024
- 2024Attention Masks Help Adversarial Attacks to Bypass Safety Detectors7 Nov 2024
- 2024Edge Case Detection in Automated Driving: Methods, Challenges, and Future Directions11 Oct 2024
- 2024Gaussian-Based and Outside-the-Box Runtime Monitoring Join Forces8 Oct 2024
24 more
- 2024Monitizer: Automating Design and Evaluation of Neural Network Monitors16 May 2024
- 2024Can we Defend Against the Unknown? An Empirical Study About Threshold Selection for Neural Network Monitoring14 May 2024
- 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forward12 Apr 2024
- 2024BAM: Box Abstraction Monitors for Real-time OoD Detection in Object Detection27 Mar 2024
- 2024On the Detection of Anomalous or Out-Of-Distribution Data in Vision Models Using Statistical Techniques21 Mar 2024
- 2023A Low-cost Strategic Monitoring Approach for Scalable and Interpretable Error Detection in Deep Neural Networks31 Oct 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023Runtime Monitoring DNN-Based Perception6 Oct 2023
- 2023SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agents3 Aug 2023
- 2023What, Indeed, is an Achievable Provable Guarantee for Learning-Enabled Safety Critical Systems20 Jul 2023
- 2023Preventing Errors in Person Detection: A Part-Based Self-Monitoring Framework10 Jul 2023
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validation19 May 2023
- 2022Detection of out-of-distribution samples using binary neuron activation patterns29 Dec 2022
- 2022Runtime Monitoring for Out-of-Distribution Detection in Object Detection Neural Networks15 Dec 2022
- 2022Out-Of-Distribution Detection Is Not All You Need29 Nov 2022
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Survey30 Aug 2022
- 2022Prioritizing Corners in OoD Detectors via Symbolic String Manipulation16 May 2022
- 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learning4 Oct 2021
- 2021Beyond Robustness: A Taxonomy of Approaches towards Resilient Multi-Robot Systems25 Sep 2021
- 2021Hack The Box: Fooling Deep Learning Abstraction-Based Monitors10 Jul 2021
- 2021SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networks3 Jun 2021
- 2021Customizable Reference Runtime Monitoring of Neural Networks using Resolution Boxes25 Apr 2021
- 2021Monitoring Object Detection Abnormalities via Data-Label and Post-Algorithm Abstractions29 Mar 2021
- 2021Abstraction and Symbolic Execution of Deep Neural Networks with Bayesian Approximation of Hidden Features5 Mar 2021
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 93
- 2022Out-Of-Distribution Detection Is Not All You Needcited by 23
- 2022Detection of out-of-distribution samples using binary neuron activation patternscited by 15
- 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learningcited by 14
- 2021Beyond Robustness: A Taxonomy of Approaches towards Resilient Multi-Robot Systemscited by 12
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Surveycited by 12
- 2023SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agentscited by 10
- 2022Runtime Monitoring for Out-of-Distribution Detection in Object Detection Neural Networkscited by 7
- 2021Customizable Reference Runtime Monitoring of Neural Networks using Resolution Boxescited by 6
- 2021SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networkscited by 6
- 2023What, Indeed, is an Achievable Provable Guarantee for Learning-Enabled Safety Critical Systemscited by 6
- 2023A Low-cost Strategic Monitoring Approach for Scalable and Interpretable Error Detection in Deep Neural Networkscited by 6
12 most cited of 36 All 36 (JSON)
- 2026TERMon: Detecting Persistent Behavioral Threats in Edge AI via Hardware-Native Ternary Runtime Monitor18 Sep 2026
- 2026Mining Verdict Boundaries for Neural Network Verification31 Jul 2026
- 2026Unifying Runtime Monitoring Approaches for Safety-Critical Machine Learning: Application to Vision-Based Landing29 Apr 2026
- 2026Bounding Box Anomaly Scoring for simple and efficient Out-of-Distribution detection24 Mar 2026
- 2025Runtime Safety Monitoring of Deep Neural Networks for Perception: A Survey8 Nov 2025
- 2025Out-of-Distribution Detection using Counterfactual Distance13 Aug 2025
- 2025A New Perspective On AI Safety Through Control Theory Methodologies30 Jun 2025
- 2024Safety Monitoring of Machine Learning Perception Functions: a Survey9 Dec 2024
- 2024Hallucination Detection in Virtually-Stained Histology: A Latent Space Baseline22 Nov 2024
- 2024Attention Masks Help Adversarial Attacks to Bypass Safety Detectors7 Nov 2024
- 2024Edge Case Detection in Automated Driving: Methods, Challenges, and Future Directions11 Oct 2024
- 2024Gaussian-Based and Outside-the-Box Runtime Monitoring Join Forces8 Oct 2024
12 newest of 36 All 36 (JSON)