A Modular Agent for Reliable and Auditable Spatial Relation Verification in CT Scans

Simon Vincent Abel Ulm University Heiko Hillenhagen Ulm University Michael Götz Ulm University Timo Ropinski Ulm University Ayhan Can Erdur TUM Daniel Wolf Universitäts Klinikum Ulm

MICCAI 2026 Agentic AI for Medicine Workshop, 2026

Abstract

Reliable spatial understanding is an important prerequisite for future medical vision-language systems that aim to support radiological report generation and structured image understanding. While modern vision-language models (VLMs) show promising performance on many medical imaging tasks, recent evidence suggests they remain weak in controlled spatial reasoning and often fail to reliably ground spatial relations in image evidence. Given that radiological reasoning hinges on understanding the relative positions of anatomical structures and findings, this spatial weakness poses risks to diagnostic accuracy. We present a modular medical imaging agent for binary spatial relation verification in axial CT slices. Instead of directly predicting spatial answers end-to-end, the system decomposes the task into explicit stages: language parsing, anatomical localization, and deterministic geometric verification. Natural-language queries are converted into structured relation tuples, queried organs are localized with a YOLO-based detector, and the final spatial decision is computed from object centers using deterministic geometric rules. We evaluate the approach on the held-out MIRP spatial QA benchmark and compare it against representative end-to-end VLM baselines. The best-performing hybrid configuration reaches 94.1% accuracy and 94.2% F1, outperforming direct Qwen2-VL prompting by 42.5 percentage points in accuracy, while preserving interpretable intermediate representations and auditable reasoning stages. The results suggest that explicit modular spatial verification can serve as a promising building block for future report-oriented medical imaging agents.

## Main Findings - While VLMs fail to understand spatial relations in CT images, we show that a tool-using agent can reliably verify them, reaching 94.1% accuracy on the MIRP Benchmark where VLMs remain near chance level. - Such an agent can be a building block for future systems that write radiological reports, where spatial understanding is an absolute prerequisite. - Beyond accuracy, the agent is auditable (you see exactly where it goes wrong), and its modular pipeline can be extended with further tools and specialized models for other tasks on which VLMs fail.

Bibtex

content_copy
@inproceedings{abel2024modular,
	title={A Modular Agent for Reliable and Auditable Spatial Relation Verification in CT Scans},
	author={Abel, Simon Vincent and Hillenhagen, Heiko and G{\"o}tz, Michael and Ropinski, Timo and Erdur, Ayhan Can and Wolf, Daniel},
	year={2026}
}