arXiv:2609.37648cs.CVSep 2026

Manuscript Offprint

arXiv:2609.37648

VoxelSage: Tool-Augmented 3D CT Analysis and Simulator-Shielded Sequential Resection Planning for Liver Tumors

Binghong Qian, Xuanhe Liu, Yifan Xing, Wenjie Deng, Jian Wu, Haochao Ying

Abstract

Preoperative liver-tumor assessment requires segmentation, physical-space measurement, visual evidence, and resection planning from the same three-dimensional CT volume. Existing tools often handle these steps separately, while language models cannot reliably compute physical measurements from CT. To provide an integrated workflow, we present VoxelSage, a multi-modal system for two- and three-dimensional visualization, liver-tumor analysis, and preoperative resection planning. Its dual-port architecture separates language-model orchestration from image computation: Port A interprets requests and selects skills, while Port B applies them to CT volumes and segmentation masks and returns structured results. Keeping physical measurements in Port B prevents the LLM from computing them directly and reduces the risk of fabricated numerical results. Eight built-in skills support quantitative analysis, visual evidence generation, three-dimensional reconstruction, segmentation refinement, and sequential resection planning; user-defined skills can extend these functions. For sequence planning, a behavior-cloned neural ranker orders candidate resection targets, while a simulator-based shield checks them against predefined constraints. Across 256 unseen simulator scenes, this approach reduced mean simulated time from 34.274 to 33.388 min (0.886 min, 2.59%) and mean simulated blood loss from 300.847 to 183.852 mL (116.995 mL, 38.89%) relative to a deterministic baseline. These results demonstrate system integration and simulator-level performance, not clinical efficacy or safety. The public implementation is available at https://github.com/ZJUMAI/VoxelSage.

Keywords: medical imaging agent; three-dimensional CT; liver tumor; quantitative image analysis; imitation learning (behavior cloning); liver resection planning

1 Introduction

Preoperative liver-tumor assessment requires more than detecting tumors in CT. Information from the full CT volume must be combined to quantify tumor burden and assess vascular relationships, resection margins, and preserved liver tissue. For these findings to support resection planning, the CT volume, segmentation masks, measurements, and visual evidence must remain linked to the same case and physical coordinate system.

Existing methods address individual parts of this task. VISTA3D, TotalSegmentator, and BiomedParse provide automatic or prompt-guided medical-image segmentation (He et al. 2025; Wasserthal et al. 2023; Zhao et al. 2025); CT-CLIP connects volumetric CT with text (Hamamci et al. 2026); and CT-Agent and 3DMedAgent organize specialized tools and selected evidence for multi-step CT reasoning (Mao et al. 2026; Wang et al. 2026b). IDEAL outlines a liver-surgery decision-support framework that brings together multimodal evidence, three-dimensional anatomy, functional information, and explicit constraints (Wang et al. 2026a). However, these methods do not provide one case-centered workflow that connects image preparation, image-based measurement, visual evidence, interactive correction, and resection planning. This gap motivates a system that coordinates specialized tools while keeping every result tied to its source data.

To address this need, we present VoxelSage, an online multimodal system for two- and three-dimensional visualization, liver-tumor analysis, and preoperative resection and sequential planning. To separate language-based coordination from computations that require image geometry and to keep the system extensible, VoxelSage uses a dual-port architecture: Port A interprets user requests, maintains the case context, selects skills, and integrates returned evidence, whereas Port B performs segmentation and applies the selected skills to the CT volume and segmentation masks. Figure 1 summarizes this reasoning–execution loop and the data exchanged between the browser, Port A, and Port B.

The main contributions of this work are summarized as follows:

  1. A dual-port architecture that separates task coordination from image computation. To prevent the language model from generating physical-space measurements directly, Port A handles request interpretation and skill selection, while Port B performs the segmentation and the corresponding computation on the CT volume and segmentation masks. To reduce repeated computation and improve efficiency, Port A caches the result received from Port B. For cross-case analysis, Port A also supports explicit file selection, allowing users to specify which cases to include and keeping the analysis focused on the selected files. Eight built-in skills return structured results for analysis, visualization, correction, and planning, or explicit errors on failure.

Figure

Figure 1: Dual-port collaboration workflow connecting the browser, Port A agent orchestration service, external language model, and Port B medical image computation service.

  1. A learned sequential resection planning method with “shield”. The system uses a bicubic Bézier surface to define the planned resection area. On a two-dimensional grid derived from the saved surface, a frozen behavior-cloned neural ranker orders candidate targets, while a simulator-based “shield” excludes candidates that would lead to excessive simulated blood loss or violate other predefined constraints.

To evaluate the online system and the learned controller, we use two evaluation settings. An illustrative single-case demonstration shows the end-to-end online workflow, while a three-case functional matrix using public colorectal liver metastasis CT data verifies the online data flow and Port B skill interfaces. A frozen two-dimensional simulator measures the effect of neural target ordering under controlled assumptions. The image-analysis interface uses only liver, tumor, and vessel masks, and it does not use information about whether a tumor is primary liver cancer or a metastasis from another organ. Therefore, evaluation on colorectal liver metastasis cases alone does not establish that the system generalizes to primary liver cancer or to tumors with other origins. The reported evaluation supports engineering integration and simulator-level behavior only, clinical performance and surgical safety require future validation.

References (52)