Skip to main content
QUICK REVIEW

[Paper Review] Sequential algorithmic modification with test data reuse

Jean Feng, Gene Pennello|arXiv (Cornell University)|Mar 21, 2022
Machine Learning and Data ClassificationComputer Science5 citations
TL;DR

This paper proposes novel sequentially rejective graphical procedures (SRGPs) for testing sequentially modified machine learning algorithms on reused test data, leveraging alpha-recycling and correlation-aware error control to improve statistical power. It achieves higher approval rates of beneficial modifications while maintaining family-wise error rate control, especially in small-sample medical settings.

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 works have 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 novel extensions that account for correlation between adaptively chosen algorithmic modifications. In empirical analyses, the SRGPs control the error rate of approving unacceptable modifications and approve a substantially higher number of beneficial modifications than previous approaches.

Motivation & Objective

  • To address the challenge of validating sequential ML algorithm modifications when reusing a single test dataset, which risks overfitting and inflated Type I error rates.
  • To improve statistical power over existing methods like Bonferroni correction, which are overly conservative for correlated or beneficial modifications.
  • To develop valid hypothesis testing procedures that account for correlation between adaptively chosen algorithmic modifications without requiring counterfactual hypothesis observation.
  • To enable practical, high-power testing in small-sample domains such as medical AI, where large test datasets are scarce.
  • To design procedures that are robust to adaptive development while maintaining rigorous error rate control through alpha-recycling and graphical model structures.

Proposed method

  • Propose two novel SRGPs—fsSRGP and presSRGP—that apply alpha-recycling to sequentially test adaptively chosen algorithmic modifications on a shared test dataset.
  • Use a binary test result (approve/deny) to limit information leakage and reduce overfitting risk, forming a tree-like structure of hypotheses.
  • Apply a fixed-sequence testing procedure in fsSRGP to account for correlation between observed hypotheses in the tree, improving power over Bonferroni.
  • Introduce presSRGP by requiring developers to pre-specify a learning procedure; use similarity between adaptive and pre-specified modifications to enhance correlation-based error control.
  • Design consonant, closed-testing procedures whose significance thresholds can be computed without observing untested (counterfactual) hypotheses in the tree.
  • Leverage graphical model representations of hypotheses to allocate and recycle alpha levels efficiently across the sequence of modifications.

Experimental results

Research questions

  • RQ1Can we design a valid statistical framework for testing multiple adaptive algorithmic modifications on a single reused test dataset while controlling the family-wise error rate?
  • RQ2How can we improve statistical power over standard Bonferroni corrections when modifications are correlated or mostly beneficial?
  • RQ3Can we effectively recycle alpha levels in a sequential testing framework where not all hypotheses are observed?
  • RQ4To what extent can correlation between algorithmic modifications be leveraged to increase the detection of beneficial changes?
  • RQ5Can we maintain rigorous error control without requiring adversarial assumptions about the model developer?

Key findings

  • The proposed SRGP methods, particularly presSRGP, approve significantly more beneficial algorithmic modifications than existing approaches like Bonferroni correction.
  • fsSRGP achieves higher power than standard Bonferroni by accounting for correlation between observed modifications in the tree structure.
  • The presSRGP procedure leverages similarity between adaptive and pre-specified modifications to further increase power, outperforming both fsSRGP and Bonferroni in empirical evaluations.
  • Both SRGP methods maintain strong family-wise error rate control even under adaptive development, preventing false approvals of unacceptable modifications.
  • The methods are effective in small-sample settings, making them suitable for real-world medical AI applications where data collection is costly.
  • The framework enables valid inference with minimal information leakage by reporting only binary outcomes (approve/deny), reducing overfitting risk.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.