potentialpaper

Teaching LLMs to Recommend and Defer in Underrepresented Epilepsy Care

Shreyas Rajesh, Kartik Sharma, Tonmoy Monsoor, Mehmet Yigit Turali, Richard Idro, Juliana Kayaga, Robert Sebunya, Tracy Tushabe Namata, Jessica Nichole Pasqua, Vwani Roychowdhury, Rajarshi Mazumder

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We develop a multi agent prompt-learning framework that adapts LLM prescription support to Ugandan pediatric epilepsy care and adds Bayesian uncertainty estimates to defer low-confidence cases for specialist review

Abstract. Specialist epilepsy expertise is scarce in resource-constrained settings, creating a pressing need for decision-support tools that help frontline clinicians manage longitudinal treatment. Such systems must adapt to local prescribing practices and recognize when specialist review is needed. Most public medical AI benchmarks focus on high-income clinical settings, leaving prescribing practices, medication availability, and follow-up patterns in low-resource contexts largely unrepresented. We study this problem through a multidisciplinary collaboration focused on pediatric epilepsy care in Uganda. The task is to predict anti-seizure medication regimens from longitudinal unstructured notes collected by local clinicians across serial visits. General-purpose language models achieve non-trivial agreement with physician prescriptions, but neurologists’ review of model reasoning traces shows that their errors reflect Western prescribing defaults that do not account for local clinical practices. We introduce Manana, a non-parametric prompt-learning framework that learns how to reason about local prescribing decisions from a small patient-level training set. Manana turns observed prescription errors into an auditable prompt memory, instantiated in single-agent and multi-agent variants, and outperforms classical ML models, direct LLM prompting, and prompt-optimization baselines across two independently collected Ugandan cohorts. The sequence of prompts produced during learning also provides a basis for estimating uncertainty. We exploit this through Bayesian prompt averaging (BPA), which combines predictions across the learned prompt trajectory to produce prescription likelihoods and a deferral signal. Using the same Manana-Multi trajectory, BPA improves top-1 physician-regimen agreement from 66% to 70% on Cohort A and from 73% to 75% on Cohort B while preserving top-3 coverage. More consequentially, it enables clinically meaningful 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. These results suggest a path toward locally adapted clinical LLM systems that learn from limited site-specific data and reserve scarce specialist attention for the cases where uncertainty is highest.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes an LLM-based framework for anti-seizure medication prescription in low-resource circumstances, which achieves promising results on two cohorts. The reviewers agree that the paper addresses an important practical problem, that the methodology is principled and well suited to the problem, that the evaluation aligns with clinical utility, and that limitations are discussed adequately. In addition, the rebuttal was able to address questions about evaluation rigor (e.g. the existence of a clinical baseline) raised by the reviewers.

Final justification

The meta-review already includes my updated justification.

Area Chair dS56 · Meta-reviewOpenReview ↗
Final justification
The meta-review already includes my updated justification.
Read meta-review
Meta-review

This paper proposes an LLM-based framework for anti-seizure medication prescription in low-resource circumstances, which achieves promising results on two cohorts. The reviewers agree that the paper addresses an important practical problem, that the methodology is principled and well suited to the problem, that the evaluation aligns with clinical utility, and that limitations are discussed adequately. In addition, the rebuttal was able to address questions about evaluation rigor (e.g. the existence of a clinical baseline) raised by the reviewers.

1 comment
Authors · CommentOpenReview ↗

Response to Area Chair

We thank the Area Chair for the meta-review, and all three reviewers for their engagement. The meta-review identifies two issues: rigor of the evaluation, and comparison to more appropriate baselines. Both have been addressed with new experiments, summarised here with pointers to the individual threads.

Rigor: significance testing.

We report paired 95% confidence intervals from a hierarchical bootstrap that resamples the five training seeds and the test patients jointly, over 10,000 replicates. MANANA-Multi significantly exceeds the Base Prompt on both cohorts and DSPy-GEPA on Cohort A under EM@3, and DSPy-GEPA on both cohorts under EM@1. This is detailed in the response to Reviewer LouN (Q4).

Rigor: internal consistency.

The numbers describe different trajectories, which the captions did not make apparent: Appendix J Table 14 is the weighting ablation on MANANA-Single, while Tables 2 and 3 report MANANA-Multi. The numbers stand as reported; we will label both explicitly in the revision, and we now also provide the ablation on the MANANA-Multi trajectory. This is detailed in the response to Reviewer LouN (Q2, Q3).

Rigor: leakage.

