mlsanityData to 7 Oct 2026

Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in Deployment

arXiv 2401.14628 ↗First posted 26 Jan 2024cs.SE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Deep learning models are trained with certain assumptions about the data during the development stage and then used for prediction in the deployment stage. It is important to reason about the trustworthiness of the model's predictions with unseen data during deployment. Existing methods for specifying and verifying traditional software are insufficient for this task, as they cannot handle the complexity of DNN model architecture and expected outcomes. In this work, we propose a novel technique that uses rules derived from neural network computations to infer data preconditions for a DNN model to determine the trustworthiness of its predictions. Our approach, DeepInfer involves introducing a novel abstraction for a trained DNN model that enables weakest precondition reasoning using Dijkstra's Predicate Transformer Semantics. By deriving rules over the inductive type of neural network abstract representation, we can overcome the matrix dimensionality issues that arise from the backward non-linear computation from the output layer to the input layer. We utilize the weakest precondition computation using rules of each kind of activation function to compute layer-wise precondition from the given postcondition on the final output of a deep neural network. We extensively evaluated DeepInfer on 29 real-world DNN models using four different datasets collected from five different sources and demonstrated the utility, effectiveness, and performance improvement over closely related work. DeepInfer efficiently detects correct and incorrect predictions of high-accuracy models with high recall (0.98) and high F-1 score (0.84) and has significantly improved over prior technique, SelfChecker. The average runtime overhead of DeepInfer is low, 0.22 sec for all unseen datasets. We also compared runtime overhead using the same hardware settings and found that DeepInfer is 3.27 times faster than SelfChecker.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 69 references that are in the map. First posted on arXiv 26 Jan 2024.

Builds on

30 of 69 references.

References · 30

  1. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  2. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
  3. 2016Safety Verification of Deep Neural Networkscited by 262
  4. 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
  5. 2018To Trust Or Not To Trust A Classifiercited by 205
  6. 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 203
  7. 2019Addressing Failure Prediction by Learning Model Confidencecited by 183
  8. 2018High-Quality Prediction Intervals for Deep Learning: A Distribution-Free, Ensembled Approachcited by 117
  9. 2018Automated Directed Fairness Testingcited by 77
  10. 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
  11. 2021Introduction to Neural Network Verificationcited by 63
  12. 2019Misbehaviour Prediction for Autonomous Driving Systemscited by 55
18 more
  1. 2020Do the Machine Learning Models on a Crowd Sourced Platform Exhibit Bias? An Empirical Study on Model Fairnesscited by 52
  2. 2021Fair Preprocessing: Towards Understanding Compositional Fairness of Data Transformers in Machine Learning Pipelinecited by 49
  3. 2019Perfectly Parallel Fairness Certification of Neural Networkscited by 42
  4. 2020Repairing Deep Neural Networks: Fix Patterns and Challengescited by 33
  5. 2022Simple Techniques Work Surprisingly Well for Neural Network Test Prioritization and Active Learning (Replicability Study)cited by 27
  6. 2021NNrepair: Constraint-based Repair of Neural Network Classifierscited by 24
  7. 2022Fairify: Fairness Verification of Neural Networkscited by 22
  8. 2021Self-Checking Deep Neural Networks in Deploymentcited by 18
  9. 2021The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-Largecited by 17
  10. 2020Interval Universal Approximation for Neural Networkscited by 14
  11. 2021Decomposing Convolutional Neural Networks into Reusable and Replaceable Modulescited by 14
  12. 2020Abstract Neural Networkscited by 11
  13. 2021Learning to Predict Trustworthiness with Steep Slope Losscited by 11
  14. 2023Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoMLcited by 9
  15. 2022Data Leakage in Notebooks: Static Detection and Better Processescited by 7
  16. 2021Manas: Mining Software Repositories to Assist AutoMLcited by 5
  17. 2022Decomposing a Recurrent Neural Network into Modules for Enabling Reusability and Replacementcited by 3
  18. 2023What Kinds of Contracts Do ML APIs Need?cited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.