TL;DR
DermAgent is a novel multi-tool agentic system designed to overcome the hallucinations and lack of domain grounding typical of standard Multimodal Large Language Models (MLLMs) in dermatology. By orchestrating seven specialized visual and text-retrieval tools within a "Plan–Execute–Reflect" loop, it delivers traceable, evidence-based diagnostic reasoning. Backed by a deterministic Critic module that automatically catches and corrects inter-source contradictions, DermAgent achieves substantial performance gains, more than doubling GPT-4o's accuracy on fine-grained skin disease diagnosis.
What Problem Does This Paper Address?
Dermatological diagnosis is notoriously difficult for AI. It requires more than just basic image classification; clinicians must combine fine-grained visual cues with structured dermoscopic concepts (like pigment networks or border irregularities) and cross-reference these findings with extensive medical literature.
While general-purpose MLLMs (like GPT-4o) can converse about medical images, they suffer from two critical flaws in clinical settings:
- Parametric Hallucinations: They rely entirely on knowledge frozen in their weights during pre-training, meaning they cannot verify information against trusted external clinical references.
- Lack of Specialized Perception: They struggle to integrate multi-dimensional clinical signals—such as mapping an image to a candidate diagnosis while simultaneously extracting standardized dermoscopic features and generating free-form descriptions.
Methods
DermAgent addresses these gaps using a Plan–Execute–Reflect framework that models a clinician's iterative workflow.
The architecture consists of three core components:
- LLM Controller (Plan): Powered by GPT-4o, the controller analyzes the user's query and decomposes it into structured sub-tasks, selecting the appropriate tools to call.
- Specialist Tool Modules (Execute): DermAgent integrates seven distinct tools divided into two groups:
- Visual Analysis Tools: Includes PanDerm for zero-shot classification, MAKE for structured dermoscopic concept annotation, and DermoGPT / Qwen3-VL for visual question answering.
- Knowledge Retrieval Tools (Dual-Modality RAG): Case RAG searches a vector database of 413,210 clinically diagnosed cases to find morphologically similar images. Guideline RAG uses a hybrid search and re-ranking pipeline to query 3,199 clinical guideline chunks. An Ontology Tool provides hierarchical knowledge graph lookups.
- Deterministic Critic Module (Reflect): To eliminate hallucinations, a post-hoc auditing module evaluates the accumulated evidence chain against three strict gates: Confidence Thresholds, Tool Coverage Validation, and Conflict Detection (e.g., if the classifier and Case RAG disagree). If a gate fails, the Critic generates targeted feedback and forces the controller to re-plan and retry.
Datasets
The authors evaluated DermAgent across five established dermatology benchmarks covering three distinct tasks:
- Zero-Shot Disease Diagnosis: Evaluated on HAM10000 (7 common diseases, 642 images) and SNU (a highly challenging, fine-grained dataset with 134 disease classes, 500 images).
- Dermoscopic Concept Annotation: Evaluated on Derm7pt (7 concepts, 100 images) and SkinCon (32 clinical concepts, 100 images).
- Clinical Captioning: Evaluated on SkinCAP (100 images) using the ROUGE-L metric.
The external knowledge bases used for retrieval included Derm1M (for cases) and document chunks compiled from DermNet and the Mayo Clinic (for guidelines).
Key Insights and Ideas
- The Power of the Critic: The deterministic Critic module proved to be the most vital component for generating high-quality clinical descriptions. By forcing the system to self-correct when tools contradicted one another, it successfully suppressed false positives.
- Grounding via Dual-RAG: Combining case-based image retrieval with guideline-grounded text retrieval creates a powerful cross-validation mechanism. Case RAG anchors the visual impression in real historical records, while Guideline RAG provides the precise medical terminology needed for accurate reporting.
Key Results
DermAgent consistently outperformed state-of-the-art MLLMs (including GPT-4o and GPT-5.2) and specialized medical agent baselines across all tasks.
- Fine-Grained Diagnosis (SNU): DermAgent achieved 32.60% accuracy, more than doubling GPT-4o's performance (15.00%) on a complex 134-class taxonomy.
- Standard Diagnosis (HAM10000): It reached 61.83% accuracy, outperforming the leading medical agent baseline, MedAgent-Pro, by 4.20%.
- Clinical Captioning: It achieved a ROUGE-L score of 19.48%, outperforming GPT-4o by 3.15%.
Qualitative Impact
As shown in the qualitative example below, standard MLLMs like GPT-4o can easily misidentify rare or mimicking conditions (e.g., mistaking Granuloma annulare for tinea corporis). DermAgent's multi-round reflection allows it to catch visual conflicts early, query the correct clinical guidelines, and self-correct to the true diagnosis.
Limitations and Future Work
Not discussed in the paper.
Summary updated