Research Articles
Regression Tests for Model Release Gates: Bursty Inputs
Elena Belmere (Data Engineering Group, Ivermere University), Idris Eastmarsh (Machine Learning Laboratory, Pinewick School of Engineering), Dario Northmere (Distributed Systems Group, Eastmarsh Institute for Applied Computing)
Vol. 6 No. 1 (2024) · pp. 1–16 · Published 24 January 2024
Abstract
This synthetic study compares maintaining stratified quality tests across releases with using only one aggregate benchmark score in an input stream alternating between quiet periods and peaks. Each configuration is evaluated on the same 240 cases. In the 60 stress cases, a gain on frequent cases must coincide with errors on a rare group; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 163 of 240 cases and the alternative passes 175. For the 60 stress cases alone, the counts are 25 and 33, 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, bursty inputs, synthetic evaluation
References
- Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., & Mané, D. (2016). Concrete problems in AI safety. arXiv:1606.06565.
- Blum, A., Ligett, K., & Roth, A. (2008). A learning theory approach to non-interactive database privacy. Proceedings of the 40th ACM Symposium on Theory of Computing, 609–618.
- Chi, C., et al. (2023). Diffusion policy: Visuomotor policy learning via action diffusion. Proceedings of Robotics: Science and Systems.
- Cotton, D. R. E., Cotton, P. A., & Shipway, J. R. (2023). Chatting and cheating: Ensuring academic integrity in the era of ChatGPT. Innovations in Education and Teaching International. Advance online publication (March 13). DOI
- Irving, G., Christiano, P., & Amodei, D. (2018). AI safety via debate. arXiv:1805.00899.
- Kirchenbauer, J., et al. (2023). On the reliability of watermarks for large language models. arXiv:2306.04634.
- Kreutzer, J., et al. (2022). Quality at a glance: An audit of web-crawled multilingual datasets. Transactions of the Association for Computational Linguistics, 10, 50–72.
- Pearce, H., Ahmad, B., Tan, B., Dolan-Gavitt, B., & Karri, R. (2022). Asleep at the keyboard? Assessing the security of GitHub Copilot’s code contributions. 2022 IEEE Symposium on Security and Privacy (SP), 754–768. DOI: 10.1109/SP46214.2022.00057. Source
- Peng, X. B., Kumar, A., Zhang, G., & Levine, S. (2019). Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv:1910.00177.
- Perry, N., Srivastava, M., Kumar, D., & Boneh, D. (2023). Do users write more insecure code with AI assistants? Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security, 2785–2799.
- Qi, X., et al. (2023). Fine-tuning aligned language models compromises safety, even when users may not intend to! arXiv:2310.03693.
- Rando, J., Paleka, D., Lindner, D., Heim, L., & Tramèr, F. (2022). Red-teaming the Stable Diffusion safety filter. arXiv:2210.04610.
- Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST SP 800-207). National Institute of Standards and Technology. NIST
- Sadasivan, V. S., Kumar, A., Balasubramanian, S., Wang, W., & Feizi, S. (2023). Can AI-generated text be reliably detected? arXiv:2303.11156.
- Vincent, J.-L., et al. (1996). The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure. Intensive Care Medicine, 22(7), 707–710.
- Wang, Z., et al. (2023). Gemini: Fast failure recovery in distributed training with in-memory checkpoints. Proceedings of the 29th Symposium on Operating Systems Principles, 364–381.
- Wei, A., Haghtalab, N., & Steinhardt, J. (2023). Jailbroken: How does LLM safety training fail? Advances in Neural Information Processing Systems, 36.
