Bifunction and Interlevel Delaunay Trifiltrations
Abstract
A key property of the Delaunay filtration is that it is topologically (i.e., weakly) equivalent to the offset (union-of-balls) filtration. Recently, this filtration has been extended to point clouds equipped with an -valued function, yielding a computable 2-parameter filtration that satisfies an analogous weak equivalence. Motivated in part by the study of time-varying data, we introduce a 3-parameter extension of the Delaunay filtration for point clouds equipped with an -valued function, also satisfying an analogous weak equivalence. For a point cloud , our trifiltration has size . We present an algorithm that computes this trifiltration in time , together with an implementation. Our experiments demonstrate that the implementation can handle thousands of points in , with memory growth that is nearly linear.
Keywords and phrases:
Delaunay triangulation, Multiparameter persistent homology, Interlevel, Bowyer-WatsonFunding:
Ángel Javier Alonso: Austrian Science Fund (FWF) grants 10.55776/P33765 and 10.55776/ W1230.Copyright and License:
2012 ACM Subject Classification:
Mathematics of computing Topology ; Theory of computation Computational geometrySupplementary Material:
Software: https://bitbucket.org/mkerber/function_delaunay [37]archived at
swh:1:dir:95fb3611456975ff368b3cfb5604f4bd9011264e
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir NayyeriSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Background.
Given a finite point cloud , the offset filtration of is the nested sequence of spaces , where and is the union of closed balls of radius centered the points of (Figure 1). In topological data analysis (TDA), one often computes the persistent homology of . However, directly computing is difficult, due to its non-combinatorial nature. Therefore, one usually instead computes the Delaunay filtration (also called the -filtration) [30, 28] (Figure 1), a filtration of the Delaunay triangulation of that is topologically equivalent (i.e., weakly equivalent, see Definition 19) to , and therefore has the same persistent homology. For low-dimensional Euclidean data, is the standard choice of filtration in TDA, because it is far more computationally efficient than alternatives like the Rips and Čech filtration. Bauer and Edelsbrunner [5] showed that is also weakly equivalent to a variant of called the Delaunay-Čech filtration and denoted , where the birth index of each simplex in the filtration is the radius of its minimum enclosing ball.
In many TDA applications, the point cloud comes equipped with a function [20, 18]. It is then natural to seek a refinement of the persistent homology of which is sensitive to the structure of this function. Functions considered in the TDA literature include (co)density, eccentricity (centrality), discrete curvature [18], partial charge [17, 16], and time [46]. To extend the persistence pipeline to point clouds equipped with multiple functions, Carlsson and Zomorodian [18] proposed multiparameter persistence, and specifically, the sublevel offset bifiltration , where
Sublevel Čech and sublevel offset bifiltrations are defined analogously, and can be computed in essentially the same way as the usual Rips and Čech filtrations. Defining an analogous sublevel Delaunay bifiltration is more subtle because of the non-monotonicity of Delaunay complexes with respect to insertion of points. However, recent work [3] introduced sublevel Delaunay and sublevel Delaunay-Čech bifiltrations that are both weakly equivalent to the sublevel offset bifiltration and amenable to efficient computation. Experiments with a publicly available implementation showed that, in practice, computing the sublevel Delaunay-Čech bifiltration is only modestly more expensive than computing the ordinary Delaunay filtration. The work [3] is part of a large body of recent work aiming to realize multiparameter persistence as a computationally viable data analysis tool; for an introduction, see [14].
Contributions.
In this paper, we extend the recent results from [3] on sublevel-Delaunay bifiltrations to functions , where is in general position. Specifically, we introduce the sublevel Delaunay and sublevel Delaunay-Čech trifiltrations of , denoted and , respectively. We show that both trifiltrations have size , can be computed in time , and are weakly equivalent to the sublevel offset trifiltration, defined as follows:
Definition 1.
The sublevel offset trifiltration of , denoted , is the collection of Euclidean subspaces , where and Here denotes the product partial order on .
Our approach to defining and computing the trifiltrations , parallels the approach of [3] for -valued functions, but is necessarily more involved. To illustrate the problem, consider the four point clouds of Figure 2. While for any , the offsets satisfy , these containment relations do not hold for the corresponding Delaunay triangulations, nor for the Delaunay complexes of radius . The construction of [3] applies when the point clouds are totally ordered by containment, but does not apply here because neither nor contains the other. In this paper, we adapt the approach of [3] to address this case.
As in the previous work on -valued functions, the most important part of our approach is the definition and computation of the maximum complex (i.e., colimit) of the trifiltrations and . This complex is the same for both trifiltrations; we call it the incremental complex and denote it as (Definition 3). The complex has vertex set , and contains the union of the Delaunay triangulations of all sublevel sets of as a subcomplex. We give a characterization of in terms of conflict pairs (see Definition 6), and use this to obtain a simple algorithm for computing , based on the standard Bowyer-Watson algorithm for incremental computation of Delaunay triangulations. We then introduce optimizations to this algorithm, exploiting the fact that Delaunay triangulations are local, in a sense made precise by Lemma 16.
For non-empty, let , where denotes the join, i.e., coordinate-wise maximum. Given , the trifiltration is defined by assigning each simplex the birth index , where is the incremental Delaunay radius, which we will define in Definition 3. is defined by assigning each the birth index , where is the radius of the minimal enclosing ball of . To show that , , and are topologically equivalent, we use an argument based on two-parameter mapping telescopes and functorial version of the nerve theorem [6]. We introduce a practical algorithm for computing and , and implement the algorithm to compute . We perform experiments on point clouds in and with up to 16000 points. In these experiments, the memory usage scales nearly linearly, while run time scales nearly quadratically, suggesting that substantially larger computations are feasible. Our implementation is publicly available [37].
Motivation.
While there is a substantial recent literature on computing bifiltrations of point cloud and metric data in TDA [23, 3, 9, 44, 2, 4], to the best of our knowledge, our work is the first to seriously engage with the algorithmic aspects of trifiltrations. We hope that our work will lower the barrier to practical data analysis with 3-parameter persistence, which has seen very limited use so far.
Our specific motivation for introducing computable Delaunay-type models of sublevel-offset trifiltrations is threefold: First, we wish to enable persistence analysis which simultaneously considers a pair of functions on a point cloud, e.g., density and eccentricity. Indeed, if one is interested in doing a topological analysis of a function on a point cloud with noise or non-uniformities in density, it becomes important to take density into account, and one simple way to do this is to treat density as an additional filtration parameter.
Second, the definition of the sublevel-offset bifiltration involves a choice of filtering direction (i.e., whether we filter by sublevel or superlevel sets). While for some functions , like codensity, it is natural to fix a direction, for other functions like time or partial charge, it can be unnatural to fix a filtering direction, and one would like a more symmetric construction. To this end, one can consider the interlevel-offset trifiltration of , defined as follows:
Definition 2.
For a function , the interlevel-offset trifiltration of , denoted , is the collection of Euclidean subspaces , where .
Note that is a special case of the sublevel-offset trifiltration, namely , where . We are especially interested in computing the homology of the interlevel-offset filtration in the case that is a time function, as this could potentially be useful in the analysis of dynamic data such as that arising in the study of collective motion of animals [1], in the study of dynamical systems, or in the sliding-window analysis of time series [50]. While is only one of several possible choices of a multifiltration that can be built from time-varying data (e.g., see [41, 55]), it is notable for its flexibility – unlike some alternatives, the definition does not require a consistent labeling of the points at each time step, and it accommodates different numbers of points at different time steps.
Our third motivation is the following: The degree-Rips bifiltration has emerged in recent years as a popular choice of density-sensitive bifiltration on metric data [52, 10, 45]. The construction is appealing in part because it requires no parameter choice, whereas the sublevel-Rips filtration of a (co)density function requires a choice of bandwidth parameter. In the same way, one can define parameter-free degree-offset and degree-Čech filtrations. We are interested in the problem of computing an analogous degree-Delaunay filtration which is topologically equivalent to the degree-offset bifiltration and more computable than degree-Rips or degree-Čech for low-dimensional data. In ongoing work on this problem, we noticed that the problems of computing the sublevel Delaunay(-Čech) trifiltration and the degree-Delaunay bifiltrations are very closely related. As computing the former is somewhat simpler but already rather involved, we view the results of this paper as a key step towards the development of computationally efficient degree-Delaunay bifiltrations. However, degree-Delaunay bifiltrations will not be studied in this paper.
Other Related Work.
Our work and the prior work [3] solve particular instances of a general computational problem: Given a filtered point cloud indexed by a poset , one has an associated offset filtration indexed by the product poset ; the problem is to define and compute a generalized Delaunay filtration of reasonable size which is weakly equivalent to this offset filtration. The case that is of the form was studied by Reani and Bobrowski [51], who call the resulting generalized Delaunay filtration the coupled -filtration. A more general case, where instead of considering two point clouds and their union, one considers point clouds and their union, was treated in [27, 7]. The authors call the resulting Delaunay objects chromatic -complexes.
Many works have studied time-varying point cloud or metric data through the lens of persistence. To avoid the difficulties of multiparameter persistence, such work most often either considers persistence with respect to a scale parameter and ignores persistence across the time parameter [49, 1, 59, 35, 48, 22], or fixes a scale parameter and considers extended or zig-zag persistence across time [56, 43, 42]. In particular, the problem of extending Delaunay complexes to time-varying data has been studied in [38, 29] using 1-parameter (extended) persistent homology with a fixed radius parameter. It is natural to simultaneously consider persistence with respect to both scale and time, working in the multiparameter setting. This was previously explored by Kim and Mémoli [41], who introduce and study a Rips trifiltration for time-varying metric data with consistent labels across time, and by Saunders [53] and Dey and Samaga [26], who study a version of multiparameter persistence indexed over a product of a zigzag poset and a totally ordered set.
Outline.
Section 2 covers preliminaries that are needed throughout the paper. In Section 3, we define the incremental Delaunay complex of a function , thereby completing the definition of the trifiltrations and . Section 4 introduces conflict pairs and presents our characterization of in terms of these. In Section 5, we apply this characterization to obtain an algorithm for computing . We also discuss optimizations to this algorithm. In Section 6, we establish that and are weakly equivalent to the sublevel offset trifiltration . Finally, in Section 7, we describe our implementation and report the results of our experiments.
2 Preliminaries
We fix a finite set . For a set , a -sphere is a circumsphere of if all points of lie on , and the circumsphere is empty in if no point of lies inside . We assume is in general position, i.e., every non-empty subset of of at most points is affinely independent, and no point of lies on the smallest circumsphere of .
The Delaunay triangulation of is the simplicial complex
The Voronoi cell of a point is the region
is equal to the nerve of the collection of Voronoi cells ; see Section 6 for the definition of the nerve. For and , the Voronoi ball is the region
where is the closed ball of radius centered at . Letting denote the nerve of the collection of Voronoi balls , we call the Delaunay filtration of .
We also fix a function . For simplicity, throughout the paper, we assume that both and are injective. This assumption entails no loss of generality: one can perturb to enforce such injectivity, carry out our trifiltration constructions for the perturbed function, and then readily recover a correct result for the unperturbed function from this. For , let denote the total order on induced by , and let be the maximum element of with respect to .
Throughout the paper, we consider the product partial order on , given by if and only if and . We say are comparable if or ; otherwise, they are incomparable. For , let denote the -sublevel set of .
3 Delaunay trifiltrations
Definition 3.
The incremental Delaunay complex, denoted is the simplicial complex whose simplices are the non-empty subsets with a circumsphere of satisfying:
-
and are either inside or on ,
-
every such that is either outside or on .
For a simplex , we call the infimal radius of such a sphere the incremental Delaunay radius, and denote this as .
Note that in Section 3, we can have , in which case .
Definition 4.
For , the sublevel Delaunay trifiltration and sublevel Delaunay-Čech trifiltration are defined over as follows:
where denotes the incremental Delaunay radius of (see Definition 3) and is the radius of the smallest enclosing ball of .
Proposition 5.
For and , we have .
Taking sufficiently large, Proposition 5 implies that contains the Delaunay triangulation for all .
4 Conflict pairs and triples
We now characterize the simplices of in a way that is conducive to computation.
Let , and consider . If , then let , where is the element of immediately after . We define variants of this notation, e.g., and , in the analogous way. For with and , we let .
Definition 6 (Conflict pairs and triples).
-
(i)
For , a conflict pair at is a pair such that
-
(a)
is a -simplex in ,
-
(b)
either
-
and or
-
and ,
-
-
(c)
lies inside the circumsphere of .
-
(a)
-
(ii)
For distinct conflict pairs and at , we call a conflict triple at .
-
(iii)
We call a conflict pair if it is a conflict pair at some , and similarly for conflict triples.
Definition 6 is illustrated in Figure 3. Note that if is a conflict triple at , then by the injectivity of and , either and , or else and .
Lemma 7.
If and are distinct conflict pairs, then and are incomparable.
Proof.
To arrive at a contradiction, suppose , and is a conflict pair at . Then . Thus, by injectivity of and , . Since is a conflict pair, we have , which contradicts that is a conflict pair at .
Lemma 7 implies that for any -simplex in , the set
is totally ordered by -coordinate. Henceforth, we assume that is given this order.
Lemma 8.
For , is a conflict triple if and only if are ordered consecutively in .
Proof.
If are ordered consecutively, then it is easily checked that is a conflict triple at , where . Conversely, if there exists with in the order on , then for any with and , we have , so . Hence is not a conflict triple.
The next lemma follows immediately from the definition of .
Lemma 9.
-
(i)
If is a conflict pair, then is a -simplex in .
-
(ii)
If is a conflict triple, then is a -simplex in .
In a way that the following proposition makes precise, every simplex is a face of a -simplex or -simplex coming from conflicts as above. For this, we must assume that satisfies the -property, i.e., the total orders and coincide in the first points and is contained in the convex hull of these first points. This technical condition can be easily enforced in practice by simply adding artificial points “at infinity.” The analogous condition for a single total order (or a slight variant thereof) is commonly exploited in the incremental computation of Delaunay triangulations [31, 11, 12], and is also used in the previous work on sublevel-Delaunay bifiltrations [3].
Proposition 10.
If has the -property and , then every is either
-
a face of the -simplex for some conflict triple , or
-
a face of the -simplex for some conflict pair where .
Size.
We apply the above results, together with a result about the incremental construction of Delaunay triangulations [31], to bound the size of :
Theorem 11.
For constant dimension , has simplices.
5 Computation
By Proposition 10, to compute it suffices to compute all conflict pairs and conflict triples. In the following, we explain how to compute all conflict pairs. Once we have done so, we can easily compute all conflict triples via Lemma 8, by iterating through the set of conflict pairs for each -simplex .
The Bowyer-Watson algorithm.
We make essential use of the Bowyer-Watson algorithm [15, 57], a standard incremental algorithm for computing Delaunay triangulations. Given the Delaunay triangulation of a point cloud and a point , the Bowyer-Watson algorithm computes . To do so, it first identifies each -simplex such that lies inside the circumsphere of . Each such simplex is then removed from , resulting in a star-convex region centered at . Finally, to obtain , the region is retriangulated by forming the simplicial cone with base the boundary of and apex (See Figure 4). For a -simplex as above, we call the pair a BW-conflict (for ).
Remark 12.
Note that the definition of BW-conflict is distinct from, but closely related to, that of a conflict pair given in Definition 6 (i). Namely, every conflict pair at is a BW-conflict for , and conversely, if and is a BW-conflict for , then is a conflict pair.
Naive Computation of Conflict Pairs.
To compute all conflict pairs, a natural strategy is to traverse each horizontal and each vertical line in in increasing order, iteratively applying the Bowyer-Watson algorithm. To explain this, we focus on the traversal of vertical lines, as the case of horizontal lines is symmetric. A naive version of the strategy, which already satisfies our main complexity bound (Theorem 13), is as follows: For each , iterate through in increasing order. For each , let . Given , if is non-empty, hence equal to for some , then we apply Bowyer-Watson to compute both and all conflict pairs of the form at .
Theorem 13.
The above approach computes in time .
Computing trifiltrations.
Once is computed, completing the computation of either or amounts to computing the birth index of each simplex in the trifiltration. Recall that the birth index of in is , where is the radius of the smallest enclosing ball of . Computation of the first two components of this triple is trivial. In general, smallest enclosing balls can be computed via standard algorithms with efficient implementations [58, 34, 33, 36, 32]. Assuming is constant, computing also requires constant time. Further, recall that the birth index of in is , where is the incremental Delaunay radius of Definition 3. We discuss the computation of in the full version, where we observe that can be computed for all in amortized constant time per simplex. From this and Theorem 13, we obtain the following:
Corollary 14.
Both and can be computed in time .
5.1 Optimized computation of conflict pairs
The above approach to computing conflict pairs involves considerable redundant computation across different vertical lines. We next discuss strategies for reducing this redundancy.
Whereas the unoptimized algorithm described above uses only point insertions in Delaunay triangulations, our optimizations use both insertions and deletions. Our aim in selecting these optimizations is to reduce the total number of insertions and deletions, which can be seen heuristically as a proxy for the total cost of the algorithm in practice. Our optimizations do not reduce in the worst case, and do not improve the asymptotic worst-case complexity. But in some classes of examples they yield an asymptotic reduction of .
First, we note that for any , it suffices to begin the traversal of the vertical line containing at index , rather than at index . However, to exploit this idea, one must select an algorithm to compute . A simple approach is to use the Bowyer-Watson algorithm with randomized insertion of points, which is known to be highly efficient in expectation [21]. However, this requires the same number of point insertions as the unoptimized algorithm, which constructs via point insertions in order of -value. We next introduce an alternative algorithm to compute which exploits the work done along the previous vertical line to reduce in favorable cases.
Computing via deletions.
Assume that we handle vertical lines in rightward order. Consider , with immediately before in the order . We thus handle the vertical line containing immediately before the one containing . Let denote the final sublevel set of encountered as we traverse the line containing , i.e., . Noting that , let We compute from by removing the points of one by one, using the standard algorithm of [25] to repair the Delaunay triangulation after each removal.
The number of vertex removals required to obtain from is at most the number of insertions required for the subsequent traversal of the vertical line containing , because each vertex removed must be reinserted. Thus, in all instances, this strategy increases by at most a factor of two, compared to the unoptimized algorithm. Further, the next example shows that this strategy can lead to an asymptotic reduction in on a certain family of inputs.
Example 15.
If the product partial order on restricts to a total order on , then for the optimized strategy described above, but for the unoptimized strategy. On the other hand, if the elements of are pairwise incomparable, then for both strategies.
Reducing the number of insertions and deletions.
In fact, to compute the conflict pairs first appearing on the vertical line containing , it is not necessary to explicitly remove all points of , but only a subset . This idea leads to a further optimization, which we call the local algorithm, that further reduces . To distinguish the approaches, we call the optimized algorithm described above the non-local algorithm.
The local algorithm is illustrated in Figure 5. The algorithm proceeds as follows: We maintain a Delaunay triangulation , to be modified by point removals and insertions. First, we compute from via the Bowyer-Watson algorithm. We next iteratively remove from the neighbors of that belong to , in arbitrary order, until has no neighbor in . Letting denote the set of removed points, after these removals, we have . We then remove from . Finally, we insert the points of into in increasing order of -value, noting the BW-conflicts that arise. Each BW-conflict such that is recorded as a conflict pair.
The correctness of this approach hinges on the fact that Delaunay triangulations are local, in the sense of the following lemma. For a simplicial complex and vertex , the star of in , denoted , is the set of simplices of that contain .
Lemma 16.
Let be a finite point set in general position and be a point. Let . Then, for any such that , we have
Proposition 17.
The local algorithm correctly computes all conflict pairs.
6 Topological equivalence of trifiltrations
Our main theoretical justification for computing Delaunay-(Čech) trifiltrations is the following:
Theorem 18.
The trifiltrations , , and are all weakly equivalent.
We begin by recalling the definition of weak equivalence; in homotopy theory, this is a standard notion of “homotopical equivalence” of diagrams of topological spaces. For a poset , a -indexed filtration is a collection of topological spaces such that , whenever . Equivalently, is a functor from the poset category of to the category of topological spaces Top.
Definition 19.
-
(i)
Given -indexed filtrations , a natural transformation is a collection of continuous maps such that the following diagram commutes for all .
-
(ii)
We call a pointwise homotopy equivalence if each is a homotopy equivalence.
-
(iii)
We say that and are weakly equivalent, and write , if there exists a zigzag of pointwise homotopy equivalences connecting and :
To show that , we characterize as the nerve of a cover of a certain trifiltration in , which we call the telescopic offset trifiltration. A functorial version of the nerve theorem [6] then implies that . In addition, a simple deformation retraction argument gives that . Hence, . Similar constructions have previously been used to establish weak equivalence of 1-parameter and 2-parameter filtrations in [19, 23]. Our proof that is very similar; it uses a description of Delaunay-Čech complexes as nerves, which extends a construction of Blaser and Brun [8].
In [3], the analogous results for sublevel Delaunay(-Čech) bifiltrations were instead proven via discrete Morse theory, by extending an argument of Bauer and Edelsbrunner [5] to the 2-parameter setting. While we expect that approach to extend to our 3-parameter setting, we find our nerve-based approach to be more intuitive. In what follows, we outline the proof that . The proof that appears entirely in the full version.
Functorial nerve theorem for closed, semi-algebraic sets.
A cover of a set is a set of subsets of whose union is . The nerve of is the simplicial complex
We say is a good cover if every intersection of cover elements is either empty or contractible.
These definitions extend naturally to -indexed filtrations, as follows: For a -indexed filtration, a cover of is a collection of -indexed filtrations , such that for each , is a cover of . We say that is good if for each , is a good cover of . We define , the nerve of , to be the -indexed filtration given by , with structure maps the inclusions.
We will use the following functorial version of the nerve theorem for semi-algebraic sets; see also [6] for a thorough treatment of other variants of the nerve theorem.
Theorem 20.
Let be a finite, good cover of a -indexed filtration such that for each and , is closed and semi-algebraic. Then .
Proof.
This follows immediately from [6, Theorem 5.9], using the fact that an inclusion of closed semi-algebraic sets satisfies the homotopy extension property [24, Theorem 4].
Remark 21.
Theorem 20 is proven in [6, Theorem 4.10] under the additional assumption that each is compact, via a somewhat different argument.
Telescopic offset trifiltration.
For , the telescopic offset is given by
| (1) |
Equivalently,
where . Varying and , we obtain the telescopic offset trifiltration . Let be the natural transformation induced by the projection of onto the first coordinates.
Lemma 22.
The natural transformation is a pointwise homotopy equivalence.
A cover by telescopic Voronoi balls.
We next define our cover of . For , we define the telescopic Voronoi cell
where denotes the closure. For , we define the telescopic Voronoi ball
See Figure 6 for an illustration in the case . Allowing and to vary, the spaces assemble into a trifiltration . We let .
Lemma 23.
The set is a good cover of .
In what follows, we identify simplices of with their corresponding subsets of .
Lemma 24.
The trifiltrations and are equal.
Proposition 25.
We have .
7 Implementation
We have written a C++ program to compute the Delaunay-Čech trifiltration for a function , where . The code is available on Bitbucket111https://bitbucket.org/mkerber/function_delaunay (archived here). Our code builds upon a prior implementation of the algorithm from [3] for computing the Delaunay-Čech filtration of an -valued function. Our program accepts a text file as input, where each line represents the coordinate of a point along with its function value , and outputs a chain complex representation of in the scc2020 format, as described in [40]. Both the local and non-local algorithms are implemented. Our implementation computes the incremental Delaunay complex essentially as described in Section 5. However, there are minor differences, which arise because some simplifications that have been incorporated into this paper have not yet been implemented in the code. As in [3], simplices are stored in a simplex tree [13, 47], and minimum enclosing balls are computed in CGAL [32].
Experiments.
The test suite we use, obtained from [39], consists of point clouds obtained by sampling 1-spheres () and unit squares () in , and 2-spheres (), tori () and unit cubes () in , with 5% noise drawn from a uniform distribution and perturbation to ensure general position. We consider point clouds of 500, 1000, 2000, 4000, 8000, 16000 points, with four point clouds per type and size.
For each point cloud we computed the interlevel Delaunay-Čech trifiltration of four different functions , using the local algorithm. The four functions are:
-
codensity, , with chosen as the percentile of the non-zero distances between points in ,
-
-coeccentricity, ,
-
height, , where is the last coordinate of ,
-
random, where for each , is chosen uniformly at random from .
All experiments were performed on a computer with an Intel Core i7-5960X CPU @3.00GHz and 64GB of memory, running Ubuntu 20.04.6 LTS. The code was compiled with g++ 9.4.0.
The full results of the experiments are available on Zenodo222https://doi.org/10.5281/zenodo.19227801. A representative subset of the results is given in Table 1; this data is plotted in Figure 7. We observe that across all examples, the size of the incremental Delaunay complex and the memory usage grow nearly linearly as a function of the input size. In contrast, the runtime grows nearly quadratically. Thus, our experiments indicate that our approach is memory efficient, and therefore that substantially larger computations should be feasible.
Table 2 compares the performance of the local and non-local algorithms on three types of examples, with up to 4000. While the local algorithm offers no improvement over the non-local algorithm in the first example type (interlevel trifiltrations), for the two other example types, the local algorithm is always faster by a factor of between 3 and 14, and the factor increases with the size of the data set.
References
- [1] Henry Adams, Veronica Ciocanel, Chad M Topaz, and Lori Ziegelmeier. Topological data analysis of collective motion. SIAM News, 53(01), 2020.
- [2] Ángel Javier Alonso. A Sparse Multicover Bifiltration of Linear Size. In 41st International Symposium on Computational Geometry (SoCG 2025), 2025. doi:10.4230/LIPIcs.SoCG.2025.6.
- [3] Ángel Javier Alonso, Michael Kerber, Tung Lam, and Michael Lesnick. Delaunay Bifiltrations of Functions on Point Clouds. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms, pages 4872–4891, Philadelphia, PA, January 2024. Society for Industrial and Applied Mathematics. doi:10.1137/1.9781611977912.
- [4] Ángel Javier Alonso, Michael Kerber, and Siddharth Pritam. Filtration-domination in bifiltered graphs. In 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments (ALENEX), pages 27–38. SIAM, 2023. doi:10.1137/1.9781611977561.CH3.
- [5] Ulrich Bauer and Herbert Edelsbrunner. The morse theory of čech and delaunay complexes. Transactions of the American Mathematical Society, 369(5):3741–3762, 2017.
- [6] Ulrich Bauer, Michael Kerber, Fabian Roll, and Alexander Rolle. A unified view on the functorial nerve theorem and its variations. Expositiones Mathematicae, 41(4):125503, 2023. doi:10.1016/j.exmath.2023.04.005.
- [7] Ranita Biswas, Sebastiano Cultrera di Montesano, Ondřej Draganov, Herbert Edelsbrunner, and Morteza Saghafian. On the Size of Chromatic Delaunay Mosaics, 2022. doi:10.48550/arXiv.2212.03121.
- [8] Nello Blaser and Morten Brun. Relative persistent homology. Discrete & Computational Geometry, 68(4):949–963, 2022. doi:10.1007/S00454-022-00421-9.
- [9] Nello Blaser, Morten Brun, Odin Hoff Gardaa, and Lars M. Salbu. Core bifiltration. Journal of Applied and Computational Topology, 9(4):30, November 2025. doi:10.1007/s41468-025-00226-8.
- [10] Andrew J Blumberg and Michael Lesnick. Stability of 2-parameter persistent homology. Foundations of Computational Mathematics, 24(2):385–427, 2024. doi:10.1007/S10208-022-09576-6.
- [11] Jean-Daniel Boissonnat, Olivier Devillers, and Samuel Hornus. Incremental construction of the delaunay triangulation and the delaunay graph in medium dimension. In Proceedings of the twenty-fifth annual symposium on Computational geometry, pages 208–216, 2009. doi:10.1145/1542362.1542403.
- [12] Jean-Daniel Boissonnat, Olivier Devillers, Monique Teillaud, and Mariette Yvinec. Triangulations in cgal. In Proceedings of the sixteenth annual symposium on Computational geometry, pages 11–18, 2000.
- [13] Jean-Daniel Boissonnat and Clément Maria. The simplex tree: An efficient data structure for general simplicial complexes. Algorithmica, 70:406–427, 2014. doi:10.1007/S00453-014-9887-3.
- [14] Magnus Botnan and Michael Lesnick. An introduction to multiparameter persistence. In Representations of Algebras and Related Structures, pages 77–150. EMS Press, 2023.
- [15] A. Bowyer. Computing Dirichlet tessellations. The Computer Journal, 24(2):162–166, February 1981. doi:10.1093/comjnl/24.2.162.
- [16] Zixuan Cang, Lin Mu, and Guo-Wei Wei. Representability of algebraic topology for biomolecules in machine learning based scoring and virtual screening. PLoS computational biology, 14(1):e1005929, 2018. doi:10.1371/JOURNAL.PCBI.1005929.
- [17] Zixuan Cang and Guo-Wei Wei. Persistent cohomology for data with multicomponent heterogeneous information. SIAM Journal on Mathematics of Data Science, 2(2):396–418, 2020. doi:10.1137/19M1272226.
- [18] Gunnar Carlsson and Afra Zomorodian. The theory of multidimensional persistence. Discrete & Computational Geometry, 42(1):71–93, 2009. doi:10.1007/S00454-009-9176-0.
- [19] Nicholas J Cavanna, Mahmoodreza Jahanseir, and Donald R Sheehy. A geometric perspective on sparse filtrations. arXiv preprint arXiv:1506.03797, 2015. arXiv:1506.03797.
- [20] Frédéric Chazal, Leonidas J Guibas, Steve Y Oudot, and Primoz Skraba. Scalar field analysis over point cloud data. Discrete & Computational Geometry, 46(4):743–775, 2011. doi:10.1007/S00454-011-9360-X.
- [21] Kenneth L Clarkson and Peter W Shor. Applications of random sampling in computational geometry, II. Discrete Comput. Geom., pages 387–421, 1989.
- [22] David Cohen-Steiner, Herbert Edelsbrunner, and Dmitriy Morozov. Vines and vineyards by updating persistence in linear time. In Proceedings of the twenty-second annual symposium on Computational geometry, pages 119–126, 2006. doi:10.1145/1137856.1137877.
- [23] René Corbet, Michael Kerber, Michael Lesnick, and Georg Osang. Computing the multicover bifiltration. Discrete & Computational Geometry, 70(2):376–405, 2023. doi:10.1007/S00454-022-00476-8.
- [24] Hans Delfs and Manfred Knebusch. Separation, retractions and homotopy extension in semialgebraic spaces. Pacific Journal of Mathematics, 114(1):47–71, 1984.
- [25] Olivier Devillers. On deletion in delaunay triangulations. In Proceedings of the fifteenth annual symposium on Computational geometry, SoCG99, pages 181–188. ACM, June 1999. doi:10.1145/304893.304969.
- [26] Tamal K. Dey and Shreyas N. Samaga. Quasi zigzag persistence: A topological framework for analyzing time-varying data, 2026. doi:10.48550/arXiv.2502.16049.
- [27] Sebastiano Cultrera di Montesano, Ondřej Draganov, Herbert Edelsbrunner, and Morteza Saghafian. Chromatic Alpha Complexes, 2024. arXiv:2212.03128.
- [28] Herbert Edelsbrunner and John L Harer. Computational topology: an introduction. American Mathematical Society, 2022.
- [29] Herbert Edelsbrunner, Carl-Philipp Heisenberg, Michael Kerber, and Gabriel Krens. The medusa of spatial sorting: topological construction. arXiv preprint arXiv:1207.6474, 2012. arXiv:1207.6474.
- [30] Herbert Edelsbrunner and Ernst P Mücke. Three-dimensional alpha shapes. ACM Transactions On Graphics (TOG), 13(1):43–72, 1994. doi:10.1145/174462.156635.
- [31] Herbert Edelsbrunner and Nimish R. Shah. Incremental topological flipping works for regular triangulations. Algorithmica, 15(3):223–241, 1996. doi:10.1007/BF01975867.
- [32] Kaspar Fischer, Bernd Gärtner, Thomas Herrmann, Michael Hoffmann, and Sven Schönherr. Bounding volumes. In CGAL User and Reference Manual. CGAL Editorial Board, 5.6.1 edition, 2024. URL: https://doc.cgal.org/5.6.1/Manual/packages.html#PkgBoundingVolumes.
- [33] Kaspar Fischer and Bernd Gärtner. The smallest enclosing ball of balls: Combinatorial structure and algorithms. Int. J. Comput. Geom. Appl., 14:341–378, 2004. doi:10.1142/S0218195904001500.
- [34] Kaspar Fischer, Bernd Gärtner, and Martin Kutz. Fast Smallest-Enclosing-Ball Computation in High Dimensions. In Giuseppe Di Battista and Uri Zwick, editors, Algorithms - ESA 2003, volume 2832, pages 630–641. Springer Berlin Heidelberg, 2003. doi:10.1007/978-3-540-39658-1_57.
- [35] İsmail Güzel, Elizabeth Munch, and Firas A Khasawneh. Detecting bifurcations in dynamical systems with crocker plots. Chaos: An Interdisciplinary Journal of Nonlinear Science, 32(9), 2022.
- [36] Bernd Gärtner. Fast and Robust Smallest Enclosing Balls. In Jaroslav Nešetřil, editor, Algorithms - ESA’ 99, volume 1643, pages 325–338. Springer Berlin Heidelberg, 1999. doi:10.1007/3-540-48481-7_29.
- [37] Michael Kerber. function_delaunay. https://bitbucket.org/mkerber/function_delaunay, 2025.
- [38] Michael Kerber and Herbert Edelsbrunner. 3d kinetic alpha complexes and their implementation. In 2013 Proceedings of the Fifteenth Workshop on Algorithm Engineering and Experiments (ALENEX), pages 70–77. SIAM, 2013. doi:10.1137/1.9781611972931.6.
- [39] Michael Kerber and Tung Lam. Benchmark data sets of minimal presentations of 2-parameter persistence modules, 2025. doi:10.3217/rxedk-qyq77.
- [40] Michael Kerber and Michael Lesnick. scc2020: A file format for sparse chain complexes in tda. https://bitbucket.org/mkerber/chain_complex_format/, 2021. Accessed: 2024-12-04.
- [41] Woojin Kim and Facundo Mémoli. Spatiotemporal persistent homology for dynamic metric spaces. Discrete & Computational Geometry, 66:831–875, 2021. doi:10.1007/S00454-019-00168-W.
- [42] Woojin Kim and Facundo Mémoli. Extracting persistent clusters in dynamic data via möbius inversion. Discrete & Computational Geometry, 71(4):1276–1342, 2024. doi:10.1007/S00454-023-00590-1.
- [43] Woojin Kim, Facundo Memoli, and Zane Smith. Analysis of dynamic graphs and dynamic metric spaces via zigzag persistence. In Topological Data Analysis: The Abel Symposium 2018, pages 371–389. Springer, 2020.
- [44] Michael Lesnick and Kenneth McCabe. Nerve models of subdivision bifiltrations. arXiv preprint arXiv:2406.07679, 2024.
- [45] Michael Lesnick and Matthew Wright. Interactive visualization of 2-d persistence modules. arXiv preprint arXiv:1512.00180, 2015. arXiv:1512.00180.
- [46] Baihan Lin. Topological data analysis in time series: Temporal filtration and application to single-cell genomics. Algorithms, 15(10):371, October 2022. doi:10.3390/a15100371.
- [47] Clément Maria. Filtered complexes. In GUDHI User and Reference Manual. GUDHI Editorial Board, 3.10.0 edition, 2024. URL: https://gudhi.inria.fr/doc/3.10.0/group__simplex__tree.html.
- [48] Dmitriy Morozov. Homological illusions of persistence and stability. PhD thesis, Duke University, 2008.
- [49] Elizabeth Munch. Applications of persistent homology to time varying systems. PhD thesis, Duke University, 2013.
- [50] Jose A Perea and John Harer. Sliding windows and persistence: An application of topological methods to signal analysis. Foundations of computational mathematics, 15:799–838, 2015. doi:10.1007/S10208-014-9206-Z.
- [51] Yohai Reani and Omer Bobrowski. A coupled alpha complex. Journal of Computational Geometry, 14(1):221–256, 2023. doi:10.20382/jocg.v14i1a9.
- [52] Alexander Rolle and Luis Scoccola. Stable and consistent density-based clustering via multiparameter persistence. Journal of Machine Learning Research, 25(258):1–74, 2024.
- [53] Emily Lauren Saunders. Persistent Homology of Zig-Zag Families of Filtrations. PhD thesis, Columbia University, 2025. doi:10.7916/XHZ0-VG67.
- [54] Donald R. Sheehy. A Sparse Delaunay Filtration. In Kevin Buchin and Éric Colin de Verdière, editors, 37th International Symposium on Computational Geometry (SoCG 2021), volume 189 of Leibniz International Proceedings in Informatics (LIPIcs), pages 58:1–58:16, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.SoCG.2021.58.
- [55] Kristian Strommen, Matthew Chantry, Joshua Dorrington, and Nina Otter. A topological perspective on weather regimes. Climate Dynamics, 60(5):1415–1445, 2023.
- [56] Sarah Tymochko, Elizabeth Munch, and Firas A Khasawneh. Using zigzag persistent homology to detect hopf bifurcations in dynamical systems. Algorithms, 13(11):278, 2020. doi:10.3390/A13110278.
- [57] D. F. Watson. Computing the n-dimensional Delaunay tessellation with application to Voronoi polytopes. The Computer Journal, 24(2):167–172, February 1981. doi:10.1093/comjnl/24.2.167.
- [58] Emo Welzl. Smallest enclosing disks (balls and ellipsoids). In Hermann Maurer, editor, New Results and New Trends in Computer Science, volume 555, pages 359–370, Berlin/Heidelberg, 1991. Springer-Verlag. doi:10.1007/BFb0038202.
- [59] Lu Xian, Henry Adams, Chad M Topaz, and Lori Ziegelmeier. Capturing dynamics of time-varying data via topology. Foundations of Data Science, 4(1):1–36, 2022.
