{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/pac-confidence-sets-for-deep-neural-networks-1","title":"PAC Confidence Sets for Deep Neural Networks via Calibrated Prediction","arxiv_id":"2001.00106","date":"2019-12-31","proceeding":"ICLR 2020 1","authors":["Sangdon Park","Osbert Bastani","Nikolai Matni","Insup Lee"],"abstract":"We propose an algorithm combining calibrated prediction and generalization bounds from learning theory to construct confidence sets for deep neural networks with PAC guarantees---i.e., the confidence set for a given input contains the true label with high probability. We demonstrate how our approach can be used to construct PAC confidence sets on ResNet for ImageNet, a visual object tracking model, and a dynamics model for the half-cheetah reinforcement learning problem.","url_abs":"https://arxiv.org/abs/2001.00106v2","url_pdf":"https://arxiv.org/pdf/2001.00106v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"pac-confidence-sets-for-deep-neural-networks-1","repo_url":"https://github.com/sangdon/PAC-confidence-set","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"pac-confidence-sets-for-deep-neural-networks-1","repo_url":"https://github.com/leoandeol/cods","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"generalization-bounds","task_name":"Generalization Bounds"},{"task_slug":"learning-theory","task_name":"Learning Theory"},{"task_slug":"object-tracking","task_name":"Object Tracking"},{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"visual-object-tracking","task_name":"Visual Object Tracking"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[{"method_slug":"1x1-convolution","method_name":"1x1 Convolution"},{"method_slug":"average-pooling","method_name":"Average Pooling"},{"method_slug":"batch-normalization","method_name":"Batch Normalization"},{"method_slug":"bottleneck-residual-block","method_name":"Bottleneck Residual Block"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"global-average-pooling","method_name":"Global Average Pooling"},{"method_slug":"kaiming-initialization","method_name":"Kaiming Initialization"},{"method_slug":"max-pooling","method_name":"Max Pooling"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"residual-block","method_name":"Residual Block"},{"method_slug":"residual-connection","method_name":"Residual Connection"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2001.00106","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2001.00106"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sangdon/PAC-confidence-set","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/leoandeol/cods","reach":{"status":"ok"}}],"summary":{"unverified":11},"by_repo_kind":{"official":{"samples":11,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"e58b508b43cabeb6","entry":"compute_conf_set_size","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"conf_set/utils.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/conf_set/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e58b508b43cabeb6"}},{"code_sha256_prefix":"2823f2f77b4e93a5","entry":"compute_conf_set_size_plot","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/pac_conf_set.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/pac_conf_set.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2823f2f77b4e93a5"}},{"code_sha256_prefix":"7aa65a94b2735f8e","entry":"compute_tracking_error","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/otb/calibrator.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/otb/calibrator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7aa65a94b2735f8e"}},{"code_sha256_prefix":"60f581968fb3d4e4","entry":"conf_set_summary_no_acc","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/pac_conf_set.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/pac_conf_set.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"60f581968fb3d4e4"}},{"code_sha256_prefix":"dd47487b498ea506","entry":"dist_mah","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/halfcheetah/forecasters.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/halfcheetah/forecasters.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd47487b498ea506"}},{"code_sha256_prefix":"32c39e9392f53906","entry":"empirical_cs_error","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"conf_set/utils.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/conf_set/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"32c39e9392f53906"}},{"code_sha256_prefix":"76e184da8ee3ba11","entry":"load_forecaster","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/imagenet/forecasters.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/imagenet/forecasters.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"76e184da8ee3ba11"}},{"code_sha256_prefix":"b310183d59e46d2e","entry":"params2exp_name","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"conf_set/utils.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/conf_set/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b310183d59e46d2e"}},{"code_sha256_prefix":"b4236802f7672016","entry":"sample_exp_two_sides","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/otb/boundingbox.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/otb/boundingbox.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b4236802f7672016"}},{"code_sha256_prefix":"9ffed0e6ca58379d","entry":"to_tree_namespace","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/opts/options.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/opts/options.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9ffed0e6ca58379d"}},{"code_sha256_prefix":"797caafd880d3d90","entry":"train_test","repo":"sangdon/PAC-confidence-set","repo_kind":"official","path":"demo/conf_set/pac_conf_set.py","file_url":"https://github.com/sangdon/PAC-confidence-set/blob/HEAD/demo/conf_set/pac_conf_set.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"797caafd880d3d90"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}