In scientific computing, machine learning, and data science, we frequently encounter massive, dense matrices. Whether it is a covariance matrix modeling millions of geographic locations, an integral operator simulating acoustic scattering, or a kernel embedding of a multivariate distribution, dense matrices present a severe computational bottleneck. A standard dense matrix of size $N \times N$ requires $O(N^2)$ memory to store and $O(N^3)$ operations to factorize (such as LU or QR decomposition). When $N$ reaches hundreds of thousands or millions, these exact operations become completely intractable.
However, many of these dense matrices possess a hidden property: data sparsity. While every single entry in the matrix may be non-zero, the information content within large sub-blocks of the matrix is highly redundant. Hierarchical low-rank matrix compression is a paradigm that exploits this structural redundancy, transforming dense operators into hierarchical tree structures that can be stored and computed in near-linear $O(N \log^\alpha N)$ or strictly linear $O(N)$ time.
The Intuition: Near-Field vs. Far-Field Interactions
To understand why dense matrices can be compressed, we must look at the physical or geometric processes that generate them. Consider a matrix representing gravitational, acoustic, or electrostatic interactions across a discretized domain.
If two points are close to each other (near-field), their interaction is highly sensitive to their exact positions. The corresponding sub-block in the matrix behaves unpredictably and is full-rank; it cannot be compressed without losing vital information.
Conversely, if two clusters of points are far apart (far-field), their interaction becomes smooth and predictable. From a distance, a cluster of a thousand points behaves almost like a single aggregate source. Mathematically, this means that the sub-block representing the interactions between these two distant clusters has a very low numerical rank. If a block of size $m \times m$ has a rank $r \ll m$, it can be factored into the product of two skinny matrices ($U \times V^\top$) of size $m \times r$. Instead of storing $m^2$ entries, we only need to store $2mr$ entries.
This structural dichotomy is not limited to physics. As shown by Abdulah et al., dense covariance matrices in spatial statistics exhibit the exact same behavior: correlations between nearby geographic points are complex and full-rank, while correlations between distant regions decay smoothly and manifest as low-rank blocks.
Matrix Partitioning and Admissibility Conditions
To systematically isolate these low-rank far-field blocks, we recursively partition the matrix using a tree-like data structure (such as a quadtree or a cluster tree). The rules that dictate which blocks are compressed and which remain dense are called admissibility conditions.
Flat Block Low-Rank (Weak) Hierarchical Tree (Strong)
+-----+-----+-----+-----+ +-----+-----+-----------+
|Dense| Low | Low | Low | |Dense| Low | |
+-----+-----+-----+-----+ +-----+-----+ Low |
| Low |Dense| Low | Low | | Low |Dense| |
+-----+-----+-----+-----+ +-----------+-----------+
| Low | Low |Dense| Low | | |Dense| Low |
+-----+-----+-----+-----+ | Low +-----+-----+
| Low | Low | Low |Dense| | | Low |Dense|
+-----+-----+-----+-----+ +-----------+-----------+
Weak Admissibility (Flat Partitioning)
The simplest approach is to partition the matrix into a uniform grid of tiles. Diagonal tiles (representing self-interactions) remain dense, while all off-diagonal tiles are compressed via low-rank approximations like Singular Value Decomposition (SVD) or Adaptive Cross Approximation (ACA). This is known as Block Low-Rank (BLR) or Tile Low-Rank (TLR) approximation.
Ida and Apriansyah demonstrate that this flat structure significantly simplifies parallel implementation and load balancing on modern high-performance computing architectures. However, because it does not compress off-diagonal blocks recursively, its memory footprint typically scales as $O(N^{1.5})$ or $O(N^2)$, which limits its scalability for exceptionally large problems.
Strong Admissibility (Hierarchical Partitioning)
To achieve true linear scaling, we must use strong admissibility. Here, a block is only compressed if the corresponding row and column clusters are geometrically well-separated. If they are close, the block is subdivided into four smaller sub-blocks, and the condition is checked recursively.
As detailed by Minden et al., restricting compression strictly to well-separated far-field interactions prevents the numerical rank from exploding when moving from 2D to complex 3D problems, preserving the coveted $O(N)$ computational complexity.
Moving to $O(N)$: Nested Bases ($\mathcal{H}^2$ and HSS Matrices)
Standard hierarchical matrices ($\mathcal{H}$-matrices) compress each admissible block independently. While this reduces matrix-vector multiplication costs to $O(N \log N)$, it still introduces redundancy: different far-field blocks originating from the same group of points will compute and store completely separate low-rank basis matrices ($U$).
To eliminate this redundancy, $\mathcal{H}^2$-matrices and Hierarchical Semi-Separable (HSS) matrices introduce nested bases.
Imagine a parent node in a cluster tree that splits into two child nodes. The physical space occupied by the parent is simply the union of the spaces of its children. Therefore, the far-field basis of the parent node must be contained within the span of the far-field bases of its children. Instead of storing a brand-new basis matrix $U_{\text{parent}}$ for the parent, we can express it hierarchically as:
$$U_{\text{parent}} = \begin{bmatrix} U_{\text{child}_1} & 0 \\ 0 & U_{\text{child}_2} \end{bmatrix} R_{\text{parent}}$$
where $R_{\text{parent}}$ is a tiny "transfer matrix."
Boukaram et al. explain how this recursive definition allows the entire matrix hierarchy to share a single, unified set of nested bases. By avoiding the need to store independent bases across levels, the memory and matrix-vector multiplication complexities drop from $O(N \log N)$ to a strictly linear $O(N)$. This mathematical structure mirrors the properties of Green's functions in elliptic partial differential equations so perfectly that Sittoni et al. successfully embedded HSS matrix layers directly into neural network architectures to create highly data-efficient PDE solvers.
Factorization and Inversion via Skeletonization
While accelerating matrix-vector multiplication ($Ax$) is useful for iterative solvers, the true power of hierarchical matrices lies in their ability to perform fast direct solves, matrix inversions ($A^{-1}$), and factorizations (LU/QR).
In a standard sparse or dense direct solver, executing Gaussian elimination introduces fill-in—zero entries that become non-zero due to elimination steps, destroying the matrix's sparsity structure. However, Pouransari notes a critical insight: the fill-in entries generated between distant clusters of variables are not random; they inherit the same smooth, numerically low-rank properties as the original operator.
To exploit this during factorization, algorithms use a technique called skeletonization or Interpolative Decomposition (ID).
All Boundary Degrees of Freedom Skeletonized Interface
o---o---o---o---o---o---o o-----------------o
| | | |
o Internal o ===> | Internal |
| Variables | | Variables |
o o o-----------------o
o---o---o---o---o---o---o
When eliminating variables inside a local geometric cell, the cell interacts with the rest of the domain exclusively through its boundary interface. Instead of carrying the entire dense boundary interface through the rest of the factorization, we can use an interpolative decomposition to find a small, representative subset of boundary variables—the skeletons—that can perfectly reconstruct the action of the entire boundary. All other boundary variables are deemed redundant and are eliminated early.
As demonstrated by Xu et al. and Pang et al., this systematic pruning ensures that the size of the computational interfaces (the Schur complements) remains bounded and constant throughout the hierarchical elimination process. Consequently, we can compute approximate matrix inverses and generalized LU decompositions in near-linear time, bypassing the traditional cubic complexity barrier.
Conclusion
Hierarchical matrix compression bridges the gap between dense mathematical formulations and sparse computational efficiency. By organizing matrices into geometric trees and separating localized, high-rank interactions from smooth, low-rank far-field interactions, these methods reveal that density is often an artifact of representation rather than inherent information complexity. Whether applied to classical boundary element methods, quantum numerical linear algebra, or modern spatial statistics, the paradigm of compressing and eliminating via hierarchical structures remains one of the most effective tools for scaling continuous physical problems to exascale proportions.