XAI4LLM. Let Machine Learning Models and LLMs Collaborate for Enhanced In-Context Learning in Healthcare
Fatemeh Nazary, Yashar Deldjoo, Tommaso Di Noia, Eugenio di Sciascio

TL;DR
This paper introduces a knowledge-guided in-context learning framework for large language models to improve clinical decision support by processing structured data, enhancing fairness, and enabling zero-shot deployment, with a comprehensive evaluation across multiple prompt designs.
Contribution
The study presents the first systematic analysis of ICL design for clinical tabular tasks using LLMs, integrating domain knowledge and comparing performance with classical ML models.
Findings
LLMs with narrative prompts improve recall and reduce gender bias.
Traditional ML models outperform LLMs in balanced precision-recall scenarios.
LLMs offer advantages like zero-shot deployment and increased fairness despite higher latency.
Abstract
Clinical decision support systems require models that are not only highly accurate but also equitable and sensitive to the implications of missed diagnoses. In this study, we introduce a knowledge-guided in-context learning (ICL) framework designed to enable large language models (LLMs) to effectively process structured clinical data. Our approach integrates domain-specific feature groupings, carefully balanced few-shot examples, and task-specific prompting strategies. We systematically evaluate this method across seventy distinct ICL designs by various prompt variations and two different communication styles-natural-language narrative and numeric conversational-and compare its performance to robust classical machine learning (ML) benchmarks on tasks involving heart disease and diabetes prediction. Our findings indicate that while traditional ML models maintain superior performance in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectronic Health Records Systems · Artificial Intelligence in Healthcare · Machine Learning in Healthcare
