arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.21429cs.LGcs.AIcs.SYeess.SYmath.OC
收藏

具有约束屏障函数的可证明安全生成采样

Provably Safe Generative Sampling with Constricting Barrier Functions

Mechanical Engineering University of California, Riverside(机械工程 加州大学河滨分校);Electrical Engineering and Computer Science University of California, Irvine(电气工程与计算机科学 加州大学伊尔弗分校)

Darshan Gadginmath, Ahmed Allibhoy, Fabio Pasqualetti

AI总结:

通过约束屏障函数实现安全生成采样,确保生成样本满足硬约束并保持语义保真度。

摘要:

基于流的生成模型,如扩散模型和流匹配模型,在学习复杂数据分布方面取得了显著成功。然而,它们在安全关键领域中的部署仍存在关键缺口:缺乏生成样本满足硬约束的正式保证。我们通过提出一个安全过滤框架来解决这个问题,该框架作为任何预训练生成模型的在线保护层。我们的关键见解是与生成过程合作,而不是覆盖它。我们定义了一个约束安全管,它在初始噪声分布上被放松,并逐步收紧到最终数据分布的目标安全集,这与生成过程本身的粗到细结构相呼应。通过用控制屏障函数(CBFs)表征这个管,我们通过一个凸二次规划(QP)在每个采样步骤中合成一个反馈控制输入。由于管在噪声高时最松,干预在控制能量方面最便宜,因此大多数约束执行发生在最少干扰模型学习结构的时候。我们证明这种机制在每个采样步骤中保证安全采样,同时最小化与原始模型的分布偏移,这通过KL散度量化。我们的框架适用于任何预训练的流式生成方案,无需重新训练或架构修改。我们在受约束的图像生成、物理一致的轨迹采样和安全的机器人操作策略中验证了这种方法,实现了100%的约束满足,同时保持语义保真度。

英文摘要:

Flow-based generative models, such as diffusion models and flow matching models, have achieved remarkable success in learning complex data distributions. However, a critical gap remains for their deployment in safety-critical domains: the lack of formal guarantees that generated samples will satisfy hard constraints. We propose a safety filtering framework that acts as an online shield for any pre-trained generative model. Our key insight is to cooperate with the generative process rather than override it. We define a constricting safety tube that is relaxed at the initial noise distribution and progressively tightens to the target safe set at the final data distribution, mirroring the coarse-to-fine structure of the generative process itself. By characterizing this tube via Control Barrier Functions (CBFs), we synthesize a feedback control input through a convex Quadratic Program (QP) at each sampling step. As the tube is loosest when noise is high and intervention is cheapest in terms of control energy, most constraint enforcement occurs when it least disrupts the model's learned structure. We prove that this mechanism guarantees safe sampling in discrete-time. The minimum-norm control synthesized at each step minimizes the per-step contribution to the KL divergence between the safe and original distributions. Across all experiments, we observe 100% constraint satisfaction. Our framework applies to any pre-trained flow-based sampling scheme requiring no retraining or architectural modifications. We validate the approach across constrained image generation, physically-consistent trajectory sampling, and safe robotic manipulation policies, achieving 100% constraint satisfaction while preserving semantic fidelity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