mlsanityData to 14 Oct 2026

Estimating Predictive Uncertainty Under Program Data Distribution Shift

arXiv 2107.10989 ↗First posted 23 Jul 2021cs.LG cs.SEcited by 5

Not on the map. Why?

Abstract (arXiv)

Deep learning (DL) techniques have achieved great success in predictive accuracy in a variety of tasks, but deep neural networks (DNNs) are shown to produce highly overconfident scores for even abnormal samples. Well-defined uncertainty indicates whether a model's output should (or should not) be trusted and thus becomes critical in real-world scenarios which typically involves shifted input distributions due to many factors. Existing uncertainty approaches assume that testing samples from a different data distribution would induce unreliable model predictions thus have higher uncertainty scores. They quantify model uncertainty by calibrating DL model's confidence of a given input and evaluate the effectiveness in computer vision (CV) and natural language processing (NLP)-related tasks. However, their methodologies' reliability may be compromised under programming tasks due to difference in data representations and shift patterns. In this paper, we first define three different types of distribution shift in program data and build a large-scale shifted Java dataset. We implement two common programming language tasks on our dataset to study the effect of each distribution shift on DL model performance. We also propose a large-scale benchmark of existing state-of-the-art predictive uncertainty on programming tasks and investigate their effectiveness under data distribution shift. Experiments show that program distribution shift does degrade the DL model performance to varying degrees and that existing uncertainty methods all present certain limitations in quantifying uncertainty on program dataset.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 28 of its 54 references that are in the map. First posted on arXiv 23 Jul 2021.

Builds on

28 of 54 references.

References · 28

  1. 2017On Calibration of Modern Neural Networkscited by 4,960
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  6. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  7. 2016Adversarial examples in the physical worldcited by 1,769
  8. 2016Concrete Problems in AI Safetycited by 1,642
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  10. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  11. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
  12. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
16 more
  1. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  2. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  3. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
  4. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
  5. 2015Weight Uncertainty in Neural Networkscited by 554
  6. 2015Variational Dropout and the Local Reparameterization Trickcited by 490
  7. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  8. 2018Invertible Residual Networkscited by 365
  9. 2015Probabilistic Backpropagation for Scalable Learning of Bayesian Neural Networkscited by 295
  10. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
  11. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
  12. 2018code2vec: Learning Distributed Representations of Codecited by 250
  13. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 91
  14. 2018Quantifying Uncertainties in Natural Language Processing Taskscited by 79
  15. 2014word2vec Parameter Learning Explainedcited by 53
  16. 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48

Built on by

Cited by year (2026 to 14 Oct)

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

5 papers.