We audit every visit in both cohorts with two independent LLM judges, with manual inspection of every flagged note: 0.40% flagged on Cohort A and 0.19% on Cohort B, alongside a manual audit of 30 Cohort B patients that found none. At these rates leakage cannot account for the reported accuracy. See Reviewer LouN (Q5).

Baselines: medically-tuned LLM.

We evaluate MedGemma-27B, Llama3-OpenBioLLM-70B, and HuatuoGPT-o1-72B under the identical input, output schema, and parser, changing only the model. This is detailed in the response to Reviewer LouN (Q6).

Baselines: clinical.

The premise that there is a lack of appropriate clinical check or baseline is incorrect. The reference for every visit is the ASM regimen prescribed by the treating physician (lines 56–57, 211–212), so every reported number is in agreement with practicing Ugandan clinicians. We also have a two-neurologist review with inter-rater agreement of 90.0%, and an outcome-supported subset of 342 visits on which MANANA-Multi reaches 86.0% EM@3. This is detailed in the response to Reviewer GuRC (W2/Q3).

Beyond these, we have added EM@1 for all main-text experiments as requested by Reviewer R3Sm, and a Visit-1 analysis of the previous-regimen-copy baseline requested by Reviewer LouN, which reaches 35.6% and 35.7% EM@3 on the two cohorts against 77.2% and 73.4% for MANANA-Multi.

All of the above will be incorporated into the camera ready version. We would be glad to provide any further analysis the Area Chair or the reviewers consider useful, and we would welcome the reviewers' confirmation of whether these responses resolve their concerns.

Reviewer R3SmOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors develop an application-specific treatment recommendation system composed of a single or multiple agents. The system is evaluated longitudinally and on multiple cohorts, and benefits from two technical improvements over a vanilla agent: a prompt-learning framework that distills errors into generalizable learnings, and Bayesian Prompt Averaging to estimate a notion of uncertainty.

Strengths and weaknesses

I enjoyed reading this paper, and my suggestions are largely minor and clarification-oriented. I believe the paper constitutes a useful contribution to the literature on how to develop useful agentic systems.

S1. I appreciate the clear grounding in a real-world application; it strikes an excellent balance between a specific context (anti-seizure medication) and a general technical problem (adapting an LLM to local practices, without the ability to update weights). The paper is well-written and easy to follow.

S2. The experimentation is thorough. Both the breadth of comparison to baselines on a held-out cohort, in addition to the replication on MIMIC, are impressive.

W1. The paper states "MANANA learns from patient notes and physician prescriptions, without clinician-written rules or expert review of model reasoning traces". Elsewhere the paper discusses the use of neurologists for expert review to define "specialist lenses"; could you clarify?

W2. I wasn't able to find the EM@1 results for the main text experiments, although I did see the EM@1 results for the MIMIC experiment. It would be helpful to add these to the manuscript, and to otherwise motivate the clinical significance of the EM@3 metric.

W3. The results from the neurologists analyzing are interesting and I'd recommend including them in more detail within the main text.

Questions

I've included my questions above, under the weaknesses section.

Limitations

Yes; I appreciated the neurologist analysis of system errors.

Final justification

I decided to retain my positive rating in response to the authors' rebuttal. A minor point of clarification regarding EM@1 came up, but it did not change my rating.

Formatting concerns

No concerns.

3 comments
Authors · CommentOpenReview ↗

We thank the reviewer for the careful and encouraging review and are happy to know they enjoyed reading the paper. We appreciate their recognition of the paper’s real-world grounding, its broader relevance to adapting LLMs to local practice without weight updates, and the breadth of the evaluation across two independently collected cohorts and MIMIC-IV. Their clarification oriented suggestions helped us sharpen the presentation. We address each point below and are happy to incorporate the suggested clarifications.

W1. The paper states "MANANA learns from patient notes and physician prescriptions, without clinician-written rules or expert review of model reasoning traces". Elsewhere the paper discusses the use of neurologists for expert review to define "specialist lenses"; could you clarify?

Happy to clarify, as two distinct systems are involved. MANANA learns its memory, whether the rule list or the specialist agents, entirely from patient notes and the prescriptions physicians recorded, with the Architect writing and revising those artefacts from data alone. No clinician defines them and no expert feedback enters the learning loop, which is what the quoted sentence refers to.

The “specialist lenses” the reviewer noticed belong to CONSILIUM, described in the appendix. That is a separate system, in which neurologist review of single-agent failures was used to define clinical lenses that were then implemented by hand. We include it as an expert-designed reference point, to show what a specialist-built multi-agent system achieves on the same task.

