Papers
Topics
Authors
Recent
Search
2000 character limit reached

Residual Interleaving Distance

Updated 25 December 2025
  • Residual interleaving distance is a metric for merge trees that integrates global alignment with mandatory local constraints to identify fine-grained structural similarities.
  • It interpolates between unconstrained bottleneck matching and fully-specified correspondences, offering a rigorous framework for stratified, locally optimal matchings.
  • Dynamic programming techniques, enhanced from standard methods, efficiently compute this metric, making it valuable for applications like terrain evolution and hierarchical data analysis.

The residual interleaving distance is a generalization of the classical interleaving distance for merge trees, designed to capture not only global similarity but also the local fit between substructures. This metric quantifies the “slack” in an isomorphism between merge trees that respects both global alignment and imposed local constraints. By interpolating between unconstrained bottleneck matching and fully specified correspondences, the residual interleaving distance enables the detection of local similarities that the standard interleaving distance may obscure. Its formulation provides a rigorous foundation for stratified, locally optimal matchings critical for the comparative analysis of hierarchical structures in topological data analysis (Beurskens et al., 18 Dec 2025).

1. Merge Trees and Classical Interleaving Distance

A merge tree is a pair (T,f)(T, f), where TT is a finite rooted tree with unit-length edges, and f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\} is a continuous height function, strictly increasing from leaves toward the root, which is mapped to infinity. The shortest-path metric induces a natural notion of distance on TT, and the ancestor relation x⪯yx \preceq y designates that xx is a descendant of yy along an ff-monotone path.

The interleaving distance dI(T1,T2)d_I(T_1, T_2) measures similarity between two merge trees by the minimal vertical shift δ\delta for which there exist two continuous, ancestry-preserving maps TT0, TT1 such that:

  • TT2 for all TT3,
  • TT4 for TT5,
  • TT6,
  • TT7,

where TT8 denotes the ancestor of TT9 at height f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}0.

f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}1 is realized as the smallest possible f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}2 for which such maps exist, and always lies in a finite set of critical values derived from the node heights of the input trees (Beurskens et al., 18 Dec 2025).

2. Motivation and Definition of Residual Interleaving Distance

While the classical interleaving distance minimizes the largest required shift between matched points—yielding a global bottleneck measure—it can exaggerate the required deformation away from locally similar substructures. To enable finer-grained analysis, additional constraints specifying mandatory matches between certain nodes are imposed.

Given such a set of constraints, formalized as a finite partial interleaving f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}3 (where f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}4, f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}5 for f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}6, f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}7), the residual interleaving distance f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}8 is the infimum of the maximal shift needed by any complete interleaving that extends f:T→R∪{∞}f: T \to \mathbb{R} \cup \{\infty\}9. This construction interpolates between the unconstrained case (TT0) and fully specified matchings (Beurskens et al., 18 Dec 2025).

For a complete interleaving TT1 that extends TT2, the TT3-residual shift for an arrow TT4 is:

  • TT5 if TT6 is within the fan TT7 of TT8 (i.e., matches forced by ancestry),
  • TT9 otherwise.

The residual shift of x⪯yx \preceq y0 is then x⪯yx \preceq y1.

The residual interleaving distance is formally defined as:

x⪯yx \preceq y2

3. Critical Values and Existence of Optimal Extensions

Just as in the classical case, x⪯yx \preceq y3 always attains its value at a critical point derived from the node-set and constraints of the partial interleaving. The set of x⪯yx \preceq y4-critical points includes all vertices of x⪯yx \preceq y5 and x⪯yx \preceq y6 involved in x⪯yx \preceq y7, together with marked heights derived from candidate matches.

A finite set x⪯yx \preceq y8, with x⪯yx \preceq y9 and xx0 the xx1-critical node sets, together with the original xx2 and xx3 from the unconstrained measure, ensures xx4. An optimal complete interleaving that realizes this infimum always exists (Beurskens et al., 18 Dec 2025).

4. Locally Correct Interleavings

A complete interleaving xx5 is locally correct if for every restriction xx6, the residual shift xx7 coincides with the residual interleaving distance xx8. This condition guarantees that any partial matching imposed by xx9 cannot be improved without altering the rest of the correspondence, thus yielding a stratified, locally optimal match at every substructure.

A central existence theorem establishes that every pair of finite merge trees admits at least one locally correct interleaving. The constructive proof iteratively augments the set of forced matchings, always realizing residual distances at critical shifts, terminating with a complete interleaving that is locally optimal everywhere (Beurskens et al., 18 Dec 2025).

5. Properties and Theoretical Implications

Key properties of the residual interleaving distance include:

  • If yy0 is the empty set, yy1 recovers the classical interleaving distance.
  • For yy2, monotonicity yy3 holds.
  • The residual interleaving distance is always realized at a finite critical value and by some extension achieving that value.
  • Local optimality is precisely captured by the requirement that any restriction of a locally correct interleaving is itself optimally residual given its forced matching.

A plausible implication is that the residual interleaving distance enables not only summary metrics but also a stratified “shift profile” of matchings across the tree, reflecting intrinsic local correspondence patterns.

6. Algorithmic Computation of the Residual Interleaving Distance

To compute yy4, standard dynamic programming techniques, such as those of Touli–Wang, can be extended. The state space is augmented to track matched points under yy5, transitions are constrained to be consistent with the fans yy6 and a target threshold yy7, and binary search is performed over the discrete set of critical values computed above. Once an optimal extension is found, one can iterate the process—extracting bottleneck arrows, augmenting yy8, and repeating—to construct a locally correct interleaving (Beurskens et al., 18 Dec 2025).

7. Illustrative Example and Applications

An illustrative example involves two merge trees, each with three leaves at heights yy9 merging to a common root at ff0. The classical interleaving distance might align disparate leaves globally with a shift of ff1, neglecting tighter local correspondences. By incrementally fixing correspondences as constraints in ff2 and recomputing ff3, the shifts required for subtrees can be locally minimized, obtaining a matching where shifts ff4 are used as needed, rather than a uniform bottleneck value. Such a matching accurately captures local similarity structure and constitutes a locally correct interleaving.

Residual interleaving distance thus enables deeper comparative analysis of hierarchical and topological structures, with particular relevance for studying temporal sequences of terrains and other evolving topological data (Beurskens et al., 18 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

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 Residual Interleaving Distance.