# Severity-Controlled Prediction Sets for Medication Recommendation

*Yu Gu, Zijun Yu, Chi-Kuang Yeh, Xinyu Wang, Ziyang Song*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148292) · [OpenReview](https://openreview.net/forum?id=ywQz91vA0C) · [Open on the map](../papers.html#p148292)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Tabular Foundation Models](../pgroup/198.md) · Type: new method · Keywords: medication recommendation, prediction sets, severity control, ATC hierarchy, clinical calibration

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Safety › Calibration and Uncertainty Quantification

## Summary
Conformal Severity Control (CSC) is a post-hoc framework that calibrates medication prediction sets using the ATC hierarchy to control mismatch severity, shifting predictions toward exact or therapeutically close matches.

## Explained to a 5-year-old
Doctors need to give the right medicines to patients. Sometimes a medicine is missed, but a similar medicine can help almost as much. The computer program that suggests medicines can get confused about how far apart medicines are. A new idea uses a special way to measure how close medicines are, so the suggestions are safer. This helps make sure patients get medicines that are close to what they need, not far away ones.

## Explained to a 5-year-old, longer
When a doctor gives medicine to a patient, they need to think about many different medicines at once. If a medicine is missed, it can be okay if the computer suggests a medicine that is a little bit similar. But if the suggested medicine is very different, it might not help the patient. Right now, many computer programs only check if the medicine is exactly the same, not how close it is. This can be a problem because a far-away medicine might be useless or even harmful. The new idea looks at how medicines are organized in a special list that groups similar ones together. It uses that list to measure how far apart the suggested medicines are from the ones that are really needed. By doing this, the program can change its suggestions to be closer to the right medicines. It does this without having to retrain the whole computer model, just by adjusting the final predictions. The system can be told how strict it should be about how far the medicines can be. It can keep the average distance low, or make sure that very far medicines almost never appear. This helps doctors get safer and more useful medicine suggestions for patients.

## For a technical reader
The paper addresses medication recommendation as a multi-label classification problem where missing a drug can have varying clinical severity. Existing calibration methods evaluate predictions based on exact matches, ignoring the therapeutic similarity between drugs. The proposed post-hoc calibration framework leverages the ATC hierarchy to quantify how far a predicted drug is from the correct one and adjusts the prediction set to meet user-defined severity constraints. It operates without retraining the underlying predictor, controlling both average and worst-case severity of mismatches. Experiments on the MIMIC-IV clinical dataset demonstrate that the approach reliably tracks severity tolerances and shifts predictions toward exact or closely related medications.

## Problem
Medication recommendation is a multi-label prediction task, yet existing prediction-set evaluation and calibration methods rely mainly on exact-overlap metrics and therefore treat all missed medications as equally severe. Missing a medication but predicting a therapeutically close drug is less severe than matching it only with distant predictions.

## Method
The approach uses a post-hoc calibration framework that leverages the Anatomical Therapeutic Chemical (ATC) hierarchy to quantify mismatch severity and adjusts prediction sets to meet user-specified severity tolerances, controlling both average and upper-quantile severity without retraining the predictor.

## Results
On MIMIC-IV, the approach successfully tracks user-specified severity tolerances and shifts prediction sets toward exact or therapeutically close matches.

## Contributions
The paper introduces a hierarchy-aware severity calibration framework for medication prediction sets that controls mismatch severity without retraining the predictor and demonstrates its ability to meet user-defined severity constraints on real clinical data.

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](../feedback/?on=p/148292)
