Estimating Predictive Uncertainty Under Program Data Distribution Shift
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
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2016Adversarial examples in the physical worldcited by 1,769
- 2016Concrete Problems in AI Safetycited by 1,642
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
16 more
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
- 2015Weight Uncertainty in Neural Networkscited by 554
- 2015Variational Dropout and the Local Reparameterization Trickcited by 490
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2018Invertible Residual Networkscited by 365
- 2015Probabilistic Backpropagation for Scalable Learning of Bayesian Neural Networkscited by 295
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
- 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 91
- 2018Quantifying Uncertainties in Natural Language Processing Taskscited by 79
- 2014word2vec Parameter Learning Explainedcited by 53
- 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 0; 2025: 2; 2026: 1.
5 papers.
- 2023Exploring Distributional Shifts in Large Language Models for Code Analysiscited by 14
- 2022CodeS: Towards Code Model Generalization Under Distribution Shiftcited by 6
- 2025LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systemscited by 3
- 2025MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignmentcited by 2
- 2026Characterizing Overconfident Failure in LLM-Based Code Generationcited by 0
- 2026Characterizing Overconfident Failure in LLM-Based Code Generation8 Oct 2026
- 2025MACE: A Hybrid LLM Serving System with Colocated SLO-aware Continuous Retraining Alignment28 Sep 2025
- 2025LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systems28 Jul 2025
- 2023Exploring Distributional Shifts in Large Language Models for Code Analysis16 Mar 2023
- 2022CodeS: Towards Code Model Generalization Under Distribution Shift11 Jun 2022