Papers
Topics
Authors
Recent
Search
2000 character limit reached

Forest-Representable Matrices

Updated 9 July 2026
  • Forest-representable matrices are defined by block structures that follow forest (or tree) topologies, enabling sparse or structured inverses and efficient low-rank factorizations.
  • They support fast algebraic operations like matrix-vector products and inversions by leveraging tree quasi-separable constructions and nested bases.
  • Applications span numerical linear algebra and combinatorial matrix theory, generalizing formats like SSS and HSS while also connecting to Laplacian and total positivity formulations.

Forest-representable matrices are matrices whose structure is governed by a forest. In the rank-structured formulation introduced for tree quasi-separable matrices, a matrix A∈Rn×nA \in \mathbb{R}^{n\times n} is forest-representable if there exists a block partition of its rows and columns indexed by the vertices of a forest F=⨆cTcF=\bigsqcup_c T_c such that either AA has block-sparsity consistent with FF, or A−1A^{-1} has block-sparsity consistent with FF; when the forest has multiple components, a permutation puts AA into block-diagonal form, one block per tree component (Govindarajan et al., 2024). In other settings, closely related terminology is used for matrices whose entries enumerate forests, matrices derived from spanning rooted forests, adjacency-based encodings that classify forests, and lower-triangular matrices that encode ranked tree shapes (Chebotarev et al., 2013, Traldi, 2020, Jennings-Shaffer et al., 30 Oct 2025). This suggests that the term does not denote a single universal matrix class, but rather a family of matrix constructions in which forest topology is the organizing constraint.

1. Forest topology as a matrix constraint

Let F=(V,E)F=(V,E) be an undirected acyclic graph, possibly disconnected, with connected components Tc=(Vc,Ec)T_c=(V_c,E_c), and let each vertex v∈Vv\in V carry an index set F=⨆cTcF=\bigsqcup_c T_c0. In the numerical linear-algebraic sense, forest-representability means that F=⨆cTcF=\bigsqcup_c T_c1 is viewed as a graph-partitioned block matrix F=⨆cTcF=\bigsqcup_c T_c2, and either F=⨆cTcF=\bigsqcup_c T_c3 unless F=⨆cTcF=\bigsqcup_c T_c4 or F=⨆cTcF=\bigsqcup_c T_c5, or the same sparsity statement holds for F=⨆cTcF=\bigsqcup_c T_c6 instead of F=⨆cTcF=\bigsqcup_c T_c7 (Govindarajan et al., 2024).

The disconnected case is not merely formal. If F=⨆cTcF=\bigsqcup_c T_c8 has several components, the permutation bringing F=⨆cTcF=\bigsqcup_c T_c9 to forest form yields a block-diagonal matrix with blocks indexed by the connected components AA0. Each block can then be represented and operated on independently, so a forest-representable matrix is a direct sum of tree quasi-separable blocks, one per tree component (Govindarajan et al., 2024).

A closely related situation arises for sparse matrices whose adjacency graph is itself a tree. Such a sparse matrix AA1 is sparse, whereas AA2 is typically dense; nevertheless, AA3 satisfies the graph-induced rank structure and admits an exact tree quasi-separable form with generator sizes equal to the ranks of unit Hankel blocks (Govindarajan et al., 2024). In this sense, forest-representability includes both explicit forest sparsity and forest-shaped inverse sparsity.

2. Tree quasi-separable realization

For a rooted tree AA4 with root AA5 and a partition AA6 of AA7, a tree quasi-separable (TQS) matrix is defined by local generators attached to vertices and edges. These include the explicit diagonal blocks AA8, input-to-edge maps AA9 and FF0, edge-to-edge transfers FF1, FF2, FF3, and edge-to-output maps FF4 and FF5 (Govindarajan et al., 2024).

For FF6, the off-diagonal block is obtained by multiplying operators along the unique path FF7: FF8 This path factorization implies that off-diagonal blocks between disjoint subtrees are low-rank and can be written in the canonical form

FF9

where A−1A^{-1}0 and A−1A^{-1}1 are bases assembled from local generators and A−1A^{-1}2 collects the couplings transmitted along the path and sibling transfers (Govindarajan et al., 2024).

An important structural feature is nestedness. Internal-node bases are formed from child bases through small transfer matrices: A−1A^{-1}3 Diagonal and near-diagonal blocks remain explicit through the A−1A^{-1}4, while compressed representation is reserved for off-diagonal interactions connecting disjoint subtrees across the tree topology (Govindarajan et al., 2024).

3. Hankel-rank characterization and specialization to SSS and HSS

The decisive structural invariant in the TQS theory is the rank of tree-induced Hankel blocks. For an edge A−1A^{-1}5, one defines a unit Hankel subset by

A−1A^{-1}6

where A−1A^{-1}7 denotes the descendants of A−1A^{-1}8, including A−1A^{-1}9 itself, and the associated Hankel block is FF0 (Govindarajan et al., 2024).

The key theorem states that if FF1 is a graph-partitioned matrix on a tree, then FF2 admits a TQS representation whose rank profile satisfies

FF3

