Estimating Distributions with Low-dimensional Structures Using Mixtures of Generative Models
Abstract
There has been a growing interest in statistical inference from data satisfying the so-called manifold hypothesis, assuming data points in the high-dimensional ambient space to lie in close vicinity of a submanifold of much lower dimension. In machine learning, encoder-decoder pair based generative modelling approaches have been successful in learning complicated high-dimensional distributions such as those over images and texts by explicitly imposing the low-dimensional manifold structure. In this work, we introduce a new approach for estimating distributions on unknown submanifolds via mixtures of generative models. We show that conventional generative modeling approaches using a single encoder-decoder pair are generally unable to capture data distributions under the manifold hypothesis, unless the underlying manifold admits a global parametrization; however, this issue can be solved by using a collection of encoder-decoder pairs for learning different local patches of the data supporting manifold. A rigorous theoretical analysis is developed to demonstrate that the proposed estimator attains the minimax-optimal rate of convergence for the implicit estimation of data distributions with manifold structures. Our experiments show that, by utilizing parameter sharing, the proposed method can significantly improve the performance of conventional auto-encoder based generative modelling approaches with minimal additional computational efforts.
Keywords: Autoencoder; distribution estimation; generative model; manifold; minimax-rate.
1 Introduction
Modelling and estimating complicated high-dimensional distributions with low-dimensional structures remains one of the major challenges in modern statistical learning. Suppose we observe i.i.d. samples living in an ambient Euclidean space according to some unknown distribution . We wish to estimate based on the samples for conducting statistical inference and generating new samples. One of the most popular nonparametric methods for distribution estimation is kernel density estimation (KDE). It has been shown that when admits a density function relative to the Lebesgue measure of , and the density function is -smooth, then KDE can achieve the optimal rate for recovering the density value at any point in (Silverman, 2018; Tsybakov, 2009). However, the non-parametric rate suffers from the curse of dimensionality as the ambient dimension appears in the rate exponent and can be enormous in machine learning applications involving images and texts (Brock et al., 2018; Oord et al., 2016). In order to avoid this exponential blow-up of the dimension, a common practice is to assume some additional structure in the data so that the effective dimension of the data space is relatively low.
One such structure that has attracted much attention recently is the so-called manifold hypothesis, which assumes the date to live on a -dimensional submanifold embedded in the possibly high-dimensional ambient space . Although submanifolds have more complicated geometry than the conventional Euclidean spaces, the manifold hypothesis is a natural assumption to make in a number of areas of science and technology. For example, in computer vision and medical imaging, data are usually images represented as vectorized pixel intensities. Although images may contain millions of pixels, it is usually determined by a comparatively smaller set of global characteristics such as camera projection, lighting condition, texture, object position and orientation. Other examples of high-dimensional complex data with low-dimensional manifold structures appear in natural language processing (Luo et al., 2020; Ling et al., 2017), protein-protein interaction detection (You et al., 2010; Terradot et al., 2004), and astronomy and shape analysis (Mardia, 1999; Jupp & Mardia, 2009).
Statistical theory and methodology for modeling manifold valued data have been developed in various contexts (Lin et al., 2020; Lin et al., 2017; Zhang et al., 2022; Lan et al., 2021; Divol, 2022; Tang & Yang, 2022; Berenfeld et al., 2022). Specifically, the problem of estimating a probability measure lying on an unknown low-dimensional Riemannian submanifold has been studied in a number of recent works. For example, Divol (2022) consider a kernel density type estimator based on a preliminary step of estimating the volume measure of the submanifold using local polynomial estimation techniques. They prove that the developed estimator can achieve the minimax-optimal error bound under the Wasserstein loss. Tang & Yang (2022) construct a two-step estimator: the first step estimates the data supporting submanifold; and the second step recovers the distribution on the estimated submanifold based on wavelet type estimators. They also show that such an estimation is minimax-optimal with respect to certain adversarial loss functions. Berenfeld et al. (2022) develop a Bayesian procedure based on location-scale mixtures of Gaussians for estimating the density of data living close to an unknown submanifold with theoretical guarantees. However, although these existing methods are theoretically appealing, they usually have poor computational scalability with the ambient dimensionality and the sample size, making them costly to implement for modeling massive and high-dimensional real data, such as images and texts.
Auto-encoder based deep generative modeling approaches in the machine learning literature, such as variational auto-encoder (VAE) (Kingma & Welling, 2013; Rezende et al., 2014; Kingma et al., 2016), Wasserstein auto-encoder (WAE) (Tolstikhin et al., 2019), InfoVAE (Zhao et al., 2019) and inferential Wasserstein generative adversarial networks (iWGAN) (Chen et al., 2022), have achieved great successes in generating synthetic realistic-looking images and texts, and are usually very efficient to implement. However, despite their empirical successes, a general theoretical framework explaining whether and how these generative modelling approaches benefit from the low-dimensional manifold structure is lacking, and it is also not clear whether these existing methods are theoretically optimal in the minimax sense. For example, the key step in the auto-encoder is the extraction of () latent features (via an encoder ) that can be used for accurately reconstructing the original data (via a decoder ). In other words, these auto-encoder based methods implicitly assume data to have a low-dimensional structure so that they can be accurately reconstructed in the sense that . Moreover, it is often the case that real-world data falls on a manifold that does not admit a global parametrization. For example, when the data space is a boundaryless manifold such as a sphere, or disconnected (Khayatkhoei et al., 2018). This lack of global parametrization makes conventional auto-encoder methods equipped with a single encoder/decoder pair incapable of recovering the entire data space without incurring distortions. Our empirical results (c.f. Fig. 1) also suggest that conventional auto-encoder based generative modelling approaches tend to generate off real-manifold samples with unrealistic appearances.
In this article, we propose a new generative modelling approach for learning manifold-supported distributions that is theoretically minimax-optimal, computationally efficient, and empirically promising in generating complicated yet realistic-looking data. Unlike most existing generative modelling procedures that rely on the strong assumption of the existence of a global parametrization of the data space, we employ multiple encoder/decoder pairs, where each pair corresponds to the parametrization of a local patch of the data supporting manifold. Moreover, we utilize the partition of unity technique for gluing local probability measures estimated in the patches to form a global estimation of the probability measure on the manifold. In addition, most existing methods simply plug in the data empirical distribution in constructing the objective function for defining a GAN (Goodfellow et al., 2014) type estimator, which may lead to theoretical deficiency due to the failure of taking the smoothness of the target distribution into account. We instead propose to plug in a smoothness-regularized version that provably improves the estimation accuracy. Concretely, we show that when the target distribution is -smooth and lies in a -smooth -dimensional submanifold in , then the corresponding estimator based on data points achieves a non-asymptotic error bound of order (here denotes under the -Wasserstein distance, which corresponds to the minimax rate modulo a logarithmic factor when . The implied rate of convergence does not suffer from the “curse of dimensionality” and only depends on the intrinsic dimensionality of the data. Our numerical results also show that the proposed method tends to be more accurate than conventional auto-encoder based generative modelling approaches and classic kernel density estimators for learning target distributions with low-intrinsic dimensional structures.
1.1 Notation
We summarize some necessary notations and definitions here. For any positive integer , we use the shorthand . We use to denote the usual vector norm, and reserve for the norm. We use to denote the -dimensional unit sphere in . For a probability measure , we use to denote its support. For any measure and map , the push-forward measure is defined as the unique measure such that holds for any measurable set . For two probability measures , the -Wasserstein distance between and is defined as , where denotes the minimal Lipschitz constant for . When no ambiguity arises, for an absolutely continuous probability measure , we may also use to refer to its density function. We use to denote the set of probability measures on . We use to denote the closed ball centered at with radius under the distance. We use to denote the set of all -Hölder smooth functions with Hölder norm being bounded by (see for example, Evans (2010a)). Similarly, we use to denote the vector valued function space counterpart.
1.2 Organization
The rest of the paper is organized as follows. In Section 2, we give a brief introduction to the auto-encoder based generative modelling approaches and define smooth distributions on manifolds. Our proposed model is introduced in Section 3, and its implementation and theoretical properties are described in Section 4 and Section 5, respectively. Simulations and a real data application are provided in Section 6 and Section 7.
2 Background
2.1 Auto-encoder based generative modelling approaches
Assume i.i.d. data sampled from an unknown target distribution over data space are available. In the literature of generative modelling, the target distribution is implicitly specified by its sampling scheme, represented by a generative model. Mathematically, a generative model is defined as a pair , where is a distribution on a low-dimensional latent space , called generative distribution, that is easy to sample from; and is a map from to , called generative map, so that if , then . The goal of generative modelling is to fit a generative model that specifies a stochastic process whose simulated data look indistinguishable from real data. In particular, auto-encoder based generative modelling approaches introduce a family of encoders that send the data to the (low-dimensional) latent variables , and a family of decoders that reconstruct the data from the latent variables, so that they jointly minimizes the following objective:
where is a cost function. The first component of the objective function corresponds to the reconstruction cost: a common choice is the squared loss . This reconstruction cost enforces the push-forward measure of to be as close to as possible. On the other hand, the second component involves a penalty term for regularizing the encoder/decoder pair. For example, in VAE (Kingma & Welling, 2013; Rezende et al., 2014; Kingma et al., 2016), the penalty term is chosen to be an averaged Kullback-Leibler (KL) divergence between the latent variable distribution induced by the (probabilistic) encoder and a prior distribution ; in iWGAN (Chen et al., 2022), the penalty term is chosen to be an approximation to the -Wasserstein distance between the reconstructed data distribution and induced distribution from the generative model using prior . Other approaches choose penalty terms for directly matching the encoder-induced latent variable distribution and a given prior in the latent space (for example, WAE, Tolstikhin et al. (2019); infoVAE, Zhao et al. (2019); Sliced WAE, Kolouri et al. (2018)), which leads to the following training objective:
| (1) |
where denotes the discrete empirical distribution of the data , and is a generic discrepancy metrics characterizing closeness between distributions over the latent space. We will call any method whose training objective takes the form as (1) a latent distribution matched auto-encoder (LDMAE) for future reference. Ideally, the learned decoder from minimizing (1) has the property that . Comparing with approaches directly dealing with distributions on the ambient space (Goodfellow et al., 2014; Arjovsky et al., 2017; Khayatkhoei et al., 2018), the latent distribution matching schemes bring several computational benefits. First, the choice of for quantifying the discrepancy between distributions in the latent space is more flexible since these distributions usually admit a density function relative to the Lebesgue measure over ; in contrast, many commonly used discrepancies metrics such as the total variation distance, the Hellinger distance and the KL divergence are known to be unsuitable for characterizing closeness between nearly singular measures over the ambient space (Li et al., 2017; Xu et al., 2018). Second, computing a discrepancy between distributions in the relatively low-dimensional latent space is much more efficient and does not suffer from the curse of dimensionality, make the training process more stable and less time-consuming. In addition, the extra flexibility of allows one to employ those metrics that have simple and explicit computational formulas, such as the squared maximum mean discrepancy (MMD) (Tolstikhin et al., 2019; Zhao et al., 2019) and the sliced Wasserstein distance (Kolouri et al., 2018).
At the end of this subsection, we describe two important limitations of LDMAE, which motivate our proposed method to be introduced in Section 3. Concretely, based on the aforementioned decomposition perspective of the training objective (1), the estimation error of from the target distribution depends on two terms: (1) the “distance” between and ; (2) the “distance” between and , where denotes the learned encoder from minimizing (1). Let denote the support of the true data generating distribution as a -dimensional submanifold embedded in . To control the first distance, one needs to have a global parametrization, that is, we can find some continuous maps and so that for any , . This global-parametrization condition does not hold for many common manifolds, such as disconnected manifolds and boundaryless manifolds like spheres and torus. The second distance depends on how well the empirical data distribution induced empirical latent distribution can approximate the population level distribution . However, even though we assume that manifold admits a global parameterization such that and for some , in the decoder and encoder families, the discrete empirical distribution may suffer from statistical deficiency for approximating a smooth measure (Liang, 2020; Tang & Yang, 2022). As a result, simply plugging-in in the penalty term may lead to overfitting.
2.2 Partition of unity and distributions on manifolds
Intuitively speaking, a manifold is a topological space that locally resembles the Euclidean space. Formally, we have the following mathematical definition of a manifold.
Definition 1.
A -dimensional manifold is defined as a topological space satisfying:(1) There exists an atlas on consisting of a collection of -dimensional charts covering , that is, . (2) Each chart 11 1 Subscript is suppressed for the simplicity of notation. in atlas consists of a homeomorphism , called coordinate map, from an open set to an open set .
We call a manifold a (-smooth) submanifold embedded on if , and the coordinate map and its inverse in each chart are -smooth maps when identified as functions defined on subsets of Euclidean spaces. Another useful notion related to the manifold is partition of unity.
Definition 2.
A partition of unity of a manifold is a collection of functions satisfying
1. for all , and for all .
2. Each point has a neighborhood which intersects for only finitely many .
Using the partition of unity, one can glue constructions in the local charts to form a global construction on the manifold. A partition of unity can be constructed from any open cover of the manifold in a way where the partition is indexed over the same set and for any . Such a partition of unity is said to be subordinate to the open cover .
For a manifold with atlas , suppose is finite and we write it as . Given a partition of unity subordinate to the open cover , one can decompose any distribution on as
| (2) |
where the first inequality uses for all , and the second inequality uses the fact that and is a homeomorphism on .22 2 If admits an -smooth density function for relative to the Lebesgue measure on for each , then is said to be an -smooth distribution on . Then if we write , can be expressed as the following (mixture of) generative models:
| (3) |
Decomposition (3) suggests that any distribution lying on a -dimensional submanifold embedded on whose atlas composed of at most -number of charts belongs to the following mixture of generative models class:
This space forms our model space representing distributions on manifolds.
3 Mixture of latent distribution matched auto-encoder
From discussions in Section 2, we see that conventional auto-encoder based generative modelling approaches may suffer from low representation power when the target distribution to be estimated lies on a general submanifold without global parametrization. However, the property that any manifold-supported distribution can be expressed in the form of a mixture of generative models (c.f. decomposition (3)) motivates us to employ multiple encoder/decoder pairs, and to use the partition of unity to glue them together with proper weights.
Recall that we have a set of i.i.d observations sampled from the target distribution lying on a -dimensional submanifold embedded in with . Let be a suitably chosen open cover to , fix a partition of unity subordinate to ,33 3 Here we may consider any function so that and for any . Note that would form a partition of unity to . which can be chosen without the knowledge of (c.f. Section 4). For any generic approximation family consists of , where with , with , and with , we define the following estimator, which we call mixture of latent distribution matched auto-encoder (MLDMAE) estimator:
| (4) | ||||
where recall that is the cost function, is a (smoothness-regularized) estimator to the density of (the precise definition is available in Appendix C), and is a generic discrepancy measure between distributions on the latent space. Different from conventional LDMAE estimators, MLDMAE can also use empirical Bayes method to select data-dependent prior distributions for local latent variables, which adds extra flexibility in the modeling and may potentially reduce the approximation error. We show in Theorem 1 that for some carefully chosen approximation family , cost function , discrepancy metric , and smoothness-regularized estimator , the resulting estimator attains the minimax rate of convergence under the -Wasserstein distance as when is an -smooth distribution on an unknown -smooth -dimensional submanifold.
The objective function of MLDMAE can be decomposed into two parts: the reconstruction cost and the penalty . We may also allow the latent dimension to be different across encoder/decoder pairs over . The reconstruction cost aims to learn local parametrizations of the supporting manifold of by enforcing the encoder/decoder pair to represent some coordinate system of local patch of in decomposition (3). Therefore, it corresponds to the support recovery of . By employing multiple encoder/decoder pairs, the MLDMAE estimator avoids the restrictive global-parametrization assumption that is implicitly assumed in conventional LDMAE estimators. As a result, MLDMAE is suitable for a wider range of problems (see Fig. 1 for an illustration). On the other hand, the penalty term aims to enforce the reweighted local latent distribution to match some member in the pre-specified prior family, so that is close to the in decomposition (3).
In practice, instead of selecting the best data-dependent priors, we can also fix the prior as a simple distribution such as an isotropic Gaussian. Moreover, can be chosen as certain squared maximum mean discrepancy (MMD) loss44 4 For a positive-definite reproducing kernel , the MMD loss is defined as that can be efficiently computed in a closed-form formula. The -th smoothness-regularized distribution in (4) can be constructed by applying kernel-smoothing to its (weighted) empirical counterpart with , leading to for a suitable kernel . Note that when kernel is the Gaussian kernel with bandwidth parameter , then corresponds to the Gaussian-smoothed distribution , where is the randomly perturbed encoder defined by .55 5 Here for randomized map , the push forward measure is defined as the measure so that for any measureable function , where the expectation is with respect to the randomness of . Employing such a smoothness-regularized distribution can be viewed as applying a randomized data augmentation to increase the variability of the encoded training samples, which mitigates potential overfitting to data and improves the generalization ability of the resulting estimator.
Introducing the encoder-decoder structure as in our estimator brings several benefits. Computationally, the encoders turn the high-dimensional data into low-dimensional latent variables so that we only need to compute a penalty term over low-dimensional distributions. Therefore, the MLDMAE framework brings less computational burden compared with generative modelling approaches (e.g. iWGAN) that directly deal with distributions in the ambient space. Theoretically, when , the data distribution becomes a singular measure in . As a consequence, with the information about the supporting manifold of , which is explicitly induced by the encoder-decoder pairs, it is possible to utilize classical techniques of nonparametric density estimation, such as wavelet truncation, to construct a minimax-optimal estimator. Specifically, the underlying true latent variable distribution defined in the mixture of generative models (3) is, with high probability, absolutely continuous with respect to the Lebesgue measure on (c.f. Lemma 4 in Appendix C), which enables us to develop smoothness-regularized estimators by borrowing techniques from Liang (2020) and Singh et al. (2018). Indeed, as suggested by Liang (2020) and Tang & Yang (2022), the rate achieved by the MLDMAE estimator when is minimax-optimal up to logarithmic factor relative to the -Wasserstein distance.
4 Computation
In this section, we discuss some important computational aspects of the proposed method.
Choice of partition of unity: One issue we need to address is how to choose a reasonable partition of unity . To do this, we can first run a clustering algorithm such as (mini-batch) -means to the data using a sufficiently large cluster number . Based on the clustering result, one straightforward choice of is the indicator function . We can also choose a smooth partition of unity by the following: firstly we record the centroid of the -th cluster as and the smallest radius so that data points in the -th cluster are included in . Then we can construct an open cover where is a small positive number so that can cover the unknown support of with high probability. Given the open cover, for each , we define a local partition function as , where is a tuning parameter. The resulting forms a partition of unity for with for . Note that tends to give less weight to points away from the centroid for large .
Choice of penalty terms: We choose the smoothness-regularized distribution as the Gaussian kernel-smoothed version of as described in Section 3. This relates to the commonly-used Gaussian encoder in VAE, and thus we can utilize the reparametrization trick in VAE to optimize the desired objective function. For the priors , we can consider a simple distribution such as standard Gaussian as is usually done in conventional generative modelling approaches. Moreover, to ensure the smoothness of the learned manifold, we can consider data-driven priors described in Remark 1 in Section 5 below, so that and can be ensured to have matching tails. For the discrepancy metric , to prevent instability in the adversarial training, we can: (1) choose to be the (squared) MMD characterized by a positive-definite kernel , such as the inverse multiquadratics (IMQ) kernel and the RBF kernel ; (2) when the intrinsic (latent) dimension is of order , we can choose as the -Wasserstein distance computed by the “POT” package (Flamary et al., 2021), which returns the optimal transport map between two discrete measures using network simplex algorithm (Bonneel et al., 2011).
Construction of decoders and encoders: The decoders and encoders can be realized through neural networks. However, for a large , we will have a large number of parameters to train if we see each decoder/encoder as an independent neural network. To address this issue, we enable parameter sharing inside the set of decoders and the set of encoders . Specifically, for the set of encoders, we set the last (output) layer to be free among the encoders while other layers to be tied. Moreover, since the decoder-encoder structure aims to reconstruct the data, we want the decoder to be close to the inverse of the encoder . To achieve this, for the set of decoders, we oppositely set the first (input) layer to be free among the decoders and tie other layers. The rationale behind our parameter sharing scheme is that in the encoder, the first (convolutional) layer focuses on “low-level” features extraction and other layers extract “high-level” features. Therefore, the described parameter sharing scheme enables the networks to leverage the common “low-level” information among different clusters of the data, hence improves the model training efficiency.
Optimization of objective function: Recall that , where is a randomized perturbed encoder and is the re-weighted empirical measure . Given a discrepancy metric and cost function defining the penalty and reconstruction cost, we can rewrite the objective function as
To approximate the gradient of this objective function, we sample from the measure by introducing auxiliary random variables . Specifically, we include data into the empirical measure if and otherwise we exclude the data from . Moreover, the penalty term can be estimated using finite samples from and .
Based on the above discussion, we can now develop the algorithm as described in Algorithm 1 for implementing the MLDMAE estimation, where we use and to denote the decoders and encoders parametrized by and respectively.
5 Theoretical Analysis
In this section, we derive the finite sample error of the MLDMAE estimator. We first state the following assumptions on the target distribution and the approximation family used in defining the estimator (4).
Assumption A (Target distribution): The target distribution on manifold satisfies that: (1) ; (2) for any , there exists and so that holds for any ; (3) for any , let , then and ; let , there exists a function , so that for any and , there exists such that and .
Assumption B (Approximation family): The approximation family satisfies that (1) with , and ; (2) for any , it holds that and for any .
Example (Manifold-supported distributions): For any -smooth distribution on a -smooth -dimensional boundaryless compact submanifold embedded in and with a positive density, we can find a suitable open cover and partition of unity so that Assumption A holds. Moreover, the (mixture of) generative model class induced by the approximation family with being any fixed -smooth distribution on whose density value bounded away from zero (e.g., uniform distribution), suffices to model the manifold-supported distributions (i.e., Assumption B holds for the approximation family ). In particular, when , we can consider the compositions as -smooth encoders for preventing the estimation of priors, that is, we can use the approximation family . Further details are available in Appendix B.
Remark 1.
The choice of the approximation family suggests that, for learning a manifold-supported distribution, instead of taking the priors to be some fixed simple distribution , we may rescale by the weight so that the resulting distribution has a matching tail as after convergence. However, incorporating such a prior family in MLDMAE may lead to an unstable training due to the high irregularity of functions . To address this issue, we can consider “data-driven” priors as follows: we first fix to be some simple fixed distribution , such as uniform distribution or truncated normal, then we run the MLDMAE algorithm to obtain estimators of encoder/decoder pairs . Now we fix the priors to be rescaled by , and run the MLDMAE algorithm with initialization to obtain estimators of encoder/decoder pairs . The above steps can continue by fixing the priors to be and obtaining estimators , and stop until no improvement in validation error is seen. Using such a data-driven prior can largely improve the performance of MLDMAE at the intersections of the support of different partition functions, see Fig. 2 for an illustration.
Example (Distributions with clustering structures): Another example is a distribution induced by the mixture of generative models , where supports of generative models are disjoint. In this case, the supporting manifold of is a disconnected manifold, and we can simply choose to be any disjoint sets that can cover each support of the generative model (i.e., for ), and take to be the indicator function . With such choices, Assumption A holds if for each , is -smooth with a compact support, and is -smooth with a -smooth inverse.
Theorem 1.
Fix , and a partition of unity subordinate to the open cover . Suppose the target distribution satisfies Assumption A and the approximation family satisfies Assumption B. If we choose the discrepancy metric to be the -Wasserstein distance and cost function to be the squared loss, then there exists a choice of regularization coefficients so that for large enough ,
- 1.
if , then by choosing the re-weighted empirical measure with as the plug-in, the resulting estimator satisfies with probability at least that
(5) - 2.
if , , then there exists a smoothness-regularized empirical measure as the plug-in, so that the resulting estimator satisfies with probability at least that
(6)
The smoothness-regularized empirical measure adopted in the proof of Theorem 1 can either be based on wavelet truncation or kernel density estimator of the measure . Based on the minimax lower bound developed in Liang (2020) and Tang & Yang (2022), the convergence rate in Theorem 1 is minimax-optimal relative to the -Wasserstein distance when . If Assumption A holds for , then statement (5) can provide a theoretical guarantee to the LDMAE estimator. The ambient dimension does not appear in the exponent of the developed rate; thus Theorem 1 shows the adaptiveness of MLDMAE to low-dimensional submanifold structures since the bound does not suffer from the “curse of dimensionality”. Moreover, the MLDMAE estimator can take advantage of the smoothness of the target measure to further enhance the estimation accuracy by regularizing the empirical measure in the penalty.
6 Simulation
In this section, we present some visual results of the MLDMAE approach when apply to common manifolds: D-spiral and torus. The precise data generating distributions are given in Appendix A. The penalty term is chosen to be the -Wasserstein distance computed by the “POT” package (Flamary et al., 2021) and the cost function is the squared loss. As benchmarks, we also consider (1) the classic kernel density estimator (KDE) with Gaussian kernel that is commonly employed in statistics literature for density estimation; (2) the LDMAE estimator with the same kind of cost function and discrepancy metric as MLDMAE. The generated samples from the generators learned by different approaches are given in Fig. 3. The -Wasserstein distance between the estimated distribution and the true distribution are given in Table 1. We can see that employing multiple encoders and decoders can lead to much better performance than employing a single pair of encoder and decoder. In particular, we can see even though we increase the complexity of the encoder/decoder family, LDMAE still can not capture the correct shape of these standard manifolds in statistics. On the other hand, by allowing multiple encoders/decoders in MLDMAE, the manifold structure can be correctly learned with a relatively simple encoder/decoder structure and a smaller number of training parameters. Moreover, MLDMAE can beat the classic KDE in both examples.
Training sample
KDE
MLDMAE (1-NN)
LDMAE (1-NN)
LDMAE (2-NN)
| KDE | MLDMAE | LDMAE (1-NN) | LDMAE (2-NN) | ||
|---|---|---|---|---|---|
| Spiral | distance | 0.2119 | 0.1936 | 0.6315 | 0.4666 |
| Number of training parameters | / | 4492 | 1027 | 34051 | |
| Torus | distance | 0.2837 | 0.2335 | 0.9101 | 0.6193 |
| Number of training parameters | / | 10529 | 1412 | 34565 |
7 Real Data Application
In this section, we empirically evaluate the proposed MLDMAE approach using three real-world datasets: MNIST handwritten digit (LeCun et al., 1995), Fashion-MNIST (Xiao et al., 2017) and CelebA (Krizhevsky et al., 2009). For comparison, we consider LDMAE approach and variational auto-enocoder (VAE) (Kingma & Welling, 2013; Rezende et al., 2014; Kingma et al., 2016), which are commonly used auto-encoder based generative modelling approaches. In all reported experiments, we set the reconstruction cost to be the squared loss, and fix the priors to be a standard Gaussian . The partition of unity is chosen to be the indicator functions described in Section 4. The encoders and decoders are modelled by convolutional deep neural networks with parameter sharing as described in Section 4, and further details are available in Appendix A. We consider two kinds of discrepancy metric in the penalty terms of LDMAE and MLDMAE, one is the -Wasserstein distance computed through “POT” package, and the other one is MMD with the inverse multiquadratics (IMQ) kernel . As described in Tolstikhin et al. (2019), the inverse multiquadratics kernel has a much heavier tail than the conventional RBF kernel , so it can provide more meaningful gradients for outliers. The numbers of clusters for MLDMAE are selected so that the number of free parameters is around of the number of sharing parameters, and it turns out works well for all the examples. Another important factor is the latent dimension, which is not explicit for the real dataset. Selecting a too small latent dimension would lead to large reconstruction errors and thus result in noisy generated samples. On the contrary, selecting a too large latent dimension would lead to the singularity of the encoded distribution and thus result in numerical instabilities. We use for Fashion-MNIST, for MNIST handwritten digit and for CelebA, which seems to work reasonably well, and trainings of MLDMAE are stable and robust to initialization.
To quantitatively assess the MLDMAE estimator, for the dataset of MNIST handwritten digit and Fashion-MNIST, we consider two kinds of evaluation metrics: one is the test log-likelihood (Test LL) used in Goodfellow et al. (2014) by fitting a Gaussian Parzen window to the generated samples and reporting the log-likelihood evaluated at the test samples, and the other one is the -Wasserstein distance () between the test samples and generated samples. The generated samples are shown in Fig. 4 and the Test LL and distance are provided in Table 3. We can see for the Fashion-MNIST dataset, MLDMAE with or MMD penalty obviously outperforms VAE and LDMAE. For the MNIST handwritten digit dataset, MLDMAE with MMD penalty outperforms the Wasserstein penalty in the metric, and it may attribute to the fact that the MNIST digit dataset has a relatively larger latent dimension , so we need a very large batch size for accurately estimating the Wasserstein penalty, which will reduce the number of gradient updating. In addition, Fig. 5 gives the trends of the Test LL and distance as the cluster number increases for the MNIST digit dataset. We can see the trends of both metrics become smooth when , this is consistent with the underlying fact that the MNIST digit dataset contains digits (clusters). Furthermore, we can see an obvious improvement in both metrics when increasing in the range of , while the total number of training parameters only increases by when cluster number increases by .
| Fashion-MNIST | MNIST | |||
|---|---|---|---|---|
| Test LL | Test LL | |||
| VAE | 533 | 77.7 | 393 | 63.2 |
| LDMAE+MMD | 549 | 75.5 | 381 | 63.0 |
| LDMAE+ | 562 | 74.6 | 400 | 68.1 |
| MLDMAE+MMD | 557 | 66.0 | 443 | 56.6 |
| MLDMAE+ | 562 | 65.8 | 456 | 63.1 |
| FID | KID | |
|---|---|---|
| VAE | 63.0 | 0.063 |
| LDMAE+MMD | 55.5 | 0.057 |
| LDMAE+ | 62.8 | 0.064 |
| MLDMAE+MMD | 51.1 | 0.051 |
| MLDMAE+ | 52.0 | 0.052 |
VAE
LDMAE+MMD
LDMAE+
MLDMAE+MMD
MLDMAE+
For the celebA dataset, since the ambient dimension is extremely large. Instead of using test log-likelihood or distance, which are evaluated in the ambient space; we consider two commonly-used metrics for color image data: FID (Heusel et al., 2017) and KID (Bińkowski et al., 2018), in which the original high-dimensional data is fed into an ImageNet-pretrained inception network to obtain -dimensional inception (feature) representations, and the FID and KID are the fréchet distance and the squared MMD between inception representations of generated samples and test samples, respectively. Moreover, as described previously, the penalty is unsuitable for large intrinsic dimensions, for avoiding the curse of dimensionality, we consider the so-called sliced Wasserstein distance: , where denotes the projection function to the direction and denotes the uniform distribution on . The expectation over can be estimated by Monte Carlo method. The sliced-Wasserstein distance slices high-dimensional probability densities into sets of one-dimensional marginal distributions and compare these marginal distributions via the Wasserstein distance, it has similar qualitative properties to the Wasserstein distance, but is much easier to compute. The generated samples and FID, KID are given in Fig. 6 and Table 3. We can see that the MLDMAE estimator can achieve the best performance under all evaluation metrics. The MLDMAE with MMD penalty performs slightly better than the penalty, while it also requires more computation time (the computation time for MLDMAE+MMD is 150s per epoch using NVIDIA A100-SXM4-40GB GPU, while that is 120s per epoch for MLDMAE+).
8 Conclusion
In this work, we proposed a new approach, mixture of latent distribution matched auto-encoder (MLDMAE), to improve the conventional auto-encoder based generative modelling approaches for learning manifold-supported distributions. We showed theoretically that the proposed estimator can learn manifold-supported distributions with a minimax-optimal convergence rate. Moreover, we conducted experiments to show that by employing multiple encoder/decoder pairs, the estimators derived from MLDMAE can substantially boost the target distribution estimation accuracy. In our theoretical analysis, we consider the case where the penalty term is chosen to be the Wasserstein distance. We leave the theoretical analysis for some other adversarial losses, such as the MMD distance considered in our experiments, to future work.
References
- Arjovsky et al. (2017) Arjovsky, M., Chintala, S. & Bottou, L. (2017). Wasserstein generative adversarial networks. In International conference on machine learning. PMLR.
- Berenfeld et al. (2022) Berenfeld, C., Rosa, P. & Rousseau, J. (2022). Estimating a density near an unknown manifold: a bayesian nonparametric approach. arXiv preprint arXiv:2205.15717 .
- Bińkowski et al. (2018) Bińkowski, M., Sutherland, D. J., Arbel, M. & Gretton, A. (2018). Demystifying mmd gans. arXiv preprint arXiv:1801.01401 .
- Bonneel et al. (2011) Bonneel, N., Van De Panne, M., Paris, S. & Heidrich, W. (2011). Displacement interpolation using lagrangian mass transport. In Proceedings of the 2011 SIGGRAPH Asia conference.
- Bouzebda & Didi (2017) Bouzebda, S. & Didi, S. (2017). Multivariate wavelet density and regression estimators for stationary and ergodic discrete time processes: Asymptotic results. Communications in Statistics - Theory and Methods 46, 1367–1406.
- Brock et al. (2018) Brock, A., Donahue, J. & Simonyan, K. (2018). Large scale gan training for high fidelity natural image synthesis.
- Caffarelli (1996) Caffarelli, L. A. (1996). Boundary regularity of maps with convex potentials–ii. Annals of Mathematics 144, 453–496.
- Chen et al. (2022) Chen, Y., Gao, Q. & Wang, X. (2022). Inferential wasserstein generative adversarial networks. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 84, 83–113.
- Divol (2022) Divol, V. (2022). Measure estimation on manifolds: an optimal transport approach. Probability Theory and Related Fields .
- Eldering (2013) Eldering, J. (2013). Normally Hyperbolic Invariant Manifolds: The Noncompact Case. Paris: Atlantis Press.
- Evans (2010a) Evans, L. C. (2010a). Partial differential equations, vol. 19. American Mathematical Soc.
- Evans (2010b) Evans, L. C. (2010b). Partial differential equations. Providence, R.I.: American Mathematical Society.
- Flamary et al. (2021) Flamary, R., Courty, N., Gramfort, A., Alaya, M. Z., Boisbunon, A., Chambon, S., Chapel, L., Corenflos, A., Fatras, K., Fournier, N. et al. (2021). Pot: Python optimal transport. J. Mach. Learn. Res. 22, 1–8.
- Goodfellow et al. (2014) Goodfellow, I. J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A. & Bengio, Y. (2014). Generative adversarial networks.
- Heusel et al. (2017) Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B. & Hochreiter, S. (2017). Gans trained by a two time-scale update rule converge to a local nash equilibrium .
- Jupp & Mardia (2009) Jupp, P. E. & Mardia, K. V. (2009). Directional statistics. John Wiley & Sons.
- Khayatkhoei et al. (2018) Khayatkhoei, M., Singh, M. K. & Elgammal, A. (2018). Disconnected manifold learning for generative adversarial networks. In Advances in Neural Information Processing Systems, S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi & R. Garnett, eds., vol. 31. Curran Associates, Inc.
- Kingma & Ba (2014) Kingma, D. P. & Ba, J. (2014). Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 .
- Kingma et al. (2016) Kingma, D. P., Salimans, T., Jozefowicz, R., Chen, X., Sutskever, I. & Welling, M. (2016). Improved variational inference with inverse autoregressive flow. In Advances in Neural Information Processing Systems, D. Lee, M. Sugiyama, U. Luxburg, I. Guyon & R. Garnett, eds., vol. 29. Curran Associates, Inc.
- Kingma & Welling (2013) Kingma, D. P. & Welling, M. (2013). Auto-encoding variational bayes.
- Kolouri et al. (2018) Kolouri, S., Pope, P. E., Martin, C. E. & Rohde, G. K. (2018). Sliced-wasserstein autoencoder: An embarrassingly simple generative model. arXiv preprint arXiv:1804.01947 .
- Krizhevsky et al. (2009) Krizhevsky, A., Hinton, G. et al. (2009). Learning multiple layers of features from tiny images .
- Lan et al. (2021) Lan, Z., Reich, B. J. & Bandyopadhyay, D. (2021). A spatial bayesian semiparametric mixture model for positive definite matrices with applications in diffusion tensor imaging. Canadian Journal of Statistics 49, 129–149.
- LeCun et al. (1995) LeCun, Y., Jackel, L. D., Bottou, L., Cortes, C., Denker, J. S., Drucker, H., Guyon, I., Muller, U. A., Sackinger, E., Simard, P. et al. (1995). Learning algorithms for classification: A comparison on handwritten digit recognition. Neural networks: the statistical mechanics perspective 261, 2.
- Li et al. (2017) Li, C.-L., Chang, W.-C., Cheng, Y., Yang, Y. & Póczos, B. (2017). Mmd gan: Towards deeper understanding of moment matching network. Advances in neural information processing systems 30.
- Liang (2020) Liang, T. (2020). How well generative adversarial networks learn distributions.
- Lin et al. (2020) Lin, L., Lazar, D., Sarpabayeva, B. & Dunson, D. B. (2020). Robust optimization and inference on manifolds. arXiv preprint arXiv:2006.06843 .
- Lin et al. (2017) Lin, L., Rao, V. & Dunson, D. (2017). Bayesian nonparametric inference on the stiefel manifold. Statistica Sinica , 535–553.
- Ling et al. (2017) Ling, Y., An, Y., Liu, M., Hasan, S. A., Fan, Y. & Hu, X. (2017). Integrating extra knowledge into word embedding models for biomedical nlp tasks. In 2017 International Joint Conference on Neural Networks (IJCNN). IEEE.
- Luo et al. (2020) Luo, L., Yang, Z., Cao, M., Wang, L., Zhang, Y. & Lin, H. (2020). A neural network-based joint learning approach for biomedical entity and relation extraction from biomedical literature. Journal of biomedical informatics 103, 103384.
- Mardia (1999) Mardia, K. (1999). Directional statistics and shape analysis. Journal of applied Statistics 26, 949–957.
- Oord et al. (2016) Oord, A. v. d., Dieleman, S., Zen, H., Simonyan, K., Vinyals, O., Graves, A., Kalchbrenner, N., Senior, A. & Kavukcuoglu, K. (2016). Wavenet: A generative model for raw audio.
- Rezende et al. (2014) Rezende, D. J., Mohamed, S. & Wierstra, D. (2014). Stochastic backpropagation and approximate inference in deep generative models.
- Silverman (2018) Silverman, B. W. (2018). Density estimation for statistics and data analysis. Routledge.
- Singh et al. (2018) Singh, S., Uppal, A., Li, B., Li, C.-L., Zaheer, M. & Poczos, B. (2018). Nonparametric density estimation under adversarial losses. In Advances in Neural Information Processing Systems, S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi & R. Garnett, eds., vol. 31. Curran Associates, Inc.
- Tang & Yang (2022) Tang, R. & Yang, Y. (2022). Minimax rate of distribution estimation on unknown submanifold under adversarial losses. arXiv preprint arXiv:2202.09030 .
- Terradot et al. (2004) Terradot, L., Durnell, N., Li, M., Li, M., Ory, J., Labigne, A., Legrain, P., Colland, F. & Waksman, G. (2004). Biochemical characterization of protein complexes from the helicobacter pylori protein interaction map: strategies for complex formation and evidence for novel interactions within type iv secretion systems. Molecular & Cellular Proteomics 3, 809–819.
- Tolstikhin et al. (2019) Tolstikhin, I., Bousquet, O., Gelly, S. & Schoelkopf, B. (2019). Wasserstein auto-encoders.
- Tsybakov (2009) Tsybakov, A. B. (2009). Introduction to Nonparametric Estimation. New York, NY: Springer New York.
- Villani (2009) Villani, C. (2009). Optimal Transport: Old and New. Berlin, Heidelberg: Springer Berlin Heidelberg.
- Wainwright (2019) Wainwright, M. J. (2019). High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press.
- Xiao et al. (2017) Xiao, H., Rasul, K. & Vollgraf, R. (2017). Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747 .
- Xu et al. (2018) Xu, Q., Huang, G., Yuan, Y., Guo, C., Sun, Y., Wu, F. & Weinberger, K. (2018). An empirical study on evaluation metrics of generative adversarial networks. arXiv preprint arXiv:1806.07755 .
- You et al. (2010) You, Z.-H., Lei, Y.-K., Gui, J., Huang, D.-S. & Zhou, X. (2010). Using manifold embedding for assessing and predicting protein interactions from high-throughput experimental data. Bioinformatics 26, 2744–2751.
- Zhang et al. (2022) Zhang, R., Ogden, R. T., Picard, M. & Srivastava, A. (2022). Nonparametric k-sample test on shape spaces with applications to mitochondrial shape analysis. Journal of the Royal Statistical Society: Series C (Applied Statistics) 71, 51–69.
- Zhao et al. (2019) Zhao, S., Song, J. & Ermon, S. (2019). Infovae: Balancing learning and inference in variational autoencoders. Proceedings of the AAAI Conference on Artificial Intelligence 33, 5885–5892.
Appendix
Notations: We adopt the notations in the manuscript, and further introduce the following additional notations for technical proofs. We use to denote the -covering number of function space with respect to pseudo-metric . We use to denote the closed ball centered at with radius under the distance; in particular, we use denote when no ambiguity may arise. We denote . For a function , we use to denote the Jacobian matrix of at . For a function , we use to denote its mixed partial derivative . We define the -smooth Hölder (function) class (see e.g., Evans (2010b)) with radius over as . Similarly, we use to denote the vector valued function space counterpart. For an and a multi-index , we denote as the dimensional vector whose -th component is the mixed partial derivative of for . Throughout, , , , , , , , ,…are generically used to denote positive constants whose values might change from one line to another, but are independent from everything else.
Appendix A Remaining implementation details
A.1 Simulation
The training points in spiral are generated via the following steps: (1) generate ; (2) set ; (3) generate data point though . The training points in torus are generated via the following steps: (1) generate ; (2) set and ; (3) generate data point through . The cluster number in MLDMAE is for the dataset of spiral and for the dataset of torus. The partition of unity is given by with , where are the centers returned by the K-means algorithm, , and .
A.2 Real data application
The specification of our models trained on MNIST handwritten digit, Fashion-MNIST and CelebA are described in Table 4, 5, and 6. “Shared” is short for parameter sharing among encoders or among decoders. All models are optimized using Adam optimization with learning rate , , and . The partition of unity for all datasets is chosen as the indicator function for . The codes for reproducing the experiments are available in https://github.com/rtang1997/MLDMAE.
| Operation | Kernel | Strides | Feature maps | Activation | Shared? |
| Decoder | 8 | ||||
| Fully connected | ReLU | No | |||
| Transposed convolution | ReLU | Yes | |||
| Transposed convolution | ReLU | Yes | |||
| Transposed convolution | ReLU | Yes | |||
| Encoder | |||||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Fully connected | No | ||||
| Cluster number for MLDMAE | 5 | ||||
| Batch size | for MLDMAE, and for WAE and VAE | ||||
| Number of epochs | 50 | ||||
| Leaky ReLU slope | 0.1 | ||||
| Regularization coefficients () | 100 for MMD penalty and 10 for penalty | ||||
| Bandwidth () for MLDMAE | 0.01 | ||||
| Number of training samples | 60k | ||||
| Operation | Kernel | Strides | Feature maps | Activation | Shared? |
| Decoder | 4 | ||||
| Fully connected | ReLU | No | |||
| Transposed convolution | ReLU | Yes | |||
| Transposed convolution | ReLU | Yes | |||
| Transposed convolution | ReLU | Yes | |||
| Encoder | |||||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Convolution | LeakyReLU | Yes | |||
| Fully connected | No | ||||
| Cluster number for MLDMAE | 5 | ||||
| Batch size | for MLDMAE, and for WAE and VAE | ||||
| Number of epochs | 50 | ||||
| Leaky ReLU slope | 0.1 | ||||
| Regularization coefficients () | 100 for MMD penalty and 10 for penalty | ||||
| Bandwidth () for MLDMAE | 0.01 | ||||
| Number of training samples | 60k | ||||
| Operation | Kernel | Strides | Feature maps | Activation | Shared? |
| Decoder | 64 | ||||
| Fully connected | ReLU | No | |||
| Transposed convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Transposed convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Transposed convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Transposed convolution | Tanh | Yes | |||
| Encoder | |||||
| Convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Convolution | ReLU | Yes | |||
| Batch normalization | |||||
| Fully connected | No | ||||
| Cluster number for MLDMAE | 5 | ||||
| Batch size | for MLDMAE, and for WAE and VAE | ||||
| Number of epochs | 50 | ||||
| Regularization coefficients () | 100 | ||||
| Bandwidth () for SWAE and MLDMAE | 0.01 | ||||
| Number of training samples | 180k | ||||
Appendix B Generative modelling of Distributions on submanifolds
A submanifold in the ambient space can be viewed as a nonlinear “subspace”. Borrow the definition in Tang & Yang (2022), we define the family of smooth distributions on -dimensional smooth compact submanifolds without boundaries on as the set with , and composed of all probability measures satisfying:
1. is an -smooth distribution on a -smooth -dimensional compact submanifold embedded in .
2. The density relative to the volume measure of is uniformly bounded from below by on .
3. is covered by an atlas on such that: a) each chart in atlas satisfies and ; b) for any , the Jacobian of is full rank and all its singular values are lower bounded by in absolute values. Moreover, for any , there exists a such that and covers and respectively.
We have the following lemma describing the mixture of generative model classes that can model the submanifold-supported distributions.
Lemma 1.
Consider , for , choosing with for . There exists a constant that only depends on so that for any , if (1) ; (2) for any , and ; (3) there exists some positive constants so that and . Then:
1. there exist some universal constants that only depend on so that Assumption A holds for with upper bound and function for any ;
2. consider whose density being -smooth and bounded below from zero, and approximation families
(a);
(b).;
(c).;
then for sufficiently large , we have Assumption B holds for or , that is, the approximation families and are both sufficient to model distributions inside . Moreover, if , then Assumption B holds for .
The next lemma shows that satisfying conditions of Lemma 1 can be found based on a small portion of data.
Lemma 2.
Consider any with support , fix being an arbitrary positive constant and let be a positive integer. Then for any positive constant , there exist constants that only depend on so that when , let be any subset of with , it holds with probability larger than that
(1). ;
(2). there exists a constant that only depends on and a subset so that
(a). .
(b). , where .
Appendix C Proof of Theorem 5.1
We first consider the case and . To simplify the notation, we write . We consider two kinds of smoothness-regularized empirical measure , one is based on kernel density estimator and one is based on wavelet estimator.
Kernel density estimator: Define
| (7) |
with and satisfies that
1. is smooth in and has support contained in ;
2. and for any with , ;
3. for any , .
Wavelet estimator: Define as
| (8) |
with
where and is the orthonormal wavelet basis for Besov space on defined as and , and it holds that and are compactly supported and have bounded order derivatives for any (Bouzebda & Didi, 2017).
We will show both choices of can lead to the desired result. By Assumption A of , for any , there exist and so that and for any , . By the optimality of , and for the training objective, we can get that
| (9) | ||||
where recall . Then we have the following lemma.
Lemma 3.
So we choose for any , then by the second statement of Lemma 3 and , it holds with probability larger than that,
So it holds with probability larger than that for any ,
| (10) |
and
| (11) |
Then we use the following lemma for bounding the population level reconstruction error.
Lemma 4.
For the estimator and , there exist positive constants , , and such that when , for any ,
(1). it holds with probability larger than that ;
(2). if , then it holds with probability larger than that the density of exists and belongs to .
Then by Lemma 3 and second statement of Lemma 4, there exist constants such that it holds with probability larger than that
| (12) |
So combined with equation (10), (11) and (12), it holds with probability larger than that
| (13) | ||||
where uses Bernstein’s inequality to obtain that holds with probability at least , and uses the fact that .
Then we consider the case . Define . For any , we have
Then we have the following lemma.
Lemma 5.
There exists a constant so that it holds with probability larger than that
C.1 Proof of Lemma 3: kernel density estimator
Fix an arbitrary . Since , it holds that for any , and , where is the density of the push-forward measure of by map . Recall that
Since and are both compactly supported, there exists a constant so that for any ,
where . Then we consider , we can get
| (14) | ||||
First for term ,by Bernstein’s inequality, it holds with probability at least that , then by , for large enough , we have . For bounding the term , we use a similar strategy as in the proof of Lemma 4.3 of Divol (2022). Recall , we can write
Denote , we can obtain
When is even, denote ; when is odd, denote . Then using Taylor’s theorem, we can decompose
Using the fact that for any with , and , we can obtain
and
Therefore, we have
where uses the change of variable and . Then by switching the variable and , using the facts that is a even number and is an even function, we have
Therefore, when is even, we can obtain
where uses has support contained in and has support contained in . On the other hand, when is odd, recall is even, we have
Then for the term , using Taylor’s theorem and , we can write
| (15) |
So using the fact that for any with , , we can obtain
Therefore,
where uses the change of variable . By switching the variable and , we have
which leads to
where the last inequality uses the fact that and is is smooth. We can then obtain that
It remains to bound term , which is
By standard symmetrization, we can get
where are i.i.d. copies from Rademacher distribution, i.e. . Define function set
Since there exists a constant so that , we can first consider the function set
For any and with , we have
Since , there exists with so that every element in is non-negative. Then we have
where the last inequality uses . Moreover, when , for any with and it holds that
If , then
If , then
So we can get when , there exists a constant such that for any , it holds that
Similarly, when , we have for any it holds that
Therefore, we can conclude that
for a constant , where . So for any , we can find a set such that and for any , there exists such that
Then, to derive an -covering number for , we introduce the following lemma.
Lemma 6.
(Lemma 12 of Tang & Yang (2022)) Let be a -dimensional submanifold induced by a Lipschitz continuous map , then it holds for any that
where denotes the -covering number of function space with respect to pseudo-metric , and denotes the functional supreme norm constrained on set .
Then since is compactly supported and , for any , we can find a function set such that and for any , there exists such that
Then for any and , there exists , and a constant such that
So we can get
Choose , we can get
By Dudley’s entropy integral bound (see for example, Theorem 5.22 of Wainwright (2019)), it holds that
The statement is then followed by Talagrand concentration inequality (see for example, Theorem 3.27 of Wainwright (2019)) and the fact that .
C.2 Proof of Lemma 3: Wavelet estimator
Fix an arbitrary . Since , it holds that for any , , where is the density of the push-forward measure of by map . Moreover, by with support contained in and , we can write as
where is the orthonormal wavelet basis for Besov space on defined as and , and it holds that and for any are compactly supported and have bounded order derivatives (Bouzebda & Didi, 2017). Then there exists a constant such that and . Recall that
with
We have
Moreover, by the fact that and are compactly supported, we can get that there exists a constant such that for any and , it holds that and . Since and are both compactly supported. There exists a constant so that for any ,
Then we consider , similarly, we can rewrite
where and . So we can get
| (16) | ||||
First for term ,by Bernstein’s inequality, it holds with probability at least that , then by , for large enough , we have . Moreover, for term , since , and , we can get
Then for term , by standard symmetrization, we can get
where are i.i.d. copies from Rademacher distribution, i.e. . Define function set
First we consider the function set
If , then there exists a constant such that for any , it holds that
So for any , we can find a set such that and for any , there exists such that
Then since is compactly supported and , by lemma 6, for any , we can find a function set such that and for any , there exists such that
Then for any and , there exists , and a constant such that
So we can get
Choose , we can get
By Dudley’s entropy integral bound, it holds that
Similarly we can get
The statement is then followed by Talagrand concentration inequality (see for example, Theorem 3.27 of Wainwright (2019)) and the fact that .
C.3 Proof of Lemma 4
We fix an arbitrary in the following analysis. Since
we can get
Define
Then we have . Moreover, when , it holds that
So consider the function class , by Lemma 6, it holds that . By Dudley’s entropy integral bound (see for example, Wainwright (2019)), we can get that
Then by Talagrand concentration inequality (see for example, Wainwright (2019)), we can get that there exists a constant , such that it holds with probability that
For the second statement, we first fix a small enough positive constant that will be chosen later. Then for any , there exists so that and . Let and , we resort to the following lemma that provides an upper bound on for all .
Lemma 7.
It holds with probability at least that for all ,
| (17) |
where for a constant independent of and .
So by Lemma 7, we can get
Also by the fact that and are -Hölder smooth with , we have
| (18) | ||||
By the fact that for any , it holds that , we obtain . Since is -Lipschitz, has bounded operator norm, which implies for some positive constant and . Moroever, by the fact that is -Hölder smooth with , there exists a positive constant so that for the - enlargement of : , it holds that for any , . Therefore, the second display in (18) and -Hölder smooth of implies that for all sufficiently small , and sufficiently large . Now let and by using the identity ,
by taking determinant we further obtain (note that is a square matrix)
Since both and are -Lipschitz, we can further deduce that for all .
We claim that is globally invertible over when , are small enough and is large enough. Otherwise, suppose there exist distinct and in such that . Since implies to be locally invertible, meaning that there exists some constant independent of such that . By the definition of and the Lipschitzness of and , there exist and in such that (for sufficiently small )
| (19) |
The third display above combined with the first display in (18) implies . On the other hand, from the first display above and the Lipschitzness of , we have
which is a contradiction when , are chosen small enough.
Let be the inverse of over . By using the inverse function theorem for Hölder space (see for example, Appendix A of (Eldering, 2013)), we can conclude for some sufficiently large constant . Therefore, we can write the expression of the density function of as
by applying the change of variable of with . Moreover, since , this together with implies for some constant (recall ).
C.4 Proof of Lemma 7
The proof follows the analysis in Tang & Yang (2022). Let and be a minimal -covering set of under the distance, where its cardinality satisfies . For any , define .
We claim that it suffices to show that for sufficiently large , it holds with probability at least that for any ,
| (20) |
In fact, if this inequality holds, then we can apply a standard argument of approximation by the -covering set. Concretely, for any , there exists such that , we can obtain by applying Taylor expansion to that
Now let us prove inequality (20). Recall that
In particular, by restricting the sum to those in for a fixed , we further obtain (recall that )
By applying the Taylor expansion to around in the preceding display and using the fact that with some sufficiently large constant , we can get the following localized basic inequality after some algebra calculation
| (21) | ||||
The second factor on the right hand side of (21) can be bounded by applying a simple union bound argument and Bernstein’s inequality for bounded function as follows. First, we can bound the expectation
| (22) | ||||
where step (i) follows by the fact that . Since the random variable is uniformly bounded by , and inequality (22) and implies its variance to be bounded by , we may apply the Bernstein inequality and a simple union bound argument over all (with ) to obtain that with probability at least ,
| (23) |
which together with (22) leads to
| (24) |
To analyze the quantity on the left hand side of the localized basic inequality (21), we will resort to the following lemma.
Lemma 8.
With probability at least , the following inequality holds for any -smooth function and ,
where the expectation is taken with respect to the randomness in .
Before applying this lemma, notice that for any , we can bound the expectation , where has been plugged-in with , by
| (25) | ||||
where step (i) uses the fact that given is distributed as , step (ii) follows by applying the change of variable of , and the last step follows by the fact that for and the smoothness of . Now using the fact that for any -variate polynomial , , there exists some positive constant only depending on such that
we can obtain that
| (26) |
Finally, by combining equations (21), (22), (25), (26) and Lemma 8, we obtain that with probability at least , for any ,
Consequently, the claimed inequality (20) follows from the above by choosing with sufficiently large and the definition that .
C.5 Proof of Lemma 8
The proof follows from the proof of Lemma 18 in Tang & Yang (2022), we include it here for completeness. Since , for any and with , it holds that . For any fixed and , let
We also define the following supreme of an empirical process indexed by ,
and . We will first prove a concentration inequality for a fixed radius , and then using the peeling technique to allow the radius to be random, which leads to the desired result.
To apply the Talagrand concentration inequality (see, for example, Theorem 3.27 of Wainwright (2019)) for bounding the difference for a fixed , we notice that each additive component in the second empirical sum above has second moment uniformly bounded by
where we have used inequality (22) to bound . Moreover, each additive component can be almost surely bounded by
Based on these two bounds, we can apply the Talagrand concentration inequality to obtain that for any ,
| (27) |
It remains to bound the expectation via the symmetrization technique and chaining. By a standard symmetrization, we can get
where are i.i.d. copies from the Rademacher distribution, i.e. . Since given , the stochastic process inside the supreme is a sub-Gaussian process with intrinsic metric
for any , where the last step uses the definition of . The above combined with inequality (22) implies
Lastly, let , by applying the standard chaining via Dudley’s inequality, we can get
| (28) | ||||
where we have used the fact that the -covering entropy of relative to metric is at most for where depends on (at most polynomial dependence on ). By combining this with inequality (27), we obtain that for all ,
| (29) |
Finally, we apply the peeling technique to extend the above high probability bound on to the random radius . Specifically, we first set the basic level , and for with , define sets
By applying inequality (29) to for with sufficiently large constant , as , we obtain that
Note that for any and any , the event implies
Finally, since for any , must belong to some , the claimed result is a consequence of the two preceding displays and a simple union bound over where .
C.6 Proof of Lemma 5
Firstly by Bernstein’s inequality, it holds with probability at least that , then by , for large enough , we have . Thus
where the last inequality is due to the assumption that . Then consider the pseudo-metric for
Then by Lemma 6, we have . Choose , we can get
Thus similar as the analysis in the proof of Lemma 3, using Dudley’s entropy integral bound and Talagrand concentration inequality, we can obtain the desired result.
Appendix D Proof of Technical Details
D.1 Proof of Lemma 1
Consider an aritrary . Denote , to begin with, we consider the following lemma.
Lemma 9 (Lemma 17 of Tang & Yang (2022)).
There exist positive constants such that for any , define as where is an arbitrary orthonormal basis of the tangent space of at , then there exists a set satisfying and function so that
(1). and for any , ;
(2). and for any , .
By Sobolev extension theorem, there exists a constant so that for any , there exists so that . Since has uniformly lower bounded eigenvalues on and is -smooth with and uniformly bounded Hölder norm, there exists a small enough positive constant so that for any ,
| (30) |
We then choose to be a small enough positive constant so that for any , . For an arbitrary , consider . Define and . Then we have , and for any , . Moreover, let , since the density of is uniformly bounded from below and , we have is also uniformly bounded from below. Furthermore, we can write as
Then by the -smoothness of and the uniformly lower boundness of , we have for some constant . On the other hand, by the second statement of Lemma 9 and the Lipschitzness of , there exists a positive constant so that . Combined with the fact that when , we can obtain . In addition, for any and any , we will show that there exists so that . Firstly if , then we have
On the other hand, if , denote with and . Then we have and
If , then and for some positive constant . If , choose , then and
where uses mean-value theorem and uses equation (30) and Taylor’s theorem to obtain
So we have
| (31) |
Thus there exists constant so that
Therefore, we have Assumption A holds for with , and with . For the second statement, note that by the -smoothness of , and the -smoothness of , Assumption B trivially holds for approximation family . Moreover, consider
Then we have , and . So there exists an -smooth invertible function (see for example, (Caffarelli, 1996; Villani, 2009)) so that and . Therefore, suffices to model .
For the family , let be an -smooth extension of to . Note that has -smooth inverse and for some positive constant . We can consider as an -smooth extension of to . Then we can define and , by the fact that , we have for any , . Moreover, let
Using the fact that is -smooth with bounded Hölder norm and when , we have for some constant . In addition, recall that for any and , there exists so that and . Note that by the Lipschitzness of , there exists a constant so that
Therefore, for any and , there exists , so that and . Therefore, when . Assumption A holds with , and , and Assumption B holds with .
D.2 Proof of Lemma 2
Let be the minimal -covering set of , where is a number that will be chosen later, then by Lemma 9 and the compactness of , we have where is a positive constant that only depends on . Then if , by Lemma 9, we have for any
Then, by Bernstein’s inequality and a simple union bound argument, it holds with probability at least that for any ,
Therefore, there exists a constant so that when , by choosing , we have it holds with probability at least that for any ,
Therefore, for any , there exists so that . We can then obtain that for any , there exists so that . Proof of the first statement is then completed. For the second statement, when is large enough, we have . Let denote the minimal -covering set of . Then is controlled by the minimal -covering number of . For any , there exists an index so that . Let be the set of such index for . Then for any , there exists so that
Therefore, set and , we have
and
Proof is completed.