Papers
Topics
Authors
Recent
Search
2000 character limit reached

Interleaving Distance: Metrics & Applications

Updated 14 July 2026
  • Interleaving distance is a metric that quantifies the minimal shift required to compare persistence modules and categorical objects.
  • It generalizes classical persistence by applying lax monoidal actions to yield Lawvere metric spaces and relates to standard metrics like the Hausdorff distance.
  • It underpins stability in topological data analysis while presenting computational challenges in multi-parameter settings and merge tree comparisons.

Searching arXiv for the foundational paper and closely related work on interleaving distance. Interleaving distance is a family of comparison distances that originated in Topological Data Analysis as a metric on persistence modules and was later generalized to functor categories, categories with a flow, sheaf-theoretic settings, merge trees, mapper graphs, and related categorical structures. In its classical form, an ε\varepsilon-interleaving compares two objects after shifting one by ε\varepsilon and requiring coherence of the resulting comparison maps; the interleaving distance is the infimum of such ε\varepsilon (Silva et al., 2017). In the framework of categories with a flow, interleaving distance is defined on arbitrary categories equipped with a lax monoidal action of ([0,),+,0)([0,\infty),+,0), and the resulting object class carries the structure of a Lawvere metric space (Silva et al., 2017). This perspective unifies classical persistence-theoretic interleavings, generalized persistence on posets, and several familiar metrics, including the Hausdorff distance and the LL^\infty-norm, as instances of interleaving distances (Silva et al., 2017).

1. Origins and classical formulation

The interleaving distance was originally defined in the field of Topological Data Analysis by Chazal et al. as a metric on the class of persistence modules parametrized over the real line (Silva et al., 2017). A persistence module is a functor

F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.

For ε0\varepsilon\ge 0, the translation functor Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le) is defined by Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon, together with the unit natural transformation ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon (Silva et al., 2017).

An ε\varepsilon0-interleaving between persistence modules ε\varepsilon1 and ε\varepsilon2 is a pair of natural transformations

ε\varepsilon3

whose composites agree with the canonical “ε\varepsilon4-step” maps (Silva et al., 2017). The interleaving distance is then

ε\varepsilon5

with the convention ε\varepsilon6 if no ε\varepsilon7-interleaving exists (Silva et al., 2017).

In the one-parameter setting, the interleaving distance is an extended pseudometric, and in standard finiteness regimes it coincides with the bottleneck distance on barcodes (Bjerkevik et al., 2018). The same basic pattern extends to modules indexed by ε\varepsilon8 with product order, where an ε\varepsilon9-interleaving is given by morphisms

ε\varepsilon0

such that

ε\varepsilon1

and

ε\varepsilon2

(Bjerkevik et al., 2018).

This classical formulation underlies “soft stability” proofs: constructions from data to persistence modules are ε\varepsilon3-Lipschitz for this distance (Silva et al., 2017). A plausible implication is that interleaving distance is best understood not merely as a metric on outputs, but as a structural device for proving non-expansiveness of entire TDA pipelines.

2. Categories with a flow and Lawvere metric structure

A major abstraction replaces translations on a poset by a flow on an arbitrary category. Let ε\varepsilon4 be viewed as a strict monoidal category. A flow on a category ε\varepsilon5 is a lax monoidal functor

ε\varepsilon6

consisting of endofunctors ε\varepsilon7, multiplication natural transformations

ε\varepsilon8

and a unit natural transformation

ε\varepsilon9

satisfying the usual lax monoidal coherence axioms (Silva et al., 2017).

Given a category with a flow ([0,),+,0)([0,\infty),+,0)0, an ([0,),+,0)([0,\infty),+,0)1-interleaving between ([0,),+,0)([0,\infty),+,0)2 is a pair of morphisms

([0,),+,0)([0,\infty),+,0)3

such that the composites

([0,),+,0)([0,\infty),+,0)4

and

([0,),+,0)([0,\infty),+,0)5

agree with the canonical maps ([0,),+,0)([0,\infty),+,0)6 and ([0,),+,0)([0,\infty),+,0)7, where

([0,),+,0)([0,\infty),+,0)8

(Silva et al., 2017).

The resulting interleaving distance

([0,),+,0)([0,\infty),+,0)9

satisfies reflexivity, symmetry, and the triangle inequality (Silva et al., 2017). Thus LL^\infty0 is a symmetric extended pseudometric; equivalently, if one ignores symmetry, it is a Lawvere metric space (Silva et al., 2017).

