Skip to Content
AxiomsAxioms
  • Article
  • Open Access

11 September 2026

18 Pages

Universal Approximation of Operators with Transformers and Neural Integral Operators

and
Department of Mathematics and Statistics, Idaho State University, 921 S. 8th Ave., Stop 8085, Pocatello, ID 83209, USA
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Functional Data Analysis and Its Application

Abstract

We study the universal approximation properties of transformers and neural integral operators for operators in Banach spaces. In particular, we show that the transformer architecture is a universal approximator of integral operators between Hölder spaces. Moreover, we show that a generalized version of neural integral operators, based on the Gavurin integral, treats them as universal approximators of arbitrary operators between Banach spaces. Lastly, we show that a modified version of the transformer, which uses Leray–Schauder mappings, is a universal approximator of operators between arbitrary Banach spaces.

1. Introduction

Operator learning constitutes a branch of deep learning dedicated to approximating nonlinear operators defined between Banach spaces. The appeal of this field stems from its capacity to model complex phenomena, such as dynamical systems, for which underlying governing equations remain elusive. Operator learning is thought to have originated with the theoretical groundwork established in [1] and subsequently implemented in [2].
Operator learning has been successfully applied in several fields of science, including learning neural integro-differential equations [3], integral operators [4,5], quantum state tomography [6], quantum circuit learning [7], control theory [8], partial differential equations [9], and holographic quantum chromodynamics [10], to mention but a few.
Transformers [11] have emerged as a powerful tool in natural language processing, and they have more recently been employed for addressing problems in operator learning, including dynamical systems. Previous research has explored their use in integral equations [4,5], inverse problems [12], fluid flows [13], and PDEs [14], among others.
Recent theoretical work highlights the strong approximation capabilities of transformer architectures across a range of settings. In [15], the authors showed that a variation in transformers’ attention mechanism, which includes free parameters, allows the recovery of polynomials with zero error over a compact subset of a Euclidean space. This procedure has the drawback of potential exponential scaling of free parameters. It was shown in [16] that transformers can approximate sequence-to-sequence functions with respect to a suitable “average” error. The case of approximating sequence-to-sequence functions with some smoothness and with infinite dimensional inputs was studied in [17], where learnable positional encoding was employed. More recently, in [18], these works were further extended to show that sequence-to-sequence functions with Hölder and Sobolev regularity can be approximated in the L p norm.
Recent studies have explored the application of transformers to operator modeling. For instance, [19] demonstrated the efficacy of attention mechanisms in learning operators with low regularity, specializing in Izhikevich and tempered fractional LIF neuron models. This work builds upon previous research [20,21] that established near-optimal error bounds for learning nonlinear operators between infinite-dimensional Banach spaces, notably DeepONets [22]. In addition, the work of [19] shows that on Banach spaces with the approximation property, transformers with positional encoding are universal approximators, using the addition of an encoder and a decoder and applying the results of [23] to uniformly approximate continuous functions via CNNs.
Transformers without positional encoders and without additional encoders and decoders have not yet been extensively explored in the case of operator learning problems. In fact, the results of [16,17,18], when applied directly to the proof of [19] in this setting, give error bounds that are either not uniform or are restricted to some classes of functions that are not directly related to the construction in [19].
The main results of the present paper are the following. We establish a universal approximation framework for Urysohn integral operators between Hölder spaces using transformer architectures without positional encoding, relying instead on their permutation-equivariant approximation properties. Our methods can also be applied for any equivariant universal approximator of sequence-to-sequence mappings, of which the transformer without positional encoding is an example. Moreover, incorporating Leray–Schauder mappings as encoders, we obtain a universal approximation result for (nonlinear) operators between arbitrary Banach spaces, including those without the approximation property. Lastly, we introduce a generalized neural integral operator based on the Gavurin integral and prove its universal approximation property for operators between Banach spaces under some smoothness assumption.
This paper is organized as follows. Section 2 outlines the necessary preliminaries. In Section 3, we prove that transformers are universal approximators for Hölder spaces. Section 4 investigates the universal approximation capabilities of neural integral operators for operators in Banach spaces. We conclude with Section 5, exploring further perspectives and open questions.

2. Preliminaries

2.1. Notation

Throughout this article, we assume a discretization of the interval [ a , b ] as a = t 0 < t 1 < ⋯ < t n − 1 < t n = b . Unless otherwise explicitly stated, over any subinterval, i.e., [ a , t 1 ] , ⋯ , [ t n − 1 , b ] , the point x i ∈ [ t i , t i + 1 ] .
Let X = C k , α ( [ a , b ] ) denote the Hölder space of k-differentiable functions with the k th derivative that are Hölder continuous. We let T : X ⟶ X be an integral operator. Consider the values x i and z k = y ( t k ) for i , k = 1 , … , n , where x i and t k vary among the points of the discretization determined by the integration approximation.
Let the kernel of T be the function G : R × [ a , b ] × [ a , b ] ⟶ R , which is continuous with respect to all variables, and is continuously differentiable with respect to the first and third variables. Here, G takes as input a function u and two “time” variables from the interval [ a , b ] . Then, T is defined according to the assignment
T ( u ) ( x ) = ∫ a b G ( u ( t ) , x , t ) d t .
In other words, T is an Urysohn integral operator.
For a function f : R n ⟶ R m , we indicate by f i ( x 1 , … , x n ) the i th -entry of the vector f ( x 1 , … , x n ) .
Following the previous conventions, for each i = 1 , … , n in the rest of the paper, we indicate
T i ( u ) ( x 1 , … , x n ) : = ∫ G ( u ( t ) , x i , t ) d t ,
where, as mentioned above, x i ∈ [ t i , t i + 1 ] for each i. So, T ( u ) is the vector function whose i th -entry function is T i ( u ) . Given a function F : R n ⟶ R n , we introduce the following norm
∥ F ∥ p = ∑ i = 1 n ∫ [ a , t 1 ] × ⋯ × [ t n − 1 , b ] | F i ( x 1 , … , x n ) | p d μ 1 p ,
which corresponds to the Euclidean norm of the component-wise p-norm, and can be applied to T i ( u ) as a particular case. This p-norm will be the objective of the approximation results over Hölder spaces for transformers.

2.2. Leray–Schauder Mappings

Leray–Schauder mappings [24,25] are a fundamental tool in nonlinear functional analysis. They are used to establish the existence of solutions to nonlinear problems by extending the concept of degrees from finite-dimensional spaces to infinite-dimensional Banach spaces. Roughly speaking, given a compact set K and a finite dimensional subspace of a Banach space, we want to find a continuous mapping onto the finite subspace satisfying the property that the norm of elements in the compact set and the image of the mapping is smaller than a fixed ϵ > 0 . Following [25], we define Leray–Schauder mappings on a Banach space X as follows. Let K be a compact set, and E n an n-dimensional space spanned by the ϵ -net x 1 , … , x n of K. We define P n : X ⟶ E n by the assignment
P n x = ∑ i = 1 n μ i ( x ) x i ∑ i = 1 n μ i ( x ) ,
where
μ i ( x ) = ϵ − ∥ x − x i ∥ , ∥ x − x i ∥ ≤ ϵ 0 , ∥ x − x i ∥ > ϵ
for all i = 1 , … , n . One sees directly that this mapping satisfies the property that
∥ x − P ( x ) ∥ < ϵ ,
for all x ∈ K .

2.3. Gavurin Neural Integral Operator T ( x )

