Related Experiment Video
Updated: Aug 15, 2026

Virtual Agent for Real-Time Motivational Interviewing by Integrating Adaptive Nonverbal Behavior and Language Models
Published on: December 23, 2025
How to Train Your Chatbot: Information-Theoretic Foundations of Diagnostic Questioning in Inborn Errors of Immunity
Saul O Lugo Reyes1, Estefanía Vásquez Echeverri2,3,4, Juan Carlos Bustamante Ogando1,5
1Immune Deficiencies Research Laboratory, National Institute of Pediatrics, Health Secretariat, Mexico City, Mexico.
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.
Related Concept Videos
Introduction to Innate and Adaptive Immunity
Innate immunity is the body's natural, nonspecific defense system that acts quickly to protect against pathogens. It incorporates physical barriers like skin and mucous membranes and cellular elements such as phagocytes and natural killer cells. This part of our immune system provides an immediate,...
Special Features of Adaptive Immunity
The primary cell types involved in adaptive immunity are T cells and B cells. Each type has a unique role in defending the body against pathogens. T cells are responsible for cell-mediated immunity. They identify and eliminate infected cells directly,...
Humoral Immune Responses
Cytotoxic T Cells-mediated Immune Response
Immunological surveillance is the ability of immune cells to monitor and eliminate infected cells with intracellular pathogens, neoplastically transformed cells, and cells with non-self antigens. Cytotoxic T cells and NK...
Development of Immunocompetence
The initial cells that migrate from the fetal thymus settle within the skin and epithelial tissues lining the mouth, digestive tract, and in females, the uterus and vagina. These cells, including skin-based dendritic cells, serve as antigen-presenting cells, playing a key role in T cell activation.
Subsequent T...
Immunodeficiency Diseases
There are three main causes of immunodeficiency disorders...