Neurologists do review MANANA's outputs and reasoning in Appendix~E, but as a post-hoc evaluation of the finished system rather than as an input to it, so the learning procedure itself remains free of clinician-authored rules and expert trace annotation.

W2. I wasn't able to find the EM@1 results for the main text experiments, although I did see the EM@1 results for the MIMIC experiment. It would be helpful to add these to the manuscript, and to otherwise motivate the clinical significance of the EM@3 metric.

Thank you for the question. Here we provide EM@1 for the main experiments.

EM@1 (%) by cohort and regimen complexity.

Cohort Method Mono V1 Mono V2 Mono V3 Poly V1 Poly V2 Poly V3
A Base Prompt 33.3 40.5 46.0 7.3 12.7 21.2
A DSPy (GEPA) 65.5 75.1 78.6 16.9 37.0 44.8
A MANANA-Single 68.8 75.7 77.9 17.2 36.7 41.2
A MANANA-Multi 68.1 81.9 85.8 20.6 41.3 48.3
B Base Prompt 37.6 38.1 41.6 11.8 14.1 20.3
B DSPy (GEPA) 53.1 73.9 77.8 31.2 39.8 39.8
B MANANA-Single 54.4 73.2 76.8 34.8 49.6 46.8
B MANANA-Multi 58.1 76.6 77.8 31.5 43.1 50.3

The ordering of methods is preserved under EM@1, with MANANA-Multi ahead on most cells and most clearly on monotherapy.

On the choice of EM@3, the reason is clinical rather than statistical. Epilepsy prescribing frequently admits several defensible regimens for the same patient, depending on availability, prior response, and tolerability, so a system that returns a single drug set misrepresents the decision the physician is actually making. MANANA in this setting is assistive: it presents three ranked regimens that a clinician could choose among, and defers the cases where it is least confident without making particular recommendations. EM@3 measures whether the physician's eventual choice is among the options offered, which is the quantity that matters for that workflow, while EM@1 measures the stricter single-shot case.

For the deployed system the operationally relevant top-1 number is the BPA-ranked one reported in Table~2, since BPA reorders the candidates by posterior confidence. We will state this motivation explicitly in the revision.

W3. The results from the neurologists analyzing are interesting and I'd recommend including them in more detail within the main text.

We thank the reviewer for the suggestion. We will bring the neurologist audit into the main text in the revision.

Authors · CommentOpenReview ↗

Follow Up

Dear Reviewer R3Sm,

As the discussion period draws to a close, we wanted to follow up on our response to your questions.

We would be happy to elaborate on anything that remains unclear. Thank you again for your constructive review.

Reviewer R3Sm · CommentOpenReview ↗

Thank you!

I thank the authors for their rebuttal and maintain my positive rating. I do believe that EM@1 is a useful metric, and likely more useful than EM@3. Ideally, we want a system that recommends the physician-prescribed regimen first, as opposed to relying on a clinician to select the correct regimen out of a set (which, as the authors note, is difficult in resource-limited settings). However, this is a minor point and I maintain my recommendation of acceptance.

Reviewer GuRCOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

MANANA is a prompt-based framework involving three agents (a Predictor, Inspector, and Architect) that iteratively refine prompts based on prediction errors, storing successful rules in an evidence buffer with a quorum voting mechanism. Two variants are proposed: MANANA-Single, which learns a single rule list, and MANANA-Multi, which maintains specialist agents per medication. At inference, Bayesian Prompt Averaging (BPA) combines predictions across recent prompt states weighted by their historical accuracy, and a confidence threshold triggers deferral to a clinician. On the KCNC dataset, MANANA matches or outperforms fine-tuned baselines on recommendation accuracy while achieving clinically meaningful deferral behavior, and transfers across LLM backbones without retraining. MANANA is used to recommend anti-seizure medications for pediatric epilepsy care in Uganda.

Strengths and weaknesses

Strengths: This paper's strengths are in its simplicity and clinical motivation for an underserved setting. (S1) Clinically motivated and underserved setting. Pediatric epilepsy in Uganda is a genuinely high-need problem with limited prior ML work. The deferral mechanism is well-aligned with real deployment constraints where a clinician is sometimes available.

(S2) No weight updates required. MANANA works entirely through prompt optimization, making it deployable on black-box API models and avoiding the data/compute requirements of fine-tuning (practically important for low-resource settings).

(S3) BPA is principled. Weighting prompt states by Beta-Binomial marginal likelihood is a clean Bayesian justification for ensembling prompt trajectories, rather than ad hoc voting.

