Teaching LLMs to Recommend and Defer in Underrepresented Epilepsy Care
Abstract
A non-parametric prompt-learning framework called MANANA improves pediatric epilepsy treatment decisions by adapting to local prescribing practices and providing uncertainty-based deferral signals for low-confidence cases.
Specialist epilepsy expertise is scarce in resource-constrained settings, making LLM-based decision support attractive for frontline clinicians managing longitudinal treatment. Such systems must adapt to local prescribing practice and know when to defer. We study this problem in Ugandan pediatric epilepsy care, predicting anti-seizure medication regimens from longitudinal unstructured clinic notes. Standard prompting achieves non-trivial agreement with physician prescriptions, but neurologist review shows that many errors reflect distribution-miscalibrated prescribing defaults rather than failures to parse the local record. We introduce MANANA, a non-parametric prompt-learning framework that learns local prescribing guidance from a small patient-level training set. MANANA converts observed prescription errors into auditable prompt memories, instantiated in single-agent and multi-agent variants, and improves over classical ML models, direct LLM prompting, and prompt-optimization baselines across two independently collected Ugandan cohorts. We further propose Bayesian prompt averaging, which converts the learned prompt trajectory into prescription likelihoods and an uncertainty-based deferral signal. On the independently collected held-out cohort, this improves visit-level top-3 prescription accuracy by 4-8 percentage points over prompt-optimization baselines and enables selective prediction: the system can auto-handle the most confident half of cases at 95% precision, or the most confident quarter at 99% precision, while deferring lower-confidence cases for specialist review.
Community
The core question we wanted to study is whether an LLM can adapt to local clinical practice in a low-resource setting, instead of falling back on prescribing defaults from better-represented high-income settings.
The task is predicting anti-seizure medication regimens from longitudinal, unstructured clinician notes across serial visits in two independently collected Ugandan pediatric epilepsy cohorts. Standard prompting is already non-trivially accurate, but its errors are systematic: neurologist review of the reasoning traces shows the model often applying the wrong prior for the local care environment, including medication availability, cost, and follow-up patterns.
Manana is our “field journal” approach. A Predictor suggests anti-seizure medication regimens from longitudinal clinician notes, an Inspector checks the mistakes against what the treating physician actually prescribed, and an Architect turns repeated mistakes into readable prompt-memory rules. No weight updates, just an auditable record of what the system learned about local practice.
The safety piece is Bayesian Prompt Averaging: the system uses the sequence of learned prompt states as an ensemble, producing both a regimen prediction and a confidence score. High-confidence cases can be supported at high precision; uncertain cases are deferred to specialists.
There is also a really nice plain-language explainer here: https://gist.science/paper/2606.31036
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- MeDxAgent: Multi-Agent Consultation for Interactive Medical Diagnosis (2026)
- D2MDT: Department-aware Multidisciplinary Team Consultation with Deliberation for Efficient Clinical Prediction (2026)
- MedEvoEval: Evaluating Continual Evolution of Doctor Agents through Simulated Clinical Episodes (2026)
- RxEval: A Prescription-Level Benchmark for Evaluating LLM Medication Recommendation (2026)
- RealICU: Do LLM Agents Understand Long-Context ICU Data? A Benchmark Beyond Behavior Imitation (2026)
- LLM-Guided Evolution for Medical Decision Pipelines (2026)
- DDX-TRACE: A Benchmark for Medical Diagnostic Trajectories in VLMs (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2606.31036 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper