Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university...

35
euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering the university of pennsylvania

Transcript of Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university...

Page 1: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

euler calculusfor data

focm : budapest : july : 2011

robert ghristandrea mitchell university professor of mathematics & electrical/systems engineeringthe university of pennsylvania

Page 2: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

motivation

Page 3: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

tools

Page 4: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

∫ h dχ

geometry

probability

topology

networks

kashiwaramacpherson

schapiraviro

blaschkehadwigerrotachen

adlertaylor

euler calculus

Page 5: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

χ = Σ (-1)k # {k-cells} k

χ = 7

χ = 3

χ = 2

χ = 3

= Σ (-1)k rank k

ingredient #1: χ

HkHck

χ(AuB) = χ(A)+ χ(B) – χ(A B)

u

Page 6: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

resu

lts

fix category of “tame” or “definable” sets (semialgebraic, subanalytic, …)

all functions in CF(X) are of the form

h = Σci1Ui for Ui definable

all definable sets are triangulable & have a well-defined euler characteristic

ingredient #2: CF(X)

CF(X) = Z-valued functions whose level sets are locally finite and definable

Page 7: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

explicit definition:

euler integral

∫ h dχ = ∫ (Σ ci1Ui) dχ = Σ(ci ∫1Ui

)dχ = Σci χ(Ui)

integration: explicit

χ(AuB) = χ(A)+ χ(B) – χ(A B)

u

the integral is independent of how the integrand is decomposed…

…thanks to mayer-vietoris

Page 8: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

integration: implicit[schapira; via kashiwara, macpherson, 1970’s]

the right-derived direct image on CF is the correct way to understand dχ F*

in the case where Y is a point, CF(Y)=Z, and the pushforward is a homomorphism from CF(X) to Z which respects all the gluings implicit in sheaves...

X Y

CF(X) CF(Y)

F

X pt

CF(X) CF(pt)=Z∫ dχ

corollary: [schapira, viro; 1980’s] fubini theorem

F*

X Y

CF(X) CF(Y)

Fpt

CF(pt)=Z∫ dχ

Page 9: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

a network of “anonymous” sensors returns target counts without IDs

= 0 = 1 = 2 = 3 = 4

problem

Page 10: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

problem

Page 11: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

theorem: [BG] assuming target supports with uniform χ(Ui)=N

# targets = (1/N) ∫X h dχ

∫ h dχ = ∫ (Σ1Ui) dχ = Σ(∫ 1Ui

dχ) = Σ χ(Ui) = N # i

let W = “target space” = space where finite # of targets live

let X = “sensor space” = space which parameterizes sensors

target i is detected on a target support Ui in X

sensor field on X returns h(x) = #{ i : x lies in Ui }

h:X→Z

2

N ≠ 0

enumeration

Page 12: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

integrals with respect to dχ are computable via

∫ h dχ = Σ s χ({ h=s }) s=0

= Σ χ({ h>s })-χ({ h<-s }) s=0

level set

upper excursion set

computation

Page 13: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

h>3 : χ = 2

h>2 : χ = 3

h>1 : χ = 3

h>0 : χ = -1

net integral = 2+3+3-1 = 7

= Σ χ {h(x)>s}s=0

∞∫ h dχ

example

Page 14: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

numerical integration

Page 15: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.
Page 16: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

theorem: [BG] if the upper semicontinuous function h:R2→N is sampled over a network in a way that correctly samples the connectivity of upper and lower excursion sets, then the exact value of the euler integral is

