Dual-Phase Anatomical Prior Learning for Liver Lesion Segmentation on Non-Contrast CT
Thi Thanh Thuy Nguyen*, School of Computer Science and Engineering, Kyungpook National University
Daegu, Korea (south), thuynttt@knu.ac.kr
Hyunji Lee*, School of Computer Science and Engineering, Kyungpook National University
Daegu, Korea (south), hyunji0483@knu.ac.kr
Yu Rim Lee*, Department of Internal Medicine, College of Medicine, Kyungpook National University
Daegu, Korea (south), yrlee@knu.ac.kr
Soo Young Park*, Department of Internal Medicine, College of Medicine, Kyungpook National University
Daegu, Korea (south), psyoung0419@gmail.com
Won Young Tak*, Department of Internal Medicine, College of Medicine, Kyungpook National University
Daegu, Korea (south), wytak@knu.ac.kr
Soon Ki Jung*, School of Computer Science and Engineering, Kyungpook National University
Daegu, Korea (south), skjung@knu.ac.kr
* Corresponding author
Abstract — Liver lesion segmentation on non-contrast computed tomography (NCCT) remains challenging because lesions often exhibit weak contrast and indistinct boundaries. In this work, we investigate whether portal venous CT can improve NCCT segmentation through anatomical prior learning. Building on codebook-based anatomical representation learning, we develop a dual-phase framework in which auxiliary NCCT and spatially registered portal venous slices jointly contribute to a shared anatomical codebook. The portal venous phase is used only as auxiliary information during training, while inference requires only NCCT input. Experiments on the TriALS dataset show that the proposed method achieves a Dice score of 0.5160 and an IoU of 0.3477, improving the U-Net baseline by 7.23%p and 6.26%p, respectively. These results demonstrate the effectiveness of dual-phase position-guided anatomical prior learning while preserving NCCT-only inference.
Automated liver lesion segmentation on computed tomography (CT) is important for quantitative assessment, treatment planning, and longitudinal evaluation [6]. Most existing liver lesion segmentation benchmarks and methods focus on contrast-enhanced CT [2], where contrast administration improves lesion conspicuity and facilitates differentiation from the surrounding liver parenchyma. However, contrast-enhanced imaging is not always feasible, for example when contrast administration is contraindicated [7] or contrast-enhanced acquisitions are unavailable [5]. In such settings, non-contrast CT (NCCT) becomes an important alternative, but liver lesion segmentation is substantially more challenging because lesions often exhibit subtle attenuation differences and poorly defined boundaries [4].
This challenge motivates the use of complementary information from contrastenhanced phases during model training. Existing multi-phase CT studies have exploited such information through multi-channel inputs, phase-specific feature fusion, attention mechanisms, and spatial cross-phase aggregation [10, 11, 1]. However, these approaches commonly assume that multiple phases are also available during inference. The recently introduced TriALS challenge [4] considers a different setting by providing paired non-contrast, arterial, portal venous, and delayed CT images during training while restricting inference to NCCT alone.
Anatomical prior learning provides another way to complement weak local appearance in 2D segmentation. The Anatomical Codebook framework [8] learns position-aware anatomical prototypes from auxiliary CT slices through a shared learnable codebook and uses the resulting prototype-weighted representations to enrich 2D segmentation features. This formulation enables anatomical context learned during training to be accessed from a single image at inference. Building on this codebook-based anatomical prior formulation, we investigate its application to NCCT liver lesion segmentation under the TriALS setting, with particular focus on whether anatomical priors learned with registered portal venous CT provide complementary context for NCCT liver lesion segmentation.
Specifically, we extend the auxiliary prior-learning setting to jointly use NCCT and portal venous CT registered to the NCCT space. The two phases contribute to a shared anatomical prior space, while segmentation supervision remains entirely NCCT-based. This dual-phase setting combines target-domain NCCT information with anatomical cues learned from the more conspicuous portal venous phase without changing the deployment requirement. Portal venous CT is therefore used only during training, while inference requires NCCT alone.
The main contributions of this work are:
– We develop a dual-phase prior-learning framework in which NCCT and registered portal venous CT jointly contribute to a shared anatomical codebook
during training, while inference remains NCCT-only.
– Experiments on the TriALS dataset show that the proposed framework improves NCCT liver lesion segmentation over the U-Net baseline, achieving
gains of 7.23%p in Dice and 6.26%p in IoU.
II. Methodology
The description of the methodology is explained as the following subsections.
Figure 1. Overview of the proposed dual-phase anatomical prior learning framework. NCCT and registered portal venous slices jointly learn a shared anatomical codebook with position supervision, and the resulting priors are fused with multi-scale U-Net features for NCCT lesion segmentation. Portal venous CT is used only during training, while inference requires NCCT alone.
A. Framework Overview
We build on the codebook-based anatomical prior formulation of Anatomical Codebook [8], which learns position-aware anatomical prototypes and uses prototype-weighted representations to enrich 2D segmentation features. In our framework, this formulation is implemented at the local patch level and integrated with a 2D U-Net for NCCT liver lesion segmentation. As illustrated in Fig. 1, training contains two complementary components: an NCCT segmentation stream and a dual-phase auxiliary prior-learning stream. The segmentation stream is supervised only by NCCT images and their lesion annotations,
whereas auxiliary NCCT and registered portal venous slices jointly contribute to the same anatomical codebook. The learned codebook prior is subsequently fused with the U-Net features for segmentation. Portal venous CT is required only during training; inference uses NCCT alone.
B. Dual-Phase Patch-Level Anatomical Prior Learning
Let x^N and x^V denote NCCT and portal venous slices, respectively, where the portal venous volume is registered to the NCCT coordinate space. For anatomical prior learning, auxiliary slices from each phase are partitioned into a P × P grid of local patches. A shared patch encoder E_p(·) maps patch t from phase m ∈ {N, V } to a feature representation
(Equation 1),
where (Notation 1) denotes the t-th patch from phase m, with N and V representing NCCT and portal venous CT, respectively, and (Notation 2) is the corresponding patch embedding.
Following the codebook-based representation principle in [8], each patch embedding is compared with a shared learnable codebook (Equation 2), where K
is the number of codewords and e_k denotes the k-th codeword.
For patch t from phase m ∈ {N, V }, the soft assignment probability to codeword k is computed as
(Equation 3),
where (Notation 3) denotes the assignment probability of patch t to codeword k, s(·, ·) is the feature-similarity function, τ is the temperature parameter, and j indexes all codewords in the softmax normalization.
The anatomical prior representation for patch t is then obtained as the weighted combination of all codewords:
(Equation 4),
where (Notation 4) denotes the codebook-derived anatomical prior representation of patch t from phase m.
Both NCCT and venous auxiliary patches use the same patch encoder and anatomical codebook. Therefore, rather than learning two phase-specific prior spaces, samples from both phases jointly shape a common set of anatomical prototypes. Because both phases share the same codebook and position-regression objective, NCCT and registered portal venous patches at corresponding anatomical locations are trained to predict the same spatial coordinates. Through this supervision, the shared codebook is encouraged to form prototypes that capture features informative for distinguishing anatomical positions, thereby establishing a position-aware anatomical prior space jointly shaped by both phases. Entropy regularization further encourages balanced codebook utilization.
For position supervision, the codebook-derived representation (Notation 4) is mapped by a shared position regressor R(·) to a three-dimensional position representation:
(Equation 5).
Rather than directly regressing absolute coordinates, we supervise the relative physical offset between foreground patch pairs. For a pair (u, v), let
(Equation 6)
where (Notation 5) denotes the physical 3D location of patch t. The position loss for phase m is then
(Equation 7),
where (Notation 6) denotes the set of foreground patch pairs, σ(·) is the sigmoid function, and α and β are scaling coefficients.
The key adaptation in this work lies in the source of auxiliary prior information. NCCT provides target-domain appearance, whereas the registered portal venous phase provides an additional contrast-enhanced observation of the same anatomy. By jointly using both phases during codebook learning, the framework can incorporate complementary phase information without requiring portal venous CT as an input to the segmentation model at deployment.
C. NCCT Segmentation with Anatomical Prior Fusion
The segmentation branch remains entirely NCCT-based. Given a labeled NCCT slice x^N with combined mask y^N , a 2D U-Net extracts multi-scale image features. The same NCCT slice also queries the learned anatomical codebook to obtain codebook-derived prior representations.
The patch-level priors are spatially rearranged and mapped to the corresponding U-Net feature resolutions, and are fused with the segmentation features at multiple scales before decoding. This allows the segmentation network to combine local NCCT appearance with the anatomical context encoded by the shared codebook. The final prediction is
(Equation 8),
where F_seg denotes the U-Net-based segmentation network equipped with multi-scale anatomical prior fusion using the shared codebook C. The segmentation loss L_seg is computed only against the combined maske for NCCT. Neither portal venous images nor venous lesion annotations are used for segmentation supervision.
D. Training Objective
For each auxiliary phase m ∈ {N, V }, the anatomical prior objective combines the position supervision defined in Sec. 2.2 with entropy regularization following:
(Equation 9),
where λ_pos = 1.0 and λ_ent = 0.02 in all experiments. The smaller entropy weight regularizes codebook utilization without overwhelming the position-supervision objective.
To maintain a comparable auxiliary-loss magnitude when introducing the second phase, the NCCT and venous prior objectives are averaged:
(Equation 10).
The complete training objective is:
(Equation 11).
At inference, the NCCT slice accesses position-aware anatomical priors jointly learned from NCCT and portal venous CT through the shared codebook, thereby improving NCCT-only lesion segmentation without requiring portal venous input.
III. Experiments
The description of the experiments is explained as the following subsections.
A. Dataset and Experimental Setup
Experiments were conducted on the TriALS dataset [4], which provides paired non-contrast, arterial, portal venous, and delayed-phase CT scans with lesion annotations. We used the 80 publicly available cases and retained only the NCCT and portal venous phases. The data were split at the patient level into 56 training, 12 validation, and 12 test cases to prevent slice-level leakage.
Portal venous volumes were spatially registered to the corresponding NCCT volumes before constructing paired axial slices. CT intensities were clipped to [−200, 300] HU and normalized to [0, 1]. All images were resized to 512×512. All axial slices, including background-only slices, were retained, resulting in 28,730 training, 5,671 validation, and 5,718 test slices.
A 2D U-Net [9] was used as the segmentation backbone for all experiments. For the anatomical codebook models, we used a 4 × 4 patch grid and a shared codebook with K = 1024 prototypes. The codebook formulation follows the anatomical prototype-learning principle of [8], while our implementation operates on local patches and uses NCCT and registered portal venous CT as auxiliary training inputs. All models were trained from scratch using the same data split, preprocessing, and optimization settings to ensure a controlled comparison. The best checkpoint for each experiment was selected according to the validation Dice Similarity Coefficient (DSC). Performance was evaluated on the held-out NCCT test set using DSC, Intersection over Union (IoU), precision, and recall.
B. Results
As shown in Table 1, the ablation results reveal a complementary effect between dual-phase learning and position supervision. The dual-phase codebook without position supervision achieved high recall (0.6324) but low precision (0.3005), indicating substantial over-segmentation. Conversely, the NCCT-only position prior produced the highest precision (0.5618) but substantially reduced recall (0.2929), suggesting overly conservative predictions. Combining both components alleviated these complementary failure modes, yielding a more balanced precision–recall trade-off and the best overall DSC (0.5160) and IoU (0.3477). Adding position supervision to the dual-phase codebook improved DSC by 10.86%p, while adding portal venous information to the NCCT position prior improved DSC by 13.18%p. Overall, these results suggest that the benefit arises from jointly exploiting phase-complementary appearance information and position-guided anatomical priors rather than from either component alone.
Recent results from the official TriALS 2025 challenge are summarized in Table 2. The challenge evaluated six participating methods on three hidden test cohorts under the combined-annotation paradigm, with the best per-case Dice ranging from 0.471 to 0.651 across centres [4]. These results provide useful context for the current state of NCCT liver lesion segmentation. However, direct numerical comparison with our results is not appropriate because the official challenge test data and annotations are not publicly available, whereas our experiments use a patient-level held-out subset of the 80 publicly released cases.
Limitations and future directions. Despite the improvement over the U-Net baseline, the absolute segmentation performance remains moderate. One major challenge is the inherently low lesion conspicuity on NCCT, particularly for small or contrast-dependent lesions. The official TriALS benchmark similarly reports substantially lower performance on NCCT and severe difficulty for very small lesions [4]. Methodologically, our 2D formulation does not explicitly exploit through-plane context, while the fixed 4 × 4 patch grid may provide relatively coarse spatial priors for small or irregular lesions. In addition, the current codebook is primarily organized by anatomical position rather than lesion-specific appearance, which may limit its ability to distinguish subtle lesions from normal parenchyma. Residual registration differences between NCCT and portal venous CT may also introduce noise into dual-phase prior learning. Future work will investigate multi-scale or adaptive patch priors, 2.5D/3D contextual modeling, lesion-aware codebook objectives, and more robust cross-phase representation alignment while preserving NCCT-only inference.
Table 1. Ablation study of training inputs and anatomical-prior components on the NCCT test set.
Method
Input: NCCT
Input: VEN
Components: Code.
Components: Pos Reg.
DSC
IoU
Prec.
Rec.
U-Net
✓
–
–
–
0.4437
0.2851
0.4803
0.4123
Dual-Phase Codebook
✓
✓
✓
–
0.4074
0.2558
0.3005
0.6324
NCCT Codebook + Position
✓
–
✓
✓
0.3842
0.2378
0.5618
0.2929
Dual-Phase Codebook + Position (Ours)
✓
✓
✓
✓
0.5160
0.3477
0.4888
0.5465
Figure 2. Qualitative comparison of NCCT liver lesion segmentation on representative test slices. From left to right: NCCT input, combined lesion annotation, direct NCCT training on UNet, Dual-Phase Codebook, NCCT Codebook + Position, and the pro- posed method.
Table 2. Reference results from the official TriALS 2025 challenge for NCCT liver lesion segmentation under the combined-annotation paradigm [4]. Results are reported on the hidden challenge test sets and are not directly comparable with our held-out evaluation.
Method
China
Egypt
External
MIC
0.586
0.471
0.651
Eagles
0.502
0.323
0.539
WLAI
0.466
0.204
0.483
MedAI
0.454
0.359
0.477
PCLab-HIT
0.368
0.264
0.541
CALADAN
0.321
0.147
0.373
IV. Conclusion
We proposed a dual-phase position-guided anatomical prior learning framework for liver lesion segmentation on non-contrast CT (NCCT). The proposed method jointly learns a shared anatomical codebook from NCCT and spatially registered portal venous CT, while position regression encourages the codebook prototypes to capture features informative for anatomical location. Portal venous CT is used only as auxiliary information during training, whereas inference requires only a single NCCT image. On the TriALS dataset, the proposed method achieved a DSC of 0.5160 and an IoU of 0.3477, improving the U-Net baseline by 7.23%p and 6.26%p, respectively. The ablation results further showed that combining dual-phase learning with position supervision provided the most balanced precision–recall performance and the best overall segmentation accuracy. These results demonstrate that complementary information learned from contrast-enhanced portal venous CT can be effectively incorporated through position-guided anatomical priors to improve NCCT liver lesion segmentation without requiring additional contrast-enhanced input at inference.
V. Acknowledgements
This work was partly supported by the National Research Foundation of Korea(NRF) funded by the Korea government(MSIT)(RS-2024-00360226, 50%) and Institute of Information & Communications Technology Planning & Evaluation(IITP)-ITRC(Information Technology Research Center) grant funded by the Korea government(MSIT)(IITP-2026-RS-2024-00437718,
50%)
References
[1] Al-Battal, A.F., Duong, S., Tang, V.H., Tran, Q.D., Truong, S.Q., Phan, C.,Nguyen, T.Q., An, C.: Multi-target and multi-stage liver lesion segmentation and detection in multi-phase computed tomography scans. arXiv preprint arXiv:2404.11152 (2024)
[2] Bilic, P., Christ, P., Li, H.B., Vorontsov, E., Ben-Cohen, A., Kaissis, G., Szeskin, A.,Jacobs, C., Mamani, G.E.H., Chartrand, G., et al.: The liver tumor segmentation benchmark (lits). Medical image analysis 84, 102680 (2023)
[4] Elbatel, M., Ghonim, M., Mao, J., Lin, Z., Eckstein, K., Mora, A.M., Deissler, J.,Rokuss, M., Ulrich, C., Marinov, Z., et al.: Trials: Triphasic-aided liver lesion segmentation benchmark in non-contrast ct. arXiv preprint arXiv:2605.16572 (2026)
[5] Elbatel, M., Yi, Q., Huang, X., Wang, H., Li, X., Marinov, Z., Stiefelhagen, R., Deng, W., Li, B., Mao, J., Hu, H., Shen, J., Ghonim, M.,Abouelhoda, A., Salem, A.M.A., Elghitany, N., Elghitany, N., Adel, A., Adil Ali, S.,Yassin, A.: Triphasic-aided liver lesion segmentation in non-contrast ct (trials) challenge (Mar 2025). https://doi.org/10.5281/zenodo.15087646, https://doi.org/10.5281/zenodo.15087646
[6] Gross, M., Arora, S., Huber, S., Kücükkaya, A.S., Onofrey, J.A.: Liverhccseg: A publicly available multiphasic mri dataset with liver and hcc tumor segmentations and inter-rater agreement analysis. Data in Brief 51, 109662 (2023)
[7] Isaka, Y., Hayashi, H., Aonuma, K., Horio, M., Terada, Y., Doi, K., Fujigaki, Y.,Yasuda, H., Sato, T., Fujikura, T., et al.: Guideline on the use of iodinated contrast media in patients with kidney disease 2018. Circulation Journal 83(12), 2572–2607 (2019)
[8] Lee, H., Lee, Y.R., Park, S.Y., Tak, W.Y., Jung, S.K.: Anatomical codebook: Learning volumetric context for 2d medical image segmentation. In: International Conference on Pattern Recognition. pp. 433–447. Springer (2026)
[9] Ronneberger, O., Fischer, P., Brox, T.: U-net: Convolutional networks for biomedical image segmentation. In: International Conference on Medical image computing and computer-assisted intervention. pp. 234–241. Springer (2015)
[10] Xu, Y., Cai, M., Lin, L., Zhang, Y., Hu, H., Peng, Z., Zhang, Q., Chen, Q., Mao, X., Iwamoto, Y., et al.: Pa-resseg: A phase attention residual network for liver tumor segmentation from multiphase ct images. Medical Physics 48(7), 3752–3766 (2021)
[11] Zhang, Y., Peng, C., Peng, L., Huang, H., Tong, R., Lin, L., Li, J., Chen, Y.W., Chen, Q., Hu, H., et al.: Multi-phase liver tumor segmentation with spatial aggregation and uncertain region inpainting. In: International conference on medical image computing and computer-assisted intervention. pp. 68–77. Springer (2021)