We hereby recall the definition of the Gavurin integral [26], and use this to define a class of neural integral operators of relevance for the rest of this paper.
We follow [27], Chapter 17, and consider a mapping R : [ x 0 , x ¯ ] ⊂ X → B ( X , Y ) , where B ( X , Y ) denotes the space of bounded linear operators from X to Y, two Banach spaces. Let 0 = t 0 < t 1 < ⋯ < t n = 1 be a partition of [ 0 , 1 ] , and let τ k ∈ [ t k , t k + 1 ] . Then, the integral of R is defined in a procedure similar to the classical Riemann integral as
∫ x 0 x 0 + Δ x R ( x ) d x = ∫ 0 1 R ( x 0 + t Δ x ) Δ x d t = lim n → ∞ ∑ k = 0 n − 1 R ( x 0 + τ k Δ x ) Δ x ( t k + 1 − t k ) ,
when the limit exists and is independent of the choices of τ k . We indicate the action of the integral operator on an element z of X as ∫ x 0 x 0 + Δ x R ( x ) ( z ) d x .
We define a Gavurin integral operator to be an integral operator T : X ⟶ Y , which is the point-wise convex sum of the integral operators, as in Equation (3), as follows:
T ( z ) = ∑ i η i ( z ) [ F i ( z ) + ∫ x 0 x 0 + Δ x R i ( x ) ( z ) d x ] ,
where for every z, ∑ i η i ( z ) = 1 , i.e., the coefficients are a partition of unity, and F i values are arbitrary linear operators.
We define a Gavurin neural integral operator to be an operator approximating the form in (4) with a Riemann sum consisting of Leray–Schauder maps and neural networks in the following sense. Let P and P ′ denote two Leray–Schauder mappings, P : U ⟶ X and P ′ : U ′ ⟶ Y , where U and U ′ are open sets containing two given compacts, K and K ′ . Then, P ( K ) and P ′ ( K ′ ) both span the finite dimensional subspaces E and E ′ of X and Y, respectively, by construction. We let φ and φ ′ denote two linear homeomorphisms φ : E ⟶ R n and φ ′ : E ′ ⟶ R m , where we have set dim E = n and dim E ′ = m . Let f : R n ⟶ R m be a neural network, and consider the composition F P , f : = φ ′ − 1 f φ P . Then, a Gavurin neural integral operator is a neural network defined as
F P , f 1 , … , f q , g 1 , … , g q ( z ) : = ∑ i η i ( z ) F P , f i ( z ) + ∑ r ∑ i ∑ k η i ( z ) α k ( t r ) F P , g i ( z ) ,
where { η } i is a partition of unity subordinate to an open cover of K , { α k } k is a partition of unity of [ 0 , 1 ] , and 0 = t 0 ≤ … ≤ t q = 1 is a discretization of the interval [ 0 , 1 ] . All sums in the definition are finite, and F P , f 1 , … , f q , g 1 , … , g q implicitly depends on the chosen discretization of [ 0 , 1 ] , as well as the partitions of unity { η i } i and { α k } k . We notice that the sum over r is substantially mimicking a Riemann sum, therefore approximating an integral.

2.4. Models with Permutation-Equivariance

Equivariance can be formalized using the concept of a G-set for a group G consisting of a set S and where G acts on S from the right. Given two G-sets, X and Y, for the same group G, a function f : X → Y is said to be G-equivariant if f ( x · g ) = f ( x ) · g for all g ∈ G and all x ∈ X .
A transformer is a sequence-to-sequence model composed of an encoder and a decoder, both built from stacks of self-attention and feedforward layers. A transformer defines a function T : X n → Y m , where X and Y are the input and output token spaces, respectively, and n, m are the input and output sequence lengths. Given an input sequence of tokens x = ( x 1 , … , x n ) , each token is mapped to a vector via an embedding function e i = Embed ( x i ) ∈ R d . A positional encoding p i ∈ R d is added to retain order information z i ( 0 ) = e i + p i . At each layer ℓ, the input Z ( ℓ − 1 ) = ( z 1 ( ℓ − 1 ) , … , z n ( ℓ − 1 ) ) is transformed via multi-head self-attention, as follows:
Attention ( Q , K , V ) = softmax Q K ⊤ d k V ,
where d k is the length of the key vectors, used as a scaling factor to keep numbers stable,
z i ( ℓ , attn ) = MultiHead ( z i ( ℓ − 1 ) ) = Concat ( h 1 , … , h H ) W O ,
where each head h j is
h j = Attention ( Q j , K j , V j ) , Q j = Z ( ℓ − 1 ) W j Q , K j = Z ( ℓ − 1 ) W j K , V j = Z ( ℓ − 1 ) W j V .
Each position i is updated via a position-wise feedforward network:
z i ( ℓ , ff ) = FFN ( z i ( ℓ , attn ) ) = σ ( z i W 1 + b 1 ) W 2 + b 2 .
The full update rule at each layer ℓ is
z i ( ℓ , norm 1 ) = LayerNorm z i ( ℓ − 1 ) + z i ( ℓ , attn ) , z i ( ℓ ) = LayerNorm z i ( ℓ , norm 1 ) + z i ( ℓ , ff ) .
In the context of transformers, particularly in machine learning models, equivariance refers to equivariance with respect to the natural symmetric group action on sequences of inputs–outputs. More specifically, for the function f : X → Y (e.g., a neural network layer), and the group G acting on both X and Y, the function f is said to be equivariant with respect to G if
f ( x · g ) = f ( x ) · g , ∀ g ∈ G , x ∈ X ,
where x · g and f ( x ) · g denote the actions of g on X and Y, respectively.
Deep Sets [28] are explicitly designed to be permutation-invariant or -equivariant by applying a shared function to each element, followed by a symmetric aggregation operation (e.g., summation). Neural Functional models [29] generalize this idea by treating input data as functions over domains and ensure equivariance under transformations such as permutations by construction. Transformers [11], before the addition of positional encodings, are naturally permutation-equivariant due to the symmetric structure of the self-attention mechanism, i.e., each token tends to all others through shared attention weights, making the output invariant to the order of inputs under shared weights. However, once positional information is introduced, this permutation symmetry is typically broken.
The approach pursued in this article can be applied to any architecture that is equivariant and a universal approximator of sequence-to-sequence mappings, in the norm defined in (1). In other words, given an approximator of sequence-to-sequence mappings, we can show that there is a corresponding construction that is a universal approximator of nonlinear operators between the Hölder spaces. We pose the following useful definition.
In this article, we will use the term generalized transformer to denote a mapping W defined on a space of functions as follows. We have a locally finite partition of unity { η i } defined on the space subordinate to some open covering U , and we let W U denote a standard transformer for each open U in the covering U , whether it has positional encoding or not. For a function f ∈ U , W U ( f ) is defined by applying f to some pre-defined sampling scheme of the domain of the space of functions, and then applying W U on the corresponding outputs of f. We then set
W ( f ) = ∑ i η i ( f ) W U ( f ) .
Each sum is finite since the partition of unity is locally finite. Details of this procedure are provided below in Section 3.

2.5. Notation and Generalities

The notations used in the following sections are summarized in Table 1. The precise definitions of each notation are given in the main text and are used throughout this paper.
Table 1. Summary of notations used in the rest of the manuscript.
In this work, the term operator will refer to any continuous mapping, without restriction of linearity. This follows the common notations in operator learning, where nonlinear maps between function spaces are also called operators.

3. Universal Approximation for Transformers

