{"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/arxiv-2604-08015","title":"Component-Adaptive and Lesion-Level Supervision for Improved Small Structure Segmentation in Brain MRI","arxiv_id":"2604.08015","date":"2026-04-09","proceeding":null,"authors":["Minh Sao Khue Luu","Evgeniy N. Pavlovskiy","Bair N. Tuchinov"],"abstract":"We propose a unified objective function, termed CATMIL, that augments the base segmentation loss with two auxiliary supervision terms operating at different levels. The first term, Component-Adaptive Tversky, reweights voxel contributions based on connected components to balance the influence of lesions of different sizes. The second term, based on Multiple Instance Learning, introduces lesion-level supervision by encouraging the detection of each lesion instance. These terms are combined with the standard nnU-Net loss to jointly optimize voxel-level segmentation accuracy and lesion-level detection. We evaluate the proposed objective on the MSLesSeg dataset using a consistent nnU-Net framework and 5-fold cross-validation. The results show that CATMIL achieves the most balanced performance across segmentation accuracy, lesion detection, and error control. It improves Dice score (0.7834) and reduces boundary error compared to standard losses. More importantly, it substantially increases small lesion recall and reduces false negatives, while maintaining the lowest false positive volume among compared methods. These findings demonstrate that integrating component-level and lesion-level supervision within a unified objective provides an effective and practical approach for improving small lesion segmentation in highly imbalanced settings. All code and pretrained models are available at https://github.com/luumsk/SmallLesionMRI.","url_abs":"https://arxiv.org/abs/2604.08015","url_pdf":"https://arxiv.org/pdf/2604.08015","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2604.08015","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.08015"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/luumsk/SmallLesionMRI","reach":null}],"summary":{"unverified":16},"by_repo_kind":{"found_in_text":{"samples":16,"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":16,"samples":[{"code_sha256_prefix":"40388bc460b6344e","entry":"add_mean_rows","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"get_all_metrics.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/get_all_metrics.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":"40388bc460b6344e"}},{"code_sha256_prefix":"76965abd3e8be952","entry":"build_case_table","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"multiscale_eval.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/multiscale_eval.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":"76965abd3e8be952"}},{"code_sha256_prefix":"83d42e2efe025a8e","entry":"compute_lesion_volume","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/utils.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":"83d42e2efe025a8e"}},{"code_sha256_prefix":"a222cc76669dddc4","entry":"connected_components","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/utils.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":"a222cc76669dddc4"}},{"code_sha256_prefix":"517ad51ee69e8a2d","entry":"copy_files","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"slsseg/nnunetv2/dataset_conversion/Dataset027_ACDC.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/slsseg/nnunetv2/dataset_conversion/Dataset027_ACDC.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":"517ad51ee69e8a2d"}},{"code_sha256_prefix":"ed8347d83c16ce63","entry":"discover_csv_files","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"select_test_cases_for_visualization.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/select_test_cases_for_visualization.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":"ed8347d83c16ce63"}},{"code_sha256_prefix":"a1884d14a1581828","entry":"display_model_name","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"analyze_features.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/analyze_features.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":"a1884d14a1581828"}},{"code_sha256_prefix":"f915d94798b0a409","entry":"find_case_id_column","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"select_test_cases_for_visualization.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/select_test_cases_for_visualization.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":"f915d94798b0a409"}},{"code_sha256_prefix":"3893a8044b2a894d","entry":"find_case_ids","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"analyze_features.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/analyze_features.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":"3893a8044b2a894d"}},{"code_sha256_prefix":"48ae078088aa53eb","entry":"load_all_metrics","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"select_test_cases_for_visualization.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/select_test_cases_for_visualization.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":"48ae078088aa53eb"}},{"code_sha256_prefix":"54c2df3636860ced","entry":"load_feature_map","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"analyze_features.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/analyze_features.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":"54c2df3636860ced"}},{"code_sha256_prefix":"2b34f49b4cc584fc","entry":"load_json_files","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"get_all_metrics.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/get_all_metrics.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":"2b34f49b4cc584fc"}},{"code_sha256_prefix":"956fa508029ab401","entry":"load_npz_probability","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"multiscale_eval.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/multiscale_eval.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":"956fa508029ab401"}},{"code_sha256_prefix":"86ec2ccc2984b8bf","entry":"merge","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"slsseg/nnunetv2/batch_running/generate_lsf_runs_customDecathlon.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/slsseg/nnunetv2/batch_running/generate_lsf_runs_customDecathlon.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":"86ec2ccc2984b8bf"}},{"code_sha256_prefix":"c0017dd04e719b86","entry":"show_slice_with_mask","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/utils.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":"c0017dd04e719b86"}},{"code_sha256_prefix":"a362054761a15cf9","entry":"sort_rows","repo":"luumsk/SmallLesionMRI","repo_kind":"found_in_text","path":"get_all_metrics.py","file_url":"https://github.com/luumsk/SmallLesionMRI/blob/HEAD/get_all_metrics.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":"a362054761a15cf9"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}