The same paper proves a functoriality statement: the construction

LL^\infty1

is functorial from the metacategory of flows and colax equivariant functors to the metacategory of Lawvere metric spaces and LL^\infty2-Lipschitz maps (Silva et al., 2017). Later work further generalizes this perspective using monoidal actions and LL^\infty3-categories, defining three increasingly general interleaving distances and proving that the resulting infima define extended pseudometrics (McFaddin et al., 2023).

3. Generalizations beyond classical persistence

Bubenik et al. extended the definition from LL^\infty4-indexed persistence modules to categories of functors on a poset, whose objects may be regarded as generalized persistence modules (Silva et al., 2017). For a poset LL^\infty5 and category LL^\infty6, generalized persistence modules are functors LL^\infty7. A chosen “superlinear family of translations” LL^\infty8 yields an interleaving distance on LL^\infty9 (Silva et al., 2017). In the flow formalism, a superlinear family of translations on a poset is precisely a flow F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.0 on F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.1, and the induced flow on F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.2 is given by precomposition F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.3 (Silva et al., 2017).

This subsumes many TDA settings, including merge trees and Reeb graphs, beyond the original F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.4 (Silva et al., 2017). For strict flows on F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.5, the categorical-flow interleaving distance agrees with the generalized interleaving distance of Bubenik–Scott–de Silva–Wagner; for lax flows, the flow-based distance is no larger:

F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.6

(Silva et al., 2017).

A separate line of work addresses posets that do not admit interesting translations. The relative theory of interleavings defines shifts on a poset F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.7 relative to a map F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.8, where F:(R,)Vectk.F:(\mathbb{R},\le)\to \mathrm{Vect}_k.9 carries a superlinear family of translations (Botnan et al., 2020). Using Kan extensions, the relative ε0\varepsilon\ge 00-shift is

ε0\varepsilon\ge 01

and the relative weak interleaving distance satisfies the extend–restrict isometry

ε0\varepsilon\ge 02

(Botnan et al., 2020). This framework applies to zig-zag posets, face relation posets of cell complexes, down-set lattices, and grid structures for cosheaves over Euclidean space (Botnan et al., 2020).

A more recent generalization replaces translation structures by a height-difference function ε0\varepsilon\ge 03 on an arbitrary poset. Given ε0\varepsilon\ge 04, one defines ε0\varepsilon\ge 05-latching and ε0\varepsilon\ge 06-matching endofunctors

ε0\varepsilon\ge 07

with adjunction ε0\varepsilon\ge 08, and then defines the height-interleaving distance ε0\varepsilon\ge 09 (Aoki, 14 Mar 2026). When Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)0 and Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)1, this recovers the classical multiparameter interleaving distance (Aoki, 14 Mar 2026). However, in general Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)2 need not satisfy the triangle inequality; under the connected intersections property and with additive defect Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)3, one has

Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)4

(Aoki, 14 Mar 2026). This suggests that the classical translation-based theory is a particularly rigid case of a broader interleaving-type paradigm.

4. Realizations as classical metrics and stability mechanisms

One of the most consequential observations in the flow framework is that several standard metrics arise as interleaving distances. If Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)5 is a metric space and Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)6 denotes the poset of nonempty subsets ordered by inclusion, the flow

Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)7

induces an interleaving distance equal to the Hausdorff distance:

Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)8

(Silva et al., 2017).

Likewise, if Tε:(R,)(R,)T_\varepsilon:(\mathbb{R},\le)\to(\mathbb{R},\le)9 is viewed as the poset Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon0 with coordinatewise order and one defines the strict flow Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon1, then

Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon2

(Silva et al., 2017).

For functions, one may work in the slice category Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon3. The flow

Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon4

recovers the Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon5 distance on functions up to homeomorphism:

Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon6

(Silva et al., 2017). The same construction extends to Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon7 for any metric space Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon8 using graph thickening (Silva et al., 2017).

These identifications clarify why interleavings are so effective in stability theory. If Tε(t)=t+εT_\varepsilon(t)=t+\varepsilon9 is colax ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon0-equivariant, with natural transformations

ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon1

then ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon2 is ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon3-Lipschitz:

ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon4

(Silva et al., 2017). This yields concise “soft stability” proofs by verifying colax equivariance of each pipeline component (Silva et al., 2017). Later formulations in weighted ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon5-categories prove analogous stability theorems for Lipschitz ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon6-functors (McFaddin et al., 2023).

