arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.03303cs.LGcs.AIcs.NEmath.FAmath.MG
收藏

用Transformers实现约束条件下的通用逼近

Universal Approximation Under Constraints is Possible with Transformers

Universität Basel(巴塞尔大学);Universität Zürich(苏黎世大学)

Anastasis Kratsios, Behnoosh Zamanlooy, Tianlin Liu, Ivan Dokmanić

摘要:

许多实际问题需要机器学习模型的输出来满足一组约束$K$。然而,没有已知的保证,经典的神经网络架构可以准确地编码约束,同时实现通用性。本文给出了一个定量约束泛逼近定理,保证了对任意非凸紧集$K$和任意连续函数$f:\mathbb{R}^n\rightarrow K$,存在概率Transformer $\hat{F}$,其随机输出都位于$K$中,且其期望输出一致逼近$f$ .我们的第二个主要结果是Berge极大值定理(1963)的“深层神经版本”。该结果保证了给定目标函数$L$、约束集$K$和软约束集族,存在概率Transformer $\hat{F}$近似最小化$L$且其输出属于$K$ ;而且,$\hat{F}$近似满足软约束.我们的结果隐含了经典Transformers在精确凸约束满足下的第一普适逼近定理。在适当的测地线凸约束下,给出了黎曼流形值函数的一个无图泛逼近定理。

英文摘要:

Many practical problems need the output of a machine learning model to satisfy a set of constraints, $K$. Nevertheless, there is no known guarantee that classical neural network architectures can exactly encode constraints while simultaneously achieving universality. We provide a quantitative constrained universal approximation theorem which guarantees that for any non-convex compact set $K$ and any continuous function $f:\mathbb{R}^n\rightarrow K$, there is a probabilistic transformer $\hat{F}$ whose randomized outputs all lie in $K$ and whose expected output uniformly approximates $f$. Our second main result is a "deep neural version" of Berge's Maximum Theorem (1963). The result guarantees that given an objective function $L$, a constraint set $K$, and a family of soft constraint sets, there is a probabilistic transformer $\hat{F}$ that approximately minimizes $L$ and whose outputs belong to $K$; moreover, $\hat{F}$ approximately satisfies the soft constraints. Our results imply the first universal approximation theorem for classical transformers with exact convex constraint satisfaction. They also yield that a chart-free universal approximation theorem for Riemannian manifold-valued functions subject to suitable geodesically convex constraints.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