SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.08015 · 2026

Component-Adaptive and Lesion-Level Supervision for Improved Small Structure Segmentation in Brain MRI

Minh Sao, Khue Luu, Evgeniy Pavlovskiy, Bair Tuchinov

arXiv · PDF · Open in the Atlas

Code that ran

16 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 13 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.08015.json · badge: /api/ran/2604.08015.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
luumsk/SmallLesionMRI canonical (classifier label)
classifier basis: census
16 ran · 0 no recorded run
FunctionStatusWhere it lives
add_mean_rows Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/get_all_metrics.py
pointer only (licence: NONE) · get_code("40388bc460b6344e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_case_table Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/multiscale_eval.py
pointer only (licence: NONE) · get_code("76965abd3e8be952")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_lesion_volume Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
luumsk/SmallLesionMRI/utils.py
pointer only (licence: NONE) · get_code("83d42e2efe025a8e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

connected_components Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/utils.py
pointer only (licence: NONE) · get_code("a222cc76669dddc4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

copy_files Ran
ran, honoured the contract we drafted
luumsk/SmallLesionMRI/slsseg/nnunetv2/dataset_conversion/Dataset027_ACDC.py
pointer only (licence: NONE) · get_code("517ad51ee69e8a2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

discover_csv_files Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/select_test_cases_for_visualization.py
pointer only (licence: NONE) · get_code("ed8347d83c16ce63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

display_model_name Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/analyze_features.py
pointer only (licence: NONE) · get_code("a1884d14a1581828")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_case_id_column Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/select_test_cases_for_visualization.py
pointer only (licence: NONE) · get_code("f915d94798b0a409")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_case_ids Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/analyze_features.py
pointer only (licence: NONE) · get_code("3893a8044b2a894d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_all_metrics Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/select_test_cases_for_visualization.py
pointer only (licence: NONE) · get_code("48ae078088aa53eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_feature_map Ran
ran, honoured the contract we drafted
luumsk/SmallLesionMRI/analyze_features.py
pointer only (licence: NONE) · get_code("54c2df3636860ced")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json_files Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/get_all_metrics.py
pointer only (licence: NONE) · get_code("2b34f49b4cc584fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_npz_probability Ran
ran, honoured the contract we drafted
luumsk/SmallLesionMRI/multiscale_eval.py
pointer only (licence: NONE) · get_code("956fa508029ab401")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

merge Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/slsseg/nnunetv2/batch_running/generate_lsf_runs_customDecathlon.py
pointer only (licence: NONE) · get_code("86ec2ccc2984b8bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

show_slice_with_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
luumsk/SmallLesionMRI/utils.py
pointer only (licence: NONE) · get_code("c0017dd04e719b86")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sort_rows Ran
ran; our contract draft was wrong, not the code
luumsk/SmallLesionMRI/get_all_metrics.py
pointer only (licence: NONE) · get_code("a362054761a15cf9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luumsk/SmallLesionMRI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
merge 11 other papers
10 dated earlier, 1 later
2303.14444 (2023-03)
MultiTalent: A Multi-Dataset Approach to Medical Image Segmentation
2309.03906 (2023-09)
A-Eval: A Benchmark for Cross-Dataset Evaluation of Abdominal Multi-Organ Segmentation
2402.03302 (2024-02)
Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining
and 8 more not named here
copy_files 10 other papers
9 dated earlier, 1 later
2309.03906 (2023-09)
A-Eval: A Benchmark for Cross-Dataset Evaluation of Abdominal Multi-Organ Segmentation
2402.03302 (2024-02)
Swin-UMamba: Mamba-based UNet with ImageNet-based pretraining
2403.05246 (2024-03)
LightM-UNet: Mamba Assists in Lightweight UNet for Medical Image Segmentation
and 7 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 crossvalidation. 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.08015")
get_code_for_paper("2604.08015")
have("2604.08015")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.08015.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.08015.svg)](https://syntology.ai/paper/2604.08015)

Connect an agent — have() is free.