Skip to content

Research Articles

Regression Tests for Model Release Gates: Heterogeneous Partitions

Lina-Mae Ternwell (Trustworthy Systems Laboratory, Ivermere University), Edda Finchmere (Trustworthy Systems Laboratory, Pinewick School of Engineering), Idris Crestmere (Machine Learning Laboratory, Ivermere University)

Vol. 7 No. 1 (2025) · pp. 31–43 · Published 19 February 2025

Abstract

For a collection of partitions with different input and resource profiles, 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; held-out partitions are selected before configuration so that tuning cannot target their particular failure 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. The comparator passes 101 of 144 cases and the alternative passes 110. For the 36 stress cases alone, the counts are 17 and 26, 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, heterogeneous partitions, 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. Anwar, U., et al. (2024). Foundational challenges in assuring alignment and safety of large language models. arXiv:2404.09932.
  3. Cotton, D. R. E., Cotton, P. A., & Shipway, J. R. (2024). Chatting and cheating: Ensuring academic integrity in the era of ChatGPT. Innovations in Education and Teaching International, 61(2), 228–239. DOI
  4. Durumeric, Z., Wustrow, E., & Halderman, J. A. (2013). ZMap: Fast internet-wide scanning and its security applications. Proceedings of the 22nd USENIX Security Symposium, 605–620.
  5. Hubinger, E., et al. (2024). Sleeper agents: Training deceptive LLMs that persist through safety training. arXiv:2401.05566.
  6. Irving, G., Christiano, P., & Amodei, D. (2018). AI safety via debate. arXiv:1805.00899.
  7. 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.
  8. Octo Model Team. (2024). Octo: An open-source generalist robot policy. arXiv:2405.12213.
  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. 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.
  11. Qi, X., et al. (2023). Fine-tuning aligned language models compromises safety, even when users may not intend to! arXiv:2310.03693.
  12. Rando, J., Paleka, D., Lindner, D., Heim, L., & Tramèr, F. (2022). Red-teaming the Stable Diffusion safety filter. arXiv:2210.04610.
  13. Rose, S., Borchert, O., Mitchell, S., & Connelly, S. (2020). Zero trust architecture (NIST SP 800-207). National Institute of Standards and Technology. NIST
  14. Wei, A., Haghtalab, N., & Steinhardt, J. (2023). Jailbroken: How does LLM safety training fail? Advances in Neural Information Processing Systems, 36.
  15. Ye, J., et al. (2024). ToolSword: Unveiling safety issues of large language models in tool learning across three stages. arXiv:2402.10753.
  16. Ye, X., & Durrett, G. (2022). The unreliability of explanations in few-shot prompting for textual reasoning. Advances in Neural Information Processing Systems, 35, 30378–30392.