We recall the following definitions. Let f : [ a , b ] ⟶ R be a function. Then, we say that f is Hölder continuous if there exists a constant c such that
| f ( x ) − f ( y ) | ≤ c | x − y | α ,
for all x , y ∈ [ a , b ] , where α ∈ ( 0 , 1 ] . We define the set C k , α ( [ a , b ] ) of all Hölder functions whose kth derivative is Hölder continuous, and define the norm
∥ f ∥ k , α = ∥ f ∥ k + sup { | f k ( x ) − f k ( y ) | | x − y | α | x , y ∈ [ a , b ] , x ≠ y } ,
where ∥ f ∥ k : = max r ≤ k ∥ f r ∥ ∞ is the maximum among the uniform norms of the derivatives of f. The space C k , α ( [ a , b ] ) is a Banach space. In this section, we consider C k , α ( [ a , b ] ) , where 1 ≤ k ∈ N and α ∈ ( 0 , 1 ] , and let T : C k , α ( [ a , b ] ) ⟶ C k , α ( [ a , b ] ) be a given integral operator. We want to show that there is a transformer architecture W that approximates T with arbitrarily high precision in the following sense. For an arbitrary choice of ϵ > 0 , there exist a discretization a = t 0 < t 1 < ⋯ < t n − 1 < t n = b of [ a , b ] and a transformer architecture W such that for each u ∈ C k , α ( [ a , b ] ) , u in some fixed set, we have that
∑ i = 1 n ∫ [ a , t 1 ] × ⋯ × [ t n − 1 , b ] | T u i ( x 1 , … , x n ) − W u i ( x 1 , … , x n ) | p d μ 1 p < ϵ ,
where d μ is a shorthand notation for d x 1 ⋯ d x n .
We will need several lemmas before obtaining the main result.
We set X to be a Hölder space C k , α ( [ a , b ] ) (with k ≥ 1 ) of functions defined on some closed interval [ a , b ] . Let T : X ⟶ X denote an integral operator, where we assume that T is an Urysohn integral operator and that the kernel of T is a function G : R × [ a , b ] × [ a , b ] ⟶ R that is continuous with respect to all variables and is continuously differentiable with respect to the first and third variables. We let B ρ be a ball centered at the origin, with radius ρ fixed. In this article, we will consider only numerical integration schemes that are non-adaptive and that are given by continuous formulas with respect to the sampled points.
Lemma 1.
Let T and X be as above. Then, we can find an integration scheme, T , such that
∥ T ( y ) − T ( y ) ∥ ∞ < ϵ ,
for all y ∈ B ¯ ρ , where ∥ · ∥ ∞ denotes the uniform norm.
Proof. 
We denote by G : R × [ a , b ] × [ a , b ] ⟶ R the kernel of the integral operator T. Therefore,
T ( y ) ( x ) = ∫ a b G ( y ( t ) , x , t ) d t ,
for all x ∈ [ a , b ] . For y ∈ B ¯ ρ , from ∥ y ∥ ≤ ρ , it follows that sup [ a , b ] | y ( x ) | ≤ ρ . Therefore, G ( y ( t ) , x , t ) takes values y ( t ) in [ − ρ , ρ ] . Let M 1 denote the value
M 1 : = max [ − ρ , ρ ] × [ a , b ] × [ a , b ] | ∂ y G ( y ( t ) , x , t ) | ,
and let
M 2 : = max [ − ρ , ρ ] × [ a , b ] × [ a , b ] | ∂ t G ( y ( t ) , x , t ) | .
Let us choose a quadrature rule with n points { q i } i = 1 n selected from [ a , b ] to approximate the integral operator T. We indicate the quadrature by T : T ( y ) ( x ) = ∫ a b G ( y ( t ) , x , t ) d t ≈ ∑ i = 1 n G ( y ( q i ) , x , q i ) w i = : T ( y ) ( x ) , where the coefficients w i are the weights of the quadrature, and G ( y ( q i ) , x , q i ) is continuous with respect to x. Also, G ( y ( t ) , x , t ) is differentiable with respect to the variable t of an integration with a derivative given by
d G ( y ( t ) , x , t ) d t = ∂ t G ( y ( t ) , x , t ) + ∂ y G ( y ( t ) , x , t ) · y ′ ( t ) ,
for any chosen y ∈ B ¯ ρ . For the sake of simplicity, we use the forward rectangle method in what follows, but a similar procedure (upon suitably changing the error bounds and assuming that the index k of the Hölder space is large enough) can be performed for different integration rules, such as the Midpoint, Trapezoidal, corrected Trapezoidal, Cavalieri–Simpson, Boole, etc. It is known that the error in performing the numerical integration of ∫ a b g ( t ) d t is bounded by ( b − a ) 2 2 n sup [ a , b ] | g ′ ( t ) | [30]. Therefore, for each fixed x 0 ∈ [ a , b ] , we have the bound
| T ( y ) ( x 0 ) − T ( y ) ( x 0 ) | ≤ ( b − a ) 2 2 n sup [ a , b ] | ∂ t G ( y ( t ) , x 0 , t ) + ∂ y G ( y ( t ) , x 0 , t ) · y ′ ( t ) | ≤ ( b − a ) 2 2 n [ sup [ a , b ] | ∂ t G ( y ( t ) , x 0 , t ) | + sup [ a , b ] | ∂ y G ( y ( t ) , x 0 , t ) · y ′ ( t ) | ] ≤ ( b − a ) 2 2 n ( M 1 ρ + M 2 ) ,
from which we derive | T ( y ) ( x ) − T ( y ) ( x ) | ≤ ( b − a ) 2 2 n ( M 1 ρ + M 2 ) for all y ∈ B ¯ ρ and all x ∈ [ a , b ] . Upon choosing n > ( b − a ) 2 M 1 ρ + M 2 2 ϵ , we find that ∥ T ( y ) − T ( y ) ∥ ∞ < ϵ uniformly in B ¯ ρ . □
A variation in the following argument appears also in [4,5]. We provide here a more formal approach. Before stating and proving the result, we pose the following definition.
Definition 1.
Let σ denote a permutation of n elements, i.e., σ ∈ Σ n , where Σ n is the permutation group on n elements. Then, σ acts on the tuples of type ( z 1 , … , z n , x 1 , … , x n ) ∈ R 2 n through the induced diagonal permutation representation, which just reorders the entries z 1 , … , z n and x 1 , … , x n according to the permutation σ , as follows:
( z 1 , … , z n , x 1 , … , x n ) · 1 σ : = ( z σ ( 1 ) , … , z σ ( n ) , x σ ( 1 ) , … , x σ ( n ) ) .
We indicate by · 2 the permutation action of Σ n on n-tuples as
x 1 ⋮ x n · 2 σ = x σ ( 1 ) ⋮ x σ ( n ) .
We will also denote by · 2 the permutation action on tuples such as ( x 1 , … , x n ) to shorten the notation.
Lemma 2.
The integration scheme from Lemma 1 induces a continuous function F : R n × [ a , b ] n ⟶ R n . Moreover, F is equivariant with respect to the actions defined in Definition 1.
Proof. 
We set F i ( z 1 , … , z n , x 1 , … , x n ) : = ∑ k = 1 n G ( z k , x i , t k ) w k for each i = 1 , … , n , where the points t 1 , … , t n are determined by the integration scheme defined in Lemma 1. We can therefore define F as the column vector [ F i ] i = 1 n and as a function of the tuple ( z 1 , … , z n , x 1 , … , x n ) . Since each function F i is continuous with respect to its entries z k and x i , it follows that the function F is also continuous.
To show that the function F just defined is permutation-equivariant, using the same notations introduced above, we compute
F ( ( z 1 , … , z n , x 1 , … , x n ) · 1 σ ) = F ( z σ ( 1 ) , … , z σ ( n ) , x σ ( 1 ) , … , x σ ( n ) ) = F σ ( 1 ) ( z σ ( 1 ) , … , z σ ( n ) , x 1 , … , x n ) ⋮ F σ ( n ) ( z σ ( 1 ) , … , z σ ( n ) , x 1 , … , x n ) = ∑ k = 1 n G ( z σ ( k ) , x σ ( 1 ) , t σ ( k ) ) w σ ( k ) ⋮ ∑ k = 1 n G ( z σ ( k ) , x σ ( n ) , t σ ( k ) ) w σ ( k ) = ∑ k = 1 n G ( z k , x σ ( 1 ) , t k ) w k ⋮ ∑ k = 1 n G ( z k , x σ ( n ) , t k ) w k = F σ ( 1 ) ( z 1 , … , z n , x 1 , … , x n ) ⋮ F σ ( n ) ( z 1 , … , z n , x 1 , … , x n ) = F ( z 1 , … , z n , x 1 , … , x n ) · 2 σ .
This shows that F is equivariant with respect to the actions. □
In fact, we will only need a subcase of the previous lemma. We formulate this in the following result.
Lemma 3.
For any choice of function y in the Hölder space C k , α ( [ a , b ] ) , the integration scheme from Lemma 1 induces a permutation-equivariant continuous function F y : [ a , b ] n ⟶ R n .
Proof. 
For a fixed y ∈ C k , α ( [ a , b ] ) , the function F constructed in Lemma 2 will have the first n entries only depending on t i , since they are obtained by evaluating y at the points t i , for i = 1 , … , n . The points t i , however, are determined by the integration scheme and are therefore fixed. This induces a function F y : [ a , b ] n ⟶ R n , which is continuous. To show that the map F y is permutation-equivariant with respect to the · 2 action, we use the equivariance of F proved in Lemma 2 in the following way. First, observe that F is independent of any permutation with respect to the first n coordinates, since they are all summed together. The diagonal permutation action σ on the entries of F ( y 1 , … , y n , x 1 , … , x n ) is the same as the action of σ on the entries of F y ( x 1 , … , x n ) for y 1 , … , y n , fixed as y r = y ( t r ) . Therefore, the equivariance of Lemma 2 completes the proof. □
Recall the following notation conventions, which will be used in the subsequent results. For a function f : R n ⟶ R m , we indicate by f i ( x 1 , … , x n ) the i th entry of the vector f ( x 1 , … , x n ) . Following Lemma 2, we also define the function F, whose i th component is given by F i ( z 1 , … , z n , x 1 , … , x n ) : = ∑ k = 1 n G ( z k , x i , t k ) w k for each i = 1 , … , n , and F y is induced from F as in Lemma 3. We notice that F y gives an approximation of T i ( y ) by construction.
Lemma 4.
Let y be in the ball B ¯ ρ of radius ρ in the Hölder space C k , α ( [ a , b ] ) . Then, for any choice of ϵ > 0 , we can find a transformer W y : R n ⟶ R n such that
∑ i = 1 n ∫ [ a , t 1 ] × … × [ t n − 1 , b ] | F y i ( x 1 , … , x n ) − W y i ( x 1 , … , x n ) | p d μ 1 p < ϵ .
Over a compact K ⊂ C k , α ( [ a , b ] ) , this approximation can be conducted uniformly in y with a generalized transformer W , as follows:
∑ i = 1 n ∫ [ a , t 1 ] × ⋯ × [ t n − 1 , b ] | F y i ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p d μ 1 p < ϵ .
Proof. 
Applying Lemma 3, for any choice of y ∈ B ¯ ρ , T induces a continuous and permutation-equivariant map F y : [ a , b ] n ⟶ R n . Applying Theorem 2 of [16] to the permutation-equivariant map F y , we can find a transformer architecture W y , which depends on the given y, such that ∥ F y − W y ∥ p < ϵ . Then, we have the following:
∥ F y − W y ∥ p = ∑ i = 1 n ∫ [ a , b ] n | F y i ( x 1 , … , x n ) − W y i ( x 1 , … , x n ) | p d μ 1 p ≥ ∑ i = 1 n ∫ [ a , t 1 ] × … × [ t n − 1 , b ] | F y i ( x 1 , … , x n ) − W y i ( x 1 , … , x n ) | p d μ 1 p .
We therefore obtain
∑ i = 1 n ∫ [ a , t 1 ] × … × [ t n − 1 , b ] | F y i ( x 1 , … , x n ) − W y i ( x 1 , … , x n ) | p d μ 1 p < ϵ .
For the second part of the statement, suppose that K is compact. Then, by the boundedness of the compacts, there exists a ball B ρ of radius ρ > 0 that contains K . For any choice of y ∈ K ⊂ B ¯ ρ , we know from the first part of the lemma that T ( y ) is approximated arbitrarily well by some transformer W y .
Observe that T ( y ) depends continuously on y by construction (see Lemma 1). Moreover, as discussed in Lemma 1, in B ¯ ρ , the ranges of the functions y are contained in [ − ρ , ρ ] . Using the Heine–Cantor Theorem for G over the interval [ − ρ , ρ ] and the definition of F y (given in Lemma 2) induced by T ( y ) , we can see that upon choosing an r > 0 value that is small enough for any y , z such that ∥ y − z ∥ k , α < r , we have the inequality
∑ i ∫ [ a , t 1 ] × ⋯ × [ t n − 1 , b ] | F y i ( x 1 … , x n ) − F z i ( x 1 , … , x n ) | p d μ 1 p < ϵ 2 .
We choose an r-net for the compact K consisting of finitely many points y 1 , … , y n , with corresponding balls B j with radii less than r. For each y j , we find a transformer W j such that
∑ i = 1 n ∫ [ a , t 1 ] × ⋯ × [ t n − 1 , b ] | F j i ( x 1 , … , x n ) − W j i ( x 1 , … , x n ) | p d μ 1 p < ϵ 2 ,
where we use j in the subscript of F i instead of y j for simplicity. There exists a partition of unity { η k } subordinate to the covering { B k } . We use such partition of unity to define a transformer W as a combination of the W k as
W ( y ) = ∑ k η k ( y ) W k .
For any y in K , making use of Jensen’s inequality, we have
∑ i = 1 n ∫ Ω | F y i ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p d μ   = ∑ i = 1 n ∫ Ω | ∑ k η k ( y ) F y i ( x 1 , … , x n ) − ∑ k η k ( y ) W k i ( x 1 , … , x n ) | p d μ   ≤ ∑ i = 1 n ∑ k η k ( y ) ∫ Ω | F y i ( x 1 , … , x n ) − W k i ( x 1 , … , x n ) | p d μ   ≤ ∑ i = 1 n [ 2 p − 1 ∑ k η k ( y ) ∫ Ω | F y i ( x 1 , … , x n ) − F k i ( x 1 , … , x n ) | p d μ     + 2 p − 1 ∑ k η k ( y ) ∫ Ω | F k i ( x 1 , … , x n ) − W k i ( x 1 , … , x n ) | p d μ ]   = 2 p − 1 ∑ k η k ( y ) ∑ i = 1 n ∫ Ω | F y i ( x 1 , … , x n ) − F k i ( x 1 , … , x n ) | p d μ     + 2 p − 1 ∑ k η k ( y ) ∑ i = 1 n ∫ Ω | F k i ( x 1 , … , x n ) − W k i ( x 1 , … , x n ) | p d μ   < 2 p − 1 ∑ k η k ( y ) ϵ p 2 p + 2 p − 1 ∑ k η k ( y ) ϵ p 2 p   = ϵ p 2 + ϵ p 2   = ϵ p ,
where Ω = [ a , t 1 ] × … × [ t n − 1 , b ] . Taking p-roots, we complete the proof. □
We consider the same class of maps as in the discussion preceding Lemma 1. Namely, we let T : X ⟶ X denote an Urysohn integral operator, such that the kernel of T is a function G : R × [ a , b ] × [ a , b ] ⟶ R that is continuous with respect to all variables and is continuously differentiable with respect to the first and third variables. We are now in a position to prove the main result of this article.
Theorem 1.
Let T : C k , α ( [ a , b ] ) ⟶ C k , α ( [ a , b ] ) be an integral operator as above, and let K ⊂ C k , α ( [ a , b ] ) be a compact set. Then, for any ϵ > 0 and every choice of p ≥ 1 , there exists a generalized transformer architecture W and a discretization of [ a , b ] (which depend on K , ϵ and p) such that
∑ i ∫ Ω | T i ( y ) ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p 1 p < ϵ ,
for every y ∈ K , where Ω = [ a , t 1 ] × ⋯ × [ t n − 1 , b ] is determined by the discretization of [ a , b ] .
Proof. 
Without loss of generality, we set [ a , b ] = [ 0 , 1 ] . We let B ¯ ρ denote a ball containing K . Applying Lemma 1, we find an integration scheme T such that
∥ T ( y ) − T ( y ) ∥ ∞ < ϵ 2 ,
with some discretization 0 = t 1 , … , t n = 1 . We can assume that the discretization is uniform, with subintervals of length 1 n , since we can otherwise pass to a finer partition with this property, with T still satisfying the previous estimate. Using Lemma 3, we find that T induces a continuous permutation-equivariant map, which we still denote by T by an abuse of notation. We apply Lemma 4 as follows. Over the compact K , there exists a generalized transformer W such that
∑ i = 1 n ∫ Ω | T i ( y ) ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p d μ 1 p < ϵ 2 ,
where we have set again for simplicity Ω = [ 0 , t 1 ] × ⋯ × [ t n − 1 , 1 ] to shorten notation, where t i are the points of the aforementioned discretization.
Therefore, we have
∑ i ∫ Ω | T i ( y ) ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p d μ   ≤ ∑ i = 1 n 2 p − 1 ∫ Ω | T i ( y ) ( x 1 , … , x n ) − T i ( y ) ( x 1 , … , x n ) | p d μ     + ∑ i = 1 n 2 p − 1 ∫ Ω | T i ( y ) ( x 1 , … , x n ) − W i ( y ) ( x 1 , … , x n ) | p d μ   < ∑ i = 1 n ( 2 p − 1 ϵ p 2 p n n + 2 p − 1 ϵ p 2 p n n )   ≤ ϵ p 2 + ϵ p 2   = ϵ p
for all y in K . Taking p-roots completes the proof. □
Remark 1.
We note that no special property in the proofs above is used regarding the architecture of the transformer, except the fact that transformers can approximate equivariant sequence-to-sequence maps in the norm (1) with arbitrary accuracy. As a consequence, the approach of this article can be used to show that any universal approximator of equivariant sequence-to-sequence mappings can be used to approximate integral operators in Hölder space with arbitrary precision. Our main focus on transformers only stems from the fact that they are widely used in the study of operator learning problems.
Remark 2.
The approximation result of Theorem 1 refers to a p-norm that is an average over the points where the tokens for the transformer can be sampled. While the error “on average” is small, for the learned operator, this does not mean that certain choices of values cannot incur a significant spike in the error. This type of behavior has in fact been observed concretely in [31], where such error spikes were avoided by training the transformer model in a Sobolev space that functioned for regularization.
The construction of the partition of unity over a compact subset of a normed space can be achieved via the same procedure that produces Leray–Schauder mappings, and it is therefore implementable numerically in practice. In fact, by fixing ϵ > 0 , we can cover a compact via finitely many balls centered at functions f i . With μ i defined as in (2), setting η i ( x ) = μ i ( x ) ∑ i μ j ( x ) then gives a partition of unity subordinate to the initial covering. The functions f i used to cover the dataset space can be learned by approximating them via neural networks.
Example 1.
Here, we provide a discussion regarding possible applications of Theorem 1, along with some classes of problems that can be treated with these methods. A detailed study related to these considerations would be desirable.
Let K be a compact subset of C k , α ( [ a , b ] ) . The metric entropy, or Kolmogorov ε-entropy, measures the number of balls of radius ε > 0 needed to cover K . Therefore, we can estimate the number of functions in the partitions of unity used in the proofs based on the metric properties of K and the chosen accuracy. Once the partitions of unity have been fixed, we can approximate the target operator by a combination of paritions of unity and sequence-to-sequence maps through the discretization of the integration space, as in the proof of Theorem 1 and its preliminary lemmas. The results and methods of [17] give some asymptotic estimates on the parameters needed to approximate sequence-to-sequence functions, and therefore, combining the two approaches, it is possible to attempt an a priori study of the size of the architectures and number of transformers needed to approximate a target operator.
Classes of examples of problems that are studied via integral operators of the Urysohn type with sufficiently smooth kernels are nonlocal problems such as, for example, the Amari [32,33] and Wilson–Cowan [34] models in computational neuroscience. These models give rise to continuous maps between Hölder spaces [35] due to the regularity of the Urysohn kernels. Therefore, it is in principle possible to estimate, via the procedure described above, the size of the transformer architectures needed to approximate the operators on given compact subsets of C k , α ( [ a , b ] ) . More generally, we expect that a similar approach can be applied to problems described via Volterra and Fredholm integral equations, or PDEs with sufficiently regular nonlocal interactions.
While this is not the main scope of this article, we provide another universal approximation result for transformer architectures that implement a Leray–Schauder mapping, similar to [36]. For this purpose, we define a Leray–Schauder transformer to consist of a Leray–Schauder mapping composed of either a traditional transformer architecture with positional encoding as in [16,23] or the formulation of attention found in [15]. Let P and P ′ denote two Leray–Schauder mappings P : U ⟶ X and P ′ : U ′ ⟶ Y , where U and U ′ are open sets containing two given compacts K and K ′ . Then, P ( K ) and P ′ ( K ′ ) both the span finite dimensional subspaces E and E ′ of X and Y, respectively, by construction. We let φ and φ ′ denote two linear homeomorphisms φ : E ⟶ R n and φ ′ : E ′ ⟶ R m , where we set dim E = n and dim E ′ = m . Let us indicate by W a transformer architecture as in [15] or [16,23], where W : R n ⟶ R m . Then, a Leray–Schauder transformer T is defined by the composition φ ′ − 1 W φ P : U ⊂ X ⟶ E ′ ⊂ Y .
Then, we have the following result.
Theorem 2.
Let T : X ⟶ Y be an operator between Banach spaces, and let K ⊂ X be a compact set. Then, by fixing ϵ > 0 arbitrarily, there exists a Leray–Schauder transformer T that approximates T with precision ϵ on K , as follows:
∥ T ( x ) − T ( x ) ∥ Y < ϵ ,
for all x ∈ K .
Proof. 
The proof consists of an application of the results in [15,37]. As shown in Theorem 2.2 in [37], we can assume without loss of generality that T is uniformly continuous on a neighborhood V of K , upon possibly replacing it by an approximation of T. Then, we can proceed as in the proof of Theorem 2.1 in [37] as follows. Since K is compact, we can construct a Leray–Schauder mapping P : U ⟶ X defined and continuous in an open neighborhood U ⊆ V of K , such that ∥ x − P ( x ) ∥ X < δ , where δ > 0 is chosen in such a way that ∥ T ( z 1 ) − T ( z 2 ) ∥ Y < ϵ 3 whenever ∥ z 1 − z 2 ∥ X < δ . From the construction of P, one sees also that P ( K ) ⊂ U . Moreover, the image of P spans a finite dimensional subspace E of X, which is linearly homeomorphic to R n for some n via a linear map φ : E ⟶ R n .
Similarly, we can construct another Leray–Schauder mapping P ′ on the compact T ( P ( K ) ) , such that ∥ y − P ′ ( y ) ∥ Y < ϵ 3 for each y ∈ T ( P ( K ) ) . Moreover, P ′ can be continuously extended to the whole space Y. The image P ′ ( T ( P ( K ) ) ) is a finite dimensional subspace E ′ of Y that is linearly homeomorphic to R m for some m via φ ′ : E ′ ⟶ R m .
The map T induces a continuous mapping T n , m : R n ⟶ R m that can be approximated in the uniform norm over the compact φ ( P ( K ) ) ⊂ R n by applying Corollary 3 in [15] or Theorem 1 in [23] (in conjunction with the traditional universal approximation results of functions by convolutional neural networks). In other words, we can approximate T n , m with arbitrary precision in the uniform norm with a polynomial-transformer architecture without positional encoding, as in [15], or with a traditional transformer architecture with positional encoding, as in [23]. Then, as in [37], we can show that the estimate ∥ T ( x ) − T ( x ) ∥ Y ≤ ∥ T ( x ) − T P ( x ) ∥ Y + ∥ T P ( x ) − P ′ T P ( x ) ∥ Y + ∥ P ′ T P ( x ) − T ( x ) ∥ Y < ϵ 3 + ϵ 3 + ϵ 3 = ϵ , where T = φ ′ − 1 W φ P : U ⊂ X ⟶ E ′ ⊂ Y .
□
We notice that the result of Theorem 2 gives a more general version of the results in [19], since their result is applicable to the case where X has the approximation property, a restriction that is not required in the present work. Here, the Leray–Schauder mappings play the role of the encoder used in [19].
To better elucidate the differences between Theorem 2 and the approximation results of [19], we provide a more detailed comparison.
(i)
The spaces X and Y in [19] are function spaces, defined over a compact subset of R n , while in our case’s X and Y can be arbitrary Banach spaces.
(ii)
While X and Y in [19] are required to possess the approximation property, this is not needed in Theorem 2.
(iii)
No decoder is used in the present work, while the approximation found in [19] uses a decoder.
(iv)
The role of the encoder in [19] is played in Theorem 2 by the the Leray–Schauder mappings, which are explicitly and analytically defined (see Section 2).

