神经网络激活的齐次线性不等式约束
Homogeneous Linear Inequality Constraints for Neural Network Activations
摘要:
我们提出了一种方法,施加齐次线性不等式约束的形式$Ax\leq 0$神经网络激活。所提出的方法允许数据驱动的训练方法与关于任务的建模先验知识相结合。实现此任务的一种方法是在无约束训练后的测试时间通过投影步骤。然而,这是一个昂贵的操作。通过直接将约束纳入体系结构,我们可以显着加快推理在测试时,例如,我们的实验表明,速度高达两个数量级的投影方法。我们的算法计算一个合适的参数化的可行集在初始化和使用标准的变种随机梯度下降找到解决方案的约束网络。因此,在训练期间始终满足建模约束。至关重要的是,我们的方法避免了在每个训练步骤中解决优化问题,或者手动权衡数据和约束保真度与额外的超参数。我们认为约束生成建模作为一个重要的应用领域,并通过实验证明了所提出的方法约束变分自编码器。
英文摘要:
We propose a method to impose homogeneous linear inequality constraints of the form $Ax\leq 0$ on neural network activations. The proposed method allows a data-driven training approach to be combined with modeling prior knowledge about the task. One way to achieve this task is by means of a projection step at test time after unconstrained training. However, this is an expensive operation. By directly incorporating the constraints into the architecture, we can significantly speed-up inference at test time; for instance, our experiments show a speed-up of up to two orders of magnitude over a projection method. Our algorithm computes a suitable parameterization of the feasible set at initialization and uses standard variants of stochastic gradient descent to find solutions to the constrained network. Thus, the modeling constraints are always satisfied during training. Crucially, our approach avoids to solve an optimization problem at each training step or to manually trade-off data and constraint fidelity with additional hyperparameters. We consider constrained generative modeling as an important application domain and experimentally demonstrate the proposed method by constraining a variational autoencoder.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。