Machine Learning For 3D Data: Anastasia Dubrovina, Leonidas Guibas, Hao Su Stanford University
Machine Learning For 3D Data: Anastasia Dubrovina, Leonidas Guibas, Hao Su Stanford University
Machine Learning For 3D Data: Anastasia Dubrovina, Leonidas Guibas, Hao Su Stanford University
Topology —
Computational Topology
Homology — Persistent
Homology
2
Computational Topology
Gunnar Carlsson
Robert Ghrist 3
Frederic Chazal
Some Textbooks
4
Topology and Topology Inference
Topology is the branch of mathematics that
studies the connectivity of spaces, and the
obstructions to such connectivity
Topology studies global structure
Algebraic
Topological structures:
Spaces vector spaces,
groups, rings
algebraic topology
homology
Sampled
approximations,
complexes 5
From Data to Algebraic Objects
Homology groups as
data descriptors 6
Topology
The bridges of
Köningsberg
7
Connectivity for 2-Manifolds:
Ordinary Surfaces
Topology does not take distances too seriously – we
are allowed to stretch and shrink
Homeomorphism: 1-1, onto, bi-continuous
Sphere
Torus
9
More Exotic Animals
Möbius strip
Projective plane
Cross cap + disk
Klein bottle
10
Projective Plane
11
Sampled Spaces
and
Topological Data Analysis
12
Recovering “Shape” from
Sampled Data
Aim: recover the topology of the underlying space from which the data was sampled
13
Example: The Space of Natural
Images
(Carlsson, Ishkanov, de Silva, Zomorodian IJCVC 2008)
highest density
17
Applications of the Analysis
An efficient way to parametrize image
patches
19
A Simplex
20
Faces / Subsimplices
21
Simplicial Complexes
22
Algebraic Topology:
Homology
23
Topology of Simplicial
Complexes
24
Chain Groups Other coefficient
fields/rings also OK
25
Boundary Operator
26
Boundary Examples
27
Boundary Theorem
28
Chain Complex
29
Cycle Group
30
Boundary Group
31
Boundaries are Cycles!
Nesting behavior
32
Equivalent Cycles
Cosets!
33
Simplicial Homology
34
To Repeat
35
Homology of 2-Manifolds
36
Complexes on Point
Clouds
37
𝜖𝜖-Balls
38
Complex Zoo
Must choose which simplices to introduce
Čech Alpha Rips
40
Čech Complex
41
Čech Complex
42
Čech Complex
44
General Čech Complex
45
Rips-Vietoris Complex
The “poor man’s” alternative
to the Čech
46
Rips vs. Čech
47
Persistent Homology
48
Filtrations
49
How to Choose 𝜖𝜖?
50
How to Choose 𝜖𝜖?
51
How to Choose 𝜖𝜖?
52
How to Choose 𝜖𝜖?
53
Filtrations
55
Persistent Homology:
Do not choose an 𝜖𝜖!
56
Standard Homology
57
Functoriality: Homological Algebra
58
We Can Track Topological
Features in a Filtration
⊆ ⊆ ⊆ ⊆ ⊆
a b
Short barcodes =
long barcodes = points near
points away from the diagonal =
the diagonal = noise
robust features
62
Map 1-D intervals to points in 2-D
Persistence Provides a Pairing:
Birth and Death of a Topological
Feature
Sublevel sets of a function example
63
Persistence Provides a Pairing
64
Persistence Provides a Pairing
65
Persistence Provides a Pairing
66
Persistence Provides a Pairing
67
Persistence Provides a Pairing
68
Persistence Provides a Pairing
69
Persistence Provides a Pairing
70
Persistence of Homology
Classes
Lifetime of γ 71
Filtering Out Topological Noise
72
Bottleneck Distance Between
Persistence Diagrams
73
Stability Theorems
74
Computing Persistent
Homology
75
Computational Topology Software
76
Simplicial Filtrations for Low D
77
Vertices
78
Edges
79
Triangles and Tetrahedra
80
Positive and Negative Simplices
81
Tracking Topological Features
82
Persistent Homology
Examples
83
Detecting a Torus from Samples
…
85
Topology is fundamentally a tool for classification
Question of Scale: A Rips
Filtration
β0 = 150 β0 = 1 β0 = 1 β0 = 1
β1 = 0 β1 = 37 β1 = 2 β1 = 1
β2 = 0 β2 = 0 β2 = 1 β2 = 22
β1
ε
86
From Complex Inclusions to
Homology Homomorphisms
⊆ ⊆ ⊆
88
Deconstructing the Barcode
β1 Graph β1
ε
Torus!
β1 Barcode
89
Back to the Natural Images
Example
90
Back to the Natural Images
Example
91
Back to the Natural Images Example
92
Back to the Natural Images Example
93
FYI, Other Methods
94
Persistence-Based
Segmentation
95
3D Shape Segmentation
Partition a 3D model into meaningful components
96
Key Segmentation Method
Goals
Robust to noise
Efficiently computable
Parametrizable 97
Choose a Lens / Filter Function
99
Persistence Approximation
100
Computing Segments
101
Computing Segments
102
Computing Segments
103
Computing Segments
104
Computing Segments
105
Computing Segments
106
Algorithm
107
Union-find
Interpreting Persistence
Diagrams
108
Choice of Filter Function is
Crucial
Ideal function should be
Stable under perturbations
Invariant under rigid and isometric deformations
Informative: local maxima should correspond to
segments
Efficiently computable
110
Stable Diagrams
111
Caveats
No single function is likely to be truly
informative
Regions is which a function is featureless
create inherently unstable regions
Possible solution: perturb the mesh and look
for stable regions
Identify segments stable under perturbations
Treat unstable regions separately
112
Extended Algorithm
113
Extended Algorithm
114
Improved Results
115
The End
116