Persistent Homology and Sensor Networks - PowerPoint PPT Presentation

1 / 70
About This Presentation
Title:

Persistent Homology and Sensor Networks

Description:

Let X be a collection of points in a metric space ... X1 X2 X3 ... Xn. C0k. C01. C00. C0k-1. 0. C1k. C11. C10. C1k-1. 0. Cnk. Cn1. Cn0. Cnk-1. 0 ... – PowerPoint PPT presentation

Number of Views:188
Avg rating:3.0/5.0
Slides: 71
Provided by: bwal89
Category:

less

Transcript and Presenter's Notes

Title: Persistent Homology and Sensor Networks


1
Persistent Homology and Sensor Networks
  • Persistent homology motivated by an application
    to sensor nets

2
Outline
  • A word about sensor nets
  • Basic coverage criterion
  • Better coverage criterion using persistence
  • Introduce Persistent Homology
  • Correspondence Theorem
  • Computing the groups!
  • Other Applications

3
A Word About Sensor Nets
4
(No Transcript)
5
August 29, 2005 Hurricane Katrina hits New Orleans
6
Power and Communications Knocked Out
7
Broken Levees
8
City Flooded
9
Inaccessible from the ground
10
Law Enforcement
11
Rescue Workers
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
Replace live turkey with a parachute
20
Result Useful sensor network
  • Measure conditions on the ground at many
    locations
  • Relay messages to and from rescue workers
  • Instant infrastructure
  • Low power/auto-power
  • Cheap!?

21
Other uses of sensor networks
  • Environmental monitoring
  • Security systems
  • Battlefield monitoring and communications
  • Large mechanical systems
  • Find Sarah Connor

22
(No Transcript)
23
Hole in sensor coverage area Sarah Connor escapes!
24
Identifying holes in the network
  • De Silva and Ghrist have developed a method for
    identifying gaps in sensor coverage
  • Method is based on Algebraic Topology
  • Computing and examining Simplical Homology groups
  • Theoretical underpinings allow you to do so much
    more

25
Basic Coverage Criterion
Part 1.2
26
The problem to be solved
Each node has sensors that can cover a circular
region of radius rc
Each node can detect other nodes Within its
broadcast radius rb
rc rb/v(3)
27
The problem to be solved
Each node has sensors that can cover a circular
region of radius rc
Each node can detect other nodes Within its
broadcast radius rb
rc rb/v(3)
Nodes lie in compact connected planar domain with
piecewise linear boundary. Fence nodes at the
vertices
All fence nodes know their neighbors identities
and are no more than rb apart
28
What we dont have
  • Nodes dont know their absolute or relative
    positions
  • All we get is the connectivity graph

29
It would be nice to have the Cech Complex
Def For a collection of sets UUa, the Cech
Complex C(U) is the simplical complex where each
non-empty intersection of (k1) of the Ua
correspond to a k-simplex.
30
We have just enough to build the Rips Complex
  • Let X be a collection of points in a metric space
  • Rips complex Re(X) contains a simplex for every
    collection of points that are pairwise within
    distance e
  • Even though our domain is planar, a dense graph
    can lead to simplices with arbitrary dimension
  • In our case, we are building Rrb(X)
  • Every complete k-subgraph of the communication
    graph becomes a simplex in the Rips Complex
  • Also, its the maximal simplicial complex that
    has the connectivity graph as its 1-skeleton

