arXiv:2606.13803cs.LG2026-06

用神经松弛变量让神经网络自动满足单调性和凸性约束

Neural Slack Variables for Shape Constraints

论文配图:Neural Slack Variables for Shape Constraints
图 1 · 摘自论文原文
  • 引入辅助网络作为约束目标,将约束转为回归任务
  • 在密集网格测试中实现零违规,优于传统惩罚方法
  • 适合需要严格数学约束的金融建模等工业场景

在工业与科学应用中,强制神经网络满足单调性、凸性等函数不等式约束是一项基本挑战。传统单边惩罚法和基于互补松弛的对偶方法仅在违反约束处提供梯度,导致约束满足不稳定;而通过结构保证可行性的架构则多限于简单情形,并引入额外归纳偏置。本文提出神经松弛变量,一种原生深度学习的单侧方法,通过将主网络与联合学习的辅助网络耦合,将约束强制转化为回归问题。辅助网络作为主网络约束量的有效目标,诱导可行性和正则性。该方法在密集网格的单调性与凸性测试中实现了零测量违规,优于惩罚法和对偶基线方法残留的违规现象,并成功实现了无套利波动率曲面学习,解决了量化金融中的一个开放难题。

原文摘要 · Abstract (English)

Enforcing functional inequality constraints such as monotonicity and convexity in neural networks is a fundamental challenge in many industrial and scientific applications. Classical one-sided penalty methods, along with primal-dual methods gated by complementary slackness, provide constraint gradients only at violated locations, resulting in fragile satisfaction. Architectures that guarantee feasibility by construction, on the other hand, remain largely limited to elementary cases and impose additional inductive biases. We introduce neural slack variables, a deep learning native primal-side approach that converts constraint enforcement into a regression problem by coupling the primary network with a jointly learned auxiliary network. The auxiliary network serves as a valid target for the primary network's constraint quantities, inducing feasibility and regularity. Neural slack variables achieve zero measured violations on dense-grid monotonicity and convexity test cases, where penalty and primal-dual baselines leave residual violations, and enable arbitrage-free learning of volatility surfaces, an open industrial challenge in quantitative finance.

神经网络约束学习金融建模优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。