Abstract
After initial release of a machine learning algorithm, the model can be fine-tuned by retraining on subsequently gathered data, adding newly discovered features, or more. Each modification introduces a risk of deteriorating performance and must be validated on a test dataset. It may not always be practical to assemble a new dataset for testing each modification, especially when most modifications are minor or are implemented in rapid succession. Recent work has shown how one can repeatedly test modifications on the same dataset and protect against overfitting by (i) discretizing test results along a grid and (ii) applying a Bonferroni correction to adjust for the total number of modifications considered by an adaptive developer. However, the standard Bonferroni correction is overly conservative when most modifications are beneficial and/or highly correlated. This work investigates more powerful approaches using alpha-recycling and sequentially-rejective graphical procedures (SRGPs). We introduce two novel extensions that account for correlation between adaptively chosen algorithmic modifications: the first leverages the correlation between consecutive modifications using flexible fixed sequence tests, and the second leverages the correlation between the proposed modifications and those generated by a hypothetical prespecified model updating procedure. In empirical analyses, both SRGPs control the error rate of approving deleterious modifications and approve significantly more beneficial modifications than previous approaches.
Introduction
In the lifecycle of machine learning models, initial deployment is rarely the final step. Models are frequently modified—retrained on new data, updated with additional features, or fine-tuned for specific tasks. Validating these sequential updates typically requires an independent holdout test set for each modification to ensure performance does not degrade. However, in domains like healthcare, high-quality labeled data is scarce and expensive, making the assembly of new test sets for every minor tweak impractical.
Reusing the same test set introduces the risk of adaptive overfitting. If a developer modifies a model based on feedback from previous test results, information "leaks" from the test set into the model development process. This feedback loop can inflate performance estimates and lead to the approval of deleterious modifications. While standard corrections like Bonferroni exist, they are often overly conservative, especially when updates are highly correlated. This paper introduces a framework using Sequentially Rejective Graphical Procedures (SRGPs) to safely reuse test data while maintaining strict error control.
Methods: Sequentially Rejective Graphical Procedures
The core of the proposed framework is the use of Sequentially Rejective Graphical Procedures (SRGPs). These procedures manage a "significance budget" (alpha) using directed graphs. When a hypothesis (a model modification) is successfully validated (the null hypothesis is rejected), the alpha allocated to that test is "recycled" or redistributed to future tests according to the graph's structure.
The authors introduce two novel extensions to account for correlation between modifications:
- Flexible Fixed Sequence SRGP (fsSRGP): This method groups modifications likely to be tested in sequence (e.g., a series of minor refinements). By leveraging the high correlation between consecutive models, it increases testing power.
- Prespecified SRGP (presSRGP): This proactive approach requires the developer to pre-specify a hypothetical model evolution plan (e.g., an automated online learning procedure). The test's power is enhanced by calculating the correlation between the actual proposed modification and this hypothetical plan.
To further protect against overfitting, the framework imposes a "single bit" constraint: the developer only receives binary feedback—"Approved" or "Rejected"—preventing them from learning detailed nuances of the test data.
Evaluation and Results
The methods were evaluated using both synthetic simulations and real-world medical data from the eICU Collaborative Research Database. The real-world task involved predicting Acute Hypotension Episodes (AHE) 30 minutes in advance.
Error Control
In adversarial simulations where a developer intentionally tries to overfit the test set, the SRGP methods maintained the error rate (the probability of approving a bad model) at the target level (e.g., 10%). In contrast, a naive approach that ignores the sequential nature of testing saw error rates climb as high as 75%.
Approval Rates and Performance
In power simulations, the presSRGP method significantly outperformed baselines, approving more beneficial modifications and achieving higher final model performance (AUC). This trend held in the eICU hypotension task, where presSRGP allowed for continuous improvement of a Gradient Boosted Tree model, resulting in the most accurate final deployment.
Conclusion and Future Work
This work demonstrates that accounting for the correlation between sequential model updates allows for more powerful test data reuse without sacrificing statistical rigor. While the "single bit" feedback is a strong safeguard, future research may explore integrating differential privacy to provide developers with more detailed feedback. Additionally, optimizing the initial structure of the SRGP graph remains an open area for maximizing the approval of critical updates.
Summary updated