LongRx: Closed-Loop Medication Recommendation with Action-Coverage Reinforcement Learning
Anonymous authors
ICLR 2027
Abstract. Medication recommendation is commonly formulated as one-shot set prediction, although prescription construction naturally involves iterative information acquisition, medication adjustment, and drug--drug interaction verification. We propose \textbf{LongRx}, a closed-loop medication decision agent that sequentially constructs prescriptions through five parameterized actions: \texttt{RETRIEVE}, \texttt{ADD}, \texttt{DELETE}, \texttt{VERIFY}, and \texttt{EXIT}. Starting from an empty candidate set and prescription, LongRx learns state-dependent decision sequences rather than following a predefined workflow. To improve sequential learning, we combine terminal prescription supervision with process-level feedback on local prescription changes. Our \textbf{Coverage-Aware Tree Optimization (CATO)} combines opportunity-aware action coverage with tree-relative credit, broadening exploration of under-explored valid decisions and comparing their downstream outcomes from the same prescription state, while concrete medication edits and retrieval queries remain policy-generated. In an idealized fixed-state, single-draw model, the coverage correction contracts pairwise action log-odds. Experiments on MIMIC-III, MIMIC-IV, and eICU show improved overlap with recorded prescriptions and lower rates of DrugBank-listed interacting medication pairs relative to RES-MR. These metrics characterize agreement with historical prescribing and a database-based interaction proxy; they do not establish clinical appropriateness or improved patient outcomes.Our code is available at https://anonymous.4open.science/r/LongRx.
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 paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:01 UTC.
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
- Flag for ethics review
- Yes
Read review
Summary
Strengths
-
The experimental evaluation is thorough. The paper includes matched rollout/resource comparisons, component ablations, exploration baselines, statistical testing, cross-dataset evaluation, and controls for access to the DDI verifier. These make the empirical improvements fairly convincing.
-
The closed-loop formulation is useful and well motivated. Learning when to retrieve, edit, verify, and stop is more flexible than using a fixed medication-generation workflow, and the experiments support the value of this design.
Weaknesses
-
Limited novelty: Most ingredients—multi-turn GRPO, tree/shared-state credit assignment, and exploration-aware branching—have close precedents. The main new piece appears to be the opportunity-normalized action coverage rule, which feels incremental.
-
Baseline coverage: The paper does not directly compare against some closely related recent methods such as GiGPO/ATPO, making it harder to judge the added value of CATO over stronger agentic RL baselines.
-
Application novelty: In medication recommendation, related agentic systems such as SafeRx-Agent already combine sequential decision making with safety verification, so the distinction of LongRx could be better established empirically.
Questions for the authors
-
Can you clarify the novelty of CATO relative to recent multi-turn/tree-based GRPO methods such as GiGPO and ATPO? In particular, what capability does opportunity-normalized coverage provide that these methods cannot achieve with their existing exploration mechanisms?
-
Why are closely related agentic medication systems such as SafeRx-Agent not included as empirical baselines?
-
How were the 250 extra medications selected for the blinded clinical evaluation? Was the sampling procedure fixed and uniform across methods/patients?
Ethics concerns
The final-page LLM-usage statement says that synthetic experimental placeholders “must be removed or replaced” before submission. Since this appears in the submitted version, I think it is worth clarifying as a research-integrity issue. I am not alleging misconduct; I would simply like confirmation that no synthetic placeholder results remain in the paper.
- Rating
- 1/4
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 3/3
- Informativeness
- 2/3
- Flag for ethics review
- Yes
Read review
Summary
This paper proposes a closed-loop medication recommendation agent, LongRx, which models prescription construction as a sequential decision problem, distinguishing it from traditional one-off prediction methods. Five parameterized actions are designed, and a Coverage-Aware Tree Optimization (CATO) algorithm is proposed. Experimental results on three public datasets show that, compared to mainstream baselines, this method improves both the F1 score and drug-drug interaction (DDI) metrics.
Strengths
Closed-loop modeling has practical value for clinical decision support and its expressive power is superior to fixed procedures. CATO's chance normalization exploration mechanism provides a new approach for research on the diversity of reinforcement learning actions; the experiments are relatively complete, covering ablation, cross-dataset transfer, and safety analysis.
Weaknesses
There are flaws in mathematical consistency: the reported drug dosage exceeds the theoretical upper limit of the RETRIEVE mechanism, the action cost contradicts the definition, and the credibility of the experiment is compromised; large model placeholder examples raise doubts about the authenticity of the data.
Questions for the authors
Q1: Explain the inconsistency in search capacity: The single RETRIEVE limit is 16, and reports of newly added drugs exceeding the theoretical limit are being submitted; explain the R-A overhead in Table 37, providing implementation details and original patient logs.
Q2: Verify the source of experiments: Confirm that all quantitative results are from real experiments and not placeholder samples; submit the reproducibility code, evaluation logs, and outputs of each random seed.
Ethics concerns
It is recommended to conduct a limited research integrity check on the experimental results: the search constraints are inconsistent with the statistics, and there are placeholder samples that need to be removed, so the reliability of the results cannot be confirmed at this time. The authors need to provide the original materials for clarification. Regarding the medical part, the authors have distinguished between retrospective indicators and clinical safety, and no privacy or deployment violations were found.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes LongRx, a medication recommendation agent that constructs prescriptions through retrieval, medication addition and deletion, interaction verification, and termination. The agent is trained with terminal prescription rewards and process-level feedback. The proposed Coverage-Aware Tree Optimization (CATO) encourages exploration of underused valid actions and evaluates alternative decisions through shared-state branch comparisons. Experiments report consistent but modest improvements in prescription agreement and drug–drug interaction (DDI) rates.
Strengths
- The framework integrates candidate retrieval, prescription editing, and DDI verification into a unified policy.
- Opportunity-aware coverage addresses a concrete exploration issue by accounting for how often each action is available.
- Component ablations and cross-dataset evaluations support the consistency of the reported improvements.
Weaknesses
- Relative to RES-MR, F1 improves by only 1.06 percentage points on both MIMIC-III and MIMIC-IV, while DDI decreases by 0.44 and 0.75 percentage points, respectively. The practical value of these improvements relative to the additional system complexity remains unclear.
- Insufficient motivation for multi-step modeling. The paper does not clearly establish why this task requires sequential interaction. If avoiding drug interactions is a central motivation, a one-shot system could retrieve candidates and jointly select a prescription using the same DDI information or constraints. The paper needs stronger evidence that adaptive retrieval and editing provide benefits beyond such a pipeline.
Questions for the authors
- What specific dependencies make adaptive multi-step interaction necessary, rather than simply one possible implementation of prescription construction?
- How does LongRx compare with one-shot retrieval and joint medication selection using an equivalent candidate budget and the same DDI checker or constraints?
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
This paper proposes LongRx, which formulates medication recommendation as a sequential decision process with RETRIEVE, ADD, DELETE, VERIFY, and EXIT actions. The main technical contribution is CATO, which combines tree-based credit assignment with coverage-aware sampling of under-explored valid actions. Experiments on MIMIC-III, MIMIC-IV, and eICU show modest but consistent improvements in prescription overlap and DDI rate, with extensive ablations and matched-budget comparisons.