Beyond the Lesion: Adaptive Spatial Routing Reveals Modality- and Task-Dependent Representation Strategies in Medical Image Classification

Segmentation-guided classification commonly uses a predefined spatial representation, although lesion, perilesional, and global information may contribute differently to distinct diagnostic tasks. We investigated spatial representation across breast ultrasound benign-malignant classification, chest radiograph tuberculosis detection, dermoscopic benign-malignant classification, and three-class brain magnetic resonance imaging (MRI) tumor classification. First, we compared full images, soft and hard masking, tight lesion crops, and lesion crops with 25% padding. Second, we examined classification robustness under controlled segmentation-mask perturbations. Third, we introduced the Adaptive Spatial Routing Mixture-of-Experts (ASR-MoE), a representation-aware classifier with separately encoded region of interest (ROI), lesion-removed context, and full-image views and case-specific routing. In the fixed-representation study, the padded ROI showed chance-corrected area under the receiver operating characteristic curve (AUC) retention of 57.8%, 90.8%, 89.8%, and 37.0% across the four tasks, respectively. Perturbation effects varied with error type and masking strategy, and geometric overlap did not consistently predict downstream performance. ASR-MoE produced mean AUCs of 0.861 +/- 0.022, 0.821 +/- 0.033, 0.729 +/- 0.016, and 0.973 +/- 0.004, respectively, while exposing different learned routing mixtures across tasks and individual images. Computational profiling showed that ASR-MoE used 16.90 million total parameters compared with 21.67 million for the baseline models and exhibited lower observed graphics processing unit (GPU) memory usage, utilization, and mean power draw, but higher inference latency and lower throughput. The principal contribution is an empirical account of task-specific spatial signal retention and robustness together with a classifier that makes relative representation reliance observable.

Authors

Institutions

Publication Details

Journal
medRxiv
Published
2026-12-02
DOI
https://doi.org/10.64898/2026.11.30.26369298
Primary Topic
AI in cancer detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Beyond the Lesion: Adaptive Spatial Routing Reveals Modality- and Task-Dependent Representation Strategies in Medical Image Classification

Mihir Gupta, Mauro Andrés Nievas Offidani, Sarthak Mahapatra
medRxiv
AI in cancer detection
preprint

Beyond the Lesion: Adaptive Spatial Routing Reveals Modality- and Task-Dependent Representation Strategies in Medical Image Classification

Mihir Gupta, Mauro Andrés Nievas Offidani, Sarthak Mahapatra
preprint en

Abstract

Segmentation-guided classification commonly uses a predefined spatial representation, although lesion, perilesional, and global information may contribute differently to distinct diagnostic tasks. We investigated spatial representation across breast ultrasound benign-malignant classification, chest radiograph tuberculosis detection, dermoscopic benign-malignant classification, and three-class brain magnetic resonance imaging (MRI) tumor classification. First, we compared full images, soft and hard masking, tight lesion crops, and lesion crops with 25% padding. Second, we examined classification robustness under controlled segmentation-mask perturbations. Third, we introduced the Adaptive Spatial Routing Mixture-of-Experts (ASR-MoE), a representation-aware classifier with separately encoded region of interest (ROI), lesion-removed context, and full-image views and case-specific routing. In the fixed-representation study, the padded ROI showed chance-corrected area under the receiver operating characteristic curve (AUC) retention of 57.8%, 90.8%, 89.8%, and 37.0% across the four tasks, respectively. Perturbation effects varied with error type and masking strategy, and geometric overlap did not consistently predict downstream performance. ASR-MoE produced mean AUCs of 0.861 +/- 0.022, 0.821 +/- 0.033, 0.729 +/- 0.016, and 0.973 +/- 0.004, respectively, while exposing different learned routing mixtures across tasks and individual images. Computational profiling showed that ASR-MoE used 16.90 million total parameters compared with 21.67 million for the baseline models and exhibited lower observed graphics processing unit (GPU) memory usage, utilization, and mean power draw, but higher inference latency and lower throughput. The principal contribution is an empirical account of task-specific spatial signal retention and robustness together with a classifier that makes relative representation reliance observable.

medRxiv
Yale University (US)
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon