{"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/robust-conformal-volume-estimation-in-3d","title":"Robust Conformal Volume Estimation in 3D Medical Images","arxiv_id":"2407.19938","date":"2024-07-29","proceeding":null,"authors":["Benjamin Lambert","Florence Forbes","Senan Doyle","Michel Dojat"],"abstract":"Volumetry is one of the principal downstream applications of 3D medical image segmentation, for example, to detect abnormal tissue growth or for surgery planning. Conformal Prediction is a promising framework for uncertainty quantification, providing calibrated predictive intervals associated with automatic volume measurements. However, this methodology is based on the hypothesis that calibration and test samples are exchangeable, an assumption that is in practice often violated in medical image applications. A weighted formulation of Conformal Prediction can be framed to mitigate this issue, but its empirical investigation in the medical domain is still lacking. A potential reason is that it relies on the estimation of the density ratio between the calibration and test distributions, which is likely to be intractable in scenarios involving high-dimensional data. To circumvent this, we propose an efficient approach for density ratio estimation relying on the compressed latent representations generated by the segmentation model. Our experiments demonstrate the efficiency of our approach to reduce the coverage error in the presence of covariate shifts, in both synthetic and real-world settings. Our implementation is available at https://github.com/benolmbrt/wcp_miccai","url_abs":"https://arxiv.org/abs/2407.19938v1","url_pdf":"https://arxiv.org/pdf/2407.19938v1.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":"robust-conformal-volume-estimation-in-3d","repo_url":"https://github.com/benolmbrt/wcp_miccai","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"conformal-prediction","task_name":"Conformal Prediction"},{"task_slug":"density-ratio-estimation","task_name":"Density Ratio Estimation"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"medical-image-segmentation","task_name":"Medical Image Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"uncertainty-quantification","task_name":"Uncertainty Quantification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2407.19938","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.19938"}},"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/benolmbrt/wcp_miccai","reach":null}],"summary":{"ran_draft_wrong":1,"ran_fixture":2,"unverified":1},"by_repo_kind":{"official":{"samples":4,"ran":3,"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":4,"samples":[{"code_sha256_prefix":"d7fb24e5fb925bec","entry":"getActivation","repo":"benolmbrt/wcp_miccai","repo_kind":"official","path":"feature_extractor.py","file_url":"https://github.com/benolmbrt/wcp_miccai/blob/HEAD/feature_extractor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d7fb24e5fb925bec"}},{"code_sha256_prefix":"a937c4fd4ff3b208","entry":"get_weighted_quantile","repo":"benolmbrt/wcp_miccai","repo_kind":"official","path":"weighted_cp.py","file_url":"https://github.com/benolmbrt/wcp_miccai/blob/HEAD/weighted_cp.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a937c4fd4ff3b208"}},{"code_sha256_prefix":"f4e8f43c8e008e21","entry":"get_weights","repo":"benolmbrt/wcp_miccai","repo_kind":"official","path":"weighted_cp.py","file_url":"https://github.com/benolmbrt/wcp_miccai/blob/HEAD/weighted_cp.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f4e8f43c8e008e21"}},{"code_sha256_prefix":"a7ebd500b8420939","entry":"run_experiment","repo":"benolmbrt/wcp_miccai","repo_kind":"official","path":"weighted_cp.py","file_url":"https://github.com/benolmbrt/wcp_miccai/blob/HEAD/weighted_cp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a7ebd500b8420939"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}