RxDiff: Discrete Diffusion for Medication Recommendation with Inference-Time Safety Control
Jinke Feng, Wenjie Du, Xuchang Zhong, Yang Wang
NeurIPS page · OpenReview · Open on the map
Category: AI for Molecules, Materials & Genomics › Molecular Property Modeling · Type: new method · Keywords: discrete diffusion, medication recommendation, drug-drug interactions, clinical decision support, MIMIC datasets
Summary
RxDiff uses discrete diffusion with inference-time safety control to generate drug combinations that improve therapeutic effectiveness while enabling dynamic regulation of drug-drug interactions.
Explained to a 5-year-old
Doctors need to pick medicines for patients. There are many medicines, and some work better together, some can be harmful. Existing ways of picking medicines either ignore how they interact or pick them one by one in a fixed order. This paper creates a new way that looks at medicines together, like a game of fixing broken pictures, where it can change its mind and avoid bad combinations. It also adds a safety check while deciding, so it can stop picking harmful medicines.
Explained to a 5-year-old, longer
When a doctor prescribes medicine, they need to choose a mix of drugs that helps the patient. Some medicines work better when taken together, but some can be dangerous if they interact badly. Existing computer programs that help with this often treat each medicine separately, ignoring how they affect each other. Other programs pick medicines one after another in a fixed order, which can cause mistakes. This paper introduces a new idea that looks at all the medicines at once, like fixing a picture that is partially broken. It can go back and change its choices, so it can improve the prescription over time. The system also has a safety guard that checks each step to avoid harmful combinations. This way, the program can suggest medicine mixes that are both effective and safer. It works on real hospital data from several large medical databases. The approach can adapt when new information about drug interactions becomes available. By using this method, doctors can have more confidence that the recommended medicines won't cause bad side effects. Overall, it helps make medication recommendations more reliable and patient-friendly.
For a technical reader
RxDiff reframes medication recommendation as a discrete diffusion process, enabling bidirectional and revisable generation of drug combinations. It introduces a dual-guided forward process and an inference-time interaction-aware modulation mechanism that dynamically controls drug-drug interactions. This design allows the system to adjust prescriptions on the fly and remain robust as new interaction knowledge emerges. Evaluations on MIMIC-III, MIMIC-IV, and a real-world inpatient dataset show improved accuracy and lower, more controllable DDI rates. The code is publicly available for further research and deployment.
Problem
Medication recommendation must produce effective drug combinations while avoiding harmful drug-drug interactions, which is challenging due to the combinatorial nature of prescriptions and limitations of existing methods that either ignore inter-drug dependencies or fix generation order.
Method
The approach reformulates prescription generation as a discrete diffusion process, using iterative denoising to allow bidirectional and revisable generation, and incorporates a dual-guided forward process and an inference-time interaction-aware modulation mechanism to dynamically control drug-drug interactions.
Results
The approach shows consistent accuracy gains, reduced and more controllable drug-drug interaction rates, and robust performance as new interaction knowledge emerges, evaluated on MIMIC-III, MIMIC-IV, and a real-world inpatient dataset.
Contributions
The paper introduces a discrete diffusion formulation for medication recommendation that enables bidirectional, revisable generation and provides an inference-time interface for dynamic DDI regulation, along with a dual-guided forward process and interaction-aware modulation mechanism.
Practical relevance
The method can improve patient safety by providing safer, more controllable medication regimens in clinical settings.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction