Post · 7 min read· pp. 90–96

Hunting for Manifolds

Hunting For Manifolds Larry Wasserman

In this post I’ll describe one aspect of the problem of estimating a manifold, or manifold learning, as it is called.

Suppose we have data Y1,…,Yn∈RD{Y_1,\ldots, Y_n \in \mathbb{R}^D} and suppose that the data lie on, or close to, a manifold M{M} of dimension d<D{d< D}. There are two different goals we might have in mind.

The first goal is to use the fact that the data lie near the manifold as a way of doing dimension reduction. The popular methods for solving this problem include isomap, local linear embedding, diffusion maps, and Laplacian eigenmaps among others.

The second goal is to actually estimate the manifold M{M}.

I have had the good fortune to work with two groups of people on this problem. With the first group (Chris Genovese, Marco Perone-Pacifico, Isa Verdinelli and me) we have focused mostly on certain geometric aspects of the problem. With the second group (Sivaraman Balakrishnan, Don Sheehy, Aarti Singh, Alessandro Rinaldo and me) we have focused on topology.

It is this geometric problem (my work with the first group) that I will discuss here. In particular, I will focus on these two papers: here and here.

1. Statistical Model

To make some progress, we introduce a statistical model for the data. Here are two models.

Model I (Clutter Noise): With probability π{\pi} we draw Yi{Y_i} from a distribution G{G} supported on M{M}. With probability 1−π{1-\pi} we draw Yi{Y_i} from a uniform distribution on some compact set K{K}. To be concrete, let’s take K=[0,1]D{K = [0,1]^D}. The distribution P{P} of Yi{Y_i} is

P=(1−π)U+πG\displaystyle P = (1-\pi) U + \pi G

where U{U} is uniform on [0,1]D{[0,1]^D}.

Model II (Additive Noise): We draw Xi{X_i} from a distribution G{G} supported on M{M}. Then we let Yi=Xi+ϵi{Y_i = X_i + \epsilon_i} where ϵi{\epsilon_i} is a D{D}-dimensional Gaussian distribution. In this case, P{P} has density p{p} given by

p(y)=∫Mϕ(y−z)dG(z)\displaystyle p(y) = \int_M \phi(y-z) dG(z)

where ϕ{\phi} is a Gaussian. We can also write this as

P=G⋆Φ\displaystyle P = G \star \Phi

where ⋆{\star} denotes convolution.

There are some interesting complications. First, note that G{G} is a singular distribution. That is, there are sets with positive probability but 0 Lebesgue measure. For example, suppose that M{M} is a circle in R2{\mathbb{R}^2} and that G{G} is uniform on the circle. Then the circle has Lebesgue measure 0 but G(M)=1{G(M)=1}. Model II has the complication that it is a convolution and convolutions are not easy to deal with.

Our goal is to construct an estimate M^{\hat M}.

2. Hausdorff Distance

We will compare M^{\hat M} to M{M} using the Hausdorff distance. If A{A} and B{B} are sets, the Hausdorff distance between A{A} and B{B} is

H(A,B)=inf⁡{ϵ: A⊂B⊕ϵ, and B⊂A⊕ϵ}\displaystyle H(A,B) = \inf \Bigl\{ \epsilon:\ A \subset B\oplus \epsilon,\ {\rm and}\ B \subset A\oplus \epsilon\Bigr\}

where

A⊕ϵ=⋃x∈ABD(x,ϵ)\displaystyle A\oplus \epsilon = \bigcup_{x\in A} B_D(x,\epsilon)

and BD(x,ϵ){B_D(x,\epsilon)} is a ball of radius ϵ{\epsilon} centered at x{x}.

Let’s decode what this means. Imagine we start to grow the set A{A} by placing a ball of size ϵ{\epsilon} around each point in A{A}. We keep growing A{A} until it engulfs B{B}. Let ϵ1{\epsilon_1} be the size of ϵ{\epsilon} needed to do this. Now grow B{B} until it engulfs A{A}. Let ϵ2{\epsilon_2} be the size of ϵ{\epsilon} needed to do this. Then H(A,B)=max⁡{ϵ1,ϵ2}{H(A,B) = \max\{\epsilon_1,\epsilon_2\}}. Here is an example:

There is another way to think of the Hausdorff distance. If A{A} is a set and x{x} is a point, let dA(x){d_A(x)} be the distance from x{x} to A{A}:

dA(x)=inf⁡y∈A∣∣y−x∣∣.\displaystyle d_A(x) = \inf_{y\in A}||y-x||.

We call dA{d_A} the distance function. Then

H(A,B)=sup⁡x∣dA(x)−dB(x)∣.\displaystyle H(A,B) = \sup_x | d_A(x) - d_B(x)|.