In sheaf theory, the interleaving/convolution pseudo-distance is defined using kernels ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon7 and thickening functors

ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon8

on ηε:IdTε\eta_\varepsilon:\mathrm{Id}\Rightarrow T_\varepsilon9 (Petit et al., 2021). Under good geometric hypotheses and constructibility assumptions, distance zero implies isomorphism: if ε\varepsilon00 and ε\varepsilon01, then ε\varepsilon02 (Petit et al., 2021). This answers, in that setting, the separation question for the sheaf-theoretic interleaving distance (Petit et al., 2021).

5. Merge trees, ordered variants, and geometric reinterpretations

Merge trees constitute one of the most extensively studied non-linear settings for interleaving distance. A merge tree is a pair ε\varepsilon03, where ε\varepsilon04 is a rooted tree and ε\varepsilon05 is a continuous height function strictly increasing toward the root, with ε\varepsilon06 (Beurskens et al., 2023). For merge trees ε\varepsilon07 and ε\varepsilon08, a pair of maps ε\varepsilon09 and ε\varepsilon10 is a ε\varepsilon11-interleaving if for all ε\varepsilon12 and ε\varepsilon13,

ε\varepsilon14

ε\varepsilon15

(Beurskens et al., 2023). The induced distance is

ε\varepsilon16

(Beurskens et al., 2023).

Equivalent formulations are available through ε\varepsilon17-good maps and label-based constructions. For labelled merge trees ε\varepsilon18, the induced matrix

ε\varepsilon19

yields a label distance

ε\varepsilon20

and one has

ε\varepsilon21

(Beurskens et al., 2023). The intrinsic property of interleaving distance on spaces of labelled and unlabelled merge trees was established later: in the labelled setting, geodesics arise by linear interpolation of cophenetic matrices, and the distance is strictly intrinsic; in the unlabelled setting, interleaving distance is intrinsic as well (Gasparovic et al., 2019).

Ordered merge trees strengthen the model by equipping each level set with a consistent total order (Beurskens et al., 2023). The monotone interleaving distance ε\varepsilon22 requires interleaving maps to be order-preserving, and satisfies

ε\varepsilon23

(Beurskens et al., 2023). The paper "Relating Interleaving and Fréchet Distances via Ordered Merge Trees" shows that for ordered merge trees, if ε\varepsilon24 and ε\varepsilon25 are the induced ε\varepsilon26D curves obtained from in-order traversals, then

ε\varepsilon27

(Beurskens et al., 2023). As a consequence, the monotone interleaving distance can be computed exactly in near-quadratic time in the complexity of the trees (Beurskens et al., 2023). By contrast, the classical interleaving distance for merge trees is NP-hard to compute (Beurskens et al., 2023).

Recent work extends merge-tree interleaving in two directions. One line defines average merge trees: if ε\varepsilon28, a constructed representative average merge tree ε\varepsilon29 satisfies

ε\varepsilon30

(Touli et al., 28 Feb 2026). Another line develops heuristic polynomial-time algorithms for labelled and partially labelled merge trees, using leaf-based assignments and induced matrices to approximate interleaving distance in difficult regimes (Touli et al., 19 Sep 2025). Exact computation remains NP-hard, but improved fixed-parameter algorithms based on ε\varepsilon31-good maps and path-preserving maps yield substantially better parameter dependence than earlier approaches (P et al., 12 Feb 2026).

6. Computation, hardness, and approximation

The computational status of interleaving distance is sharply stratified. In one parameter, interleaving distance is computable in polynomial time because it coincides with bottleneck distance on barcodes (Bjerkevik et al., 2018). In multiple parameters, computing the interleaving distance is NP-hard (Bjerkevik et al., 2018). More precisely, deciding whether two bigraded persistence modules are ε\varepsilon32-interleaved is NP-complete, already for bigraded, interval-decomposable modules, and approximation within any factor smaller than ε\varepsilon33 is NP-hard (Bjerkevik et al., 2018).

The underlying reduction uses constrained matrix invertibility: given zero patterns ε\varepsilon34, one constructs bigraded modules ε\varepsilon35 such that

ε\varepsilon36

ε\varepsilon37

(Bjerkevik et al., 2018). The same hardness persists for indecomposable modules and for one-sided stability problems such as deciding existence of injections or surjections between persistence modules (Bjerkevik et al., 2018). Earlier work had already shown CI-hardness for ε\varepsilon38-indexed vector-space-valued modules and GI-completeness for isomorphism of ε\varepsilon39-indexed set-valued modules, including Reeb-graph isomorphism (Bjerkevik et al., 2017).

