34
$\begingroup$

In dimensionality reduction technique such as Principal Component Analysis, LDA etc often the term manifold is used. What is a manifold in non-technical term? If a point $x$ belongs to a sphere whose dimension I want to reduce, and if there is a noise $y$ and $x$ and $y$ are uncorrelated, then the actual points $x$ would be far separated from each other due to the noise. Therefore, noise filtering would be required. So, dimension reduction would be performed on $z = x+y$. Therefore, over here does $x$ and $y$ belong to different manifolds?

I am working on point cloud data that is often used in robot vision; the point clouds are noisy due to noise in acquisition and I need to reduce the noise before dimension reduction. Otherwise, I will get incorrect dimension reduction. So, what is the manifold here and is noise a part of the same manifold to which $x$ belongs?

$\endgroup$
1
  • 5
    $\begingroup$ It's not really possible to use the term correctly without being mathematically precise $\endgroup$ Commented Jul 8, 2017 at 7:56

4 Answers 4

48
$\begingroup$

In non technical terms, a manifold is a continuous geometrical structure having finite dimension : a line, a curve, a plane, a surface, a sphere, a ball, a cylinder, a torus, a "blob"... something like this : enter image description here

It is a generic term used by mathematicians to say "a curve" (dimension 1) or "surface" (dimension 2), or a 3D object (dimension 3)... for any possible finite dimension $n$. A one dimensional manifold is simply a curve (line, circle...). A two dimensional manifold is simply a surface (plane, sphere, torus, cylinder...). A three dimensional manifold is a "full object" (ball, full cube, the 3D space around us...).

A manifold is often described by an equation : the set of points $(x,y)$ such as $x^2+y^2=1$ is a one dimensional manifold (a circle).

A manifold has the same dimension everywhere. For example, if you append a line (dimension 1) to a sphere (dimension 2) then the resulting geometrical structure is not a manifold.

Unlike the more general notions of metric space or topological space also intended to describe our natural intuition of a continuous set of points, a manifold is intended to be something locally simple: like a finite dimension vector space : $\mathbb{R}^n$. This rules out abstract spaces (like infinite dimension spaces) that often fail to have a geometric concrete meaning.

Unlike a vector space, manifolds can have various shapes. Some manifolds can be easily visualized (sphere ,ball...), some are difficult to visualize, like the Klein bottle or the real projective plane.

In statistics, machine learning, or applied maths generally, the word "manifold" is often used to say "like a linear subspace" but possibly curved. Anytime you write a linear equation like : $3x+2y-4z=1$ you get a linear (affine) subspace (here a plane). Usually, when the equation is non linear like $x^2+2y^2+3z^2=7$, this is a manifold (here a stretched sphere).

For example the "manifold hypothesis" of ML says "high dimensional data are points in a low dimensional manifold with high dimensional noise added". You can imagine points of a 1D circle with some 2D noise added. While the points are not exactly on the circle, they satisfy statistically the equation $x^2+y^2=1$. The circle is the underlying manifold: https://i.sstatic.net/iEm2m.png