and this realization is minimal: any other TQS realization on the same tree has edge ranks FF4 for all FF5 (Govindarajan et al., 2024). The intuition is that each unit Hankel block measures the minimal state dimension needed to transmit interactions across the corresponding cut; any smaller edge state would force a lower-rank factorization of FF6, which is impossible.

This theorem simultaneously recovers the two classical semi-separable formats. When the tree is a path graph, rooted at the last node, the TQS operators reduce to the classical sequentially semi-separable representation; the relevant Hankel blocks coincide with the classical SSS off-diagonal Hankel blocks, and their ranks determine the generator sizes (Govindarajan et al., 2024). When the tree is a post-ordered binary partition tree with internal nodes taken to be empty, the TQS form becomes hierarchically semi-separable, with sibling interactions compressed level by level and nested bases propagated across levels (Govindarajan et al., 2024).

A common misconception is that forest-representability in this setting is merely a notational reformulation of SSS or HSS. The TQS construction is instead a simultaneous generalization: the path graph yields SSS, the hierarchical binary tree yields HSS, and general trees interpolate between these two extremes (Govindarajan et al., 2024).

4. Algebraic operations, conversion algorithms, and efficiency regime

The TQS class is closed under addition, multiplication, and inversion, provided the input and output partitions coincide in the inversion case. If FF7 is the maximum generator rank and FF8 is the maximum node degree, the associated algorithms are fast when FF9 is small, AA0 is bounded, and the block sizes AA1 are uniformly bounded (Govindarajan et al., 2024).

Operation Structural statement Stated cost
Matrix–vector product state-space upsweep and downsweep AA2 flops
Addition AA3 edge-wise concatenation and recompression AA4
Multiplication AA5 AA6 per mat-vec and AA7 for recompression
Inversion / direct solve AA8 for nonsingular AA9 typical direct solve F=(V,E)F=(V,E)0

Conversion from a dense matrix to TQS proceeds in two passes. In the upsweep, for each edge F=(V,E)F=(V,E)1 with F=(V,E)F=(V,E)2, one forms the unit Hankel block F=(V,E)F=(V,E)3, computes a low-rank factorization F=(V,E)F=(V,E)4, assigns F=(V,E)F=(V,E)5 and F=(V,E)F=(V,E)6, and compresses interior augmented matrices to obtain transfer operators. In the downsweep, for each edge F=(V,E)F=(V,E)7 with F=(V,E)F=(V,E)8, one analogously factors F=(V,E)F=(V,E)9, assigns Tc=(Vc,Ec)T_c=(V_c,E_c)0 and Tc=(Vc,Ec)T_c=(V_c,E_c)1, and extracts the sibling and parent transfers Tc=(Vc,Ec)T_c=(V_c,E_c)2 and Tc=(Vc,Ec)T_c=(V_c,E_c)3 (Govindarajan et al., 2024).

The factorization at each edge may use deterministic truncated SVD, strong RRQR, or randomized SVD. Accuracy is controlled by a truncation tolerance Tc=(Vc,Ec)T_c=(V_c,E_c)4; if each unit Hankel block Tc=(Vc,Ec)T_c=(V_c,E_c)5 is approximated with error Tc=(Vc,Ec)T_c=(V_c,E_c)6, then the reconstruction error obeys

Tc=(Vc,Ec)T_c=(V_c,E_c)7

with Tc=(Vc,Ec)T_c=(V_c,E_c)8 depending mildly on Tc=(Vc,Ec)T_c=(V_c,E_c)9 and path lengths (Govindarajan et al., 2024).

The format is not universally economical. For arbitrary dense matrices, the unit Hankel blocks can have large rank, yielding large generators. The arrowhead matrix on a star tree is the standard counterexample: the TQS representation then uses roughly as many parameters as the dense matrix, while an SSS or HSS representation on a different topology may be more efficient (Govindarajan et al., 2024).

5. Graph-theoretic, Laplacian, and matroidal formulations

Several other matrix constructions encode forests directly rather than through low-rank path factorization. A real symmetric matrix is called acyclic if it is the adjacency matrix of a weighted forest with real nonzero edge weights and possibly vertex weights; if the matrix is irreducible, the forest is a tree (Bahmani et al., 2016). For such matrices, the characteristic polynomial equals the matching polynomial of the weighted forest, and explicit eigenvector formulas are available in terms of path weights and characteristic polynomials of vertex- or path-deleted submatrices (Bahmani et al., 2016).

A different line of work studies Laplacian-based matrices of spanning rooted forests. For a weighted digraph with column Laplacian v∈Vv\in V0, the matrix-forest theorem gives

v∈Vv\in V1

where the entries of v∈Vv\in V2 and v∈Vv\in V3 admit combinatorial interpretations in terms of weighted spanning out-forests (Chebotarev et al., 2013). The limiting matrix v∈Vv\in V4 is the eigenprojection of v∈Vv\in V5 onto its nullspace, satisfies v∈Vv\in V6, and exposes the source-knot structure of the digraph (Chebotarev et al., 2013).

Forests can also be recovered from adjacency-derived binary matroids. Over v∈Vv\in V7, the matrices

v∈Vv\in V8

