CAffNet: 硬约束仿射神经网络
CAffNet: Hard Constraint-Affine Neural Networks
AI总结:
提出一种将任意基数的输入相关仿射约束硬嵌入前馈神经网络和Transformer的框架,通过可训练的约束仿射层实现联合优化并保持通用逼近性质。
摘要:
我们提出了一种新颖的框架,用于将硬约束满足嵌入神经网络(NN)架构中,特别是前馈神经网络和Transformer,约束为任意基数的输入相关仿射约束。传统的约束执行方法要么依赖于基于惩罚的软约束,无法保证满足性,要么依赖于训练后执行约束的后处理方法,可能导致次优性。我们在神经网络中引入了一个可训练的约束仿射(CAffine)层,得到CAffNet,它超越了通过固定正交或平行投影执行仿射约束的方式,并实现了与网络参数的联合优化。此外,我们对约束空间维度没有施加任何限制,并证明了我们的构造保持了神经网络的通用逼近性质,同时为所有输入提供了约束遵守的可证明保证。实验验证表明,在需要保证约束满足的各个领域中,性能稳健。
英文摘要:
We present a novel framework for embedding hard constraint satisfaction into neural network (NN) architectures, specifically feedforward neural networks and transformers, with input-dependent affine constraints of arbitrary cardinality. Traditional constraint enforcement approaches either rely on penalty-based soft constraints, which offer no guarantee of satisfaction, or on post-processing methods that enforce constraints after the NN is trained, which may lead to suboptimality. We introduce a trainable constraint-affine (CAffine) layer into NNs, yielding CAffNet, which goes beyond enforcing affine constraints via fixed orthogonal or parallel projections and enables joint optimization with network parameters. Moreover, we impose no restrictions on the constraint space dimensions and establish that our construction preserves the universal approximation properties of NNs, while providing provable guarantees on constraint adherence for all inputs. Experimental validation demonstrates robust performance across diverse domains requiring guaranteed constraint satisfaction. The code is available at https://github.com/ice-t-lab/CAffNet.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。