Research Articles
Regression Tests for Model Release Gates: Uneven Workloads
Elena Faldenwood (Trustworthy Systems Laboratory, Pinewick School of Engineering), Uma Fallowby (Trustworthy Systems Laboratory, Ravenmere Technical University), Lina-Mae Meadowick (Distributed Systems Group, Cairnwell Research Institute)
Vol. 2 No. 1 (2020) · pp. 15–25 · Published 7 February 2020
Abstract
We ask whether maintaining stratified quality tests across releases performs better than using only one aggregate benchmark score in a workload with many common cases and a small set of recurring high-cost cases. The evaluation is synthetic. 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; the rare cases are assessed separately so that the dominant group does not hide their behavior. 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 170 of 256 cases and the alternative passes 175. For the 64 stress cases alone, the counts are 29 and 31, 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, uneven workloads, synthetic evaluation
References
- Agarwal, R., Schuurmans, D., & Norouzi, M. (2019). Striving for simplicity in off-policy deep reinforcement learning. arXiv:1907.04543.
- Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., & Mané, D. (2016). Concrete problems in AI safety. arXiv:1606.06565.
- Chesney, R., & Citron, D. K. (2019). Deep fakes: A looming challenge for privacy, democracy, and national security. California Law Review, 107(6), 1753–1820.
- Fujimoto, S., Meger, D., & Precup, D. (2019). Off-policy deep reinforcement learning without exploration. Proceedings of the 36th International Conference on Machine Learning, 2052–2062.
- Irving, G., Christiano, P., & Amodei, D. (2018). AI safety via debate. arXiv:1805.00899.
- Kairouz, P., et al. (2019). Advances and open problems in federated learning. arXiv:1912.04977.
- Lecuyer, M., Atlidakis, V., Geambasu, R., Hsu, D., & Jana, S. (2019). Certified robustness to adversarial examples with differential privacy. Proceedings of the 2019 IEEE Symposium on Security and Privacy, 656–672.
- Li, T., Sahu, A. K., Talwalkar, A., & Smith, V. (2019). Federated learning: Challenges, methods, and future directions. arXiv:1908.07873.
- Li, W., et al. (2019). Privacy-preserving federated brain tumour segmentation. Machine Learning in Medical Imaging (MLMI 2019), Lecture Notes in Computer Science, 11861, 133–141.
- Long, Y., et al. (2017). Towards measuring membership privacy. arXiv:1712.09136.
- Peng, X. B., Kumar, A., Zhang, G., & Levine, S. (2019). Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv:1910.00177.
- Price, W. N., II, & Cohen, I. G. (2019). Privacy in the age of medical big data. Nature Medicine, 25(1), 37–43.
- Shabtai, A., Fledel, Y., Kanonov, U., Elovici, Y., Dolev, S., & Glezer, C. (2010). Google Android: A comprehensive security assessment. IEEE Security & Privacy, 8(2), 35–44.
- Strubell, E., Ganesh, A., & McCallum, A. (2019). Energy and policy considerations for deep learning in NLP. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 3645–3650.
