mlsanityData to 26 Nov 2026

From Scores to Safe Sets: Exact Safety--Constrained Decoding for Medication Recommendation

arXiv 2610.29228 ↗Submitted 21 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent generative medication recommendation systems ultimately produce sets of drugs, but drug--drug interaction (DDI) constraints depend on the set as a whole. A natural post-hoc approach is to first predict medications and then locally repair interacting pairs by removing one drug at a time. We ask whether this local repair step itself introduces avoidable error. Using fixed medication scores from FLAME's frozen classifier on MIMIC-III, we compare increasingly strong local repair strategies with an exact global decoder while holding the scores, output size, and DDI constraint fixed. The global decoder jointly selects the highest-scoring feasible medication set using mixed-integer linear programming. Across validation and test splits, global decoding consistently achieves higher Jaccard similarity than greedy repair, degree-aware repair, and degree-aware repair strengthened with exhaustive 1-swap local search. Its advantage is small under loose DDI constraints and becomes larger as the constraint tightens; on the test split it reaches +0.0064 Jaccard over the strongest local baseline at the strict DDI operating point. The finding also holds across a fine accuracy--DDI sweep at matched realized DDI exposure and under three score representations. At the strict setting, global decoding retains more true-positive medications while removing more false positives. These results show that medication recommendation is not only a representation-learning problem: even with a frozen clinical model, how its scores are converted into a constrained medication set can materially affect the final prediction.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 14 of its 29 references that are in the map. Submitted 21 Oct 2026.

Builds on

14 of 29 references.

References · 14

  1. 2019Pre-training of Graph Augmented Transformers for Medication Recommendationcited by 132
  2. 2015Parallelizing the dual revised simplex methodcited by 108
  3. 2018GAMENet: Graph Augmented MEmory Networks for Recommending Medication Combinationcited by 86
  4. 2021SafeDrug: Dual Molecular Graph Encoders for Recommending Effective and Safe Drug Combinationscited by 58
  5. 2021Change Matters: Medication Change Prediction with Recurrent Residual Networkscited by 42
  6. 2022Conditional Generation Net for Medication Recommendationcited by 32
  7. 2018Dual Memory Neural Computer for Asynchronous Two-view Sequential Learningcited by 29
  8. 2024Large Language Model Distilling Medication Recommendation Modelcited by 29
  9. 2024Leave No Patient Behind: Enhancing Medication Recommendation for Rare Disease Patientscited by 14
  10. 2023VITA: 'Carefully Chosen and Weighted Less' Is Better in Medication Recommendationcited by 9
  11. 2024CausalMed: Causality-Based Personalized Medication Recommendation Centered on Patient health statecited by 8
  12. 2025Fine-grained List-wise Alignment for Generative Medication Recommendationcited by 6
2 more
  1. 2025Natural Language-Assisted Multi-modal Medication Recommendationcited by 5
  2. 2025ARMR: Adaptively Responsive Network for Medication Recommendationcited by 2

Built on by

Not cited yet.