Learning Prescriptive ReLU Networks

Wei Sun, Asterios Tsiourvas

In the realms of personalized medicine, targeted advertising, and dynamic pricing, the ultimate goal is not merely to predict what will happen, but to prescribe what we should do. This is the domain of prescriptive analytics. However, practitioners frequently face a frustrating trade-off: deploy a high-performance "black box" neural network, or rely on a simple, interpretable decision tree that might miss complex, non-linear patterns.

A recent paper from researchers at IBM and MIT, titled "Learning Prescriptive ReLU Networks," introduces a best-of-both-worlds solution: the P-ReLU network. P-ReLU networks are a novel class of neural networks designed to learn optimal treatment policies from observational data. They match the high performance of deep learning while remaining fully interpretable by analytically converting into "oblique" decision trees that use hyperplane splits.

The Challenge of Policy Learning

The authors tackle the challenge of policy learning from observational data. Unlike clinical trials where treatments are assigned randomly, observational data (like electronic health records) is "passive." We only observe the outcome of the treatment a patient actually received; we never see the "counterfactual"—what would have happened if they had received a different treatment.

Existing solutions usually fall into two camps:

  1. Tree-based models: Highly interpretable but often limited by "axis-aligned" splits (splitting on one variable at a time) and simple linear models that struggle to capture complex biological or economic interactions.
  2. Neural Networks: Excellent at capturing complexity but difficult to trust in high-stakes environments (like a doctor's office) because their internal logic is opaque.

Furthermore, real-world policies often require hard constraints (e.g., "never prescribe drug X to a patient with condition Y"), which are notoriously difficult to bake into standard machine learning models.

The P-ReLU Solution

The core innovation of this research is the Prescriptive ReLU (P-ReLU) network, which integrates counterfactual estimation and policy optimization into a single framework.

Architecture and Partitioning

The model uses a single feed-forward neural network with Rectified Linear Unit (ReLU) activations to simultaneously estimate counterfactual outcomes for all possible treatments and select the best one. Because ReLUs are piecewise linear, the entire network essentially partitions the input space into a series of convex polyhedra. Within each region, the model's logic is a simple linear function.

Input space partitioned into disjoint polyhedra by a P-ReLU network.

The "Big-M" Constraint Layer

To handle safety or business constraints, the authors add a specialized, non-trainable layer to the network. It uses "big-M" logic—a technique borrowed from mathematical optimization—to effectively penalize forbidden treatments by adding a massive value to their predicted cost, ensuring the network never selects them.

P-ReLU architecture incorporating a Big-M constraint layer to penalize forbidden treatments.

Tree Conversion

Crucially, the authors prove that any trained P-ReLU can be mathematically transformed into an oblique prescriptive tree. Unlike standard trees that split on single variables (e.g., "Age > 50"), oblique trees split on linear combinations of variables (e.g., "0.5 * Age + 0.2 * Weight > 30"). This allows for much more compact and powerful representations of the network's decision boundaries.

Experimental Validation

The researchers evaluated P-ReLU using both synthetic datasets and real-world medical data.

  • Synthetic Datasets: Across six simulated environments with varying levels of complexity (linear, quadratic, and interactive effects), P-ReLU consistently outperformed benchmarks like Causal Forests and Personalization Trees in recovering the "true" optimal policy.
  • Personalized Warfarin Dosing: The model was tested on a real-world dataset of 4,416 patients requiring Warfarin, a blood thinner where the optimal dose varies wildly based on genetics and health history. P-ReLU achieved 68.27% accuracy, nearly hitting the theoretical upper bound of ~69% (the best possible performance given the inherent noise in the data).

Beyond accuracy, P-ReLU demonstrated dramatic speedups. For the Warfarin problem, P-ReLU trained in just 8 seconds using standard gradient descent. In contrast, the most advanced version of Optimal Prescriptive Trees (OPT), which relies on mixed-integer programming, took over 31 minutes.

Finally, the authors successfully extracted a human-readable tree from the trained P-ReLU for Warfarin dosing. The resulting tree correctly identified key genetic markers (VKORC1 and CYP2C9) and medical conditions as the primary drivers for dosage changes, proving its interpretability.

Limitations and Future Directions

While P-ReLU offers a robust bridge to interpretability, the authors note that as the network gets deeper, the resulting extracted tree can still become quite large. They utilized "weight pruning" (removing unimportant connections) to keep the extracted trees manageable, but optimizing this trade-off remains an area for future work.

Future research directions include extending this framework to other neural architectures, such as Transformers, and incorporating more complex structural constraints, like ensuring monotonic treatment effects.

Summary updated

BibTeX
@inproceedings{sun2023learning,
  author = {Wei Sun and Asterios Tsiourvas},
  title = {{Learning Prescriptive ReLU Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=x9VwD7x64f},
}
Figure