Skip to content

Research Articles

Regression Tests for Model Release Gates: Changing Conditions

Dario Oakmarsh (Autonomous Systems Laboratory, Kestrelby Institute of Technology), Farah Northmere (Autonomous Systems Laboratory, Thornmere Polytechnic), Lina Pinewick (Data Engineering Group, Ravenmere Technical University), Priya Cairnwell (Distributed Systems Group, Cairnwell Research Institute), Nerea Faldenwood (Autonomous Systems Laboratory, Thornmere Polytechnic)

Vol. 4 No. 1 (2022) · pp. 119–129 · Published 25 August 2022

Abstract

For an operating profile that changes halfway through each run, we construct a synthetic comparison between maintaining stratified quality tests across releases and using only one aggregate benchmark score. Each configuration is evaluated on the same 144 cases. In the 36 stress cases, a gain on frequent cases must coincide with errors on a rare group; the final part of each run is deliberately drawn from a different regime than the initial calibration cases. 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. Across the full set, 112 cases meet the criterion with the first configuration and 111 with the second. The stress cases account for 23 and 20 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that small test strata produce imprecise comparisons. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.

Keywords: AI safety, regression testing, model quality, changing conditions, synthetic evaluation

References

  1. Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., & Mané, D. (2016). Concrete problems in AI safety. arXiv:1606.06565.
  2. Baumgärtner, L., et al. (2020). Mind the GAP: Security & privacy risks of contact tracing apps. arXiv:2006.05914.
  3. Croce, F., & Hein, M. (2020). Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks. Proceedings of the 37th International Conference on Machine Learning, 2206–2216.
  4. Irving, G., Christiano, P., & Amodei, D. (2018). AI safety via debate. arXiv:1805.00899.
  5. Li, N., Li, T., & Venkatasubramanian, S. (2007). t-closeness: Privacy beyond k-anonymity and ℓ-diversity. Proceedings of the 23rd IEEE International Conference on Data Engineering, 106–115.
  6. Li, T., Hu, S., Beirami, A., & Smith, V. (2021). Ditto: Fair and robust federated learning through personalization. Proceedings of the 38th International Conference on Machine Learning, 6357–6368.
  7. 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.
  8. Mökander, J., & Floridi, L. (2021). Ethics-based auditing to develop trustworthy AI. Minds and Machines, 31(2), 323–327.
  9. Pearce, H., Ahmad, B., Tan, B., Dolan-Gavitt, B., & Karri, R. (2021). Asleep at the keyboard? Assessing the security of GitHub Copilot's code contributions. arXiv:2108.09293.
  10. Peng, X. B., Kumar, A., Zhang, G., & Levine, S. (2019). Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv:1910.00177.
  11. 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.
  12. Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST SP 800-207). National Institute of Standards and Technology. NIST
  13. Seto, E., et al. (2012). Mobile phone-based telemonitoring for heart failure management: A randomized controlled trial. Journal of Medical Internet Research, 14(1), e31. DOI
  14. Sweeney, L. (2002). k-anonymity: A model for protecting privacy. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems, 10(5), 557–570.