MATRIX: Multi-Agent simulaTion fRamework for safe Interactions and conteXtual clinical conversational evaluation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lim, Ernest, He, Yajie Vera, Joselowitz, Jared, Preston, Kate, Chowdhury, Mohita, Williams, Louis, Higham, Aisling, Mason, Katrina, Melo, Mariane, Lawton, Tom, Jia, Yan, Habli, Ibrahim
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915464428388352
author Lim, Ernest
He, Yajie Vera
Joselowitz, Jared
Preston, Kate
Chowdhury, Mohita
Williams, Louis
Higham, Aisling
Mason, Katrina
Melo, Mariane
Lawton, Tom
Jia, Yan
Habli, Ibrahim
author_facet Lim, Ernest
He, Yajie Vera
Joselowitz, Jared
Preston, Kate
Chowdhury, Mohita
Williams, Louis
Higham, Aisling
Mason, Katrina
Melo, Mariane
Lawton, Tom
Jia, Yan
Habli, Ibrahim
contents Despite the growing use of large language models (LLMs) in clinical dialogue systems, existing evaluations focus on task completion or fluency, offering little insight into the behavioral and risk management requirements essential for safety-critical systems. This paper presents MATRIX (Multi-Agent simulaTion fRamework for safe Interactions and conteXtual clinical conversational evaluation), a structured, extensible framework for safety-oriented evaluation of clinical dialogue agents. MATRIX integrates three components: (1) a safety-aligned taxonomy of clinical scenarios, expected system behaviors and failure modes derived through structured safety engineering methods; (2) BehvJudge, an LLM-based evaluator for detecting safety-relevant dialogue failures, validated against expert clinician annotations; and (3) PatBot, a simulated patient agent capable of producing diverse, scenario-conditioned responses, evaluated for realism and behavioral fidelity with human factors expertise, and a patient-preference study. Across three experiments, we show that MATRIX enables systematic, scalable safety evaluation. BehvJudge with Gemini 2.5-Pro achieves expert-level hazard detection (F1 0.96, sensitivity 0.999), outperforming clinicians in a blinded assessment of 240 dialogues. We also conducted one of the first realism analyses of LLM-based patient simulation, showing that PatBot reliably simulates realistic patient behavior in quantitative and qualitative evaluations. Using MATRIX, we demonstrate its effectiveness in benchmarking five LLM agents across 2,100 simulated dialogues spanning 14 hazard scenarios and 10 clinical domains. MATRIX is the first framework to unify structured safety engineering with scalable, validated conversational AI evaluation, enabling regulator-aligned safety auditing. We release all evaluation tools, prompts, structured scenarios, and datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2508_19163
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MATRIX: Multi-Agent simulaTion fRamework for safe Interactions and conteXtual clinical conversational evaluation
Lim, Ernest
He, Yajie Vera
Joselowitz, Jared
Preston, Kate
Chowdhury, Mohita
Williams, Louis
Higham, Aisling
Mason, Katrina
Melo, Mariane
Lawton, Tom
Jia, Yan
Habli, Ibrahim
Artificial Intelligence
Human-Computer Interaction
Multiagent Systems
68T50, 68T42, 92C50, 68Q60
I.2.0; J.3
Despite the growing use of large language models (LLMs) in clinical dialogue systems, existing evaluations focus on task completion or fluency, offering little insight into the behavioral and risk management requirements essential for safety-critical systems. This paper presents MATRIX (Multi-Agent simulaTion fRamework for safe Interactions and conteXtual clinical conversational evaluation), a structured, extensible framework for safety-oriented evaluation of clinical dialogue agents. MATRIX integrates three components: (1) a safety-aligned taxonomy of clinical scenarios, expected system behaviors and failure modes derived through structured safety engineering methods; (2) BehvJudge, an LLM-based evaluator for detecting safety-relevant dialogue failures, validated against expert clinician annotations; and (3) PatBot, a simulated patient agent capable of producing diverse, scenario-conditioned responses, evaluated for realism and behavioral fidelity with human factors expertise, and a patient-preference study. Across three experiments, we show that MATRIX enables systematic, scalable safety evaluation. BehvJudge with Gemini 2.5-Pro achieves expert-level hazard detection (F1 0.96, sensitivity 0.999), outperforming clinicians in a blinded assessment of 240 dialogues. We also conducted one of the first realism analyses of LLM-based patient simulation, showing that PatBot reliably simulates realistic patient behavior in quantitative and qualitative evaluations. Using MATRIX, we demonstrate its effectiveness in benchmarking five LLM agents across 2,100 simulated dialogues spanning 14 hazard scenarios and 10 clinical domains. MATRIX is the first framework to unify structured safety engineering with scalable, validated conversational AI evaluation, enabling regulator-aligned safety auditing. We release all evaluation tools, prompts, structured scenarios, and datasets.
title MATRIX: Multi-Agent simulaTion fRamework for safe Interactions and conteXtual clinical conversational evaluation
topic Artificial Intelligence
Human-Computer Interaction
Multiagent Systems
68T50, 68T42, 92C50, 68Q60
I.2.0; J.3
url https://arxiv.org/abs/2508.19163