{"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/personalizing-federated-medical-image","title":"Personalizing Federated Medical Image Segmentation via Local Calibration","arxiv_id":"2207.04655","date":"2022-07-11","proceeding":null,"authors":["Jiacheng Wang","Yueming Jin","Liansheng Wang"],"abstract":"Medical image segmentation under federated learning (FL) is a promising direction by allowing multiple clinical sites to collaboratively learn a global model without centralizing datasets. However, using a single model to adapt to various data distributions from different sites is extremely challenging. Personalized FL tackles this issue by only utilizing partial model parameters shared from global server, while keeping the rest to adapt to its own data distribution in the local training of each site. However, most existing methods concentrate on the partial parameter splitting, while do not consider the \\textit{inter-site in-consistencies} during the local training, which in fact can facilitate the knowledge communication over sites to benefit the model learning for improving the local accuracy. In this paper, we propose a personalized federated framework with \\textbf{L}ocal \\textbf{C}alibration (LC-Fed), to leverage the inter-site in-consistencies in both \\textit{feature- and prediction- levels} to boost the segmentation. Concretely, as each local site has its alternative attention on the various features, we first design the contrastive site embedding coupled with channel selection operation to calibrate the encoded features. Moreover, we propose to exploit the knowledge of prediction-level in-consistency to guide the personalized modeling on the ambiguous regions, e.g., anatomical boundaries. It is achieved by computing a disagreement-aware map to calibrate the prediction. Effectiveness of our method has been verified on three medical image segmentation tasks with different modalities, where our method consistently shows superior performance to the state-of-the-art personalized FL methods. Code is available at https://github.com/jcwang123/FedLC.","url_abs":"https://arxiv.org/abs/2207.04655v1","url_pdf":"https://arxiv.org/pdf/2207.04655v1.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":"personalizing-federated-medical-image","repo_url":"https://github.com/jcwang123/fedlc","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"medical-image-segmentation","task_name":"Medical Image Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"channel-selection","task_name":"channel selection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2207.04655","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.04655"}},"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/jcwang123/fedlc","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/jcwang123/FedLC","reach":{"status":"ok"}}],"summary":{"ran":6,"ran_honours":1,"ran_fixture":1,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":9,"ran":7,"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":11,"samples":[{"code_sha256_prefix":"9442a3560aa8ec40","entry":"ConvD","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9442a3560aa8ec40"}},{"code_sha256_prefix":"0a66d833b12b0456","entry":"ConvU","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0a66d833b12b0456"}},{"code_sha256_prefix":"5fd57c5f0649893d","entry":"HeadCalibration","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5fd57c5f0649893d"}},{"code_sha256_prefix":"9fd839307b5e29d2","entry":"MyUpsample2","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9fd839307b5e29d2"}},{"code_sha256_prefix":"754c08818291c178","entry":"PersonalizedChannelSelection","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"754c08818291c178"}},{"code_sha256_prefix":"0020002c2c774535","entry":"Soft","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0020002c2c774535"}},{"code_sha256_prefix":"d6d03dafd950d6c4","entry":"gkern","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"d6d03dafd950d6c4"}},{"code_sha256_prefix":"f11714f9833718d2","entry":"min_max_norm","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"f11714f9833718d2"}},{"code_sha256_prefix":"159a52df66ac5d88","entry":"normalization","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"159a52df66ac5d88"}},{"code_sha256_prefix":"ddfaf71789cc7905","entry":"LC_Fed","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.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":"ddfaf71789cc7905"}},{"code_sha256_prefix":"c0b124432018561d","entry":"Unet2D","repo":"jcwang123/FedLC","repo_kind":"official","path":"networks/lcrepnet.py","file_url":"https://github.com/jcwang123/FedLC/blob/HEAD/networks/lcrepnet.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":"c0b124432018561d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}