(S3) Cross-model transfer. Prompts learned on one LLM transfer to others without re-optimization, suggesting the learned rules capture genuine clinical structure rather than model-specific artifacts.

Weaknesses: (W1) Dataset is very small. KCNC has a limited number of patients; results may not generalize, and variance across splits is high.

(W2) There is no comparison to clinical baselines. There is no direct comparison against what a practicing Ugandan clinician achieves, making it hard to assess real-world readiness.

(W3) Limited experimental setting and novelty. It would be helpful to asses the broader usefulness of this agentic setup in other settings as well.

Questions

(Q1) How are conflicts between specialists are resolved beyond the quorum rule? Specialist agents per medication make the system harder to audit and validate reliably.

(Q2) Prompt injection vulnerability. How can the prompt-based systems inherently susceptible to adversarial inputs protect against injections in clinical notes?

(Q3) The paper lacks a comparison to what clinicians actually achieve on this task. Even an approximate figure — e.g., inter-rater agreement among Ugandan neurologists on the same cases, or a retrospective accuracy of the current standard of care — would help situate MANANA's performance. Can the authors provide any such reference point, even informally?

Limitations

Yes

Formatting concerns

None

3 comments
Authors · CommentOpenReview ↗

Author response to Reviewer GuRC — Part 1 of 2

We thank the reviewer for their time and for recognizing the clinical motivation, the value of an approach that requires no weight updates, the principled basis of BPA, and the cross-model transfer results.

Before responding to the individual questions, we note that several statements in the review do not match our submission. The review reports results "on the KCNC dataset" and states that "MANANA matches or outperforms fine-tuned baselines". We do not use a KCNC dataset and report no fine-tuned LLM baselines. We evaluate on two independently collected Ugandan pediatric epilepsy clinics (App. B), and compare against non-parametric methods requiring no finetuning (DSPy-GEPA, TextGrad, ExpeL), classical predictors trained on extracted clinical features, and the EpiPick rule-based clinical comparator (App. C). The claim that we lack a comparison with practicing clinicians is likewise incorrect (lines 56-57, 211-212); see W2.

(W1) Small dataset; results may not generalize; high variance across splits

Our data comes from two Ugandan clinics: 699 patients and 2,549 visits (Cohort A: 332 patients / 1,040 visits; Cohort B: 367 / 1,509; App. B). MANANA learns from 70 Cohort A patients (50 train, 20 validation) and is evaluated on the remaining Cohort A patients plus all of Cohort B, a separate clinic that no method ever trains on. Cohort B is a genuine transfer test rather than a held-out slice of the training distribution: the cohorts differ in documentation format, clinicians, patient characteristics, and prescribing patterns, and we quantify that shift directly via symmetric KL divergence over medication-use and clinical-feature distributions (App. B).

On the value of the data: Uganda has on the order of six neurologists for roughly 47M people, about 0.013 per 100,000 against 2.96 in high-income countries [Sokhi 2024; Kaddumukasa et al. 2014]. Longitudinal records documenting seizure outcomes and prescriptions in such a hard-to-reach population are exceedingly difficult to collect.

On variance: the largest deviations in Table 1 fall in the polytherapy columns, which cover the fewest visits. Table 7 gives the counts: Cohort A monotherapy 249 / 246 / 226 visits across V1-V3 against 67 / 79 / 98 polytherapy; Cohort B 231 / 234 / 207 against 97 / 128 / 126. Estimating over fewer visits drives the larger variance. We further report paired significance tests on both cohorts, using a bootstrap that resamples seeds and test patients jointly (detailed in our response to Reviewer LouN, Q4): the improvement over the Base Prompt is significant on both cohorts, the improvement over the strongest baseline DSPy-GEPA is significant on Cohort A, and on EM@1 the advantage over DSPy-GEPA is significant on both.

Generalization is tested outside these cohorts entirely. App. K applies the same pipeline to MIMIC-IV (US adult inpatient records, 15-drug action space, 1,977 admissions from 1,257 patients), where MANANA-Multi again ranks first at 47.3% EM@3 and 34.0% EM@1, against 36.0% / 30.7% for the Base Prompt and 32.7% / 28.0% for the strongest baseline.

References: [Sokhi 2024] World Neurology. [Kaddumukasa et al. 2014] Human Resources for Health.

(W2)/(Q3) No comparison against practicing Ugandan clinicians

This reflects a misunderstanding of the prediction target. For every visit in both cohorts, the reference target is the anti-seizure medication (ASM) regimen actually prescribed by the treating physician at the clinic. EM@3 measures whether any of MANANA's three proposed regimens exactly matches that physician-prescribed regimen. We state this in the Introduction (lines 56-57) and again in Sec. 3 under Prediction task and metrics (lines 211-212). Every result therefore compares MANANA's recommendations directly against observed prescribing decisions made by practicing clinicians in the target care setting.