4. Universal Approximation of Operators by Neural Integral Operators

In this section, we consider the universal approximation property of operators in Banach spaces, where the approximator is constructed through a neural integral operator in a suitable generalized sense.
Theorem 3.
Let X and Y be Banach spaces, let T : X ⟶ Y be an operator that is twice continuously Fréchet differentiable, and let K ⊂ X be a compact subset of X. For any ϵ > 0 , there exists an integral operator U : X ⟶ Y such that
∥ T ( x ) − U ( x ) ∥ Y < ϵ ,
for all x ∈ K .
Proof. 
We use the Taylor expansion for nonlinear operators found in Chapter 17 of Kantorovich–Akilov [27], where integration is intended as a Riemann integral over a Banach space as in [26]. See also [38,39]. Recall ([26,27]) that for R : [ x 0 , x ¯ ] ⊂ X → B ( X , Y ) , where B ( X , Y ) denotes the space of bounded linear operators from X to Y, the integral of R is defined (when it is well defined, e.g., when R is continuous) as
∫ x 0 x 0 + Δ x R ( x ) d x = ∫ 0 1 R ( x 0 + t Δ x ) Δ x d t = lim n → ∞ ∑ k = 0 n − 1 R ( x 0 + τ k Δ x ) Δ x ( t k + 1 − t k ) ,
where τ k ∈ [ t k , t k + 1 ] for all k. For a choice of x 0 ∈ K and for any x ¯ ∈ X such that T is twice continuously Fréchet differentiable over the interval [ x 0 , x ¯ ] (i.e., the set of vectors t x ¯ + ( 1 − t ) x 0 with t ∈ [ 0 , 1 ] ), we can write (Taylor’s Theorem at degree 2)
T ( x ¯ ) = T ( x 0 ) + T ′ ( x 0 ) ( x ¯ − x 0 ) + ∫ x 0 x ¯ T ′ ′ ( x ) ( x ¯ − x , · ) d x ,
where · is a placeholder for the entry of the bounded linear operator integrand. Since T ′ ′ is continuous, for each point x ∈ X , we can find a δ x ′ > 0 such that ∥ T ′ ′ ( z ) − T ′ ′ ( x ) ∥ B 2 ( X , Y ) < ϵ whenever ∥ z − x ∥ X < δ x ′ , where B 2 ( X , Y ) denotes the space of bounded bilinear maps from X to Y with the norm given by ∥ A ∥ = sup ∥ h ∥ X ≤ 1 , ∥ k ∥ X ≤ 1 ∥ A ( h , k ) ∥ Y . Then, for each x, define δ x = min { δ x ′ , 1 } . Since K is compact, we can cover it with finitely many balls B ( x i , δ i ) , with i = 1 , … , n , where δ i is a shortened notation for δ x i . We set A ( t ) ( · ) : = ( T ′ ′ ( x ( t ) ) − T ′ ′ ( x i ) ) ( ( 1 − t ) h , · ) , with x ( t ) = ( 1 − t ) h + x i , and we again use · to indicate where the input of the linear operator A ( t ) for each t ∈ [ 0 , 1 ] is inserted. In correspondence with the balls B ( x i , δ i ) , we define
T i ( x ¯ ) = T ( x i ) + T ′ ( x i ) ( x ¯ − x i ) + ∫ x i x ¯ T ′ ′ ( x i ) ( x ¯ − x , · ) d x .
Then, for any x ∈ B ( x i , δ i ) , with h = x − x i and the parameterized interval [ x i , x ] ⊂ X given by x ( t ) = ( 1 − t ) h + x i , one has
∥ ∫ 0 1 A ( t ) d t ∥ Y ≤ ∫ 0 1 ∥ A ( t ) ∥ Y d t ≤ ∫ 0 1 ( 1 − t ) ∥ h ∥ X 2 ∥ T ′ ′ ( x ( t ) ) − T ′ ′ ( x i ) ∥ B 2 ( X , Y ) d t < ϵ .
Therefore, for each x ∈ B ( x i , δ i ) , we have
∥ T ( x ) − T i ( x ) ∥ Y = ∥ T ( x i ) + T ′ ( x i ) ( x ¯ − x i ) + ∫ x i x T ′ ′ ( z ) ( x − z , · ) d z − T ( x i ) − T ′ ( x i ) ( x ¯ − x i ) − ∫ x i x T ′ ′ ( x i ) ( x − z , · ) d z ∥ Y = ∥ ∫ x i x ( T ′ ′ ( z ) − T ′ ′ ( x i ) ) ( x − z , · ) d z ∥ Y = ∥ ∫ 0 1 ( 1 − t ) ( T ′ ′ ( ( 1 − t ) h + x i ) ) ( h , h ) d t ∥ Y = ∥ ∫ 0 1 A ( t ) d t ∥ Y < ϵ .
The space X is Hausdorff and paracompact, and we can therefore find a partition of unity { η j } j = 1 n ∪ { η ∞ } subordinate to the open cover { B ( x i , δ i ) } i = 1 n ⋃ { X − K } —see [40]—where we use the notation η ∞ to denote the element of the partition with support contained in X − K . We now define the operator U : X ⟶ Y by patching together the operators T i : X ⟶ Y . In fact, for any x ∈ X , we set
U ( x ) = ∑ i = 1 n η i ( x ) T i ( x ) + η ∞ ( x ) y ∞ ,
where y ∞ is arbitrarily chosen. For any x ∈ K , there exist i 1 , … , i d ≠ ∞ such that x ∈ B ( x i , δ i ) for i = i 1 , … , i d and ∑ i = i 1 , … , i d η i ( x ) = 1 , while η i ( x ) = 0 for all i ≠ i 1 , … , i d . Then, we have
∥ T ( x ) − U ( x ) ∥ = ∥ ∑ i η i ( x ) T ( x ) − ∑ i η i ( x ) T i ( x ) ∥ = ∥ ∑ i = i 1 , … , i d η i ( x ) T ( x ) − ∑ i = i 1 , … , i d η i ( x ) T i ( x ) ∥ ≤ ∑ i = i 1 , … , i d η i ( x ) ∥ T ( x ) − T i ( x ) ∥ < ∑ i = i 1 , … , i d η i ( x ) ϵ = ϵ ,
This completes the proof. □
In the following, by the Gavuring neural integral operator T ( x ) , we mean the class of neural network architectures defined in Section 2.3.
Theorem 4.
Let T : X ⟶ Y and K be as in Theorem 3. Then, for any choice of ϵ > 0 , there exists a Gavurin neural integral operator T such that
∥ T ( x ) − T ( x ) ∥ Y < ϵ ,
for any x ∈ K .
Proof. 
We apply Theorem 3 to approximate T via an integral operator U, where
U ( y ) = ∑ k η k ( y ) T ( y k ) + ∑ k η k ( y ) T ′ ( y k ) ( y − y k )                                                             + ∑ k η k ( y ) ∫ 0 1 T ′ ′ ( y k ) ( ( 1 − t ) ( y − y k ) , y − y k ) d t ,
in such a way that ∥ T ( y ) − U ( y ) ∥ Y < ϵ 2 , where y k are finitely many elements of K , as in the proof of Theorem 3.
Let us consider the integral part of the operator U, namely
A ( y ) = ∑ k η k ( y ) ∫ 0 1 T ′ ′ ( y k ) ( ( 1 − t ) ( y − y k ) , y − y k ) d t = ∑ k η k ( y ) A k ( y ) ,
where we set A k ( y ) : = ∫ 0 1 K k ( t , y ) d t , with K k ( t , y ) : = T ′ ′ ( y k ) ( ( 1 − t ) ( y − y k ) , y − y k ) . We have that K k is continuous with respect to t and y, and therefore uniformly continuous on [ 0 , 1 ] × K . We select δ > 0 such that ∥ K k ( t 1 , y 1 ) − K k ( t 2 , y 2 ) ∥ Y < ϵ 2 whenever | t 1 − t 2 | < δ and ∥ y 1 − y 2 ∥ X < δ , with t 1 , t 2 ∈ [ 0 , 1 ] and y 1 , y 2 ∈ K . Given this choice of δ , we select a partition of points 0 = t 0 , t 1 , … , t d − 1 , t d = 1 such that | t i − t i + 1 | < δ for all i = 0 , 1 , … , d − 1 . Using Theorem 2.1 in [37], we can find a neural network K ^ i j , consisting of Leray–Schauder mappings and a deep neural network, such that ∥ K i ( t j ) ( y ) − K ^ i j ( y ) ∥ Y < ϵ 2 for all y ∈ K . Let us now consider the open covering of [ 0 , 1 ] with B δ ( t j ) open balls centered at t j , with j = 0 , … , d , and radius δ . Let α k denote a partition of unity subordinate to { B δ ( t j ) } . One can directly verify that the operator K ^ i ( t ) : = ∑ k α k ( t ) K ^ i k satisfies the property that ∥ K i ( t ) ( y ) − K ^ i ( t ) ( y ) ∥ Y < ϵ 2 whenever y is in K . Since this construction can be performed for each i, it follows that the integral part of the operator U can be approximated by an integral operator with a kernel consisting of Leray–Schauder mappings and (deep) neural networks.
Another application of Theorem 2.1 in [37] allows us to approximate ∑ k η k ( y ) T ′ ( y k ) ( y − y k ) with a deep neural network (and Leray–Schauder mappings) with precision ϵ 2 over K . Putting both approximations together completes the proof. □

