麻省理工学院的研究团队开发了名为HardFlow的算法,能够在不重新训练模型的情况下,强制生成式AI的输出满足严格的安全约束条件1。这一方法已发表在《IEEE模式分析与机器智能汇刊》上,由MIT机械工程系研究生Zeyang Li、副教授Kaveh Alim和Navid Azizan等人主导1。
HardFlow的核心创新在于其约束执行机制1。该算法不要求每个中间步骤都满足约束,而是仅在最后一步检查约束是否达成1。Zeyang Li表示,"对于约束满足,最终重要的是模型的最终输出,因为内部过程会被丢弃。通过不要求每个中间步骤都满足约束,我们给予模型更多自由度来寻找高质量的可行解"1。
在模拟测试中,该方法在D3IL机器人操作基准、迷宫导航、物理过程边界条件控制和文本到图像编辑等四个任务中均满足约束要求1。然而,所有验证结果均源自模拟基准测试,尚未在真实机器人或生产系统中经过测试1。
Researchers at MIT have created an algorithm called HardFlow that compels generative AI systems to produce outputs adhering to strict safety requirements 1. The method, detailed in a paper titled "HardFlow: Hard-Constrained Sampling for Flow-Matching Models via Trajectory Optimization," was published in IEEE Transactions on Pattern Analysis and Machine Intelligence 1. Led by graduate researcher Zeyang Li and associate professor Navid Azizan from MIT's Department of Mechanical Engineering, the team demonstrated the approach across multiple simulated tasks including robot manipulation, maze navigation, physics process control, and text-to-image editing, all without requiring retraining of existing models 1.
A key innovation of HardFlow is its approach to constraint enforcement: rather than requiring compliance at every intermediate step of the generation process, the algorithm validates constraints only at the final output 1. As Li explained, "For constraint satisfaction, what ultimately matters is the model's final output, because internal processes are discarded. By not requiring every intermediate step to satisfy constraints, we give the model more freedom to find high-quality feasible solutions" 1. This design grants the model greater flexibility to explore the solution space while still guaranteeing that end results meet safety specifications. Azizan emphasized the broader significance, stating that "the promise of generative AI lies in exploring a rich space of possibilities, but real-world constraints limit which possibilities are acceptable. Our approach allows us to enforce non-negotiable requirements for high-risk or safety-critical applications while preserving generative capabilities" 1.
However, the current validation remains limited to simulation environments 1. All results derive from simulated benchmarks, and the method has not yet been tested on physical robots or in production systems 1.
评论
还没有评论,欢迎留下第一条。