We provide two further clinician-centered checks. First, App. E.1 reports an independent review by two pediatric neurologists of 20 longitudinal patients covering 60 visits, deliberately built as a stress test, not a representative sample: 13 of the 20 patients were drawn from cases where the single-agent model disagreed with the treating physician (10 poly, 3 mono), and 15 of 20 were poly cases; the neurologists were blind to these criteria. Even on this error-enriched set, the recommendation was judged acceptable in 104/120 neurologist-visit judgments (86.7%), with 90.0% inter-rater agreement on binary acceptability (54/60 visits). Second, App. D.2 evaluates MANANA on an outcome-supported subset of 342 follow-up visits where the physician-selected regimen is supplemented by its outcome (seizure reduction or freedom); MANANA-Multi reaches 86.0% EM@3 (lines 920-922). This is the cleanest physician-agreement claim available from this dataset: when the prescribed regimen reduced seizure burden, MANANA-Multi recovers it most often.

Authors · CommentOpenReview ↗

Author response to Reviewer GuRC — Part 2 of 2

(W3) Limited experimental setting and novelty

To our knowledge, no prior medical-LLM work studies longitudinal ASM regimen learning from narrative records with real-world prescription data in an underrepresented epilepsy-care setting of this kind. Empirically, our neurologist audit (App. E.1) found that direct prompting often imports prescribing defaults from better-represented health systems, overlooking local medication access, affordability, pediatric context, and follow-up practice. As noted under W1, longitudinal data of this kind are especially hard to collect where specialists are scarce. This rare dataset lets us study how local prescribing practice evolves across visits and whether the learned patterns transfer to an independently collected cohort.

MANANA's contribution is also broader than an agentic decomposition: it combines learning site-specific prescribing practice with uncertainty-aware recommendation and deferral. Existing medical LLM work mainly studies medical QA and diagnosis (Med-PaLM, MedPrompt, MDAgents), simulated EHR interaction (MedAgentBench), or medication prediction from structured high-resource EHRs (GAMENet, SafeDrug). We instead learn complete longitudinal ASM regimens from real world outpatient notes and local physician decisions, where drug availability, affordability, and follow-up practice affect prescribing.

Relative to TextGrad, ExpeL, and DSPy-GEPA, MANANA differs through evidence-gated memory updates: it stores candidate learnings as case-level evidence and promotes them into rules or specialists only when the pattern recurs across distinct cases. The ablations in App. H isolate the buffer, the Inspector, and the quorum rule, and show that each contributes to final performance.

Beyond learning prompts and agents (App. M), BPA enables MANANA to decide when to recommend and when to defer to a specialist. It converts agreement across learned memory states into prescription probabilities, allowing a clinic to set a review threshold based on available specialist capacity. Fig. 2 shows that BPA confidence tracks physician agreement, and Table 3 translates this into concrete operating points: on held-out Cohort B, the system reaches 95% Top-1 physician agreement on the most confident 50% of visits, or 99% on the most confident 25%, deferring the remainder for specialist review. BPA therefore turns prompt adaptation into a practical resource-allocation mechanism for clinics where specialist attention is scarce.

We also evaluate broader usefulness in App. K on MIMIC-IV, a distinct adult US inpatient setting (1,257 patients, 1,977 admissions, a different 15-drug action space), where MANANA-Multi reaches 47.3% EM@3 against 36.0% for the base prompt, 32.7% for TextGrad, and 28.7% for ExpeL. We present this as a public-data reproducibility check rather than a replacement for the Ugandan serial-care task.

(Q1) Conflict resolution across specialists; auditability

We first clarify the architecture, as the premise differs from what the system does. The specialists are not per-medication agents. They are observation-only signal-extraction agents, each written by the Architect to read one clinical dimension of the record, such as recent seizure burden, adverse-reaction status, or EEG semiology. The learned prompts produced in our runs are listed in App. M.

Because of this, there is no inter-specialist conflict to arbitrate at inference. The agents produce observations for a case, the Predictor receives them as additional context alongside the patient record, and a single Predictor output determines the regimen. The quorum rule operates on memory updates rather than on inference: a spawn or edit is committed only when supported by candidate learnings from at least two distinct visits.

