How to Train Your Chatbot: Information‐Theoretic Foundations of Diagnostic Questioning in Inborn Errors of Immunity

BACKGROUND: Navigating the more than 550 inborn errors of immunity (IEI) requires efficient diagnostic reasoning. Information theory suggests questions should be prioritized by their capacity to reduce diagnostic uncertainty (entropy); yet whether experts or large language models (LLMs) optimize for information gain remains unquantified. OBJECTIVE: We compared expert clinician and LLM diagnostic prioritization strategies using an information-theoretic framework. METHODS: Fifteen immunologists and six LLMs (ChatGPT, Claude, Gemini, Grok, DeepSeek, and Llama) ranked 35 diagnostic questions by efficiency. Shannon's entropy was used to estimate expected information gain (EIG) for each question. Agreement was assessed via Spearman correlations, consensus ranking, and principal components analysis (PCA). RESULTS: Clinician consensus rankings strongly correlated with estimated information gain (Spearman ρ = -0.71, p < 0.001). "Age at onset?" ranked first by clinicians, provided the highest information gain (2.29 bits), reducing diagnostic uncertainty by 80%. Clinicians and LLMs showed strong agreement on top-tier discriminators (Spearman ρ = 0.73, p < 0.001). However, PCA revealed a distinct LLM cluster; clinicians prioritized bedside/history questions, whereas LLMs favored syndromic and laboratory features. Optimal questioning reached diagnostic confidence in 4-5 steps, approaching the theoretical minimum. CONCLUSIONS: Expert clinicians implicitly approximate information-theoretic optimization in IEI diagnostics. While LLMs share a core heuristic for high-yield questions, divergence in mid-sequence reasoning suggests a shift from experiential heuristics to probabilistic data-matching. This framework provides a principled basis for training AI-assisted tools that mirror expert diagnostic logic.

Authors

Institutions

Publication Details

Journal
Allergy
Published
2026-08-14
DOI
https://doi.org/10.1111/all.70483
Primary Topic
Clinical Reasoning and Diagnostic Skills
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

How to Train Your Chatbot: Information‐Theoretic Foundations of Diagnostic Questioning in Inborn Errors of Immunity

Alejandro Palma, Kathleen E. Sullivan, Chiharu Murata, Natalia Vélez Tirado et al.
Allergy
Clinical Reasoning and Diagnostic Skills
article

How to Train Your Chatbot: Information‐Theoretic Foundations of Diagnostic Questioning in Inborn Errors of Immunity

Alejandro Palma, Kathleen E. Sullivan, Chiharu Murata, Natalia Vélez Tirado, Alejandro Tarango-García, EDNA VENEGAS MONTOYA, Saul Lugo Reyes, Héctor Gómez Tello, Eduardo Guaní Guerra, Oleastro Matías, Scheffler-Mendoza Selma Cecilia, Juan Carlos Bustamante Ogando, Hanadys Ale, Lina Maria Castaño-Jaramillo, Sara Espinosa-Padilla, Estefanía Vásquez Echeverri, Marco Yamazaki-Nakashimada
article en

Abstract

BACKGROUND: Navigating the more than 550 inborn errors of immunity (IEI) requires efficient diagnostic reasoning. Information theory suggests questions should be prioritized by their capacity to reduce diagnostic uncertainty (entropy); yet whether experts or large language models (LLMs) optimize for information gain remains unquantified. OBJECTIVE: We compared expert clinician and LLM diagnostic prioritization strategies using an information-theoretic framework. METHODS: Fifteen immunologists and six LLMs (ChatGPT, Claude, Gemini, Grok, DeepSeek, and Llama) ranked 35 diagnostic questions by efficiency. Shannon's entropy was used to estimate expected information gain (EIG) for each question. Agreement was assessed via Spearman correlations, consensus ranking, and principal components analysis (PCA). RESULTS: Clinician consensus rankings strongly correlated with estimated information gain (Spearman ρ = -0.71, p < 0.001). "Age at onset?" ranked first by clinicians, provided the highest information gain (2.29 bits), reducing diagnostic uncertainty by 80%. Clinicians and LLMs showed strong agreement on top-tier discriminators (Spearman ρ = 0.73, p < 0.001). However, PCA revealed a distinct LLM cluster; clinicians prioritized bedside/history questions, whereas LLMs favored syndromic and laboratory features. Optimal questioning reached diagnostic confidence in 4-5 steps, approaching the theoretical minimum. CONCLUSIONS: Expert clinicians implicitly approximate information-theoretic optimization in IEI diagnostics. While LLMs share a core heuristic for high-yield questions, divergence in mid-sequence reasoning suggests a shift from experiential heuristics to probabilistic data-matching. This framework provides a principled basis for training AI-assisted tools that mirror expert diagnostic logic.

Allergy
Universidad de Guanajuato (MX), Dalhousie University (CA), Children's Hospital of Philadelphia (US), Mexican Social Security Institute (MX), Garrahan Hospital (AR), Universidad de Antioquia (CO), Hospital General De Zona (MX), Institución Universitaria Colombo Americana (CO), Universidad de Medellín (CO), Vietnam National Children's Hospital (VN), Hospital del Niño (PA), Joe DiMaggio Children's Hospital (US), Misericordia University (US)
Openalex Percentile: Top 91%
Clinical Reasoning and Diagnostic Skills
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.