A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification. Angelopoulos, A. N. & Bates, S. December, 2022. arXiv:2107.07511 [cs]
Paper doi abstract bibtex Black-box machine learning models are now routinely used in high-risk settings, like medical diagnostics, which demand uncertainty quantification to avoid consequential model failures. Conformal prediction is a user-friendly paradigm for creating statistically rigorous uncertainty sets/intervals for the predictions of such models. Critically, the sets are valid in a distribution-free sense: they possess explicit, non-asymptotic guarantees even without distributional assumptions or model assumptions. One can use conformal prediction with any pre-trained model, such as a neural network, to produce sets that are guaranteed to contain the ground truth with a user-specified probability, such as 90%. It is easy-to-understand, easy-to-use, and general, applying naturally to problems arising in the fields of computer vision, natural language processing, deep reinforcement learning, and so on. This hands-on introduction is aimed to provide the reader a working understanding of conformal prediction and related distribution-free uncertainty quantification techniques with one self-contained document. We lead the reader through practical theory for and examples of conformal prediction and describe its extensions to complex machine learning tasks involving structured outputs, distribution shift, time-series, outliers, models that abstain, and more. Throughout, there are many explanatory illustrations, examples, and code samples in Python. With each code sample comes a Jupyter notebook implementing the method on a real-data example; the notebooks can be accessed and easily run using our codebase.
@misc{angelopoulos_gentle_2022,
title = {A {Gentle} {Introduction} to {Conformal} {Prediction} and {Distribution}-{Free} {Uncertainty} {Quantification}},
url = {http://arxiv.org/abs/2107.07511},
doi = {10.48550/arXiv.2107.07511},
abstract = {Black-box machine learning models are now routinely used in high-risk settings, like medical diagnostics, which demand uncertainty quantification to avoid consequential model failures. Conformal prediction is a user-friendly paradigm for creating statistically rigorous uncertainty sets/intervals for the predictions of such models. Critically, the sets are valid in a distribution-free sense: they possess explicit, non-asymptotic guarantees even without distributional assumptions or model assumptions. One can use conformal prediction with any pre-trained model, such as a neural network, to produce sets that are guaranteed to contain the ground truth with a user-specified probability, such as 90\%. It is easy-to-understand, easy-to-use, and general, applying naturally to problems arising in the fields of computer vision, natural language processing, deep reinforcement learning, and so on. This hands-on introduction is aimed to provide the reader a working understanding of conformal prediction and related distribution-free uncertainty quantification techniques with one self-contained document. We lead the reader through practical theory for and examples of conformal prediction and describe its extensions to complex machine learning tasks involving structured outputs, distribution shift, time-series, outliers, models that abstain, and more. Throughout, there are many explanatory illustrations, examples, and code samples in Python. With each code sample comes a Jupyter notebook implementing the method on a real-data example; the notebooks can be accessed and easily run using our codebase.},
urldate = {2025-06-02},
publisher = {arXiv},
author = {Angelopoulos, Anastasios N. and Bates, Stephen},
month = dec,
year = {2022},
note = {arXiv:2107.07511 [cs]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Statistics Theory, Statistics - Machine Learning, Statistics - Methodology, Statistics - Statistics Theory},
}
Downloads: 0
{"_id":"3chrqpTqPKhGyeA8d","bibbaseid":"angelopoulos-bates-agentleintroductiontoconformalpredictionanddistributionfreeuncertaintyquantification-2022","author_short":["Angelopoulos, A. N.","Bates, S."],"bibdata":{"bibtype":"misc","type":"misc","title":"A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification","url":"http://arxiv.org/abs/2107.07511","doi":"10.48550/arXiv.2107.07511","abstract":"Black-box machine learning models are now routinely used in high-risk settings, like medical diagnostics, which demand uncertainty quantification to avoid consequential model failures. Conformal prediction is a user-friendly paradigm for creating statistically rigorous uncertainty sets/intervals for the predictions of such models. Critically, the sets are valid in a distribution-free sense: they possess explicit, non-asymptotic guarantees even without distributional assumptions or model assumptions. One can use conformal prediction with any pre-trained model, such as a neural network, to produce sets that are guaranteed to contain the ground truth with a user-specified probability, such as 90%. It is easy-to-understand, easy-to-use, and general, applying naturally to problems arising in the fields of computer vision, natural language processing, deep reinforcement learning, and so on. This hands-on introduction is aimed to provide the reader a working understanding of conformal prediction and related distribution-free uncertainty quantification techniques with one self-contained document. We lead the reader through practical theory for and examples of conformal prediction and describe its extensions to complex machine learning tasks involving structured outputs, distribution shift, time-series, outliers, models that abstain, and more. Throughout, there are many explanatory illustrations, examples, and code samples in Python. With each code sample comes a Jupyter notebook implementing the method on a real-data example; the notebooks can be accessed and easily run using our codebase.","urldate":"2025-06-02","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Angelopoulos"],"firstnames":["Anastasios","N."],"suffixes":[]},{"propositions":[],"lastnames":["Bates"],"firstnames":["Stephen"],"suffixes":[]}],"month":"December","year":"2022","note":"arXiv:2107.07511 [cs]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Statistics Theory, Statistics - Machine Learning, Statistics - Methodology, Statistics - Statistics Theory","bibtex":"@misc{angelopoulos_gentle_2022,\n\ttitle = {A {Gentle} {Introduction} to {Conformal} {Prediction} and {Distribution}-{Free} {Uncertainty} {Quantification}},\n\turl = {http://arxiv.org/abs/2107.07511},\n\tdoi = {10.48550/arXiv.2107.07511},\n\tabstract = {Black-box machine learning models are now routinely used in high-risk settings, like medical diagnostics, which demand uncertainty quantification to avoid consequential model failures. Conformal prediction is a user-friendly paradigm for creating statistically rigorous uncertainty sets/intervals for the predictions of such models. Critically, the sets are valid in a distribution-free sense: they possess explicit, non-asymptotic guarantees even without distributional assumptions or model assumptions. One can use conformal prediction with any pre-trained model, such as a neural network, to produce sets that are guaranteed to contain the ground truth with a user-specified probability, such as 90\\%. It is easy-to-understand, easy-to-use, and general, applying naturally to problems arising in the fields of computer vision, natural language processing, deep reinforcement learning, and so on. This hands-on introduction is aimed to provide the reader a working understanding of conformal prediction and related distribution-free uncertainty quantification techniques with one self-contained document. We lead the reader through practical theory for and examples of conformal prediction and describe its extensions to complex machine learning tasks involving structured outputs, distribution shift, time-series, outliers, models that abstain, and more. Throughout, there are many explanatory illustrations, examples, and code samples in Python. With each code sample comes a Jupyter notebook implementing the method on a real-data example; the notebooks can be accessed and easily run using our codebase.},\n\turldate = {2025-06-02},\n\tpublisher = {arXiv},\n\tauthor = {Angelopoulos, Anastasios N. and Bates, Stephen},\n\tmonth = dec,\n\tyear = {2022},\n\tnote = {arXiv:2107.07511 [cs]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Machine Learning, Mathematics - Statistics Theory, Statistics - Machine Learning, Statistics - Methodology, Statistics - Statistics Theory},\n}\n\n\n\n\n\n\n\n","author_short":["Angelopoulos, A. N.","Bates, S."],"key":"angelopoulos_gentle_2022","id":"angelopoulos_gentle_2022","bibbaseid":"angelopoulos-bates-agentleintroductiontoconformalpredictionanddistributionfreeuncertaintyquantification-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2107.07511"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Machine Learning","Mathematics - Statistics Theory","Statistics - Machine Learning","Statistics - Methodology","Statistics - Statistics Theory"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/chiraaggohel","dataSources":["akApyGuSiBYkDccny"],"keywords":["computer science - artificial intelligence","computer science - machine learning","mathematics - statistics theory","statistics - machine learning","statistics - methodology","statistics - statistics theory"],"search_terms":["gentle","introduction","conformal","prediction","distribution","free","uncertainty","quantification","angelopoulos","bates"],"title":"A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification","year":2022}