define the restricted isotropic and isotropic matroids of a forest v∈Vv\in V9. For forests F=⨆cTcF=\bigsqcup_c T_c00 and F=⨆cTcF=\bigsqcup_c T_c01, the equivalence

F=⨆cTcF=\bigsqcup_c T_c02

shows that these matrix representations classify forests up to isomorphism (Traldi, 2020).

Hierarchical trees admit yet another sparse matrix representation, the Generation Matrix. Under descending order of height, the Generation Matrix is lower triangular, has exactly F=⨆cTcF=\bigsqcup_c T_c03 nonzeros for a tree with F=⨆cTcF=\bigsqcup_c T_c04 nodes, and becomes block-diagonal for forests, one block per component (Cai et al., 2022). This representation is designed so that triangular solves simulate upward and downward recursive traversals (Cai et al., 2022).

6. Enumerative, positivity, and ranked-tree encodings

In combinatorics, lower-triangular matrices whose entries enumerate trees and forests are also described through forest structure. The matrix

F=⨆cTcF=\bigsqcup_c T_c05

counts rooted labeled trees on F=⨆cTcF=\bigsqcup_c T_c06 with a prescribed root statistic, and also partial functional digraphs on F=⨆cTcF=\bigsqcup_c T_c07 with exactly F=⨆cTcF=\bigsqcup_c T_c08 vertices of out-degree F=⨆cTcF=\bigsqcup_c T_c09; its row-generating polynomials are F=⨆cTcF=\bigsqcup_c T_c10, the matrix is totally positive, and the sequence F=⨆cTcF=\bigsqcup_c T_c11 is coefficientwise Hankel-totally positive (Chen et al., 2023). The related forest matrix

F=⨆cTcF=\bigsqcup_c T_c12

enumerates F=⨆cTcF=\bigsqcup_c T_c13-component forests of rooted trees on F=⨆cTcF=\bigsqcup_c T_c14, with weighted generalizations by improper edges and proper-child multiplicities; its matrix and row-generating polynomials are coefficientwise totally positive and coefficientwise Hankel-totally positive under Toeplitz-total positivity assumptions on the weight sequence F=⨆cTcF=\bigsqcup_c T_c15 (Sokal, 2021). A F=⨆cTcF=\bigsqcup_c T_c16-analogue replaces binomial coefficients and powers by Gaussian binomials and F=⨆cTcF=\bigsqcup_c T_c17-integers, yielding coefficientwise totally positive matrices proved via planar networks and the Lindström–Gessel–Viennot lemma (Gilmore, 2021).

Restricted Stirling and Lah number matrices provide another forest-based representation. For restriction sets F=⨆cTcF=\bigsqcup_c T_c18 with F=⨆cTcF=\bigsqcup_c T_c19, each entry of the inverse matrices F=⨆cTcF=\bigsqcup_c T_c20, F=⨆cTcF=\bigsqcup_c T_c21, and F=⨆cTcF=\bigsqcup_c T_c22 is a signed difference of cardinalities of explicitly defined families of increasingly ordered, min-first ordered, or linearly ordered phylogenetic forests; when F=⨆cTcF=\bigsqcup_c T_c23 has no exposed odds, each inverse entry is, up to an explicit sign, the cardinality of a single family of F=⨆cTcF=\bigsqcup_c T_c24-good forests (Engbers et al., 2016).

A more recent phylogenetic use of forest-representable matrices is the F=⨆cTcF=\bigsqcup_c T_c25-matrix for ranked tree shapes. For an F=⨆cTcF=\bigsqcup_c T_c26-leaf fully heterochronous ranked tree shape, the F=⨆cTcF=\bigsqcup_c T_c27-matrix is lower triangular of size F=⨆cTcF=\bigsqcup_c T_c28, and F=⨆cTcF=\bigsqcup_c T_c29 counts the number of edges whose parent rank is at most F=⨆cTcF=\bigsqcup_c T_c30 and whose child rank is greater than F=⨆cTcF=\bigsqcup_c T_c31 (Jennings-Shaffer et al., 30 Oct 2025). Valid F=⨆cTcF=\bigsqcup_c T_c32-matrices are characterized by monotonicity constraints, diagonal and subdiagonal rules, and a four-entry local bound

F=⨆cTcF=\bigsqcup_c T_c33

with F=⨆cTcF=\bigsqcup_c T_c34 and F=⨆cTcF=\bigsqcup_c T_c35 determined by the left, above, above-left, and previous diagonal values (Jennings-Shaffer et al., 30 Oct 2025). This local rule yields an explicit bijection with ranked tree shapes and supports enumeration and probabilistic modeling (Jennings-Shaffer et al., 30 Oct 2025).

Across these settings, forest-representable matrices serve different purposes: low-rank compression for sparse-inverse problems, Laplacian resolvents for spanning forests, algebraic classification of forest graphs, total positivity in forest enumerators, and lower-triangular encodings of ranked tree shapes. The shared principle is precise rather than metaphorical: a forest supplies the combinatorial skeleton that determines which matrix entries are allowed, how they factor, or what they count.

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 Forest-Representable Matrices.