XIMENA FERNANDEZ
Durham University
UK Centre for Topological Data Analysis
Applied CATS Seminar
KTH Royal Institute of Technology - 28th February 2023
$\bullet$ Fernandez X., Borghini E., Mindlin G. & Groisman P. Intrinsic persistent homology via density-based metric learning, Journal of Machine Learning Research, 2023 (to appear) arXiv:2012.07621
Let $\mathbb{X}_n = \{x_1,...,x_n\}\subseteq \mathbb{R}^D$ be a finite sample.
Let $\mathbb{X}_n = \{x_1,...,x_n\}\subseteq \mathbb{R}^D$ be a finite sample.
Assume that:
Goal: Infer $H_\bullet(\mathcal M)$
$\bullet ~ ~\mathrm{Rips}_\epsilon(\mathcal{M}, d_E)\simeq \mathcal{M}$ for $\epsilon < 2 \sqrt{\frac{D+1}{2D}}\mathrm{rch}(\mathcal{M})~~$ (Kim, Shin, Chazal, Rinaldo & Wasserman, 2020)
$\bullet ~ ~\mathrm{Rips}_\epsilon(\mathcal{M}, d_\mathcal{M})\simeq \mathcal{M}$ for $\epsilon < \mathrm{conv}(\mathcal{M}, d_{\mathcal{M}})~~$ (Hausmann, 1995; Latschev, 2001)
Let $\mathbb{X}_n = \{x_1,...,x_n\}\subseteq \mathbb{R}^D$ be a finite sample.
For $p> 1$, the Fermat distance between $x,y\in \mathbb{R}^D$ is defined by \[ d_{\mathbb{X}_n, p}(x,y) = \inf_{\gamma} \sum_{i=0}^{r}|x_{i+1}-x_i|^{p} \] over all paths $\gamma=(x_0, \dots, x_{r+1})$ of finite length with $x_0=x$, $x_{r+1} = y$ and $\{x_1, x_2, \dots, x_{r}\}\subseteq \mathbb{X}_n$.
Let $\mathcal M \subseteq \mathbb{R}^D$ be a manifold and let $f\colon\mathcal{M}\to \mathbb{R}_{>0}$ be a smooth density.
For $q>0$, the deformed Riemannian distance* in $\mathcal{M}$ is \[d_{f,q}(x,y) = \inf_{\gamma} \int_{I}\frac{1}{f(\gamma_t)^{q}}||\dot{\gamma}_t|| dt \] over all $\gamma:I\to \mathcal{M}$ with $\gamma(0) = x$ and $\gamma(1)=y$.
* Here, if $g$ is the inherited Riemannian tensor, then $d_{f,q}$ is the Riemannian distance induced by $g_q= f^{-2q} g$.
\[C(n,p,d) d_{\mathbb{X}_n,p}(x,y)\xrightarrow[n\to \infty]{a.s.}d_{f,q}(x,y) ~~~ \text{ for } q = (p-1)/d\text{ and every }x,y\in \mathcal{M}\]
Let $\mathcal{M}$ be an isometric $C^1$ $d$-dimensional manifold embedded in $\mathbb{R}^D$. That is, there exists $S\subseteq \mathbb{R}^d$ an open connected set and $\phi:S \to \mathbb{R}^D$ an isometric transformation such that $\phi(\bar S)=\mathcal{M}. $
\[C(n,p,d) d_{\mathbb{X}_n,p}(x,y)\xrightarrow[n\to \infty]{a.s.}d_{f,q}(x,y) ~~~ \text{ for } q = (p-1)/d\text{ and every }x,y\in \mathcal{M}\]
Let $\mathcal{M}$ be an isometric $C^1$ $d$-dimensional manifold embedded in $\mathbb{R}^D$. That is, there exists $S\subseteq \mathbb{R}^d$ an open connected set and $\phi:S \to \mathbb{R}^D$ an isometric transformation such that $\phi(\bar S)=\mathcal{M}. $
Theorem (Groisman, Jonckheere, Sapienza, 2022)
Given $p>1$ and $q=(p-1)/d$, there exists a constant $\mu = \mu(p,d)$ such that, for any $x,y\in\mathcal{M}$, \[ \lim_{n\to +\infty} n^q d_{\mathbb{X}_n, p}(x,y) = \mu d_{f,q}(x,y )~ \text{almost surely.} \]
Let $\mathcal{M}$ be a closed smooth $d$-dimensional manifold embedded in $\mathbb{R}^D$.
\[C(n,p,d) L_{\mathbb{X}_n,p}\underset{n \to \infty}{\overset{a.s}{\rightrightarrows}}d_{f,q}~~~ \text{ for } q = (p-1)/d\text{ in } \{(x,y)\in \mathcal{M}: d_{\mathcal M}(x,y)\geq b\}\]
Let $\mathcal{M}$ be a closed smooth $d$-dimensional manifold embedded in $\mathbb{R}^D$.
Consider the length of the power-weighted shortest path \[L_{\mathbb X_n, p}(x,y) := \inf_{\gamma}\sum_{i=0}^{k}d_{\mathcal M}(x_{i+1},x_i)^{p}\] over all paths $\gamma=(x_0, \dots, x_{r+1})$ of finite length with $x_0=x$, $x_{r+1} = y$ and $\{x_1, \dots, x_r\}\subseteq \mathbb{X}_n$.
\[C(n,p,d) L_{\mathbb{X}_n,p}\underset{n \to \infty}{\overset{a.s}{\rightrightarrows}}d_{f,q} ~~~ \text{ for } q = (p-1)/d\text{ in } \{(x,y)\in \mathcal{M}: d_{\mathcal M}(x,y)\geq b\}\]
Let $\mathcal{M}$ be a closed smooth $d$-dimensional manifold embedded in $\mathbb{R}^D$.
Consider the length of the power-weighted shortest path \[L_{\mathbb X_n, p}(x,y) := \inf_{\gamma}\sum_{i=0}^{k}d_{\mathcal M}(x_{i+1},x_i)^{p}\] over all paths $\gamma=(x_0, \dots, x_{r+1})$ of finite length with $x_0=x$, $x_{r+1} = y$ and $\{x_1, \dots, x_r\}\subseteq \mathbb{X}_n$.
Theorem (Hwang, Damelin, Hero, 2016)
Given $\varepsilon > 0$ and $b>0$, there exists constants $\mu = \mu(d,p)>0$ and $\theta = \theta(\varepsilon)>0$ such that, for all sufficiently large $n$, \[ \mathbb {P} \left(\sup_{\substack{x,y: d_{\mathcal M}(x,y)\geq b}}\left|\frac{n^{q}L_{\mathbb X_n, p}(x,y)}{ \mu d_{f,q}(x,y)}-1\right|>\varepsilon\right)\leq \exp(-\theta n^{1/(d+2p)}) \] In particular, for every $x,y\in \mathcal M$, $ \lim_{n\to +\infty} n^{(p-1)/d} L_{\mathbb X_n, p}(x,y) = \mu d_{f,p}(x,y )~ \text{almost surely.} $
Let $\mathcal{M}$ be a closed smooth $d$-dimensional manifold embedded in $\mathbb{R}^D$.
\[\big(\mathbb{X}_n, C(n,p,d) d_{\mathbb{X}_n,p}\big)\xrightarrow[n\to \infty]{GH}\big(\mathcal{M}, d_{f,q}\big) ~~~ \text{ for } q = (p-1)/d\]
Theorem (F., Borghini, Mindlin, Groisman, 2023)
Given $p>1$ and $q=(p-1)/d$, there exists a constant $\mu = \mu(p,d)$ such that for every $\lambda \in \big((p-1)/pd, 1/d\big)$ and $\varepsilon>0$ there exist $\theta>0$ satisfying \[ \mathbb{P}\left( d_{GH}\left(\big(\mathcal{M}, d_{f,q}\big), \big(\mathbb{X}_n, {\scriptstyle \frac{n^{q}}{\mu}} d_{\mathbb{X}_n, p}\big)\right) > \varepsilon \right) \leq \exp{\left(-\theta n^{(1 - \lambda d) /(d+2p)}\right)} \] for $n$ large enough.
\[\big(\mathbb{X}_n, C(n,p,d) d_{\mathbb{X}_n,p})\big)\xrightarrow[n\to \infty]{GH}\big(\mathcal{M}, d_{f,q}\big) ~~~ \text{ for } q = (p-1)/d\]
+Stability \[d_B\Big( \mathrm{dgm}\big(\mathrm{Filt}(\mathbb X_n, C(n,p,d) d_{\mathbb{X}_n,p})\big), \mathrm{dgm}\big(\mathrm{Filt}(\mathcal M, d_{f,q})\big)\Big)\leq 2 d_{GH}\big((\mathbb X_n,C(n,p,d) d_{\mathbb{X}_n,p}),(\mathcal M,d_{f,q})\big)\]
\[\big(\mathbb{X}_n, C(n,p,d) d_{\mathbb{X}_n,p})\big)\xrightarrow[n\to \infty]{GH}\big(\mathcal{M}, d_{f,q}\big) ~~~ \text{ for } q = (p-1)/d\]
+Stability \[d_B\Big( \mathrm{dgm}\big(\mathrm{Filt}(\mathbb X_n, C(n,p,d) d_{\mathbb{X}_n,p})\big), \mathrm{dgm}\big(\mathrm{Filt}(\mathcal M, d_{f,q})\big)\Big)\leq 2 d_{GH}\big((\mathbb X_n,C(n,p,d) d_{\mathbb{X}_n,p}),(\mathcal M,d_{f,q})\big)\]
$\Downarrow$\[\mathrm{dgm}(\mathrm{Filt}(\mathbb{X}_n, {C(n,p,d)} d_{\mathbb{X}_n,p}))\xrightarrow[n\to \infty]{B}\mathrm{dgm}(\mathrm{Filt}(\mathcal{M}, d_{f,q})) ~~~ \text{ for } q = (p-1)/d\]
Prop (F., Borghini, Mindlin & Groisman, 2023)
Let $\mathbb{X}_n$ be a sample of $\mathcal{M}$ and let $Y\subseteq \mathbb{R}^D\smallsetminus \mathcal{M}$ be a finite set of outliers.
Let $\delta = \displaystyle \min\Big\{\min_{y\in Y} d_E(y, Y\smallsetminus \{y\}), ~d_E(\mathbb X_n, Y)\Big\}$.
Then, for all $k>0$ and $p>1$,
\[
\mathrm{dgm}_k(\mathrm{Rips}_{<\delta^p}(\mathbb{X}_n \cup Y, d_{\mathbb{X}_n\cup Y, p})) = \mathrm{dgm}_k(\mathrm{Rips}_{<\delta^p}(\mathbb{X}_n, d_{\mathbb{X}_n, p}))
\]
where $\mathrm{Rips}_{<\delta^p}$ stands for the Rips filtration up to parameter $\delta^{p}$ and $\mathrm{dgm}_k$ for the persistent homology of deg $k$.
$O(n^3)$
reducible to $O(n^2*k*\log(n))$ using the $k$-NN-graph (for $k = O(\log n)$ the geodesics belong to the $k$-NN graph with high probability).
fermat
In progress
ximenafernandez/intrinsicPH
$\bullet$ Fernandez X., Borghini E., Mindlin G. & Groisman P. Intrinsic persistent homology via density-based metric learning, Journal of Machine Learning Research, 2023 (to appear) arXiv:2012.07621
$\bullet$ Fernandez X., Mateos D. Topological biomarkers for real time detection of epileptic seizures, 2022. arXiv:2211.02523
We assume that $\varphi$ is an observation of an underlying dynamical system $(\mathcal M, \phi)$, with $\mathcal M$ a topological space and $\phi\colon \mathbb R \times \mathcal M\to \mathcal M$ the evolution function.
That is, there exist an observation function $F:\mathcal M\to \mathbb R$ and an initial state $x_0\in \mathcal M$ such that \begin{align}\varphi = \varphi_{x_0}:\mathbb{R}&\to \mathbb{R}\\ t&\mapsto F(\phi_t(x_0)) \end{align}
** There exists $\psi:\mathcal M\to \mathbb R^{D}$ an embedding such that $\psi|_{\mathcal A_{x_0}}: \mathcal A_{x_0}\to \mathcal{M}_{T,D} (\varphi_{x_0})$ is a bijection.
*Corollary 5, Detecting strange attractors in tubulence, F. Takens, 1971.
Embedding dimension $D$
Time delay $T$
Source data: PhysioNet Database https://physionet.org/about/database/
Source data: Private experiments. Laboratory of Dynamical Systems, University of Buenos Aires.
Source: Open database CHB-MIT, Massachusetts Institute of Technology, USA.
Source: Open database CHB-MIT, Massachusetts Institute of Technology, USA.
Source: Private recording, Toronto Western Hospital, Canada.
Source: Private recording, Toronto Western Hospital, Canada.
Given $\varphi = (\varphi_1, \varphi_2, \dots \varphi_n):\mathbb R\to \mathbb{R}^n$ a multichannel recording and $\omega$ a window size.
\[\mathbb{R} ~\longrightarrow ~\mathrm{Top} ~\longrightarrow ~\mathrm{Dgm}~~~~~~~~~~~~~~~~~~~~~~~~~~~~\] \[t\mapsto \mathrm{SWE}_{\varphi, \omega} (t)\mapsto \mathrm{dgm}\big(\mathrm{SWE}_{\varphi, \omega}(t) \big)=:\mathcal{D}_t\]
We compute the following topological summaries:
Given $\varphi_i:\mathbb R\to \mathbb{R}$ a single channel of the recording, we construct its time delay embedding $\mathcal M_{T, D}\varphi_i$.
Given $\omega$ a window size, the sliding window delay embedding $\mathrm{SWDE}_{\varphi_i, \omega}$ of $\varphi_i$ is the sliding window embedding of $\mathcal M_{T, D}\varphi_i$.
\[~~~~~\mathbb R ~\longrightarrow ~~\mathrm{Top} ~~\longrightarrow ~~\mathrm{Dgm}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\] \[~~~~~~~~~~~~t\mapsto \mathrm{SWDE}_{\varphi_i, \omega} (t)\mapsto \mathrm{dgm}\big(\mathrm{SWDE}_{\varphi_i, \omega}(t) \big)=:\mathcal{D}_t\]
github.com/ximenafernandez $~~~~$ ximenafernandez.github.io/ $~~~~$ ximena.l.fernandez@durham.ac.uk $~~~~$ @pi_ene