For merge trees, the classical interleaving distance is NP-hard (Beurskens et al., 2023). For mapper graphs, the interleaving distance arising from discretizations of graph-with-function data is also NP-hard to compute (Chambers et al., 4 Apr 2025, Chambers et al., 2023). Recent work therefore emphasizes computable upper bounds rather than exact values. A general loss-function framework on concrete categories defines “assignments” that need not commute and measures their failure via a loss ε\varepsilon40. For a ε\varepsilon41-assignment, one obtains the upper bound

ε\varepsilon42

(Olave et al., 13 Jan 2026). In finite and vector-space-valued settings, the loss is computable in polynomial time, including for certain ε\varepsilon43-parameter persistence modules (Olave et al., 13 Jan 2026).

For mapper graphs specifically, the analogous loss on basis assignments gives

ε\varepsilon44

and the loss can be optimized as an integer linear program (Chambers et al., 4 Apr 2025). On small examples where the true interleaving distance is known, the optimized upper bound matches the interleaving distance (Chambers et al., 4 Apr 2025). This suggests that, in some structured settings, exact computation may be effectively replaced by optimization over assignment spaces, even though the general decision problem remains intractable.

A recurring misconception is that barcode-style combinatorial summaries should suffice for all interleaving computations. The multi-parameter hardness results, the dependence on field characteristic for interval-decomposable modules, and the divergence between interleaving and bottleneck-type distances in higher-dimensional settings all indicate otherwise (Bjerkevik et al., 2018, Bjerkevik et al., 2017). A plausible implication is that interleaving distance should be regarded less as a uniformly computable invariant and more as a structurally canonical metric whose exact algorithmics depend heavily on the indexing category and the chosen representation class.

7. Broader interpretations and current directions

Interleaving distance has gradually shifted from a persistence-specific construction to a general mechanism for comparing functorial objects under controlled transformations. One categorical route interprets interleavings of functors with common codomain as solutions to an extension problem, leading to categorical analogues of Hausdorff distance and Gromov–Hausdorff distance (Bubenik et al., 2017). In that framework, the interleaving distance between functors is defined by minimizing Hausdorff distance over weighted pairwise embeddings that admit a common extension (Bubenik et al., 2017). This recovers shift equivalence of discrete dynamical systems as a particular interleaving notion (Bubenik et al., 2017).

Another route uses monoidal actions and ε\varepsilon45-categories. For a strict monoidal functor

ε\varepsilon46

with monoidal weight ε\varepsilon47, the actegory interleaving distance

ε\varepsilon48

defines an extended pseudometric (McFaddin et al., 2023). The resulting theory recovers classical categories-with-a-flow, locally persistent categories, and generalized persistence modules, while connecting interleavings to group-action distances from statistical shape analysis and diffeomorphism-invariant constructions (McFaddin et al., 2023).

A further recent development reformulates the interleaving distance itself as an edit distance on finitely presented single- and multi-parameter persistence modules. Using graded free presentations, Galois connections, and a path metric built from poset morphisms with adjoints, one proves

ε\varepsilon49

for suitable edit categories ε\varepsilon50 (Kim et al., 29 Sep 2025). This recasts interleavings as controlled edits of generators and relations and suggests new routes for proving stability of multiparameter invariants (Kim et al., 29 Sep 2025).

Across these variants, several themes recur. Interleaving distances quantify approximate equivalence after a prescribed family of shifts, thickenings, or actions; they tend to induce extended pseudometrics or Lawvere metrics; and stability is usually obtained by functoriality or equivariance rather than by direct estimation. At the same time, separation, triangle inequalities, and algorithmic tractability become subtle outside the classical one-parameter setting. The sheaf-theoretic separation theorem (Petit et al., 2021), the relaxed triangle inequalities for height-interleavings (Aoki, 14 Mar 2026), and the widespread NP-hardness phenomena (Bjerkevik et al., 2018, Bjerkevik et al., 2017) show that “interleaving distance” is not a single metric formula but a broad family of categorical constructions whose exact properties depend on the ambient indexing and action structure.

In that sense, the modern theory of interleaving distance is both unifying and diagnostic. It unifies persistent homology, merge trees, mapper graphs, sheaves, and acted-on categories within a common language of controlled comparison; and it diagnoses which aspects of those objects are stable, computable, or intrinsically resistant to simplification.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Interleaving Distance.