Domain-Agnostic Scalable AI Safety Ensuring Framework
Beomjun Kim, Kangyeon Kim, Sunwoo Kim, Yeonsang Shin, Heejin Ahn
TL;DR
The paper tackles the challenge of enforcing safety across arbitrary AI applications by reframing safety as probabilistic constraint satisfaction and introducing a domain-agnostic framework that integrates an optimization layer with chance constraints, a safety classification model, internal test data, and conservative testing. A key contribution is the theoretical development of a scaling law linking the quantity of internal test data to the safety-performance trade-off, supported by a formal convergence result for the proposed approximate loss. Empirically, the framework demonstrates unprecedented safety performance across multiple domains—reinforcement learning (SafetyGym), natural language generation, and production planning—while maintaining competitive performance, as evidenced by a dramatic reduction in collisions in RL and improvement in constraint satisfaction in NLP. The work provides a principled, generalizable foundation for deploying AI in safety-critical settings, with rigorous guarantees, documented training and evaluation procedures, and practical deployment strategies such as bias-correction for threshold tuning.
Abstract
AI safety has emerged as a critical priority as these systems are increasingly deployed in real-world applications. We propose the first domain-agnostic AI safety ensuring framework that achieves strong safety guarantees while preserving high performance, grounded in rigorous theoretical foundations. Our framework includes: (1) an optimization component with chance constraints, (2) a safety classification model, (3) internal test data, (4) conservative testing procedures, (5) informative dataset quality measures, and (6) continuous approximate loss functions with gradient computation. Furthermore, to our knowledge, we mathematically establish the first scaling law in AI safety research, relating data quantity to safety-performance trade-offs. Experiments across reinforcement learning, natural language generation, and production planning validate our framework and demonstrate superior performance. Notably, in reinforcement learning, we achieve 3 collisions during 10M actions, compared with 1,000-3,000 for PPO-Lag baselines at equivalent performance levels -- a safety level unattainable by previous AI methods. We believe our framework opens a new foundation for safe AI deployment across safety-critical domains.
