Estimating a Manifold from a Tangent Bundle Learner
Bharathkumar Ramachandra, Benjamin Dutton, Ranga Raju Vatsavai

TL;DR
This paper explores how tangent bundle learners can be used to estimate the geometric structure of a manifold from data samples, focusing on identifying regions where tangent spaces accurately approximate the manifold.
Contribution
It formulates three methods to estimate bounded tangent subspaces, improving manifold estimation from tangent bundle data, and discusses theoretical grounding and challenges.
Findings
Proposes three methods for tangent space region estimation.
Analyzes the theoretical basis for tangent bundle-based manifold estimation.
Highlights challenges in using simple tangent bundle learners for reliable manifold recovery.
Abstract
Manifold hypotheses are typically used for tasks such as dimensionality reduction, interpolation, or improving classification performance. In the less common problem of manifold estimation, the task is to characterize the geometric structure of the manifold in the original ambient space from a sample. We focus on the role that tangent bundle learners (TBL) can play in estimating the underlying manifold from which data is assumed to be sampled. Since the unbounded tangent spaces natively represent a poor manifold estimate, the problem reduces to one of estimating regions in the tangent space where it acts as a relatively faithful linear approximator to the surface of the manifold. Local PCA methods, such as the Mixtures of Probabilistic Principal Component Analyzers method of Tipping and Bishop produce a subset of the tangent bundle of the manifold along with an assignment function that…
| Dataset | Spiral | Swiss roll | |||||
| n/k | n | M1 | M2 | M3 | M1 | M2 | M3 |
| 55 | 1500 | 6.86E-5 2E-6 | 6.88E-5 2E-6 | 8.25E-5 2E-5 | 3.71E-1 9E-3 | 3.46E-1 1E-2 | 3.77E-1 2E-2 |
| 1700 | 6.56E-5 2E-6 | 6.53E-5 3E-6 | 7.40E-5 1E-5 | 3.53E-1 1E-2 | 3.42E-1 5E-3 | 3.65E-1 1E-2 | |
| 1900 | 6.31E-5 2E-6 | 6.45E-5 2E-6 | 6.95E-5 3E-6 | 3.50E-1 1E-2 | 3.35E-1 8E-3 | 3.65E-1 2E-2 | |
| 2100 | 6.20E-5 2E-6 | 6.35E-5 2E-6 | 7.55E-5 2E-5 | 3.55E-1 1E-2 | 3.34E-1 8E-3 | 3.60E-1 2E-2 | |
| 2300 | 6.12E-5 1E-6 | 6.21E-5 2E-6 | 7.09E-5 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-5 | 4.33E-1 1E-1 | 4.22E-1 1E-1 | 4.24E-1 5E-2 |
| 1700 | 8.10E-5 5E-6 | 7.89E-5 4E-6 | 1.06E-4 2E-5 | 3.81E-1 9E-2 | 3.65E-1 1E-2 | 3.94E-1 3E-2 | |
| 1900 | 7.37E-5 3E-6 | 7.43E-5 4E-6 | 8.76E-5 1E-5 | 3.50E-1 9E-3 | 3.49E-1 1E-2 | 3.91E-1 5E-2 | |
| 2100 | 7.13E-5 2E-6 | 6.94E-5 1E-6 | 7.71E-5 4E-6 | 3.49E-1 9E-3 | 3.49E-1 8E-3 | 3.71E-1 2E-2 | |
| 2300 | 6.72E-5 2E-6 | 6.62E-5 2E-6 | 6.92E-5 4E-6 | 3.44E-1 1E-2 | 3.33E-1 5E-3 | 3.65E-1 1E-2 | |
| 95 | 1500 | 1.13E-4 1E-5 | 1.21E-4 1E-5 | 1.52E-4 2E-5 | 5.45E-1 2E-1 | 4.74E-1 1E-1 | 4.91E-1 1E-1 |
| 1700 | 8.98E-5 4E-6 | 9.62E-5 7E-6 | 1.33E-4 4E-5 | 4.97E-1 2E-1 | 4.33E-1 1E-1 | 4.90E-1 1E-1 | |
| 1900 | 7.97E-5 5E-6 | 7.75E-5 3E-6 | 9.70E-5 1E-5 | 3.59E-1 9E-3 | 3.55E-1 1E-2 | 3.92E-1 3E-2 | |
| 2100 | 7.58E-5 4E-6 | 7.16E-5 2E-6 | 9.23E-5 1E-5 | 3.48E-1 9E-3 | 3.46E-1 9E-3 | 3.80E-1 2E-2 | |
| 2300 | 7.03E-5 2E-6 | 6.87E-5 1E-6 | 7.50E-5 5E-6 | 3.43E-1 6E-3 | 3.49E-1 1E-2 | 4.00E-1 3E-2 | |
| Dataset | Sine | S-curve | |||||
| n/k | n | M1 | M2 | M3 | M1 | M2 | M3 |
| 55 | 700 | 1.69E-3 5E-5 | 1.73E-3 9E-5 | 1.98E-3 1E-4 | 7.25E-3 5E-4 | 7.29E-3 7E-4 | 7.33E-3 3E-4 |
|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.61E-3 4E-5 | 1.65E-3 8E-5 | 6.33E-3 2E-4 | 6.54E-3 5E-4 | 6.50E-3 3E-4 | |
| 1500 | 1.48E-3 5E-5 | 1.47E-3 3E-5 | 1.56E-3 1E-4 | 6.24E-3 2E-4 | 6.34E-3 3E-4 | 6.21E-3 3E-4 | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Statistical Methods and Models · Morphological variations and asymmetry · Face and Expression Recognition
MethodsPrincipal Components Analysis
Estimating a Manifold from a Tangent Bundle Learner
Bharathkumar Ramachandra 22footnotemark: 2, Benjamin Dutton
and Ranga Raju Vatsavai
Department of Computer Science,
North Carolina State University
Raleigh, North Carolina 27695-8206
Email: [email protected], [email protected]
and [email protected] Corresponding author.Authors contributed equally.
Abstract
Manifold hypotheses are typically used for tasks such as dimensionality reduction, interpolation, or improving classification performance. In the less common problem of manifold estimation, the task is to characterize the geometric structure of the manifold in the original ambient space from a sample. We focus on the role that tangent bundle learners (TBL) can play in estimating the underlying manifold from which data is assumed to be sampled. Since the unbounded tangent spaces natively represent a poor manifold estimate, the problem reduces to one of estimating regions in the tangent space where it acts as a relatively faithful linear approximator to the surface of the manifold. Local PCA methods, such as the Mixtures of Probabilistic Principal Component Analyzers method of Tipping and Bishop produce a subset of the tangent bundle of the manifold along with an assignment function that assigns points in the training data used by the TBL to elements of the estimated tangent bundle. We formulate three methods that use the data assigned to each tangent space to estimate the underlying bounded subspaces for which the tangent space is a faithful estimate of the manifold and offer thoughts on how this perspective is theoretically grounded in the manifold assumption. We seek to explore the conceptual and technical challenges that arise in trying to utilize simple TBL methods to arrive at reliable estimates of the underlying manifold.
1 Introduction
Manifolds are topological spaces that have a property of local flatness. That is, they locally resemble Euclidean space in some neighborhood around each point on the manifold. Formally, each point on an -dimensional manifold has a neighborhood that is homeomorphic to -dimensional Euclidean space. Learning from high dimensional data is a challenging problem due to the curse of dimensionality, and manifold learning methods operate under the assumption of one or more manifold hypothesis to circumvent this curse. These assumptions allow the manifold structure of the data to be exploited in various ways. The manifold hypothesis for unsupervised learning, for instance, is that real-world high dimensional data lie on or near a manifold of much lower intrinsic dimension (Cayton, 2005; Narayanan and Mitter, 2010). Various learning tasks such as dimensionality reduction, on-manifold interpolation, manifold-aware clustering and manifold-aware density estimation have been explored under this hypothesis.
One important task that has received less attention is manifold estimation, which aims to characterize the learned manifold as a subset of the ambient space (see Figure 1). Other tasks such as manifold-aware classification and manifold-aware semi-supervised methods fall under alternate manifold hypotheses for supervised and semi-supervised learning respectively (Rifai et al., 2011a). Existing methods that perform manifold estimation (Cheng et al., 2005; Boissonnat et al., 2009; Boissonnat and Ghosh, 2014) have primarily been explored in the specific cases of 1D or 2D manifolds embedded in and . These computational geometric approaches are impractical for real-world high dimensional data because they assume noise-free sampling from the manifold or use the weighted Delaunay triangulation, which is infeasible in high dimensions.
In this work, we formulate three methods that perform manifold estimation using an estimated tangent bundle and a relation that associates points in training data with tangent spaces in the tangent bundle. For each tangent space, we use points in training data for which the tangent space was a good linear approximator and seek to generalize to entire neighborhoods. We call this problem Faithful Neigborhood Estimation (FNE). Once estimated, the faithful neighborhoods can approximate the manifold by simply considering the union of these neighborhoods. We construct three FNE techniques and evaluate the quality of our estimates on synthetic 2D and 3D benchmark datasets for manifold learning. In addition, we study the variation of evaluation metrics as the training set size and the ratio of training set size to the number of tangent spaces varies.
2 Mathematical Preliminaries and Problem Definition
A homeomorphism is a continuous function with a continuous inverse. In topology, homeomorphisms are isomorphisms. In other words, they are functions that preserve topological structure. A d-dimensional manifold is a set that is locally homeomorphic to . Each point belongs to at least one open neighborhood that can be mapped via a homeomorphism . These mappings are called coordinate charts (or just charts) because they assign local coordinates to points in their domain.
Natively, manifolds are purely topological objects, but here we consider only manifolds in because we assume a data sample from which we seek to estimate with . In addition, we assume is differentiable. A manifold is differentiable if, for every atlas in the equivalence class for that manifold, the transition charts are differentiable. A transition chart gives a way of comparing coordinates assigned by two charts defined over the same region.
The collection of all tangent vectors at a point on a differentiable manifold form the tangent space of at , which we denote as or simply when it is clear which manifold we are referring to. The tangent space of a manifold has the same dimension as the manifold: . The collection of all tangent spaces for , together with the points at which they are the derivative (which we call anchor points), \big{\{}(x,T_{x}\mathcal{M})\big{\}})_{x\in\mathcal{M}} is called the tangent bundle of , which we denote as .
Definition 2.1** (Manifold Estimation in ).**
Given a noisy sample of points that lie on or near a -dimensional manifold , the manifold estimation task is to estimate with using .
The and mentioned above will henceforth be referred to as the ambient dimension and intrinsic/latent dimension as is convention.
This task should not be confused with the more common and related task of manifold embedding, where a low-dimensional parameterization of or, ideally, itself is sought. Acknowledging that the manifold itself lives in ambient space, manifold estimation seeks only a subset of the ambient space, , that suitably characterizes the structure.
Usually, manifold learning tasks all share a common first step in estimating the intrinsic dimensionality of the manifold, and hence this has been relatively well-researched. The reader is referred to (Verveer and Duin, 1995; Levina and Bickel, 2005) for relevant research in this field. In dealing with the manifold estimation task, we assume that intrinsic dimension has been previously determined, and refer to it as either or .
Definition 2.2** (Tangent Bundle Learning in ).**
Given a noisy sample of points that lie on or near a -dimensional manifold along with an estimate of its dimensionality, the tangent bundle learning task is to estimate the tangent bundle of , TB(\mathcal{M})\coloneqq\big{\{}(x,T_{x}\mathcal{M})\big{\}}_{x\in\mathcal{M}} with \hat{TB}(\mathcal{M})=\big{\{}(a_{i},T_{a_{i}}\mathcal{M})\big{\}}_{i=1}^{k}\subset TB(\mathcal{M}) where but not necessarily , each of the tangent spaces are dimensional, and is the total number of tangent spaces returned.
It is common for to be an input to a TBL method. Additionally, TBL methods also usually return a relation (or function) that associates points in with one or more tangent spaces. The association can be based on many things, but we assume it associates points in to tangent spaces in which were good linear approximators for the points. We refer to this relation as the tangent space assignment relation (or just assignment relation, henceforth).
Definition 2.3** (Tangent Space Assignment Relation).**
A tangent space assignment relation associates tangent spaces in to points in for which they were a good linear approximator.
Let be the set of tangent spaces associated with and be the set of points in associated with . This relation is essential for the work here for the following reason. If a tangent space was a good linear approximator for , then we seek to estimate the full neighborhood , with for which is a good linear approximator to . We call this problem faithful neigborhood estimation.
Definition 2.4** (Faithful Neighborhood Estimation).**
For all let be the set of points for which is a good linear approximator to . The task of estimating using , , and is called faithful neigborhood estimation (FNE).
Definition 2.5** (Manifold Estimation from a Tangent Bundle Learner Problem).**
Given a sample from on or near , together with the estimated tangent bundle produced from by a TBL and an assignment relation , the manifold estimation from a tangent bundle learner problem is to estimate using , and .
In this work, we explore three possible FNE algorithms that estimate from , which we denote M1, M2 and M3. We argue that a reliable manifold estimate, can be found by simply considering the union of all the estimated neighborhoods. That is, we argue that
[TABLE]
is a viable manifold estimate and makes use of existing TBL algorithms toward this aim.
If we naïvely assume , then from Equation 1, looks something like Figure 2 because is an unbounded superset of and the Hausdorff distance between and is infinite. Utilizing and to estimate reduces to the task of estimating the region in where it acts as a relatively faithful estimate of , which is what methods M1, M2 and M3 explore.
3 Related Work
3.1 Tangent Bundle Learners
Data representation with low dimensional affine subspaces has been a heavy topic of research in the manifold learning community, mainly because it follows naturally from the locally flat property of manifolds. Many methods work under the observation that the least squares minimizing hyperplane for a flat neighborhood is spanned by the largest eigenvectors returned from Principal Components Analysis. Tangent bundle learners approximate the tangent bundle of the true manifold with a finite number of tangent hyperplanes.
To learn a tangent bundle, one approach is to alternate between steps of flat neighborhood estimation and subspace estimation while either maximizing likelihood of the data under a probabilistic model (such as (Tipping and Bishop, 1999)) or minimizing reconstruction errors (such as (Zhang et al., 2009; Cappelli and Maltoni, 2001)). Fukunaga and Olsen (1971) formulated the first method that performed local tangent space estimation that later gave rise to a whole family of local manifold learning algorithms called Local Principal Components Analysis (Local PCA or LPCA henceforth). For this family of methods, the tangent spaces correspond to the spans of the principal eigenvectors from local covariance matrices and global coordination usually involves some way of determining the anchor points for the tangent spaces and a way to orient the tangent spaces to obtain a single, globally valid coordinate system that agrees with each individual one. Kambhatla and Leen (1997) present VQPCA which uses the generalized Lloyd algorithm to iteratively perform steps of vector quantization and local PCA while minimizing reconstruction error between training data points and their reconstructions from the PCA projection. Karygianni and Frossard (2014) learn a tangent bundle from a constrained agglomerative clustering problem formulation for manifold samples with a difference of tangents criterion. The constraints restrict the tangent bundle to satisfy geometric properties of manifolds using the neighborhood graph of the data sample.
A number of methods such as in (Hinton et al., 1995; Bregler and Omohundro, 1995; Ghahramani et al., 1996; Tipping and Bishop, 1999; Brand, 2003; Vincent and Bengio, 2003) all perform a “mixtures of pancakes” type of estimation where the pancakes are flattened out Gaussians, reflected in their covariance structures. The tangent spaces where these Gaussians lie, together form the learned tangent bundle. Hinton et al. (1995) use k-means followed by PCA in each cluster (neighborhood) via linear auto-encoders to estimate a tangent bundle. Similarly, Bregler and Omohundro (1995) arrive at a tangent bundle by performing k-means clustering to determine neighborhoods, performing PCA in each of these patches and fine tuning using an expectation-maximization (EM) procedure. An exact EM algorithm for estimating the parameters of a mixture of factor analyzers was formulated in (Ghahramani et al., 1996), which can be thought of as a reduced dimension mixture of Gaussians. This also provides an estimate of density of points in ambient space (Tipping and Bishop, 1999).
Charting was proposed in (Brand, 2003) and is performed by expressing a mapping as a kernel-based mixture of linear projections. They formulate a posterior with standard Gaussian Mixture Model (GMM) likelihood function while simultaneously penalizing uncertainty due to inconsistent projections in the mixture. Charting provides in addition to an embedding, both the forward and reverse mappings between ambient and low-dimensional coordinate spaces, and density estimates in these spaces. Vincent and Bengio (2003) formulate a manifold-aware version of the Parzen windows density estimator that places pancaked Gaussians around each point instead of spherical ones. The tangent spaces from SVD of neighborhood covariance matrix around each point could be treated as a tangent bundle. Lui and Beveridge (2011) factorize data tensors using a modified higher order Singular Value Decomposition (SVD) to a fixed set of tangent spaces (tangent bundle) on a Grassmann manifold and use the logarithmic map of the Grassmanian to get tangent vectors and use the canonical Riemannian metric to measure lengths of these tangent vectors which they use as a distance measure for nearest-neighbor type classification. Rifai et al. (2011b) extract tangent spaces local to each training point from the SVD of the Jacobian matrix of the encoder function of a Contractive Auto-Encoder (CAE) (formalized in (Rifai et al., 2011a)). The tangent spaces along with the training data points they correspond to form a tangent bundle estimate. In Tyagi et al. (2013), the authors measure the estimation error between estimated tangent spaces and true tangent spaces using the angle between them, which could be generalized to evaluate tangent bundle learners.
3.2 Manifold Estimation
In manifold estimation, the problem is to find a (usually compact) set in ambient space that represents the low-dimensional manifold structure in a suitable sense. Usually this involves assuming that the manifold is differentiable such that it is meaningful to reason about tangent spaces to the manifold and compactness of the manifold. When the setting is in specific of a 2 dimensional manifold embedded in 3 dimensions, the problem is called surface reconstruction and has attracted much research from the computer graphics, computer vision and computational geometry communities.
The first breakthroughs in extending surface reconstruction to arbitrary dimensions came from Cheng et al. (2005) and Boissonnat et al. (2009). Although they provide guarantees on quality of approximation, these methods are impractical for two reasons. First, they assume very dense, noise-free samples, which does not extend to real-world datasets. Second, they use weighted Delaunay triangulation in ambient dimension, which is infeasible for high dimensional data. Additionally, they assume a connected manifold, which is not a property that data manifolds necessarily possess. In fact, manifold hypotheses based on the existence of sub-manifolds often implicitly assume the opposite. Further, the methods that seek global coordination of local tangent spaces also assume connectedness of the underlying manifold.
Boissonnat and Ghosh (2014) present the first algorithm which depends linearly on the ambient space dimension, quadratically on sample size and exponentially on intrinsic dimension. They construct a simplicial complex based on approximations to the tangent bundle of the manifold (Freedman, 2002). However, their methods are still practical only for small intrinsic dimensions due to weighted Delaunay triangulation.
Manifold estimation also has ties to set estimation Cuevas and Rodríguez-Casal (2003) and shape estimation. From a set estimation perspective, estimating a manifold can be seen as estimating the target compact set which is the support of the data generating distribution.
Niyogi et al. (2011) construct an estimator for the support of a data generating distribution that is equivalent to the Devroye-Wise estimator for the support (Devroye and Wise, 1980). Although this estimator does not provide guarantees in terms of Hausdorff distance or expected reconstruction error to the true manifold, it is of practical use, and this is mainly the spirit in which we explore the problem in this paper.
4 Manifold Estimation from Tangent Bundles
The collection of tangent spaces in a tangent bundle give a naïve estimate of the manifold. Tangent spaces are, by definition, linear estimates to the manifold surface. The manifold property of local linearity implies that this estimate is good in some neighborhood. However, tangent spaces themselves are unbounded, which makes this estimate far too large. For example, treating the tangent bundle from a TBL naïvely as a manifold estimator for the spiral and s-curve datasets gives rise to “shards of glass” type estimators (see Figure 2) because the tangent spaces simply extend too far.
FNE gives a way of addressing this problem. The goal of FNE is to consider only the connected subsets () of each tangent space that 1) contain their anchor point and 2) are close to the manifold. With these subsets, the manifold estimate follows from Equation 1.
4.1 Assignment
One of the central tools that we require in order to build a manifold estimator from a tangent bundle learner is the assignment relation . Assignment relations need not be “hard” in the sense that they give a unique association between points in and , but can be probabilistic or “soft” and instead yield a distribution over tangent spaces. The tangent bundle learners we have discussed and explored here all utilize either hard or soft assignments internally. The reason is simple: in order to estimate a tangent space, a necessary property is flatness. Only subsets of satisfying this property are useful when trying to estimate a tangent space in a certain region. A relation which yields this is an assignment relation as we have defined it: it associates points in with the tangent spaces built from them (and therefore, which the tangent spaces are good linear approximators).
We can assume two perspectives here in the construction of an assignment relation. The first is that the tangent bundle learner is a black box: it simply yields and it is up to us to associate points in with elements of . The risk we run in doing this is that we associate tangent spaces with training points that were not used to estimate them and might be missing essential properties, such as flatness and (in some sense) nearness.
The second, and we think better, approach is to use the same assignment relation used by the tangent bundle learner itself. It gives us confidence that the points in associated with a tangent space have the necessary properties, such as approximate co-planarity and nearness and therefore can be reliably used for neighborhood estimation in that space.
4.2 Faithful Neighborhood Estimation
We explore three possible approaches to FNE based on different strategies. The first two exploit native manifold properties, such as the existence of charts. The last one is much simpler, but as will be demonstrated in the experiments section, tends not to perform well.
Let . Then, as we have defined it, is the set of points in for which is a good linear approximator. We seek to use this fact to construct a chart
[TABLE]
where is a matrix with rows spanning . This is the Karhunen-Loève transform that projects points onto . The inverse, , then follows as the inverse Karhunen-Loève transform, defined as
[TABLE]
Because of how we have defined the assignment relation , for , should be small.
The first two methods, M1 and M2, seek to estimate by the domain of , . They each do this by looking at the image of points assigned to the tangent space under the chart for that space,
[TABLE]
Method 1 (M1) estimates as the image of the inverse chart of the convex hull of . Method 2 (M2) uses to build a density estimate in and extracts a superlevel set from this density using a threshold and estimates as the image of this superlevel set under the inverse chart, . Method 3, conceptually the simplest, uses a global density estimator in the ambient space and extracts a superlevel set, again, using a threshold. is then estimated as the intersection between and this superlevel set. Detailed descriptions follow:
4.2.1 M1: Latent Space Convex Hulls to Faithful Neighborhood Estimates
Let be the convex hull of a set of points. Then, consider , the convex hull of points assigned to tangent space under the chart constructed for that tangent space, . We estimate as
[TABLE]
and as . See Figure 3(a) for an example of this method on a canonical datasets.
4.2.2 M2: Latent Space Density Superlevel Sets to Faithful Neighborhood Estimates
Let be a probability density defined over and estimated based on . Consider the superlevel set , where is some threshold. Then, we estimate
[TABLE]
and as . See Figure 3(b) for an example of this method on a canonical dataset using a Gaussian Mixture Model and a tied, global threshold.
4.2.3 M3: Tangent Space-Ambient Space Density Superlevel Set Intersection for Faithful Neighborhood Estimates
In method 3, we do not utilize nor . We assume a global density model defined over and estimated based on . Then, let be the superlevel set consisting of the region of where , a global threshold. We estimate as
[TABLE]
and as . See Figure 3(c) for an example of this method on a canonical dataset.
5 Experiments
In this section, we perform experiments to understand the behavior and performance of the proposed manifold estimators. Overall, we report statistics for over a thousand hyperparameter and dataset configurations. For training set size, we used for the sine and s-curve datasets and for the spiral and swiss roll datasets. This differentiation is required as the latter pair represent more complicated manifolds. For the number of components passed to the tangent bundle learner, we vary .
5.1 Experimental Setup
5.1.1 Tangent Bundle Learners
As a base tangent bundle learner, we chose the Mixtures of Probabilistic Principal Component Analyzers (MoPPCA) method of Tipping and Bishop (1999), a "mixtures of pancakes" approach. A simpler approach would be to use k-means clustering followed by PCA in each cluster, but k-means favors spherical clusters and the clusters we seek are flat and close to the tangent space. Another option would be to use the method of Kambhatla and Leen (1997), which they refer to as VQPCA. Like k-means, VQPCA iteratively performs cluster assignment and then cluster centroid calculation. However, whereas k-means uses Euclidean distance for cluster assignment, favoring spherical clusters, VQPCA uses distance to the tangent space calculated from PCA in each cluster, leading to extremely flat clusters. However, by only considering distance to the tangent space and not, for instance, distance from the centroid, the assignments VQPCA induce can extend far from the centroid and in practice, often cut across the true tangent spaces of the manifold. MoPPCA uses a Gaussian Mixture Model (GMM) to perform density estimation in the ambient space. The cluster assignments are based on Mahalanobis distance, a generalization of Euclidean distance that allows each dimension to operate in a different scale. This allows a compromise between k-means to LPCA (Bregler and Omohundro, 1995) and VQPCA (Kambhatla and Leen, 1997): it considers distances in all dimensions, but at different scales. The more a component "pancakes", the more preference distance to the tangent space is given over distance to the centroid.
5.1.2 Datasets
We use the 2D spiral, 2D sine wave, 3D s-curve and 3D swiss roll datasets to conduct experiments.
The 2D spiral dataset was generated from the following distribution of two-dimensional (x, y) points:
[TABLE]
where , , , is uniform in the interval and is a normal density.
The 2D sine wave dataset was generated from the following distribution of two-dimensional (x, y) points:
[TABLE]
where , , , and are as before.
The 3D s-curve dataset was generated from the following distribution of three-dimensional (x, y, z) points:
[TABLE]
where , , , , and are as before.
The 3D swiss roll dataset was generated from the following distribution of three-dimensional (x, y, z) points:
[TABLE]
where , , , , and are as before.
5.1.3 Evaluation Metrics
One of the primary questions that arises for manifold estimation is how to evaluate the quality of estimates. What is needed is a distance between sets that penalizes the size of both sets. Expected reconstruction error has been the focus of some recent work such as (Maurer and Pontil, 2010; Narayanan and Mitter, 2010; Canas et al., 2012).
[TABLE]
Here, is a Hilbert space endowed with a Borel probability measure supported over a compact, smooth manifold and , with . As Canas et al. (2012) observe, when with being the smallest such set with respect to set containment, the expected error is zero. That is, the error measure does not impose a penalty on the size of . This is problematic because, in the naïve formulation, when is the full estimated tangent space, then is the nonsensical “shards of glass” estimate which extends far beyond the manifolds under study here and yet, could, in theory have .
Given large uniform random samples from the true manifold and the estimated manifold, and respectively, a symmetric version of expected reconstruction error would be
[TABLE]
where is as above, and . This penalizes the size of both sets. Unlike asymmetric Hausdorff, which behaves like , the symmetric Hausdorff distance is another metric that penalizes the size of both sets:
[TABLE]
For these reasons, we use the symmetric version of expected reconstruction error and Hausdorff distance to measure the quality of manifold estimation in this work. We expect and to behave similarly except in cases where there are outliers, to which Hausdorff distance is sensitive.
5.1.4 Parameters
M1 does not have any hyperparameters and is straightforward to implement. M2 and M3 have a threshold which determines the superlevel set(s) considered to represent our estimate of the manifold. We optimize over the choice of thresholds on the expected reconstruction error measure using random search over ten iterations in a sensible range on a held out set. M2 additionally has a hyperparameter in the number of components of the latent space GMMs. A single threshold parameter tied over neighborhoods is optimized over on the expected reconstruction error measure using random search over ten iterations in a sensible range on a held out set.
We ran experiments to visualize the estimated manifold for each of the methods on each of the datasets. Figure 3 shows the best manifold estimates in terms of expected reconstruction error over ten repetitions of optimizing over hyperparameters using methods M1, M2 and M3 respectively on the spiral dataset. See supplementary material for other datasets. The results shown correspond to the least number of components ( and for the spiral and swiss roll datasets and for the sine wave and s-curve) so as to enable the reader to get a sense of how each method works.
5.2 Faithful Neighborhood Estimation Method Evaluation
To compare the relative performance of the methods, we did the following. For each configuration of dataset, and , we picked the best performing expected reconstruction error over 10 repetitions, optimizing over the hyperparameters as before. Then, across methods, we min-max normalized the expected reconstruction errors to study their relative performances. Figure 4 shows the distribution over the normalized reconstruction errors for each of the three methods. Some critical observations can be made. Firstly, M1 performs close to the best in over 40% of dataset configurations across datasets and M2 is the overall winner, performing best in 50% of configurations. Although M2 performs close to the worst of the three for more of the configurations than M1, the distribution for M2 is skewed to the left, making it better overall. Secondly, M3, being the least principled, performs close to the worst in almost 70% of dataset configurations and is the best performing of the three only a nominal percent of the time. Thirdly, as can be seen in Tables 1 and 2, M1 tends to perform better on the 2D datasets when compared to the 3D datasets. Lastly, M2 is the best performing even though density threshold to determine the superlevel sets was treated as a tied hyperparameter over the tangent spaces.
Upon varying and , we would expect a general trend of estimation quality to improve as decreases (the number of tangent spaces increases) and as the training set size increases. Figure 5 represents the landscape of expected reconstruction error as these quantities vary for the best estimate over 10 repetitions for M2 (the best performing method overall), and the general trend is as expected for all three (M1 and M3 not shown). Since expected reconstruction error is more robust to outliers, we omit the corresponding Hausdorff plots but the trend is the same, albeit noisier.
5.3 MNIST Experiments
The simulated datasets used above help shed light on the behavior of each of the methods and are often used in manifold research. However, they are simulated and low dimensional and therefore not reflective of many real world datasets. Thus, we ran M2 on MNIST (LeCun and Cortes, 2010) with a latent dimensionality of 6 and randomly selected a neighborhood to explore.
In this neighborhood, we look at the anchor point and tangent directions. From here, we take steps in each tangent direction from the anchor point and look at the density model to see when we leave the faithful neighborhood estimated. Figure 6 presents the results. We believe that each directional derivative is altering the anchor in a meaningful way. For example, in row three, the directional derivative is making the step of the six more vertical and the loop tighter. This shows that there is diversity and interpretability for each of the directional derivatives. In addition, observe how the densities change as we move in each tangent direction. For instance, in the last row the last two images which are splotchy fall outside the faithful neighborhood and the image found with density -30.89 is the highest scoring image under the density model and we argue, perceptually the most realistic to a handwritten digit.
Supplementary material and reproducibility: Supplementary plots and tables for Hausdorff distance and dataset configurations not shown here can be found at https://www.dropbox.com/sh/mqsey3mbbgjccun/AABYHylHXMafrrXvV9zS2lY6a?dl=0. In the spirit of reproducible research, the source code has been made available at https://www.dropbox.com/sh/n5f91civznimgwr/AACdiFkz5d_BPV2jaeT5bJXFa?dl=0.
6 Conclusions
In this paper, we formulated three methods of utilizing tangent bundle learners for the purpose of manifold estimation based upon the idea of faithful neighborhood estimation. FNE assumes each tangent space to be a faithful linear approximator to the manifold in some neighborhood and then uses the points from assigned to that tangent space to estimate the neighborhood over which it is a faithful approximator. The overall manifold estimate is then simply the union of these faithful neighborhoods. We studied the behavior of expected reconstruction error and Hausdorff distance between large uniform samples from the true and estimated manifolds as the number of training points and the ratio of the number of training points over the number of components to the tangent bundle learner varied.
This work is a step towards building a better understanding of how to make effective inferences in high dimensional spaces without running into the curse of dimensionality. It aims to highlight some aspects which might benefit inference tasks subsequent to manifold estimation/embedding. For example, classification algorithms based on manifold learning that use smallest distance to a sub-manifold from a test point (the asymmetric version of expected reconstruction error, ) could be implicitly assuming a poor manifold estimate: one that is a superset of the true manifold, such as the “shards of glass” estimates shown in Figure 2. We contend that using FNE as a strategy to generalize better will improve performance of inference tasks, and will be the focus of our future work.
Finally, we should note that the idea of FNE is relevant for other approaches to manifold estimation that do not rely on a tangent bundle learner. For example, the method of Silva et al. (2003) uses thin-plate splines in each neighborhood centered at their anchor points as a local estimate of the manifold. While the approach allows for more flexibility in manifold estimation itself, the spline estimates still extend infinitely and faithful neighborhood estimation is relevant for all the reasons we have described in this work.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Boissonnat and Ghosh (2014) Jean-Daniel Boissonnat and Arijit Ghosh. Manifold reconstruction using tangential Delaunay complexes. Discrete & Computational Geometry , 51(1):221–267, 2014.
- 2Boissonnat et al. (2009) Jean-Daniel Boissonnat, Leonidas J. Guibas, and Steve Y. Oudot. Manifold reconstruction in arbitrary dimensions using witness complexes. Discrete & Computational Geometry , 42(1):37–70, 2009.
- 3Brand (2003) Matthew Brand. Charting a manifold. In Advances in neural information processing systems , pages 985–992, 2003.
- 4Bregler and Omohundro (1995) Christoph Bregler and Stephen M Omohundro. Nonlinear image interpolation using manifold learning. In Advances in neural information processing systems , pages 973–980, 1995.
- 5Canas et al. (2012) Guillermo Canas, Tomaso Poggio, and Lorenzo Rosasco. Learning manifolds with k-means and k-flats. In Advances in Neural Information Processing Systems , pages 2465–2473, 2012.
- 6Cappelli and Maltoni (2001) Raffaele Cappelli and Davide Maltoni. Multispace KL for pattern representation and classification. IEEE Transactions on Pattern Analysis and Machine Intelligence , 23(9):977–996, 2001.
- 7Cayton (2005) Lawrence Cayton. Algorithms for manifold learning. Univ. of California at San Diego Tech. Rep , 12:1–17, 2005.
- 8Cheng et al. (2005) Siu-Wing Cheng, Tamal K. Dey, and Edgar A. Ramos. Manifold reconstruction from point samples. In SODA , volume 5, pages 1018–1027, 2005.
