logo

Definition of Vietoris-Rips Complex 📂Topological Data Analysis

Definition of Vietoris-Rips Complex

Definition 1 2

Simple Definition

Let us assume a Euclidean space (Rd,2)\left( \mathbb{R}^{d} , \left\| \cdot \right\|_{2} \right) and a positive number ε>0\varepsilon > 0 are given. For a finite set SRdS \subset \mathbb{R}^{d}, a simplicial complex VRε(S)\text{VR}_{\varepsilon} (S) that satisfies the following two conditions is called a Vietoris-Rips Complex.

  • (i): It has SS as the set of vertices.
  • (ii): A simplex [v0,v1,,vk]\left[ v_{0} , v_{1} , \cdots, v_{k} \right] in VRε(S)\text{VR}_{\varepsilon} (S) belongs to VRε(S)\text{VR}_{\varepsilon} (S) if and only if for all 0i,jk0 \le i,j \le k, the following holds true. vivj22ε \left\| v_{i} - v_{j} \right\|_{2} \le 2 \varepsilon

Complex Definition

Given a metric space (X,d)\left( X, d \right) and a positive number ε>0\varepsilon > 0, an abstract simplicial complex VRε(S)\text{VR}_{\varepsilon} (S) defined as follows is called a Vietoris-Rips Complex. VRε(S):={σS:diamσ2ε} \text{VR}_{\varepsilon} (S) := \left\{ \sigma \subset S : \diam \sigma \le 2 \varepsilon \right\} Here, diam\diam denotes the Diameter, which is defined as the supremum of the distances between all points of the given set σX\sigma \subset X. diamσ:=supx1,x2σd(x1,x2) \diam \sigma := \sup_{x_{1} , x_{2} \in \sigma} d \left( x_{1} , x_{2} \right)

Explanation

The Vietoris-Rips Complex, also commonly shortened to VR Complex or Rips Complex, can essentially be understood through its definition. Whether through the simple or complex definition, the core principle that defines a simplex’s eligibility is that all the distances between points included must be less than or equal to 2ε2 \varepsilon. Visualizing this concept, one can think of vertices that are 00-simplices at the center, with spheres of radius ε\varepsilon. Then, based on these spheres touching one another, a 11-simplex is formed if two vertices are connected in a 11-simplex and further creating a 22-simplex if three vertices connect within a 11-simplex, which is how a VR Complex can be built.

20220306_203242.png

Difference Between Vietoris-Rips Complex and Čech Complex

Vietoris-Rips Complex: VRε(S):={σS:diamσ2ε}\text{VR}_{\varepsilon} (S) := \left\{ \sigma \subset S : \diam \sigma \le 2 \varepsilon \right\}

Čech Complex: Cˇε(S):={σS:xσBd(x;ε)}\check{C}_{\varepsilon} (S) := \left\{ \sigma \subset S : \bigcap_{x \in \sigma} B_{d} \left( x ; \varepsilon \right) \ne \emptyset \right\}

The following images compare the same dataset for the Vietoris-Rips Complex and the Čech Complex. The top is for VRε\text{VR}_{\varepsilon}, and the bottom is for Cˇε\check{C}_{\varepsilon}.

20220314_124807.png

  • The Vietoris-Rips requires only the existence of a k1k-1-simplex as its face for including a kk-simplex. In the example, since 11-simplices ABAB, BCBC, and CACA exist, the 22-simplex ABCABC is included.
  • On the contrary, the Čech Complex requires not only the inclusion of these faces but also that the ABCABC itself is formed by the spheres intersecting at a single point. This means that constructing a Čech Complex is more stringent than constructing a Vietoris-Rips Complex, thereby leading to the following observation. CˇεVRε \check{C}_{\varepsilon} \subset \text{VR}_{\varepsilon} Furthermore, the following fact is known. CˇεVRεCˇ2ε \check{C}_{\varepsilon} \subset \text{VR}_{\varepsilon} \subset \check{C}_{2 \varepsilon}

We can infer that perhaps the Čech Complex can contain a bit more information than the Vietoris-Rips Complex. VRε\text{VR}_{\varepsilon} states that as long as the given points are connected, the existence of a k1k-1-simplex is automatically confirmed. Essentially, there’s no difference between the existence of a simplex and all its faces; knowing one practically renders the other information redundant. Conversely, Cˇε\check{C}_{\varepsilon} cannot assure the existence of ABCABC solely based on the existence of ABAB, BCBC, and CACA, necessitating an additional verification. It can thus be expected that the Čech Complex examines data details more intricately than the Vietoris-Rips Complex.

However, from the perspective of actual computation, constructing a Vietoris-Rips Complex is significantly cost-effective. Indeed, unlike VRε\text{VR}_{\varepsilon}, which simply calculates the distance between fixed points, Cˇε\check{C}_{\varepsilon} not only lacks information on where the spheres intersect but also cannot determine if their intersection is shorter or longer than ε\varepsilon. Overcoming this and constructing a Čech Complex might involve finding the smallest enclosing disk using techniques such as the Welzl’s algorithm, but each calculation is relatively expensive and must be repeated for all possible combinations of points.


  1. Raul Rabadan. (2020). Topological Data Analysis for Genomics and Evolution: p126. ↩︎

  2. Edelsbrunner, Harer. (2010). Computational Topology An Introduction: p74. ↩︎