Skip to main content
QUICK REVIEW

[论文解读] Continuum Attention for Neural Operators

Edoardo Calvello, Nikola Kovachki|arXiv (Cornell University)|Jun 10, 2024
Neural Networks and ApplicationsComputer Science被引用 5
一句话总结

本文将注意力形式化为无限维函数空间之间的映射,证明它可以被有限维实现近似,并开发具有基于补丁、离散化不变结构的通用近似变换器神经算子。

ABSTRACT

Transformers, and the attention mechanism in particular, have become ubiquitous in machine learning. Their success in modeling nonlocal, long-range correlations has led to their widespread adoption in natural language processing, computer vision, and time series problems. Neural operators, which map spaces of functions into spaces of functions, are necessarily both nonlinear and nonlocal if they are universal; it is thus natural to ask whether the attention mechanism can be used in the design of neural operators. Motivated by this, we study transformers in the function space setting. We formulate attention as a map between infinite dimensional function spaces and prove that the attention mechanism as implemented in practice is a Monte Carlo or finite difference approximation of this operator. The function space formulation allows for the design of transformer neural operators, a class of architectures designed to learn mappings between function spaces. In this paper, we state and prove the first universal approximation result for transformer neural operators, using only a slight modification of the architecture implemented in practice. The prohibitive cost of applying the attention operator to functions defined on multi-dimensional domains leads to the need for more efficient attention-based architectures. For this reason we also introduce a function space generalization of the patching strategy from computer vision, and introduce a class of associated neural operators. Numerical results, on an array of operator learning problems, demonstrate the promise of our approaches to function space formulations of attention and their use in neural operators.

研究动机与目标

  • 为神经算子在函数空间设置中动机化并形式化注意力。
  • 证明实际的注意力是一种对连续算子的蒙特卡洛/有限差分近似。
  • 定义离散化不变、能够学习函数空间之间映射的变换器神经算子。
  • 建立第一条针对变换器基神经算子的通用近似结果。
  • 引入基于补丁的注意力,以实现对多维域的高效、可扩展的算子学习。

提出的方法

  • 将自注意力和跨注意力表述为在定义域D上的Banach空间上的算子。
  • 证明实用注意力是连续注意力算子的蒙特卡洛近似(定理6和定理12)。
  • 定义连续注意力映射及其补丁变体,以实现离散化不变的学习。
  • 构造在函数空间之间映射的基于变换器的神经算子,并证明普适近似定理。
  • 通过将定义域划分为补丁并在补丁之间应用注意力来引入补丁注意力(补丁化框架)。
  • 在算子学习问题上提供数值实验以证明有效性。
Figure 1 : Transformer Neural Operator.
Figure 1 : Transformer Neural Operator.

实验结果

研究问题

  • RQ1如何在无限维函数空间上对注意力机制进行严格定义?
  • RQ2离散化的注意力机制是否能够在可证明误差控制的前提下近似其连续版本?
  • RQ3基于变换器的神经算子是否具备在函数空间之间映射的普适近似能力?
  • RQ4基于补丁的注意力策略是否能产生离散化不变、可扩展的神经算子,适用于PDE及相关问题?

主要发现

  • 注意力被形式化为函数空间之间的映射,并且被证明可以被实践中使用的有限维实现近似。
  • 一个近似定理量化连续自注意力及其有限离散化之间的误差;跨注意力也有类似结果。
  • 建立了一个变换器基神经算子框架,具有离散化/不变性并支持对不规则网格的零-shot泛化。
  • 首次给出变换器神经算子的普适近似定理。
  • 开发了补丁注意力,通过函数补丁实现高效计算和网格不变的算子学习。
Figure 2 : Vision Transformer Neural Operator.
Figure 2 : Vision Transformer Neural Operator.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。