# Learning of manifolds

Also topological data analysis; other hip names to follow

August 19, 2014 — June 23, 2020

I will restructure learning on manifolds and dimensionality reduction into a more useful distinction.

As in — handling your high-dimensional, or graphical, data by trying to discover a low(er)-dimensional manifold that contains it. That is, inferring a hidden constraint that happens to have the form of a smooth surface of some low-ish dimension. Related: Learning on manifolds, and if you squint at it, learnable indexes.

There are a million different versions of this. Multidimensional scaling seems to be the oldest.

Tangential aside: in dynamical systems we talk about creating high-dimensional Takens embedding for state space reconstruction for arbitrary nonlinear dynamics. I imagine there are some connections between learning the lower-dimensional manifold upon which lies your data, and the higher-dimensional manifold in which your data’s state space is naturally expressed. But I would not be the first person to notice this, so hopefully it’s done for me somewhere?

See also kernel methods, and functional regression, which connects via diffusion maps (Ronald R. Coifman and Lafon 2006; R. R. Coifman et al. 2005, 2005).

See also information geometry, which uses manifolds also but one implied by the parameterisation of a parametric model.

To look at: ISOMAP, Locally linear embedding, spectral embeddings, diffusion maps, multidimensional scaling…

Bioinformatics is leading to some weird use of data manifolds; see for example Berger, Daniels, and Yu (2016) for the performance implications of knowing the manifold shape for *-omics search, using compressive manifold storage based on both fractal dimension and metric entropy concepts. Also suggestive connection with fitness landscape in evolution.

Neural networks have some implicit manifolds, if you squint right. See Christopher Olah’s visual explanation how, whose diagrams should be stolen by someone trying to explain V-C dimension.

Berger, Daniels, and Yu (2016) argue:

Manifold learning algorithms have recently played a crucial role in unsupervised learning tasks such as clustering and nonlinear dimensionality reduction […] Many such algorithms have been shown to be equivalent to Kernel PCA (KPCA) with data-dependent kernels, itself equivalent to performing classical multidimensional scaling (cMDS) in a high-dimensional feature space (Schölkopf et al., 1998; Williams, 2002; Bengio et al., 2004). […] Recently, it has been observed that the majority of manifold learning algorithms can be expressed as a regularized loss minimization of a reconstruction matrix, followed by a singular value truncation (Neufeld et al., 2012)

## 1 Implementations

### 1.1 TTK

The Topology ToolKit (TTK) is an open-source library and software collection for topological data analysis in scientific visualization.

TTK can handle scalar data defined either on regular grids or triangulations, either in 2D or in 3D. It provides a substantial collection of generic, efficient and robust implementations of key algorithms in topological data analysis. It includes:

For scalar data: critical points, integral lines, persistence diagrams, persistence curves, merge trees, contour trees, Morse-Smale complexes, topological simplification;

For bivariate scalar data: fibres, fibre surfaces, continuous scatterplots, Jacobi sets, Reeb spaces;

For uncertain scalar data: mandatory critical points;

### 1.2 scikit-learn

scikit-learn implements a grab-bag of algorithms

### 1.3 tapkee

C++: Tapkee. Pro-tip — even without coding, tapkee does a long list of nice dimensionality reduction from the CLI, some of which are explicitly manifold learners (and the rest are matrix factorisations which is not so different)

- Locally Linear Embedding and Kernel Locally Linear Embedding (LLE/KLLE)
- Neighbourhood Preserving Embedding (NPE)
- Local Tangent Space Alignment (LTSA)
- Linear Local Tangent Space Alignment (LLTSA)
- Hessian Locally Linear Embedding (HLLE)
- Laplacian eigenmaps
- Locality Preserving Projections
- Diffusion map
- Isomap and landmark Isomap
- Multidimensional scaling and landmark Multidimensional scaling (MDS/lMDS)
- Stochastic Proximity Embedding (SPE)
- PCA and randomized PCA
- Kernel PCA (kPCA)
- t-SNE
- Barnes-Hut-SNE

## 2 References

*International Conference on Machine Learning*.

*Physical Review E*.

*The Annals of Statistics*.

*Neural Computation*.

*IEEE Transactions on Pattern Analysis and Machine Intelligence*.

*Communications of the ACM*.

*International Journal of Computer Vision*.

*Nature Computational Science*.

*IEEE Transactions on Signal Processing*.

*IEEE Transactions on Pattern Analysis and Machine Intelligence*.

*Applied and Computational Harmonic Analysis*, Special Issue: Diffusion Maps and Wavelets,.

*Proceedings of the National Academy of Sciences*.

*Acta Numerica*.

*The Annals of Statistics*.

*The Annals of Statistics*.

*Proceedings of the National Academy of Sciences*.

*Advances in Neural Information Processing Systems*.

*Connection Science*.

*2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition*.

*The Annals of Statistics*.

*IEEE Transactions on Image Processing*.

*Proceedings of the 16th International Conference on Neural Information Processing Systems*. NIPS’03.

*The Annals of Statistics*.

*Proceedings of the National Academy of Sciences*.

*arXiv:1607.04331 [Cs, q-Bio, Stat]*.

*Journal of Machine Learning Research*.

*Bernoulli*.

*Science*.

*The Journal of Machine Learning Research*.

*Artificial Neural Networks — ICANN’97*. Lecture Notes in Computer Science.

*Neural Computation*.

*Proceedings of the 26th Annual International Conference on Machine Learning*. ICML ’09.

*Proceedings of the National Academy of Sciences*.

*Computational Learning Theory*. Lecture Notes in Computer Science 1572.

*IEEE transactions on image processing: a publication of the IEEE Signal Processing Society*.

*Advances in Neural Information Processing Systems 21*.

*Science*.

*Journal of Machine Learning Research*.

*PRoceedings of IJCAI, 2017*.

*Proceedings of the Twenty-First International Conference on Machine Learning*. ICML ’04.

*Advances in Neural Information Processing Systems 13*.

*The Journal of Machine Learning Research*.

*IEEE Transactions on Pattern Analysis and Machine Intelligence*.

*ICML 2012*.

*Data Mining and Knowledge Discovery*.

*Proceedings of European Conference on Computer Vision*.