EmoMed: An Emotionally-Aware Agent for Multimodal Medical Support with Real-Time Information Retrieval

Ivan Nasonov, Nikita Glazkov, Ivan Makovetskiy, Mikhail Mozikov, Daniil Sukhorukov, Andrey Savchenko, Ilya MakarovarXiv 2026 · DOI

TL;DR

EmoMed is a multimodal medical consultation agent designed to detect user emotions—such as anxiety, confusion, or urgency—from text and images and dynamically adapt its response tone accordingly. By pairing emotion-aware prompting with a dual-retrieval mechanism (web search and specialized medical databases), the system significantly improves perceived empathy and communication clarity without sacrificing clinical accuracy or safety.

What Problem Does This Paper Address?

As large language models (LLMs) and vision-language models (VLMs) transition into patient-facing clinical roles, they face a dual challenge: maintaining absolute factual accuracy while providing compassionate, patient-centered communication.

Medical consultations are inherently stressful. A cold, purely factual AI response can inadvertently heighten patient anxiety or lead to poor adherence to medical advice. Conversely, attempting to steer an LLM's persona to be more empathetic can risk "content drift," where the model prioritizes tone over clinical accuracy, or worse, hallucinates incorrect medical guidance. EmoMed tackles this tension by creating a multimodal architecture that safely balances emotional adaptation with rigorous factual grounding.

Methods

EmoMed operates via a tool-augmented loop built around a Vision-Language Model (VLM). The pipeline consists of three main phases:

  1. Emotion Detection: A specialized instance of GPT-4o analyzes the user's input (both text and any uploaded medical images) to infer a single primary emotional state (e.g., anxious, concerned, frustrated, confused).
  2. Dual Grounding (RAG): To eliminate hallucinations and combat knowledge drift, the agent can iteratively invoke two retrieval tools (capped at 5 iterations per query): Tavily for real-time web searches (useful for time-sensitive public health updates) and MediSearch for evidence-based clinical database queries.
  3. Emotion-Conditioned Response Generation: The VLM synthesizes the retrieved clinical data and the detected emotion to generate a structured response. The prompt forces the model to follow a strict content plan (acknowledgment $\rightarrow$ restatement $\rightarrow$ clinical context $\rightarrow$ actionable guidance) while adjusting its tone—such as avoiding alarming language for anxious users or providing highly structured breakdowns for confused users.
Fig. 1: Overview of the EmoMed architecture. A multimodal VLM detects user emotion, retrieves information from both a web search and a medical database, and generates empathetic, evidence-grounded responses. Emotion conditioning guides tone and phrasing, while dual retrieval ensures factual accuracy and re- cency in safety-constrained medical dialogue.

Datasets

The authors evaluated EmoMed across two distinct benchmarks to test both text and image capabilities:

  • Text-only QA: Drawn from lavita/medical-qa-datasets, which aggregates physician-style questions and answers from the Medical Meadow and ChatDoctor-HealthcareMagic collections.
  • Multimodal Medical QA (Med-VQA): Evaluated using flaviagiammarino/path-vqa, a dataset containing visual question-answering tasks built on pathology images sourced from medical textbooks and the PEIR digital library.

Key Insights and Ideas

  • Empathy and Accuracy Are Not Mutually Exclusive: The core "aha moment" of the paper is that optimizing an AI for affective personalization (warmth, reassurance) does not inherently degrade factual correctness or safety, provided it is anchored by a robust retrieval-augmented generation (RAG) framework.
  • Multimodal Affect Cues Are Noisier: Detecting emotion from medical images (like pathology slides) combined with text is significantly more challenging than text alone. This can occasionally cause slight dips in emotional consistency, prompting the authors to bias the VLM toward a concise, "neutral-warm" safety fallback when confidence is low.
  • Structural Constraints Prevent Over-Hedging: Empathetic models can easily become overly verbose or vague. EmoMed mitigates this by enforcing a rigid response structure, ensuring that emotional reassurance never dilutes actionable clinical guidance.

Key Results

The framework was benchmarked across seven frontier models (including GPT-4o Mini, Gemini 2.5 Flash, Claude 3 Haiku, and Grok-4 Fast) using an LLM-as-a-judge framework, BERTScore, and a human user study.

  • Affective Improvements: Emotion-aware prompting consistently increased empathy scores by +0.20 to +0.35 and clarity by +0.01 to +0.03 on text benchmarks.
  • Factual Stability: Factual accuracy and safety metrics remained stable or even improved for the majority of models (e.g., GPT-4o Mini saw a +0.139 accuracy boost under emotion-aware prompting), demonstrating that tone modulation does not compromise performance.
  • User Preference: In a blinded pairwise user study with 44 participants, 77% (34 participants) preferred EmoMed's emotionally adaptive responses over the neutral baseline, highlighting clearer communication and better reassurance.
Fig. 5: Text QA: radar chart for emotion-aware vs. baseline (empa- thy, clarity, helpfulness, safety).

Limitations and Future Work

The authors note several limitations in their current implementation:

  • Single-Label Emotion Model: The system simplifies human affect into a single dominant label, failing to capture complex, blended emotional states.
  • Evaluation Bias: The automated evaluation relies heavily on an LLM judge (GPT-4o), which introduces potential subjective biases inherent to language models.
  • Dataset Generalizability: The experiments relied on curated benchmarks; real-world clinical deployment will require testing on uncurated, messy patient interactions.

Future work will focus on integrating richer affect dynamics, implementing stronger safety provenance for retrieved facts, and conducting larger-scale human studies within actual clinical workflows.

Summary updated

BibTeX
@misc{nasonov2026emomed,
  author = {Ivan Nasonov and Nikita Glazkov and Ivan Makovetskiy and Mikhail Mozikov and Daniil Sukhorukov and Andrey Savchenko and Ilya Makarov},
  title = {{EmoMed: An Emotionally-Aware Agent for Multimodal Medical Support with Real-Time Information Retrieval}},
  year = {2026},
  eprint = {2609.07194},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.07194},
}
Figure