$\endgroup$
16
  • 4
    $\begingroup$ @RiaGeorge In the picture it is the surface that is a manifold. It's continuous because you can move around it freely without interruption and never have to jump off the surface to get between any two places. The holes you allude to are important in describing how you can get around on the surface between any two points in the simplest way, and counting them is an important technique in studying manifolds. $\endgroup$ Commented Jul 8, 2017 at 18:58
  • 4
    $\begingroup$ Explaining what topology is would be way too broad a question for this site, and a bit off topic. I would search the mathematics stack exchange for information on that. Manifolds and topology are not synonyms: manifolds are mathematical objects studied with the techniques of topology, topology is a sub-subject of mathematics. $\endgroup$ Commented Jul 8, 2017 at 19:01
  • 1
    $\begingroup$ This seems like a very good explanation to someone learning about the concept for the first time, with well-chosen, concrete examples. (I don't know for certain though since I have encountered the concept before.) As a minor quibble, I would recommend rephrasing the last sentence to be less absolute ("Anytime the equation is non-linear like..."): as it is written right now, it is not actually true. Apart from that minor quibble, I find this very well-written. $\endgroup$ Commented Jul 8, 2017 at 19:28
  • 1
    $\begingroup$ The answer misses all the fundamental points that make a manifold such, I don't get how it has so many upvotes. Topology, charts and smoothness are not even mentioned and the answer basically gives the impression that a manifold is a surface, which it is not. $\endgroup$
    – gented
    Commented Jul 8, 2017 at 23:36
  • 2
    $\begingroup$ Technical point, the solution set of a system of equations need not be a manifold. It's a variety, so it's mostly a manifold, but it can have points of self intersection where the manifold property fails. $\endgroup$ Commented Jul 9, 2017 at 0:03
15
$\begingroup$

A (topological) manifold is a space $M$ which is:

(1) "locally" "equivalent" to $\mathbb{R}^n$ for some $n$.

"Locally", the "equivalence" can be expressed via $n$ coordinate functions, $c_i: M \to \mathbb{R}$, which together form a "structure-preserving" function, $c: M \to \mathbb{R}^n$, called a chart.

(2) can be realized in a "structure-preserving" way as a subset of $\mathbb{R}^N$ for some $N \ge n$. (1)(2)

Note that in order to make "structure" precise here, one needs to understand basic notions of topology (def.), which allows one to make precise notions of "local" behavior, and thus "locally" above. When I say "equivalent", I mean equivalent topological structure (homeomorphic), and when I say "structure-preserving" I mean the same thing (creates an equivalent topological structure).

Note also that in order to do calculus on manifolds, one needs an additional condition which doesn't follow from the above two conditions, which basically says something like "the charts are well-behaved enough to allow us to do calculus". These are the manifolds most often used in practice. Unlike general topological manifolds, in addition to calculus they also allow triangulations, which is very important in applications like yours involving point cloud data.

Note that not all people use the same definition for a (topological) manifold. Several authors will define it as satisfying only condition (1) above, not necessarily also (2). However, the definition which satisfies both (1) and (2) is much better behaved, therefore more useful for practitioners. One might expect intuitively that (1) implies (2), but it actually doesn't.

EDIT: If you are interested in learning about what precisely a "topology" is, the most important example of a topology to understand is the Euclidean topology of $\mathbb{R}^n$. This will be covered in-depth in any (good) introductory book about "real analysis".

$\endgroup$
6
  • $\begingroup$ Thank you for your answer: Can you please explain what a topology is in nnon-technical term as well? Is the term topology and manifold used interchangeably? Does the dimension has to be an integer number? What is it is a real number, then I think the structure is known as fractals if the entire structure is composed of each subpart is self-repeating. $\endgroup$
    – Ria George
    Commented Jul 8, 2017 at 18:27
  • 1
    $\begingroup$ @RiaGeorge $n$ stands for a natural number (integer $\ge 1$), as does $N$. There might be more advanced theory for fractional/real-valued dimensions, but it doesn't come up as often. "Topology" and "manifold" mean two very distinct things, so they are not interchangeable terms. A "manifold" has a "topology". The field of Topology studies spaces which have "topologies", which are collections of sets satisfying three rules/conditions. One goal of studying "topologies" is to describe in a consistent and reproducible way notions of "local" behavior. $\endgroup$ Commented Jul 8, 2017 at 19:05
  • $\begingroup$ @RiaGeorge The axioms for a "topology" can be found on the Wikipedia page: en.wikipedia.org/wiki/General_topology#A_topology_on_a_set -- note also that the link I gave you for the (equivalent) definition of "topology" in terms of neighborhood pointed to something related but not the same, I have edited my answer to reflect this: en.wikipedia.org/wiki/… Note however that the definition in terms of neighborhoods is more difficult to understand (I imagine I could understand it well, but I don't bother too, because I'm lazy $\endgroup$ Commented Jul 8, 2017 at 19:08
  • $\begingroup$ so anyway it's my personal biased opinion that you don't need to know the neighborhood definition of topology -- just know that the simpler definition gives you all of the same power of the neighborhood definition in terms of rigorously describing local behavior, since they are equivalent). Anyway, if you are interested in fractals, maybe you will find these Wikipedia pages interesting -- I can't help you out with that more though, because I am not deeply familiar with the theory and don't know or understand most of the definitions -- I have only heard of some of the $\endgroup$ Commented Jul 8, 2017 at 19:10
  • 2
    $\begingroup$ This is the only answer so far that pays attention to the modern mathematical idea of assembling a global object from local data. Unfortunately, it doesn't quite make it to the level of simplicity and clarity required of a "non-technical" account. $\endgroup$
    – whuber
    Commented Jul 11, 2017 at 13:47