Using H{H} as our loss function, our goal is to find the minimax risk:

Rn=inf⁡M^sup⁡P∈PEP[H(M^,M)]\displaystyle R_n = \inf_{\hat M}\sup_{P\in {\cal P}} \mathbb{E}_P [ H(\hat M,M)]

where the infimum is over all estimators M^{\hat M} and the supremum is over a set of distributions P{{\cal P}}. Actually, we will consider a large set of manifolds M{{\cal M}} and we will associate a distribution P{P} with each manifold M{M}. This will define the set P{{\cal P}}.

3. Reach

We will consider all d{d}-dimensional manifolds M{M} with positive reach. The reach is a property of a manifold that appears in many places in manifold estimation theory. I believe it first appeared in Federer (1959).

The reach is κ(M){\kappa(M)} is the largest number ϵ{\epsilon} such that each point in M⊕ϵ{M\oplus \epsilon} has a unique projection on M{M}. A set of non-zero reach has two nice properties. First, it is smooth and second, it is self-avoiding.

Consider a circle M{M} in the plane with radius R{R} . Every point on the plane has a unique projection on M{M} with one exception: the center c{c} of the circle is distance R{R} from each point on M{M}. There is no unique closest point on M{M} to c{c}. So the reach is R{R}.

A plane has infinite reach. A line with corner has 0 reach. Here is a example of a curve M{M} in two-dimensions. Suppose you put a line, perpendicular to M{M}, at each point on M{M}. If the length of the lines is less than reach(M), then the lines won’t cross. If the length of the lines is larger than reach(M), then the lines will cross.

Requiring M{M} to have positive reach is a strong condition. There are ways to weaken the condition based on generalization so reach, but we won’t go into those here.

The set of manifolds we are interested in is the set of d{d}-manifolds contained in [0,1]D{[0,1]^D} with reach at least κ>0{\kappa >0}. Here, κ{\kappa} is some arbitrary, fixed positive number.

4. The Results

Recall that that the minimax risk is

Rn=inf⁡M^sup⁡P∈PEP[H(M^,M)].\displaystyle R_n = \inf_{\hat M}\sup_{P\in {\cal P}} \mathbb{E}_P [ H(\hat M,M)].

In the case of clutter noise it turns out that

Rn≈(1n)2d.\displaystyle R_n \approx \left(\frac{1}{n}\right)^{\frac{2}{d}}.

Note that the rate depends on d{d} but not on the ambient dimension D{D}. But in the case of additive Gaussian noise,

Rn≈(1log⁡n).\displaystyle R_n \approx \left(\frac{1}{\log n}\right).

The latter result says that Rn{R_n} approaches 0 very slowly. For all practical purposes, it is not possible to estimate M{M}. This might be surprising. But, in fact, the result is not unexpected.

We can explain this by analogy with another problem. Suppose you want to estimate p{p} from n{n} observations Y1,…,Yn{Y_1,\ldots, Y_n}. if p{p} satisfies standard smoothness assumptions, then the minimax risk has the form

(1n)44+d\displaystyle \left(\frac{1}{n}\right)^{\frac{4}{4+d}}

which is a nice, healthy, polynomial rate. But if we add some Gaussian noise to each observation, the minimax rate of convergence for estimating p{p} is logarithmic (Fan 1991). The same thing happens if we add Gaussian noise to the covariates in a regression problem. A little bit of Gaussian noise makes these problems essentially impossible.

Is there a way out of this? Yes. Instead of estimating M{M} we estimate a set M′{M'} that is close to M{M}. In other words, we have to live with some bias. We can estimate M′{M'}, which we call a surrogate for M{M}, with a polynomial rate.

We are finishing a paper on this idea and I’ll write a post about it when we are done.

5. Conclusion

Estimating a manifold is a difficult statistical problem. With additive Gaussian noise, it is nearly impossible. And notice that I assumed that the dimension d{d} of the manifold was known. Things are even harder when d{d} is not known.

However, none of these problems are insurmountable as long as we chnage the goal from “estimating M{M}” to “estimating an approximation of M{M}” which, in practice, is usually quite reasonable.

6. References

Fan, J. (1991). On the optimal rates of convergence for nonparametric deconvolution problems. Ann. Statist. 19 1257-1272.

Federer, H. (1959). Curvature measures. Trans. Amer. Math. Soc. 93 418-491.

Genovese, C., Perone-Pacifico, M., Verdinelli, I. and Wasserman, L. (2012). Minimax Manifold Estimation. Journal of Machine Learning Research, 13, 1263–1291.

Genovese, C., Perone-Pacifico, M., Verdinelli, I. and Wasserman, L. (2012). Manifold estimation and singular deconvolution under Hausdorff loss. The Annals of Statistics, 49, 941-963.