On auditability, the agent population is deliberately bounded and inspectable. The Architect maintains at most five active specialists and takes at most two actions per round, and prunes a specialist when it is redundant, misleading, or has drifted from its observation-only role. Every agent is a plain-text prompt that a clinician can read and edit, which is the property that makes the learned state auditable and interpretable.

(Q2) Prompt injection vulnerability

We agree that prompt injection is an important deployment concern. Our retrospective study uses clinician-authored notes and evaluates prescribing adaptation and deferral rather than adversarial robustness; the system recommends regimens but does not execute clinical actions. Dedicated safeguards and adversarial validation would be required before deployment, and we will state this explicitly as a limitation and a direction for future work.

Authors · CommentOpenReview ↗

Follow Up

Dear Reviewer GuRC,

As the discussion period draws to a close, we wanted to follow up on our response, including the additional clinical baselines and clarifications regarding generalization, clinical evaluation, and the specialist architecture.

We would appreciate any further feedback and would be happy to clarify any remaining concerns.

Thank you again for your review.

Reviewer LouNOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies LLM-based decision support for anti-seizure medication regimen prediction in low-resource pediatric epilepsy care, using two independently collected Ugandan cohorts. The authors propose MANANA, a non-parametric multi-agent prompt-learning framework in which a Predictor proposes regimens, an Inspector diagnoses errors against the physician prescription, and an Architect consolidates recurring lessons into an auditable prompt memory, with single-agent and multi-agent variants. They further propose Bayesian prompt averaging (BPA), a validation-weighted average over the learned prompt trajectory that yields prescription probabilities and a deferral signal. Experimental results show that MANANA outperforms selected classical, direct-prompting, and prompt-optimization baselines on the two cohorts.

Strengths and weaknesses

Strengths

  • The application, adapting to local prescribing practice and deferring under uncertainty in an underrepresented clinical setting, is novel and valuable.
  • The paper is unusually honest: it includes a copy-previous-regimen baseline, an outcome-validated subset, IRB approval, and a careful limitations section.
  • The evaluation uses two independently collected cohorts as a real transfer test.

Weaknesses

  • The headline metric is inflated by continuation, a trivial baseline beats the method on one cohort.
  • The BPA contribution is over-attributed and some BPA numbers are internally inconsistent.
  • The advantage over the best matched baseline is within seed noise and lacks significance testing.
Questions

Q1. Table 6 shows that the previous-regimen-copy baseline reaches 85.1% on Cohort A, while MANANA-Multi reaches only 81.7% on the same V2/V3 aggregate slice. Table 1 should also report this baseline.

Q2. Table 2 shows that BPA does not improve Top-3 over a plain majority vote on the same MANANA-Multi trajectory (83% vs 83% on Cohort A, 88% vs 88% on Cohort B). Thus, the Top-3 gain should not be attributed to Bayesian weighting.

Q3. The BPA numbers are internally inconsistent. Table 2 reports Beta-Binomial BPA on MANANA-Multi as Top-1 / Top-3 = 70% / 83% on Cohort A and 75% / 88% on Cohort B, and Table 3 repeats 70% / 75% as all-case precision. However, App J Table 14 reports Beta-Binomial BPA on the "full held-out test sets" as Top-1 / Top-3 = 76% / 88% on Cohort A and 72% / 87% on Cohort B. These cannot all describe the same held-out evaluation. Which table is correct?

Q4. The advantage over the second-best baseline is small and within noise. Table 1 reports no significance test, and many MANANA-Multi vs second-best differences are smaller than the reported std.

Q5. The leakage audit is incomplete. The input/target split is produced by an LLM and manually audited only on 200 Cohort A patients, with no Cohort B audit. Since leakage would directly inflate the main transfer result, the paper should report an estimated leakage rate and audit Cohort B.

Q6. A medical-tuned LLM backbone control is missing. Since the paper attributes direct-prompting errors partly to miscalibrated medical priors, it should compare against at least one clinical / biomedical LLM (for example MedGemma 1.5, Apertus-70B-MeditronFO, or another recent clinical / biomedical LLM) under the same input, output schema, and parser.

Limitations

yes

Final justification

The rebuttal addresses several of my original concerns.

Formatting concerns

no

4 comments
Authors · CommentOpenReview ↗

Author response to Reviewer LouN — Part 1 of 2

We thank the reviewer for their careful and constructive review, and in particular for recognising the transparency of the evaluation. Their comments helped us sharpen the presentation and clarify the paper's central claims. We conducted further experiments and analyses to address the concerns raised, which we discuss point by point below:

Q1/W1. On previous-regimen-copy baseline, and the headline metric being inflated.

