Papers › Locally Valid and Discriminative Prediction Intervals for Deep Learning Models

Locally Valid and Discriminative Prediction Intervals for Deep Learning Models

1 Jun 2021NeurIPS 2021 12arXiv:2106.00225archive 2025-07-28

Zhen Lin, Shubhendu Trivedi, Jimeng Sun

Crucial for building trust in deep learning models for critical real-world applications is efficient and theoretically sound uncertainty quantification, a task that continues to be challenging. Useful uncertainty information is expected to have two key properties: It should be valid (guaranteeing coverage) and discriminative (more uncertain when the expected risk is high). Moreover, when combined with deep learning (DL) methods, it should be scalable and affect the DL model performance minimally. Most existing Bayesian methods lack frequentist coverage guarantees and usually affect model performance. The few available frequentist methods are rarely discriminative and/or violate coverage guarantees due to unrealistic assumptions. Moreover, many methods are expensive or require substantial modifications to the base neural network. Building upon recent advances in conformal prediction [13, 33] and leveraging the classical idea of kernel regression, we propose Locally Valid and Discriminative prediction intervals (LVD), a simple, efficient, and lightweight method to construct discriminative prediction intervals (PIs) for almost any DL model. With no assumptions on the data distribution, such PIs also offer finite-sample local coverage guarantees (contrasted to the simpler marginal coverage). We empirically verify, using diverse datasets, that besides being the only locally valid method for DL, LVD also exceeds or matches the performance (including coverage rate and prediction accuracy) of existing uncertainty quantification methods, while offering additional benefits in scalability and flexibility.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.00225")

Code

Syntology Ran 4 of 16 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 2 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zlin7/lvd officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 4 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · fixture could not drive it
2ran
12unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zlin7/lvd. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

NaiveKernel zlin7/lvd/models/conformal.py official repository ran MIT (permissive) · d6e7f479334eeec3 · report
gpuid_to_device zlin7/lvd/models/conformal.py official repository ran · fixture could not drive it MIT (permissive) · 93ae6a4d87ad6dc2 · report
merge_dict_inline zlin7/lvd/models/conformal.py official repository ran MIT (permissive) · dad8377818739ce0 · report
weighted_quantile_faster2 zlin7/lvd/models/conformal.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 9c7355cbbe4b3419 · report
CQR_from_results zlin7/LVD/models/baselines/CQR.py official repository unverified MIT (permissive) · 7e2b26ed7dad164c · report
LocalConditional zlin7/lvd/models/conformal.py official repository unverified MIT (permissive) · a347cfbd81f921df · report
MADSplit_from_results zlin7/LVD/models/baselines/MADSplit.py official repository unverified MIT (permissive) · d3eb64fc08ffefb5 · report
PIConstructor zlin7/lvd/models/conformal.py official repository unverified MIT (permissive) · 077638700e3448f0 · report
build_architecture zlin7/LVD/models/baselines/DNN.py official repository unverified MIT (permissive) · 9199fc21b3ba4e69 · report
clean_df zlin7/LVD/utils/eval_utils.py official repository unverified MIT (permissive) · 38a69e35d2a391c7 · report
get_DNN_and_trainkwargs zlin7/LVD/models/baselines/DNN.py official repository unverified MIT (permissive) · 64ce108b3e36bd41 · report
get_default_fitkwargs zlin7/LVD/demos/experiments.py official repository unverified MIT (permissive) · f9bc950f0b053082 · report
my_split zlin7/LVD/demos/experiments.py official repository unverified MIT (permissive) · d33ff76452c269e0 · report
smoothing zlin7/LVD/utils/eval_utils.py official repository unverified MIT (permissive) · a08c0e709979c15a · report
summ_df zlin7/LVD/utils/eval_utils.py official repository unverified MIT (permissive) · e56f011f0044c5d0 · report
weighted_quantile_faster zlin7/lvd/models/conformal.py official repository unverified MIT (permissive) · 471ab010d45f085c · report

Tasks

Conformal PredictionDeep LearningPredictionPrediction IntervalsUncertainty Quantification

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections