Abstract
Medical scoring systems are ubiquitous tools that allow clinicians to assess patient risk through simple arithmetic. Traditionally, these systems are developed either through expert consensus or by rounding coefficients from logistic regression models. However, such approaches often result in suboptimal predictive performance or models that fail to satisfy critical clinical constraints. We introduce Supersparse Linear Integer Models (SLIM), a machine learning framework that formulates the creation of scoring systems as a discrete optimization problem. By directly optimizing for accuracy and sparsity while restricting coefficients to small integers, SLIM produces "human-executable" models that achieve state-of-the-art performance without sacrificing interpretability.
Introduction
In clinical settings, decision-making often relies on scoring systems—simple point-based models where a clinician adds small integers associated with specific risk factors to determine a patient's risk level. While highly interpretable and easy to use at the bedside, the mathematical derivation of these systems has historically been flawed. Most automated methods involve training a real-valued model (like Lasso) and then rounding the resulting coefficients. This "round-off" approach is mathematically suboptimal and frequently leads to models that are less accurate than they could be or that violate operational requirements, such as a maximum allowable false positive rate.
Methodology
SLIM addresses these issues by treating scoring system creation as an Integer Programming (IP) problem. This allows for direct optimization of the desired model properties rather than relying on smooth approximations.
Direct Optimization and Sparsity
Unlike traditional methods that use surrogate loss functions (e.g., hinge loss or log-loss), SLIM directly minimizes the 0–1 loss, which represents the actual number of misclassifications. To ensure the model remains simple, it also minimizes the $\ell_0$-seminorm, which counts the number of features used. The objective function is defined as:
$$\min_{\lambda} \sum_{i=1}^n \mathbb{1}[y_i (\langle \lambda, x_i \rangle) \leq 0] + C \cdot \|\lambda\|_0$$
where the coefficients $\lambda$ are restricted to a small, finite set of integers (e.g., $\{-10, \dots, 10\}$).
Incorporating Clinical Constraints
The IP framework allows researchers to embed hard linear constraints directly into the optimization process. This ensures the resulting model adheres to clinical logic or operational needs, such as:
- Sensitivity/Specificity Targets: Forcing the model to maintain a specific performance threshold.
- Feature Limits: Restricting the model to a specific number of features.
- Sign Constraints: Ensuring that a known risk factor (e.g., smoking) always contributes a positive score.
Computational Efficiency
To overcome the NP-hard nature of integer programming, SLIM employs a novel data reduction technique. This method identifies and removes training examples that are "redundant" and cannot influence the optimal decision boundary. In practice, this can reduce the dataset size by over 80%, allowing commercial solvers like CPLEX to find provably optimal solutions within minutes.
Experimental Results
The authors evaluated SLIM using a real-world sleep apnea screening dataset ($N=1922$) and eight UCI benchmark datasets.
Sleep Apnea Screening
In the sleep apnea application, SLIM produced a 5-feature integer model that achieved a sensitivity of approximately 61% at a 20% false positive rate (FPR). In contrast, Lasso and Elastic Net models required at least 8 features and complex decimal coefficients to achieve comparable sensitivity. The SLIM model was not only more concise but also strictly adhered to the required FPR constraint, which rounded Lasso models often failed to do.
Benchmark Performance
Across diverse datasets (e.g., adult, breastcancer, mushroom), SLIM's simple integer models performed competitively with black-box algorithms like Random Forests and Support Vector Machines (SVMs) with RBF kernels. This suggests that for many tabular medical datasets, the "regularization" provided by restricting coefficients to small integers is sufficient to prevent overfitting while maintaining high predictive power.
Discussion and Conclusion
SLIM represents a significant advancement in the automated creation of clinical scoring systems. By moving away from heuristic rounding and toward direct discrete optimization, it provides a principled way to balance accuracy, sparsity, and interpretability. While the reliance on commercial IP solvers and the need for feature binarization are current limitations, the ability to produce provably optimal, human-executable models makes SLIM a powerful tool for high-stakes medical decision-making.
Summary updated