We thank the reviewer for the opportunity to highlight one of the key strengths of our contribution. MANANA has been designed to predict a regimen for every patient's visit solely from clinical notes and irrespective of whether there is a prior regimen available for the patient. This is most evident for the first visit (V1) cases in both cohorts as shown in the table below. We did not draw this out in the manuscript, and will make it explicit in the revision. For example, for V1 only about 50% of the patients in Cohort A (52% in Cohort B) came in with prior medication history and only 35% prescriptions were continued. MANANA-Multi reaches 77.2% on Cohort A and 73.4% on Cohort B over the same visits.

Copy: A Copy: B MANANA-Multi: A MANANA-Multi: B
V1 EM@3 35.6 35.7 77.2 73.4
V2/V3 EM@3 85.1 76.6 81.7 83.5
Macro-F1 (V1–V3) 0.40 0.39 0.80 0.83

Furthermore, in chronic epilepsy care the clinical goal is to keep a patient on a therapy that is working, so most visits retain the same drugs and the physician adjusts dosage instead. This is naturally reflected in our data for the second and third visits (V2/V3), where the model is given the prior visit notes and the regimens prescribed. That judgement still has to be made at every visit, and the visits where the answer is to revise are the ones that carry the clinical weight.

Our motivation for introducing the continuation baseline was to provide a standard AI/ML reference: for a dataset with highly skewed labels, a trivial baseline is to always predict the majority class. In a clinical setting such a policy would not be usable, since it fails on roughly 65% of Visit 1 cases on Cohorts A and B. This is further captured through the macro-F1 score, computed here over the continued and changed regimen classes, which is the implicit decision behind the recommendations.

In summary, we show that our reported metric is not inflated, but instead captures an intrinsic difficulty in the problem — whether to continue or change the prescription. We will modify Table 6 with V1 performance to better reflect this.

Q2. On BPA vs Plain Majority

As explicitly stated in the manuscript — Table 2 caption and lines 256-258 — we do not attribute any Top-3 gains to BPA. The major contributions are in Top-1 and in the confidence gaps for drug prescriptions. Our abstract's comparison with external prompt-optimization baselines was therefore ambiguous, and we will revise it so that the Top-3 gains are attributed to MANANA's learned trajectory rather than to Bayesian weighting. BPA's contribution is to improve the ordering and uncertainty of those candidates: it raises Top-1 from 66% to 70% on Cohort A and from 73% to 75% on Cohort B, while increasing the confidence gap between correct and incorrect predictions. Figure 1(B) and Table 3 then use this confidence for selective deferral, including 95% Top-1 agreement at 50% coverage and 99% at 25% coverage on Cohort B, better supporting physicians and clinics in making drug recommendation decisions.

Q3. On inconsistency of BPA numbers reported.

The reviewer is correct that Table 14 is underspecified. As noted by the reviewer, Table 2 and Table 3 present results for BPA on Manana-Multi. The confusion arose as Table-14 describes the ablation results for the BPA on Manana-Single. We apologize for the confusion and for the sake of completeness, present the BPA ablation results for Manana-Multi:

Cohort Scheme Top-1 Top-3 Gap P@25% P@50%
A Linear 70% 84% 0.191 96% 90%
A Beta-Binomial BPA 70% 83% 0.194 96% 90%
A Dirichlet BPA 70% 84% 0.187 97% 90%
B Linear 76% 88% 0.208 99% 95%
B Beta-Binomial BPA 75% 88% 0.214 99% 95%
B Dirichlet BPA 75% 88% 0.203 99% 95%

The three weighting schemes remain within roughly one point of each other on accuracy, supporting our claim that the deferral signal is not an artifact of any particular weighting rule.

Authors · CommentOpenReview ↗

Author response to Reviewer LouN — Part 2 of 2

Q4/W3. Significance vs Baselines

We greatly appreciate the reviewer's suggestion to perform significance testing. Because all methods are evaluated on the same patients, the seed-level standard deviations in Table 1 are not uncertainty intervals for that difference. We therefore use a paired hierarchical bootstrap: each replicate resamples the five training seeds and test patients with replacement, retaining all visits from a sampled patient together, and computes the paired difference on that set. Over 10,000 replicates this gives a distribution of the difference, from which we report the percentile 95% interval. An interval excluding zero indicates the advantage survives both seed and patient variability.

EM@3 paired difference, 95% CI:

Comparison Cohort A Cohort B
Multi − Base Prompt +38.8 [+33.6, +44.0] +33.7 [+29.0, +38.4]
Multi − Single +4.0 [+1.6, +6.4] +1.2 [−1.6, +4.0]
Multi − DSPy (GEPA) +3.3 [+0.5, +6.0] +2.1 [−0.3, +4.2]

