The fibered barcode $\mathcal{F}(M)$ of a bipersistence module $M$ is the map sending each non-negatively sloped affine line $\ell \subset \mathbb{R}^2$ to the barcode of the restriction of $M$ along $\ell$. The simplicity, computability, and stability of $\mathcal{F}(M)$ make it a natural choice of invariant for data analysis applications. In an earlier preprint [arXiv:1512.00180], we introduced a framework for real-time interactive visualization of $\mathcal{F}(M)$, which allows the user to select a single line $\ell$ via a GUI and then plots the associated barcode. This visualization is a key feature of our software RIVET for the visualization and analysis of bipersistent homology. Such interactive visualization requires a framework for efficient queries of $\mathcal{F}(M)$, i.e., for quickly obtaining the barcode along a given line $\ell$. To enable such queries, we introduced a novel data structure based on planar line arrangements, called an augmented arrangement. The aim of the present paper is to give an updated and improved exposition of the parts of our preprint [arXiv:1512.00180] concerning the mathematics of the augmented arrangement and its computation. Notably, by taking the input to be a minimal presentation rather than a chain complex, we are able to substantially simplify our main algorithm and its complexity analysis.
- Paper ID: 2511.05837
- Title: Fast Queries of Fibered Barcodes
- Authors: Michael Lesnick (University at Albany), Matthew Wright (St. Olaf College)
- Classification: math.AT (Algebraic Topology), cs.CG (Computational Geometry)
- Submission Date: Submitted to arXiv on November 8, 2025
- Paper Link: https://arxiv.org/abs/2511.05837
This paper investigates the efficient query problem for fibered barcodes in bipersistent homology. The fibered barcode F(M) maps each affine line ℓ⊂R2 with non-negative slope to the barcode of the bimodule M restricted along ℓ. The authors improve upon their earlier work (arXiv:1512.00180) by proposing an augmented arrangement data structure based on planar line arrangements for real-time interactive visualization of fibered barcodes. By changing the input from chain complexes to minimal presentations, the paper significantly simplifies the algorithm and its complexity analysis.
Persistent homology in topological data analysis (TDA) is a core tool for studying data shape. For many data types (such as noisy point clouds), single-parameter persistent homology is insufficient to encode data structure, necessitating multiparameter persistent homology. However, defining barcodes in the multiparameter setting faces algebraic obstacles, presenting major challenges to both theoretical and practical development.
- Visualization Challenge: Visualization of multiparameter persistent homology is more difficult than the single-parameter case
- Practical Demand: Interactive visualization requires the ability to quickly query barcodes on a given line ℓ
- Computational Efficiency: Computing barcodes for each line from scratch is computationally expensive; efficient data structures are needed to support queries
- Early methods computed augmented arrangements directly from chain complexes, with poor memory efficiency
- Classical Gröbner basis algorithms lack sufficient efficiency
- Absence of a fast query framework optimized for the biparameter case
- The authors' RIVET software requires real-time interactive visualization support
- The introduction of minimal presentations (in subsequent work) enables algorithm simplification
- Need for a more concise and optimized theoretical exposition
- Simplified Augmented Arrangement Algorithm: By using minimal presentations as input, the paper significantly simplifies the computation algorithm for augmented arrangements and its complexity analysis
- Efficient Query Framework: Proposes a data structure based on planar line arrangements supporting logarithmic-time point location queries and linear-time barcode generation
- Complexity Bounds (Main Theorems):
- Theorem 1.2: Augmented arrangement size is O(mκ2), computable in O(m3κ+κ2(m+logκ)) time and O(m2+mκ2) space
- Theorem 1.3: Query time is O(logκ+∣B(Mℓ)∣)
where m is the total number of rows and columns in the minimal presentation, and κ is the number of unique coordinate values in the support of Betti numbers - Theoretical Refinement: Provides a more refined and complete mathematical exposition compared to the original preprint (arXiv:1512.00180)
- Practical Value: The framework has been implemented in RIVET software, supporting real-time interactive visualization
Input: Minimal presentation η:F→F′ of a bimodule M (matrix with R2-valued labels)
Output: Augmented arrangement A∙(M) supporting fast queries of barcode B(Mℓ) for any non-negative slope line ℓ
Constraints:
- M is a finitely presented bimodule
- Queries require logarithmic point location time + linear barcode generation time
For a bimodule M:R2→Vec, the fibered barcode is defined as:
F(M):ℓ↦B(Mℓ)
where Mℓ is the restriction of M along line ℓ, and B(Mℓ) is its barcode (multiset of intervals).
Key Properties:
- Equivalent to rank invariant
- Satisfies internal and external stability
- Computable and simple
For incomparable point pairs s,t∈S (where S is the union of Betti number supports), the anchor is defined as:
α=s∨t=(max(s1,t1),max(s2,t2))
Anchors are dual points of the line arrangement in the augmented arrangement.
The augmented arrangement A∙(M) consists of three parts:
In the right half-plane H=[0,∞)×R, the cellular decomposition induced by dual lines of all anchors:
A(M)={α∗∣α is an anchor}
Using standard point-line duality:
- Point (q,r)∈R2 dualizes to line y=qx−r
- Line y=qx+r dualizes to point (q,−r)
For each face Δ of A(M):
Template Point Set PΔ: Defined by a total order partition SΔ={S1Δ,…,SkΔ}, where:
PiΔ=⋁(⋃j≤iSjΔ)
Barcode Template BΔ: The barcode of restricted module MΔ, where MΔ is M restricted to PΔ.
Key Theorem 3.6: If ℓ∗,ℓ′∗ lie in the same face, then Sℓ=Sℓ′ (same total order partition).
Standard logarithmic-time point location query structure (e.g., Kirkpatrick structure), with size O(κ2) and query time O(logκ).
For line ℓ∈L[0,∞], define the push map:
pushℓ:R2→ℓ∪{∞}pushℓ(a)=min{b∈ℓ∣a≤b}
Properties:
- Preserves partial order: a≤b⇒pushℓ(a)≤pushℓ(b)
- For pushℓ(a)=c∈ℓ, either a1=c1 or a2=c2
- Continuity (Lemma 3.5)
Input: Line ℓ∈L[0,∞]
Steps:
- Point Location: Find face Δ containing ℓ∗ (or select appropriate adjacent face)
- Time: O(logκ)
- Barcode Generation: For each (a,b)∈BΔ:
- Compute pushℓ(a) and pushℓ(b)
- If pushℓ(a)<pushℓ(b), output interval [pushℓ(a),pushℓ(b))
- Time: O(1) per interval, total O(∣BΔ∣)
Correctness Theorem 4.2:
B(Mℓ)={[pushℓ(a),pushℓ(b))∣[a,b)∈BΔ,pushℓ(a)<pushℓ(b)}
- Compute Anchors: Traverse minimal grid, O(κ) time
- Build Line Arrangement: Use Bentley-Ottmann algorithm, O(κ2logκ) time
- Build Point Location Structure: O(κ2logκ) time
Strategy: Update from one face's RU decomposition to adjacent faces via dual graph G traversal
Initialization (face Δ0, topmost face):
- Compute PΔ0 and liftΔ0: O(mlogm) time
- Compute RU decomposition of induced presentation QΔ0: O(m3) time
Traversal Update (from Δ to adjacent face Δ^):
Three cases (determined by anchor α on shared boundary):
- Generic Case: α=s∨t, s,t incomparable
- Requires permuting matrix row/column blocks
- Use vineyard update for RU decomposition
- Merge Case: SjΔ={α}
- Sj−1Δ and SjΔ merge into Sj−1Δ^
- RU decomposition requires no update
- Split Case: Sj+1Δ^={α}
- SjΔ splits into SjΔ^ and Sj+1Δ^
- RU decomposition requires no update
RU Decomposition Update (Generic Case):
- Identify row/column blocks requiring permutation
- Use vineyard update: decompose into adjacent transpositions
- Each transposition update: O(m) time
Lemma 5.3 provides exact update formulas for template points and lift maps.
- Minimal Presentation Input:
- Typically much smaller than chain complexes
- Avoids memory bottleneck of Schreyer algorithm
- Simplifies algorithm logic
- Augmented Arrangement Design:
- Exploits geometric meaning of anchors
- Theorem 3.6 guarantees consistency within faces
- Push map provides elegant query mechanism
- Efficient Update Strategy:
- Exploits structural similarity of adjacent faces
- Case-by-case treatment of three scenarios
- Application of vineyard updates
- Complexity Optimization:
- Point location: O(logκ)
- Barcode generation: Linear in output size
- Overall near-optimal
This is a theory/algorithm paper primarily focused on mathematical proofs and complexity analysis, without traditional experimental evaluation. However, the paper mentions:
- RIVET Software: Biparameter persistent homology visualization software developed by the authors
- Implements the augmented arrangement framework
- Supports real-time interactive queries
- Publicly released: https://github.com/rivetTDA/rivet/
The paper states (page 3):
"On typical input, queries of our data structure in RIVET are fast enough to enable smooth animations of the changing barcode as the query line ℓ is varied by the user."
This indicates practical performance meets real-time interactive requirements.
Authors report experimental results in other papers:
- 80 (Lesnick & Wright 2022): Minimal presentation computation faster and more scalable than standard computer algebra software
- RIVET has been used in multiple practical applications (pages 8-9 list examples)
Given the paper's nature, here we summarize theoretical results and practical impact:
Augmented arrangement size: O(mκ2)
Analysis:
- Line arrangement: O(κ2) cells
- Per-face storage: O(m)-sized barcode template
- Worst case: κ=O(m2), total size O(m5)
- Time: O(m3κ+κ2(m+logκ))
- Space: O(m2+mκ2)
Component Breakdown (Table 1):
| Step | Time | Space |
|---|
| Anchor Computation | O(κ) | O(κ) |
| Line Arrangement | O(κ2logκ) | O(κ2) |
| Barcode Templates | O(m3κ+κ2(m+logκ)) | O(m2+mκ2) |
Bottleneck: Barcode template computation, primarily RU decomposition updates (O(m3κ))
- Generic Case: O(logκ+∣B(Mℓ)∣)
- Degenerate Case: O(logκ+∣B(Mℓ′)∣), where ℓ′ is small perturbation of ℓ
Near-Optimal:
- Point location: Logarithmic time (optimal)
- Barcode generation: Linear in output size (optimal)
- High-Dimensional Data Analysis: Wikipedia article analysis 105
- Computational Chemistry: Virtual screening problems 96
- Molecular Generation Models: Structure analysis 96
- Immuno-Oncology: Spatial transcriptomics 8, 103
- Matching Distance Computation: First polynomial-time exact algorithm 11, 68
- Projected Barcodes: γ-linear projected barcode queries 61
- Multiparameter Persistent Landscapes: MPL vectorization 102
- Multipers Software: Integrated RIVET functionality 83
Compared to original method (computing from chain complexes):
- Memory Efficiency: Minimal presentations typically far smaller than chain complexes
- Computation Speed: Authors report significant acceleration in 80
- Algorithm Simplification: Avoids complexity of Schreyer algorithm
- Carlsson et al. (2009) 26: Gröbner basis algorithms applied to multiparameter filtrations
- Cerri et al. (2011) 9: Approximate matching distance for fibered barcodes
- Chacholski et al. (2014) 32: Free persistent module chain complex representations
- Lesnick & Wright (2022) 80:
- Cubic time, quadratic space algorithm
- Faster and more scalable than standard software
- Kerber & Rolle 63, 69: Optimized versions with better practical performance
- Bauer et al. 6: Cohomology methods for function-Rips bifiltered complexes
- Morozov & Scoccola 87: Near-linear time algorithm for 0-dimensional homology
- Matching Distance: Exact polynomial-time algorithms 11, 68
- Projected Barcodes: γ-linear projections 61
- Persistent Sheaves: Piecewise-linear families by Hickok 66
- Persistable Software 97: Uses RIVET visualization ideas
Two main approaches:
- Möbius Inversion 19, 71: Following Patel's ideas
- Relative Homological Algebra 12, 20, 88: Following Botnan et al.'s ideas
Advantages:
- Complete rank invariant visualization in single 2D diagram
- Hook signed barcodes are Lipschitz stable 20, 88
Limitations:
- Size, computability, and instability issues in certain constructions 20, 70
- Difficult interpretation in simple examples
For 0-dimensional persistence in function-Rips bifiltered complexes 23, determines rank invariant.
Finite-dimensional multiparameter persistent modules have unique indecomposable decomposition.
Recent Algorithms:
- Optimized for TDA inputs 54, 56
- Can accelerate augmented arrangement computation 54
Note: Decomposition is unstable 7; Bjerkevik proposed systematic treatment 10
Methods for constructing bifiltrations from data:
- Density-Sensitive Bifiltrations: Point clouds and metric data 1, 14, 15, 21, 46, 59, 60, 65, 77, 78, 79, 99
- Morphological Filtrations: Image analysis 40, 41
- Time Series: Topological representation of dynamic objects 37, 48
- Successful Algorithm Simplification: Using minimal presentations as input significantly simplifies augmented arrangement computation
- Efficient Query Implementation: Query time O(logκ+∣B(Mℓ)∣) is near-optimal
- Practical Verification: RIVET implementation supports real-time interactive visualization
- Theoretical Contribution: Provides more refined mathematical exposition than original work
- Size: O(m5) (when κ=O(m2))
- Computation Time: O(m5)
Mitigation Strategies (Remark 1.4):
- Align generator and relation ranks to grid
- Obtain δ-approximation: dm(F(M),F(M′))≤δ
- Make κ a small constant
- Method specific to R2
- Higher dimensions require different approaches
- Fibered barcodes themselves are stable
- Augmented arrangement not directly determined by F(M) (Remark 3.11)
- Vineyard updates may not be optimal
- Global updates or other strategies might be better (Remark 5.5)
Remark 3.11 suggests:
"We expect that by defining the set of anchors differently, one can obtain a variant of A∙(M) which depends only on F(M)."
- Empirical comparison of different update schemes
- Global update vs. vineyard update vs. non-adjacent transpositions
- Query frameworks for three or more parameters
- May require completely different data structures
- More practical data analysis applications
- Integration with machine learning methods
- Mathematical Rigor: All theorems have complete proofs
- Clear Complexity Analysis: Detailed breakdown of each step's cost
- Key Lemmas: Theorem 3.6 (face consistency) is the framework's foundation
- Augmented Arrangement Structure: Clever use of point-line duality and anchor concepts
- Push Map: Provides geometrically intuitive and efficient query mechanism
- Update Strategy: Fully exploits structural similarity of adjacent faces
- RIVET Software: Used in multiple practical applications
- Real-Time Interaction: Query speed meets visualization requirements
- Open Source: Code publicly available and reproducible
- Logical Structure: Clear hierarchy from background to algorithm to complexity analysis
- Consistent Notation: Mathematical symbols used consistently
- Rich Illustrations: Multiple figures aid understanding (e.g., Figures 4-10)
- Simplifies algorithm compared to original work 79
- Leverages minimal presentation advantages
- Better memory efficiency
- No Performance Comparison: No empirical comparison with original method
- No Scale Testing: No runtime reports for different data sizes
- No Case Studies: No concrete application examples shown
While this is a theory paper, some experimental data would strengthen the argument.
- O(m5) size and time are theoretically high
- While grid approximation strategy provided, practical effectiveness unknown
- Limited to Biparameter: Cannot directly extend to higher dimensions
- Depends on Minimal Presentation: Requires computing minimal presentation first (itself non-trivial)
- Instability Issue: Augmented arrangement not completely determined by F(M)
- Low-Level Optimization: Section 5.4 provides few data structure details
- Engineering Tricks: References 79's engineering tricks but doesn't elaborate
- Parameter Selection: Doesn't discuss practical parameter choices
- No in-depth comparison with signed barcode methods
- Doesn't discuss relationship with decomposition methods
- Related work section is lengthy but lacks critical analysis
- High Citation Value: Provides foundational tools for multiparameter persistent homology
- Abundant Follow-Up Work: Used for matching distance computation, projected barcodes, etc.
- Theoretical Significance: Advances algorithmic research in multiparameter TDA
- RIVET Users: Multiple practical application cases
- Software Ecosystem: Influenced Persistable, Multipers, and other software
- Visualization Standard: Interactive queries become reference method for multiparameter visualization
- Open Source Code: https://github.com/rivetTDA/rivet/
- Detailed Algorithm: Paper provides sufficient implementation details
- Mathematical Rigor: All results have proofs
- Biparameter restriction reduces generality
- Worst-case complexity may limit very large-scale applications
- Biparameter Data Analysis: Point clouds, images, time series, etc.
- Interactive Exploration: Applications requiring real-time visualization
- Medium-Scale Data: Cases where m,κ are not too large
- Multiple Queries: Preprocessing cost amortizable across queries
- Computational Topology: TDA research and teaching
- Data Science: Topological feature extraction from high-dimensional data
- Computational Biology: Protein structure, spatial transcriptomics
- Materials Science: Multiparameter material property analysis
- Three or Higher Parameters: Method doesn't directly apply
- Ultra-Large-Scale Data: O(m5) complexity potentially prohibitive
- Single Query: Preprocessing cost cannot be amortized
- Complete Decomposition Needed: Fibered barcodes don't provide complete decomposition information
- 79 Lesnick & Wright (2015): Original preprint, first proposes augmented arrangement
- 80 Lesnick & Wright (2022): Minimal presentation computation algorithm
- 28 Carlsson & Zomorodian (2009): Theoretical foundations of multiparameter persistent homology
- 30 Cerri et al. (2013): Definition and properties of fibered barcodes
- 44 Cohen-Steiner et al. (2006): Vineyard update algorithm
- 11, 68 Bjerkevik & Kerber et al.: Exact matching distance computation
- 17 Botnan & Crawley-Boevey (2020): Decomposition theorem
- 52 de Berg et al. (2008): Computational geometry foundations (Bentley-Ottmann algorithm)
This is a high-quality theory/algorithm paper making important contributions to multiparameter topological data analysis. Through clever data structure design and algorithmic optimization, it achieves efficient querying of biparameter persistent homology fibered barcodes. While lacking experimental evaluation and limited to the biparameter case, its theoretical rigor, practical value, and existing software implementation make it an important work in the field. For scholars engaged in TDA research and applications, this is an essential reference.