Architectural Safety Mechanisms for Multi-Agent Clinical LLM Systems Under Knowledge Base Distribution Shift
Sulaiman, M. A.; Oyeyemi, B. F.; Sarafadeen, H.
Show abstract
Objective: To evaluate whether multi-agent LLM architectures with explicit safety verification maintain guideline compliance when their clinical knowledge bases undergo temporal or institutional distribution shift. Materials and Methods: We designed a controlled evaluation framework using 50,000 synthetic type 2 diabetes patients with CKD and hypertension comorbidities (500 per experimental condition). Four architecture modes (single-agent, naive RAG, linear multi-agent, stateful graph with safety floor) were tested under four shift regimes: baseline, temporal drift (updated eGFR thresholds), institutional vocabulary transformation (11 term-pair substitutions producing 0.36 cosine similarity degradation), and metadata erasure. The clinical task was medication reconciliation with contraindication detection. Two embedding models (all-MiniLM-L6-v2, PubMedBERT) and two LLM backends (Llama3-8B, Mistral-7B) were compared. Results: Under institutional vocabulary shift, the linear pipeline's Guideline Compliance Score dropped from 1.00 to 0.36 because retrieval degradation rendered critical contraindication guidelines unretrievable. The stateful graph architecture maintained GCS = 1.00 across all shift conditions through its regime-aware safety floor, which operates independently of retrieval quality. This pattern held across both LLM backends and both embedding models. The safety mechanism added 32.2s latency per patient under shift versus 12.5s for single-agent mode. Discussion: Architectural choice (specifically whether audit findings are routed back to the summary agent) determines compliance under shift more than retrieval quality or model scale. The safety floor's value is compliance maintenance, not semantic fidelity improvement. Conclusion: Stateful multi-agent graphs with programmatic safety floors bound error propagation under clinical knowledge shift. The framework is reproducible on consumer hardware with no external API dependencies.
Matching journals
The top 6 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
- Dataset Documentation for Responsible AI: Analysis of Suitability and Usage for Health Datasets 93%
- Enhancing Privacy-Preserving Deployable Large Language Models for Perioperative Complication Detection: A Targeted Strategy with LoRA Fine-tuning 92%
- Zero Shot Health Trajectory Prediction Using Transformer 92%
Similar papers in this journal
Similar papers in this journal
- Large Language Models in Real-World Clinical Workflows: A Systematic Review of Applications and Implementation 92%
- Development and Validation of a Machine Learning Model Integrated with the Clinical Workflow for Inpatient Discharge Date Prediction 90%
- An automated Dashboard to improve laboratory COVID-19 diagnostics management 89%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.