As can be seen, MANANA-Multi significantly exceeds all three competitors on Cohort A. On Cohort B it significantly exceeds the Base Prompt and is statistically comparable to MANANA-Single and GEPA on aggregate EM@3, where its advantage instead appears in change-visit revision (App-D, Table 6).

Further, as motivated by Reviewer R3Sm, we now provide EM@1 for these methods, using the same procedure. The per-cell EM@1 results are given in our response to Reviewer R3Sm (W2), where MANANA-Multi improves on most cells, most clearly on monotherapy and on Cohort A. The same procedure gives:

EM@1 paired difference, 95% CI:

Comparison Cohort A Cohort B
Multi − Base Prompt +34.9 [+30.2, +39.6] +30.0 [+26.2, +33.8]
Multi − Single +4.2 [+1.1, +7.3] +1.3 [−1.9, +4.5]
Multi − DSPy (GEPA) +5.2 [+1.9, +8.5] +3.0 [+0.2, +5.8]

MANANA-Multi is significantly better than GEPA on both cohorts, and exceeds the Base Prompt on both and MANANA-Single on Cohort A; the Multi−Single relation on Cohort B is a tie (+1.3). Highlighting Manana's edge over other prompt-optimization techniques, in addition to providing an auditable learned memory (App-M).

Q5. Leakage Audit

As stated in the manuscript (lines 770-774), the two cohorts were provided in different formats. Cohort B came from a private hospital as semi-structured PDF EHRs, with the clinical narrative and the prescription in separate fields. Cohort A came from a public clinic as free text with no structure, so the input and target had to be separated by the preprocessing pipeline.

We manually audited 30 Cohort B patients, covering 90 visits, and found no leakage in any of them; we will complete a full manual audit for the revision. To cover the full data in the meantime, two independent LLM judges, Qwen2.5-72B-Instruct and gpt-oss-120b, scored every visit in both cohorts under an identical protocol: the judge sees the current visit's note with the prescribed regimen, and flags it only if the note already writes that prescribing decision. Only 4 of 996 Cohort A visits (0.40%) and 2 of 1,076 Cohort B visits (0.19%) were flagged, each inspected manually to confirm. At these rates leakage cannot account for the reported accuracy; we will report the rates and protocol in the revision.

Q6. Medical LLM baselines

We evaluated multiple medical LLMs, changing only the model, with the same Base Prompt on the held-out Cohort A test set and on Cohort B.

EM@3 (%) by backbone.

Cohort Backbone Mono V1 Mono V2 Mono V3 Poly V1 Poly V2 Poly V3
A gpt-oss, Base 44.4 56.4 59.3 10.1 29.3 30.2
A MedGemma-27B 67.7 80.5 84.5 22.6 46.7 54.5
A OpenBio-70B 64.6 79.0 86.6 20.8 45.0 62.3
A HuatuoGPT-72B 67.7 82.6 86.9 17.0 48.3 42.9
A gpt-oss + Single 87.0 92.1 93.2 25.3 57.0 64.1
A gpt-oss + Multi 89.7 95.3 97.0 30.8 61.7 72.6
B gpt-oss, Base 53.1 57.6 58.4 24.8 29.1 30.4
B MedGemma-27B 70.3 77.6 80.3 32.3 54.8 58.2
B OpenBio-70B 64.1 66.2 67.6 34.0 43.0 54.0
B HuatuoGPT-72B 70.6 80.9 84.3 30.9 46.9 45.2
B gpt-oss + Single 82.2 92.8 92.2 48.2 65.2 66.4
B gpt-oss + Multi 87.3 95.1 93.2 40.2 61.1 69.8

The medical backbones perform considerably stronger with the Base Prompt, as expected given their medical training, and still underperform gpt-oss-120b with MANANA on both cohorts, highlighting the contribution of the learning procedure itself. We also attempted Apertus-70B-MeditronFO, but only 14% of its outputs were parsable, as it reverts to free-form clinical text, so it cannot be scored under an identical parser and hence we drop it.

Authors · CommentOpenReview ↗

Follow Up

Dear Reviewer LouN,

As the discussion period draws to a close, we wanted to follow up on our response and additional experiments addressing the statistical analysis, medical baselines, leakage, continuation baseline, and BPA ablation.

We would appreciate any further feedback and would be happy to clarify any remaining concerns.

Thank you again for your detailed review.

Reviewer LouN · CommentOpenReview ↗

The rebuttal addresses my original concerns. I raise my rating to 4.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…