31
Picture of a Rips Complex
32
Recap
X set of nodes
rc sensor radius
rb broadcast radius
D domain to be covered
?D boundary of D
Xf fence nodes that lie on dD
U Region covered by the sensors
R Rips complex of the communication graph
F Fence subcomplex ? R
33
Theorem (De Silva Ghrist)
For a set of nodes X in a planar domain D
satisfying the assumptions (rc, rb, fence nodes
etc), the sensor cover Uc contains D if there
exists a ? H2(R,F) such that ?a ? 0
34
What about a generator of H2(R,F)?
A generator will look like some linear
combination of 2-simplices i.e. Some
triangulation of the domain D
35
Theorem (De Silva Ghrist)
For a set of nodes X in a planar domain D
satisfying the assumptions (rc, rb, fence nodes
etc), the sensor cover Uc contains D if there
exists a ? H2(R,F) such that ?a ? 0
But why require ?a ? 0 ??
Why not if and only if ??
36
Pitfalls of the Rips complex
Bound was rc rb/v(3) 1/v (3) 0.57
rb
rb
Therefore its possible to have a rectangle that
is completely covered, but not triangulated in
the communication graph
So the conditions of the theorem are sufficient,
but not necessary, to guarantee coverage.
37
Pitfalls of the Rips complex
Its possible to have an arrangement of nodes
whose Rips complex is the surface of an
octahedron.
This has non-zero H2, but its boundary is zero!
38
Better coverage criterion using persistence
Part 1.3
39
Eliminating the fence subcomplex
  • The assumption of the nice fence sub-complex is
    unrealistic
  • Can we replace it with some other assumptions?

40
The new situation
Each node has sensors that can cover a circular
region of radius rc
Each node can detect its neighbors via a strong
signal (rs) or a weak signal (rw).
rc rs/v(2) rw rs v(10)
Remember strong lt---gt short weak lt---gt
wlong
41
The new situation (cont)
rc rs/v(2) rw rs v(10)
Nodes lie in a compact connected domain D in Rd
Nodes can detect the presence of ?D within
distance rf
The restricted domain D-C is connected, where C
x ? D ? x-?D rf rs/v(2)
  • The fence-detection hypersurface
  • x ? D ? x-?D rf
  • Has internal injectivity radius rs/v(2)
  • external injectivity radius rs

42
The new situation (cont)
Domain D
The fence collar, C
The boundary ?D
rf
restricted domain D-C
S
43
New complexes
  • We get two communication graphs now,
    corresponding to rs and rw
  • One gives us the strong Rips Complex, Rs
  • The other gives the weak Rips complex Rw
  • Note that Rs ? Rw

44
(more) New complexes
  • We also get a subcomplex based on the nodes that
    lie within rf of ?D
  • Build this as a subcomplex of Rs
  • Call it the (strong) fence subcomplex Fs

rf
45
What wed like to see
Conjecture
For a set of nodes X in a domain D ? Rd
satisfying the new assumptions (rc, rs, rw, rf,
fence subcomplex etc), the sensor cover U
contains D-C if there exists a ? Hd(Rs,Fs) such
that ?a ? 0
46
Why it fails
  • Its possible to get phantom d-cycles in the
    relative homology that have non-zero boundary

By comparing to the weak Rips complex, we can
see which of these cycles are phantom and which
are legitimate
rf
47
Theorem (De Silva Ghrist)
For a set of nodes X in a domain D in Rd
satisfying the new assumptions (rc, rs, rw, rf,
fence subcomplex etc), the sensor cover U
contains D-C if the homomorphism i Hd(Rs,Fs)
----gt Hd(Rw,Fw) induced by the inclusion i
(Rs,Fs) ----gt (Rw,Fw) is nonzero.
48
The Squeezing Theorem
For a set of points X in a domain D ? Rd Re?(X) ?
Ce(X) ? Re(X) whenever e/e? v(2d/(d1))
  • Note that for d2 this means e 1.15 e?
  • This means that if you can enlarge (or shrink)
    the radius of your Rips complex a little, and the
    complex doesnt change, then you actually have a
    Cech complex

49
Persistence
Part 2
50
The Usual Homology
  • Have a single topological space, X, and a PID, R
  • Get a chain complex
  • For k0, 1, 2, compute Hk(X)
  • HkZk/Bk

51
How about a filtration of spaces?
X1 ? X2 ? X3 ? ? Xn
  • We restrict to simplical complexes (so we can
    compute)

52
Leads to a Persistence Complex
X1 ? X2 ? X3 ? ? Xn
  • Columns are inclusion maps
  • Inclusion is a chain map, and so induces a map
    on homology

53
Induces a map on homology
  • For each dimension k0,1,2,
  • Consider a generator ??Hik
  • We may want to consider where in the filtration
    that generator first appears (created), and when
    it first becomes bounding (destroyed)

