EndoChat: Grounded multimodal large language model for endoscopic surgery

Guankun Wang, Long Bai, Junyi Wang, Kun Yuan, Zhen Li, Tianxu Jiang, Xiting He, Jinlin Wu, Zhen Chen, Zhen Lei, Hongbin Liu, Jiazheng Wang, Fan Zhang, Nicolas Padoy, Nassir Navab, Hongliang Ren

Introduction

Robot-assisted surgery (RAS) is fundamentally changing the landscape of modern healthcare. However, the rapid adoption of these technologies has created a significant bottleneck in surgical training. Trainees require immediate, expert feedback during complex procedures, yet professional surgeons are often unable to provide constant, one-on-one supervision. While general-purpose multimodal large language models (MLLMs) like GPT-4V or LLaVA have shown promise in everyday tasks, they consistently fail in the high-stakes environment of the operating room due to specialized domain gaps and a tendency toward hallucinations.

To bridge this gap, researchers have developed EndoChat, a specialized MLLM designed to act as a grounded AI assistant for endoscopic surgery. By combining a massive new surgical dataset with novel architectural improvements, EndoChat achieves state-of-the-art performance in understanding surgical scenes and providing real-time guidance.

Methodology

The EndoChat framework is built upon the LLaMA2-13B foundation, enhanced with several key innovations to handle the unique demands of surgical imaging:

Mixed Visual Token Engine (MVTE)

Standard AI vision models often downsample images to a single resolution, which can cause tiny but critical surgical tools—like needles or fine graspers—to disappear. EndoChat utilizes a Mixed Visual Token Engine that extracts features at multiple scales (224x224 and 512x512). This "multi-tower" approach ensures the model captures both the broad anatomical context and the minute details of instrument-tissue interaction.

Hallucination Mitigation

In a medical context, "hallucinations" (where the model identifies structures that aren't present) are unacceptable. EndoChat introduces a visual contrast-based reasoning mechanism. By processing both the original image and a strategically distorted version, the model is forced to rely on actual visual evidence rather than linguistic biases or text-based guessing. This process is further refined using LoRA (Low-Rank Adaptation), allowing the model to gain surgical expertise without sacrificing its general reasoning capabilities.

The Surg-396K Dataset

The backbone of EndoChat's training is Surg-396K, the largest surgical multimodal instruction dataset currently available. It comprises 41,400 images and 396,000 instruction-following pairs, integrating data from major public sources such as EndoVis-VQLA, CoPESD, and Cholec80-VQA.

The dataset covers five distinct dialogue paradigms:

  1. Single Phrase Recognition
  2. Detailed Scene Description
  3. Visual Question Answering (VQA)
  4. Region-Based QA
  5. Grounding QA (identifying specific coordinates)

Conversational Flexibility and Interface

Unlike previous "one-trick pony" surgical AI systems designed for single tasks like tool counting, EndoChat is designed for flexible, natural language interaction. It can handle queries ranging from simple instrument identification to complex requests for describing the interaction between a grasper and a mucosal flap.

The EndoChat interactive interface designed for surgical dialogue.

Key Results and Validation

EndoChat significantly outperforms both general-purpose MLLMs and specialized medical models like BiomedGPT across several benchmarks:

  • Grounding Accuracy: On the EndoVis-18 dataset, EndoChat achieved a Mean Intersection over Union (mIoU) of 86.89%, surpassing the next best open-source model (Qwen2.5-VL) by nearly 23 points.
  • Expert Validation: In a review of 150 cases by professional endoscopists, 74% of surgeons verified the descriptions as correct, and 76.6% found the AI's analysis useful for trainee education.
  • Real-Time Performance: Running on a single NVIDIA RTX A6000 GPU, the model maintains an average inference time of under one second, making it a viable candidate for real-time intraoperative assistance.

Conclusion and Future Directions

EndoChat represents a significant step toward reliable AI assistants in the operating room. By prioritizing multi-scale vision and hallucination mitigation, it provides the "grounded" reasoning necessary for surgical safety. Future work will focus on expanding the diversity of surgical cases, incorporating temporal video context to understand the flow of procedures, and optimizing the model for edge deployment on mobile devices or surgical towers.

Summary updated

BibTeX
@article{wang2026endochat,
  author = {Guankun Wang and Long Bai and Junyi Wang and Kun Yuan and Zhen Li and Tianxu Jiang and Xiting He and Jinlin Wu and Zhen Chen and Zhen Lei and Hongbin Liu and Jiazheng Wang and Fan Zhang and Nicolas Padoy and Nassir Navab and Hongliang Ren},
  title = {{EndoChat: Grounded multimodal large language model for endoscopic surgery}},
  journal = {Medical Image Analysis},
  year = {2026},
  doi = {10.1016/j.media.2025.103789},
}
Figure