Skip to content

Research Articles

Regression Tests for Model Release Gates: Tight Resource Limits

Anika Larchvale (Machine Learning Laboratory, Ravenmere Technical University), Nerea Oakmarsh (Machine Learning Laboratory, Ravenmere Technical University), Nerea Iverford (Machine Learning Laboratory, Glenwick University)

Vol. 3 No. 1 (2021) · pp. 40–51 · Published 8 March 2021

Abstract

This synthetic study compares maintaining stratified quality tests across releases with using only one aggregate benchmark score in a reduced operating budget with the same input mix. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, a gain on frequent cases must coincide with errors on a rare group; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. A case counts as a pass only if it meets this criterion: the test must detect regressions in designated behaviors before release. The evaluation uses synthetic events and explicitly permitted fixtures. Expected permissions and outcomes are set before comparison, and false denials are counted alongside failures to enforce the policy. The comparator passes 164 of 256 cases and the alternative passes 176. For the 64 stress cases alone, the counts are 25 and 39, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that small test strata produce imprecise comparisons. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: AI safety, regression testing, model quality, tight resource limits, synthetic evaluation

References

  1. Advanced Micro Devices. (2020). AMD SEV-SNP: Strengthening VM isolation with integrity protection and more (White paper).
  2. Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., & Mané, D. (2016). Concrete problems in AI safety. arXiv:1606.06565.
  3. Baumgärtner, L., et al. (2020). Mind the GAP: Security & privacy risks of contact tracing apps. arXiv:2006.05914.
  4. Chaudhry, S. I., et al. (2010). Telemonitoring in patients with heart failure. New England Journal of Medicine, 363(24), 2301–2309. DOI
  5. Fallah, A., Mokhtari, A., & Ozdaglar, A. (2020). Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach. Advances in Neural Information Processing Systems, 33, 3557–3568.
  6. Irving, G., Christiano, P., & Amodei, D. (2018). AI safety via debate. arXiv:1805.00899.
  7. Karimireddy, S. P., Kale, S., Mohri, M., Reddi, S., Stich, S., & Suresh, A. T. (2020). SCAFFOLD: Stochastic controlled averaging for federated learning. Proceedings of the 37th International Conference on Machine Learning, 5132–5143.
  8. Lin, T., Kong, L., Stich, S. U., & Jaggi, M. (2020). Ensemble distillation for robust model fusion in federated learning. Advances in Neural Information Processing Systems, 33, 2351–2363.
  9. Peng, X. B., Kumar, A., Zhang, G., & Levine, S. (2019). Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv:1910.00177.
  10. Raji, I. D., et al. (2020). Closing the AI accountability gap: Defining an end-to-end framework for internal algorithmic auditing. Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency, 33–44.
  11. Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST SP 800-207). National Institute of Standards and Technology. NIST
  12. Schroeder, B., & Gibson, G. A. (2010). A large-scale study of failures in high-performance computing systems. IEEE Transactions on Dependable and Secure Computing, 7(4), 337–350.
  13. Shneiderman, B. (2020). Human-centered artificial intelligence: Reliable, safe & trustworthy. International Journal of Human–Computer Interaction, 36(6), 495–504.