10
$\begingroup$

In this context, the term manifold is accurate, but is unnecessarily highfalutin. Technically, a manifold is any space (set of points with a topology) that is sufficiently smooth and continuous (in a way that can, with some effort, be made mathematically well-defined).

Imagine the space of all possible values of your original factors. After a dimensional reduction technique, not all points in that space are attainable. Instead, only points on some embedded sub-space inside in that space will be attainable. That embedded sub-space happens to fulfill the mathematical definition of a manifold. For a linear dimensional reduction technique like PCA, that sub-space is just a linear sub-space (e.g. a hyper-plane), which is a relatively trivial manifold. But for non-linear dimensional reduction technique, that sub-space could be more complicated (e.g. a curved hyper-surface). For data analysis purposes, understanding that these are sub-spaces is much more important than any inference you would draw from knowing that they fulfill the definition of manifold.

$\endgroup$
8
  • 4
    $\begingroup$ "Highfalutin"... learned a new word today! $\endgroup$
    – user541686
    Commented Jul 8, 2017 at 8:53
  • 5
    $\begingroup$ Mathematically, a manifold is any locally continuous topological space. I like the idea of trying to explain things in plain language, but this characterization really doesn't work. First off, continuity is always a local property, so I'm not sure what you mean by locally continuous. Also, your definition fails to rule out a lot of things that aren't manifolds, such as the rational number line, or the union of two intersecting lines in the Euclidean plane. $\endgroup$
    – user122182
    Commented Jul 8, 2017 at 16:20
  • 4
    $\begingroup$ I agree with Ben, technically it's "locally euclidean". I'm not sure there is a good way to boil that down to simple english. $\endgroup$ Commented Jul 8, 2017 at 19:00
  • 1
    $\begingroup$ I also have to agree strongly with the two comments above. In fact, the answer I wrote below was originally meant to be a clarifying comment to this answer which became too long. There is no precise notion of a "continuous" topological space (see here: math.stackexchange.com/questions/1822769/… ). Defining manifolds in terms of non-existent concepts is, in my opinion, in the long-run more likely to be confusing than clarifying. At the very least, I would suggest replacing the word "mathematically" in the first sentence with something else. $\endgroup$ Commented Jul 8, 2017 at 19:34
  • $\begingroup$ I'll use this comment as an opportunity to ask a little question...I (think) I got the idea of manifolds, but why is it "locally" needed? Isn't a space "locally" continuous...continuous as a whole? $\endgroup$
    – Paul92
    Commented Jul 8, 2017 at 23:27
0
$\begingroup$

As Bronstein and others have put it in Geometric deep learning: going beyond Euclidean data (Read the article here)

Roughly, a manifold is a space that is locally Euclidean. One of the simplest examples is a spherical surface modeling our planet: around a point, it seems to be planar, which has led generations of people to believe in the flatness of the Earth. Formally speaking, a (differentiable) d-dimensional manifold X is a topological space where each point x has a neighborhood that is topologically equivalent (homeomorphic) to a d-dimensional Euclidean space, called the tangent space.

$\endgroup$
2
  • $\begingroup$ The quotation is self-contradictory. At the outset it describes a Riemannian manifold ("locally Euclidean") but at the end it describes a topological manifold (homeomorphisms do not, by definition, have to respect the differential structure and therefore the concept of tangent space does not apply). $\endgroup$
    – whuber
    Commented Feb 9, 2021 at 13:13
  • 1
    $\begingroup$ Their description of a manifold is not accurate as they slip in the notion that it is differentiable. Such a smooth manifold has a tangent space, but is not just a manifold. But all manifolds are second-countable Hausdorff topological spaces locally homeomorphic to Euclidean space. Riemannian manifolds are smooth manifolds equipped with a Riemannian metric. $\endgroup$
    – Galen
    Commented Sep 12, 2022 at 2:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.