GMAT: Grounded Multi-agent Clinical Description Generation for Text Encoder in Vision-Language MIL for Whole Slide Image Classification

Ngoc Bui Lam Quang, Nam Le Nguyen Binh, Thanh-Huy Nguyen, Le Thien Phuc Nguyen, Quan Nguyen, Ulas Bagci

Abstract

GMAT introduces a multi-agent AI system that "reads" pathology textbooks to generate highly specific, grounded clinical descriptions for cancer classification. By replacing generic text prompts with a structured list of expert-verified descriptions, the framework significantly improves how Vision-Language Models (VLMs) identify complex patterns in gigapixel-sized medical images.

Introduction: The Specificity and Capacity Challenges

In digital pathology, Whole Slide Images (WSIs) are massive—often containing billions of pixels. The standard approach, Multiple Instance Learning (MIL), breaks these slides into smaller patches for analysis. Recently, researchers have tried using Vision-Language Models (like CLIP) to help these models "understand" what they see by providing text descriptions of diseases.

However, two major hurdles remain:

  1. The Specificity Gap: Generic prompts (e.g., "this is lung cancer") or descriptions generated by standard LLMs often lack the fine-grained medical detail needed for accurate diagnosis. LLMs can also "hallucinate" incorrect medical information.
  2. The Capacity Bottleneck: VLMs have limited "token capacity." If a prompt is too long, the model loses information; if it's too short, it lacks nuance.

Methods: Grounded Multi-Agent Text Generation (GMAT)

The authors propose GMAT, which consists of two main innovations: the GMATG multi-agent system and a list-based text encoding strategy.

1. The GMATG Multi-Agent System

Instead of asking a single AI to write a description, GMATG uses a specialized "team" of agents (powered by Gemini 1.5-Pro) to process curated pathology textbooks. This collaborative approach ensures that the generated descriptions are grounded in established medical knowledge.

The GMATG multi-agent workflow for generating grounded clinical descriptions from pathology textbooks.

The workflow involves four distinct roles:

  • Planning Agent: Outlines the structure and rules for the description.
  • Generate Agent: Drafts the initial clinical description based on textbook data.
  • Verify Agent: Fact-checks the draft against medical standards for accuracy and terminology.
  • Finalize Agent: Formats the output into a clean JSON list of short, punchy clinical sentences.

2. List-Based Text Encoding and Vision-Language Alignment

Rather than encoding one long paragraph, GMAT encodes a list of distinct descriptions. This allows the model to align specific visual patches in the slide with specific clinical signals (like cellular morphology or spatial context) without hitting the VLM's token limit.

The GMAT framework architecture, illustrating the alignment of list-based text features with visual image patches.

They use CONCH, a pathology-specific vision-language encoder, to bridge the gap between these text lists and the image patches. By breaking a complex medical concept into a list of "complementary clinical signals," it becomes easier for the vision encoder to find matching features in the image.

Experimental Results

The model was evaluated on two major benchmarks from The Cancer Genome Atlas: TCGA-RCC (kidney cancer subtyping) and TCGA-Lung (lung cancer subtyping).

Zero-Shot and Fine-Tuning Performance

GMAT showed strong performance in both "zero-shot" (no extra training) and fine-tuned scenarios:

  • Zero-Shot Boost: On the TCGA-Lung dataset, the Area Under the Curve (AUC) improved significantly from 0.6767 (using standard descriptions) to 0.7226 using GMAT’s list-based approach.
  • Fine-Tuning Excellence: When fully trained, GMAT achieved an AUC of 0.9791 on renal cancer and 0.9641 on lung cancer, outperforming or matching current state-of-the-art models like ViLa-MIL.

Multi-Agent Robustness

Ablation studies confirmed that the multi-agent workflow (GMATG) consistently produced better results than a single-agent setup. For instance, on the TCGA-Lung dataset, the multi-agent approach achieved an F1 score of 0.9023, compared to 0.8968 for the single-agent variant.

Conclusion

GMAT demonstrates that grounding AI descriptions in expert literature through a multi-agent framework significantly enhances the diagnostic capabilities of Vision-Language Models in pathology. By addressing the specificity gap and the capacity bottleneck, GMAT provides a more reliable and accurate method for classifying complex medical images. Future work may involve incorporating broader knowledge sources or real-world clinical reports to further improve generalizability.

Summary updated

BibTeX
@inproceedings{quang2025gmat,
  author = {Ngoc Bui Lam Quang and Nam Le Nguyen Binh and Thanh-Huy Nguyen and Le Thien Phuc Nguyen and Quan Nguyen and Ulas Bagci},
  title = {{GMAT: Grounded Multi-agent Clinical Description Generation for Text Encoder in Vision-Language MIL for Whole Slide Image Classification}},
  booktitle = {ELAMI @ MICCAI},
  year = {2025},
  doi = {10.1007/978-3-032-07502-4\_1},
}
Figure