arXiv:2610.39414cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39414

Anatomical Prior-Guided Routing for 3D Lung Tumor Segmentation

Uihyeon Maeng, Jonghun Kim, Hyunjin Park

Uihyeon Maeng 1⋆^{1\star} ID^{ID}, Jonghun Kim 2⋆^{2\star} ID^{ID}, and Hyunjin Park 1,2†^{1,2\dagger} ID^{ID}

1^{1} Department of Artificial Intelligence, Sungkyunkwan University, Suwon, Korea

2^{2} Department of Electrical and Computer Engineering,

Sungkyunkwan University, Suwon, Korea

{uhmaeng,iproj2,hyunjinp}@skku.edu

Abstract. Accurate lung tumor segmentation in computed tomography (CT) is essential for treatment planning, response assessment, and quantitative imaging analysis. However, 3D lung tumor segmentation remains challenging because tumors occupy only a small portion of the whole volume and exhibit heterogeneous appearances across anatomical locations. In patch-based training and sliding-window inference for 3D medical image segmentation, location-dependent heterogeneity is further amplified because cropped image patches provide limited global anatomical context, making it difficult for a model to adapt its feature processing according to the anatomical region from which each patch is extracted. To address this limitation, we propose an Anatomical Prior-guided Routing Module (APRM) for lung tumor segmentation. For each image patch, we obtain anatomical prior information of regional occupancy and deterministically select an anatomical routing gate. The selected gate then performs sparse feature routing over a shared expert adapter pool, enabling anatomy-specific feature adaptation while sharing expert capacity across regions. We evaluate APRM on two datasets with various backbone networks and demonstrate consistent improvements over baseline models. Furthermore, feature visualizations show that APRM produces different feature responses depending on patch location, indicating that the proposed routing mechanism effectively adapts feature processing according to anatomical context.

Keywords: Computed Tomography · 3D Medical Image Segmentation · Anatomical Prior-guided Routing

1 Introduction

Lung cancer is one of the most common cancers worldwide [3][3] and is characterized by high incidence and mortality rates that demand early detection and precise management [33][33]. To diagnose and formulate treatment plans, computed tomography (CT) is widely used in clinical practice because it provides

  • Equal Contribution

†^{\dagger} Corresponding Author

U. Maeng et al.

Figure

(a) Subtype Distribution of Lung Tumors

(b) Anatomical Distribution of Lung Tumors

Fig. 1: Distribution of lung cancer subtypes and anatomical tumor locations within the NSCLC [1,6,45] dataset. Tumor location is defined as the anatomical region (e.g., right upper lobe) showing the maximum spatial overlap with the tumor. Outside indicates areas around the lungs that do not overlap with any anatomical masks.

a non-invasive way to observe lung tumors and surrounding anatomical structures [9,32]. Accurate lung tumor segmentation is essential for determining tumor extent, supporting treatment planning, evaluating response, and enabling quantitative imaging analysis [20,34,44]. However, tumor segmentation has traditionally relied on manual annotation by experienced clinicians. Manual annotation is inherently time-consuming, labor-intensive, and prone to high interobserver variability, which incurs substantial clinical costs. These limitations motivate deep learning-based automatic segmentation, which can provide efficient tumor annotation. Despite recent advances, lung tumor segmentation remains challenging [34,37]. Lung tumors often occupy only a small fraction of the entire CT volume. In addition, tumor boundaries can be obscured by surrounding anatomy such as the pleura, vessels, bronchi, and mediastinum, leading to location-dependent errors [20,39].

Furthermore, lung tumors exhibit heterogeneity across histological subtypes and their imaging appearance can vary with both subtype and anatomical context [30, 50, 52]. As shown in Fig. 1, both lung cancer subtypes and tumor locations exhibit heterogeneous distributions. In particular, different subtypes appear with different frequencies and lung tumors are not uniformly distributed across anatomical regions. Prior lobe-level analysis has also shown that tumor occurrence and histologic composition differ across anatomical locations, suggesting that tumor subtype and anatomical location are related rather than independent factors [42]. Accordingly, Fig. 2 presents representative cases with different histological subtypes and lobar locations [1]. These examples show that tumor-centered patches can contain diverse local anatomical contexts, including lung parenchyma, pleural or chest-wall interfaces, and regions close to cardiomiastinal structures. Such subtype- and location-dependent heterogeneity may influence boundary conspicuity and apparent tumor shape, while introducing nearby non-tumor tissues that can be confused with the tumor. In addition, medical datasets are often limited in size because data collection and expert annotation are costly [21, 23, 25, 41], making it difficult for conventional segmentation methods to learn the full heterogeneity of lung tumors from image appearance alone. Therefore, incorporating anatomical priors is important: a model should adapt feature processing according to where a tumor patch is located, so that

Figure

Fig. 2: Illustration of lung tumor heterogeneity and anatomical context. Left: anatomical prior regions, including the five lung lobes and the central mediastinum. Right: different histological subtypes and lobar locations. The yellow bounding boxes show tumor regions and the red contours indicate tumor annotations.

it can better interpret subtype- and location-dependent tumor appearance and distinguish tumors from surrounding anatomical structures [20, 39].

Mixture-of-experts (MoE) methods perform dynamic routing according to input features, activating only a subset of experts for each input while increasing the overall model capacity [10, 51]. This conditional computation has been used to scale the number of parameters while keeping the number of activated parameters nearly fixed, leading to improved performance and efficiency [10]. Distribution-aware MoE (dMoE) interprets MoE from a control-theoretic perspective as a feedback control that flexibly adapts to heterogeneous medical image data distributions [43]. However, instead of relying only on feature-driven routing, prior knowledge can provide a meaningful control signal by changing the routing strategy according to the anatomical location.

We propose Anatomical Prior-guided Routing Module (APRM) for 3D lung tumor segmentation. We extract anatomical masks using TotalSegmentator [53] and route each image patch based on information from the corresponding anatomical mask. The selected anatomical gate then conditions a router that computes sparse routing weights over a shared expert pool. This design enables anatomical information to guide patch-wise feature adaptation in a stable and interpretable manner, while avoiding the need to allocate a separate expert set to each region. We validate APRM on two datasets with various backbone networks and observe consistent performance improvements when APRM is added to the baseline models. In addition, feature visualizations show that APRM produces different feature responses according to anatomical location, indicating that the proposed module effectively reflects anatomical context during segmentation.

The main contributions of this study are as follows:

  1. We propose APRM, a plug-in anatomical prior-guided routing module that uses anatomical masks to guide patch-level feature adaptation through gate-conditioned sparse routing.

U. Maeng et al.

  1. We validate APRM on two datasets with various backbones, showing consistent performance improvements.

  2. We demonstrate that different feature processing occurs according to the anatomical location, showing the effectiveness of the APRM through feature visualization.

References (55)