5. Further Perspectives

We conclude this article with some observations for further investigation.
We would like to mention that the results of Theorem 1 approximate integral operators between Hölder spaces, where the need for Hölder norms arises from the use of numerical quadrature to approximate integrals. Therefore, one might ask under what conditions transformers are universal approximators of integral operators between L p spaces. This question is yet to be answered.
Theorem 2 gives an approximation result for transformers in complete generality—note that it refers to general Banach spaces, rather than some specific Banach space of functions. Once a norm is fixed, the Leray–Schauder mapping has an explicit form that is analytical, and therefore, it seems that the new architecture is completely transparent. In general, however, it is useful to learn the Leray–Schauder mappings as well to increase the applicability of the model. This is done, for example, in [36], where the resulting model is tested (in the L p -space) on some integral equations and PDEs. The theoretical guarantees are also studied. It would be interesting to investigate extensions of these results in relation to the work in this article. The main difficulty in extending the present work to the case of L p -spaces, for example, is that there is no bound on the derivatives that can control the error associated to an integration scheme. Therefore, an analogous version of Lemma 1 would fail. It is possible to attempt similar approaches in the Sobolev spaces, as cubature formulas can control the integration errors. However, we will leave this interesting line of work to future research.
Lastly, the results of Section 4 show that mappings between general Banach spaces can be approximated through a generalized version of the neural integral operator based on the Gavurin integral. While this is an interesting theoretical development, it is still unclear whether removing the use of the Gavurin integral would still allow for such a general approximation result.