Σ( #comp{ h≥s } - #comp{ h<s } + 1)s=1

this is a simple application of alexander duality…

= Σ χ{h ≥ s} s=1

∫ h dχ = Σ b0 {h ≥ s} – b1{h ≥ s}

s=1

this works in ad hoc setting : clustering gives fast computation

= Σ b0{h ≥ s} – b0{h < s} + 1s=1

~= Σ b0{h ≥ s} – b0{h < s}s=1

ad hoc networksw / yuliy baryshnikov

Page 17: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

integral transforms

Page 18: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

W

X

S

∫X h dχ = N ∫W 1T dχ = N #Th = integral transform of 1T

the topological radon transform RS : CF(W) CF(X)

RS(RS h) = (μ – λ)h + λ1W ∫ h dχ

theorem: [schapira] if fibers of S are regular, then RS is self-invertible

radon transform

Page 19: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

the microlocal fourier(-sato) transform MF : CF(Rn) CF(Rn)

∫Sn-1 ∫ MF(h)(x,ξ) dχ(x) dξ = vol(Sn-1) ∫ h dχ

theorem: [cf. brocker-kuppe] averaging the MF over ξ yields

corollary: for X definable in Rn the ξ - average of MF(1X) is

microlocal fourier transform

χ(X) = ∫Sn-1 ∫ MF(1X)(x,ξ) dχ(x) dξvol(Sn-1)

1

x

ξ

∫X dκ

[gauss-bonnet]

MF(h)(x,ξ) = lim ∫ 1ξ●(x-y)≥0 h(y) dχ(y) B(ε,x) ε → 0

+

Page 20: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

toward numerical analysis…

Page 21: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

it’s helpful to have a well-defined integration theory for R-valued integrands:

Def(X) = R-valued functions whose graphs are “tame” (definable)

a riemann-sum definition

∫ h dχ = lim 1/n∫ nh dχ ∫ h dχ = lim 1/n∫ nh dχ

real-valued integrands

w / yuliy baryshnikov

Page 22: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

if h is affine on an open simplex σ, then

∫ h dχ = χ(σ) inf h ∫ h dχ = χ(σ) sup h

h

lemma

real-valued integrands

∫ x dχ + ∫ 1-x dχ (0,1) (0,1)

= 0 + 0

∫ 1 dχ (0,1)

= –1

∫ dχ nonlinear

fubini fails

however…

w / yuliy baryshnikov

there is a strong connection to morse theory…

Page 23: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

intuition: the two measures correspond to the stratified morse indices of h or -h

∫ h dχ = ∫ h LMDI(-h) dχ

theorem: [BG] for h in Def(X) ∩ C(X)

∫ h dχ = ∫ h LMDI(h) dχ

morse interpretation

LMDI : Def(X)→CF(X)

LMDI(h)(x) = lim χ(Bε(x) ∩ {h>h(x) – ε’}) ε’<< ε → 0

+

w / yuliy baryshnikov

Page 24: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

∫ hdχ = Σ h(p) (-1)n-μ(p)

crit(h)

= Σ h(p) (-1)μ(p)

crit(h)

∫ hdχ

corollary: [BG] if h : X → R is morse on an n-manifold, then

morse interpretation

corollary: [BG] if h is univariate, then ∫ h dχ = totvar(h)/2 = –∫ h dχ

w / yuliy baryshnikov

∫ h dχ = 1+1-c

Page 25: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

integral transforms

Page 26: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

euler-fourier transform

Page 27: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

euler-bessel transform

Page 28: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

the euler-bessel transform B: CF(Rn) Def(Rn)

Bh(x) = ∫ ∫d(x,y)=s h(y) dχ ds 0

B1A(x)=∫∂A+ dx dχ - ∫∂A- dx dχ

theorem: [GR] for A codimension-0 submanifold (w/corners)

B1A(x)=∫∂A dx dχcor: in even dimensions,

this yields an index theoryfor computing B

euler-bessel transform

w / michael robinson

Page 29: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

the euler-bessel transform B: CF(Rn) Def(Rn)

Bh(x) = ∫ ∫d(x,y)=s h(y) dχ ds 0

euler-bessel transform

w / michael robinson

= ∫ ∫ h(y) ds dχ 0

this yields index-theoretic formulae for fast computation of the transform

Page 30: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

shape discrimination

an L2 bessel transform detects circular targets from anonymous counts

w / michael robinson

Page 31: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

shape discrimination

an L∞ bessel transform + SVA detects square targets up to rotation

w / michael robinson

Page 32: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

concludingpostscript…

Page 33: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

w / yasu hiraoka

network coding sheaves

w / michael robinson

0 → H0(X,A;S) → H0(X;S) → H0(A;S) → H1(X,A;S) → H1(X;S) →

sheaf cohomology → global information flows

for a network flow sheaf S on X with cut A, H1(X,A;S) is the obstruction to

max-cut/min-flow

constructible sheaves

data

enable

output

network switching sheaves

Page 34: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

applied topology

Page 35: Euler calculus for data focm : budapest : july : 2011 robert ghrist andrea mitchell university professor of mathematics & electrical/systems engineering.

closing credits…

research sponsored by darpa (stomp program)air force office of scientific research

office of naval research

primary collaborators yuliy baryshnikov, univ. illinoismichael robinson, penn