54
Concept P-interval
  • A P-interval is an ordered pair (i, j) with
    0iltj 8
  • Consider a generator ??Hik
  • We can encode information about the creation and
    destruction time of ? as a P-interval
  • For example abbc-ac ?H1 has P-interval (3, 4)

55
Definition Persistent Homology
Hki,p
56
Too much work?
  • This is interesting, but for an N-step
    filtration of dimension D, this means we have to
    compute O(N2?D) homology groups!
  • And how can we tell what a generator at one time
    step becomes at the next timestep?
  • We need compatible bases for the whole
    filtration!

57
Definition Persistence Module
Let R be a commutative PID A persistence module
is a collection of R-modules, Mi, together with
R-module homomorphisms fi such that fiMi ---gt
Mi1 M Mi, fi
A persistence module M is said to be of finite
type if the individual Mi are finitely generated,
and ? N such that n N ? fiMi ? Mi1
58
Correspondence Theorem
Let R be a commutative PID, and M Mi, fi a
persistence module of finite type over R Define a
functor a Where the R-module structure on
the Mi is the sum of the individual components,
and the action of t is given by t(m0, m1, m2, )
(0, f0(m0), f1(m1), f2(m2), )
Proof the Artin-Rees theory in commutative
algebra?
59
Correspondence Theorem
Let R be a commutative PID, and M Mi, fi a
persistence module over R Define a functor
a If RF is a field, then Ft is a graded
PID and we have a structure theorem for its
finitely-generated graded modules
n
m
M ? Sa_i Ft ? ? Sg_j Ft/(tn_j)
i1
j1
free part torsion part
60
Example Homology of a filtration
The homology groups Hkl (for a fixed k) of a
finite filtration Xl, along with the maps
induced by inclusions are a persistence module of
finite type. Hk Hkl, il In the corresponding
graded Rt module Ma(Hk), each stage in the
filtration corresponds to a particular degree.
The element abbc-ac ? H13 has degree 3 But
tabbc-ac ? 0 in H14
61
Visualization Barcodes
62
Computing simplicial homology
The boundary operators of the chain complex are
linear operators operating on chain groups which
are free R-modules Therefore they can be
represented as matrices relative to some bases.
By the standard basis we mean the basis where
individual simplices are represented as the unit
vectors in Rk
63
Computing simplicial homology 2
The boundary map ?kCk ---gt Ck-1 is represented
by the R-matrix Mk
-1 0 0 -1 -1 1 -1 0 0 0 0
1 -1 0 1 0 0 1 1 0
M1
64
Computing simplicial homology 3
ab bc cd ad ac
-1 0 0 -1 -1 1 -1 0 0 0 0
1 -1 0 1 0 0 1 1 0
a b c d
M1

Then Mk can be reduced by elementary operations
to a matrix, Mk in Smith Normal Form
The sis that are gt1 are the torsion coefficients
of Hk-1 z1, ..., zr are a basis for kerMk
Zk s1b1, ..., srbr are a basis for imMk Bk-1
So between Mk and Mk1 we have enough information
to compute Hk , betti numbers
65
Computing persistent homology
To compute persistent homology over a field, F,
do the same thing except work over the ring Ft
Each simplex is assigned a degree according to
when it got added to the complex For example,
deg(a)0 deg(abc)4
The boundary operator cant map across the
grading So for a simplex a?Ck deg(a)
deg(?ka) For example, ?k(ac) t2c - t3a
66
Computing persistent homology 2
For a given dimension, k, there is a single
boundary operator, ?k , encoding information for
the entire filtration. Note that basis elements
are homogenous.
67
Computing persistent homology 3
An extra basis element of degree j at the bottom
gives a free term Sj Ft IOW a P-interval (j,8)
Torsion terms in persistent homology! A torsion
coefficient ti corresponding to a basis element
of degree j gives a term in the persistent
homology group Sj Ft/(ti) Or in other
words, a P-interval (j, ij)
68
Applications
  • When your only tool is persistent homology, every
    problems starts to look like a filtered
    simplicial complex
  • That sensor nets thing
  • Point cloud data
  • Dimension estimation

69
(No Transcript)
70
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com