Author Contributions

E.Z. conceived the idea and initiated the project. E.Z. and M.B. jointly developed the proofs and wrote the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author(s).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chen, T.; Chen, H. Universal approximation to nonlinear operators by neural networks with arbitrary activation functions and its application to dynamical systems. IEEE Trans. Neural Netw. 1995, 6, 911–917. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Lu, L.; Jin, P.; Pang, G.; Zhang, Z.; Karniadakis, G.E. Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators. Nat. Mach. Intell. 2021, 3, 218–229. [Google Scholar] [CrossRef] [Scilit]
  3. Zappala, E.; Fonseca, A.H.d.O.; Moberly, A.H.; Higley, M.J.; Abdallah, C.; Cardin, J.A.; van Dijk, D. Neural integro-differential equations. In Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023; Volume 37, pp. 11104–11112. [Google Scholar]
  4. Zappala, E.; Fonseca, A.H.d.O.; Caro, J.O.; Moberly, A.H.; Higley, M.J.; Cardin, J.; Dijk, D.V. Learning integral operators via neural integral equations. Nat. Mach. Intell. 2024, 6, 1046–1062. [Google Scholar] [CrossRef] [Scilit]
  5. Zappala, E.; Fonseca, A.H.d.O.; Caro, J.O.; van Dijk, D. Neural Integral Equations. arXiv 2022, arXiv:2209.15190. [Google Scholar]
  6. Torlai, G.; Mazzola, G.; Carrasquilla, J.; Troyer, M.; Melko, R.; Carleo, G. Neural-network quantum state tomography. Nat. Phys. 2018, 14, 447–450. [Google Scholar] [CrossRef] [Scilit]
  7. Mitarai, K.; Negoro, M.; Kitagawa, M.; Fujii, K. Quantum circuit learning. Phys. Rev. A 2018, 98, 032309. [Google Scholar] [CrossRef] [Scilit]
  8. Hwang, R.; Lee, J.Y.; Shin, J.Y.; Hwang, H.J. Solving PDE-Constrained Control Problems Using Operator Learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Online Conference, 22 February–1 March 2022; Volume 36, pp. 4504–4512. [Google Scholar] [CrossRef] [Scilit]
  9. Li, Z.; Zheng, H.; Kovachki, N.; Jin, D.; Chen, H.; Liu, B.; Azizzadenesheli, K.; Anandkumar, A. Physics-Informed Neural Operator for Learning Partial Differential Equations. ACM/IMS J. Data Sci. 2024, 1, 1–27. [Google Scholar] [CrossRef] [Scilit]
  10. Hashimoto, K.; Hu, H.Y.; You, Y.Z. Neural ordinary differential equation and holographic quantum chromodynamics. Mach. Learn. Sci. Technol. 2021, 2, 035011. [Google Scholar] [CrossRef] [Scilit]
  11. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems 30, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  12. Guo, R.; Cao, S. Transformer Meets Boundary Value Inverse Problem. In Proceedings of the International Conference on Learning Representations, Kigali, Rwanda, 1–5 May 2023. [Google Scholar]
  13. Geneva, N.; Zabaras, N. Transformers for modeling physical systems. Neural Netw. 2022, 146, 272–289. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Cao, S. Choose a transformer: Fourier or galerkin. Adv. Neural Inf. Process. Syst. 2021, 34, 24924–24940. [Google Scholar]
  15. Fang, Z.; Ouyang, Y.; Zhou, D.X.; Cheng, G. Attention enables zero approximation error. arXiv 2022, arXiv:2202.12166. [Google Scholar]
  16. Yun, C.; Bhojanapalli, S.; Rawat, A.S.; Reddi, S.J.; Kumar, S. Are transformers universal approximators of sequence-to-sequence functions? In Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia, 26–30 April 2020. [Google Scholar]
  17. Takakura, S.; Suzuki, T. Approximation and estimation ability of transformers for sequence-to-sequence functions with infinite dimensional input. In Proceedings of the International Conference on Machine Learning, Honolulu, HI, USA, 23–29 July 2023; pp. 33416–33447. [Google Scholar]
  18. Jiao, Y.; Lai, Y.; Sun, D.; Wang, Y.; Yan, B. Approximation bounds for transformer networks with application to regression. arXiv 2025, arXiv:2504.12175. [Google Scholar]
  19. Shih, B.; Peyvan, A.; Zhang, Z.; Karniadakis, G.E. Transformers as neural operators for solutions of differential equations with finite regularity. Comput. Methods Appl. Mech. Eng. 2025, 434, 117560. [Google Scholar] [CrossRef] [Scilit]
  20. Lanthaler, S.; Mishra, S.; Karniadakis, G.E. Error estimates for deeponets: A deep learning framework in infinite dimensions. Trans. Math. Its Appl. 2022, 6, tnac001. [Google Scholar] [CrossRef] [Scilit]
  21. Deng, B.; Shin, Y.; Lu, L.; Zhang, Z.; Karniadakis, G.E. Approximation rates of DeepONets for learning operators arising from advection–diffusion equations. Neural Netw. 2022, 153, 411–426. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Lu, L.; Jin, P.; Karniadakis, G.E. Deeponet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operators. arXiv 2019, arXiv:1910.03193. [Google Scholar]
  23. Cordonnier, J.B.; Loukas, A.; Jaggi, M. On the relationship between self-attention and convolutional layers. arXiv 2019, arXiv:1911.03584. [Google Scholar]
  24. Precup, R. Theorems of Leray-Schauder Type and Applications; CRC Press: Boca Raton, FL, USA, 2002. [Google Scholar]
  25. Krasnosel’skii, Y.P. Topological Methods in the Theory of Nonlinear Integral Equations; Pergamon Press: Oxford, UK, 1964. [Google Scholar]
  26. Gavurin, M. Über die Stieltjessche Integration abstrakter Funktionen. Fundam. Math. 1936, 27, 254–265. [Google Scholar] [CrossRef] [Scilit][Green Version]
  27. Kantorovich, L.V.; Akilov, G.P. Functional Analysis; Elsevier: Amsterdam, The Netherlands, 2016. [Google Scholar]
  28. Zaheer, M.; Kottur, S.; Ravanbakhsh, S.; Poczos, B.; Salakhutdinov, R.R.; Smola, A.J. Deep sets. In Proceedings of the Advances in Neural Information Processing Systems 30, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  29. Zhou, A.; Finn, C.; Harrison, J. Universal neural functionals. arXiv 2024, arXiv:2402.05232. [Google Scholar]
  30. Young, D.M.; Gregory, R.T. A Survey of Numerical Mathematics; Courier Corporation: Lowell, MA, USA, 1988; Volume 1. [Google Scholar]
  31. De Oliveira Fonseca, A.H.; Zappala, E.; Caro, J.O.; Van Dijk, D. Continuous spatiotemporal transformer. In Proceedings of the 40th International Conference on Machine Learning, Honolulu, HI, USA, 23–29 July 2023. ICML’23. [Google Scholar]
  32. Amari, S.I. Homogeneous nets of neuron-like elements. Biol. Cybern. 1975, 17, 211–220. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Amari, S.i. Dynamics of pattern formation in lateral-inhibition type neural fields. Biol. Cybern. 1977, 27, 77–87. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Wilson, H.R.; Cowan, J.D. A mathematical theory of the functional dynamics of cortical and thalamic nervous tissue. Kybernetik 1973, 13, 55–80. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Pötzsche, C. Urysohn and Hammerstein operators on Hölder spaces. Analysis 2022, 42, 205–240. [Google Scholar] [CrossRef] [Scilit]
  36. Zappala, E. Leray-Schauder Mappings for Operator Learning. arXiv 2024, arXiv:2410.01746. [Google Scholar]
  37. Zappala, E. Projection Methods for Operator Learning and Universal Approximation. arXiv 2024, arXiv:2406.12264. [Google Scholar]
  38. Gordon, R. Riemann integration in Banach spaces. Rocky Mt. J. Math. 1991, 21, 923–949. [Google Scholar] [CrossRef] [Scilit]
  39. Graves, L.M. Riemann integration and Taylor’s theorem in general analysis. Trans. Am. Math. Soc. 1927, 29, 163–177. [Google Scholar] [CrossRef] [Scilit]
  40. Dugundji, J. Allyn and Bacon Series in Advanced Mathematics. Topology 1966. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.