March 31, 2025
Motivated by the rapidly growing field of mathematics for operator approximation with neural networks, we present a novel universal operator approximation theorem for broad classes of encoder-decoder architectures and a wide range of input and output
spaces. In this study, we focus on the approximation of continuous operators between infinite-dimensional normed or metric spaces in the topology of uniform convergence on compact sets. Unlike standard results in the operator learning literature, we
additionally investigate the case where the approximating sequence of encoder-decoder architectures can be chosen independently of the compact sets. Taking a topological perspective, we point out that compact-set-independent approximation is a strictly
stronger property in most relevant operator learning frameworks. To establish our results, we introduce new approximation properties of input and output spaces tailored to encoder-decoder architectures. These properties enable us to prove a universal
operator approximation theorem ensuring uniform convergence on every compact subset of the input space. Our results unify and extend existing universal operator approximation theorems for various encoder-decoder architectures, including classical
DeepONets, BasisONets, MIONets, architectures based on frames and other related approaches. A notable feature of our framework is that it also applies to metric spaces beyond the normed setting. In particular, it allows the consideration of \(p\)-Wasserstein spaces of probability measures as input or output spaces, and Skorohod spaces of càdlàg functions as input spaces. This generality also opens up potential applications in optimal transport.
Keywords: Universal operator approximation, encoder-decoder architectures, DeepONets, BasisONets, MIONets, uniform convergence on compacta, approximation properties of metric spaces, Wasserstein spaces, Skorohod spaces
MSC (2020): 41A65, 68T07, 46B28, 49Q22
By convention, an operator typically refers to a possibly non-linear mapping \(G:D\subseteq \mathcal{X}\to \mathcal{Y}\) between infinite-dimensional normed spaces \(\mathcal{X}\) and \(\mathcal{Y}\). Over the past five years, using neural networks for approximating and learning such operators, particularly between function spaces, has received increasing attention. For example, operator learning has been investigated in the field of partial differential equations (PDEs) when learning parameter-to-state maps, that map the parameter function of a PDE to the corresponding solution [1]–[8]. For some review on deep learning for PDEs, covering also operator learning and its application in parameter identification problems, we refer to [9].
For approximating operators \(G\), lots of neural network architectures have been developed. One of the historical starting points has been set by T. Chen and H. Chen [10] in 1995, whose approach has been rediscovered by Lu et al. [1] and generalized to the well-known deep operator networks (DeepONets). DeepONets fall under the category of encoder-decoder architectures, i.e., they consist of three building blocks \[\begin{align} G_\theta \mathrel{\vcenter{:}}= D \circ \varphi \circ E, \end{align}\] where the encoder \(E:\mathcal{X}\to \mathbb{R}^m\) extracts finite information about the input, \(\varphi:\mathbb{R}^m\to \mathbb{R}^n\) is a neural network and the decoder \(D:\mathbb{R}^n\to \mathcal{Y}\) maps into the output space of \(G\). This is illustrated in 1. The trainable parameters \(\theta\) of \(G_\theta\) belong to \(\varphi\), but can also parameterize the encoder and decoder. For example, in case of DeepONets and suitable function spaces \(\mathcal{X}\) and \(\mathcal{Y}\), the encoder evaluates the input function at finitely many sampling points, whereas the decoder outputs a linear combination of the so-called trunk networks, see Section 5.1.1 for more details. An example in which both the encoder and decoder are represented by neural networks, are the BasisONets presented in [11]. Further encoder-decoder approaches are, e.g., Principle Component Analysis Networks (PCANets, [3]), Multi Input Operator Networks (MIONets, [12]) which uses encoders corresponding to Schauder bases in Banach spaces, Deep-H-ONets [13] using encoders and decoders based on orthonormal bases, or the approach in [14] based on Riesz bases. Usually, the considered encoders and decoders are linear, but there are a few exceptions [15], [16].
As alternatives to encoder-decoder approaches we mention here, e.g., Neural Operators (NOs, [5]), Fourier Neural Operators (FNOs, [4]), Wavelet Neural Operators (WNOs, [8]), Representation Invariant Neural Operators (ReNOs, [7], [17]), Injective Integral Neural Operators [18], Causal Neural Operators [19] or Optimal Transport Neural Operators [20]. Some overview on operator learning methods can be found in [21].
On the theoretical side, a fundamental question is which classes of operators \(G:\mathcal{X}\to \mathcal{Y}\) can be approximated by neural networks and under which topology. When both \(\mathcal{X}\) and \(\mathcal{Y}\) are finite dimensional spaces (\(\mathbb{R}^d\) or \(\mathcal{X}\) being a subset thereof) this question falls within the well-established field of function approximation, which is not the primary focus of our study. Nevertheless, extensive results exist on the approximation properties of neural networks in various function spaces, including spaces of continuously differentiable functions, Lebesgue spaces, and Sobolev spaces, see for example [22]–[27]. Regarding the field of operator approximation, so when \(\mathcal{X}\) or \(\mathcal{Y}\) are infinite-dimensional, we recap below the two most commonly studied types of approximation, where the first is the focus of our study.
Uniform convergence on compacta. Let \(G:\mathcal{X}\to \mathcal{Y}\) be a continuous operator and \(K\subseteq \mathcal{X}\) be compact. The goal is to construct a sequence of approximants \(G_n:\mathcal{X}\to \mathcal{Y}\), such as encoder-decoder architectures as described above, that converges uniformly to \(G\) on \(K\). That is, \[\begin{align} \sup_{f\in K} \big \Vert G(f) - G_n(f) \big \Vert \xrightarrow{n\to\infty} 0. \end{align}\] Universal approximation theorems have been derived for a variety of neural network architectures and choices of the spaces \(\mathcal{X}\) and \(\mathcal{Y}\). Such theorems state that every continuous operator \(G\) can be approximated uniformly on compact subsets of \(\mathcal{X}\) by approximants \(G_n\) from the corresponding architecture class, where \(G_n\) usually depends on the respective compact set. Universal approximation results have been derived for
DeepONets when \(\mathcal{X}\) and \(\mathcal{Y}\) are spaces \(\mathcal{C}(\Omega, \mathbb{R})\) of continuous real-valued functions on compact domains \(\Omega\subset \mathbb{R}^d\) [1], [10];
MIONets when \(\mathcal{X}\) is a Banach space having Schauder bases and \(\mathcal{Y}=\mathcal{C}(\Omega, \mathbb{R})\) [12];
Riesz-basis encoder-decoder networks when \(\mathcal{X}\) and \(\mathcal{Y}\) are separable Hilbert spaces [14];
FNOs when \(\mathcal{X}\) and \(\mathcal{Y}\) are Sobolev spaces \(W^{s,2}(\Omega, \mathbb{R})\) with smoothness \(s\geq 0\) [28];
NOs when \(\mathcal{X}\) and \(\mathcal{Y}\) are Sobolev spaces \(W^{s,p}(\Omega, \mathbb{R})\) (with \(1\leq p< \infty\) and \(s\geq 0\)) or spaces \(\mathcal{C}^k(\Omega, \mathbb{R})\) of continuously differentiable functions [29], [30];
Injective Integral Neural Operators when \(\mathcal{X}\) and \(\mathcal{Y}\) are Lebesgue spaces \(L^2(\Omega, \mathbb{R})\) [18];
Neural operators based on nonlinear projection operators when \(\mathcal{X}\) and \(\mathcal{Y}\) are Banach spaces [16];
Transformers when \(\mathcal{X}=\mathcal{P}(\Omega)\times \Omega\) and \(\mathcal{Y}=\mathbb{R}^k\), where \(\Omega\subseteq \mathbb{R}^d\) is compact and \(\mathcal{P}(\Omega)\) denotes the set of Borel probability measures equipped with any \(p\)-Wasserstein distance for \(p\geq 1\) [31].
Neural Filters when \(\mathcal{X}\) and \(\mathcal{Y}\) are Fréchet spaces having Schauder bases [19]. Related results when \(\mathcal{X}\) is a Fréchet space having a Schauder basis and when \(\mathcal{Y}\) is a Banach space can be found in [32].
Although approximation theorems are typically stated for spaces of \(\mathbb{R}\)-valued functions, they often naturally extend to \(\mathbb{R}^a\)-valued functions.
Approximation in Bochner spaces. Let \(\mathcal{X}\) be a measurable space, \(\mathcal{Y}\) a Banach space and \(\mu\) a probability measure on \(\mathcal{X}\). For a given operator \(G\) belonging to the Bochner space \(L^p(\mathcal{X}, \mathcal{Y}; \mu)\), one is looking for a sequence \(G_n\), being representable by neural networks, that converges to \(G\) in the Bochner norm (for suitable \(1\leq p <\infty)\), i.e., \[\begin{align} \big \Vert G - G_n\big \Vert_{L^p(\mathcal{X}, \mathcal{Y}; \mu)} = \left(\int_{\mathcal{X}} \big \Vert G(f) - G_n (f) \big \Vert^p \mathop{} \! \mathrm{d}\mu(f)\right)^{1/p} \xrightarrow{n\to\infty} 0. \end{align}\] Also for convergence in Bochner space, universal approximation theorems have been derived for different architectures, e.g., for DeepONets [33], PCANets [3], Riesz-basis encoder-decoder networks [14], FNOs [28], NOs [29], [30] or Deep-H-Onets [13].
For both types of approximation, there do not only exist universal approximation theorems, but also results on estimating the required size of the neural network to achieve a desired approximation accuracy. Typically, specific input spaces of the operator \(G\) and additional assumptions on \(G\) are required, e.g., that \(G\) arises from specific PDEs, is holomorphic, or Lipschitz/Hölder continuous, see e.g., [14], [19], [28], [33]–[36]. For more information about this important field of research we refer to the review [21], in which also the curse of dimensionality is discussed. Within this work, we restrict our attention to universal approximation results only.
There are also other types of approximating operators. For example, in [36] continuous operators \(G\) between Polish spaces \(\mathcal{X}, \mathcal{Y}\) are approximated by encoder-decoder architectures with respect to the 1-Wasserstein metric. Last but not least, in [37], dual spaces \(\mathcal{X}\) and \(\mathcal{Y}\) of separable Banach spaces were considered. If \(\mathcal{Y}\) is equipped with the (metrizable) weak\(^\ast\)-topology, a sequence of generalized ReLU-networks has been found that uniformly approximates a given operator (belonging to some variation norm space) on bounded sets. Further, approximation in Bochner spaces \(L^p(\mathcal{X}, (\mathcal{Y}, d_\ast); \mu)\) with suitable probability measures \(\mu\) was shown.
To derive universal operator approximation results, we consider the space \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) of continuous mappings between normed or metric spaces \(\mathcal{X}\) and \(\mathcal{Y}\). Throughout this work, we study approximation in the topology on \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) induced by the uniformity of uniform convergence on compact sets; see [38] for a detailed definition. With respect to this topology, there are two distinct notions of approximating any continuous operator \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) by some class \(S\) of approximators \(G_n:\mathcal{X}\to \mathcal{Y}\). These notions are illustrated in 2. In this work, we focus on \(S\) being diverse classes of encoder-decoder architectures.
\(\displaystyle \begin{tabular}{p{.535\textwidth}} \begin{enumerate}[leftmargin=0.2cm, , label=(\boldsymbol{\Alph*})] \item\) G(, ) \(\label{fig:approximation95types:40A41} \item\) G(, ) \(\label{fig:approximation95types:40B41} \end{enumerate} \end{tabular} \raisebox{-0.1cm}{{\scalebox{1.5}{\Bigg\}}}} \raisebox{-0.08cm}{\begin{aligned} \sup_{f\in K} d_\mathcal{Y}&\big(G (f)\, ,\, G_n (f)\big)\\[-0.1cm] &\xrightarrow{n\to\infty} 0. \end{aligned}}\)
Figure 2: Different types of universal operator approximation in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) by some class \(S\) of approximators..
Our main contributions to the approximation theory of encoder-decoder architectures in the topology of uniform convergence on compact sets are as follows:
Proof of statement .
In most other studies, statement in 2 is shown for \(S\) being, for example, DeepONets or (F)NOs. That is, for every compact \(K\subseteq\mathcal{X}\) one can find a sequence \((G_n)_{n\in \mathbb{N}}\) in \(S\) that converges uniformly to a given operator \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) on \(K\). However, can the sequence \(G_n\) be chosen independently of the compact set \(K\)? To the best of our knowledge, there exists only one result by Schwab et al. [14], who have shown this statement for
\(S\) being encoder-decoder networks based on Riesz bases in separable Hilbert spaces \(\mathcal{X}\) and \(\mathcal{Y}\). We show in our main 14 that statement - which is the major focus of our study - can indeed be achieved by much more diverse choices of encoder-decoder
architectures. For example, our theory also covers classical DeepONets [1], [10], [33], special cases of MIONets [12], BasisONets
[11] and Deep-H-ONets [13].
Some advantage of over is that it could simplify the derivation of approximation theorems in Bochner spaces. This is because implies pointwise convergence, allowing one to invoke the dominated convergence theorem. We leave this application in Bochner
approximation for future research.
Proof that really is stronger than .
A natural question arises: Is really a stronger statement than for metric spaces \(\mathcal{X}, \mathcal{Y}\)? In other words, is there a set \(S\) of approximators that satisfies but not ?
The answer is yes if and only if \(\mathcal{X}\) is not hemicompact. In particular, the answer is yes if the input space \(\mathcal{X}\) is any infinite-dimensional normed space, which is
typically the case for operator approximation tasks. In the case of \(\mathcal{Y}=\mathbb{R}\) and any separable, metrizable topological space \(\mathcal{X},\) this question has been
answered in [39], which easily extends to any finite dimensional \(\mathcal{Y}\). However, we could not find a result
for infinite-dimensional \(\mathcal{Y}\) within the literature. Therefore, we provide a compact proof in 3 for any metric space \(\mathcal{X}\) and normed space \(\mathcal{Y}\). Nevertheless, these topological considerations are not required
for understanding the other parts of this study.
One Theorem for many architectures and spaces.
Within the literature, approximation results are often shown individually for different operator learning architectures. This means that an approximation theorem for a certain architecture class may not directly apply to a different architecture class, see
for example 17. In contrast, we provide theorems that cover many classes of encoder-decoder architectures, as well as diverse normed and
metric input and output spaces \(\mathcal{X}\) and \(\mathcal{Y}\), at once: For approximation as in statement we provide our main 14, whereas for the weaker statement we provide 16 and 17. Applicability to well-known architectures is outlined in Section 5.1. Noteworthy, in [36] and [40] the authors proved statement , but not
(whenever \(\mathcal{X}\) is not hemicompact), for broad classes of encoder-decoder architectures and diverse metric/topological input and output spaces. Nevertheless, neither their results nor 16 are more general than the other regarding possible choices of encoders and decoders, see 13.
Identify sufficient properties of input and output spaces.
Regarding statement , our results significantly extend the existing theory for encoder-decoder architectures regarding possible input and output spaces, as well as possible encoder and decoder constructions. Regarding the theory related to statement , we
also make contributions, although the existing literature in this area is more extensive. For that, we introduce in Sections 3 and 4.1 sufficient properties of the normed
or metric input and output spaces \(\mathcal{X}\) and \(\mathcal{Y}\), which enable approximation of continuous operators by encoder-decoder architectures as in statements and ,
respectively. Inspired by the (bounded) approximation property of normed spaces, our conditions require approximation of the identity mappings on the input and output spaces by encoder-decoder pairs rather than by linear finite-rank operators. The
corresponding encoders and decoders can then be used directly in the approximation [thm:sequential_density_normed,thm:density_metric,thm:mionet], which allows for a straight-forward application to many classes of architectures. Further, we relax several
assumptions often imposed in the operator-learning literature. In particular, our framework accommodates metric spaces, permits nonlinear encoders and decoders, allows encoders to be discontinuous, and does not require decoders to be Lipschitz continuous.
We give examples of metric spaces along with natural, constructive choices of encoders and decoders that benefit from these relaxations, see the point below.
Theory covers metric spaces: \(p\)-Wasserstein and Skorohod spaces.
To the best of our knowledge, the existing operator learning theory for statement handles operators between separable Hilbert spaces. Our frameworks for both and additionally applies to every normed space possessing the (bounded) approximation property,
including, for example, Lebesgue spaces, Sobolev spaces, and spaces of continuously differentiable functions. In addition, also metric spaces can be treated as input or output spaces within our frameworks. For example, we prove that spaces of probability
measures \(\mathcal{P}_p(\Omega)\) equipped with the \(p\)-Wasserstein (\(p\geq1\)) distance as well as Fréchet spaces having Schauder bases can be treated
as input and output spaces. Moreover, we show that Skorohod spaces of càdlàg functions equipped with the Skorohod topology can be treated as input spaces in our theory. In many spaces, explicit and natural constructions of suitable encoders and decoders
are possible, which we outline in Sections 3.1 and 3.2 for normed and metric spaces, respectively. Note that some of our natural encoders for Wasserstein and
Skorohod spaces are currently not covered by the existing theory even for statement , which is due to their discontinuity, see also 13.
Furthermore, in Section 5.2 we point out some potential applications in optimal transport, for learning operators \(\mathcal{P}_p(\Omega)\to \mathcal{Y}\) with encoder-decoder
architectures. In particular, we discuss how 17 provides a possible route towards a first approximation theorem for geodesic operator networks [41].
In 2, we discuss the topological difference between statements and shown in 2. We highlight that is generally a stronger result in most contexts relevant to operator approximation. Nevertheless, this section is not required for understanding the remainder of this work. In Section 3, we introduce sufficient properties of the input and output spaces \(\mathcal{X}\) and \(\mathcal{Y}\) that enable the approximation of continuous operators \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) by encoder-decoder architectures as in statement . We also discuss several examples of normed and metric spaces satisfying these properties and present explicit choices of encoders and decoders that can be used within our approximation theorems. In Section 4, we establish our main universal approximation results: 14, which yields approximation as in statement , and 16 for approximation as in . In Section 5.1, we discuss the applicability of our theoretical framework to existing encoder-decoder architectures and show how our results unify and extend several universal approximation theorems from the literature. Finally, in Section 5.2, we discuss some applications in optimal transport. This is motivated by the fact that our theoretical framework allows the consideration of \(p\)-Wasserstein spaces as input spaces.
Given a metric \(d\) on a set \(\mathcal{X}\), we write \((\mathcal{X}, d)\) for the corresponding metric space. We sometimes omit \(d\) in the notation. Given a metric space \((\mathcal{X}, d)\), the open ball of radius \(r>0\) around some \(x\in \mathcal{X}\) is denoted by \(B_r(x;d)\). If there is no ambiguity in the choice of \(d\), we write \(B_r(x).\) The closed ball is written as \(\overline{B}_r(x)\). Whenever the symbol \(\mathbb{K}\) is used, it is meant that the according definitions or results are valid for both fields \(\mathbb{K}=\mathbb{R}\) or \(\mathbb{K}=\mathbb{C}.\) All vector spaces considered within this study are meant to be over the field(s) \(\mathbb{K}\). For metric spaces \(\mathcal{X}\) and \(\mathcal{Y}\), we denote by \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) the space of continuous mappings \(\mathcal{X}\to \mathcal{Y}\), and by \(\mathcal{C}_b(\mathcal{X}, \mathcal{Y})\) its subset of bounded continuous mappings. Whenever \(\mathcal{Y}\) is a vector space, both spaces are regarded as vector spaces with pointwise addition and scalar multiplication. Finally, we denote the Euclidean norm on \(\mathbb{K}^n\) as \(\vert\cdot \vert\). Nevertheless, due to the equivalence of norms, also different choices of norms are possible throughout our study. The expressions \(\vert \cdot \vert_1\) and \(\vert\cdot\vert_\infty\) are used for the \(\ell^1\)- and \(\ell^\infty\)-norm, respectively.
In this section, we will have a closer look on the topological difference between the two types of operator approximation given in 2 by a set \(S\) of approximants. For simplicity, we assume that \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\). In the following two sections, we recall what the statements and in 2 mean in terms of the so called compact-open topology. Finally, in Section 2.3 we show that is indeed a stronger statement in general, at least for settings relevant for operator approximation tasks, in which \(\mathcal{X}\) and \(\mathcal{Y}\) are typically infinite-dimensional normed (function) spaces. Regarding the definition of the compact-open topology, we follow [38].
Definition 1 (Compact-open topology). Let \(\mathcal{X}\) and \(\mathcal{Y}\) be topological spaces. For compact \(K\subseteq \mathcal{X}\) and open \(V\subseteq \mathcal{Y}\) associate the set \[\begin{align} U_{K, V} \mathrel{\vcenter{:}}= \{ G\in \mathcal{C}(\mathcal{X}, \mathcal{Y}): G(K) \subseteq V\}. \end{align}\] The compact-open topology on \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) is the topology that has all such \(U_{K, V}\) as a subbase. In other words, it is the coarsest topology on \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) containing all \(U_{K, V}\).
It is to be mentioned that the compact-open topology coincides with the topology induced by the uniformity of uniform convergence on compacta, e.g., when \(\mathcal{X}\) and \(\mathcal{Y}\) are metric spaces [38]. Nevertheless, we choose the perspective from the compact-open topology, as its definition is straightforward and since the studies we reference use this perspective, too.
In this section, we recall in 1 that statement in 2 is equivalent to \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) being dense with respect to the compact-open topology. We start with basic definitions of adherent points and dense sets in topological spaces.
Definition 2 (Adherent point). Let \((\mathcal{Z}, \mathfrak{T})\) be a topological space and \(S\subseteq\mathcal{Z}\). A point \(x\in \mathcal{Z}\) is called adherent point of \(S\) (in the topology \(\mathfrak{T})\) if for every open neighborhood \(U\in \mathfrak{T}\) of \(x\) it holds that \(S\cap U \neq \emptyset\).
Definition 3 (Density). Let \((\mathcal{Z}, \mathfrak{T})\) be a topological space. A subset \(S\subseteq\mathcal{Z}\) is called dense in \(\mathcal{Z}\) if every \(z\in \mathcal{Z}\) is an adherent point of \(S\).
In other words, \(S\subseteq \mathcal{Z}\) is dense if its closure is the whole space \(\mathcal{Z}\). The following Lemma characterizes adherent points in the compact-open topology. It seems to be a well-known fact, but we could not find an explicit statement within the literature. Therefore, for the interested reader, we provide a proof in the appendix (see 7.1).
Lemma 1. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces and consider a subset \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\). A mapping \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) is an adherent point of \(S\) with respect to the compact-open topology if and only if for every compact \(K\subseteq \mathcal{X}\) there exists a sequence \((G_n)_{n\in \mathbb{N}}\) in \(S\) such that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, G_n(x) \big) \xrightarrow{n\to\infty} 0. \end{align}\]
An immediate consequence of the preceding lemma is the following characterization of dense sets.
Theorem 1. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces. For a subset \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) the following statements are equivalent:
\(S\) is dense in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) with respect to the compact-open topology.
For every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and compact \(K\subseteq \mathcal{X}\) there exists a sequence \((G_n)_{n\in \mathbb{N}}\) in \(S\) such that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, G_n(x) \big) \xrightarrow{n\to\infty} 0. \end{align}\]
Note that the choice of the sequence \((G_n)_{n\in\mathbb{N}}\) may depend on \(K\).
We have seen that with a dense set \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) one can approximate every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) on any compact \(K\subseteq \mathcal{X}\) by a sequence, which depends on \(K\). If we require these sequences to be independent on \(K\), so if statement is supposed to hold, we will recall in 2 below that this is equivalent to sequential density of \(S\) in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) with respect to the compact-open topology.
Definition 4 (Convergence of sequences). Let \((\mathcal{Z}, \mathfrak{T})\) be a topological space. A sequence \((x_n)_{n\in\mathbb{N}}\) in \(\mathcal{Z}\) converges to some \(x\in \mathcal{Z}\) if for every open neighborhood \(U\in \mathfrak{T}\) there is an \(N\in \mathbb{N}\) such that for all \(n\geq N\) it is \(x_n\in U.\)
Definition 5 (Sequential density). Let \((\mathcal{Z}, \mathfrak{T})\) be a topological space. A subset \(S\subseteq \mathcal{Z}\) is called sequentially dense in \(\mathcal{Z}\) if for each \(x\in \mathcal{Z}\) there is a sequence \((x_n)_{n\in \mathbb{N}}\) in \(S\) that converges to \(x\). That is, for each open neighborhood \(U\in \mathfrak{T}\) of \(x\) there exists an \(N\in \mathbb{N}\) such that for all \(n\geq N\) it holds that \(x_n\in U\).
In other words, a set \(S\) is sequentially dense if its sequential closure is the whole space. The following characterization of convergent sequences in the compact-open topology can be found, for example, in [42], which immediately allows for a characterization of sequentially dense sets in 2.
Lemma 2. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces. A sequence \((G_n)_{n\in \mathbb{N}}\) in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) converges to some \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) in the compact-open topology if and only if for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, G_n(x) \big) \xrightarrow{n\to\infty} 0. \end{align}\]
Theorem 2. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces. For a subset \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) the following statements are equivalent:
\(S\) is sequentially dense in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) with respect to the compact-open topology.
For every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) there exists a sequence \((G_n)_{n\in \mathbb{N}}\) in \(S\) such that for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, G_n(x) \big) \xrightarrow{n\to\infty} 0. \end{align}\]
Note that the choice of the sequence \((G_n)_{n\in\mathbb{N}}\) is independent of \(K\).
In the previous sections, we characterized the different types of operator approximation given in 2 in the context of the compact-open topology. According to 1, statement in 2 means that \(S\) is dense with respect to the compact-open topology, whereas is equivalent to sequential density of \(S\) due to 2. The question whether it is an improvement to prove and not only hence corresponds to the question whether dense subsets of \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) are always sequentially dense w.r.t. the compact-open topology. In fact, this question is closely related to the Fréchet-Urysohn property. For the definition, we follow [38], in which the term Fréchet space is used.
Definition 6 (Fréchet-Urysohn space). A topological space \(\mathcal{Z}\) is said to be a Fréchet-Urysohn space if for every \(S\subseteq \mathcal{Z}\) and adherent point \(z\in \overline{S}\) there is a sequence in \(S\) converging to \(z\). In other words, the closure and sequential closure of every \(S\subseteq \mathcal{Z}\) coincide.
Clearly, if a space is a Fréchet-Urysohn space, then dense sets are particularly also sequentially dense. However, the converse may not be true in general, see for example 20. On the other hand, for the compact-open topology on \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\), the converse holds for many choices of \(\mathcal{X}\) and \(\mathcal{Y}\), as revealed by the following theorem.
Theorem 3. Let \(\mathcal{X}\) be a metric space and \(\mathcal{Y}\) be a normed space which is at least one-dimensional. Then the following statements are equivalent.
(i) Every dense subset of \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) is also sequentially dense (w.r.t. compact-open topology).
(ii) \(\mathcal{X}\) is hemicompact.
(iii) \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) equipped with the compact-open topology is a Fréchet-Urysohn space.
For \(\mathcal{Y}=\mathbb{R}\) and separable, metrizable \(\mathcal{X}\), this result has been derived in [39], which easily extends to any finite dimensional \(\mathcal{Y}\). In 3, we also treat infinite-dimensional \(\mathcal{Y}\). Further, for the case that \(\mathcal{X}\) is a separable metric space and for certain metrizable spaces \(\mathcal{Y},\) equivalence between and has been shown in [43].
In the remainder of this section, we will prove the implication " \(\to\) " with [lem:denseFU_k_sequence,lem:select_k_sequence,lem:ksequence_hemicompact]. Implication " \(\to\) " is handled in 6. For the proofs we follow the ideas presented in [44] and [39]. Note that " \(\to\) " is evident. To start, let us recall the definitions of hemicompact and locally compact spaces, for which we follow [45] and [38], respectively.
Definition 7 (Hemicompact space). A topological space \(\mathcal{X}\) is called hemicompact if there is a sequence of compact subsets \((K_n)_{n\in \mathbb{N}}\) of \(\mathcal{X}\) such that each compact \(K\subseteq \mathcal{X}\) is contained in some \(K_n\).
Definition 8 (Locally compact space). A topological space \(\mathcal{X}\) is called locally compact if each \(x\in \mathcal{X}\) has a compact neighborhood, i.e., there is a compact set \(K\subseteq \mathcal{X}\) and some open \(U\subseteq\mathcal{X}\) such that \(x\in U\subseteq K\).
Note that every hemicompact metric space \(\mathcal{X}\) must be separable, as it can be written as a countable union of compact metric spaces, where the latter are separable (see 19). For non-separable \(\mathcal{X}\), 3 hence implies that there is always a dense set \(S\subset \mathcal{C}(\mathcal{X}, \mathcal{Y})\) which is not sequentially dense. This shows that and above are not equivalent in general. An explicit construction of such a set is provided in 20, for which we are grateful to Hendrik Vogt from the University of Bremen for his valuable contribution to this example. Further, if \(\mathcal{X}\) is an infinite-dimensional normed space, it follows that it cannot be locally compact, as the closed balls \(\overline{B}_r(x)\) for \(x\in \mathcal{X}\) and \(r>0\) are never compact. A combination of 3 as well as the [lem:denseFU_k_sequence,lem:ksequence_hemicompact] leads to the fact that every hemicompact metric space is locally compact (alternatively, see also [46]). Therefore, 3 also reveals that for any infinite-dimensional normed space \(\mathcal{X}\), there must be dense sets in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) which are not sequentially dense.
In order to prove 3, we need to settle down some more terminology and introduce the notion of a so-called open \(k\)-cover and a \(k\)-sequence, for which we follow [44] and [39].
Definition 9 (Open \(k\)-cover). Let \(\mathcal{X}\) be a topological space. An open \(k\)-cover for \(\mathcal{X}\) is a collection of open sets \(\mathfrak{U} = \{U_i: i\in I\}\) such that \(\mathcal{X}\notin \mathfrak{U}\) and for each compact \(K\subseteq \mathcal{X}\) there exists some \(i\in I\) such that \(K\subseteq U_i\).
Let us remark that a compact space \(\mathcal{X}\) cannot have a \(k\)-cover, simply because \(\mathcal{X}\neq U_i\) for every \(U_i\) in the \(k\)-cover. Further, every \(k\)-cover must be an infinite set. Otherwise, one could choose \(x_i\in \mathcal{X}\setminus U_i\) for all \(i\in I\) (finitely many), so the compact set \(\{x_i: i\in I\}\) would not be contained in any \(U_i\). Further, the union over all elements of an open \(k\)-cover is the whole space (so a \(k\)-cover really is a cover of the space).
Definition 10 (\(k\)-sequence). Let \(\mathcal{X}\) be a topological space. A \(k\)-sequence for \(\mathcal{X}\) is a sequence of subsets \(\mathfrak{U} = \{U_n: n\in \mathbb{N}\}\) such that \(\mathcal{X}\notin \mathfrak{U}\) and for each compact \(K\subseteq \mathcal{X}\) there exists some \(N\in \mathbb{N}\) such that \(K\subseteq U_n\) for all \(n\geq N\).
Clearly, every \(k\)-sequence of open sets is also an open \(k\)-cover. We say that an open \(k\)-cover \(\mathfrak{U} = \{U_i: i\in I\}\) contains a \(k\)-sequence if there is a sequence \((U_{i_n})_{n\in \mathbb{N}}\) in \(\mathfrak{U}\) which is a \(k\)-sequence. The following Lemma draws a connection between 3 and the property that every open \(k\)-cover of \(\mathcal{X}\) contains a \(k\)-sequence. Note that within the literature, the latter characteristic of the space \(\mathcal{X}\) is also sometimes referred to as \(\mathcal{X}\) being a \(\gamma_k\)-set [39] or \(\mathcal{X}\) fulfilling the \(\gamma_\mathfrak{I}\text{-property}\) for the ideal \(\mathfrak{I}\) consisting of all compact subsets of \(\mathcal{X}\) [43]. The idea for the proof is inspired by [39] in which the case \(\mathcal{Y}=\mathbb{R}\) was considered.
Lemma 3. Let \(\mathcal{X}\) be a metric space and \(\mathcal{Y}\) be a normed space which contains some \(y_1\neq 0\). Assume that every dense subset of \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) is sequentially dense (w.r.t. the compact-open topology). Then every open \(k\)-cover of \(\mathcal{X}\) contains a \(k\)-sequence.
Proof. Let \(\mathfrak{U}=\{U_i: i\in I\}\) be some open \(k\)-cover of \(\mathcal{X}\). We first show that \[\begin{align} D \mathrel{\vcenter{:}}= \{f\in \mathcal{C}(\mathcal{X}, \mathcal{Y}): f = y_1 \mathrm{ on } \mathcal{X}\setminus U_i \mathrm{ for some } i\in I\} \end{align}\] is dense in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) with respect to the compact-open topology. For that, let \(K\subseteq \mathcal{X}\) be compact. Since \(\mathfrak{U}\) is an open \(k\)-cover of \(\mathcal{X}\), there exists some \(i\in I\) such that \(K\subseteq U_i\). According to Urysohn’s lemma, see for example [42], there exists some continuous mapping \(p:\mathcal{X}\to [0,1]\) which satisfies \[\begin{align} p(x) &= 0 \mathrm{ for } x\in K;\\ p(x) &= 1 \mathrm{ for } x\in \mathcal{X}\setminus U_i. \end{align}\] Therefore, for any \(f\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\), the mapping \(\tilde{f} = (f - y_1) (1- p) + y_1\) is an element of \(D\) and coincides with \(f\) on the compact set \(K\). Hence, density of \(D\) follows from 1. By assumption, \(D\) must also be sequentially dense. In particular, there is a sequence \((f_n)_{n\in\mathbb{N}}\) in \(D\) which converges to the zero function \(f_0\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) uniformly on every compact set, see 2. For each \(n\in \mathbb{N}\) there is some \(i(n)\in I\) such that \(f_n = y_1\) on \(\mathcal{X}\setminus U_{i(n)}\). We claim that \(\mathfrak{U}'\mathrel{\vcenter{:}}= \{U_{i(n)}:n\in \mathbb{N}\}\) is the desired \(k\)-sequence for \(\mathcal{X}\) which is contained in \(\mathfrak{U}\). For that, let \(K\subseteq \mathcal{X}\) be compact. If \(K\) is not a subset of \(U_{i(n)}\) for some \(n\in \mathbb{N}\), it follows that \[\begin{align} \sup_{x\in K} \Vert f_0(x) - f_n(x) \Vert = \sup_{x\in K} \Vert f_n(x) \Vert \geq \Vert y_1 \Vert. \end{align}\] Since \(f_n\) uniformly converges to \(f_0\) on \(K\), there must be an \(N\in \mathbb{N}\) such that for all \(n\geq N\) it holds that \(K\subseteq U_{i(n)}\). Hence, \(\mathfrak{U}'\) is a \(k\)-sequence. ◻
The next lemma is similar to [44]. However, we prove a weaker statement which will simplify the proof, but still be sufficient for our purpose of proving implication "\(\rightarrow\)" in 3.
Lemma 4. Let \(\mathcal{X}\) be a metric space, in which every open \(k\)-cover contains a \(k\)-sequence. Consider any sequence \((\mathfrak{U}_n)_{n\in \mathbb{N}}\) of open \(k\)-covers. Then there is some subsequence \((\mathfrak{U}_{n_m})_{m\in \mathbb{N}}\) such that for each \(m\in \mathbb{N}\) there is some \(U_m\in \mathfrak{U}_{n_m}\) such that \((U_m)_{m\in \mathbb{N}}\) is a \(k\)-sequence.
Proof. Let \((\mathfrak{U}_n)_{n\in \mathbb{N}}\) be a sequence of open \(k\)-covers. In particular, \(\mathcal{X}\) cannot be compact, so there exists a sequence \((x_n)_{n\in \mathbb{N}}\) which has no cluster point. For \(n\in \mathbb{N}\) define \[\begin{align} \mathfrak{V}_n &\mathrel{\vcenter{:}}= \{ U \setminus \{x_n\}: U \in \mathfrak{U}_n \}. \end{align}\] We first show that \(\mathfrak{V} = \cup_{n\in \mathbb{N}} \mathfrak{V}_n\) is an open \(k\)-cover. For that, let \(K\subseteq \mathcal{X}\) be compact. Since \((x_n)_{n\in \mathbb{N}}\) has no cluster point, there must be some \(x_\ell \notin K\). As \(\mathfrak{U}_\ell\) is a \(k\)-cover, there exists some \(U\in \mathfrak{U}_\ell\) such that \(K\cup\{x_\ell\}\subseteq U\). Therefore, \(K\subseteq U\setminus\{x_\ell\}\in \mathfrak{V}\), which shows that \(\mathfrak{V}\) is an open \(k\)-cover. By assumption on \(\mathcal{X}\), we can choose a \(k\)-sequence \((U_m\setminus\{x_{n_m} \})_{m\in \mathbb{N}}\) in \(\mathfrak{V}\), where \(U_m\in \mathfrak{U}_{n_m}\). We observe that the set of indices \(\{n_m: m\in \mathbb{N}\}\subseteq \mathbb{N}\) cannot be bounded, because otherwise \(\{x_{n_m}:m\in \mathbb{N}\}\) would be a compact set which is not contained in any of the sets of the \(k\)-sequence \((U_m\setminus\{x_{n_m} \})_{m\in \mathbb{N}}\), which would be a contradiction. Therefore, there is a subsequence \((n_{m_j})_{j\in \mathbb{N}}\) which is strictly monotonically increasing and going to infinity. Since \((m_j)_{j\in \mathbb{N}}\) is also strictly monotonically increasing, and since every subsequence of a \(k\)-sequence is still a \(k\)-sequence, \((U_{m_j})_{j\in \mathbb{N}}\) is the desired \(k\)-sequence. ◻
Finally, we are able to show hemicompactness of \(\mathcal{X}\) in the next lemma, where the idea of the proof is inspired by [44].
Lemma 5. Let \((\mathcal{X}, d)\) be a metric space in which every open \(k\)-cover contains a \(k\)-sequence. Then \(\mathcal{X}\) is locally compact and hemicompact.
Proof. Assume \(\mathcal{X}\) was not locally compact. Let \(x\in\mathcal{X}\) be a point which has no compact neighborhood. Therefore, for each \(n\in \mathbb{N}\) and compact \(K\subset \mathcal{X}\) it must be \[\begin{align} B_{\frac{1}{n}}(x) \setminus (K\cup \{x\}) \neq \emptyset, \end{align}\] since otherwise \(K\cup \{x\}\) would be a compact neighborhood of \(x\). Therefore, choose \(x_n(K)\in B_{\frac{1}{n}}(x) \setminus (K\cup \{x\})\) and define \[\begin{align} \varepsilon_n(K) \mathrel{\vcenter{:}}= 0.5\cdot \mathrm{dist}(x_n(K), K\cup\{x\})>0. \end{align}\] Define an open neighborhood of \(K\cup\{x\}\) via \[\begin{align} U_n(K) \mathrel{\vcenter{:}}= \bigcup_{z\in K \cup \{x\}} B_{\varepsilon_n(K)}(z), \end{align}\] which does not contain \(x_n(K)\). Then for every \(n\in \mathbb{N}\) \[\begin{align} \mathfrak{U}_n \mathrel{\vcenter{:}}= \{ U_n(K): K\subset \mathcal{X}\mathrm{ compact} \} \end{align}\] is an open \(k\)-cover, since for any compact subset \(K\subset \mathcal{X}\) it holds that \(K\subseteq K\cup \{x\} \subset U_n(K)\). Due to 4, there is a subsequence \((\mathfrak{U}_{n_m})_{m\in \mathbb{N}}\) and \(A_m\in \mathfrak{U}_{n_m}\) such that \((A_m)_{m\in \mathbb{N}}\) is a k-sequence. We can write \(A_m = U_{n_m}(K_m)\) for some compact \(K_m\subset \mathcal{X}\). Consider the set \[C\mathrel{\vcenter{:}}=\{x\} \cup \{x_{n_m}(K_m): m\in \mathbb{N}\}.\] As \((n_m)_{m\in\mathbb{N}}\subseteq \mathbb{N}\) is strictly increasing, we have that \(x_{n_m}(K_m)\xrightarrow[]{m\to \infty}x\) since \(d(x_{n_m}(K_m), x) \leq \frac{1}{n_m}.\) Hence, \(C\) is compact as it consists of the elements of the convergent sequence \((x_{n_m}(K_m))_{m\in \mathbb{N}}\) including its limit \(x\). For more details on the proof of the compactness of \(C\), see 21. However, since \(U_{n_m}(K_m)\) does not contain \(x_{n_m}(K_m)\), the compact set \(C\) is not contained in any \(A_m=U_{n_m}(K_m)\), which is a contradiction to \((A_m)_{m\in \mathbb{N}}\) being a \(k\)-sequence. Thus, \(\mathcal{X}\) must be locally compact.
Therefore, every \(x\in \mathcal{X}\) has a compact neighborhood, which implies that there exists some \(r(x)>0\) such that \(\overline{B}_{r(x)}(x)\) is compact. We observe that \[\begin{align} \mathfrak{D}\mathrel{\vcenter{:}}= \left\{ \bigcup_{i=1}^n B_{r(x_i)}(x_i): x_i\in \mathcal{X}, n\in \mathbb{N}\right\} \end{align}\] is an open \(k\)-cover of \(\mathcal{X}\), since for every compact \(K\subseteq \mathcal{X}\) it is \[\begin{align} K\subseteq \bigcup_{x\in K} B_{r(x)}(x)\subseteq \bigcup_{i=1}^n B_{r(x_i)}(x_i)\in \mathfrak{D}, \end{align}\] for finitely many \(x_i\in \mathcal{X}\). By assumption, the \(k\)-cover \(\mathfrak{D}\) must contain a \(k\)-sequence \((U_n)_{n\in \mathbb{N}}\). Since the closure of \(U_n\) is compact for all \(n\in \mathbb{N}\), it follows that \(\mathcal{X}\) is hemicompact. ◻
Together with 3, we have thus shown implication "\(\rightarrow\)" in 3. Namely, we have shown that a metric space \(\mathcal{X}\) must be hemicompact if every dense subset of \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) is sequentially dense. For completing the proof of 3, it only remains to show the following.
Lemma 6. Let \(\mathcal{X}\) be a hemicompact metric space and \((\mathcal{Y}, d_\mathcal{Y})\) any metric space. Then \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) equipped with the compact-open topology is a Fréchet-Urysohn space.
Proof. Let \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and \(f\in \overline{S}\) be an adherent point. By hemicompactness of \(\mathcal{X}\), there are compact sets \((K_n)_{n\in \mathbb{N}}\) such that every compact \(K\subseteq \mathcal{X}\) is contained in some \(K_n\). Define \[\begin{align} K'_n \mathrel{\vcenter{:}}= \bigcup_{i=1}^n K_i. \end{align}\] Then for every compact \(K\) there exists some \(N\in \mathbb{N}\) such that \(K\subseteq K'_n\) for all \(n\geq N\). According to 1, for all \(n\in \mathbb{N}\) there is some sequence \((f_{m,n})_{m\in \mathbb{N}}\) in \(S\subseteq \mathcal{C}(\mathcal{X}, \mathcal{Y})\) such that \[\begin{align} \sup_{x\in K'_n} d_\mathcal{Y}(f_{m,n}(x)\, ,\, f(x)) \leq \frac{1}{m}. \end{align}\] Hence, for any compact \(K\subseteq \mathcal{X}\) there exists an \(M\in \mathbb{N}\) such that for all \(m\geq M\) it is \(K\subseteq K'_m\) and it holds that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}(f_{m,m}(x)\, ,\, f(x)) \leq \sup_{x\in K'_m} d_\mathcal{Y}(f_{m,m}(x)\, ,\, f(x)) \leq \frac{1}{m}. \end{align}\] Therefore, the diagonal sequence \((f_{m,m})_{m\in \mathbb{N}}\) converges uniformly to \(f\) on every compact \(K\subseteq \mathcal{X}\), which means that convergence is with respect to the compact-open topology according to 2. Thus, \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) is a Fréchet-Urysohn space. ◻
It is to be mentioned that the previous result also follows from [46], in which it has been shown that \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\), equipped with the compact-open topology, is metrizable if \(\mathcal{X}\) is hemicompact. Note that every metrizable space is a Fréchet-Urysohn space. Moreover, in [45] it was shown that for \(\mathcal{X}\) being any topological space, \(\mathcal{C}(\mathcal{X},\mathbb{R})\) is metrizable if and only if \(\mathcal{X}\) is hemicompact.
During this section, we present sufficient properties for metric spaces \(\mathcal{X}\) and \(\mathcal{Y}\), so that every continuous operator \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) can be approximated by the specific encoder-decoder architectures constructed in Section 4. Let us start by defining a general encoder-decoder architecture.
Definition 11 (Encoder-decoder architecture). Let \(\mathcal{X}\) and \(\mathcal{Y}\) be metric spaces. Further, for \(n,m\in \mathbb{N}\) consider mappings \(E:\mathcal{X}\to \mathbb{K}^n\), \(D:\mathbb{K}^m\to \mathcal{Y}\) and \(\varphi:\mathbb{K}^n \to \mathbb{K}^m\). The corresponding mapping \(D\circ \varphi \circ E\) is called an encoder-decoder architecture with encoder \(E\) and decoder \(D\).
A similar definition has been given, for example for normed spaces in [21], but therein, the encoder and decoder were supposed to be linear and continuous, which we both do not require here. Recall that one of our main goals is to approximate any operator \(G\) by a sequence \(G_n\) of encoder-decoder architectures uniformly on every compact \(K\subseteq \mathcal{X}\), see statement in 2. For that, one has to ensure that the encoding does not loose too much information from the input space \(\mathcal{X}\), whereas the decoding can provide enough information in the output space \(\mathcal{Y}\). We introduce the following encoder-decoder approximation properties (EDAP) of metric spaces which will be sufficient for deriving our universal approximation 14. If approximation as in statement is desired, we provide similar properties in Section 4.1.
Definition 12 (Input-EDAP). A metric space \((\mathcal{X}, d)\) is said to have the input-EDAP if there are sequences of mappings \(E_n^\mathcal{X}:\mathcal{X}\to \mathbb{K}^{w_\mathcal{X}(n)}\) and \(D_n^\mathcal{X}:\overline{E^\mathcal{X}_n(\mathcal{X})}\to \mathcal{X}\) with the following properties:
There is \(r:\mathbb{N}\to (0,\infty)\) such that for each compact \(K\subseteq \mathcal{X}\) there is \(N_K\in \mathbb{N}\) such that for all \(n\geq N_K\) it is \[\begin{align} \sup_{f\in K} \vert E_n^\mathcal{X}(f)\vert \leq r(n). \end{align}\] Note that \(E_n^\mathcal{X}\) is allowed to be discontinuous.
\(D_n^\mathcal{X}\) is continuous.
The mappings \(T_n^\mathcal{X}\mathrel{\vcenter{:}}= D_n^\mathcal{X}\circ E_n^\mathcal{X}\) satisfy that for every compact \(K\subseteq \mathcal{X}\) it is \[\begin{align} \sup_{f\in K} d\left(f\, ,\, T_n^\mathcal{X}(f)\right) \xrightarrow{n\to\infty}0. \end{align}\]
Definition 13 (Output-EDAP). A metric space \((\mathcal{X}, d)\) is said to have the output-EDAP if there are sequences of mappings \(E_n^\mathcal{X}:\mathcal{X}\to \mathbb{K}^{w_\mathcal{X}(n)}\) and \(D_n^\mathcal{X}:\mathbb{K}^{w_\mathcal{X}(n)}\to \mathcal{X}\) with the following properties:
\(E_n^\mathcal{X}\) is continuous.
\(D_n^\mathcal{X}\) is uniformly continuous, i.e., for every \(\varepsilon>0\) there exists \(\delta_{n, \varepsilon}>0\) such that for all \(a,b\in \mathbb{K}^{w_\mathcal{X}(n)}\) with \(\vert a-b\vert < \delta_{n, \varepsilon}\) it follows that \(d(D_n^\mathcal{X}(a), D_n^\mathcal{X}(b)) \leq \varepsilon\).
The mappings \(T_n^\mathcal{X}\mathrel{\vcenter{:}}= D_n^\mathcal{X}\circ E_n^\mathcal{X}\) satisfy that for every compact \(K\subseteq \mathcal{X}\) it is \[\begin{align} \sup_{f\in K} d\left(f\, ,\, T_n^\mathcal{X}(f)\right) \xrightarrow{n\to\infty}0. \end{align}\]
If the space \(\mathcal{X}\) is clear from the context, we simply write \(E_n\mathrel{\vcenter{:}}= E_n^\mathcal{X}\) and \(D_n\mathrel{\vcenter{:}}= D_n^\mathcal{X}\) for the encoders and decoders, respectively.
Remark 1. In contrast to the input-EDAP, for the output-EDAP, the decoders \(D_n\) must be defined on whole \(\mathbb{K}^{w_\mathcal{X}(n)}\). This is important to obtain well-defined concatenations \(D_n^\mathcal{Y}\circ \varphi_n\circ E_n^\mathcal{X}\) in 14.
Remark 2. Every space having the input- or output-EDAP must be separable: Let \(\mathcal{X}\) have the input- or output-EDAP, which implies that \[\begin{align} \mathcal{X}= \overline{\bigcup_{n=1}^\infty (D_n\circ E_n)(\mathcal{X})}. \end{align}\] Since \(\mathbb{K}^{w_\mathcal{X}(n)}\) is separable and all \(D_n\) are continuous, it follows that \((D_n\circ E_n)(\mathcal{X})\) is separable for all \(n\in \mathbb{N}\). Hence, also the union over \(n\in \mathbb{N}\), which implies separability of \(\mathcal{X}\), as it is the closure of a separable set.
Remark 3. At first glance, one might think that the output-EDAP implies the input-EDAP. However, for the latter, the function \(r:\mathbb{N}\to(0,\infty)\) must be independent of the compact sets \(K\), whereas continuity of the encoders in the definition of the output-EDAP leads only to compact-dependent functions \(r_K\).
Below we state two simple observations. First, both EDAPs are preserved when switching to any equivalent metric. Further, we provide a simple criterion for a subset \(M\subset \mathcal{X}\) to inherit the input-EDAP from \(\mathcal{X}\).
Lemma 7. Consider two metrics \(d_1\) and \(d_2\) on a set \(\mathcal{X}.\)
If \(\mathrm{id}:(\mathcal{X}, d_1)\to (\mathcal{X}, d_2)\) is a homeomorphism, then \((\mathcal{X}, d_1)\) has the input-EDAP if and only if \((\mathcal{X}, d_2)\) has the input-EDAP.
If \(\mathrm{id}:(\mathcal{X}, d_1)\to (\mathcal{X}, d_2)\) and \(\mathrm{id}:(\mathcal{X}, d_1)\to (\mathcal{X}, d_2)\) are uniformly continuous, then \((\mathcal{X}, d_1)\) has the output-EDAP if and only if \((\mathcal{X}, d_2)\) has the output-EDAP.
In any case, the choices for suitable encoders and decoders are the same.
Proof. This lemma is easy to verify. Note that if the identity \(\mathrm{id}:(\mathcal{X}, d_1)\to (\mathcal{X}, d_2)\) is a homeomorphism, \(\mathcal{X}\) has the same compact sets with respect to \(d_1\) or \(d_2\). Further, uniform convergence on compact sets is preserved as the identity is continuous and hence uniformly continuous on any compact set. ◻
Lemma 8. Let \((\mathcal{X}, d)\) be a metric space having the input-EDAP with encoders \(E_n\) and decoders \(D_n\). Assume that for \(M\subset \mathcal{X}\) it holds that \(D_n\left( \overline{E_n(M)}\right)\subseteq M\) for all \(n\in \mathbb{N}\). Then \((M, d)\) also has the input-EDAP.
The definitions of the input- and output-EDAP are inspired by and resemble the approximation property (AP) of locally convex topological vector spaces, which has been intensively studied in [47], see also [48]. For 14 of the AP in normed spaces, we follow [49], which also contains a comprehensive survey of various types of approximation properties and their interrelations. In contrast to the EDAPs, the standard AP requires the approximating mappings \(T_n\) to be linear and continuous, and allows them to depend on the compact set \(K\). A key feature of the EDAP framework is that it is formulated entirely in terms of the metric structure and does not require compatibility with any underlying linear structure. This allows one to treat spaces such as \(p\)-Wasserstein spaces (\(p \geq 1\)), as well as Skorohod spaces. Note that Skorohod spaces are vector spaces, but their topology is not compatible with the linear structure, in the sense that the addition of vectors is not continuous. That these metric spaces indeed have the input- or output-EDAP is outlined in Section 3.2. There, we also present natural examples of discontinuous encoders for the input-EDAP and non-Lipschitz decoders suitable for the output-EDAP.
Definition 14 (Approximation property). A normed space \(\mathcal{X}\) has the approximation property (AP) if for every compact \(K\subseteq\mathcal{X}\) there are mappings \(T_{K, n}^\mathcal{X}:\mathcal{X}\to \mathcal{X}\) with the following properties:
All \(T_{K, n}^\mathcal{X}\) are linear and bounded.
All \(T_{K, n}^\mathcal{X}\) map into a finite dimensional subspace of \(\mathcal{X}\).
It holds that \[\sup_{f\in K} \Vert T_{K, n}^\mathcal{X}(f) - f \Vert \xrightarrow{n\to\infty} 0.\]
Below we state [29], which is a universal approximation theorem, in which the AP has been used for constructing suitable encoder-decoder architectures. We provide a similar universal approximation result for more diverse encoder-decoder architectures in 4.1, and a more relaxed version of the AP.
Theorem 4. Let \(\mathcal{X}\) and \(\mathcal{Y}\) be \(\mathbb{R}\)-Banach spaces both having the AP. For every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and compact set \(K\subseteq \mathcal{X}\), there exists a sequence of encoder-decoder architectures \(G_{K, n}\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) such that \[\begin{align} \sup_{f\in K} \big \Vert G(f) - G_{K, n}(f) \big \Vert \xrightarrow{n\to\infty} 0. \end{align}\]
In other words, the AP enabled universal operator approximation as in statement of 2, where the approximating sequence \(G_{K, n}\) depends on the compact set \(K\). However, since our goal is to get rid of this dependence on \(K\) in statement , the standard AP is not a sufficient property, which motivated our definition of the input- and output-EDAP with \(K\)-independent mappings \(T_n\). Important examples of spaces possessing both EDAPs are separable normed spaces that have the bounded approximation property (BAP). Since we have already observed that any space with either the input-EDAP or the output-EDAP is necessarily separable, we restrict the definition of the BAP below to separable normed spaces. For separable Banach spaces, an overview of the relationships among different approximation properties is shown in 3.
Definition 15 (Bounded approximation property). Let \(\lambda>0\). A separable normed space \(\mathcal{X}\) has the \(\lambda\)-bounded approximation property (\(\lambda\)-BAP) if there exists a sequence of mappings \(T^\mathcal{X}_n: \mathcal{X}\to \mathcal{X}\) with the following properties:
All \(T^\mathcal{X}_n\) are linear with \(\Vert T_n^\mathcal{X}(f) \Vert \leq \lambda \Vert f\Vert\) for all \(f\in \mathcal{X}\).
All \(T_n^\mathcal{X}\) have finite dimensional range.
For every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{f\in K}\big\Vert T^\mathcal{X}_n (f) - f \big\Vert \xrightarrow{n\to\infty}0. \end{align}\]
We say that \(\mathcal{X}\) has the BAP if there exists some \(\lambda>0\) such that it has the \(\lambda\)-BAP. If the space \(\mathcal{X}\) is clear from the context, we simply write \(T_n\) instead of \(T^\mathcal{X}_n.\)
Remark 4. Note that in the usual definition of the \(\lambda\)-BAP, covering also non-separable spaces, the mappings \(T_n\) depend on the compact set \(K\), see for example [49] or [48]. Nevertheless, for separable normed spaces, it is due to the uniform Lipschitz constant \(\lambda\), that these are equivalent definitions, see 25 or [49].
Remark 5 (Lipschitz BAP). As a last, but not least, type of approximation property, we want to mention the so-called Lipschitz bounded approximation property (\(\lambda\)-LBAP). It is similarly defined as the \(\lambda\)-BAP, but with allowing \(T_n\) to be non-linear with Lipschitz constants \(\lambda\), see [50], [51]. Nevertheless, for a Banach space \(\mathcal{X}\), it has been shown in [50] that \(\mathcal{X}\) has the \(\lambda\)-BAP if and only if it has the \(\lambda\)-LBAP.
In the following, we discuss different examples of spaces having the input- and output-EDAP, and describe various explicit choices for suitable encoders and decoders. First, normed spaces are considered, followed by metric spaces.
Before discussing examples of normed spaces having the EDAPs, we start with a helpful lemma which simplifies proving that a Banach space \(\mathcal{X}\) has the BAP, so in particular also both the input- and output-EDAP (if \(\mathcal{X}\) is separable). It follows from the Banach-Steinhaus theorem, also known as the uniform boundedness principle. For the latter, we refer to [52].
Lemma 9. Let \(\mathcal{Y}\) be a normed and \(\mathcal{X}\) be a Banach space. Assume that a sequence of linear, bounded operators \(A_n:\mathcal{X}\to\mathcal{Y}\) converges pointwise to some \(A:\mathcal{X}\to \mathcal{Y}\). Then \(A\) defines a linear and bounded operator and for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{f\in K} \Vert A_n (f) - A(f) \Vert \xrightarrow{n\to\infty} 0. \end{align}\] Further, there is some \(\lambda>0\) such that for all \(n\in \mathbb{N}\) it holds that \(\Vert A_n (f) \Vert \leq \lambda\Vert f\Vert\) for all \(f\in \mathcal{X}\).
An overview of the constructed encoders and decoders for the provided examples below can be found in ¿tbl:tab:encoder95decoder95overview?.
As a first straightforward example of spaces that fulfill the BAP, hence both the input- and output-EDAP, we discuss Banach spaces with Schauder bases in what follows. We restrict the attention to infinite-dimensional spaces and for a definition, we follow [53]. However, finite-dimensional spaces can be treated analogously.
Definition 16 (Schauder basis). Let \(\mathcal{X}\) be a Banach space over \(\mathbb{K}\). A sequence \((b_i)_{i\in \mathbb{N}}\) in \(\mathcal{X}\) is called a Schauder basis of \(\mathcal{X}\) if for every \(f\in \mathcal{X}\) there are unique \(c_i(f)\in \mathbb{K}\) such that \[\begin{align} f = \sum_{i=1}^\infty c_i(f) b_i. \end{align}\]
Note that the uniqueness of the coefficients already implies that the coefficient functionals \(c_i:\mathcal{X}\to \mathbb{K}\) are linear and countinuous, since \(\mathcal{X}\) is a Banach space. Therefore, and due to 9, the following well-known observation is immediate.
Theorem 5. Every Banach space \(\mathcal{X}\) with a Schauder basis \((b_i)_{i\in \mathbb{N}}\) has the BAP with the projections \(T_n=D_n\circ E_n\) defined by \[\begin{align} E_n:\mathcal{X}&\longrightarrow \mathbb{K}^n &D_n:\mathbb{K}^n &\longrightarrow \mathcal{X}\\ f &\longmapsto \big(c_1(f),\dots,c_n(f)\big)^\intercal, &\mu &\longmapsto \sum_{i=1}^n \mu_i b_i, \end{align}\] where \(c_i\) are the linear, continuous coefficient functions with respect to the Schauder basis. We call \(E_n\) and \(D_n\) basis encoders and basis decoders, respectively.
Lots of separable Banach spaces possess Schauder bases and hence also have the BAP, input- and output-EDAP. For example, Schauder bases exist in every separable Hilbert space, in several spaces of continuously differentiable functions and Lebesgue spaces (except \(L^\infty\)) [54], and in some Sobolev spaces [55]. It is to be noted that not every separable Banach space has a Schauder basis, nor fulfills the BAP. A first counterexample has been found by P. Enflo in 1973 [56].
Remark 6 (Fréchet spaces). For the sake of simplicity, we considered Banach spaces above. Yet, more general spaces can be considered: Let \(\mathcal{X}\) be a separable Fréchet space, that is, a complete metrizable locally convex space, see e.g. [57]. Let \(d\) be any metric inducing the topology on \(\mathcal{X}\). Assume that \(\mathcal{X}\) has a Schauder basis \((b_i)_{i\in \mathbb{N}}\), which is similarly defined as in 16, but in addition, one assumes that all \(c_i\) are continuous, see [48]. Then \((\mathcal{X}, d)\) has both the input- and output-EDAP, where the encoders and decoders can be chosen as in 5. Uniform convergence of \(D_n\circ E_n\) to the identity mapping on any compact \(K\subseteq \mathcal{X}\) has been outlined, for example, in [32]. Uniform continuity of each \(D_n\) follows from [57]. Continuity of each \(E_n\) is clear. According to [57], \(E_n\) maps bounded sets to bounded sets, which implies property (i) in 12.
Frames are a generalization of Schauder bases, as they relax the uniqueness constraint on the basis coefficients \(c_i\). For the sake of a simpler notation, we consider in what follows the classical case of an infinite-dimensional, separable Hilbert space \(\mathcal{X}\) with inner product \(\langle \cdot, \cdot\rangle.\) However, note that finite-dimensional spaces can be handled in a similar way [58]. Furthermore, frames can be generalized to non-separable Hilbert spaces [59] as well as to a Banach space setting [58].
Definition 17 (Frame). A frame of an infinite-dimensional, separable Hilbert space \(\mathcal{X}\) is a sequence \((f_i)_{i\in \mathbb{N}}\) in \(\mathcal{X}\), if there exist constants \(A,B>0\) such that for all \(f\in \mathcal{X}\) it holds that \[\begin{align} A\Vert f \Vert^2 \leq \sum_{i=1}^\infty \vert \langle f, f_i\rangle\vert^2 \leq B \Vert f\Vert ^2. \end{align}\] The values \(A\) and \(B\) are called frame bounds.
For a given a frame \((f_i)_{i\in \mathbb{N}}\) in \(\mathcal{X}\), it is well-known that there exists a canonical dual frame of \((f_i)_{i\in \mathbb{N}}\) defined by \(\big(S^{-1}(f_i)\big)_{i\in \mathbb{N}} \subset \mathcal{X}\) via the inverse of the frame operator \(S: \mathcal{X}\to\mathcal{X}\) given by \(S(f) \mathrel{\vcenter{:}}= \sum_{i=1}^\infty\langle f, f_i\rangle f_i,\) so that every \(f\in \mathcal{X}\) can be expressed as \[f = \sum_{i=1}^\infty \big\langle f,\, S^{-1} (f_i)\big\rangle f_i,\] see [58]. This motivates the definition of, more generally, dual frames.
Definition 18 (Dual Frame). Let \(\mathcal{X}\) be an infinite-dimensional, separable Hilbert space and \((f_i)_{i\in \mathbb{N}} \subset \mathcal{X}\) a given frame of \(\mathcal{X}.\) A frame \((f^*_i)_{i\in \mathbb{N}} \subset \mathcal{X}\) of \(\mathcal{X}\) is called a dual frame of \((f_i)_{i\in \mathbb{N}},\) if for all \(f\in \mathcal{X}\) it holds that \[\label{eq:def:dualFrame} f = \sum_{i=1}^\infty \langle f, f^*_i\rangle f_i.\tag{1}\]
A frame has a dual frame different from the canonical dual frame if and only if it is not a Riesz basis, see, e.g., [58]. In the following, we state the main result of this section, which will give rise to the construction of encoders and decoders based on frames.
Theorem 6. Let \(\mathcal{X}\) be an infinite-dimensional, separable Hilbert space and \((f_i)_{i\in \mathbb{N}} \subset \mathcal{X}\) a given frame of \(\mathcal{X}\) along with a dual frame \((f^*_i)_{i\in \mathbb{N}} \subset \mathcal{X}\) of \((f_i)_{i\in \mathbb{N}}.\) Then \(\mathcal{X}\) has the BAP with the projections \(T_n = D_n\circ E_n\) defined by \[\begin{align} E_n:\mathcal{X}&\longrightarrow \mathbb{K}^n &D_n:\mathbb{K}^n &\longrightarrow \mathcal{X}\\ f &\longmapsto \big( \langle f, f^*_1 \rangle, \dots, \langle f, f^*_n \rangle \big)^\intercal, &\mu &\longmapsto \sum_{i=1}^n \mu_i f_i. \end{align}\] We call \(E_n\) and \(D_n\) frame encoders and frame decoders, respectively.
Proof. The statement follows immediately by the definition of the projections \(T_n\) and by applying 9. ◻
Given some compact metric space \(\Omega\) and \(a\in \mathbb{N}\), we consider the space \(\mathcal{X}=\mathcal{C}(\Omega, \mathbb{K}^a)\) equipped with the supremum norm throughout this section. If \(\Omega\) is uncountable, it is due to Milutin’s theorem that \(\mathcal{C}(\Omega, \mathbb{K}^a)\) is isomorphic to \(\mathcal{C}([0,1], \mathbb{K}^a)\), see for example [54]. Since the latter has a Schauder basis, according to [53], also \(\mathcal{C}(\Omega, \mathbb{K}^a)\) must possess a Schauder basis, meaning that it has the BAP according to 3.1.1. However, the corresponding choice of \(T_n(f) = \sum_{i\leq n} c_i(f) b_i\) is not the only possible choice for \(T_n\) in 15 of the BAP, which we want to outline in what follows. The constructions within this section are inspired from [10], in which the case \(\mathcal{C}(\Omega, \mathbb{R})\) and \(\Omega\) being a compact subset of a Banach space was considered.
Definition 19 (\(\varepsilon\)-covering). Let \(\Omega\) be a metric space and \(\varepsilon>0\). An \(\varepsilon\)-covering of \(\Omega\) is a set \(M \subseteq \Omega\) such that \[\begin{align} \Omega \subseteq \bigcup_{x\in M}B_\varepsilon(x) \end{align}\] Note that if \(\Omega\) is compact, there exists a finite \(\varepsilon\)-covering for every \(\varepsilon>0\).
Lemma 10. Let \((\Omega, d)\) be a compact metric space. Further, let \(\varepsilon>0\) and \(\{y_1,\dots, y_k\}\) be an \(\varepsilon\)-covering for \(\Omega\). Then there exist finitely many continuous mappings \(P_{\varepsilon, i}:\Omega \to [0,1]\) for \(i\in \{1,\dots,k\}\) such that
(i) For every \(y\in \Omega\) it is \(\sum_{i=1}^{k} P_{\varepsilon, i}(y) = 1\).
(ii) For every \(y\in \Omega\) it holds that \(P_{\varepsilon, i}(y) = 0\) whenever \(d( y\, ,\, y_i) \geq \varepsilon.\)
If \(\Omega\subset \mathbb{R}^p\), the mappings \(P_{\varepsilon, i}\) can be chosen to be a smooth function belonging to \(\mathcal{C}^\infty(\Omega, \mathbb{R})\).
Proof. For the construction, we start by defining the continuous functions \[\begin{align} \tilde{P}_{\varepsilon, i}:\Omega &\longrightarrow [0,\infty) \\ y&\longmapsto \begin{cases}
\exp{\left(-\frac{1}{\varepsilon^2 - d(y,y_i)^2}\right)} &\text{if}\quad d(y,y_i)<\varepsilon, \\ 0& \text{else}. \end{cases}
\end{align}\] Note that property is already satisfied for \(\tilde{P}_{\varepsilon, i}\). In order to ensure property , we normalize the functions by defining \[\label{eq:P95eps95i} P_{\varepsilon, i}(y) \mathrel{\vcenter{:}}= \frac{ \tilde{P}_{\varepsilon, i}(y)}{\sum_{\ell=1}^{k} \tilde{P}_{\varepsilon, \ell}(y)}.\tag{2}\] By definition of \(\{y_1,\dots, y_k\}\) being an \(\varepsilon\)-covering for \(\Omega,\) note that for each \(y\in \Omega\) there exists \(i\in \{1,\dots,k\}\) such that \(y\in B_\varepsilon(y_i)\). Hence, \(\sum_{\ell=1}^{k} \tilde{P}_{\varepsilon, \ell}(y)> 0\) for all \(y\in \Omega\) so that the \(P_{\varepsilon, i}\) are well-defined. Additionally, the \(P_{\varepsilon, i}\) fulfill both properties and leading to the desired
partition of unity.
In the case of \(\Omega\subseteq \mathbb{R}^p\), it is well-known that the so-called bump functions \(\tilde{P}_{\varepsilon, i}\) belong to \(\mathcal{C}^\infty(\Omega, \mathbb{R})\) (see e.g.[60]). Together with the fact that \(\sum_{\ell=1}^{k} \tilde{P}_{\varepsilon, \ell}(y)> 0\) for all \(y\in \Omega\), this leads to \(P_{\varepsilon, i}\in \mathcal{C}^\infty(\Omega,
\mathbb{R})\). ◻
Theorem 7. Let \(\Omega\) be a compact metric space and consider \(\mathcal{C}(\Omega, \mathbb{K}^a)\) equipped with the supremum-norm. For \(n\in \mathbb{N}\) let \(\left\{y_1^{(n)},\dots,y_{k(n)}^{(n)} \right\}\) be an \(1/n\)-covering for \(\Omega\) and \(P_{\frac{1}{n}, i}\) the partition of unity on \(\Omega\) from 10. Then \(\mathcal{C}(\Omega, \mathbb{K}^a)\) has the BAP with the mappings \(T_n = D_n\circ E_n\) defined by \[\begin{align} E_n: \mathcal{C}(\Omega, \mathbb{K}) &\longrightarrow \mathbb{K}^{k(n)} &D_n: \mathbb{K}^{k(n)} &\longrightarrow \mathcal{C}(\Omega, \mathbb{K}) \\ f &\longmapsto \Big(f(y_1^{(n)}),\dots, f(y_{k(n)}^{(n)})\Big)^\intercal, &\mu &\longmapsto \sum_{i=1}^{k(n)} \mu_i P_{\frac{1}{n}, i}. \end{align}\] We call \(E_n\) and \(D_n\) sampling encoders and sampling decoders, respectively.
Proof. First, we mention that all \(P_{\frac{1}{n}, i}\) are continuous which means that \(T_n\) indeed maps into \(\mathcal{C}(\Omega, \mathbb{K}^a)\). Let \(f\in \mathcal{C}(\Omega, \mathbb{K}^a)\) and \(\varepsilon>0\). As \(\Omega\) is compact, \(f\) is uniformly continuous due to the Heine-Cantor theorem. Hence, there exists some \(N \in \mathbb{N}\) such that for all \(n\geq N\) it holds that \[\begin{align} \label{eq:thm95sampling95UAP951} \vert f(x) - f(y) \vert \leq \varepsilon \mathrm{ \, whenever \, } x,y\in \Omega \mathrm{ \, with \, } d(x,y) < \frac{1}{n}. \end{align}\tag{3}\] Given \(y\in \Omega\) let \(I(y,n)\) denote the set of all indices \(i\) such that \(d(y\, , y_i^{(n)}) < 1/n\). Due to the properties of \(P_{\frac{1}{n}, i}\), see 10, we conclude for \(n\geq N\) that \[\begin{align} \Big\vert f(y) - (T_n f)(y) \Big\vert &= \left\vert \sum_{i\in I(y,n)} \left( f(y)- f(y_i^{(n)})\right) P_{\frac{1}{n}, i}(y)\right\vert\\ &\leq \sum_{i\in I(y,n)} \left \vert f(y)- f(y_i^{(n)})\right\vert P_{\frac{1}{n}, i}(y) \\ &\overset{\labelcref{eq:thm95sampling95UAP951}}{\leq} \varepsilon \sum_{i\in I(y,n)} P_{\frac{1}{n}, i}(y)\leq \varepsilon \sum_{i=1}^{k(n)} P_{\frac{1}{n}, i}(y) = \varepsilon. \end{align}\] Taking the supremum over all \(y\in \Omega\) shows that \(T_n f\) converges to \(f\). By 9, this implies that \(T_n\) uniformly converges to the identity operator on every compact \(K\subseteq \mathcal{C}(\Omega, \mathbb{K}^a)\). The range space of \(T_n\) is spanned by the vectors \(b_{i,j} = e_j P_i\), where \(\{e_j: j = 1,\dots,a\}\) is the standard basis of \(\mathbb{K}^a.\) Hence, \(T_n\) has finite rank, namely at most \(k(n) a\). ◻
Remark 7. In [10], a different partition of unity was used by defining \[\begin{align} \tilde{P}_{\varepsilon, i}:\Omega &\longrightarrow [0,1] \\ y&\longmapsto \begin{cases} 1- \varepsilon^{-1}d(y, y_i)\mathrm{ \, if \, } d(y, y_i) < \varepsilon, \\ 0 \mathrm{ \, else.} \end{cases} \end{align}\] The advantage of using the \(\tilde{P}_{\varepsilon, i}\) as in the proof of 10 is their smoothness if \(\Omega\subset \mathbb{R}^p\), see 1.
Corollary 1. For compact \(\Omega\subset \mathbb{R}^p\), the mappings \(T_n\) in 7 are also well-defined as mappings \(\mathcal{X}\to \mathcal{X}\) for \(\mathcal{X}\) being \(\mathcal{C}^k(\Omega, \mathbb{R}^a)\) or a Sobolev space \(W^{k,2}(\Omega,\mathbb{R})\) that continuously embeds into \(\mathcal{C}(\Omega, \mathbb{R})\). In either case, \(T_n\) uniformly converges to the identity on \(\mathcal{X}\) on every compact \(K\subset \mathcal{X}\), where \(\mathcal{X}\) is equipped with the supremum norm.
Note that the spaces in 1 have the BAP, but are not complete. When \(\mathcal{C}^k\) is equipped with the \(\mathcal{C}^k\)-norm, instead of the supremum norm, one can also show that it has the BAP with suitable sampling encoders. We give an impression of how to construct suitable \(T_n\) in Appendix 8.1.
Finally, we provide in Appendix 8.2 a comparison of the above sampling encoders and the basis encoders discussed in Section 3.1.1. In 21 we show that, in general, Schauder basis encoders cannot coincide with sampling encoders for \(n\) large enough.
Throughout this section, let \(\mathcal{X}\) be a separable normed space having the BAP, with suitable mappings \(T_n\) from 15. As \(T_n\) maps into a finite dimensional space, we can choose a basis \((b_i^{(n)})_{i\in I_n}\) for \(T_n(\mathcal{X})\), with \(I_n\) being a finite index set. Therefore, we can write \[\begin{align} \label{eq:BAP95range95basis95representation} T_n f = \sum_{i\in I_n} c^{(n)}_i(T_n f) b_i^{(n)}, \end{align}\tag{4}\] where \(c_i^{(n)}:T_n(\mathcal{X})\to \mathbb{K}\) are linear and continuous functionals. For some dense set \(S\subseteq \mathcal{X}\), we will see that one can also replace the basis \(b_i^{(n)}\) of \(T_n(\mathcal{X})\) by some vectors from \(S\), without loosing the ability to approximate the identity uniformly on compact sets. The decoders below will be useful in Section 5.1 when discussing classical DeepONets or MIONets.
Theorem 8. Let \(S\subseteq \mathcal{X}\) be dense. Then for every \(n\in \mathbb{N}\) with \(I_n\) being the finite index set in 4 , there exist \((v_i^{(n)})_{i\in I_n}\subset S\) such that the mappings \(\tilde{T}_n = D_n\circ E_n\) defined by \[\begin{align} E_n: \mathcal{X}&\longrightarrow \mathbb{K}^{\vert I_n\vert} &D_n: \mathbb{K}^{\vert I_n \vert} &\longrightarrow \mathcal{X}\\ f &\longmapsto \Big(c^{(n)}_1(T_n (f)),\dots, c^{(n)}_{\vert I_n\vert}(T_n (f))\Big)^\intercal, &\mu &\longmapsto \sum_{i=1}^{\vert I_n \vert} \mu_i v_i^{(n)}, \end{align}\] converge uniformly to the identity on every compact \(K\subseteq \mathcal{X}\). Hence, \(\tilde{T}_n\) are suitable choices in 15 of the BAP. We call \(E_n\) and \(D_n\) auxiliary encoders and dense decoders, respectively.
Proof. Since the \(c_i^{(n)}\) are bounded, linear functionals on \(T_n(\mathcal{X})\), there exists some \(p_n>0\) such that \[\begin{align} \sum_{i\in I_n} \vert c_i^{(n)}(T_n f) \vert \leq p_n \Vert T_n f \Vert \leq p_n \Vert T_n \Vert \Vert f\Vert, \end{align}\] where \(\Vert T_n\Vert\) denotes the operator norm of \(T_n\). Since \(S\) in dense in \(\mathcal{X}\), there are \(v_i^{(n)}\in S\) such that \[\begin{align} \Vert b_i^{(n)} - v_i^{(n)} \Vert < \frac{1}{np_n \Vert T_n \Vert}. \end{align}\] Further, for any \(f\in \mathcal{X}\) it follows that \[\begin{align} \Vert f - \tilde{T}_n f \Vert &\leq \Vert f - T_n f\Vert + \Vert T_n f - \tilde{T}_n f\Vert \\ &< \Vert f - T_n f\Vert + \frac{\Vert f \Vert}{n}. \end{align}\] Therefore, \(\tilde{T}_n\) uniformly converges to the identity on every compact set \(K\subseteq \mathcal{X}\), since \(T_n\) has this property and since compact sets are bounded. ◻
If \(\mathcal{X}\) is a Hilbert space, it is possible to construct an encoder that also uses \(v_i^{(n)}\). This will be of interest in 5.1.3 when discussing BasisONets [11].
Theorem 9. Assume that \(\mathcal{X}\) is a separable Hilbert space and \(S\subseteq \mathcal{X}\) be dense. Then for every \(n\in \mathbb{N}\) there are \(v_1^{(n)},...,v_n^{(n)}\in S\) such that the mappings \(\tilde{T}_n = D_n\circ E_n\) defined by \[\begin{align} E_n: \mathcal{X}&\longrightarrow \mathbb{K}^{n} &D_n: \mathbb{K}^{n} &\longrightarrow \mathcal{X}\\ f &\longmapsto \Big(\langle f, v_1^{(n)}\rangle,\dots,\langle f, v_{n}^{(n)}\rangle\Big)^\intercal, &\mu &\longmapsto \sum_{i=1}^{n} \mu_i v_i^{(n)}, \end{align}\] converge uniformly to the identity on every compact \(K\subseteq \mathcal{X}\). Hence, \(\tilde{T}_n\) are suitable choices in 15 of the BAP. We call \(E_n\) dense encoders. Note that \(D_n\) are dense decoders as in 8
Proof. Choose an orthonormal basis \((b_i)_{i\in \mathbb{N}}\) of \(\mathcal{X}\). Then the mappings \(T_n\) constructed in 3.1.1 are given by \[\begin{align} T_n:\mathcal{X}&\longrightarrow \mathcal{X}\\ f &\longmapsto \sum_{i=1}^n \langle f, b_i\rangle b_i. \end{align}\] For any \(n\in \mathbb{N}\), choose \(v_1^{(n)},...,v_n^{(n)}\in S\) such that \[\begin{align} \sum_{i=1}^n\Vert v_i^{(n)} - b_i\Vert \leq\frac{1}{3n}. \end{align}\] Note that \(\Vert v_i^{(n)}\Vert \leq 1 + \Vert v_i^{(n)} - b_i \Vert\). For all \(f\in \mathcal{X}\), it follows from the triangular and Cauchy-Schwartz inequality that \[\begin{align} \Vert \tilde{T}_n f - T_n f \Vert &\leq \left \Vert \sum_{i=1}^n \langle f, v_i^{(n)}\rangle v_i^{(n)} - \langle f, v_i^{(n)}\rangle b_i \right \Vert + \left \Vert \sum_{i=1}^n \langle f, v_i^{(n)}\rangle b_i - \langle f, b_i\rangle b_i \right \Vert \\ &\leq \Vert f \Vert \sum_{i=1}^n \Vert v_i^{(n)} \Vert \Vert v_i^{(n)} - b_i \Vert + \Vert f\Vert\sum_{i=1}^n \Vert v_i^{(n)} - b_i \Vert \\ &\leq \Vert f \Vert \sum_{i=1}^n (2+\Vert v_i^{(n)} - b_i \Vert) \Vert v_i^{(n)} - b_i \Vert \\ &\leq 3\Vert f \Vert \sum_{i=1}^n \Vert v_i^{(n)} - b_i \Vert \leq \frac{\Vert f \Vert}{n}. \end{align}\] Hence, the claim follows from \(\Vert f - \tilde{T}_n f \Vert \leq \Vert f - T_n f\Vert + \Vert T_n f - \tilde{T}_n f\Vert\) with the same arguments as in the previous theorem. ◻
Remark 8. Instead of an orthonormal basis \((b_i)_{i\in \mathbb{N}}\), one can also consider a frame \((f_i)_{i\in \mathbb{N}}\) along with a dual frame \((f_i^*)_{i\in \mathbb{N}}\) in 9. For the decoder, choose \(v_i^{(n)}\in S\) that approximates \(f_i\). For the encoder, choose \(w_i^{(n)}\) that approximates \(f_i^*\).
In this section, we discuss several well-known metric spaces that are neither normed spaces nor even topological vector spaces, yet possess the input- or output-EDAP. These examples demonstrate the advantage of formulating the EDAPs in the general setting of metric spaces. Classical approximation properties such as the AP and BAP are based on approximation by finite-rank linear operators and are therefore naturally associated with Banach spaces or more generally locally convex topological vector spaces [47]–[49]. Furthermore, we give examples of discontinuous, though natural, encoders that are nevertheless suitable for the input-EDAP. In addition, we provide examples of uniformly continuous but non-Lipschitz decoders that are suitable for the output-EDAP. Note that some examples were already given in 6.
Throughout this section, \((\Omega, d)\) denotes a complete, separable metric space. For \(p\geq 1\), denote by \(\mathcal{P}_p(\Omega;d)\) the set of Borel probability measures on \(\Omega\) with finite moments of order \(p\). So \(\mu\in \mathcal{P}_p(\Omega;d)\) if for some \(x_0\in \Omega\) (hence for any \(x_0\)) it is \[\begin{align} \int_\Omega d(x, x_0)^p \mathop{} \! \mathrm{d}\mu(x) < \infty. \end{align}\] Note that if \(d\) is a bounded metric, \(\mathcal{P}_p(\Omega;d)\) coincides with the set \(\mathcal{P}(\Omega)\) of all probability measures. The main goal is to show in 10 that if \(\Omega\) is proper, \(\mathcal{P}_p(\Omega;d)\) has the input-EDAP when being equipped with the \(p\)-Wasserstein distance. In 4, we show that the set of compactly supported measures also has the input-EDAP. If \(\Omega\) is compact, also the output-EDAP is fulfilled, see 11. Further, we verify both EDAPs for the set of absolutely continuous measures in \(\mathcal{P}_p(\mathbb{R}^m; \vert \cdot \vert)\) in 5. For non-compact \(\Omega\), it remains an open question whether \(\mathcal{P}_p(\Omega; d)\) also has the output-EDAP.
Definition 20 (Proper metric space). A metric space \((\Omega, d)\) is called proper if for every \(R>0\) and \(x\in \Omega\), the closed ball \(\overline{B}_R(x_0)=\{x\in \Omega: d(x, x_0)\leq R\}\) is compact.
For example, \(\Omega=\mathbb{R}^m\) or any of its closed subsets are proper, equipped with any norm. Note that every proper metric space is complete and separable. We consider the \(p\)-Wasserstein metric, also called Kantorovich-Rubinstein distance, where we follow [61].
Definition 21 (\(p\)-Wasserstein distance). For \(p\geq 1\), the \(p\)-Wasserstein (or Kantorovich-Rubinstein) distance between probability measures \(\mu, \nu\in \mathcal{P}_p(\Omega; d)\) is defined as \[\begin{align} W_p(\mu, \nu) \mathrel{\vcenter{:}}= \left(\inf_{\pi\in \Pi(\mu, \nu)} \int_{\Omega\times \Omega} d(x, y)^p \mathop{} \! \mathrm{d}\pi(x, y)\right)^{1/p}, \end{align}\] where \(\Pi(\mu, \nu)\) is the set of Borel probability measures on \(\Omega\times \Omega\) such that \(\pi(A\times \Omega) = \mu(A)\) and \(\pi(\Omega\times A)=\nu(A)\) for every Borel set \(A\subseteq\Omega\).
Remark 9. Although the definition of \(W_p\) depends on the choice of the metric \(d\) on \(\Omega\), we omit this fact within the notation for the sake of readability. Furthermore, \(W_p\) indeed defines a metric on \(\mathcal{P}_p(\Omega;d)\), see e.g.[61]. In case of \(p=1\), the \(1\)-Wasserstein distance can be expressed as \[\begin{align} W_1(\mu, \nu) = \sup_{f \in \mathop{\mathrm{Lip}}_1(\Omega)} \int_\Omega f \mathop{} \! \mathrm{d}(\mu - \nu), \end{align}\] where \(\mathop{\mathrm{Lip}}_1(\Omega)\) is the set of \(1\)-Lipschitz functions \(f:\Omega\to \mathbb{R}\), see [61].
In order to show that \((\mathcal{P}_p(\Omega; d), W_p)\) has the input-EDAP, we construct suitable encoders and decoders in 22. We begin with the following elementary result.
Lemma 11. Let \((\Omega, d)\) be a proper metric space. Fix \(x^*\in \Omega\). For any \(a>0\) and \(r>0\), there exist finitely many disjoint, non-empty Borel sets \(I_1^{(a,r)},...,I_{k(a,r)}^{(a,r)}\subseteq \overline{B}_r(x^*)\) with diameter \(<a\) and which cover \(\overline{B}_r(x^*)\).
Proof. This follows from the assumption on \(\Omega\) that all closed balls \(\overline{B}_r(x^*)\) are compact. ◻
Definition 22. Let \((\Omega, d)\) be a proper metric space. For fixed \(x^*\in \Omega\), \(a,r>0\) and the corresponding sets \(I_i^{(a,r)}\) from 11, we define encoders \[\begin{align} E_{a,r}:\mathcal{P}_p(\Omega;d) &\longrightarrow A_{a,r}\mathrel{\vcenter{:}}= \{c\in \mathbb{R}^{k(a,r)}: c_i\geq 0,\;\sum_i c_i \leq 1\} \\ \mu &\longmapsto \big(\mu(I^{(a,r)}_1),..., \mu(I^{(a,r)}_{k(a,r)})\big)^T \end{align}\] and, after choosing \(x_1^{(a,r)} \in I^{(a,r)}_1,..., x_{k(a,r)}^{(a,r)}\in I^{(a,r)}_{k(a,r)}\), decoders via \[\begin{align} D_{a,r}: A_{a,r} &\longrightarrow \mathcal{P}_p(\Omega;d)\\ c &\longmapsto \sum_{i=1}^{k(a,r)} c_i \delta_{x_i^{(a,r)}} + \left( 1 - \sum_{i=1}^{k(a,r)} c_i \right) \delta_{x^*}. \end{align}\]
Note that \(E_{a,r}\) is not continuous with respect to the \(p\)-Wasserstein metric \(W_p\), simply because \(W_p\)-convergence does not necessarily imply strong convergence of probability measures. Furthermore, note that \(A_{a,r}\subset \mathbb{R}^{k(a,r)}\) is closed and bounded, hence compact.
Lemma 12. Assume the metric \(d\) on \(\Omega\) is bounded. Then for any \(p\geq1\) and all \(\mu, \nu\in \mathcal{P}(\Omega)=\mathcal{P}_p(\Omega;d)= \mathcal{P}_1(\Omega;d)\) it is \[\begin{align} W_1(\mu, \nu) \leq W_p(\mu, \nu) \leq \sup\{d(x,y):x,y\in \Omega\}^{1-1/p} W_1(\mu, \nu)^{1/p}. \end{align}\] In other words, all \(p\)-Wasserstein distances are equivalent.
Proof. This follows from applying the Hölder inequality. ◻
The following two results are extracted from the proof in [61]. For \(R>0\), denote by \(W^{(R)}_p(\mu, \nu)\) the \(p\)-Wasserstein distance between \(\mu, \nu\in \mathcal{P}_p(\Omega;d_R)\) w.r.t. to the bounded metric \(d_R(x,y)\mathrel{\vcenter{:}}= \min\{d(x,y), R\}\) on \(\Omega\).
Lemma 13. For \(p\geq 1\), there exists \(c'_p>0\) such that for every \(R>0\) and \(x,y,x_0\in \Omega\) it is \[\begin{align} d(x, y)^p \leq c_p'\Big(d_R(x,y)^p &+ d(x, x_0)^p \mathbb{1}_{d(x, x_0)\geq R/2} \\ &+ d(x_0, y)^p \mathbb{1}_{d(x_0, y)\geq R/2}\Big). \end{align}\]
Proof. Let \(R>0\) and \(x,y,x_0\in \Omega\). Due to the triangular inequality it is either \(d(x, y) \leq 2 d(x, x_0)\) or \(d(x,y)\leq 2 d(x_0, y)\). Therefore, it is \[\begin{align} d(x, y)&\leq \min\{d(x,y), R\} + 2d(x, x_0) \mathbb{1}_{d(x, x_0)\geq R/2} + 2d(x_0, y)\mathbb{1}_{d(x_0, y)\geq R/2}. \end{align}\] The claim then follows from applying Jensen’s inequality to the convex mapping \(a\mapsto a^p\) for \(a\geq 0\). ◻
Corollary 2. For every \(p\geq 1\), there exists \(c'_p>0\) such that for every \(R>0\), \(x_0\in \Omega\) and every \(\mu, \nu\in \mathcal{P}_p(\Omega; d)\) it is \[\begin{align} W_p(\mu, \nu)^p \leq c'_p \left( R^{p-1}W^{(R)}_1(\mu, \nu) + \int_{d(x, x_0) \geq R/2} d(x, x_0)^p \mathop{} \! \mathrm{d}(\mu+\nu)\right). \end{align}\]
Proof. Let \(R>0\) and \(\mu, \nu\in \mathcal{P}_p(\Omega;d)\). According to in [61], there exists an optimal transport plan \(\pi'\in \Pi(\mu, \nu)\) between \(\mu\) and \(\nu\) with respect to the cost function \(d_R(x,y)^p=\min\{d(x,y), R\}^p\), i.e., \[\begin{align} W^{(R)}_p(\mu, \nu)^p = \int_{\Omega\times \Omega} d_R(x, y)^p\mathop{} \! \mathrm{d}\pi'(x, y). \end{align}\] Choose \(c'_p>0\) as in 13. It follows that \[\begin{align} \frac{1}{c'_p}W_p(\mu, \nu)^p &\leq \frac{1}{c'_p}\int_{\Omega\times \Omega} d(x, y)^p\mathop{} \! \mathrm{d}\pi'(x, y) \\ &\leq \int_{\Omega \times \Omega }d_R(x,y)^p\mathop{} \! \mathrm{d}\pi'(x,y)+ \int_{d(x, x_0)\geq R/2} d(x, x_0)^p\mathop{} \! \mathrm{d}\pi'(x, y) \\ & \phantom{as}+ \int_{d(x_0,y)\geq R/2} d(x_0, y)^p\mathop{} \! \mathrm{d}\pi'(x, y) \\ &= W^{(R)}_p(\mu, \nu)^p + \int_{d(x, x_0) \geq R/2} d(x, x_0)^p \mathop{} \! \mathrm{d}\mu(x) \\ & \phantom{as}+ \int_{d(x_0,y) \geq R/2} d(x_0, y)^p \mathop{} \! \mathrm{d}\nu(y), \end{align}\] where the latter follows by definition of \(\Pi(\mu, \nu)\ni \pi'\). Hence, the claim follows from the symmetry of the metric \(d\) and the estimate \(W^{(R)}_p(\mu, \nu)\leq R^{1-1/p}W_1^{(R)}(\mu, \nu)^{1/p}\), pointed out in 12. ◻
2 can be used to show Hölder continuity of the decoders \(D_{a,r}\). Note that the assumption of \((\Omega,d)\) being proper in the next result is only relevant for the specific selection of points \(x_i^{(a,r)}.\)
Corollary 3. Let \((\Omega, d)\) be a proper metric space. For every \(p\geq 1\) and \(a,r>0\), the decoder \(D_{a,r}: A_{a,r} \to(\mathcal{P}_p(\Omega;d), W_p)\) defined in 22 is Hölder continuous with exponent \(1/p\). The domain \(A_{a,r}\) can be equipped with any norm on \(\mathbb{R}^{k(a,r)}\).
Proof. For fixed \(a, r>0\), one can choose \(R>0\) large enough such that \[\max \{d(x_i^{(a,r)}, x^*): i=1,...,k(a,r)\}\leq r < R/2.\] Hence, for all \(c\in A_{a,r}\) it is \[\begin{align} \int_{d(x, x^*) \geq R/2} d(x, x^*)^p \mathop{} \! \mathrm{d}(D_{a,r}(c)) = 0. \end{align}\] Therefore, and by using Corollary 2, we have for arbitrary \(b,c\in A_{a,r}\) \[\begin{align} W_p(D_{a,r}(b), D_{a,r}(c))^p &\leq c'_p R^{p-1}W^{(R)}_1(D_{a,r}(b), D_{a,r}(c))\\ &\leq c'_p R^{p-1} W_1(D_{a,r}(b), D_{a,r}(c)) \\ &=c'_p R^{p-1} \sup_{\substack{f\in \mathop{\mathrm{Lip}}_1(\Omega), \\ f(x^*)=0}} \int_\Omega f \mathop{} \! \mathrm{d}(D_{a,r}(b)-D_{a,r}(c))\\ &=c'_p R^{p-1} \sup_{\substack{f\in \mathop{\mathrm{Lip}}_1(\Omega), \\ f(x^*)=0}} \sum_{i=1}^{k(a,r)} (b_i-c_i) f(x_i^{(a,r)})\\ &= c'_p R^{p-1} \sup_{\substack{f\in \mathop{\mathrm{Lip}}_1(\Omega), \\ f(x^*)=0}} \sum_{i=1}^{k(a,r)} \vert b_i-c_i\vert \cdot \vert f(x_i^{(a,r)})- f(x^*)\vert\\ &\leq c'_p R^{p-1} \sum_{i=1}^{k(a,r)} \vert b_i-c_i\vert \cdot d(x_i^{(a,r)}, x^*)\\ &\leq c'_p R^{p-1} r \vert b-c \vert_{1} \end{align}\] leading to the desired Hölder continuity with exponent \(1/p\). ◻
Furthermore, we need a characterization of compact sets in \((\mathcal{P}_p(\Omega), W_p)\). To do so, we follow [62] and adjust the result to proper metric spaces.
Proposition 1. Let \((\Omega, d)\) be a proper metric space and \(p\geq 1\). A set \(K\subseteq \mathcal{P}_p(\Omega;d)\) is relatively compact with respect to the \(p\)-Wasserstein distance \(W_p\) if and only if it has uniformly integrable \(p\)-moments, i.e.for any \(x_0\in \Omega\), it holds that \[\label{eq:wasserstein95compact} \lim_{R\to\infty} \sup_{\mu\in K}\int_{d(x_0, x)\geq R} d(x_0, x)^p\mathop{} \! \mathrm{d}\mu(x) = 0.\qquad{(1)}\]
Proof. The fact that every relatively compact set \(K\subseteq \mathcal{P}_p(\Omega;d)\) has uniformly integrable \(p\)-moments follows directly from the result in [62].
For the opposite direction, an additional tightness condition is needed [62]: A set \(K\subseteq
\mathcal{P}(\Omega)\) is called tight, if for all \(\varepsilon>0\), there exists a compact set \(\Omega_\varepsilon\) in \(\Omega\) such
that \(\mu(\Omega \setminus \Omega_\varepsilon)\leq \varepsilon\) for all \(\mu\in K.\) However, we will show in the following that for a given subset \(K\subseteq
\mathcal{P}_p(\Omega;d)\), the condition in ?? together with the properness of the metric space \((\Omega, d)\) already yields tightness of \(K.\)
Consider any \(K\subseteq \mathcal{P}_p(\Omega;d)\) which has uniformly integrable \(p\)-moments. Let \(\varepsilon>0\) and \(x_0\in \Omega.\) Due to the condition in ?? , one can choose \(R>0\) sufficiently large, so that \[\int_{d(x_0, x)\geq R} d(x_0, x)^p\mathop{} \! \mathrm{d}\mu(x)
< \varepsilon R^p \quad \text{for all}\;\mu \in K.\] Hence, for all \(\mu\in K\), we have the estimate \[\begin{align} \mu(d(x_0, x)> R) \leq \int_{d(x_0, x)\geq R}1 \mathop{} \!
\mathrm{d}\mu \leq \int_{d(x_0, x)\geq R} \left( \frac{d(x_0, x)}{R} \right)^p \mathop{} \! \mathrm{d}\mu(x) < \varepsilon.
\end{align}\] With \(\mu(d(x_0, x)> R) = \mu(\Omega \setminus \overline{B}_R(x_0))\) and the fact that closed balls are compact due to the properness of \(\Omega\), it follows that
\(K\) is indeed tight. ◻
Theorem 10. Let \((\Omega, d)\) be a proper metric space and \(p \geq 1\). Then \(\mathcal{P}_p(\Omega;d)\) equipped with the metric \(W_p\) has the input-EDAP.
Proof. Choose sequences \((r_n)_{n\in \mathbb{N}}\) and \((a_n)_{n\in \mathbb{N}}\) of positive real numbers such that \[\begin{align} r_n \xrightarrow{n\to\infty} \infty&&\text{and} &&a_n r_n^{p-1} \xrightarrow{n\to\infty} 0. \end{align}\] Furthermore, recall the encoders \(E_n \mathrel{\vcenter{:}}= E_{a_n,r_n}\) and decoders \(D_n\mathrel{\vcenter{:}}= D_{a_n,r_n}\) as well as the fixed \(x^*\in \Omega\) from 22. For any \(\mu\in \mathcal{P}_p(\Omega; d)\) we use the notation \(\mu_n\mathrel{\vcenter{:}}= D_n\circ E_n (\mu)\) and \[\begin{align} \varepsilon_n(\mu)\mathrel{\vcenter{:}}= \int_{d(x, x^*)> r_n}d(x, x^*)^p \mathop{} \! \mathrm{d}\mu. \end{align}\] Note that \[\begin{align} \mu(d(x, x^*)> r_n) = \int_{d(x, x^*)> r_n}1 \mathop{} \! \mathrm{d}\mu < \int_{d(x, x^*)> r_n}\left(\frac{d(x, x^*)}{r_n}\right)^p \mathop{} \! \mathrm{d}\mu = \frac{\varepsilon_n(\mu)}{r_n^p}. \end{align}\] By choosing \(R=3r_n\) in Corollary 2, we obtain for any \(\mu\in \mathcal{P}_p(\Omega; d)\) that \[\begin{align} W_p(\mu,\mu_n)^p &\leq c'_p \left( (3r_n)^{p-1} W_1^{(3r_n)}(\mu,\mu_n) + \int_{d(x, x^*)\geq 1.5r_n} d(x, x^*)^p \mathop{} \! \mathrm{d}(\mu+\mu_n)(x) \right)\\ &\leq c'_p \left( (3r_n)^{p-1}W_1^{(3r_n)}(\mu,\mu_n) + \varepsilon_n(\mu) \right), \end{align}\] where the latter is due to the fact that, by definition, \(\mu_n(d(x, x^*)>r_n) = 0.\) For any \(f:\Omega\to \mathbb{R}\) with \(f(x^*)=0\) and which is \(1\)-Lipschitz with respect to the bounded metric \(d^{(3r_n)}(x,y)=\min\{d(x,y), 3r_n\}\), we observe for every \(\mu\in \mathcal{P}_p(\Omega; d)\) that \[\begin{align} \left \vert \int_{\Omega}f \mathop{} \! \mathrm{d}(\mu - \mu_n) \right \vert &\leq \left \vert \int_{d(x, x^*)\leq r_n}f \mathop{} \! \mathrm{d}(\mu - \mu_n) \right \vert + \left \vert \int_{d(x, x^*)> r_n}f \mathop{} \! \mathrm{d}\mu \right \vert\\ &\leq \scalebox{0.86}{\displaystyle \left \vert \sum_{i=1}^{k(a_n,r_n)} \int_{I_i^{(a_n,r_n)}}f(x) - f(x_i^{(a_n,r_n)}) \mathop{} \! \mathrm{d}\mu(x) \right \vert + \int_{d(x, x^*)> r_n}\vert f(x) - f(x^*)\vert \mathop{} \! \mathrm{d}\mu(x)}\\ &\leq \scalebox{0.97}{\displaystyle \sum_{i=1}^{k(a_n,r_n)} \int_{I_i^{(a_n,r_n)}} d(x, x_i^{(a_n,r_n)})\mathop{} \! \mathrm{d}\mu(x) + \int_{d(x, x^*)> r_n}d^{(3r_n)}(x, x^*)\mathop{} \! \mathrm{d}\mu(x)}\\ &\leq \max \{\mathrm{diam}(I_i^{(a_n,r_n)}):i=1,...,k(a_n,r_n)\} + 3r_n\mu(d(x, x^*)>r_n)\\ &\leq a_n + 3\varepsilon_n(\mu) r_n^{1-p}. \end{align}\] Hence, for any \(\mu\in \mathcal{P}_p(\Omega; d)\) it is \[\begin{align} W_1^{(3r_n)}(\mu, \mu_n) \leq a_n + 3\varepsilon_n(\mu) r_n^{1-p}, \end{align}\] which implies that \[\begin{align} W_p(\mu, \mu_n)^p \leq c'_p (3r_n)^{p-1} a_n + c'_p\varepsilon_n(\mu)(3^p+1). \end{align}\] By definition of \(a_n\), we have that \(c'_p (3r_n)^{p-1} a_n\) converges to zero independently on \(\mu\). For any compact \(K\subseteq \mathcal{P}_p(\Omega;d)\) with respect to the \(W_p\) distance, we have that \(\sup_{\mu\in K}\varepsilon_n(\mu) \xrightarrow{n\to\infty} 0\) due to \(r_n\xrightarrow{n\to \infty}\infty\) and 1. Hence, for any compact \(K\subseteq \mathcal{P}_p(\Omega; d)\), we have that \[\begin{align} \sup_{\mu\in K} W_p(\mu, D_n\circ E_n (\mu))= \sup_{\mu\in K} W_p(\mu, \mu_n) \xrightarrow{n\to\infty} 0, \end{align}\] which shows property (iii) in Definition 12 of the input-EDAP. Property (ii) is covered by Corollary 3 and (i) is due to the fact, that \[\sup_{\mu\in \mathcal{P}_p(\Omega; d)} \vert E_n(\mu)\vert_{1} \leq 1.\] Hence, \(\mathcal{P}_p(\Omega; d)\) equipped with the metric \(W_p\) has the input-EDAP. ◻
Below, we observe the input-EDAP for two common subsets of \(\mathcal{P}_p(\Omega;d)\). The first result is an immediate consequence of 8 and 10 as the decoders in 10 map to compactly supported measures.
Corollary 4. Let \((\Omega, d)\) be a proper metric space and let \(p\geq 1\). The set of measures in \(\mathcal{P}(\Omega)\) with compact support has the input-EDAP, when being equipped with any \(p\)-Wasserstein distance.
Note that in the next result, one could also consider absolutely continuous measures in \(\mathcal{P}_p(\Omega;\vert \cdot \vert)\) for certain closed subsets \(\Omega\subset \mathbb{R}^m\), which we avoid for better readability.
Corollary 5. Let \(p\geq 1\). Consider the set \(\mathcal{P}^{ac}_p\) of measures \(\mu\in \mathcal{P}_p(\mathbb{R}^m;\vert \cdot \vert)\) that are absolutely continuous w.r.t. the \(m\)-dimensional Lebesgue measure \(\lambda\). Then \((\mathcal{P}^{ac}_p, W_p)\) has both the input- and output-EDAP.
Proof. Recall the sequence of encoders \(E_n\) and decoders \(D_n\) from 10. We cannot deduce the input-EDAP of \(\mathcal{P}^{ac}_p\) from 8 because
\(D_n\) does not map into \(\mathcal{P}^{ac}_p\). Nevertheless, we can construct different decoders. Consider a null sequence \(\varepsilon_n>0\) which
satisfies that \[\begin{align} \varepsilon_nr_n^{p-1} \xrightarrow{n\to\infty} 0 \mathrm{ \, \, \, and \, \, \,} B_{\varepsilon_n}(x_i^{(a_n, r_n)}) \subset B_{1.1 r_n}(x^*) \mathrm{\, for all }i.
\end{align}\] For \(y\in \mathbb{R}^m\), consider \(\mu^{(n)}_y\in \mathcal{P}^{ac}_p\) which has the density \(g_y^{(n)}\) with respect to \(\lambda\), where \[\begin{align} g_y^{(n)}(z)\mathrel{\vcenter{:}}= \begin{cases} \lambda(B_{\varepsilon_n}(y))^{-1} \mathrm{\, if \,} z \in B_{\varepsilon_n}(y),\\ 0, \mathrm{\, else.} \end{cases}
\end{align}\] Recall \(A_{a_n, r_n} = \{ c\in \mathbb{R}^{k(a_n, r_n)}: c_i\geq 0, \sum_i c_i \leq 1\}\), the domain of \(D_n\), and define the new decoders via \[\begin{align} \tilde{D}_n:A_{a_n, r_n} &\longrightarrow \mathcal{P}^{ac}_p\\ c &\longmapsto \sum_{i=1}^{k(a_n, r_n)} c_i \mu_{x_i^{(a_n, r_n)}}^{(n)} + \left(1 - \sum_{i=1}^{k(a_n, r_n)}c_i \right) \mu_{x^*}^{(n)}.
\end{align}\] Hölder continuity of \(\tilde{D}_n\) can be derived similarly as for \(D_n\) in 3. By applying 2 with \(R=3r_n\), and due
to \(B_{\varepsilon_n}(x_i^{(a_n, r_n)}) \subset B_{1.1 r_n}(x^*)\), it follows for every \(c\in A_{a_n, r_n}\) that \[\begin{align} W_p(D_n c, \tilde{D}_n c)^p
\leq c_p'(3 r_n)^{p-1} W_1(D_n c, \tilde{D}_n c) \leq c_p'(3 r_n)^{p-1} \varepsilon_n,
\end{align}\] where the last inequality is due to the fact that for every \(1\)-Lipschitz \(f:\mathbb{R}^m\to \mathbb{R}\) and \(y\in \mathbb{R}^m\),
it is \[\begin{align} \left \vert \int_{\mathbb{R}^m} f \mathop{} \! \mathrm{d}(\delta_y-\mu^{(n)}_y)\right \vert &\leq \lambda(B_{\varepsilon_n}(y))^{-1} \int_{B_{\varepsilon_n}(y)}\vert f(y) - f(x) \vert\mathop{} \!
\mathrm{d}\lambda(x)\\ &\leq \lambda(B_{\varepsilon_n}(y))^{-1} \int_{B_{\varepsilon_n}(y)}\vert y - x \vert\mathop{} \! \mathrm{d}\lambda(x) \leq \varepsilon_n.
\end{align}\] Therefore, for every \(\mu\in \mathcal{P}^{ac}_p\), it holds that \[\begin{align} W_p(\mu, \tilde{D}_n \circ E_n (\mu)) &\leq W_p(\mu, D_n \circ E_n (\mu)) + (c_p'(3
r_n)^{p-1} \varepsilon_n)^{1/p}.
\end{align}\] Hence, it follows from 10 and \(\varepsilon_n r_n^{p-1}\xrightarrow{n\to\infty}0\) that
\(\mathcal{P}_p^{ac}\) has the input-EDAP.
For the output-EDAP, we need to define decoders on \(\mathbb{R}^{k(a_n, r_n)}\), see 13. Consider the Euclidean projection
\(\pi_n:\mathbb{R}^{k(a_n, r_n)}\to A_{a_n, r_n}\) onto the convex, closed set \(A_{a_n, r_n}\subset \mathbb{R}^{k(a_n, r_n)}\). We claim that \(\tilde{D}_n\circ
\pi_n\) and \(E_n:\mathcal{P}_p^{ac}\to A_{a_n, r_n}\) are suitable decoders and encoders for the output-EDAP of \(\mathcal{P}_p^{ac}\). Hölder-continuity of \(\tilde{D}_n\circ \pi_n\) is preserved due to the Lipschitz continuity of \(\pi_n\), which follows from [63]. Note that \(\tilde{D}_n\circ \pi_n \circ E_n= \tilde{D}_n \circ E_n\). Therefore, it only remains to prove that the encoders \(E_n\) restricted to \(\mathcal{P}_p^{ac}\) are continuous. This follows from the Portmonteau theorem [64], since the \(I_i^{(a_n, r_n)}\) can be constructed such that their boundaries have zero Lebesgue measure. ◻
Below, we show that for any compact metric space \((\Omega, d)\), the \(p\)-Wasserstein spaces also have the output-EDAP. Note that for compact \(\Omega\), all \(\mathcal{P}_p(\Omega; d)\) coincide and \(\mathcal{P}(\Omega)\mathrel{\vcenter{:}}= \mathcal{P}_p(\Omega;d)\) is compact with respect to every \(p\)-Wasserstein metric, see [65].
Theorem 11. Let \(\Omega\) be a compact metric space. Then for every \(p\geq 1\), the \(p\)-Wasserstein space \((\mathcal{P}(\Omega), W_p)\) has both the input- and output-EDAP.
Proof. It only remains to show the output-EDAP. Let \(P_{\frac{1}{n}, i}\) be the partition of unity from 10 corresponding to a \(\frac{1}{n}\)-covering \(x^{(n)}_1,...., x_{k(n)}^{(n)}\) of \(\Omega\). For some fixed \(x^*\in \Omega\), consider the mappings \[\begin{align} E_n:\mathcal{P}(\Omega) &\longrightarrow \mathbb{R}^{k(n)} &D_n:&\,\{c\in \mathbb{R}^{k(n)}: c_i\geq 0, \sum_ic_i \leq 1\} \longrightarrow \mathcal{P}(\Omega) \\ E_n(\mu)_i &=\int_\Omega P_{\frac{1}{n}, i}\mathop{} \! \mathrm{d}\mu, &&c \longmapsto \sum_{i=1}^{k(n)} c_i \delta_{x_i^{(n)}} + \left( 1 - \sum_{i=1}^{k(n)} c_i\right)\delta_{x^*}. \end{align}\] We show below that the encoders \(E_n\) and decoders \(D_n\circ\pi_n\) are suitable choices in 13 of the output-EDAP, where \(\pi_n\) denotes the Euclidean projection onto the closed, convex set \(\{c\in \mathbb{R}^{k(n)}: c_i\geq 0, \sum_ic_i \leq 1\}\). Since \(P_{\frac{1}{n}, i}\in \mathcal{C}(\Omega)\) it follows that \(E_n\) is continuous w.r.t. to weak convergence of probability measures and hence w.r.t. to any \(p\)-Wasserstein distance, see for example [61]. This verifies (i) in 13. Hölder continuity of \(D_n\circ \pi_n\) follows from Hölder and Lipschitz continuity of \(D_n\) and \(\pi_n\), respectively. Further, consider any \(\mu\in \mathcal{P}(\Omega)\) and any 1-Lipschitz \(f:\Omega \to \mathbb{R}\). It holds that \[\begin{align} \left \vert \int_\Omega f \mathop{} \! \mathrm{d}(\mu - D_n \circ E_n(\mu)) \right \vert &= \left \vert \int_\Omega f(x) - \sum_i P_{\frac{1}{n},i}(x) f(x_i^{(n)})d\mu(x) \right \vert\\ &\leq \sup_{x\in \Omega} \left \vert f(x) - \sum_i P_{\frac{1}{n},i}(x) f(x_i^{(n)}) \right \vert. \end{align}\] For fixed \(x'\in \Omega\), the set of \(1\)-Lipschitz functions \(f\) with \(f(x') = 0\) is relatively compact in \(\mathcal{C}(\Omega)\) due to the Arzela-Ascoli theorem. Therefore, it is due to 7 that \[\begin{align} \sup_{\mu\in \mathcal{P}(\Omega)} W_1(\mu, D_n\circ E_n(\mu)) = \sup_{\substack{f\in Lip_1(\Omega), \\ f(x')=0}} \sup_{x\in \Omega}\vert f(x) - \sum_i P_{\frac{1}{n},i}(x) f(x_i^{(n)}) \vert \xrightarrow{n\to \infty}0. \end{align}\] Hence, \(D_n\circ E_n = D_n \circ \pi_n\circ E_n\) converges uniformly to the identity on \(\mathcal{P}(\Omega)\) w.r.t. to the \(1\)-Wasserstein distance \(W_1\). According to 12, uniform convergence is w.r.t. to any \(W_p\). Therefore, \((\mathcal{P}(\Omega), W_p)\) has the output-EDAP. ◻
Within this section, we consider Skorohod spaces, which are the set of càdlàg functions equipped with the so-called Skorohod topology. We show in 13 that càdlàg functions on \([0,R]\), equipped with any metric inducing the Skorohod topology, satisfy the input-EDAP. In 9, we verify this for càdlàg functions on \([0, \infty)\). It remains an open question whether these spaces also fulfill the output-EDAP. For definitions and basic properties, we mainly follow [64].
Definition 23 (Càdlàg-Functions). Let \(I\subseteq \mathbb{R}\) be a closed interval. A function \(f:I\to \mathbb{R}\) is called a càdlàg function if the following holds:
\(f\) is right-continuous;
All left-limits exist, i.e., \(\lim_{s\nearrow t} f(s)\in \mathbb{R}.\)
The set of all càdlàg functions \(I\to \mathbb{R}\) is denoted by \(\mathcal{D}(I)\).
For simplicity, we restrict ourself to real-valued càdlàg functions. However, their definition as well as the considerations below might also be extended to càdlàg functions with values in other normed (or metric) spaces than \(\mathbb{R}\). Note that for \(R\in (0,\infty)\), \(\mathcal{D}([0,R])\) can be equipped with the supremum norm, but becomes a non-separable space. Instead, one can define the following metric \(d_R\), which induces the so-called Skorohod topology, and turns \(\mathcal{D}([0,R])\) into a separable metric space [64].
Definition 24. Let \(\Lambda_R\) be the set of all strictly increasing, continuous mappings \(\lambda:[0,R]\to[0,R]\) with \(\lambda(0)=0\) and \(\lambda(R)=R\). For \(f,g\in \mathcal{D}([0,R])\) define \[\begin{align} d_R(f,g)\mathrel{\vcenter{:}}= \inf_{\lambda\in \Lambda_R} \max \Big\{\sup_{t\in [0,R]}\vert t- \lambda(t)\vert, \sup_{t\in [0,R]}\vert f(t)- g(\lambda(t))\vert \Big\}. \end{align}\]
Of course, \(\big(\mathcal{D}([0,R]), d_R\big)\) is an \(\mathbb{R}\)-vector space with pointwise addition of càdlàg functions. However, it is not a topological vector space, as pointwise addition of càdlàg functions is not a topological group [64]. Equipped with \(d_R\), the space \(\mathcal{D}([0, R])\) is not complete, but there is a topologically equivalent metric \(d^\circ_R\), which turns it into a complete separable space [64]. Due to Lemma 7, the input-EDAP is preserved for topologically equivalent metrics. Thus, when showing below that \((\mathcal{D}([0, R]), d_R)\) has the input-EDAP, this automatically implies the input-EDAP of \((\mathcal{D}([0, R]), d_R^\circ)\), where the same encoders and decoders can be chosen. The consideration of the following mapping \(A_\sigma^{(R)}\) will be helpful, as it has a canonical decomposition into an encoder and decoder.
Definition 25. Consider \(0=s_0<s_1<...<s_k=R\), write \(\sigma=\{s_0,...,s_k\}\) and define \[\begin{align} A_\sigma^{(R)}:\mathcal{D}([0,R]) &\longrightarrow \mathcal{D}([0,R])\\ A_\sigma^{(R)} (f)(t) &\mathrel{\vcenter{:}}= \begin{cases} f(s_{i-1}) \mathrm{ \, if \, } t\in [s_{i-1}, s_i) \mathrm{ \, for \, } i=1,...,k,\\ f(s_k) \mathrm{ \, if \, } t= s_k. \end{cases} \end{align}\] We can write \(A^{(R)}_{\sigma} = D_{\sigma}\circ E_{\sigma}\), where \[\begin{align} E_{\sigma}(f) &\mathrel{\vcenter{:}}= \Big(f(s_0),f(s_1), ..., f(s_k)\Big)^T,\\ D_{\sigma}(a)(t) &\mathrel{\vcenter{:}}= \begin{cases} a_{i-1} \mathrm{ \, if \, } t\in [s_{i-1}, s_i) \mathrm{ \, for \, } i=1,...,k,\\ a_k \mathrm{ \, if \, } t= s_k. \end{cases} \end{align}\] For readability, we omit the dependence of \(E_\sigma, D_\sigma\) on \(R.\) We call \(E_\sigma\) and \(D_\sigma\) a Skorohod encoder and decoder, respectively.
Sampling, and hence \(E_\sigma\) and \(A_\sigma^{(R)}\), is not continuous w.r.t. the metric \(d_R\) [64]. However, we show in what follows that for suitable \(\sigma\), the encoder and decoder fulfill the requirements in Definition 12 of the input-EDAP. Although it would be sufficient to prove continuity of the decoders, we show that they are even Lipschitz continuous.
Lemma 14. \(D_\sigma\) is Lipschitz continuous for any \(\sigma=\{s_0,s_1,...,s_k\}\subset[0,R]\).
Proof. For \(a,b\in \mathbb{R}^{k+1}\), it holds that \[\begin{align} d_R(D_\sigma(a), D_\sigma(b)) &= \inf_{\lambda\in \Lambda_R} \max \Big\{\sup_{t\in [0,R]}\vert t- \lambda(t)\vert, \sup_{t\in [0,R]}\vert D_\sigma(a)(t)- D_\sigma(b)(\lambda(t))\vert \Big\} \\ &\leq \sup_{t\in [0,R]}\vert D_\sigma(a)(t)- D_\sigma(b)(t)\vert = \vert a-b\vert_{\infty}. \end{align}\] ◻
We need the following result, which can be found in [64].
Lemma 15. Consider \(0=s_0< s_1< ...<s_k=R\) and write \(\sigma=\{s_0, ..., s_k\}\). If \(\vert s_i - s_{i-1}\vert < \delta\) holds for all \(i=1,...,k\), it follows that \[\begin{align} d_R(A_\sigma^{(R)} f, f) \leq \max \{ \delta, \overline{w}_R(f, \delta)\}, \end{align}\] where \(\overline{w}_R(f, \delta)\) is the modulus of continuity of the càdlàg function \(f\), see [64], or [64] for \(R=1\).
According to [64], relatively compact subsets of \((\mathcal{D}([0, R]), d_R)\) can be characterized as follows:
Theorem 12. A set \(K\subset \mathcal{D}([0, R])\) is relatively compact w.r.t. \(d_R\) if and only if \[\begin{align} \sup_{f\in K} \sup_{t\in [0,R]} \vert f(t)\vert < \infty &&\text{and} && \sup_{f\in K} \overline{w}_R(f, \delta)\xrightarrow{\delta \to 0} 0. \end{align}\]
An immediate consequence of 15 and 12 is that if \(\sigma\) is fine enough within \([0,R]\), it follows that \(A_\sigma^{(R)}=D_\sigma \circ E_\sigma\) uniformly approximates the identity mapping on compact sets.
Corollary 6. For \(n\in \mathbb{N}\), consider \(0=s^{(n)}_0< s_1^{(n)}<...<s_{k(n)}^{(n)}=R\) and write \(\sigma_n=\{s^{(n)}_0, s_1^{(n)},...,s_{k(n)}^{(n)}\}\). Assume that \[\begin{align} \max_{i=1,\dots,k(n)} \vert s_i^{(n)}- s_{i-1}^{(n)}\vert \xrightarrow{n \to \infty} 0. \end{align}\] Then for every compact \(K\subset \mathcal{D}([0,R])\), it is \[\begin{align} \sup_{f\in K} d_R\left(A_{\sigma_n}^{(R)}(f), f\right) \xrightarrow{n \to \infty} 0. \end{align}\]
Theorem 13. The space \(\mathcal{D}([0,R])\) equipped with the metric \(d_R\) has the input-EDAP.
Proof. Consider suitable sets \(\sigma_n\) as in Corollary 6. It only remains to verify property (i) in Definition 12 of the encoders \(E_{\sigma_n}\). Choose \(r:\mathbb{N}\to (0,\infty)\) such that for all \(c\in \mathbb{R}^{k(n)}\) it is \[\begin{align} \vert c \vert \leq \frac{r(n)}{n}\vert c\vert_{\infty}. \end{align}\] Let \(K\subset \mathcal{D}([0,R])\) be compact. Due to Theorem 12, there is \(N_K\in \mathbb{N}\) such that \[\begin{align} \sup_{f\in K} \sup_{t\in [0,R]} \vert f(t)\vert \leq N_K. \end{align}\] Hence, for all \(n\geq N_K\) it follows that \[\begin{align} \sup_{f\in K} \vert E_{\sigma_n}(f) \vert \leq \frac{r(n)}{n} \sup_{f\in K} \vert E_{\sigma_n}(f) \vert_{\infty} \leq \frac{r(n)}{n} \sup_{f\in K} \sup_{t\in [0,R]} \vert f(t)\vert \leq r(n). \end{align}\] ◻
We recall that one of the main goals of this work is to approximate any continuous operator \(G:\mathcal{X}\to\mathcal{Y}\) between suitable separable metric spaces \(\mathcal{X}\) and \(\mathcal{Y}\) by a sequence of encoder-decoder architectures \(G_n=D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}:\mathcal{X}\to \mathcal{Y}\) that converges uniformly to \(G\) on every compact set \(K\subseteq \mathcal{X}\), see statement of 2. In this section, we prove in 14 that this is possible if encoders and decoders from the input- and output-EDAP are used for the construction of \(G_n\), see [def:input_EDAP,def:output_EDAP]. If only statement is desired, so when \(G_n\) is allowed to depend on \(K\), we further present a corresponding universal approximation theorem at the end of this section. For this weaker type of approximation, the definitions of the EDAPs can be relaxed, which would then also allow for the consideration of non-separable spaces.
Due to the encoding and decoding, the operator approximation task can be reduced to a function approximation task, that is, approximating functions between spaces \(\mathbb{K}^a\) by \(\varphi_n\) used in the encoder-decoder architecture \(G_n=D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\). Therefore, the functions \(\varphi_n\) must be chosen from a sufficiently rich set of functions, which leads to the term of universal function approximators. A similar terminology and definition has been considered, for example, within the work of Kratsios et al. [36].
Definition 26 (Universal function approximator). A set \(\mathcal{F}\) of functions \(\mathbb{K}^a\to \mathbb{K}^b\) is called a universal function approximator if for any \(a,b\in \mathbb{N}\), compact set \(K\subset \mathbb{K}^a\) and continuous function \(f:K\to \mathbb{K}^b\) there exists a sequence \((f_n)_{n\in \mathbb{N}}\) in \(\mathcal{F}\) such that \[\begin{align} \sup_{x\in K} \big \vert f(x) - f_n(x) \big \vert \xrightarrow[]{n\to\infty} 0. \end{align}\] Note that \(\mathcal{F}\) may contain discontinuous functions.
There are different possible choices for universal function approximators. For example, one can consider different types of neural network architectures such as fully connected or convolutional neural networks [22], [25], [66]. Moreover, polynomials build another type of universal function approximators according to the Stone-Weierstraß theorem [42].
Remark 10. Let \(\mathcal{F}\) be a universal function approximator, which consists of continuous functions. Since \(\mathbb{K}^a\) is hemicompact, it is due to 3 that \(\mathcal{F}\cap \mathcal{C}(\mathbb{K}^a, \mathbb{K}^b)\) is sequentially dense in \(\mathcal{C}(\mathbb{K}^a, \mathbb{K}^b)\). Thus, for every \(f\in \mathcal{C}(\mathbb{K}^a, \mathbb{K}^b)\) there is a sequence \((f_n)_{n\in \mathbb{N}}\) in \(\mathcal{F}\) that converges uniformly to \(f\) on every compact \(K\subset \mathbb{K}^a\). This means that the approximating sequence \((f_n)_{n\in \mathbb{N}}\) can be chosen independently on the compact set \(K\) in 26.
The following basic lemma will be useful for showing our operator approximation theorem. Similar versions have been derived and used in several other studies for proving universal operator approximation results, see for example [1], [10], [11], [14], [28]. We state a general version below which is similar to [29], in which it was shown for Banach spaces \(\mathcal{X}\) and \(\mathcal{Y}\) and some continuous sequence of operators \(G_n\), using a different proof.
Lemma 16. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces and \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\). Consider any sequence \(G_n:\mathcal{X}\to \mathcal{Y}\) that converges uniformly on every compact set to \(G\) and assume that all \(G_n\) map compact sets to relatively compact sets. Then for any compact \(K\subseteq \mathcal{X}\) the following set is relatively compact: \[\begin{align} V\mathrel{\vcenter{:}}= G(K)\cup \left(\bigcup_{n=1}^\infty G_n(K) \right). \end{align}\] Note that \(G_n\) is allowed to be discontinuous.
Proof. Consider a sequence \((g_n)_{n\in \mathbb{N}}\) in \(V\). We show that it has a subsequence converging to some \(g\in \mathcal{Y}\). Case 1: If infinitely many \(g_n\) belong to \[\begin{align} V_N \mathrel{\vcenter{:}}= G(K) \cup \left(\bigcup_{n=1}^N G_n(K) \right) \end{align}\] for some \(N\in \mathbb{N}\), the existence of such a subsequence follows from the relative compactness of \(V_N\). Case 2: Otherwise, assume without loss of generality that \(g_n = G_{m(n)}(f_n)\), where \(m(n)\in \mathbb{N}\) goes to infinity and \(f_n\in K\). By compactness of \(K\), there exists a subsequence \((f_{n_k})_{k\in \mathbb{N}}\) converging to some \(f\in K\). Therefore, by continuity of \(G\) and uniform convergence of \(G_n\) to \(G\) on \(K\), we conclude that \[\begin{align} d_\mathcal{Y}\big( g_{n_k} \, ,\, G(f)\big) &\leq d_\mathcal{Y}\big( G_{m(n_k)}(f_{n_k}) \, ,\, G(f_{n_k})\big) + d_\mathcal{Y}\big( G(f_{n_k}) \, ,\, G(f) \big) \\ &\leq \sup_{z\in K} d_\mathcal{Y}\big( G_{m(n_k)}(z) \, ,\, G(z) \big) + d_\mathcal{Y}\big( G(f_{n_k}) \, ,\, G(f) \big) \xrightarrow{k\to\infty} 0. \end{align}\] ◻
Some consequence of the previous lemma is the following result, which shows that uniform convergence on every compact set for sequences of operators is preserved under concatenation.
Corollary 7. Let \(\mathcal{X},(\mathcal{Y}, d_\mathcal{Y}),(\mathcal{Z}, d_\mathcal{Z})\) be metric spaces, \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and \(H\in \mathcal{C}(\mathcal{Y}, \mathcal{Z})\). In addition, let \(G_n:\mathcal{X}\to \mathcal{Y}\) and \(H_n:\mathcal{Y}\to \mathcal{Z}\) be sequences converging uniformly on all compact sets to \(G\) and \(H\), respectively. Assume that for each compact \(K\subseteq\mathcal{X}\), the sets \(G_n(K)\) are relatively compact for \(n\geq N_K\in \mathbb{N}\). Then for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{f\in K} d_\mathcal{Z}\big( (H\circ G)(f) \, ,\, (H_n\circ G_n) (f) \big) \xrightarrow{n\to\infty} 0. \end{align}\] Note that \(G_n, H_n\) are allowed to be discontinuous.
Proof. Let \(K\subseteq \mathcal{X}\) be compact and \(\varepsilon>0\).Without loss of generality, assume that \(G_n(K)\) is relatively compact for every \(n\in \mathbb{N}\). Otherwise, consider the sequence \(G_n\) starting at some index \(n=N_K\in \mathbb{N}\). According to Lemma 16 the set \[\begin{align} V \mathrel{\vcenter{:}}= G(K) \cup \left( \bigcup_{n=1}^\infty G_n(K)\right) \end{align}\] is relatively compact. Therefore, \(H\) is uniformly continuous on \(\overline{V}\), which means that there is some \(\delta>0\) such that \(d_\mathcal{Z}\big( H (f) , H (g)\big) < \varepsilon / 2\) whenever \(f,g\in V\) with \(d_\mathcal{Y}\big( f , g \big) < \delta\). Due to uniform convergence of \(G_n\) to \(G\) on \(K\), there exists \(N_G\in \mathbb{N}\) such that for all \(n\geq N_G\) it holds that \[\begin{align} \sup_{f\in K} d_\mathcal{Y}\big( G_n (f) \, ,\, G(f) \big) < \delta. \end{align}\] Therefore, we conclude for those \(n\geq N_G\) that \[\begin{align} \sup_{f\in K} d_\mathcal{Z}\big( (H\circ G) (f) \, ,\, (H \circ G_n)(f) \big) < \frac{\varepsilon}{2}. \end{align}\] Since \(H_n\) converges uniformly to \(H\) on the compact set \(\overline{V}\), there exists some \(N_H\in \mathbb{N}\) such that for all \(n\geq N_H\) it is \[\begin{align} \sup_{f\in K} d_\mathcal{Z}\big( (H \circ G_n) (f) \, ,\, (H_n \circ G_n)(f) \big) \leq \sup_{g\in \overline{V}} d_\mathcal{Z}\big(H (g)\, ,\, H_n (g) \big) < \frac{\varepsilon}{2}. \end{align}\] It follows from the triangular inequality and by choosing \(n\geq \max\{N_G, N_H\}\) that \[\begin{align} \sup_{f\in K} d_\mathcal{Z}\big( (H \circ G) (f) \, ,\, (H_n\circ G_n)(f) \big) < \varepsilon, \end{align}\] which shows the claim. ◻
With the preceding considerations, we are now prepared to prove our main result: a universal operator approximation theorem for operators between spaces having the EDAP. It shows that operator approximation is possible by a sequence of encoder-decoder architectures that converge uniformly to the given operator on every compact set, which is statement in 2. As discussed in 3, there are diverse choices for suitable encoders and decoders. As we will point out in Section 5.1, the theorem is hence applicable, in particular, to many famous architectures used in the field of operator learning, but it is not restricted to neural networks.
Theorem 14. Let \((\mathcal{X}, d_\mathcal{X})\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces having the input-EDAP and output-EDAP, respectively. Denote suitable encoders and decoders by \(D_n^\mathcal{X}, E_n^\mathcal{X}\) and \(D_n^\mathcal{Y}, E_n^\mathcal{Y}\). Let \(\mathcal{F}\) be a set of universal function approximators. Then for every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) there exists a sequence \(\varphi_n\in \mathcal{F}\) such that for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{f\in K} d_\mathcal{Y}\Big( G(f) \,,\, \left(D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\right)(f) \Big) \xrightarrow{n\to\infty}0. \end{align}\]
Proof. Consider some \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\). As all decoders \(D_n^\mathcal{Y}\) are uniformly continuous, by 13 of the output-EDAP, there exist \(\delta_n>0\) such that \[\begin{align} \label{thm:sequential95density95normed95eq00} d_\mathcal{Y}\left(D_n^\mathcal{Y}(a), D_n^\mathcal{Y}(b) \right) \leq \frac{1}{n} \mathrm{ \, for all \, } a,b\in \mathbb{K}^{w_\mathcal{Y}(n)} \mathrm{ \, with \, }\vert a-b\vert \leq \delta_n. \end{align}\tag{5}\] Choose for \(\mathcal{X}\) the function \(r:\mathbb{N}\to (0,\infty)\) as in 12. For every \(n\in \mathbb{N}\) define the compact sets \[\begin{align} B_n \mathrel{\vcenter{:}}= \overline{E_n^\mathcal{X}(\mathcal{X})}\cap \overline{B}_{r(n)}(0) \subset \mathbb{K}^{w_\mathcal{X}(n)}, \end{align}\] where \(\overline{B}_{r(n)}(0)\) is the closed ball around \(0\in \mathbb{K}^{w_\mathcal{X}(n)}\) of radius \(r(n)\). Since \(B_n\) is closed and bounded, it is compact in the finite dimensional space \(\mathbb{K}^{w_\mathcal{X}(n)}\). Therefore, since \(D_n^\mathcal{X}\) and \(E_n^\mathcal{Y}\) are continuous and by 26 of universal function approximators, for all \(n\in \mathbb{N}\) there exists \(\varphi_n: \mathbb{K}^{w_\mathcal{X}(n)} \to \mathbb{K}^{w_\mathcal{Y}(n)}\) in \(\mathcal{F}\) that satisfies \[\begin{align} \label{thm:sequential95density95normed95eq11} \sup_{x\in B_n} \Big \vert \left(E_n^\mathcal{Y}\circ G \circ D_n^\mathcal{X}\right)(x) - \varphi_n(x) \Big \vert \leq \delta_n, \end{align}\tag{6}\] where \(\delta_n\) is chosen as in 5 . Let \(K\subseteq \mathcal{X}\) be compact. Then there exists some \(N_K\in \mathbb{N}\) such that for all \(n\geq N_K\) it is \[\begin{align} \label{thm:sequential95density95normed95eq22} \sup_{f\in K}\left \vert E_n^\mathcal{X}(f) \right \vert \leq r(n). \end{align}\tag{7}\] The preceding observations allow us to make for \(n\geq N_K\) the estimates \[\begin{align} &\sup_{f\in K} d_\mathcal{Y}\Big( \left(D_n^\mathcal{Y}\circ E_n^\mathcal{Y}\circ G \circ D_n^\mathcal{X}\circ E_n^\mathcal{X}\right) (f)\, , \, \left(D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\right)(f) \Big) \\ \overset{\eqref{thm:sequential95density95normed95eq22}}{\leq}&\sup_{x\in B_n} d_\mathcal{Y}\Big( \left(D_n^\mathcal{Y}\circ E_n^\mathcal{Y}\circ G \circ D_n^\mathcal{X}\right) (x)\, , \, \left(D_n^\mathcal{Y}\circ \varphi_n \right)(x) \Big) \overset{\eqref{thm:sequential95density95normed95eq11}, \eqref{thm:sequential95density95normed95eq00}}{\leq} \frac{1}{n} \xrightarrow{n\to\infty}0. \end{align}\] Note that the inequality in 7 implies that \(D_n^\mathcal{X}\circ E_n^\mathcal{X}(K)\) is relatively compact for all \(n\geq N_K\), as \(D_n^\mathcal{X}\) is continuous on \(\overline{E_n^\mathcal{X}(\mathcal{X})}\). Hence, the claim follows from the definitions of the input- and output-EDAP, multiple applications of 7 and the observation \[\begin{align} &\phantom{+}\sup_{f\in K} d_\mathcal{Y}\Big( G(f) \, , \, \left(D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\right)(f) \Big) \\ \leq &\phantom{+}\sup_{f\in K} d_\mathcal{Y}\Big( G(f) \, , \, \left(D_n^\mathcal{Y}\circ E_n^\mathcal{Y}\circ G \circ D_n^\mathcal{X}\circ E_n^\mathcal{X}\right) (f) \Big) \\&+\sup_{f\in K} d_\mathcal{Y}\Big( \left(D_n^\mathcal{Y}\circ E_n^\mathcal{Y}\circ G \circ D_n^\mathcal{X}\circ E_n^\mathcal{X}\right) (f) \,,\, \left(D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\right)(f) \Big). \end{align}\] ◻
Remark 11. Having a closer look at the proof of 14, one may notice that the 13 of the output-EDAP admits the following relaxation, which we omitted for better readability: Let \((\mathcal{Z}, d_\mathcal{Z})\) be a metric space and \(\mathcal{Y}\subseteq \mathcal{Z}\). In the definition of the output-EDAP of \((\mathcal{Y}, d_\mathcal{Z})\), one may allow the decoder \(D_n^\mathcal{Y}:\mathbb{K}^{\omega_\mathcal{Y}(n)}\to \mathcal{Z}\) to take values in the larger space \(\mathcal{Z}\). This permits extrapolation, while 14 remains valid. A similar relaxation is possible in 16 regarding the output-CEDAP.
In contrast to most results within the operator learning literature, the choice of the approximating sequence \(G_n\) in 14 is independent of the compact set \(K\subseteq \mathcal{X}\). As pointed out in 3, the previous result is hence a stronger result for most spaces \(\mathcal{X}\) relevant for operator approximation, for example, whenever \(\mathcal{X}\) is an infinite-dimensional normed space. Nevertheless, in [14], an analogous result has been achieved for separable Hilbert spaces \(\mathcal{X}, \mathcal{Y}\) and encoder-decoder architectures based on Riesz-bases, see also 5.1.4 for more information. To the best of our knowledge, [14] is the only other study showing uniform convergence of encoder-decoder architectures \(G_n\) towards \(G\) on every compact set \(K\). For other operator learning architectures, such as FNOs or WNOs, we have not found any result similar to the theorem above. However, we highly suspect that also for those approaches, it would be possible to derive such a result, which we leave as an interesting future task.
Furthermore, to the best of our knowledge, 14 is the first universal approximation theorem for encoder-decoder architectures that shows statement for continuous operators between metric spaces (satisfying suitable encoder-decoder approximation properties). In particular, the underlying spaces need not be topological vector spaces, and the input encoders need not be continuous. This allows the consideration of \(p\)-Wasserstein spaces as input and output spaces; see 3.2.1. Moreover, Skorohod spaces of càdlàg functions can be treated as input spaces; see 3.2.2.
The operators \(G\) in 14 were required to be defined on the whole space \(\mathcal{X}\). However, what if \(G\) is only defined on a subset \(A\subset \mathcal{X}\)? In 6 in the proof of 14, it was crucial that the decoder \(D_n^\mathcal{X}\) maps into the domain of the operator \(G\). Therefore, one cannot use, in general, the same encoders and decoders for \(A\) to obtain a similar result for operators \(G\in \mathcal{C}(A, \mathcal{Y})\). Further, it is not automatically clear whether the subset \(A\) itself has the input-EDAP. We suspect that this may not be true in general, because of the following analogous fact about the \(\lambda\)-BAP: There exists a separable Banach space \(\mathcal{X}\) having the \(\lambda\)-BAP, but there is a subspace \(A\subset \mathcal{X}\), which has not the \(\lambda'\)-BAP for any \(\lambda'>0\), see for example [67]. Of course, if also \(A\) has the input-EDAP, then 14 is applicable with suitable encoders and decoders on \(A\). Nevertheless, for closed \(A\subset \mathcal{X}\), one can indeed use the encoders from the input-EDAP of \(\mathcal{X}\) to approximate operators in \(\mathcal{C}(A, \mathcal{Y})\), see 8 below. This is due to Dugundji’s extension theorem [68].
Theorem 15 (Dugundji’s extension theorem). Let \(\mathcal{X}\) be a metric space and \(\mathcal{Y}\) a locally convex vector space. Further, let \(A\subset \mathcal{X}\) be closed and \(f:A \to \mathcal{Y}\) be continuous. Then there exists a continuous extension \(F:\mathcal{X}\to \mathcal{Y}\) of \(f\), which means that \(F(x) = f(x)\) for every \(x\in A\).
Corollary 8. Consider the setup as in 14, but in addition \(\mathcal{Y}\) being a locally convex metric vector space. Let \(A\subset \mathcal{X}\) be closed. For every \(G\in \mathcal{C}(A, \mathcal{Y})\) there exists a sequence \(\varphi_n\in \mathcal{F}\) such that for every compact \(K\subseteq \mathcal{X}\) it holds that \[\begin{align} \sup_{f\in K\cap A} d_\mathcal{Y}\Big( G(f) \, ,\, \left(D_n^\mathcal{Y}\circ \varphi_n \circ E_n^\mathcal{X}\right)(f) \Big) \xrightarrow{n\to\infty}0. \end{align}\]
Proof. According to Dugundji’s extension theorem, the operator \(G\) can be extended to a continuous operator \(\mathcal{X}\to\mathcal{Y}\). Therefore, the claim follows from applying 14 to the extension of \(G\). ◻
In 14, the input- and output-EDAP of the input and output space has been used for constructing a sequence of encoder-decoder architectures that converges to a given operator uniformly on every compact set (statement in 2). If instead the weaker statement is desired, one can derive an analogous approximation theorem, see 16 below. For this, it is sufficient to consider the following weaker versions of the EDAPs (recall [def:input_EDAP,def:output_EDAP] of the EDAPs).
Definition 27 (Input-CEDAP). A metric space \((\mathcal{X}, d)\) has the compact input-EDAP (input-CEDAP) if for every compact \(K\subseteq \mathcal{X}\), there are sequences of mappings \(E_{K, n}^\mathcal{X}:K\to \mathbb{K}^{w_\mathcal{X}(K, n)}\) and \(D_{K, n}^\mathcal{X}:\overline{E_{K, n}^\mathcal{X}(K)}\to \mathcal{X}\) with the following properties:
\(E_{K, n}^\mathcal{X}(K)\) is bounded for every \(n\in \mathbb{N}\).
\(D_{K, n}^\mathcal{X}\) is continuous.
The mappings \(T_{K, n}^\mathcal{X}\mathrel{\vcenter{:}}= D_{K, n}^\mathcal{X}\circ E_{K, n}^\mathcal{X}\) satisfy \[\begin{align} \sup_{f\in K} d\left(f\, ,\, T_{K, n}^\mathcal{X}(f)\right) \xrightarrow{n\to\infty}0. \end{align}\]
Note that \(E_{K, n}^\mathcal{X}\) is allowed to be discontinuous. In contrast to 12, the encoder and decoder must only be defined on \(K\) and \(\overline{E_{K, n}^\mathcal{X}(K)}\), respectively.
Definition 28 (Output-CEDAP). A metric space \((\mathcal{X}, d)\) has the compact output-EDAP (output-CEDAP) if for every compact \(K\subseteq \mathcal{X}\), there are sequences of mappings \(E_{K, n}^\mathcal{X}:\mathcal{X}\to \mathbb{K}^{w_\mathcal{X}(K, n)}\) and \(D_{K, n}^\mathcal{X}:\mathbb{K}^{w_\mathcal{X}(K, n)}\to \mathcal{X}\) with the following properties:
\(E_{K, n}^\mathcal{X}\) is continuous on \(K\).
\(D_{K,n}^\mathcal{X}\) is uniformly continuous.
The mappings \(T_{K, n}^\mathcal{X}\mathrel{\vcenter{:}}= D_{K, n}^\mathcal{X}\circ E_{K, n}^\mathcal{X}\) satisfy \[\begin{align} \sup_{f\in K} d\left(f\, ,\, T_{K, n}^\mathcal{X}(f)\right) \xrightarrow{n\to\infty}0. \end{align}\]
Evidently, if a metric space \(\mathcal{X}\) has the input- or output-EDAP, it has also the input- or output-CEDAP, respectively. Further, note that the AP (14) implies both the input- and output-CEDAP. Therefore, also non-separable spaces can have the CEDAPs, whereas this is impossible for the EDAPs. The following result generalizes [29], in which Banach spaces \(\mathcal{X}\) and \(\mathcal{Y}\) having both the AP were considered. The theorem below covers several existing universal approximation theorems of encoder-decoder networks, for example, for classical DeepONets [10] and [1], special cases of MIONets [12] and BasisONets [11], see 5.1 for more details on these implications. As outlined in 3.2, the following theorem also handles operators between metric input and output spaces, allowing also discontinuous encoders. For example, it enables the consideration of \(p\)-Wasserstein and Skorohod spaces.
Theorem 16. Let \(\mathcal{X}\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces having the input- and output-CEDAP with mappings \(D_{K, n}^\mathcal{X}, E_{K, n}^\mathcal{X}\) and \(D_{K', n}^\mathcal{Y}, E_{K', n}^\mathcal{Y}\), respectively. Let \(\mathcal{F}\) be a set of universal function approximators. Then for every \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and every compact \(K\subseteq \mathcal{X}\), there exists a sequence \(\varphi_{K, n}\in \mathcal{F}\) and compact \(K'\subseteq \mathcal{Y}\) such that \[\begin{align} \sup_{f\in K} d_\mathcal{Y}\Big(Gf \, , \, \left(D_{K', n}^\mathcal{Y}\circ \varphi_{K, n} \circ E_{K, n}^\mathcal{X}\right)f\Big) \xrightarrow{n\to\infty}0. \end{align}\]
Proof. The proof is similar to and simpler than the proof of 14 due to the higher flexibility regarding the dependency on the compact sets \(K\). Note that \(K'\) can be chosen as \[\begin{align} K'\mathrel{\vcenter{:}}= \overline{\bigcup\limits_{n\in \mathbb{N}} G\circ D_{K, n}^\mathcal{X}\circ E_{K, n}^\mathcal{X}(K)}. \end{align}\] ◻
Remark 12 (Neural Filters). If \(\mathcal{X}\) and \(\mathcal{Y}\) are Banach spaces - or more generally Fréchet spaces, see 6 - both having Schauder bases, 14 and 16 also yield a universal approximation theorem for Neural Filters [19] as in statements and , respectively. One can just use the basis encoders and decoders from 5. Nevertheless, statement can alternatively be obtained for Neural Filters as a combination of [19] with [36].
Remark 13. In [36] and [40] the authors proved statement , but not , for broad classes of encoder-decoder architectures and diverse metric/topological input and output spaces. Nevertheless, neither their results nor 16 are more general than the other regarding possible choices of encoders and decoders. For instance, 16 allows the usage of discontinuous encoders \(E_{K, n}^\mathcal{X}\), which is not directly possible in [36], [40]. As pointed out in Section 3.2, there are several natural and constructive choices for discontinuous encoders. On the other hand, discontinuous decoders \(D_{K', n}^\mathcal{Y}\) can be treated in [36], but not within our framework. In [40] suitable non-metrizable topological spaces (so-called quasi-Polish spaces) can be considered as input and output spaces. As the main focus of our study is universal operator approximation as in statement , a more detailed comparison would be out of scope and we let it as an interesting future task. A comparison should take into account at least the following aspects: 1) Which input and output spaces can or cannot be handled in the different frameworks? 2) Which encoders and decoders can or cannot be considered within the respective spaces? 3) How explicit are the constructions of encoders and decoders?
In 14 and 16 we proved that continuous operators \(G:\mathcal{X}\to \mathcal{Y}\) can be approximated by encoder-decoder architectures if the metric spaces \(\mathcal{X}\) and \(\mathcal{Y}\) have the input- and output-(C)EDAP, respectively. As shown in 3, many spaces can be considered - even Wasserstein or Skorohod spaces - and there are diverse choices for suitable corresponding encoders and decoders.
In Section 5.1 below, we point out that our developed theoretical framework unifies and extends approximation theory for several well-known encoder-decoder architectures used in operator learning, such as classical DeepONets [1], [10], architectures based on frames or Riesz bases [14], BasisONets [11] or special cases of MIONets [12].
In Section 5.2, we illustrate some potential applications within optimal transport. For example, we propose a combination of optimal transport neural operators [20] with an encoder-decoder architecture. Further, we sketch how 14 may help to verify approximation capabilities of geodesic operator networks [41].
In this section, we demonstrate that the approximation theory in 4 is modular in the sense that different encoder-decoder architectures, as well as different input and output spaces can be treated within a single unified framework. In contrast, within the operator learning literature, individual approximation results are derived for specific architectures and therefore do not automatically extend to other architectures. By considering more general architectures in 14 and 16, we obtain a more unified theoretical framework. Moreover, most approximation theorems in the literature establish only statement , whereas 14 proves the topologically stronger statement for, in particular, all architectures below. Throughout this section, we consider \(\mathbb{R}\)-vector spaces, in accordance with the standard setting in the operator learning literature. The analogous results for \(\mathbb{C}\)-vector spaces can be obtained in the same way.
As a first example for approximating continuous operators \(G:\mathcal{X}\to \mathcal{Y}\), we consider classical DeepONets, which have been presented in [1], [33] and are inspired by the shallow architectures constructed within [10]. For the definition of a classical DeepONet, assume that \(\mathcal{X}=\mathcal{X}(\Omega_\mathcal{X}, \mathbb{R})\) and \(\mathcal{Y}= \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) are normed spaces of (for readability) \(\mathbb{R}\)-valued functions with domain spaces \(\Omega_\mathcal{X}\) and \(\Omega_\mathcal{Y}\), where \(\Omega_\mathcal{X}\) is a compact metric space and \(\Omega_\mathcal{Y}\subset \mathbb{R}^{d_\mathcal{Y}}\) is compact.
Definition 29 (Classical DeepONets). Fix points \(y_1,\dots,y_k\) in \(\Omega_\mathcal{X}\). Let \(\varphi:\mathbb{R}^k\to \mathbb{R}^p\) and \(\psi:\Omega_\mathcal{Y}\to \mathbb{R}^p\) be neural networks. A classical DeepONet is a mapping of the form \[\begin{align} \hat{G}: \mathcal{X}(\Omega_\mathcal{X}, \mathbb{R}) &\longrightarrow \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\\ \big(\hat{G}(f) \big)(z) &= \sum_{i=1}^p \varphi_{i}\big(f(y_1),\dots,f(y_k)\big) \psi_i(z), \end{align}\] where \(\varphi_i,\psi_i\) denote the i-th output coordinates of \(\varphi\) and \(\psi\), respectively.
In parts of the literature, the term DeepONet is used more broadly to include architectures whose encoder is not necessarily based on point evaluations of the input function \(f\). To distinguish these settings, we use the term classical DeepONet for architectures that encode \(f\) through finitely many samples. This terminology allows for a more precise discussion of approximation-theoretic results for different encoder classes.
To obtain universal approximation theorems for classical DeepONets as in statement , one can simply interpret them as encoder-decoder architectures \(\hat{G} = D\circ \varphi \circ E\) and apply 14 as follows:
Choose sampling encoders on \(\mathcal{X}(\Omega_\mathcal{X}, \mathbb{R})\) from 7 or 1;
(Also possible: Encoders from 10 which use samples of \(f'\), or sampling encoders from 13 or 24 if \(\mathcal{X}\) is a
Skorohod space.)
Choose \(\varphi\) from a universal function approximator \(\mathcal{F}\) which consists of neural networks, see 26. Examples for \(\mathcal{F}\) can be found, e.g., in [22], [25], [66];
Choose dense decoders on \(\mathcal{Y}\) from 8, that correspond to a dense set \(S\subset \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) of neural networks, so all \(\psi_i\) of the DeepONet should belong to \(S\). Examples for \(S\) can be found, e.g., in [25], [27] if \(\mathcal{Y}\) is a Lebesgue space, Sobolev space or space of continuously differentiable functions.
In particular, 14 implies and extends [1], in which the weaker statement was shown for classical DeepONets and the special case of \(\mathcal{X}=\mathcal{C}(\Omega_\mathcal{X}, \mathbb{R})\), \(\mathcal{Y}=\mathcal{C}(\Omega_\mathcal{Y}, \mathbb{R})\), and \(\Omega_\mathcal{X}\) being a compact subset of a Banach space.
The same setup for \(\mathcal{X}\) and \(\mathcal{Y}\) has been considered within [10] to derive statement for shallow classical DeepONets. Noteworthy, the constructed decoders for \(\mathcal{Y}=\mathcal{C}(\Omega_\mathcal{Y}, \mathbb{R})\) can be expressed as \[\begin{align} (D c)(x) = \sum_i c_i g(w_i \cdot x + b_i), \end{align}\] where \(g:\mathbb{R}\to \mathbb{R}\) is a suitable activation function and the parameters \(w_i\in \mathbb{R}^{d_\mathcal{Y}}, b_i\in \mathbb{R}\) depend on the compact set \(K\subset \mathcal{Y}\) on which approximation is desired. Note that these decoders are not dense decoders as in 8 since the set \(\{ x\mapsto g(w\cdot x+b): w\in \mathbb{R}^{d_\mathcal{Y}}, b\in \mathbb{R}\}\) is not dense in \(\mathcal{Y}=\mathcal{C}(\Omega_\mathcal{Y}, \mathbb{R})\). Nevertheless, it follows from [10] that there exist encoders \(E\), such that \(D\circ E\) are suitable choices for the output-CEDAP of \(\mathcal{Y}\). Hence, [10] is a special case of 16. Note that in [10], the activation function \(g\) is allowed to be discontinuous. Nevertheless, according to 11, one can just consider the decoder \(D\) as a mapping into the larger space of bounded, possibly discontinuous, functions \(\Omega_\mathcal{Y}\to \mathbb{R}\) and still obtain an approximation result by 16. For that, one needs to assume, however, that \(g\) maps compact sets into bounded sets.
Remark 14. Instead of classes of neural networks for \(\mathcal{F}\) or \(S\subset \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) in 29, one can also use other classes of functions and obtain a universal approximation result by 14. For example, one could consider polynomials [42], splines [69], [70], or wavelets [71].
Remark 15. If \(\mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) has a Schauder basis and \(S\subset \mathcal{Y}\) is a dense set, there exists a Schauder basis of \(\mathcal{Y}\) from \(S\). This is because Schauder bases are stable against small perturbations, see for example [54]. Therefore, instead of using the dense decoders, one could also use the basis decoders from 5 corresponding to a Schauder basis of, for example, neural networks and obtain again an approximation result for classical DeepONets.
Remark 16. Using a sampling encoder, as for classical DeepONets, may not be reasonable in every function space. For example, if the input space is a Lebesgue space \(\mathcal{X}= L^2(\Omega_\mathcal{X}, \mathbb{R})\), not every \(f\in \mathcal{X}\) has a continuous representative, which makes sampling not well-defined. As a way out, one could use an encoder corresponding to a Schauder basis, see Section 5.1.2. In Hilbert spaces, such as \(L^2(\Omega_\mathcal{X}, \mathbb{R})\), one can also make use of frame encoders, which is outlined in Section 5.1.4.
In this section, we discuss multi input operator networks (MIONets), which were introduced in [12]. MIONets are designed to approximate operators of the form \(\mathcal{X}_1\times ... \times \mathcal{X}_N\to \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\), where the \(\mathcal{X}_i\) are Banach spaces having Schauder bases. To simplify the presentation, we restrict our attention to the case \(N=2\). Moreover, we consider only low-rank MIONets, which constitute the default architecture in [12] due to their lower computational cost compared to high-rank variants. Let \(\mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) be again a normed (or metric) space of functions defined on a compact set \(\Omega_\mathcal{Y}\subset \mathbb{R}^{d_\mathcal{Y}}\).
Definition 30 (Low-rank MIONets). Denote the coefficient functionals with respect to some Schauder bases of \(\mathcal{X}_j\) by \(c_i^{(j)}:\mathcal{X}\to \mathbb{R}\). Let \(\varphi^{(1)}:\mathbb{R}^k\to \mathbb{R}^p,\) \(\varphi^{(2)}:\mathbb{R}^l\to \mathbb{R}^p\) and \(\psi:\Omega_\mathcal{Y}\to \mathbb{R}^p\) be neural networks. A (low-rank) MIONet is a mapping of the form \[\begin{align} \hat{G}: \mathcal{X}_1 \times \mathcal{X}_2 &\longrightarrow \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\\ \big(\hat{G}(f_1,f_2) \big)(z) &= \sum_{i=1}^p \varphi_{i}^{(1)}\begin{pmatrix} c_1^{(1)}(f_1) \\ \vdots \\c_k^{(1)}(f_1) \end{pmatrix}\varphi_{i}^{(2)}\begin{pmatrix} c_1^{(2)}(f_2) \\ \vdots \\c_l^{(2)}(f_2) \end{pmatrix} \psi_i(z), \end{align}\] where \(\varphi_i^{(1)}, \varphi_i^{(2)},\psi_i\) denote the i-th output coordinates of \(\varphi^{(1)}, \varphi^{(2)}\) and \(\psi\), respectively.
In [12], it has been shown that continuous operators \(G:\mathcal{X}_1\times ... \times \mathcal{X}_N\to \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) can be approximated by MIONets as in statement , in which the choice of the approximating sequence of MIONets \(\hat{G}_n\) depends on the compact set \(K\subset \mathcal{X}_1\times...\times \mathcal{X}_N\). For \(N=1\), 14 yields the stronger approximation property described in statement for low-rank MIONets as follows:
Choose basis encoders on \(\mathcal{X}_1\) from 5;
As in Section 5.1.1, choose \(\varphi^{(1)}\) from a universal function approximator \(\mathcal{F}\) which consists of neural networks;
As in Section 5.1.1, choose dense decoders on \(\mathcal{Y}\) from 8, that correspond to a dense set \(S\subset \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) of neural networks.
For \(N>1\), 14 can likewise be applied to approximate continuous operators \(\mathcal{X}_1\times ... \times \mathcal{X}_N\to \mathcal{Y}\). Indeed, one may view the Cartesian product as a single Banach space \(\mathcal{X}=\mathcal{X}_1\times\cdots\times\mathcal{X}_N\). It is straightforward to verify that \(\mathcal{X}\) inherits a Schauder basis from the spaces \(\mathcal{X}_i\). Applying 14 using Schauder basis encoders on \(\mathcal{X}\) then leads to architectures with a single \(\varphi\in \mathcal{F}\) that receives the Schauder basis coefficients associated with all spaces \(\mathcal{X}_i\). Consequently, the resulting architecture is not a low-rank MIONet.
To handle low-rank MIONets for \(N>1\), one can however combine 14 with the idea in [12] of identifying \(\mathcal{C}(K_1\times K_2, \mathcal{Y})\) with the injective tensor product \(\big(\mathcal{C}(K_1, \mathbb{R})\hat{\otimes}_\varepsilon\mathcal{C}(K_1, \mathbb{R})\big)\hat{\otimes}_\varepsilon \mathcal{Y}\) for compact sets \(K_i\subseteq\mathcal{X}_i\). By that, one obtains an approximation 17 as in statement , which extends [12] in that more general input spaces can be considered, and different encoders than basis encoders can be used, for example, sampling encoders or encoders from Section 3.2.1. We suspect that for \(N>1\), it is not possible, in general, to prove approximation by MIONets as in statement . This is because the construction of isomorphisms between \(\big(\mathcal{C}(K_1, \mathbb{R})\hat{\otimes}_\varepsilon\mathcal{C}(K_1, \mathbb{R})\big)\hat{\otimes}_\varepsilon \mathcal{Y}\) and \(\mathcal{C}(K_1\times K_2, \mathcal{Y})\) depends on the compact sets \(K_1\) and \(K_2\).
Theorem 17. Let \(\mathcal{X}_1,\mathcal{X}_2\) be metric spaces having the input-EDAP with encoders \(E_{n}^{(1)}\) and \(E_{n}^{(2)}\), respectively. Let \(\mathcal{F}\) be a universal function approximator and \(S\) be a dense subset of a Banach space \(\mathcal{Y}\). Then for every \(G\in \mathcal{C}(\mathcal{X}_1\times \mathcal{X}_2, \mathcal{Y})\) and compact \(K\subseteq \mathcal{X}_1\times \mathcal{X}_2\), there exist \(\varphi_n^{(1)}, \varphi_n^{(2)}\in \mathcal{F}\) and \(\psi_{n, 1},..., \psi_{n, p_n}\in S\) such that \[\begin{align} \sup_{(f_1, f_2)\in K} \left\Vert G(f_1, f_2) - \sum_{i=1}^{p_n} \varphi_{n,i}^{(1)}\big(E_n^{(1)}(f_1)\big) \varphi_{n,i}^{(2)}\big(E_n^{(2)}(f_2)\big) \psi_{n, i}\right\Vert \xrightarrow{n\to\infty}0, \end{align}\] where \(\varphi_{n, i}^{(1)}\) and \(\varphi_{n, i}^{(2)}\) denote the i-th output coordinates of \(\varphi_n^{(i)}\) and \(\varphi_n^{(2)}\), respectively. Note that \(\varphi_n^{(1)}, \varphi_n^{(2)}, \psi_{n, i}\) depend on \(K\), which is omitted within the notation.
Proof. A proof is provided in Appendix 10. ◻
Remark 17. As we have seen in this and the previous section, 14 covers both approximation by classical DeepONets and MIONets (\(N=1\)), where the difference is only within the choice of the encoders: sampling versus basis encoders. In contrast, [12] does not directly provide an approximation result for classical DeepONets from 29. The reason is that, in general, Schauder basis encoders cannot coincide with sampling encoders, see 21. Therefore, additional arguments would be required to obtain an approximation result for classical DeepONets from [12]. In [12], the authors state that their theory immediately yields an approximation result for DeepONets. As discussed above, this conclusion does not directly apply to the classical DeepONet architecture of 29, which employs sampling encoders. However, the term DeepONet is often used more broadly - including in [12] - to encompass architectures with different choices of encoders. In the context of [12], the statement appears to concern DeepONets with basis encoders.
For classical and Schauder basis DeepONets, sampling and basis encoders were considered. In this section, we consider BasisONets, which were introduced in [11] as mappings between Lebesgue spaces \(\mathcal{X}=L^2(\Omega_\mathcal{X}, \mathbb{R})\) and \(\mathcal{Y}= L^2(\Omega_\mathcal{Y}, \mathbb{R})\), where \(\Omega_X\subset \mathbb{R}^{d_\mathcal{X}}\) and \(\Omega_\mathcal{Y}\subset \mathbb{R}^{d_\mathcal{Y}}\) are compact sets. For BasisONets, the encoder computes inner products with a finite selection of neural networks. We consider a more general setup for the function spaces \(\mathcal{X}\) and \(\mathcal{Y}\). Namely, assume that \(\mathcal{X}= \mathcal{X}(\Omega_\mathcal{X}, \mathbb{R})\) is a separable Hilbert space and \(\mathcal{Y}=\mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) is a normed space.
Definition 31 (BasisONet). Let all \(\varphi:\mathbb{R}^k \to \mathbb{R}^p\), \(u_1,...,u_k\in \mathcal{X}(\Omega_\mathcal{X}, \mathbb{R})\) and \(\psi_1,..., \psi_p\in \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) be neural networks. A BasisONet is a mapping \[\begin{align} \hat{G}:\mathcal{X}(\Omega_\mathcal{X}, \mathbb{R}) &\longrightarrow \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\\ f &\longmapsto \sum_{i=1}^p \varphi_{i}\big(\langle f, u_1 \rangle_\mathcal{X}, ..., \langle f, u_k\rangle_\mathcal{X}\big) \psi_i, \end{align}\] where \(\varphi_i\) denotes the i-th output coordinate of \(\varphi\).
To obtain universal approximation theorems for BasisONets as in statement , one can simply interpret them as encoder-decoder architectures \(\hat{G} = D\circ \varphi \circ E\) and apply 14 as follows:
Choose dense encoders on \(\mathcal{X}(\Omega_\mathcal{X}, \mathbb{R})\) from 9 corresponding to a dense set \(S_\mathcal{X}\subset \mathcal{X}\) of neural networks. If \(\mathcal{X}=L^2(\Omega_\mathcal{X}, \mathbb{R})\) or \(\mathcal{X}\) being a Sobolev Hilbert space, \(S_\mathcal{X}\) can, for example, be chosen as a set of ReLU-networks [27];
As in Section 5.1.1, choose \(\varphi\) from a universal function approximator \(\mathcal{F}\) which consists of neural networks;
As in Section 5.1.1, choose dense decoders on \(\mathcal{Y}\) from 8, that correspond to a dense set \(S_\mathcal{Y}\subset \mathcal{Y}(\Omega_\mathcal{Y}, \mathbb{R})\) of neural networks.
In particular, 14 implies and extends [11], in which the weaker statement was shown for BasisONets and the special case of \(\mathcal{X}=L^2(\Omega_\mathcal{X}, \mathbb{R})\) and \(\mathcal{Y}=L^2(\Omega_\mathcal{Y}, \mathbb{R})\). Note that in [11], BasisONets are defined with \(u_j\) and \(\psi_i\) being so-called neural bases. That is, they approximate finitely many elements of an orthonormal basis. This is analogous to the construction of dense encoders and decoders in the proof of 9.
In this section, we make use of the frame encoders and decoders introduced in Section 3.1.2 to define a class of encoder–decoder architectures based on frames. Special cases of these architectures were studied in [14] and [13], where Riesz bases and orthonormal bases were used in place of frames, respectively. Throughout this section, let \(\mathcal{X}\) and \(\mathcal{Y}\) be infinite-dimensional separable Hilbert spaces. The finite-dimensional case can be treated analogously.
Definition 32 (Frame Architectures). Consider a frame \((f_i)_{i\in \mathbb{N}} \subset \mathcal{X}\) of \(\mathcal{X}\) along with a dual frame \((f_i^*)_{i\in\mathbb{N}}\subset \mathcal{X}\). Let \((g_i)_{i\in \mathbb{N}}\subset \mathcal{Y}\) be a frame of \(\mathcal{Y}.\) Further, let \(\varphi:\mathbb{K}^k \to \mathbb{K}^p\) be a neural network. A frame architecture is a mapping \[\begin{align} \hat{G}:\mathcal{X}&\longrightarrow \mathcal{Y}\\ f &\longmapsto \sum_{i=1}^p \varphi_{i} \left( \langle f, f^*_1 \rangle, \dots, \langle f, f^*_k \rangle \right) g_i, \end{align}\] where \(\varphi_i\) denotes the i-th output coordinate of \(\varphi\)
To obtain a universal approximation theorem for frame architectures as in statement , we can interpret them as encoder-decoder architectures \(\hat{G} = D\circ \varphi \circ E\) as follows and apply 14:
Choose frame encoders on \(\mathcal{X}\) and frame decoders on \(\mathcal{Y}\) from 6;
As in Section 5.1.1, choose \(\varphi\) from a universal function approximator \(\mathcal{F}\) which consists of neural networks.
In particular, 14 implies [14]. More precisely, both results establish the stronger approximation statement , whereas 14 applies in the more general setting of frames rather than being restricted to Riesz bases. Furthermore, 14 yields an approximation theorem for Deep-H-ONets [13], whose encoders and decoders are induced by orthonormal bases. Since orthonormal bases are a particular class of Riesz bases, this result is likewise covered by [14].
We have seen in Sections 4 and 3.2.1 that encoder-decoder architectures can be used to approximate continuous operators \(\mathcal{X}\to \mathcal{Y}\), where \(\mathcal{X}\) or \(\mathcal{Y}\) are \(p\)-Wasserstein-spaces \((\mathcal{P}_p(\Omega), W_p)\). In this section, we present some applications which may benefit from our developed theory.
In this section, we discuss some operators arising in linear optimal transport that fit into our approximation framework. The concept of linear optimal transport has been proposed in [72], and the basic idea is to embed the non-linear space \((\mathcal{P}_p(\Omega), W_p)\) into the Hilbert space \(L^2(\Omega, \mathbb{R}^d; \rho)\) to benefit from the latter’s structure. This is typically done by fixing a reference measure \(\rho\) and then identifying a measure \(\mu\) with the corresponding optimal transport map \(T_{\rho, \mu}\in L^2(\Omega, \mathbb{R}^d; \rho)\) from \(\rho\) to \(\mu\). We observe below that these embedding operators \(G_\rho: \mu \mapsto T_{\rho, \mu}\) can be approximated by encoder-decoder architectures, according to 14.
Therefore, it will be interesting to investigate in future work whether encoder-decoder surrogates for \(G_\rho\) can be beneficial in methods that require solving many optimal transport problems, that is, when \(G_\rho\) often needs to be evaluated at different \(\mu\). Since repeatedly solving optimal transport problems can become computationally demanding, the encoder-decoder surrogates may reduce the overall computational cost. For example, one could investigate replacing the classical solver for estimating the optimal transport maps within optimal transport neural operators (OTNOs) [20]. OTNOs are a recent operator learning approach for learning PDE solutions on varying domains by using optimal transport maps to move between complex geometries \((\mu)\) and a fixed reference domain \((\rho)\). On the reference domain, a Fourier Neural Operator is then applied.
Let us state the following version of Brenier’s theorem [73].
Theorem 18. Let \(\rho, \mu \in \mathcal{P}_2(\mathbb{R}^d)\) and assume that \(\rho\) is absolutely continuous w.r.t. the Lebesgue measure. Then there exists a convex function \(\varphi_{\rho, \mu}:\mathbb{R}^d\to \mathbb{R}\) such that the push-forward of \(\rho\) under \(\nabla \varphi_{\rho, \mu}\) (defined \(\rho\)-almost everywhere) is \(\mu\) and \[\begin{align} W_2(\rho, \mu)^2 = \int_{\mathbb{R}^d}\Vert x - \nabla \varphi_{\rho, \mu}(x)\Vert^2 d\rho(x). \end{align}\] If \(\psi_{\rho, \mu}\) is another such convex function, then \(\nabla \psi_{\rho, \mu} = \nabla \varphi_{\rho, \mu}\) holds \(\rho\)-almost everywhere.
Therefore, the optimal transport map \(T_{\rho, \mu} \mathrel{\vcenter{:}}= \nabla \varphi_{\rho, \mu}\) is uniquely determined up to a \(\rho\)-null set. \(T_{\rho, \mu}\) is also called Brenier map [61], [74], [75] or Monge map [76] and is the unique solution of the Monge transport problem. Note that the assumption on \(\rho\) being absolutely continuous with respect to the Lebesgue measure can be relaxed, see e.g. [65]. It has been noted in [74], [75] that \(G_\rho:\mu\mapsto T_{\rho, \mu}\) is continuous, which we state in the theorem below. A detailed proof can be found in [77].
Theorem 19. Let \(\rho\in \mathcal{P}_2(\mathbb{R}^d)\) be absolutely continuous w.r.t. the Lebesgue measure. Then the following operator is continuous with respect to the \(2\)-Wasserstein distance: \[\begin{align} G_\rho:\mathcal{P}_2(\mathbb{R}^d)&\longrightarrow L^2(\mathbb{R}^d, \mathbb{R}^d; \rho)\\ \mu &\longmapsto T_{\rho, \mu}. \end{align}\]
Note that for every \(\mu, \nu\in \mathcal{P}_2(\mathbb{R}^d)\), it holds that \(W_2(\mu, \nu)\leq \Vert G_\rho(\mu)-G_\rho(\nu)\Vert_{L^2}\) [74], [75]. This implies that \(G_\rho\) is injective and its inverse on \(G_\rho(\mathcal{P}_2(\mathbb{R}^d))\) is Lipschitz continuous. Therefore, \(G_\rho\) is an embedding of \(\mathcal{P}_2(\mathbb{R}^d)\) into \(L^2(\mathbb{R}^d, \mathbb{R}^d; \rho)\). In linear optimal transport, the embedding \(\tilde{G}_\rho: \mu\mapsto (G_\rho(\mu) - \mathrm{id})\) is considered, see for example [72]. Since the operators \(G_\rho\) and \(\tilde{G}_\rho\) are continuous, they can be approximated by encoder-decoder architectures according to 14 as follows:
Since \((\mathcal{P}_2(\mathbb{R}^d), W_2)\) has the input-EDAP, choose encoders as in 10;
As in Section 5.1.1, choose \(\varphi\) from a universal function approximator \(\mathcal{F}\) which consists of, for example, neural networks;
Since \(L^2(\mathbb{R}^d, \mathbb{R}^d; \rho)\) is a separable Hilbert space, choose frame decoders from 6, or dense decoders from 8 corresponding to a dense set \(S\subset L^2(\mathbb{R}^d, \mathbb{R}^d; \rho)\) of, for example, neural networks.
Remark 18. A very recent and active field of research is to inspect Hölder continuity of \(G_\rho\) under additional assumptions on \(\rho\) and \(\mu\). For example, if \(\Omega\subset \mathbb{R}^d\) is compact and convex and if the density of \(\rho\) is bounded away from zero and infinity, it has been shown that \(G_\rho:\mathcal{P}(\Omega)\to L^2(\mathbb{R}^d, \mathbb{R}^d; \rho)\) has Hölder exponent \(\frac{1}{6}\) with respect to any \(p\)-Wasserstein distance [74]. If \(\mu\) is mapped to the Brenier potential \(\varphi_{\rho, \mu}\), instead of to \(T_{\rho, \mu} =\nabla \varphi_{\rho, \mu}\), the Hölder exponent is \(\frac{1}{2}\). For a review on Hölder continuous embeddings of \(\mathcal{P}_p(\Omega)\) into \(L^2(\mathbb{R}^d, \mathbb{R}^d;\rho)\), we refer to [75]. Stronger regularity properties of \(G_\rho\) may improve quantitative approximation rates of encoder-decoder architectures.
Remark 19 (Entropic optimal transport). A regularized version of the Brenier map \(T_{\rho, \mu}\) is the so-called entropic map \(T_{\rho, \mu}^\varepsilon\) [78], also called entropic Brenier map [79]. As shown in [78], it serves as an approximation of \(T_{\rho ,\mu}\) with better computational properties. One theoretical advantage is that the requirements on \(\rho\) - being absolutely continuous - can be relaxed for obtaining well-posedness and Hölder continuity of \(G_\rho^\varepsilon:\mu\mapsto T_{\rho, \mu}^\varepsilon\). Consider any ball \(\Omega=\overline{B}_R(0)\subset \mathbb{R}^d\). Then for any \(\rho\in \mathcal{P}(\Omega)\), it is due to [79] that \(G_\rho^\varepsilon:\mathcal{P}(\Omega)\to L^2(\mathbb{R}^d, \mathbb{R}^d;\rho)\) is even Lipschitz continuous with respect to the \(2\)-Wasserstein distance. Hence, encoder-decoder architectures can also approximate \(G_\rho^\varepsilon\). A similar Lipschitz continuity result has been derived for Schrödinger maps [80].
Gracyk et al. introduced geodesic operator networks (GeONets) in [41] to learn the operator which maps a pair of absolutely continuous probability measures \(\mu_0, \mu_1\in\mathcal{P}_2^{ac}(\Omega)\) to the corresponding Wasserstein geodesic \(\mu:[0,1]\to \mathcal{P}_2^{ac}(\Omega)\), where \(\Omega\subseteq \mathbb{R}^m\) is equipped with the Euclidean norm \(\vert \cdot \vert\). To the best of our knowledge, it has not been shown yet that GeONets can indeed approximate the geodesic operator \((\mu_0, \mu_1)\mapsto \mu\) with respect to a suitable topology. We briefly outline how the theory developed in this work could provide a route towards such an approximation result.
In [41], optimality conditions were derived for the Wasserstein geodesic problem of finding \(\mu\) from \(\mu_0, \mu_1\). GeONets then seek to learn solutions \(\rho, u:[0,1]\times \Omega\to \mathbb{R}\) of these conditions, which read as follows: \[\begin{align} \begin{cases} \partial_t \rho + \mathrm{div}(\rho\nabla u) = 0 &\mathrm{(continuity equation)}; \\ \partial_t u+ \frac{1}{2}\Vert \nabla u \Vert^2_2 = 0 &\mathrm{(Hamilton-Jacobi equation)};\\ \rho(\cdot, 0) = \rho_0, \rho(\cdot, 1) = \rho_1, \end{cases} \end{align}\] where \(\rho_0, \rho_1\) are the densities of \(\mu_0, \mu_1\), respectively. GeONets consist of two encoder-decoder architectures that approximate the solution operators \[\begin{align} G_{CE}: \mathcal{P}_2^{ac}(\Omega)\times \mathcal{P}_2^{ac}(\Omega) &\longrightarrow \mathcal{Y}_{CE}([0,1]\times \Omega, \mathbb{R})\\ (\mu_0, \mu_1)&\longmapsto \rho, \\ G_{HJ}: \mathcal{P}_2^{ac}(\Omega)\times \mathcal{P}_2^{ac}(\Omega) &\longrightarrow \mathcal{Y}_{HJ}([0,1]\times \Omega, \mathbb{R})\\ (\mu_0, \mu_1)&\longmapsto u, \end{align}\] corresponding to the continuity and Hamilton-Jacobi equation, respectively. \(\mathcal{Y}_{CE}\) and \(\mathcal{Y}_{HJ}\) denote function spaces for the respective PDE solution functions. \(G_{CE}(\mu_0, \mu_1) = \rho\) is then the density representation of the desired geodesic \(\mu\).
Both GeONet encoder-decoder architectures are closely related to the architectures covered by 17, which are generalizations of the low-rank MIONets from 30. Indeed, the GeONet architectures are both of the form \[\begin{align} \sum_{i=1}^{p} \varphi_{i}^{(1)}\big(E^{(1)}(\mu_0)\big) \varphi_{i}^{(2)}\big(E^{(2)}(\mu_1)\big) \psi_{i}, \end{align}\] where \(\varphi^{(1)}, \varphi^{(2)}\) and \(\psi_i:[0,1]\times \Omega\to \mathbb{R}\) are neural networks. The pair of GeONet encoders \(E^{(1)}, E^{(2)}\) evaluate the densities \(\rho_0, \rho_1\) of \(\mu_0, \mu_1\) at finitely many points \(x_k\in \Omega\). This is similar to the encoders from 22 and 5, which compute \(\mu_0(I_k)=\int_{I_k} \rho_0(x) d\lambda(x)\) for finitely many disjoint sets \(I_k\subset \Omega\).
Some things remain to be verified in order to get an approximation result by 17 for the approximation of the solution operators \(G_{CE}\) and \(G_{HJ}\) by the two GeONet encoder-decoder architectures.
Show that the solutions of the PDEs lay within Banach spaces \(\mathcal{Y}_{CE}, \mathcal{Y}_{HJ}\) of functions. Further, check whether there exist dense subsets \(S_{CE}\subset \mathcal{Y}_{CE}\) and \(S_{HJ}\subset \mathcal{Y}_{HJ}\) of neural networks. These can then be used in 17.
Show that both solution operators \(G_{CE}\) and \(G_{HJ}\) are continuous with respect to the \(2\)-Wasserstein distance. For each operator, then use two encoders from 5 in 17.
Remark 20. If it turned out that the operators \(G_{CE},G_{HJ}\) were not continuous, but Bochner integrable, one could combine our results with the ideas in [33] to approximate these operators by the GeONet’s encoder-decoder architectures, but with respect to the Bochner norm.
We studied the approximation theory of encoder-decoder architectures in the topology of uniform convergence on compact sets. In this setting, two notions of universal approximation naturally arise; see statements and in 2. The first requires that, for every continuous operator and compact subset of its input space, there exists a sequence of approximators converging uniformly on that compact set. The second requires the existence of a single sequence that converges uniformly on every compact subset to the operator. While statement is commonly considered in the operator-learning literature, we established in a new 14 for diverse classes of encoder-decoder architectures and choices for input and output spaces. We proved in 3 that this type of universal operator approximation is a topologically stronger statement in typical operator learning settings, namely whenever \(\mathcal{X}\) is an infinite-dimensional normed space (or more generally whenever \(\mathcal{X}\) is not hemicompact). A further advantage of over is that it may facilitate the derivation of approximation theorems in Bochner spaces. Indeed, uniform convergence on every compact subset implies pointwise convergence, allowing one to invoke the dominated convergence theorem. This suggests a possible route for extending the universal Bochner approximation theorem [33] for classical DeepONets to broader classes of encoder-decoder architectures and more general input and output spaces. We leave this direction for future research.
Moreover, we introduced the EDAPs and CEDAPs, sufficient properties of the underlying normed or metric input and output spaces, that enable universal operator approximation by encoder-decoder architectures as in statements and ; see [thm:density_metric,thm:mionet,thm:sequential_density_normed]. These properties are fulfilled by many spaces considered within operator learning frameworks, for example, normed function spaces such as Lebesgue spaces, Sobolev spaces, spaces of continuously differentiable functions, or - more generally - normed spaces having the (bounded) approximation property. Beyond normed spaces, the EDAPs and CEDAPs are sufficiently general to include also metric spaces. For instance, we showed that Fréchet spaces having Schauder bases as well as \(p\)-Wasserstein spaces of probability measures can be considered as input or output spaces. Further, Skorohod spaces of càdlàg functions are suitable input spaces in our operator approximation framework. These examples not only demonstrate the flexibility of the (C)EDAPs regarding suitable input and output spaces, but also regarding possible choices of encoders and decoders. For example, they allow nonlinear encoders and decoders, discontinuous encoders and non-Lipschitz decoders, thereby relaxing assumptions that are often imposed in the literature. To the best of our knowledge, the existing operator learning theory for statement handles operators between separable Hilbert spaces using Riesz basis encoders and decoders. Our 14 hence significantly extends the existing theory for encoder-decoder architectures regarding possible input and output spaces, as well as possible encoder and decoder constructions. Regarding the theory related to statement , we also make some contributions. For example, some of our naturally constructed encoders for Wasserstein and Skorohod spaces are currently not covered by the existing theory for statement (A), which is due to their discontinuity.
Rather than proving separate approximation theorems for individual architectures, our approximation theorems apply to many well-known encoder-decoder architectures at once, for example, classical DeepONets, MIONets, BasisONets, Deep-H-ONets, or Riesz bases architectures. We pointed out that our framework not only unifies existing universal approximation theorems for these models, but also extends them by allowing more general input and output spaces and greater flexibility in the choice of encoders and decoders.
We conclude by highlighting four directions for future research. First, it would be interesting to inspect which other metric spaces have the (C)EDAPs. Second, if the EDAPs or CEDAPs were refined to incorporate quantitative approximation rates for the identity operator - for instance, rates depending on covering numbers of compact sets - it would be natural to investigate whether analogous rates can be transferred to the approximation of operators satisfying additional regularity assumptions, such as Lipschitz continuity or Fréchet differentiability. Third, for different topologies than uniform convergence on compact sets, such as Bochner spaces \(L^p(\mathcal{X}, \mathcal{Y}; \mu)\), it would be interesting to explore analogues of the (C)EDAPs for \(\mathcal{X}\) and \(\mathcal{Y}\) that directly lead to approximation capabilities of encoder-decoder architectures in the respective topology. Last but not least, the discussion in Section 5.2 indicates that our framework may also be useful for future developments in optimal transport, including the approximation-theoretic analysis of GeONets and related architectures.
Proof. For the proof, we follow the arguments used by Dugundji [42], where the convergence of sequences in the compact-open
topology is characterized (see also 2).
Assume that \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) is an adherent point of \(S\). Let \(K\subseteq \mathcal{X}\) be compact and \(\varepsilon>0\). By continuity of \(G\), for every \(x\in K\) there is some \(\delta_x>0\) such that \[\begin{align} G(B_{\delta_x}(x) ) \subseteq B_\varepsilon(G(x)).
\end{align}\] Since \(K\) is compact, there are finitely many \(x_1,\dots,x_n\in K\) such that \[\begin{align} K \subseteq \bigcup_{i=1}^n
B_{\frac{1}{2}\delta_{x_i}}(x_i).
\end{align}\] For each \(i=1,\dots,n,\) we define the compact set \(K_i \mathrel{\vcenter{:}}= K \cap \overline{B}_{\frac{1}{2}\delta_{x_i}}(x_i)\), which is contained in \(B_{\delta_{x_i}}(x_i)\) and satisfies \(K = \cup_{i=1}^n K_i.\) Consider the set \[\begin{align} U \mathrel{\vcenter{:}}= \bigcap_{i=1}^n \Big\{ f\in
\mathcal{C}(\mathcal{X}, \mathcal{Y}): f(K_i) \subseteq B_\varepsilon(G(x_i)) \Big\},
\end{align}\] which is open in the compact-open topology by 1 and contains \(G\). Since \(G\) is an adherent point of \(S\), there exists \(f\in S\cap U\). Furthermore, each \(x\in K\) must belong to some \(K_i\). Therefore, it follows from the triangular inequality that \[\begin{align} d_\mathcal{Y}(f(x)\, ,\, G(x)) \leq d_\mathcal{Y}(f(x)\, ,\, G(x_i)) + d_\mathcal{Y}(G(x_i)\, ,\, G(x)) <
2\varepsilon
\end{align}\] for all \(x\in K.\) As a consequence, \[\begin{align} \sup_{x\in K} d_\mathcal{Y}(f(x)\, ,\, G(x)) \leq 2 \varepsilon.
\end{align}\] Hence, since \(\varepsilon\) has been chosen arbitrarily, we can find a sequence \((f_n)_{n\in\mathbb{N}}\) in \(S\) converging
uniformly to \(G\) on \(K\).
For the other direction, consider any finitely many compact sets \(K_1,\dots,K_n\subseteq \mathcal{X}\) and open sets \(V_1,\dots,V_n\subseteq \mathcal{Y}\) such that \(G(K_i)\subseteq V_i\). In other words, \[\begin{align} G\in U\mathrel{\vcenter{:}}= \bigcap_{i=1}^n U_{K_i, V_i},
\end{align}\] where \(U_{K_i, V_i}\mathrel{\vcenter{:}}= \{f\in \mathcal{C}(\mathcal{X}, \mathcal{Y}): f(K_i) \subseteq V_i\}\) belongs to the subbase of the compact-open topology from 1. Note that any open neighborhood of \(G\) can be written as a union of sets like \(U\). Therefore, in order to show that \(G\) is an adherent point of \(S\), it suffices to show that there is always a \(\tilde{G}\in
S\cap U\).
As \(G\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) is continuous, the sets \(G(K_i)\) are compact. Hence, according to 9, there is some \(\varepsilon_i>0\) such that for all \(i\in \{1,\dots,n\}\) \[\begin{align} \bigcup_{x\in K_i} B_{\varepsilon_i}(G(x)) \subseteq V_i.
\end{align}\] Let \(K\) denote the union of all \(K_i\), which is also compact as it is the finite union of compact sets. By assumption, there exists a sequence \((G_n)_{n\in \mathbb{N}}\) in \(S\) such that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, G_n(x) \big) \xrightarrow{n\to\infty} 0.
\end{align}\] Therefore, there exists \(\tilde{G}\in S\) such that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(G(x)\, ,\, \tilde{G}(x) \big) < \varepsilon\mathrel{\vcenter{:}}= \min
\big \{\varepsilon_1,\dots,\varepsilon_n\big\}.
\end{align}\] As a consequence, for every \(x\in K_i\) it holds that \(\tilde{G}(x)\in B_\varepsilon(G(x))\subseteq V_i,\) which implies \(\tilde{G}\in
U\). Thus, \(G\) is an adherent point of \(S\) with respect to the compact-open topology. ◻
In the following, we state the auxiliary results from basic topology, which are needed for the proof of 1. The first lemma can, for example, be found in [42].
Lemma 17. Let \((\mathcal{X}, d)\) be a metric space, \(K\subseteq \mathcal{X}\) compact and \(A\subseteq \mathcal{X}\) be closed such that \(K\cap A = \emptyset\). Then the distance \(\mathop{\mathrm{dist}}(K, A)\) between \(K\) and \(A\) is positive, i.e., \[\begin{align} 0 < \mathop{\mathrm{dist}}(K, A) = \inf \{d(x,y): x\in K, y\in A\}. \end{align}\]
Corollary 9. Let \(\mathcal{X}\) be a metric space, \(K\subseteq \mathcal{X}\) compact and \(U\subseteq \mathcal{X}\) open such that \(K\subseteq U\). Then there exists some \(\varepsilon>0\) such that \[\begin{align} \bigcup_{x\in K} B_\varepsilon(x) \subseteq U, \end{align}\] where \(B_\varepsilon(x)\) denotes the open ball around \(x\) with radius \(\varepsilon\).
Proof. If \(U=\mathcal{X}\), the result is trivial, so assume \(\mathcal{X}\setminus U\neq \emptyset\). As \(\mathcal{X}\setminus U\) is closed and has empty intersection with \(K\), 17 implies that \(\mathop{\mathrm{dist}}(K, \mathcal{X}\setminus U)>0.\) Therefore, by choosing \(0<\varepsilon<\mathop{\mathrm{dist}}(K, \mathcal{X}\setminus U)\) we obtain \(\bigcup_{x\in K} B_\varepsilon(x) \subseteq U\). ◻
Lemma 18. A metric space \(\mathcal{X}\) is separable if and only if for every \(\varepsilon>0\) there exists a sequence \((x_n)_{n\in\mathbb{N}}\) in \(\mathcal{X}\) such that \[\begin{align} \mathcal{X}= \bigcup_{n=1}^\infty B_\varepsilon(x_n). \end{align}\]
Proof. Assume that for every \(\varepsilon>0\) there is a sequence \((x_n(\varepsilon))_{n\in \mathbb{N}}\) in \(\mathcal{X}\) such that \[\begin{align} \mathcal{X}= \bigcup_{n=1}^\infty B_\varepsilon(x_n(\varepsilon)). \end{align}\] In particular, for \(\varepsilon_m=\frac{1}{m}\), such a sequence exists. It is easy to verify that the countable set \[\begin{align} \left\{ x_n\left(\varepsilon_m\right): n,m\in \mathbb{N}\right\} \end{align}\] is dense in \(\mathcal{X}\), implying separability of \(\mathcal{X}\). The converse is evident. ◻
Theorem 20. Let \(\mathcal{X}\) be a non-seperable metric space and \(\mathcal{Y}\) be a normed space which has at least one dimension. Then there exists a set \(S\subset \mathcal{C}(\mathcal{X}, \mathcal{Y})\) that is dense with respect to the compact-open topology, but \(S\) is not sequentially dense.
Proof. Since \(\mathcal{X}\) is not separable, it is due to 18 that there exists some \(\varepsilon>0\) such that for every sequence \((x_n)_{n\in \mathbb{N}}\) in \(\mathcal{X}\) it holds that \[\begin{align} \label{eq:choice95eps95nonseparable} \mathcal{X}\neq \bigcup_{n=1}^\infty B_\varepsilon(x_n). \end{align}\tag{8}\] Define the set \[\begin{align} S \mathrel{\vcenter{:}}= \left \{ f\in \mathcal{C}(\mathcal{X}, \mathcal{Y}): f=0 \mathrm{ \, on \, } \mathcal{X}\setminus\left( \bigcup_{n=1}^\infty B_\varepsilon(x_n)\right) \mathrm{ \, for \, } x_n\in \mathcal{X}\right \}. \end{align}\] Consider \(f\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\) and some compact \(K\subseteq \mathcal{X}\). The compactness of \(K\) guarantees the existence of finitely many \(x_1,\dots, x_n\in K\) such that \[\begin{align} K \subseteq V\mathrel{\vcenter{:}}= \bigcup_{i=1}^n B_\varepsilon(x_i). \end{align}\] By Urysohn’s lemma, see for example [42], there exists a continuous mapping \(\varphi:\mathcal{X}\to [0,1]\) such that \(\varphi(x) = 1\) for all \(x\in K\), and \(\varphi(x) = 0\) for all \(x\in \mathcal{X}\setminus V\). Consequently, the function \(\varphi f\) is continuous and belongs to \(S\). Further, \(f(x) - \varphi(x)f(x) = 0\) for all \(x\in K\), which shows that \(S\) is dense in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) in the compact-open topology according to 1. On the other hand, consider a constant function \(f=a\) for some \(a\in \mathcal{Y}\setminus \{ 0\}\), and let \((f_n)_{n\in \mathbb{N}}\) be an arbitrary sequence in \(S\). By definition of \(S\), for each \(n\in \mathbb{N}\), there must exist a sequence \((x_\ell^{(n)})_{\ell\in \mathbb{N}}\) in \(\mathcal{X}\) such that \[\begin{align} f_n(x) = 0 \mathrm{\, for all \,} x\in \mathcal{X}\setminus \left( \bigcup_{\ell=1}^\infty B_\varepsilon(x_\ell^{(n)})\right). \end{align}\] By the choice of \(\varepsilon\) in 8 , there exists some \(x'\in \mathcal{X}\) that does not belong to any of the balls \(B_\varepsilon(x_\ell^{(n)})\) for \(n,\ell\in \mathbb{N}\). Hence, for every \(n\in \mathbb{N}\) it is \(f_n(x') = 0 \neq a = f(x')\) which implies that \(f_n\) does not converge uniformly to \(f\) on the compact set \(\{x'\}\). Thus, \(S\) cannot be sequentially dense in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) in the compact-open topology, according to 2 (not even in the topology of point-wise convergence). ◻
It is well-known that compact metric spaces are separable, see for example [42]. Below we give a simple proof based on 18.
Lemma 19. Every compact metric space \(\mathcal{X}\) is separable.
Proof. Let \(\varepsilon>0\). Then \(\mathcal{X}= \cup_{x\in \mathcal{X}}B_\varepsilon(x).\) By compactness of \(\mathcal{X}\) there are finitely many \(x_n\in \mathcal{X}\) for \(n\leq N\in \mathbb{N}\) such that \(\mathcal{X}= \cup_{n\leq N} B_\varepsilon(x_n)\). Hence, \(\mathcal{X}\) is separable according to 18. ◻
Lemma 20. Let \((\mathcal{Z}, \mathfrak{T})\) be a topological space, which is not a Fréchet-Urysohn space. For any object \(x\notin \mathcal{Z}\) define \(\mathcal{Z}' = \mathcal{Z}\cup \{ x\}\) and the topology \[\begin{align} \mathfrak{T}' = \{ \emptyset\} \cup \big\{U\cup \{x\}: U\in \mathfrak{T} \big\}. \end{align}\] on \(\mathcal{Z}'\). Then \((\mathcal{Z}', \mathfrak{T}')\) is not a Fréchet-Urysohn space, but every dense set \(D\subseteq \mathcal{Z}\) is sequentially dense.
Proof. It is straightforward to verify that \(\mathfrak{T}'\) defines a topology on \(\mathcal{Z}'\). Let \(D\subseteq \mathcal{Z}'\) be dense. Since \(\{x\} = (\emptyset\cup\{x\})\in \mathfrak{T}'\), it follows that \(x\in D\). Due to the fact that \(x\) belongs to every non-empty open set \(U'\in \mathfrak{T}'\), it follows that the constant sequence \(x_n= x\in D\) converges to every \(z\in \mathcal{Z}'\) in the topology \(\mathfrak{T}'\). Therefore, \(D\) must also be sequentially dense in \(\mathcal{Z}'\). Since \((\mathcal{Z}, \mathfrak{T})\) is not a Fréchet-Urysohn space, there is some \(S\subseteq \mathcal{Z}\) which has an adherent point \(s\in \overline{S}\), but no sequence in \(S\) converges to \(s\) in the topology \(\mathfrak{T}\). Therefore, and due to \(x\notin \mathcal{Z}\), no sequence in \(S\) converges to \(s\) in the topology \(\mathfrak{T}'\). Hence, \((\mathcal{Z}', \mathfrak{T}')\) is not a Fréchet-Urysohn space. ◻
Lemma 21. Let \((\mathcal{X}, d)\) be a metric space with metric \(d\) and \((x_n)_{n\in\mathbb{N}}\subset \mathcal{X}\) be a convergent sequence in \(\mathcal{X}\) with limit \(x\in \mathcal{X}\). Then the set \(C\mathrel{\vcenter{:}}=\{x\}\cup \{x_n: n\in \mathbb{N}\}\) is compact.
Proof. Let \(\{U_i : i\in I\}\) be an open cover of \(C\) with index set \(I\). The aim is to find a finite subcover. As \(x\in C\subseteq \bigcup_{i\in I }U_i,\) there exists an index \(i_x\in I,\) such that \(x\in U_{i_x}.\) As \(U_{i_x}\) is an open neighbourhood of \(x\) and \(x_n \xrightarrow[]{n\to \infty}x,\) there exists an index \(N\in\mathbb{N}\) such that \(x_n\in U_{i_x}\) for all \(n\geq N.\) The remaining elements \(\{x_1,\dots,x_{N-1}\}\) can be covered by a finite number of open sets leading to the desired finite subcover of \(C.\) ◻
Consider the space \(\mathcal{C}^k(\Omega, \mathbb{R})\) equipped with the \(\mathcal{C}^k\)-norm. For simplicity, we only consider \(k=1\), \(\Omega=[0,1]\), but it might be possible to derive similar results in more general settings.
Corollary 10. Consider \(\mathcal{C}^{1}([0,1], \mathbb{R})\) equipped with the \(\mathcal{C}^1\)-norm. For \(n\in \mathbb{N}\) let \(\left\{y_1^{(n)},\dots,y_{k(n)}^{(n)} \right\}\) be an \(1/n\)-covering for \([0,1]\) and \(P_{\frac{1}{n}, i}\) the partition of unity on \([0,1]\) from 10. Then the operators \[\begin{align} \tilde{T}_n: \mathcal{C}^{1}([0,1], \mathbb{R}) &\longrightarrow \mathcal{C}^{1}([0,1], \mathbb{R})\\ f &\longmapsto \left( y \mapsto f(0) + \sum_{i=1}^{k(n)} f'(y_i^{(n)}) \int_0^y P_{\frac{1}{n}, i}(x) \mathop{} \! \mathrm{d}x \right) \end{align}\] are linear, bounded, have finite rank and converge uniformly to the identity operator on every compact \(K\subset \mathcal{C}^{1}([0,1], \mathbb{R})\), with respect to the the \(\mathcal{C}^1\)-norm. In other words, \(\tilde{T}_n\) are suitable mappings in 15 of the \(\lambda\)-BAP.
Proof. Using the fundamental theorem of calculus \(f(y) = f(0) + \int_0^y f'(x) \mathop{} \! \mathrm{d}x,\) we compute \[\begin{align} \vert f(y) - (\tilde{T}_n f)(y) \vert &= \left\vert \int_0^y f'(x) - \sum_{i=1}^{k(n)} f'(y_i^{(n)}) P_{\frac{1}{n}, i}(x) \mathop{} \! \mathrm{d}x \right\vert\\ &=\left\vert \int_0^y f'(x) - (T_nf')(x) \mathop{} \! \mathrm{d}x \right\vert\\ &\leq (1-0) \sup_{y\in [0,1]} \vert f'(y) - (T_nf')(y) \vert \xrightarrow{n\to \infty}0, \end{align}\] where the convergence to zero for \(n\to\infty\) is obtained by applying 7 with \(f'\in \mathcal{C}([0,1], \mathbb{R})\) and \(T_n\) defined as in 7. ◻
Below, we provide a comparison between the sampling encoders \(E_n\) from Section 3.1.3 with the basis encoders \(\tilde{E}_n\) introduced in Section 3.1.1. Since both of them can be used in encoder-decoder architectures for approximating operators, see 14, it is natural to ask whether sampling encoders can coincide with basis encoders for every \(n\in \mathbb{N}\). Since the sampling encoders \(E_n\) and the basis encoders \(\tilde{E}_n\) have different output dimensions, it only makes sense to compare \(E_n\) with \(\tilde{E}_{k(n)}\), where \(k(n)\) is the number of sampling points used for the definition of \(E_n\). We have not found a complete answer to the above question. However, under certain conditions on the sampling points, the following theorem reveals that \(E_n\) cannot coincide with \(\tilde{E}_{k(n)}\) for sufficiently large \(n\in \mathbb{N}\).
Theorem 21. Let \(\Omega\) be a compact metric space without isolated points, assume that \(\mathcal{C}(\Omega, \mathbb{K})\) has a Schauder basis \((b_n)_{n\in \mathbb{N}}\) and denote the basis encoders by \(\tilde{E}_n\). Consider a sequence \((y_n)_{n\in \mathbb{N}}\) in \(\Omega\) and further an unbounded sequence \(k(n)\) of natural numbers. Denote the sampling encoders corresponding to the sampling points \(\{y_1,...,y_{k(n)}\}\) by \(E_n\). Then there is some \(f\in \mathcal{C}(\Omega, \mathbb{K})\) and \(N\in \mathbb{N}\) such that for all \(n\geq N\) it is \[\begin{align} E_n(f) \neq \tilde{E}_{k(n)}(f). \end{align}\]
Proof. Without loss of generality, assume that \(k(n)\) is strictly increasing to infinity. Otherwise, consider a subsequence with that property. Due to the monotonicity of \(k(n)\) and since the set of sampling points for \(E_{n+1}\) contain the sampling points for \(E_n\), it suffices to show existence of some \(f\) and \(N\) such that \(E_N(f) \neq \tilde{E}_{k(N)}(f)\). Assume, for the sake of contradiction, that \(E_n(f) = \tilde{E}_{k(n)}(f)\) holds for every \(n\in \mathbb{N}\) and every \(f\in \mathcal{C}(\Omega, \mathbb{K})\), which means that \[\begin{align} \left( f(y_1),\dots,f(y_{k(n)}) \right)^\intercal = \left( c_1(f), \dots, c_{k(n)}(f) \right)^\intercal. \end{align}\] Therefore, it follows from the monotonicity of \(k(n)\) and 5 that \[\begin{align} f = \sum_{i=1}^\infty c_i(f) b_i = \sum_{i=1}^\infty f(y_i) b_i \end{align}\] holds for every \(f\in \mathcal{C}(\Omega, \mathbb{K})\). However, such a Schauder basis representation, in which the unique coefficient functionals \(c_i\) sample the function \(f\), is impossible, as shown in 22. ◻
In the theorem above, the sampling points for \(E_{n+1}\) were a refinement of the sampling points for \(E_n\). If, more generally, individual sampling points \(\{y_1^{(n)}, ..., y_{k(n)}^{(n)}\}\) are chosen for each \(n\in \mathbb{N}\), it remains an open question whether the previous theorem still holds. Let us close the discussion about 21 with a final remark on the assumption of \(k(n)\) to be unbounded. If \(\{y_1^{(n)}, ..., y_{k(n)}^{(n)}\}\) is an \(\frac{1}{n}\)-covering of a set \(\Omega\subseteq \mathbb{K}^d\) having a non-zero Lebesgue measure \(\mathrm{Vol}(\Omega)>0,\) the unboundedness of \(k(n)\) follows from the translation-invariance and \(\sigma\)-subadditivity of the Lebesgue measure: If \(k(n)\) had an upper bound \(s<\infty\), it would follow that \[\begin{align} \mathrm{Vol}(\Omega) \leq \sum_{i=1}^{k(n)} \mathrm{Vol}\left(B_{\frac{1}{n}}(y_i^{(n)})\right) \leq s \mathrm{Vol}\left(B_{\frac{1}{n}}(y_1^{(1)})\right)\xrightarrow{n\to\infty}0, \end{align}\] which would be a contradiction to \(\Omega\) having positive measure.
Theorem 22. Let \(\Omega\) be a metric space without isolated points. Assume that there is a Schauder basis \((b_n)_{n\in \mathbb{N}}\) of the space of bounded continuous functions \(\mathcal{C}_b(\Omega, \mathbb{K})\), equipped with the supremum-norm. Then for any sequence of points \((y_n)_{n\in \mathbb{N}}\) in \(\Omega\) there exists some \(f\in \mathcal{C}_b(\Omega, \mathbb{K})\) such that \[\begin{align} f \neq \sum_{n=1}^\infty f(y_n) b_n. \end{align}\]
Proof. Assume there was such a Schauder basis and a sequence of sampling points such that \(f = \sum_{n=1}^\infty f(y_n) b_n\) holds for all \(f\in \mathcal{C}_b(\Omega, \mathbb{K})\). Define the set of sampling points \(Y\mathrel{\vcenter{:}}=\{ y_n: n\in \mathbb{N}\}\), which are either dense or not dense in \(\Omega\). In both cases this will lead to a contradiction:
If \(Y\) is not dense in \(\Omega\), there must exist some \(z\in \Omega\) and \(\varepsilon>0\) such that the open ball \(B_\varepsilon(z)\) and \(Y\) are disjoint. In this case one can construct an \(f\in \mathcal{C}_b(\Omega, \mathbb{K})\setminus\{0\}\) with support in \(B_\varepsilon(z)\). This implies \(f(y_n)=0\) for all \(n\in \mathbb{N}\), which yields \[\begin{align} 0\neq f = \sum_{n=1}^\infty f(y_n) b_n = 0, \end{align}\] a contradiction.
Assume that \(Y\) is dense in \(\Omega\). Consider, for example, the representation of the first Schauder basis function \[\begin{align} b_1 = \sum_{n=1}^\infty b_1(y_n) b_n. \end{align}\] Due to the uniqueness of Schauder basis representations it follows that \(b_1(y_n) = 0\) for all \(n\in \mathbb{N}\setminus\{1\}\). Since \(\Omega\) has no isolated points, \(Y\setminus\{y_1\}\) is still dense in \(\Omega\) (see previous 22). Therefore, continuity of \(b_1\in \mathcal{C}_b(\Omega, \mathbb{K})\) implies \(b_1 = 0\), which is again a contradiction. Hence, there cannot exist such a Schauder basis representation. ◻
Lemma 22. Let \(\Omega\) be a topological space satisfying the following properties:
For every \(x\in \Omega\) the set \(\{x\}\) is closed. (Note that in metric spaces points are always closed sets.)
\(\Omega\) has no isolated points, i.e. for any \(x\in \Omega\) and any open neighborhood \(U\) of \(x\), the set \(U\setminus\{x\}\) is non-empty.
Further, assume that \(Y\subseteq \Omega\) is dense in \(\Omega\). Then \(Y \setminus \{ y'\}\) is still dense in \(\Omega\) for any \(y'\in Y\).
Proof. Assume \(Y\setminus \{y'\}\) was not dense in \(\Omega\). Hence, there must be some \(z\in \Omega\) and an open neighborhood \(U\subset \Omega\) of \(z\) such that \[\begin{align} \label{lem:eq1:density95single95point} U \cap \Big( Y\setminus \{y'\} \Big) = \emptyset. \end{align}\tag{9}\] Since \(Y\) is dense in \(\Omega\) it must hold that \(U\cap Y\neq \emptyset\), which implies \(y'\in U\). This means that \(U\) is an open neighborhood of \(y'\). Due to (ii) we conclude that \(U\setminus\{y'\}\) cannot be empty, so there must be some \(x'\in U\setminus\{y'\}\). From (i) it follows that \(U\setminus \{y'\}\) is open and thereby it is an open neighborhood of \(x'\). We observe \[\begin{align} \Big(U\setminus \{ y'\} \Big)\cap Y = U \cap \Big( Y\setminus \{y'\} \Big) \overset{\eqref{lem:eq1:density95single95point}}{=} \emptyset, \end{align}\] which is a contradiction to the density of \(Y\) in \(\Omega\). ◻
For the definition of a metric \(d_\infty\) inducing the Skorohod topology on \(\mathcal{D}([0,\infty))\), we follow [64]. Beforehand, for \(R>0\) we define the mapping \[\begin{align} \psi_R: \mathcal{D}([0,\infty)) &\longrightarrow \mathcal{D}([0, R])\\ \psi_R f(t) &=\begin{cases} f(t)\phantom{0(m-t)} \mathrm{ if } t\leq R-1,\\ f(t)(R-t)\phantom{0} \mathrm{ if } R-1<t\leq R. \end{cases} \end{align}\] Note that for any \(f\in \mathcal{D}([0, \infty))\) we can write \(\psi_Rf(t) = \varphi_R(t)f(t)\) with the mapping \[\begin{align} \varphi_R:[0, R] &\longrightarrow[0, 1]\\ t&\longmapsto \begin{cases} 1 \mathrm{ if } t\leq R-1,\\ R-t \mathrm{ else.} \end{cases} \end{align}\]
Definition 33. For \(f,g\in \mathcal{D}([0,\infty))\) define \[\begin{align} d_\infty(f,g)\mathrel{\vcenter{:}}= \sum_{R=1}^\infty 2^{-R} \min\Big\{ 1, d_R\big(\psi_R(f), \psi_R(g)\big) \Big\}. \end{align}\]
In order to show that \(\mathcal{D}([0, \infty))\) equipped with \(d_\infty\) has the input-EDAP, we slightly adapt 25. Below, we define a mapping \(A^{(\infty)}_{\sigma, n}\), which also has a canonical decomposition in terms of an encoder and a decoder. To simplify the notation, we define the clipping function \(\mathrm{clip}:\mathbb{R}\times [0, \infty) \to \mathbb{R}\) by \[\begin{align} \mathrm{clip}(x, n)\longmapsto\begin{cases} n \mathrm{ \, if \, } x\geq n,\\ -n \mathrm{ \, if \, } x\leq -n,\\ x,\mathrm{ \, else.} \end{cases} \end{align}\]
Definition 34. Let \(n\in \mathbb{N}\), consider points \(0=s_0<s_1<...<s_k\) in \([0, \infty)\), write \(\sigma=\{s_0,...,s_k\}\) and define \[\begin{align} A_{\sigma,n}^{(\infty)}: \mathcal{D}([0, \infty)) &\longrightarrow \mathcal{D}([0, \infty)) \\ A_{\sigma,n}^{(\infty)}(f)(t) &\mathrel{\vcenter{:}}= \begin{cases} \mathrm{clip}(f(s_{i-1}), n)\mathrm{ \, if \, } t\in [s_{i-1}, s_i) \mathrm{ \, for \, } i=1,...,k,\\ \mathrm{clip}(f(s_k), n) \mathrm{ \, if \, } t\geq s_k. \end{cases} \end{align}\] We can write \(A^{(\infty)}_{\sigma, n} = D^{(\infty)}_{\sigma}\circ E^{(\infty)}_{\sigma, n}\) where \[\begin{align} E_{\sigma, n}^{(\infty)}(f) &\mathrel{\vcenter{:}}= \Big(\mathrm{clip}(f(s_{0}), n), ..., \mathrm{clip}(f(s_{k}), n)\Big)^T,\\ D_{\sigma}^{(\infty)}(a)(t) &\mathrel{\vcenter{:}}= \begin{cases} a_{i-1} \mathrm{ \, if \, } t\in [s_{i-1}, s_i) \mathrm{ \, for \, } i=1,...,k,\\ a_k \mathrm{ \, if \, } t\geq s_k. \end{cases} \end{align}\] Note that the decoder does not depend on \(n\).
Lemma 23. \(D^{(\infty)}_{\sigma}\) is Lipschitz continuous for any \(\sigma=\{s_0,s_1,...,s_k\}\subset[0,\infty)\).
Proof. For better readability, we simply write \(D=D_{\sigma}^{(\infty)}\). It holds that \[\begin{align} d_\infty(D(a), D(b)) &\leq \sum_{R=1}^{\infty}2^{-R} d_R\big(\psi_R[D(a)], \psi_R[D(b)]\big)\\ &\leq \sum_{R=1}^{\infty}2^{-R} \sup_{t\in [0, R]} \big\vert \varphi_R(t)[D(a)(t)] - \varphi_R(t)[D(b)(t)]\big \vert\\ &\leq\sum_{R=1}^{\infty}2^{-R} \sup_{t\in [0, R]} \big\vert D(a)(t) - D(b)(t)\big \vert \\ &\leq \sum_{R=1}^{\infty} 2^{-R} \vert a-b\vert_{\infty} = \vert a-b\vert_{\infty}. \end{align}\] ◻
Next, we prove an analogous result to Lemma 15 for the space \(\mathcal{D}([0, \infty))\). Again, this result will be the key for approximating the identity by \(A^{(\infty)}_{\sigma, n}\) uniformly on compact sets, see Corollary 11.
Lemma 24. Consider \(0=s_0<s_1<s_2<...<s_k\) and write \(\sigma=\{s_0,...,s_k\}\). Let \(R, \delta>0\) and \(n\in \mathbb{N}\). Assume that \(R\in \sigma\) and \(\vert s_{i-1}- s_i\vert < \delta\) for all \(i\). Then for every \(f\in \mathcal{D}([0, \infty))\) it holds that \[\begin{align} &d_R\left(\psi_R(f), \psi_R (A^{(\infty)}_{\sigma,n}(f))\right)\\ \leq &\max\{\delta, \overline{w}_R(\psi_Rf, \delta)\} + \sup_{t\in [0, R]}\Big( \delta\vert f(t) \vert + \vert f(t) -\mathrm{clip}(f(t), n) \vert\Big). \end{align}\]
Proof. Define \(\sigma_R\mathrel{\vcenter{:}}= \{s_i\in \sigma: s_i\leq R\}\) and recall \(A^{(R)}_{\sigma_R}\) from Definition 25. It follows from Lemma 15 that \[\begin{align} d_R\left(\psi_R(f), A^{(R)}_{\sigma_R}\psi_R f\right) \leq \max\{\delta, \overline{w}_R(\psi_Rf, \delta)\}. \end{align}\] Recall the mapping \(\varphi_R:[0, R]\to [0,1]\) defined at the beginning of this section, which allows us to rewrite \(\psi_R(g)(t) = \varphi_R(t) g(t)\) for \(g\in \mathcal{D}([0, \infty))\). Furthermore, we have for \(t\in [0, R]\) that \[\begin{align} &\left\vert A^{(R)}_{\sigma_R}\psi_R f(t) - \psi_R (A^{(\infty)}_{\sigma,n}(f))(t)\right\vert\\ = & \begin{cases} \big\vert \varphi_R(s_{i-1})f(s_{i-1}) - \varphi_R(t) \mathrm{clip}(f(s_{i-1}), n) \big\vert, \mathrm{ if } t\in [s_{i-1}, s_i) \mathrm{ and } s_i\leq R;\\ \big\vert \varphi_R(R)f(R) - \varphi_R(R) \mathrm{clip}(f(R), n) \big\vert \mathrm{ if } t=R \end{cases}\\ \leq & \sup_{t\in [0, R]}\Big(\delta\vert f(t) \vert + \vert f(t) -\mathrm{clip}(f(t), n) \vert\Big), \end{align}\] due to the triangular inequality and the facts that \(\varphi_R\) maps into \([0,1]\) and is 1-Lipschitz. Therefore, \[\begin{align} d_R\left(A^{(R)}_{\sigma_R}\psi_R f, \psi_R (A^{(\infty)}_{\sigma,n}(f))\right) &\leq \sup_{t\in [0, R]}\left\vert A^{(R)}_{\sigma_R}\psi_R f(t) - \psi_R (A^{(\infty)}_{\sigma,n}(f))(t)\right\vert \\ &\leq \sup_{t\in [0, R]}\Big(\delta\vert f(t) \vert + \vert f(t) -\mathrm{clip}(f(t), n) \vert\Big). \end{align}\] Hence, the claim follows from the triangular inequality. ◻
The following characterization of relatively compact sets in \(\mathcal{D}([0,\infty))\) can be found in [64].
Theorem 23. A set \(K\subset \mathcal{D}([0,\infty))\) is relatively compact w.r.t. \(d_\infty\) if and only if for every \(R\in \mathbb{N}\), the set \(\psi_R(K)\) is relatively compact in \(\mathcal{D}([0, R])\) w.r.t. \(d_R\).
Corollary 11. Let \(\delta_n>0\) be a null sequence. Write \(\sigma_n=\{ s_0^{(n)},...,s^{(n)}_{k(n)}\}\) after choosing \(0=s_0^{(n)}<s_1^{(n)}<...<s_{k(n)}^{(n)}\) which fulfill the following three conditions:
\(\sigma_n\) contains all \(R\in \mathbb{N}\) with \(R\leq s_{k(n)}^{(n)}\);
\(s_{k(n)}^{(n)}\) strictly increases to infinity;
\(\vert s_{i-1}^{(n)}- s_i^{(n)}\vert < \delta_n\) for all \(i=1,...,k(n).\)
Then for every compact \(K\subset \mathcal{D}([0,\infty))\) it is \[\begin{align} \sup_{f\in K} d_\infty( f, A_{\sigma_n, n}^{(\infty)}f) \xrightarrow{n\to \infty} 0. \end{align}\]
Proof. Let \(\varepsilon>0\) and choose \(R_\varepsilon\in \mathbb{N}\) such that \[\begin{align} \sum_{R=R_\varepsilon+1}^\infty 2^{-R} < \frac{\varepsilon}{3}. \end{align}\] Since \(s_{k(n)}^{(n)}\) strictly increases to infinity (property (ii)), there is \(N_\varepsilon>0\) such that for all \(n\geq N_\varepsilon\) it is \(R_\varepsilon\leq s_{k(n)}^{(n)}\). Therefore, and due to properties (i) and (iii) of \(\sigma_n\), we can apply 24 for any \(R\leq R_\varepsilon\) and \(n\geq N_\varepsilon\) to conclude that \[\begin{align} &\sum_{R=1}^{R_\varepsilon}d_R(\psi_Rf, \psi_R A^{(\infty)}_{\sigma_n,n}f) \\ \leq &R_\varepsilon \left( \sup_{t\in [0, R_\varepsilon]}\delta_n\vert f(t)\vert + \vert f(t) - \mathrm{clip}(f(t), n)\vert\right) + \sum_{R=1}^{R_\varepsilon} \max\{\delta_n, \overline{w}_R(\psi_R f, \delta_n)\}. \end{align}\] Let \(K\subset \mathcal{D}([0, \infty))\) be compact. Hence, for every \(R>0\), the set \(\psi_R(K)\) is relatively compact in \(\mathcal{D}([0, R])\), according to Theorem 23. In particular, \(\psi_{R_\varepsilon + 1}(K)\) is bounded with respect to the supremum norm, see 12. Therefore, and since \(\delta_n\) is a null sequence, there is \(N_{K, \varepsilon}>0\) such that for all \(n\geq N_{K, \varepsilon}\) it is \[\begin{align} \sup_{f\in K}R_\varepsilon \left( \sup_{t\in [0, R_\varepsilon]}\delta_n\vert f(t)\vert + \vert f(t) - \mathrm{clip}(f(t), n)\vert\right) = R_\varepsilon \delta_n \sup_{f\in K} \sup_{t\in [0, R_\varepsilon]}\vert f(t)\vert < \frac{\varepsilon}{3}. \end{align}\]
By applying Theorem 12 to all finitely many \(R\in \mathbb{N}\) with \(R\leq R_\varepsilon\), we conclude that there is some \(N'_{K, \varepsilon}>0\) such that for all \(n\geq N'_{K, \varepsilon}\) we have \[\begin{align} \sup_{f\in K} \sum_{R=1}^{R_\varepsilon} \max\{\delta_n, \overline{w}_R(\psi_R f, \delta_n)\} < \frac{\varepsilon}{3}, \end{align}\] Therefore, for all \(n\geq \max \{N_\varepsilon, N_{K, \varepsilon}, N_{K, \varepsilon}'\}\), it follows that \[\begin{align} \sup_{f\in K} d_\infty(f, A^{(\infty)}_{\sigma_n,n}f) &= \sup_{f\in K} \sum_{R=1}^\infty 2^{-R} \min\{1, d_R(\psi_R f,\psi_R A^{(\infty)}_{\sigma_n,n}f)\}\\ &\leq \sum_{R=R_\varepsilon+1}^\infty 2^{-R} + \sup_{f\in K} \sum_{R=1}^{R_\varepsilon}d_R(\psi_Rf, \psi_RA^{(\infty)}_{\sigma_n,n}f)< \varepsilon. \end{align}\] ◻
Finally, we obtain the desired result.
Theorem 24. \(\mathcal{D}([0, \infty))\) has the input-EDAP.
Proof. It only remains to show that the encoder \(E_{\sigma_n, n}^{(\infty)}\) fulfills property (i) in 12. This follows from the observation that for every \(f\in \mathcal{D}([0, \infty))\) it is \[\begin{align} \vert E_{\sigma_n, n}^{(\infty)} f \vert \leq c_n n, \end{align}\] where \(c_n>0\) is such that \(\vert x \vert \leq c_n \vert x \vert_{\infty}\) for all \(x\in \mathbb{R}^{k(n)}.\) ◻
Remark 21. It is due to 8 that for any \(b>0\), the set \(M_b\mathrel{\vcenter{:}}= \{f\in \mathcal{D}([0, \infty)): \Vert f \Vert_\infty \leq b\}\) equipped with \(d_\infty\) has the input-EDAP, too. For \(M_b\), one can also omit the clipping of the encoder in 34, as this was only required for verifying property (i) in 12.
Remark 22. On \(\mathcal{D}([0, \infty))\), one could also omit the clipping of the encoders in 34. However, the encoders and decoders would only fulfill the weaker requirements of the input-CEDAP, see 27. Still, this would allow for operator approximation as in statement , with the Skorohod space being the input space.
In this section, we provide a proof of 17, which applies to low-rank MIONets from 30, when basis encoders are used for the input spaces \(\mathcal{X}_i\), and \(S\) is a dense subset of \(\mathcal{Y}\) that consists of neural networks. Note that it would be sufficient to assume that \(\mathcal{X}_1\) and \(\mathcal{X}_2\) have the input-CEDAP, respectively. For a simpler notation, we assume them to have the input-EDAP.
Beforehand, we introduce some notation for the tensor products of vector spaces, where we follow [81]. The tensor product between vector spaces \(\mathcal{Z}_1\) and \(\mathcal{Z}_2\) is denoted by \(\mathcal{Z}_1\otimes\mathcal{Z}_2\). Note that every \(u\in \mathcal{Z}_1\otimes\mathcal{Z}_2\) has a representation \[\begin{align} u = \sum_{i=1}^p v_i \otimes w_i, \end{align}\] where \(v_i\otimes w_i\) denotes the tensor product of some \(v_i\in \mathcal{Z}_1\) and \(w_i\in \mathcal{Z}_2.\)
Proof of 17. Let \(G\in \mathcal{C}(\mathcal{X}_1\times \mathcal{X}_2, \mathcal{Y})\) and consider some compact \(K\subseteq \mathcal{X}_1\times \mathcal{X}_2\). First, observe that there are compact \(K_1\subseteq \mathcal{X}_1\) and \(K_2\subseteq \mathcal{X}_2\) such that \(K\subseteq K_1\times K_2\). According to [81], the mapping \[\begin{align} J: \big(\mathcal{C}(K_1, \mathbb{R}) \otimes \mathcal{C}(K_2, \mathbb{R}) \big)\otimes \mathcal{Y}&\longrightarrow \mathcal{C}(K_1\times K_2, \mathcal{Y})\\ J\left( \sum_{i=1}^p (v_i\otimes w_i) \otimes y_i\right)(f_1, f_2) &\mathrel{\vcenter{:}}= \sum_{i=1}^p v_i(f_1) w_i(f_2) y_i \end{align}\] has dense range in \(\mathcal{C}(K_1\times K_2, \mathcal{Y})\), the latter being equipped with the supremum norm. Therefore, for any \(\delta>0\), there exists some \(v_i\in \mathcal{C}(K_1, \mathbb{R})\), \(w_i\in \mathcal{C}(K_2, \mathbb{R})\) and \(y_i\in \mathcal{Y}\) such that \[\begin{align} \sup_{(f_1, f_2)\in K_1\times K_2}\left\Vert G(f_1, f_2) - \sum_{i=1}^p v_i(f_1) w_i(f_2)y_i \right \Vert_\mathcal{Y}< \delta. \end{align}\] The claim then follows by approximating \(y_i\) by \(\psi_i\in S\), as well as applying 8 for the approximation of \(v=(v_1,...,v_p)\in \mathcal{C}(K_1, \mathbb{R}^p)\) and \(w=(w_1,...,w_p)\in \mathcal{C}(K_2, \mathbb{R}^p)\) by a concatenation of \(\varphi^{(1)}, \varphi^{(2)}\in \mathcal{F}\) with suitable encoders from the input-EDAP of \(\mathcal{X}_1\) and \(\mathcal{X}_2\). Note that on \(\mathbb{R}^p\), the decoders in 8 can be chosen as the identity mapping. ◻
Lemma 25. Let \((\mathcal{X}, d_\mathcal{X})\) and \((\mathcal{Y}, d_\mathcal{Y})\) be metric spaces, where \(\mathcal{X}\) is separable. Consider some Lipschitz continuous \(F\in \mathcal{C}(\mathcal{X}, \mathcal{Y})\). Assume that for every compact \(K\subseteq \mathcal{X}\) there is some sequence \((F_{K, n})_{n\in \mathbb{N}}\) in \(\mathcal{C}(\mathcal{X}, \mathcal{Y})\) which satisfies
All \(F_{K, n}\) are Lipschitz continuous with Lipschitz constant \(L>0\), which is independent on \(n\) and \(K\).
It holds that \[\begin{align} \sup_{x\in K} d_\mathcal{Y}\big(F(x) \, , \, F_{K, n}(x)\big) \xrightarrow{n\to\infty} 0. \end{align}\]
Then there exists a strictly increasing sequence \((a_n)_{n\in\mathbb{N}}\subset \mathbb{N}\) as well as a sequence of compact sets \(K_n\) such that \(F_n \mathrel{\vcenter{:}}= F_{K_n, a_n}\) converges uniformly to \(F\) on every compact \(K\).
Proof. By separability of \(\mathcal{X}\), there exists a sequence \((x_n)_{n\in \mathbb{N}}\) which is dense in \(\mathcal{X}\). Define the compact sets \(K_n \mathrel{\vcenter{:}}= \{x_k: k\leq n\}\). By property (ii) there is some strictly increasing sequence of natural numbers \((a_n)_{n\in\mathbb{N}}\) such that for all \(n\in \mathbb{N}\) it holds that \[\begin{align} \sup_{x\in K_n} d_\mathcal{Y}\big( F_{K_n, a_n} (x) \, , \, F(x)\big) \leq \frac{1}{n}. \end{align}\] Define the operators \(F_n \mathrel{\vcenter{:}}= F_{K_n, a_n}.\) We first show pointwise convergence, so let \(x\in \mathcal{X}\) and \(\varepsilon>0\). Due to density of \(\{x_n: n\in \mathbb{N}\}\) and continuity of \(F\) in \(x\), there exists \(i\in \mathbb{N}\) such that \[d_\mathcal{X}( x\, , \, x_i) \leq \frac{\varepsilon}{3L} \quad \text{and} \quad d_\mathcal{Y}\big( F(x_i) \, , \, F(x)\big) \leq \frac{\varepsilon}{3}.\] Choose \(N\in \mathbb{N}\) large enough such that for all \(n\in \mathbb{N}\) we have \[\begin{align} x_i\in K_n\quad \text{and} \quad \sup_{x\in K_n} d_\mathcal{Y}\big( F_{n} (x) \, , \, F(x)\big) \leq \frac{\varepsilon}{3}. \end{align}\] It follows then from (i) that \[\begin{align} d_\mathcal{Y}\big( F(x) \, , \, F_n(x) \big) &\leq d_\mathcal{Y}\big( F(x) \, , \, F(x_{i}) \big) + d_\mathcal{Y}\big( F(x_{i}) \, , \, F_n(x_{i}) \big) + d_\mathcal{Y}\big( F_n(x_{i}) \, , \, F_n(x) \big) \\ &\leq \frac{\varepsilon}{3} + \frac{\varepsilon}{3} + Ld_\mathcal{X}( x_{i} \, , \, x ) \leq \varepsilon, \end{align}\] which shows pointwise convergence of \(F_n\) to \(F\).
Let \(K\subseteq \mathcal{X}\) be compact and \(\varepsilon>0\). Let \(L_0>0\) be a Lipschitz constant of \(F\). By compactness of \(K\), there exists \(y_1,\dots,y_p\in K\) such that \[\begin{align} K \subset \bigcup_{i=1}^p B_r(y_i) \mathrm{\, with radius }r\mathrel{\vcenter{:}}= \frac{\varepsilon}{3(L_0+L)} \end{align}\] Since \(F_n\) converges pointwise to \(F\), choose \(N\in \mathbb{N}\) large enough such that for all \(n\geq N\) and every \(i=1, \dots,p\) it is \[\begin{align} d_\mathcal{Y}\big( F_n(y_i) \, , \, F(y_i) \big) \leq \frac{\varepsilon}{3}. \end{align}\] Given any \(x\in K\) there exists \(y_{i^*}\) with \(i^*\in \{1,\dots,p\}\) such that \(d_\mathcal{X}( x\, , \,y_{i^*}) \leq r\). Therefore, \[\begin{align} d_\mathcal{Y}\big( F(x) \, , \, F_n(x) )&\leq d_\mathcal{Y}\big( F(x) \, , \, F(y_{i^*}\big) + d_\mathcal{Y}\big( F(y_{i^*}) \, , \, F_n(y_{i^*}) \big) + d_\mathcal{Y}\big( F_n(y_{i^*}) \, , \, F_n(x) \big) \\ &\leq L_0 d_\mathcal{X}( x \, , \, y_{i^*} ) + \frac{\varepsilon}{3} + L d_\mathcal{X}( y_{i^*} \, , \, x) \leq \varepsilon. \end{align}\] Taking the supremum over all \(x\in K\) shows that \(F_n\) converges uniformly to \(F\) on \(K\). ◻
Janek Gödeke acknowledges funding by the Deutsches Zentrum für Luft- und Raumfahrt (grant no. 50 EE 2204). Further, Janek Gödeke and Pascal Fernsel acknowledge funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation, Project Number 281474342/GRK2224/2).
We thank Peter Maaß from the University of Bremen and Maarten de Hoop from the Rice University for fruitful discussions about operator learning and approximation. We also thank Nihat Ay for his invitation to TU Hamburg for discussions, and Paweł Przybyłowicz from AGH University of Krakow for his question whether the EDAP-theory is applicable to Skorohod spaces. Further, we thank Hendrik Vogt from the University of Bremen for our discussions and his contribution to 20.