论文

Screened HardNet++:自适应筛选让神经网络硬约束执行提速近6倍

Scaling Up Nonlinear Constraint Enforcement in Neural Networks via Adaptive Screening

精选理由

搞优化代理模型的朋友可以看看这篇:它在 IEEE 118-bus 最优潮流上把 500 次迭代压到 100 次,推理从 34.4ms 降到 6.1ms,效果没掉。核心思路是每轮只算可能违反的约束,做电力、化工仿真代理的值得一试。

论文提出 Screened HardNet++,一种针对硬约束神经网络的非线性约束执行方法。该方法在每次迭代中用缩放后的 margin 筛掉安全处于界内的不等式约束,只对可能被违反的约束做局部线性化校正,同时保留了 HardNet++ 约束违反度指数衰减的性质。

正文

理论上,论文证明了任意固定迭代次数下的万能逼近性,并证明原始网络的逼近误差界在所有迭代次数和 batch size 上一致成立,因此网络参数规模可以独立于校正深度来选定。在 IEEE 118-bus 系统的 AC 最优潮流任务上,100 次迭代的 screened 版本平均每轮只保留 372 条潮流约束中的 21.5 条,效果与未筛选的 500 次迭代模型相当,推理时间从每实例 34.4 ms 降到 6.1 ms。

对做优化代理模型和电网仿真的人来说,这意味着不必在全部约束上迭代,可以按活跃约束动态筛选来大幅降低计算成本。

原文 · arXiv cs.LG

Scaling Up Nonlinear Constraint Enforcement in Neural Networks via Adaptive Screening

Hard-constrained neural networks can provide fast surrogates for optimization and simulation problems, but iterative constraint-enforcement layers become costly when the number of constraints is large. To address this gap, we introduce Screened HardNet++, a nonlinear constraint-enforcement method that iteratively corrects neural-network outputs using local constraint linearizations while adaptively selecting active constraints. At each iteration, the proposed method uses scaled margins to screen out inequalities that are safely within their bounds, thereby avoiding computation involving constraints that are safely inactive. We show that this screening rule retains the exponential decay of constraint violations of HardNet++. Furthermore, we establish universal approximation for any fixed number of iterations and, under stronger assumptions, for the limiting correction. We also show that raw-network approximation-error bounds transfer uniformly over iteration counts and batch sizes, so a sufficient raw-network parameter budget for a prescribed accuracy can be chosen independently of the correction depth. We evaluate the approach on AC optimal power flow for the IEEE 118-bus system. With 100 correction iterations, screened HardNet++ retains on average 21.5 of 372 flow constraints per iteration and achieves constraint violations and objective quality comparable to an unscreened 500-iteration model, while reducing inference time from 34.4 ms to 6.1 ms per instance. These results demonstrate that adaptive screening can substantially improve the scalability of iterative hard constraint enforcement without sacrificing feasibility or solution quality.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:HardNet++、AC最优潮流、神经网络、约束优化,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Andrea Goertzen, Juho Bae, Navid Azizan),经 AITOP 多维评分管线结构化提炼。