Semantic Scene Graph for Ultrasound Image Explanation and Scanning Guidance

Xuesong Li, Dianye Huang, Yameng Zhang, Nassir Navab, Zhongliang Jiang

Abstract

Medical ultrasound (US) is a highly portable and safe diagnostic tool, yet its interpretation requires significant expertise due to the variability of 2D cross-sectional views. This paper introduces a novel framework that leverages Semantic Scene Graphs (SGs) and Large Language Models (LLMs) to bridge the gap between complex ultrasound imagery and non-expert understanding. By converting raw images into structured graphs of anatomical relationships, the system generates natural language explanations and provides real-time scanning guidance. Our results demonstrate that this approach effectively identifies anatomical entities and their spatial relationships, enabling even lightweight LLMs to provide accurate, context-aware instructions for probe movement.

Introduction

Point-of-care ultrasound is ideal for diverse clinical settings, but it suffers from a steep learning curve. Unlike the standardized views of CT or MRI, ultrasound images vary significantly based on probe orientation, device settings, and individual patient anatomy. While AI has made strides in generating medical reports for clinicians, there is a lack of tools designed for non-experts, such as students or home users, who require intuitive explanations of what they are seeing and guidance on how to navigate the anatomy.

This research addresses this gap by proposing a two-stage pipeline that transforms ultrasound frames into "graspable" scene graphs, which then serve as the grounding for LLM-based interactions.

Methodology

The proposed framework consists of two primary components: Scene Graph Generation and LLM-assisted Image Understanding.

1. Scene Graph Generation

Rather than relying on traditional object detection that merely identifies bounding boxes, the system utilizes RelTR, a transformer-based one-stage model. RelTR simultaneously identifies anatomical entities and the predicates (relationships) between them. In the context of the neck region, the model identifies entities such as the Carotid Common Artery (CCA), Internal Jugular Vein (IJV), Cartilage Ring (CR), Thyroid (Th), and Vertebral Body (VB). The relationships include spatial and structural predicates like "is contiguous with," "partially encases," and "is superior to."

2. LLM Integration and Task Execution

The abstract scene graph is fed into an LLM along with user queries to perform two distinct tasks:

  • Task I (Image Summarization): The LLM translates the graph into a coherent anatomical description tailored to the user's focus (e.g., explaining the thyroid's position relative to the CCA).
  • Task II (Scanning Guidance): By analyzing the current scene graph alongside probe movement data, the LLM provides instructions on how to locate missing structures (e.g., "Continue scanning leftward to visualize the cartilage ring").

Experimental Setup and Dataset

The study focused on the neck region, utilizing a dataset of 289 high-resolution ultrasound images collected from five volunteers. A custom lightweight tool was developed to annotate bounding boxes and the "triplets" (subject-predicate-object) that define the scene graph. The researchers found that a 4-layer transformer encoder-decoder architecture provided the optimal balance between performance and computational efficiency, achieving a mean Average Precision (mAP@50) of 77.1% for object detection.

Results and Discussion

The framework was evaluated across several LLMs, including Grok 3, Gemini 2.0 Flash, and lightweight models like Qwen 2.5 (14B) and Gemma 2 (27B). While top-tier models like Grok 3 performed best on complex reasoning, the lightweight models demonstrated high accuracy in summarization tasks, suggesting the feasibility of local, edge-based deployment on portable devices.

A critical finding was the importance of structured grounding. Without the scene graph's constraints, even powerful models are prone to hallucinations or the introduction of extraneous anatomical content. For example, baseline models sometimes incorrectly inferred relationships, such as claiming the IJV encases the cartilage ring, a logical error that the scene graph approach helps mitigate.

Examples of hallucinations and logical errors in baseline LLM responses without proper scene graph grounding.

Conclusion

By using Scene Graphs as a structured "middle ground" between raw pixels and natural language, this framework makes ultrasound imaging more accessible to non-experts. The system not only explains the current view but also provides actionable guidance for navigation. Future work will focus on expanding the dataset to include more diverse anatomies, such as the heart and abdomen, to further democratize ultrasound technology.

Summary updated

BibTeX
@inproceedings{li2025semantic,
  author = {Xuesong Li and Dianye Huang and Yameng Zhang and Nassir Navab and Zhongliang Jiang},
  title = {{Semantic Scene Graph for Ultrasound Image Explanation and Scanning Guidance}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-05114-1\_48},
}
Figure