arXiv:2610.40134math.NAOct 2026

Manuscript Offprint

arXiv:2610.40134

Integer-Quantized Hierarchical Matrices with Adaptive Bit Allocation

Erin Carson, Xinye Chen, Ritesh Khan

ERIN CARSON †^{\dagger}, XINYE CHEN ‡^{\ddagger}, AND RITESH KHAN §^{\S}

Abstract. We present an adaptive bitwidth allocation method for quantizing low-rank factors in hierarchical matrices in order to decrease storage while meeting a given constraint on their reconstruction error. For the bitwidth allocation we formulate a discrete storage minimization problem and show that an optimal assignment can give larger singular values at least as many bits as smaller ones. We further develop a greedy algorithm that meets the specified max-norm quantization error budget. We investigate a hierarchical block partition in which all of the non-diagonal blocks are represented by quantized low-rank factors and only dense blocks remain dense; in this way a global reconstruction bound related to ηk\eta_k and RkR_k is obtained, with the former and latter being bounds on the truncation and reconstruction arithmetic errors, respectively. Extensive simulations, carried out with kernel and BEM matrices under block-relative budgets, indicate that the proposed method achieves a reduction in storage of up to 44.3×44.3\times when compared to storing the complete matrix densely in FP64, and a reduction of up to 5.70×5.70\times when compared to the FP64 low-rank factors within the same partition, together with measured reconstruction errors that remained below the maximum norm bounds in all the hierarchical tests.

Key words. Hierarchical matrices, integer quantization, mixed precision computing, matrix computations

  1. Introduction. Hierarchical matrices were introduced by Hackbusch as a data-sparse approximation of dense boundary element matrices [12]. Even after low-rank compression, the stored factors can account for a substantial part of the representation. Reducing their storage precision therefore raises the question of how to control the resulting reconstruction error. Quantization is the process of mapping continuous infinite values to a smaller set of discrete finite values, typically with reduced bitwidth number formats. For large-scale model training and low-precision inference on NVIDIA GPUs, reduced precision formats such as FP8, FP16 are increasingly used as they strike a better balance between numerical range, precision and hardware efficiency when in proper use. However, integer formats like INT8 and INT4 remain highly relevant on edge devices, CPUs, NPUs, integer-oriented accelerators and in any setting that demands strict integer-only inference, aggressive weight compression, or operates under tight bandwidth constraints. Integer arithmetic still offers clear practical advantages in that multiply-accumulate operations can stay exact during accumulation provided overflow is avoided, asymmetric quantization can make fuller use of the available code range for non-negative or skewed distributions, and an integer-only workflow can eliminate floating-point units altogether, which is especially valuable for power-efficient and resource-constrained hardware. Thus, quantization methods built around integer arithmetic continue to be a useful and active research direction.

Quantization has been verified to significantly speed up deep learning inference. Deep neural networks deployed on edge devices, such as mobile or IoT devices, are

*The first and third authors are supported by the European Union (ERC, inEXASCALE, 101075632). Views and opinions expressed are those of the authors only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them. The first author is additionally supported by the Charles University Research Centre program No. UNCE/24/SCI/005.

†^{\dagger}Department of Numerical Mathematics, Charles University, Prague, Czech Republic (carson@karlin.mff.cuni.cz).

‡^{\ddagger}Sorbonne Université, CNRS, LIP6, Paris, France (xinye.chen@lip6.fr).

§^{§}Department of Numerical Mathematics, Charles University, Prague, Czech Republic (ritesh.khan@matfyz.cuni.cz).

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

subject to stringent compute and memory constraints, while networks deployed in the cloud do not suffer such constraints but might suffer excessive latency and power consumption. The common approach to alleviating the burden of training and inference is via quantization [21, 17], and integer quantizations are the most commonly used. SwitchBack [24] achieves a speedup of 13-25% using INT8 quantized training against the performance of bfloat16 training within 0.1 percentage points for the 1B parameter CLIP ViT-Huge. Details can be found in the survey [10] and references therein.

The H-matrices are constructed by recursively partitioning a matrix into blocks (sub-matrices) and approximating suitable off-diagonal blocks by low-rank matrices. Several hierarchical matrix formats have been extensively studied in the literature, e.g., H [12, 14], H2H^{2} [5], HODLR [2], HSS [8], and HBS [11] formats. In this work, we consider hierarchical matrix formats in which the low-rank factors are formed independently in a non-nested fashion. Advances in low-rank approximation techniques and hierarchical matrix formats have significantly reduced the storage requirements of dense matrices by exploiting their underlying low-rank structure. However, the low-rank factors or generators in these representations are typically stored in double precision. This may be inefficient from a storage perspective and limit the potential for further storage savings. There has recently been significant work in reduced-precision storage of and computation with hierarchical matrices: Amestoy et al. [3] use singular-value-dependent floating-point precisions for low-rank factors and analyze their use in BLR LU factorization. Kriemann [18] studies adaptive compression of low-rank and dense data in hierarchical matrices and its effect on matrix arithmetic. Other reduced-precision hierarchical representations are studied in [22, 7, 16].

In this work, we develop a singular value aware bit-allocation strategy for the non-diagonal blocks of a hierarchical matrix. Both admissible blocks and non-diagonal inadmissible blocks use quantized low-rank factors, with only diagonal blocks remaining dense. Spatial adaptivity is supplied by the hierarchical block partition and its block ranks, whereas precision adaptivity is applied inside each factorized block. Let T=UΣVTT = U \Sigma V^T be a rank-r SVD with Σ=diag(σ1,…,σr)\Sigma = \text{diag}(\sigma_1, \ldots, \sigma_r), and let bjb_j be the bitwidth assigned to component jj. The local representation uses the balanced factorization T=(UΣ1/2)(VΣ1/2)TT = (U \Sigma^{1/2})(V \Sigma^{1/2})^T, and quantizes each balanced column independently with its own symmetric integer scale. Under this model the mixed-bit quantization error bound for one block is

Ecert=∑j=1rσjc(bj),c(b)=1qb+14qb2,qb=2b−1−1.E_{\mathrm{c e r t}}=\sum_{j=1}^{r}\sigma_{j}c(b_{j}),\qquad c(b)=\frac{1}{q_{b}}+\frac{1}{4q_{b}^{2}},\qquad q_{b}=2^{b-1}-1.

Let Bq≥0B^q \geq 0 denote the prescribed absolute max-norm error budget for factor quantization, and the superscript q indicates quantization. Our greedy allocation accounts for the minimum error of the components that have not yet been assigned a bitwidth. We use T^\widehat{T} to denote the exact product of the reconstructed quantized factors. Theorem 2.27 proves that, whenever the highest available precision is feasible, the returned local allocation satisfies

∥T−T^∥max⁡≤Ecert≤Bq.\left\|T-\widehat{T}\right\|_{\max}\leq E_{\mathrm{c e r t}}\leq B^{\mathrm{q}}.

In the hierarchical setting, the quantization budget is the total block budget minus bounds for low-rank approximation and reconstruction arithmetic errors, as defined in (2.51)(2.51). The local result is lifted to the complete H-matrix by the disjoint partition of matrix entries into blocks. In entrywise max norm, local block errors combine by

(a) Hierarchical partition

(b) Bit allocation

Figure

(c) Grouped reconstruction

FIG. 1.1. Overview of the hierarchical representation and local bit allocation. In (a), D denotes a dense diagonal block, while admissible blocks A and non-diagonal inadmissible blocks I both use quantized low-rank factors. In (b), paired columns receive the same bitwidth and retain separate left and right scales. In (c), columns are grouped by bitwidth for reconstruction. Colors indicate bitwidths; the widths shown are illustrative.

a maximum rather than a sum. We further group components assigned the same bitwidth for reconstruction, with each column retaining its own quantization scales. We account for rounding in the corresponding GEMM (General Matrix Multiply) operations and in the summation of their outputs. This explicitly separates three error sources, namely, low-rank construction, factor quantization, and finite-precision GEMM.

Our method is motivated by techniques used for model acceleration in integer arithmetic and data compression techniques in data-sparse matrices. Integer quantization is a well-established method for reducing the bitwidth of the number format—by converting floating-point numbers into integers—such that storage and computational costs can be reduced. Often, integer-based arithmetic, such as integer matrix multiplication, can run much faster than conventional floating-point arithmetic on hardware with dedicated integer SIMD or dot-product support (e.g., x86 CPUs with AVX2/AVX-512/VNNI and ARM CPUs with NEON/DotProd extensions), and particularly in specialized hardware implementations (e.g., UNPU [20], Eyeriss [9], Pragmatic [1]) and specialized hardware instructions (e.g., NVIDIA Tensor cores). Related surveys on neural network quantization can be found in [23, 19]. Our software is publicly available at https://github.com/inEXASCALE/qhmat.

The remainder of the paper is organized as follows. Section 2 gives an overview of hierarchical matrices; Section 2.1 formulates the foundations of our quantization models using integer arithmetic and Section 2.2 proposes a bit allocation strategy for matrix computations of hierarchical matrices. Section 3 provides the storage analysis of our bit allocation strategy. Section 4 analyzes the empirical results of experimental simulations, and Section 5 concludes the paper.

  1. Hierarchical matrices. Hierarchical matrix (in short, H-matrix) formats are block low-rank approximations of dense matrices that exploit the numerical low-rank structure of suitable off-diagonal blocks, which are identified based on an admissibility condition [6, 15]. H-matrices reduce both the storage requirements and the arithmetic complexity [12, 4, 13]. This paper restricts attention to the singular value decomposition (SVD) for low-rank approximation in hierarchical matrices. Let M∈Rm×nM \in \mathbb{R}^{m \times n} be a matrix block and T a rank-r approximation represented by its SVD.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

Then we have

(2.1)

T=UΣVT=∑j=1rσjujvjT,T=U\Sigma V^{T}=\sum_{j=1}^{r}\sigma_{j}u_{j}v_{j}^{T},

where σ1≥σ2≥⋯≥σr≥0\sigma_1 \geq \sigma_2 \geq \cdots \geq \sigma_r \geq 0 with UTU=IrU^T U = I_r and VTV=IrV^T V = I_r. Here U∈Rm×rU \in \mathbb{R}^{m \times r}, V∈Rn×rV \in \mathbb{R}^{n \times r}, and Σ=diag(σ1,…,σr)\Sigma = \text{diag}(\sigma_1, \ldots, \sigma_r). In the quantization analysis, its residual M−TM - T relative to MM is bounded separately.

Let I={1,…,N}I = \{1, \ldots, N\} be the matrix index set and A∈RI×IA \in \mathbb{R}^{I \times I} have a common row and column cluster tree. The symbol U˙\dot{U} denotes disjoint union. Then, the induced block partition has block index set L=LlrU˙Ld\mathcal{L} = \mathcal{L}_{\mathrm{lr}} \dot{U} \mathcal{L}_{\mathrm{d}}, where Ld\mathcal{L}_{\mathrm{d}} contains only the diagonal blocks, with identical row and column index clusters, and Llr\mathcal{L}_{\mathrm{lr}} contains all non-diagonal blocks. The latter includes both geometrically admissible blocks and non-diagonal inadmissible blocks whose row and column clusters are terminal. These two classes are distinguished in the storage diagnostics, but use the same quantization model. Admissible blocks may stop the block-tree recursion before both row and column clusters are terminal; geometric admissibility and the choice of storage format are distinct.

Further, each index k∈Lk \in \mathcal{L} identifies a block τk×σk\tau_k \times \sigma_k, where τk,σk⊆I\tau_k, \sigma_k \subseteq I are its row and column index clusters. Set mk=∣τk∣m_k = |\tau_k| and nk=∣σk∣n_k = |\sigma_k|. The blocks form the disjoint partition

(2.2)

I×I=⋃k∈L(τk×σk).I\times I=\bigcup_{k\in\mathcal{L}}(\tau_{k}\times\sigma_{k}).

Consequently, each matrix entry belongs to exactly one block. This disjointness is a property of the block partition rather than a synonym for non-diagonality or geometric inadmissibility. Off-diagonal row and column index clusters are disjoint even when their geometric supports touch.

For every k∈Llrk \in \mathcal{L}_{\mathrm{lr}}, we write

(2.3)

Ak:=A∣τk×σk≈Tk=UkΣkVkT,Tk∈Rmk×nk,A_{k}:=A|_{\tau_{k}\times\sigma_{k}}\approx T_{k}=U_{k}\Sigma_{k}V_{k}^{T},\qquad T_{k}\in\mathbb{R}^{m_{k}\times n_{k}},

with retained rank rkr_k. Geometric inadmissibility does not prevent such a factorization, but no uniformly small rank or storage reduction is assumed for near-field blocks; the retained rank can reach the smaller block dimension. Only diagonal blocks are stored exactly, while each TkT_k is balanced, quantized, and evaluated independently. Sections 2.1 and 2.2 first establish the local theory; their notation suppresses the block index kk for readability. The index is restored in the global results of Algorithm 2.2 and Theorem 2.29.

The present representation retains a standard hierarchical block partition but also factorizes its non-diagonal inadmissible blocks. It provides storage accounting and reconstruction error bounds for the blocks, without invoking a geometric low-rank guarantee for the additional blocks. Nested-basis H2\mathcal{H}^{2} representations and forward-error bounds for hierarchical matrix–matrix multiplication require additional basis-transfer and cross-block accumulation terms and are outside the current scope.

Integer and block-scaled formats offer two complementary benefits. First, prequantized factors reduce memory traffic, cache pressure, and communication. Second, on hardware with INT8 or block-scaled matrix instructions, the factor–matrix products arising when a non-diagonal block is applied to an input matrix can be mapped to low-precision matrix kernels with a higher arithmetic throughput. However, this does not necessarily lead to performance gain since quantization and scale processing introduce overhead, e.g., small off-diagonal blocks can lead to inefficient kernel launches, and a mathematically convenient placement of scales may not map to a single GEMM supported by hardware.

2.1. Quantization model. We analyze the error introduced by integer quantization of balanced low-rank factors. Floating-point reconstruction error is treated separately in the GEMM-aware analysis below.

For a matrix ZZ, ∥Z∥max⁡=max⁡i,j∣Zij∣\|Z\|_{\max} = \max_{i,j} |Z_{ij}|. For a vector zz, ∥z∥∞=max⁡i∣zi∣\|z\|_{\infty} = \max_i |z_i|. Since the columns of UU and VV are unit 2-norm vectors,

(2.4)

αj:=∥uj∥∞≤1,βj:=∥vj∥∞≤1.\alpha_{j}:=\|u_{j}\|_{\infty}\leq1,\qquad\beta_{j}:=\|v_{j}\|_{\infty}\leq1.

The singular value aware motivation follows the same general principle as mixed-precision low-rank representations such as [3]: components associated with smaller singular values may be stored at lower precision because their contribution to the low-rank block is smaller. The bounds below are derived for the symmetric integer quantizer defined next.

For a bitwidth b≥2b \geq 2, set qb=2b−1−1q_b = 2^{b-1} - 1. Given a nonzero matrix or vector ZZ, define the symmetric scale sb(Z)=∥Z∥max⁡/qbs_b(Z) = \|Z\|_{\max} / q_b for matrices, with the analogous definition using ∥Z∥∞\|Z\|_\infty for vectors. The reconstructed quantized object is

(2.5)

Qb(Z)=sb(Z)round⁡(Zsb(Z)).\mathcal{Q}_{b}(Z)=s_{b}(Z)\operatorname{round}\left(\frac{Z}{s_{b}(Z)}\right).

For Z=0Z = 0, set Qb(0)=0\mathcal{Q}_b(0) = 0. Because the scale is chosen from the largest magnitude entry, no clipping is needed in exact arithmetic.

Assumption 2.1. Throughout the paper we assume:

(A1) rounding to nearest in (2.5);

(A2) the scale factors are stored exactly, or at sufficiently high precision that scale-rounding errors are negligible relative to the modeled data quantization error;

(A3) the stated bitwidth b refers to the signed integer quantizer in (2.5);

(A4) when column-wise balanced quantization is used, each balanced column has its own scale for the left factor and its own scale for the right factor;

(A5) the bit allocation uses the same bitwidth bjb_{j} for the left and right balanced columns associated with singular component j;

(A6) storage formulae below count the quantized payload; fixed scale metadata is discussed separately in Section 3.

LEMMA 2.2. Under Assumption 2.1, for a matrix Z and a vector z, we have

(2.6)

∥Qb(Z)−Z∥max⁡≤∥Z∥max⁡2qb,(2.7)\|\mathcal{Q}_{b}(Z)-Z\|_{\max}\leq\frac{\|Z\|_{\max}}{2q_{b}}, \tag{2.7} ∥Qb(z)−z∥∞≤∥z∥∞2qb.\|\mathcal{Q}_{b}(z)-z\|_{\infty}\leq\frac{\|z\|_{\infty}}{2q_{b}}.

Proof. Each rounded integer differs from its unrounded value by at most 1/2. Multiplying by the scale sb(Z)=∥Z∥max⁡/qbs_b(Z) = \|Z\|_{\max} / q_b yields ∥Qb(Z)−Z∥max⁡≤sb(Z)/2\|\mathcal{Q}_b(Z) - Z\|_{\max} \leq s_b(Z)/2. The vector case is identical.

It is convenient to define the bit-dependent coefficient

(2.8)

c(b):=1qb+14qb2.c(b):=\frac{1}{q_{b}}+\frac{1}{4q_{b}^{2}}.

This coefficient will appear repeatedly in the product-error bounds.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

Direct quantization of SVD factors. We first analyze general factors X∈Rm×rX \in \mathbb{R}^{m \times r} and Y∈Rn×rY \in \mathbb{R}^{n \times r} in T=XΣYTT = X \Sigma Y^T, keeping Σ\Sigma explicit. Direct quantization of the SVD factors in (2.1) is the special case X=UX = U and Y=VY = V. The resulting error bound depends on ∥X∥max⁡\|X\|_{\max} and ∥Y∥max⁡\|Y\|_{\max}. For a matrix ZZ, ∥Z∥∗\|Z\|_* denotes its nuclear norm; in particular, ∥Σ∥∗=∑j=1rσj\|\Sigma\|_* = \sum_{j=1}^r \sigma_j.

THEOREM 2.3. Let

(2.9)

T=XΣYT,X^=X+E,Y^=Y+F,T=X\Sigma Y^{T},\qquad\widehat{X}=X+E,\qquad\widehat{Y}=Y+F,

where Σ=diag(σ1,…,σr)\Sigma = \mathrm{diag}(\sigma_1, \ldots, \sigma_r) with σj≥0\sigma_j \geq 0. Supposing ∥E∥max⁡≤Δx\|E\|_{\max} \leq \Delta_x and ∥F∥max⁡≤Δy\|F\|_{\max} \leq \Delta_y, with T^=X^ΣY^T\widehat{T} = \widehat{X} \Sigma \widehat{Y}^T and α=∥X∥max⁡\alpha = \|X\|_{\max} and β=∥Y∥max⁡\beta = \|Y\|_{\max}, we have

(2.10)

∥T−T^∥max⁡≤(Δxβ+αΔy+ΔxΔy)∑j=1rσj=(Δxβ+αΔy+ΔxΔy)∥Σ∥∗.\left\|T-\widehat{T}\right\|_{\max}\leq\left(\Delta_{x}\beta+\alpha\Delta_{y}+\Delta_{x}\Delta_{y}\right)\sum_{j=1}^{r}\sigma_{j}=\left(\Delta_{x}\beta+\alpha\Delta_{y}+\Delta_{x}\Delta_{y}\right)\left\|\Sigma\right\|_{*}.

Proof. Expanding the product gives

(2.11)

T^−T=EΣYT+XΣFT+EΣFT.\widehat{T}-T=E\Sigma Y^{T}+X\Sigma F^{T}+E\Sigma F^{T}.

For every entry (i,k)(i,k),

(2.12)

∣(EΣYT)ik∣≤∑j=1r∣Eij∣σj∣Ykj∣≤Δxβ∑j=1rσj,(2.13)\left|\left(E\Sigma Y^{T}\right)_{i k}\right|\leq\sum_{j=1}^{r}\left|E_{i j}\right|\sigma_{j}\left|Y_{k j}\right|\leq\Delta_{x}\beta\sum_{j=1}^{r}\sigma_{j}, \tag{2.13} ∣(XΣFT)ik∣≤αΔy∑j=1rσj,∣(EΣFT)ik∣≤ΔxΔy∑j=1rσj.\left|\left(X\Sigma F^{T}\right)_{i k}\right|\leq\alpha\Delta_{y}\sum_{j=1}^{r}\sigma_{j},\quad\left|\left(E\Sigma F^{T}\right)_{i k}\right|\leq\Delta_{x}\Delta_{y}\sum_{j=1}^{r}\sigma_{j}.

Taking the maximum over all entries and applying the triangle inequality yields (2.10).☐

COROLLARY 2.4. If X and Y are quantized by (2.5) at the same bitwidth b, then

(2.14)

∥T−T^∥max⁡≤∥X∥max⁡∥Y∥max⁡c(b)∥Σ∥∗.\left\|T-\widehat{T}\right\|_{\max}\leq\left\|X\right\|_{\max}\left\|Y\right\|_{\max}c(b)\left\|\Sigma\right\|_{*}.

Proof. By Lemma 2.2,

(2.15)

Δx=α2qb,Δy=β2qb.\Delta_{x}=\frac{\alpha}{2q_{b}},\qquad\Delta_{y}=\frac{\beta}{2q_{b}}.

Substitution into Theorem 2.3 gives

(2.16)

Δxβ+αΔy+ΔxΔy=αβ(1qb+14qb2).\Delta_{x}\beta+\alpha\Delta_{y}+\Delta_{x}\Delta_{y}=\alpha\beta\left(\frac{1}{q_{b}}+\frac{1}{4q_{b}^{2}}\right).

☐

COROLLARY 2.5. For SVD factors U and V, take X = U and Y = V in Corollary 2.4. Then

(2.17)

∥T−T^∥max⁡≤c(b)∑j=1rσj=c(b)∥Σ∥∗.\left\|T-\widehat{T}\right\|_{\max}\leq c(b)\sum_{j=1}^{r}\sigma_{j}=c(b)\left\|\Sigma\right\|_{*}.

Proof. Every entry of a unit 2-norm vector has magnitude at most one, hence ∥U∥max⁡≤1\|U\|_{\max} \leq 1 and ∥V∥max⁡≤1\|V\|_{\max} \leq 1. Apply Corollary 2.4.

Remark 2.6. A bound of the form

(Δx+Δy+ΔxΔy)∑jσj\left(\Delta_{x}+\Delta_{y}+\Delta_{x}\Delta_{y}\right)\sum_{j}\sigma_{j}

is valid as a relaxed bound when ∥X∥max⁡≤1\|X\|_{\max} \leq 1 and ∥Y∥max⁡≤1\|Y\|_{\max} \leq 1. For arbitrary factors, Theorem 2.3 retains the max norms of both factors.

The direct bound uses one scale for each entire factor and does not distinguish the quantization errors of individual singular components. To assign bitwidths by component, we instead quantize balanced columns separately.

Balanced factors and weighted quantization. We define balanced factors, followed by a weighted quantization based on singular values. We write the balanced factors as

(2.18)

P:=UΣ1/2,Q:=VΣ1/2,T=PQT.P:=U\Sigma^{1/2},\qquad Q:=V\Sigma^{1/2},\qquad T=P Q^{T}.

Thus pj=σjujp_j = \sqrt{\sigma_j} u_j, qj=σjvjq_j = \sqrt{\sigma_j} v_j, and T=∑j=1rpjqjTT = \sum_{j=1}^r p_j q_j^T. Accordingly, each pair pjp_j, qjq_j is quantized with separate scales determined from those columns.

The role of balancing depends on the scaling. With separate maximum-based column scales and a fixed bit map, reciprocal positive diagonal rescaling P↦PDP \mapsto PD, Q↦QD−1Q \mapsto QD^{-1} leaves the quantized product unchanged. Indeed, for d>0d > 0 the column quantizer is positively homogeneous: Qb(dx)=dQb(x)\mathcal{Q}_b(dx) = d\mathcal{Q}_b(x). Balancing therefore exposes the singular-value weights used in the analysis, and it is not itself a mechanism for reducing ideal quantization error under this model. A scale shared by several columns does not have this componentwise invariance, and finite-range arithmetic can also break it. Supplementary Section B.3 gives the argument and a numerical control.

LEMMA 2.7. Given a singular component jj and a bitwidth bjb_j. Quantize pjp_j and qjq_j independently with column-wise scales, i.e., p^j=pj+ej\widehat{p}_j = p_j + e_j and q^j=qj+fj\widehat{q}_j = q_j + f_j, then

(2.19)

∥pjqjT−p^jq^jT∥max⁡≤σjαjβjc(bj),\left\|p_{j}q_{j}^{T}-\widehat{p}_{j}\widehat{q}_{j}^{T}\right\|_{\max}\leq\sigma_{j}\alpha_{j}\beta_{j}c(b_{j}),

where αj=∥uj∥∞\alpha_j = \|u_j\|_\infty and βj=∥vj∥∞\beta_j = \|v_j\|_\infty. Consequently,

(2.20)

∥pjqjT−p^jq^jT∥max⁡≤σjc(bj).\left\|p_{j}q_{j}^{T}-\widehat{p}_{j}\widehat{q}_{j}^{T}\right\|_{\max}\leq\sigma_{j}c(b_{j}).

Proof. Since ∥pj∥∞=σjαj\|p_j\|_\infty = \sqrt{\sigma_j} \alpha_j, ∥qj∥∞=σjβj\|q_j\|_\infty = \sqrt{\sigma_j} \beta_j, Lemma 2.2 gives

(2.21)

∥ej∥∞≤σjαj2qbj,∥fj∥∞≤σjβj2qbj.\|e_{j}\|_{\infty}\leq\frac{\sqrt{\sigma_{j}}\alpha_{j}}{2q_{b_{j}}},\qquad\|f_{j}\|_{\infty}\leq\frac{\sqrt{\sigma_{j}}\beta_{j}}{2q_{b_{j}}}.

Expanding the rank-one product,

(2.22)

p^jq^jT−pjqjT=ejqjT+pjfjT+ejfjT.\widehat{p}_{j}\widehat{q}_{j}^{T}-p_{j}q_{j}^{T}=e_{j}q_{j}^{T}+p_{j}f_{j}^{T}+e_{j}f_{j}^{T}.

Using ∥xyT∥max⁡=∥x∥∞∥y∥∞\|xy^T\|_{\max} = \|x\|_\infty \|y\|_\infty, we have

∥ejqjT∥max⁡≤σjαjβj2qbj,∥pjfjT∥max⁡≤σjαjβj2qbj,∥ejfjT∥max⁡≤σjαjβj4qbj2.\left\|e_{j}q_{j}^{T}\right\|_{\max}\leq\frac{\sigma_{j}\alpha_{j}\beta_{j}}{2q_{b_{j}}},\quad\left\|p_{j}f_{j}^{T}\right\|_{\max}\leq\frac{\sigma_{j}\alpha_{j}\beta_{j}}{2q_{b_{j}}},\quad\left\|e_{j}f_{j}^{T}\right\|_{\max}\leq\frac{\sigma_{j}\alpha_{j}\beta_{j}}{4q_{b_{j}}^{2}}.

Summing gives (2.19). Equation (2.20) follows from (2.4).

An adaptive assignment may use a different bitwidth for each rank-one term in T. The error bound for the complete block must therefore reflect these individual choices rather than a single width for the whole factor. The following theorem bounds the error from quantizing the balanced factors.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

THEOREM 2.8. Let each singular component jj use a possibly different bitwidth bjb_j and column-wise balanced quantization as in Lemma 2.7. Let T^:=∑j=1rp^jq^jT\widehat{T} := \sum_{j=1}^r \widehat{p}_j \widehat{q}_j^T, then

(2.23)

∥T−T^∥max⁡≤∑j=1rσjαjβjc(bj).\left\|T-\widehat{T}\right\|_{\max}\leq\sum_{j=1}^{r}\sigma_{j}\alpha_{j}\beta_{j}c(b_{j}).

In particular, the singular values alone give the bound

(2.24)

∥T−T^∥max⁡≤∑j=1rσjc(bj).\left\|T-\widehat{T}\right\|_{\max}\leq\sum_{j=1}^{r}\sigma_{j}c(b_{j}).

Proof. Following T−T^=∑j=1r(pjqjT−p^jq^jT)T - \widehat{T} = \sum_{j=1}^{r} \left( p_j q_j^T - \widehat{p}_j \widehat{q}_j^T \right), we apply the triangle inequality in max norm and then Lemma 2.7. The bound follows from αjβj≤1\alpha_j \beta_j \leq 1.

The first bound retains the sizes of the singular-vector entries; the second uses only the singular values. We use the latter to choose bitwidths because the singular values are ordered, whereas the geometry-dependent weights need not be. In the following, we denote the two bounds in Theorem 2.8 by Egeom:=∑j=1rσjαjβjc(bj)E_{\mathrm{geom}} := \sum_{j=1}^{r} \sigma_j \alpha_j \beta_j c(b_j) and Esv:=∑j=1rσjc(bj)E_{\mathrm{sv}} := \sum_{j=1}^{r} \sigma_j c(b_j), respectively.

COROLLARY 2.9. Let {G1,…,Gs}\{G_1, \ldots, G_s\} be a disjoint partition of {1,…,r}\{1, \ldots, r\} and let every component in group GℓG_\ell use bitwidth bℓb_\ell. Then

(2.25)

∥T−T^∥max⁡≤∑ℓ=1sc(bℓ)∑j∈Gℓσjαjβj≤∑ℓ=1sc(bℓ)∑j∈Gℓσj.\left\|T-\widehat{T}\right\|_{\max}\leq\sum_{\ell=1}^{s}c(b_{\ell})\sum_{j\in G_{\ell}}\sigma_{j}\alpha_{j}\beta_{j}\leq\sum_{\ell=1}^{s}c(b_{\ell})\sum_{j\in G_{\ell}}\sigma_{j}.

Hence the error contributed by a group can be bounded using only the sum of its singular values.

The geometry-aware weights can reduce conservatism, but they need not inherit the ordering of the singular values. The monotone singular value allocation theorem in Section 2.2 therefore uses the weights σj\sigma_{j}.

The preceding bounds use a separate scale for each column. If columns assigned the same bitwidth instead share a scale, the error bound changes.

LEMMA 2.10. Let G⊆{1,…,r}G \subseteq \{1, \ldots, r\} contain g=∣G∣g = |G| components and define

(2.26)

PG=[pj]j∈G∈Rm×g,QG=[qj]j∈G∈Rn×g.P_{G}=[p_{j}]_{j\in G}\in\mathbb{R}^{m\times g},\qquad Q_{G}=[q_{j}]_{j\in G}\in\mathbb{R}^{n\times g}.

Suppose PGP_G is quantized using one shared scale and QGQ_G is quantized using one shared scale, both at bitwidth bb. Let aG=∥PG∥max⁡a_G = \|P_G\|_{\max} and dG=∥QG∥max⁡d_G = \|Q_G\|_{\max}, then

(2.27)

∥PGQGT−P^GQ^GT∥max⁡≤gaGdGc(b).\left\|P_{G}Q_{G}^{T}-\widehat{P}_{G}\widehat{Q}_{G}^{T}\right\|_{\max}\leq g a_{G}d_{G}c(b).

Proof. Let EG=P^G−PGE_G = \widehat{P}_G - P_G and FG=Q^G−QGF_G = \widehat{Q}_G - Q_G. Lemma 2.2 gives

(2.28)

∥EG∥max⁡≤aG2qb,∥FG∥max⁡≤dG2qb.\|E_{G}\|_{\max}\leq\frac{a_{G}}{2q_{b}},\qquad\|F_{G}\|_{\max}\leq\frac{d_{G}}{2q_{b}}.

For matrices A∈Rm×gA \in \mathbb{R}^{m \times g} and B∈Rn×gB \in \mathbb{R}^{n \times g}, we have

(2.29)

∥ABT∥max⁡≤g∥A∥max⁡∥B∥max⁡.\left\|A B^{T}\right\|_{\max}\leq g\left\|A\right\|_{\max}\left\|B\right\|_{\max}.

Expanding

(2.30)

P^GQ^GT−PGQGT=EGQGT+PGFGT+EGFGT\widehat{P}_{G}\widehat{Q}_{G}^{T}-P_{G}Q_{G}^{T}=E_{G}Q_{G}^{T}+P_{G}F_{G}^{T}+E_{G}F_{G}^{T}

and applying the preceding inequality yields (2.27).

COROLLARY 2.11. For balanced SVD columns,

(2.31)

aG≤σmax⁡(G),dG≤σmax⁡(G),a_{G}\leq\sqrt{\sigma_{\max}(G)},\qquad d_{G}\leq\sqrt{\sigma_{\max}(G)},

where σmax⁡(G)=max⁡j∈Gσj\sigma_{\max}(G) = \max_{j \in G} \sigma_j. Therefore

(2.32)

∥PGQGT−P^GQ^GT∥max⁡≤gσmax⁡(G)c(b).\left\|P_{G}Q_{G}^{T}-\widehat{P}_{G}\widehat{Q}_{G}^{T}\right\|_{\max}\leq g\sigma_{\max}(G)c(b).

Proof. Each column of UU and VV has unit 2-norm, so ∣uij∣≤1|u_{ij}| \leq 1 and ∣vij∣≤1|v_{ij}| \leq 1. Thus aG,dG≤σmax⁡(G)a_G, d_G \leq \sqrt{\sigma_{\max}(G)}. By substituting these bounds into (2.27), it gives (2.32).

Remark 2.12. For column-wise scales, the bound for a group is proportional to ∑j∈Gσj\sum_{j \in G} \sigma_j. For one shared scale, the safe bound is proportional to gσmax⁡(G)g \sigma_{\max}(G), which can be substantially larger when the singular values decay across the group. Therefore the additive bound allocation rule EG≤c(b)∑j∈GσjE_G \leq c(b) \sum_{j \in G} \sigma_j should only be used under the column-wise scaling model (or under another model for which that inequality has been separately proved).

Floating-point reconstruction of bitwidth groups. The bounds above compare the exact product T with the exact real-arithmetic product of its reconstructed quantized factors. In an implementation, one GEMM forms the product for each bitwidth group, and these products are summed in floating point. Both operations can introduce rounding. The analysis applies whether the stored integers are explicitly dequantized before the GEMM or an equivalent scaled kernel is used, provided that the returned product obeys the standard accumulation model below.

Assumption 2.13. Let uau_a be the unit roundoff of the GEMM accumulator. Here f1(⋅)f1(\cdot) denotes the computed floating-point result. Products and sums do not overflow or underflow, and a length-g dot product satisfies the standard componentwise bound

(2.33)

abs(f1(xTy)−xTy)≤γg(ua)∣x∣T∣y∣,γg(u):=gu1−gu,\mathrm{a b s}(\mathbf{f1}(x^{T}y)-x^{T}y)\leq\gamma_{g}(u_{\mathrm{a}})\left|x\right|^{T}|y|,\qquad\gamma_{g}(u):=\frac{g u}{1-g u},

whenever gu<1gu < 1. We set γ0(u)=0\gamma_0(u) = 0.

LEMMA 2.14. Let GℓG_\ell contain gℓg_\ell balanced columns, all stored at bitwidth bℓb_\ell but with separate column scales. Define

(2.34)

P^ℓ=[p^j]j∈Gℓ,Q^ℓ=[q^j]j∈Gℓ,Cℓ:=fl(P^ℓQ^ℓT).\widehat{P}_{\ell}=[\widehat{p}_{j}]_{j\in G_{\ell}},\qquad\widehat{Q}_{\ell}=[\widehat{q}_{j}]_{j\in G_{\ell}},\qquad C_{\ell}:=f\mathcal{l}(\widehat{P}_{\ell}\widehat{Q}_{\ell}^{T}).

Under Assumptions 2.1 and 2.13,

(2.35)

∥Cℓ−P^ℓQ^ℓT∥max⁡≤γgℓ(ua)Wℓ,\left\|C_{\ell}-\widehat{P}_{\ell}\widehat{Q}_{\ell}^{T}\right\|_{\max}\leq\gamma_{g_{\ell}}(u_{\mathrm{a}})W_{\ell},

where Wℓ:=∥∣P^ℓ∣∣Q^ℓ∣T∥max⁡W_\ell := \left\| |\widehat{P}_\ell| |\widehat{Q}_\ell|^T \right\|_{\max}.

Let

(2.36)

ρ(b):=1+12qb,Ωℓ:=∑j∈Gℓσjαjβj,Sℓ:=∑j∈Gℓσj.\rho(b):=1+\frac{1}{2q_{b}},\qquad\Omega_{\ell}:=\sum_{j\in G_{\ell}}\sigma_{j}\alpha_{j}\beta_{j},\qquad S_{\ell}:=\sum_{j\in G_{\ell}}\sigma_{j}.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

Then

(2.37)

Wℓ≤ρ(bℓ)2Ωℓ≤ρ(bℓ)2Sℓ.W_{\ell}\leq\rho(b_{\ell})^{2}\Omega_{\ell}\leq\rho(b_{\ell})^{2}S_{\ell}.

Consequently, if TGℓ=PGℓQGℓTT_{G_\ell} = P_{G_\ell} Q_{G_\ell}^T, we have

(2.38)

∥TGℓ−Cℓ∥max⁡≤[c(bℓ)+γgℓ(ua)ρ(bℓ)2]Ωℓ.\|T_{G_{\ell}}-C_{\ell}\|_{\max}\leq\left[c(b_{\ell})+\gamma_{g_{\ell}}(u_{\mathrm{a}})\rho(b_{\ell})^{2}\right]\Omega_{\ell}.

Replacing Ωℓ\Omega_{\ell} by SℓS_{\ell} gives an error bound depending only on the singular values.

Proof. Applying (2.33) entrywise to the group's GEMM gives (2.35). Lemma 2.2 and the balanced column norms give

(2.39)

∥p^j∥∞≤σjαjρ(bℓ),∥q^j∥∞≤σjβjρ(bℓ).\|\widehat{p}_{j}\|_{\infty}\leq\sqrt{\sigma_{j}}\alpha_{j}\rho(b_{\ell}),\qquad\|\widehat{q}_{j}\|_{\infty}\leq\sqrt{\sigma_{j}}\beta_{j}\rho(b_{\ell}).

Therefore, for every entry,

(2.40)

(∣P^ℓ∣∣Q^ℓ∣T)ik≤∑j∈Gℓ∥p^j∥∞∥q^j∥∞≤ρ(bℓ)2Ωℓ,(|\widehat{P}_{\ell}||\widehat{Q}_{\ell}|^{T})_{i k}\leq\sum_{j\in G_{\ell}}\|\widehat{p}_{j}\|_{\infty}\|\widehat{q}_{j}\|_{\infty}\leq\rho(b_{\ell})^{2}\Omega_{\ell},

which proves (2.37). Finally, split

(2.41)

TGℓ−Cℓ=(TGℓ−P^ℓQ^ℓT)+(P^ℓQ^ℓT−Cℓ),T_{G_{\ell}}-C_{\ell}=\left(T_{G_{\ell}}-\widehat{P}_{\ell}\widehat{Q}_{\ell}^{T}\right)+\left(\widehat{P}_{\ell}\widehat{Q}_{\ell}^{T}-C_{\ell}\right),

and combine Corollary 2.9 with (2.35).

Using the above lemma, we can now state a bound on the local reconstruction error.

THEOREM 2.15. Let G1,…,GsG_1, \ldots, G_s be the bitwidth groups and let every CℓC_\ell be formed as in Lemma 2.14. Suppose their products are accumulated sequentially in the same precision,

(2.42)

T~:=fl(∑ℓ=1sCℓ).\widetilde{T}:=f\mathcal{l}\left(\sum_{\ell=1}^{s}C_{\ell}\right).

Then

(2.43)

∥T−T~∥max⁡≤∑ℓ=1s[c(bℓ)+γgℓ(ua)ρ(bℓ)2+γs−1(ua)(1+γgℓ(ua))ρ(bℓ)2]Ωℓ.\begin{align*}\Big\|T-\widetilde{T}\Big\|_{\max}\leq&\sum_{\ell=1}^{s}\Big[c(b_{\ell})+\gamma_{g_{\ell}}(u_{\mathrm{a}})\rho(b_{\ell})^{2}\\&+\gamma_{s-1}(u_{\mathrm{a}})\big(1+\gamma_{g_{\ell}}(u_{\mathrm{a}})\big)\rho(b_{\ell})^{2}\Big]\Omega_{\ell}.\end{align*}

The same expression with Ωℓ\Omega_{\ell} replaced by SℓS_{\ell} is a conservative singular-value-only error bound.

Proof. The first two terms account for factor quantization and rounding in each GEMM, as in Lemma 2.14. Standard sequential summation gives

(2.44)

∥fl(∑ℓCℓ)−∑ℓCℓ∥max⁡≤γs−1(ua)∑ℓ=1s∥Cℓ∥max⁡.\left\|\mathbf{f}\mathbf{l}\left(\sum_{\ell}C_{\ell}\right)-\sum_{\ell}C_{\ell}\right\|_{\max}\leq\gamma_{s-1}(u_{\mathrm{a}})\sum_{\ell=1}^{s}\|C_{\ell}\|_{\max}.

Moreover, (2.35) implies

(2.45)

∥Cℓ∥max⁡≤(1+γgℓ(ua))Wℓ.\|C_{\ell}\|_{\max}\leq\big(1+\gamma_{g_{\ell}}(u_{\mathrm{a}})\big)W_{\ell}.

Insert (2.37) and add the three error contributions.

☐

The coefficient c(bℓ)c(b_\ell) is caused by quantizing the two balanced factors; γgℓρ(bℓ)2\gamma_{g_\ell}\rho(b_\ell)^2 is the rounding error inside the GEMM for group GℓG_\ell; and the final term is caused by adding the ss group products. Higher accumulation precision reduces the last two terms without changing the stored factor bits. If the integer dot products are accumulated exactly, the GEMM term is zero for that stage, but rounding in scale application and summation of group products must still be modeled in the precision where those operations are performed. In addition, pairwise or compensated summation may replace the sequential-summation factor γs−1\gamma_{s-1} by the corresponding sharper bound.

2.2. Singular value aware bit allocation. The error bound for a reconstructed block has three contributions: low-rank approximation, factor quantization, and reconstruction arithmetic. Bit allocation uses the part of the block budget left after the other two contributions have been accounted for.

LEMMA 2.16. Let AkA_k be a matrix block, let TkT_k be its low-rank approximation, and let T^k\widehat{T}_k be the exact real-arithmetic product of its reconstructed quantized factors. Let T~k\widetilde{T}_k denote the matrix actually returned by the GEMMs for the bitwidth groups and their summation. Let ηk\eta_k be any upper bound satisfying ηk≥∥Ak−Tk∥max⁡\eta_k \geq \|A_k - T_k\|_{\max}, and define

(2.46)

Qk:=∥Tk−T^k∥max⁡,Rk:=∥T^k−T~k∥max⁡.Q_{k}:=\left\|T_{k}-\widehat{T}_{k}\right\|_{\max},\qquad R_{k}:=\left\|\widehat{T}_{k}-\widetilde{T}_{k}\right\|_{\max}.

Then

(2.47)

∥Ak−T~k∥max⁡≤ηk+Qk+Rk.\left\|A_{k}-\widetilde{T}_{k}\right\|_{\max}\leq\eta_{k}+Q_{k}+R_{k}.

Proof. Insert TkT_k and T^k\widehat{T}_k between AkA_k and T~k\widetilde{T}_k and apply the triangle inequality. □\square For a bit assignment bk,1,…,bk,rkb_{k,1}, \ldots, b_{k,r_k}, define the quantization error bound

(2.48)

Qkcert:=∑j=1rkσk,jc(bk,j),Q_{k}^{\mathrm{c e r t}}:=\sum_{j=1}^{r_{k}}\sigma_{k,j}c(b_{k,j}),

so that Qk≤QkcertQ_k \leq Q_k^{\text{cert}} by Theorem 2.8. Let RkcertR_k^{\text{cert}} be the sum of the two GEMM-related terms in (2.43). In the conservative singular-value-only form, if block kk has sks_k nonempty bitwidth groups, this is

(2.49)

Rkcert:=∑ℓ=1sk[γgk,ℓ(ua)ρ(bk,ℓ)2+γsk−1(ua)(1+γgk,ℓ(ua))ρ(bk,ℓ)2]∑j∈Gk,ℓσk,j.R_{k}^{\mathrm{c e r t}}:=\sum_{\ell=1}^{s_{k}}\Big[\gamma_{g_{k,\ell}}(u_{\mathrm{a}})\rho(b_{k,\ell})^{2}+\gamma_{s_{k}-1}(u_{\mathrm{a}})\big(1+\gamma_{g_{k,\ell}}(u_{\mathrm{a}})\big)\rho(b_{k,\ell})^{2}\Big]\sum_{j\in G_{k,\ell}}\sigma_{k,j}.

Then Rk≤RkcertR_k \leq R_k^{\text{cert}}.

Remark 2.17. Suppose the desired total block error constraint is

(2.50)

∥Ak−T~k∥max⁡≤Bktot.\left\|A_{k}-\widetilde{T}_{k}\right\|_{\max}\leq B_{k}^{\mathrm{tot}}.

Choose a nonnegative allowance BkgemmB_{k}^{\mathrm{gemm}} for GEMM rounding and define

(2.51)

Bkq:=Bktot−ηk−Bkgemm.B_{k}^{\mathrm{q}}:=B_{k}^{\mathrm{t o t}}-\eta_{k}-B_{k}^{\mathrm{g e m m}}.

If Bkq≥0B_k^q \geq 0, it is sufficient to impose

(2.52)

Qkcert≤Bkq,Rkcert≤Bkgemm.Q_{k}^{\mathrm{c e r t}}\leq B_{k}^{\mathrm{q}},\qquad R_{k}^{\mathrm{c e r t}}\leq B_{k}^{\mathrm{g e m m}}.

If ηk+Bkgemm>Bktot\eta_k + B_k^{\text{gemm}} > B_k^{\text{tot}}, the low-rank approximation or the GEMM realization must first be improved. In exact arithmetic, Bkgemm=0B_k^{\text{gemm}} = 0 recovers the quantization-only budget Bkq=Bktot−ηkB_k^q = B_k^{\text{tot}} - \eta_k.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

Each entry of A belongs to exactly one block of the partition. Consequently, the global max-norm error is the largest of the blockwise max-norm errors. We present the global reconstruction error in the following theorem.

THEOREM 2.18. Let the blocks satisfy (2.2). Store every diagonal block exactly and, for each non-diagonal block k∈Llrk \in \mathcal{L}_{\mathrm{lr}}, including the inadmissible ones, construct T~k\widetilde{T}_k as above. Let A~\widetilde{A} be the matrix obtained by placing these block representations in their original positions, and write A~k\widetilde{A}_k for its restriction to block kk. Define the maximum over an empty Llr\mathcal{L}_{\mathrm{lr}} as zero. Then

(2.53)

∥A−A~∥max⁡=max⁡k∈L∥Ak−A~k∥max⁡≤max⁡k∈Llr(ηk+Qkcert+Rkcert).\left\|A-\widetilde{A}\right\|_{\max}=\max_{k\in\mathcal{L}}\left\|A_{k}-\widetilde{A}_{k}\right\|_{\max}\leq\max_{k\in\mathcal{L}_{\mathrm{lr}}}\left(\eta_{k}+Q_{k}^{\mathrm{cert}}+R_{k}^{\mathrm{cert}}\right).

In particular, if ηk+Qkcert+Rkcert≤Bktot\eta_k + Q_k^{\text{cert}} + R_k^{\text{cert}} \leq B_k^{\text{tot}} for every factorized block, then

(2.54)

∥A−A~∥max⁡≤max⁡k∈LlrBktot.\left\|A-\widetilde{A}\right\|_{\max}\leq\max_{k\in\mathcal{L}_{\mathrm{lr}}}B_{k}^{\mathrm{tot}}.

Proof. Because the blocks do not overlap, each entry of A−A~A - \widetilde{A} belongs to exactly one block. Its global maximum magnitude is therefore the maximum of the block-wise max norms. Exact diagonal blocks contribute zero, and Lemma 2.16 together with the two local error bounds gives the inequality.

The bound also controls the exact application of the stored representation. Let A^\widehat{A} contain the exact products of the reconstructed quantized factors, with diagonal blocks stored exactly. Then

∥A−A^∥max⁡≤Erep:=max⁡k∈Llr(ηk+Qkcert),\|A-\widehat{A}\|_{\max}\leq E_{\mathrm{rep}}:=\max_{k\in\mathcal{L}_{\mathrm{lr}}}(\eta_{k}+Q_{k}^{\mathrm{cert}}),

with the maximum taken as zero when Llr\mathcal{L}_{\mathrm{lr}} is empty, i.e., Erep=0E_{\mathrm{rep}} = 0 when Llr=∅\mathcal{L}_{\mathrm{lr}} = \varnothing.

For X∈RN×pX \in \mathbb{R}^{N \times p}, it follows that

∥AX−A^X∥max⁡≤Erepmax⁡1≤ℓ≤p∑j=1N∣Xjℓ∣.\|A X-\widehat{A}X\|_{\max}\leq E_{\mathrm{rep}}\max_{1\leq\ell\leq p}\sum_{j=1}^{N}|X_{j\ell}|.

Indeed, each entry of (A−A^)X(A - \widehat{A})X is a sum of products, each bounded by Erep∣Xjℓ∣E_{\mathrm{rep}}|X_{j\ell}|. The computed application also incurs rounding in the factor-matrix products and block accumulation, and those errors are considered separately in supplementary Section F.

Choosing block-wise error bounds. A direct global-relative choice is

(2.55)

Bktot=εtot∥A∥max⁡,k∈Llr.B_{k}^{\mathrm{t o t}}=\varepsilon_{\mathrm{t o t}}\left\|A\right\|_{\max},\qquad k\in\mathcal{L}_{\mathrm{l r}}.

By Theorem 2.18, this yields ∥A−A~∥max⁡≤εtot∥A∥max⁡\left\|A - \widetilde{A}\right\|_{\max} \leq \varepsilon_{\mathrm{tot}} \|A\|_{\max}. A locally scaled alternative is

(2.56)

Bktot=εtot∥Ak∥max⁡.B_{k}^{\mathrm{t o t}}=\varepsilon_{\mathrm{t o t}}\left\|A_{k}\right\|_{\max}.

Since ∥Ak∥max⁡≤∥A∥max⁡\|A_k\|_{\max} \leq \|A\|_{\max}, the same global relative guarantee follows, while every block is controlled relative to its own scale. For very small far-field blocks, a less restrictive choice of block budget is

(2.57)

Bktot=εtotmax⁡{∥Ak∥max⁡,γ∥A∥max⁡},0<γ≤1,B_{k}^{\mathrm{t o t}}=\varepsilon_{\mathrm{t o t}}\max\{\|A_{k}\|_{\max},\gamma\|A\|_{\max}\},\qquad0<\gamma\leq1,

which also remains no larger than εtot∥A∥max⁡\varepsilon_{\mathrm{tot}} \|A\|_{\max}. When AA is not explicitly formed, as in some kernel- or matvec-based hierarchical matrix constructions, the global-relative and hybrid choices require ∥A∥max⁡\|A\|_{\max}, whereas the block-relative choice uses the norms of the individual blocks. Replacing a norm by an upper bound makes the resulting guarantee relative to that bound.

If only the low-rank residual bound ηk≤εlr,k∥A∥max⁡\eta_k \leq \varepsilon_{\mathrm{lr},k} \|A\|_{\max} is known, the global-relative block budget gives the conservative quantization budget

(2.58)

Bkq=(εtot−εlr,k)∥A∥max⁡−Bkgemm,B_{k}^{\mathrm{q}}=\left(\varepsilon_{\mathrm{t o t}}-\varepsilon_{\mathrm{l r},k}\right)\left\|A\right\|_{\max}-B_{k}^{\mathrm{g e m m}},

which is valid when the right-hand side is nonnegative.

Remark 2.19. The separate bounds give a sufficient condition: the allocator first enforces Qkcert≤BkqQ_k^{\text{cert}} \leq B_k^q and the resulting groups are then checked against Rkcert≤BkgemmR_k^{\text{cert}} \leq B_k^{\text{gemm}}. Since RkcertR_k^{\text{cert}} depends on the final group sizes and bitwidths, a less conservative implementation could instead allocate against the joint condition

Qkcert+Rkcert≤Bktot−ηk.Q_{k}^{\mathrm{c e r t}}+R_{k}^{\mathrm{c e r t}}\leq B_{k}^{\mathrm{t o t}}-\eta_{k}.

This couples storage selection with the arithmetic realization and is therefore left outside the present greedy allocation analysis.

Remark 2.20. In (2.53), the error contributions are added within each block, while the global entrywise max-norm bound takes the maximum over blocks. Thus, for the entrywise max-norm representation error, a global budget need not be divided by ∣Llr∣|\mathcal{L}_{\mathrm{lr}}|. Such a division would be unnecessarily conservative. This conclusion depends on the disjoint block partition and does not apply unchanged to a norm or operation in which several block contributions are summed into the same output entry.

Remark 2.21. The global theorem assumes exact diagonal blocks relative to the reference matrix. If these blocks are converted to a lower working precision or quantized, and if DkD_k bounds the resulting error on each diagonal block, then the right-hand side of (2.53) is replaced by

max⁡{max⁡k∈Llr(ηk+Qkcert+Rkcert),max⁡k∈LdDk}.\max\left\{\max_{k\in\mathcal{L}_{\mathrm{lr}}}\left(\eta_{k}+Q_{k}^{\mathrm{cert}}+R_{k}^{\mathrm{cert}}\right),\max_{k\in\mathcal{L}_{\mathrm{d}}}D_{k}\right\}.

The geometry-dependent bound can be sharper, but its weights need not follow the order of the singular values. For the allocation, we therefore use the bound

(2.59)

Esv(b1,⋯ ,br):=∑j=1rσjc(bj)E_{\mathrm{sv}}(b_{1},\cdots,b_{r}):=\sum_{j=1}^{r}\sigma_{j}c(b_{j})

to select the precision of each singular component. For a hierarchical block, the available budget BqB^{q} is the amount left after the low-rank error and the allowance for GEMM rounding are subtracted from the block budget, as in (2.51); the block index is again suppressed in this section.

Let the available bitwidths be

(2.60)

B={b1,…,bL},2≤b1<b2<⋯<bL.\mathcal{B}=\{\mathfrak{b}_{1},\ldots,\mathfrak{b}_{L}\},\qquad2\leq\mathfrak{b}_{1}<\mathfrak{b}_{2}<\cdots<\mathfrak{b}_{L}.

Set cℓ:=c(bℓ)c_\ell := c(\mathfrak{b}_\ell). The following monotonicity observation determines the smallest possible value of EsvE_{\mathrm{sv}}.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

LEMMA 2.22. The coefficient c(b)c(b) in (2.8) strictly decreases with the bit width b≥2b \geq 2. Hence c1>c2>⋯>cL>0c_1 > c_2 > \cdots > c_L > 0.

Proof. qb=2b−1−1q_b = 2^{b-1} - 1 is strictly increasing in bb. For q>0q > 0, the function f(q)=1/q+1/4q2f(q) = 1/q + 1/4q^2 has derivative

(2.61)

f′(q)=−1q2−12q3<0.f^{\prime}(q)=-\frac{1}{q^{2}}-\frac{1}{2q^{3}}<0.

Thus c(b)=f(qb)c(b) = f(q_b) strictly decreases as bb increases.

Bitwidth allocation. Ignoring fixed scale metadata, a balanced rank-one component stored at bjb_j bits requires (m+n)bj(m + n)b_j bits for its factor entries. Therefore the allocation problem subject to the error bound is

(2.62)

min⁡bj∈BMpayload=(m+n)∑j=1rbj,s.t.∑j=1rσjc(bj)≤Bq.\min_{b_{j}\in\mathcal{B}}\quad M_{payload}=(m+n)\sum_{j=1}^{r}b_{j},\qquad s.t.\quad\sum_{j=1}^{r}\sigma_{j}c(b_{j})\leq B^{q}.

As such, the role of singular values in storage is obvious. Let ε−j\varepsilon - j be the positive error allowances, which is assigned to the individual components, with ∑j=1rεj≤Bq\sum_{j=1}^{r} \varepsilon_j \leq B^q. Therefore, the smallest available bitwidth meeting the allowance for component jj is

bjreq=min⁡{b∈B:σjc(b)≤εj},b_{j}^{\mathrm{r e q}}=\min\{b\in\mathcal{B}:\sigma_{j}c(b)\leq\varepsilon_{j}\},

which is assumed to be nonempty. Since c(b)∼21−bc(b) \sim 2^{1-b} as bb increases, this gives the approximate relation bjreq≈⌈1+log⁡2(σj/εj)⌉b_j^{\text{req}} \approx \lceil 1 + \log_2(\sigma_j / \varepsilon_j) \rceil before restriction to the available bitwidths. (2.62) chooses the bitwidths under a total error budget without prescribing the individual allowances εj\varepsilon_j.

COROLLARY 2.23. The constraint Esv≤BqE_{\mathrm{sv}} \leq B^{\mathrm{q}} in problem (2.62) is feasible if and only if

(2.63)

cL∑j=1rσj≤Bq.c_{L}\sum_{j=1}^{r}\sigma_{j}\leq B^{q}.

Proof. The smallest available error coefficient is cLc_L, so assigning every component to bL\mathbf{b}_L gives the minimum value of EsvE_{\mathrm{sv}} among all admissible bit assignments. Thus (2.63) is both necessary and sufficient.

Swapping the bitwidths of two components leaves their storage cost unchanged but can change their contribution to the error bound. This suggests assigning no fewer bits to a larger singular value.

THEOREM 2.24. Assume σ1≥σ2≥⋯≥σr\sigma_1 \geq \sigma_2 \geq \cdots \geq \sigma_r. For the optimization problem (2.62), there exists a storage-optimal feasible assignment satisfying b1≥b2≥⋯≥brb_1 \geq b_2 \geq \cdots \geq b_r. Thus a larger singular value never needs fewer bits than a smaller singular value in at least one optimal solution.

Proof. Consider an inversion: indices i<ji < j with σi≥σj\sigma_i \geq \sigma_j but bi<bjb_i < b_j. Since c(b)c(b) decreases with bb, c(bi)>c(bj)c(b_i) > c(b_j). Swapping the two bitwidths leaves storage unchanged. The change in EsvE_{\mathrm{sv}} is

(2.64)

σic(bj)+σjc(bi)−σic(bi)−σjc(bj)=(σi−σj)(c(bj)−c(bi))≤0.\sigma_{i}c(b_{j})+\sigma_{j}c(b_{i})-\sigma_{i}c(b_{i})-\sigma_{j}c(b_{j})=(\sigma_{i}-\sigma_{j})\big(c(b_{j})-c(b_{i})\big)\leq0.

Hence removing an inversion cannot increase the error bound. Repeating this exchange produces a monotone assignment with the same storage and no larger error. Applying this to any storage-optimal feasible assignment proves the claim.

The exchange argument does not determine how many components receive each bitwidth. It does show that one optimal assignment can be described by boundaries in the ordered singular value list.

COROLLARY 2.25. Under the assumptions of Theorem 2.24, an optimal assignment can be represented by contiguous index intervals

(2.65)

G1,G2,…,GL,G_{1},G_{2},\ldots,G_{L},

where G1G_{1} contains a suffix of the smallest singular values assigned to the lowest precision b1b_{1}, the next nonempty group contains the next suffix, and the dominant singular values are assigned to the highest precisions. Empty groups are allowed.

Greedy bit allocation. The greedy strategy assigns the lowest available bitwidth to as many of the smallest singular components as possible, while accounting for the error still required by the unassigned components. At every step, it reserves the minimum possible future error of all still-unassigned dominant singular components. This avoids the failure mode in which too much budget is spent on small singular values and the remaining dominant components cannot fit even at the highest available precision. Algorithm 2.1 implements this rule.

Algorithm 2.1 Greedy allocation with a bound on the remaining error

Ensure: Feasibility flag; groups G1,…,GLG_1, \ldots, G_L; precision map b1,…,brb_1, \ldots, b_r; quantization error bound EcertE_{\text{cert}}; bits used by the factors MpayloadM_{\text{payload}}.

1: Compute cℓ=c(bℓ)c_\ell = c(\mathfrak{b}_\ell) for ℓ=1,…,L\ell = 1, \ldots, L.

2: Compute prefix sums St=∑j=1tσjS_t = \sum_{j=1}^t \sigma_j, with S0=0S_0 = 0.

3: if cLSr>Bqc_L S_r > B^q then

4: return INFEASIBLE

5: end if

6: Set R←BqR \leftarrow B^q, t←rt \leftarrow r, and Gℓ←∅G_\ell \leftarrow \varnothing for all ℓ\ell.

7: for ℓ=1,…,L−1\ell = 1, \ldots, L - 1 do

8: C←0C \leftarrow 0

9: while t≥1t \geq 1 and C+cℓσt+cLSt−1≤RC + c_\ell \sigma_t + c_L S_{t-1} \leq R do

10: Prepend tt to GℓG_\ell.

11: bt←bℓb_t \leftarrow \mathfrak{b}_\ell; C←C+cℓσtC \leftarrow C + c_\ell \sigma_t; t←t−1t \leftarrow t - 1.

12: end while

13: R←R−CR \leftarrow R - C.

14: end for

15: if t≥1t \geq 1 then

16: GL←{1,…,t}G_L \leftarrow \{1, \ldots, t\}.

17: for j=1,…,tj = 1, \ldots, t do

18: bj←bLb_j \leftarrow \mathfrak{b}_L.

19: end for

20: R←R−cLStR \leftarrow R - c_L S_t.

21: end if

22: Ecert←Bq−RE_{\text{cert}} \leftarrow B^q - R, Mpayload←(m+n)∑j=1rbjM_{\text{payload}} \leftarrow (m + n) \sum_{j=1}^r b_j.

23: return FEASIBLE, {Gℓ}\{G_\ell\}, {bj}\{b_j\}, EcertE_{\text{cert}}, MpayloadM_{\text{payload}}.

Now we define prefix sums

(2.66)

St=∑j=1tσj,S0=0.S_{t}=\sum_{j=1}^{t}\sigma_{j},\qquad S_{0}=0.

At a stage where indices 1,…,t1, \ldots, t remain unassigned, their minimum possible contribution to EsvE_{\mathrm{sv}} is cLStc_{L}S_{t}.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

LEMMA 2.26. At the beginning of each precision level in Algorithm 2.1, if indices 1, ..., t remain unassigned and R is the remaining budget, then

(2.67)

cLSt≤R.c_{L}S_{t}\leq R.

Proof. The invariant holds initially by the feasibility test. During a precision level, suppose the current group contributes C to the error bound. Every accepted index satisfies

(2.68)

C+cℓσt+cLSt−1≤R.C+c_{\ell}\sigma_{t}+c_{L}S_{t-1}\leq R.

After accepting it and updating C and t, this becomes C+cLSt≤RC + c_L S_t \leq R.

When the group is closed, the algorithm sets R←R−CR \leftarrow R - C, yielding cLSt≤Rc_L S_t \leq R. If no index is accepted, neither RR nor tt changes. Thus the invariant is preserved.

Lemma 2.26 shows that each completed group leaves enough budget to assign the remaining components at the highest available bitwidth. Theorem 2.27 then establishes that the resulting monotone allocation satisfies the quantization budget and the corresponding max-norm error bound.

THEOREM 2.27. If (2.63) holds, Algorithm 2.1 terminates with a monotone bitwidth assignment satisfying

(2.69)

∑j=1rσjc(bj)=Ecert≤Bq.\sum_{j=1}^{r}\sigma_{j}c(b_{j})=E_{\mathrm{cert}}\leq B^{\mathrm{q}}.

Consequently, under the column-wise balanced quantization model, we have

(2.70)

∥T−T^∥max⁡≤Ecert≤Bq.\left\|T-\widehat{T}\right\|_{\max}\leq E_{\mathrm{cert}}\leq B^{\mathrm{q}}.

Proof. By Lemma 2.26, when the algorithm reaches the highest precision, the remaining prefix satisfies cLSt≤Rc_L S_t \leq R and therefore fits in the remaining budget. All committed group errors are nonnegative, so the final remaining budget is nonnegative. Hence Ecert=Bq−R≤BqE_{\text{cert}} = B^q - R \leq B^q. The assignment is monotone because the algorithm processes singular values from the smallest upward while processing bitwidths from the lowest upward. The max-norm statement follows from Theorem 2.8.

Remark 2.28. Algorithm 2.1 greedily makes each low-precision tail group as large as possible while leaving enough budget for the remaining prefix. It guarantees feasibility under (2.63)(2.63), but does not generally minimize the stored factor bits over the available bitwidths.

Mixed-bit H-matrix construction. The local allocator becomes a hierarchical algorithm by applying it independently to every non-diagonal block, including non-diagonal inadmissible blocks. Here, no allocation is performed before the singular components are known. First, the rank components receive bitwidths, and only then do components with a common bitwidth form a group. The groups do not share a quantization scale; each column retains its own left and right scales. The admissibility test determines where subdivision stops; both admissible and non-diagonal inadmissible blocks use factorized storage. If the permitted rank, available bitwidths, and arithmetic choices cannot meet a block-wise error bound, construction reports infeasibility rather than storing that block in dense form.

Algorithm 2.2 Mixed-bit H-matrix construction with diagonal-only dense storage

Require: Matrix access or block data; hierarchical block partition L=Llr∪Ld\mathcal{L} = \mathcal{L}_{\mathrm{lr}} \cup \mathcal{L}_{\mathrm{d}}; block budgets BktotB_k^{\mathrm{tot}}; bit set B\mathcal{B}; GEMM accumulator precision uau_a and reserves BkgemmB_k^{\mathrm{gemm}}.

1: for all k∈Ldk \in \mathcal{L}_{\mathrm{d}} do

2: Store the diagonal block AkA_k exactly.

3: end for

4: for all non-diagonal k∈Llrk \in \mathcal{L}_{\mathrm{lr}} (admissible or inadmissible) do

5: Construct or recompress Tk=UkΣkVkTT_k = U_k \Sigma_k V_k^T and obtain ηk≥∥Ak−Tk∥max⁡\eta_k \geq \|A_k - T_k\|_{\max}.

6: Set Bkq←Bktot−ηk−BkgemmB_k^q \leftarrow B_k^{\mathrm{tot}} - \eta_k - B_k^{\mathrm{gemm}}.

7: if Bkq<0B_k^q < 0 then

8: Refine the low-rank approximation or increase GEMM accuracy; recompute the budget, or return infeasibility if permitted refinements are exhausted. Continue only after the budget is nonnegative.

9: end if

10: Apply Algorithm 2.1 to {σk,j}j=1rk\{\sigma_{k,j}\}_{j=1}^{r_k} with budget BkqB_k^q.

11: if the highest-precision feasibility test fails then

12: Increase the admissible precision set or improve the low-rank approximation and recompute the budget; repeat the block allocation, or return infeasibility if permitted refinements are exhausted.

13: end if

14: Form pk,j=σk,juk,jp_{k,j} = \sqrt{\sigma_{k,j}} u_{k,j} and qk,j=σk,jvk,jq_{k,j} = \sqrt{\sigma_{k,j}} v_{k,j}; quantize each column with its own left and right scale at bitwidth bk,jb_{k,j}.

15: Form groups Gk,ℓ={j:bk,j=bℓ}G_{k,\ell} = \{j : b_{k,j} = b_\ell\} and compute RkcertR_k^{\mathrm{cert}} from Theorem 2.15.

16: if Rkcert>BkgemmR_k^{\mathrm{cert}} > B_k^{\mathrm{gemm}} then

17: Increase accumulator precision, use a sharper group summation, or enlarge the rounding allowance and rerun the allocation; return infeasibility if permitted refinements are exhausted.

18: end if

19: Set Ek←ηk+Qkcert+RkcertE_k \leftarrow \eta_k + Q_k^{\mathrm{cert}} + R_k^{\mathrm{cert}}.

20: end for

21: EH←max⁡k∈LlrEkE_{\mathcal{H}} \leftarrow \max_{k \in \mathcal{L}_{\mathrm{lr}}} E_k (zero if Llr=∅\mathcal{L}_{\mathrm{lr}} = \varnothing).

22: return A~\widetilde{A} and EHE_{\mathcal{H}}.

THEOREM 2.29. If every repeated block step in Algorithm 2.2 terminates with Qkcert≤BkqQ_k^{\text{cert}} \leq B_k^q, Rkcert≤BkgemmR_k^{\text{cert}} \leq B_k^{\text{gemm}}, then

(2.71)

∥A−A~∥max⁡≤EH≤max⁡k∈LlrBktot.\left\|A-\widetilde{A}\right\|_{\max}\leq E_{\mathcal{H}}\leq\max_{k\in\mathcal{L}_{\mathrm{lr}}}B_{k}^{\mathrm{tot}}.

Proof. For each factorized block, Remark 2.17 gives Ek≤BktotE_k \leq B_k^{\text{tot}}. The result then follows directly from Theorem 2.18.

Extension to ACA-generated blocks. The preceding theory does not require the initial low-rank approximation to be constructed by a large dense SVD. Now suppose adaptive cross approximation (ACA) produces

(2.72)

Ak≈XkYkT,Xk∈Rmk×r,Yk∈Rnk×r.A_{k}\approx X_{k}Y_{k}^{T},\qquad X_{k}\in\mathbb{R}^{m_{k}\times r},\quad Y_{k}\in\mathbb{R}^{n_{k}\times r}.

A small-factor recompression supplies the orthogonal SVD coordinates needed by the singular value aware allocation. Compute thin QR factorizations Xk=QXRXX_k = Q_X R_X and Yk=QYRYY_k = Q_Y R_Y, and the SVD of the RXRYT∈Rr×rR_X R_Y^T \in \mathbb{R}^{r \times r}, which gives

(2.73)

RXRYT=U~ΣkV~T⇒XkYkT=(QXU~)Σk(QYV~)T,R_{X}R_{Y}^{T}=\widetilde{U}\Sigma_{k}\widetilde{V}^{T}\Rightarrow X_{k}Y_{k}^{T}=(Q_{X}\widetilde{U})\Sigma_{k}(Q_{Y}\widetilde{V})^{T},

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

so Uk=QXU~U_k = Q_X \widetilde{U} and Vk=QYV~V_k = Q_Y \widetilde{V} can be passed directly to the balanced quantization and allocation stages. Only the small core requires an SVD.

The reconstruction analysis requires a valid low-rank residual bound. If ACA provides ηkACA≥∥Ak−XkYkT∥max⁡\eta_k^{\text{ACA}} \geq \|A_k - X_k Y_k^T\|_{\max} and recompression introduces ηkrec≥∥XkYkT−Tk∥max⁡\eta_k^{\text{rec}} \geq \|X_k Y_k^T - T_k\|_{\max}, then

(2.74)

∥Ak−Tk∥max⁡≤ηkACA+ηkrec.\|A_{k}-T_{k}\|_{\max}\leq\eta_{k}^{\mathrm{ACA}}+\eta_{k}^{\mathrm{rec}}.

Thus one may take ηk:=ηkACA+ηkrec\eta_k := \eta_k^{\text{ACA}} + \eta_k^{\text{rec}} in (2.51). An ACA stopping estimator that is not a proven upper bound gives an empirical rather than a fully certified global result; the quantization and GEMM parts of the analysis remain valid conditionally on the reported ηk\eta_k.

  1. Storage accounting. The objective in (2.62) counts only bits used by the quantized factor entries, omitting scales and bitwidth labels. Over the complete hierarchical partition, this contribution is

(3.1)

MH,lr=∑k∈Llr(mk+nk)∑j=1rkbk,j.M_{\mathcal{H},\mathrm{l r}}=\sum_{k\in\mathcal{L}_{\mathrm{l r}}}(m_{k}+n_{k})\sum_{j=1}^{r_{k}}b_{k,j}.

Let bdb_d be the number of bits per dense entry. Diagonal blocks add MH,d=bd∑k∈LdmknkM_{\mathcal{H},d} = b_d \sum_{k \in \mathcal{L}_d} m_k n_k bits. The sum in (3.1) includes non-diagonal inadmissible blocks; a failed non-diagonal candidate makes the strict construction infeasible rather than reverting to dense storage. Each retained component requires two reconstruction scales, so scales stored at bsb_s bits per scale contribute Mscale=2bs∑k∈LlrrkM_{\text{scale}} = 2b_s \sum_{k \in \mathcal{L}_{\text{lr}}} r_k. Including bitwidth labels gives the reported storage model

(3.2)

MH=MH,lr+MH,d+Mscale+Mmap,M_{\mathcal{H}}=M_{\mathcal{H},\mathrm{l r}}+M_{\mathcal{H},\mathrm{d}}+M_{\mathrm{s c a l e}}+M_{\mathrm{m a p}},

where MmapM_{map} counts the selected widths. Hierarchical storage totals include scales and direct precision labels but exclude tree topology, headers, and workspace; (2.62) excludes all metadata. Encoding details are given in supplementary Section A.

The width bb denotes the signed integer quantizer in (2.5). Assumption 2.1 requires exact or sufficiently accurate scales. Lower-precision scales introduce errors not included in EgeomE_{\mathrm{geom}} or EcertE_{\mathrm{cert}} and require a separate allowance. Theorems 2.8 and 2.27 use separate left and right scales for each balanced column. If the columns of a bitwidth group share one scale within each factor, the error bound depends on the group maxima aGa_G and dGd_G as in (2.27). Finally, zero singular value components may be discarded before allocation, so rr denotes the retained positive rank.

  1. Numerical experiments. We compare measured errors with the theoretical bounds and evaluate the discrete allocation quality and the storage benefit of quantization in complete hierarchical representations. The principal storage and bound comparisons use FP64 emulation. Separate C++/CUDA tests examine numerical behavior of the native implementation. On a single NVIDIA A100 GPU, all 1,501 native reconstruction tests with strict arithmetic error bounds satisfied their stated allowances. The mixed-bit path decodes factors to FP32 and uses floating-point GEMMs (see supplementary Section E).

4.1. Test problems and methodology. The local tests use n×nn \times n matrices T=UΣVTT = U \Sigma V^T, with n∈{256,512}n \in \{256, 512\} and rank r=64r = 64. We construct the orthonormal columns of UU and VV by QR factorization of independent Gaussian matrices and prescribe the singular values σj=0.82j−1\sigma_j = 0.82^{j-1}, σj=j−1.4\sigma_j = j^{-1.4}, or σj=1\sigma_j = 1. These three cases are referred to below as the Exponential, Algebraic, and Flat spectra. We use B={4,8,12,16}\mathcal{B} = \{4, 8, 12, 16\} and six relative tolerances from 0.002 to 0.1 (listed in supplementary Section A), with local quantization budget Bq=ε∥T∥max⁡B^q = \varepsilon \|T\|_{\max}.

The hierarchical suite contains 44 matrices: Euclidean point kernels, BEM matrices, and six supplementary one-dimensional kernels. For the point kernels, Aij=1/∥xi−xj∥2A_{ij} = 1 / \|x_i - x_j\|_2 or log⁡∥xi−xj∥2\log \|x_i - x_j\|_2 for i≠ji \neq j, with N∈{512,1024,2048}N \in \{512, 1024, 2048\} uniform or clustered points in two or three dimensions. We set Aii=0A_{ii} = 0 without regularizing off-diagonal distances; no positive definiteness or three dimensional Laplace interpretation of log⁡r\log r is assumed.

The BEM matrices discretize single-layer operators by constant panels and midpoint collocation:

Aij(2)=−12π∫Γjlog⁡∥xi−y∥2dsy,Aij(3)=14π∫ΓjdSy∥xi−y∥2.A_{i j}^{(2)}=-\frac{1}{2\pi}\int_{\Gamma_{j}}\log\|x_{i}-y\|_{2}d s_{y},\qquad A_{i j}^{(3)}=\frac{1}{4\pi}\int_{\Gamma_{j}}\frac{d S_{y}}{\|x_{i}-y\|_{2}}.

Circle and ellipse boundaries have up to 2048 panels; cube and cuboid boundaries have up to 1536. Analytic panel integrals include singular self terms, without forced symmetrization. Supplementary Section A specifies the geometries and remaining kernels.

We build the common row/column cluster tree by a stable median split along the coordinate of largest spread, stopping when a cluster contains at most 32 indices. For BEM matrices, cluster boxes enclose full panel supports. We use a geometric admissibility test based on cluster bounding boxes [13, 4]. For boxes BτB_\tau and BσB_\sigma, a block is admissible when dist(Bτ,Bσ)≥ηadmmax⁡{diam(Bτ),diam(Bσ)}\text{dist}(B_\tau, B_\sigma) \geq \eta_{\text{adm}} \max\{\text{diam}(B_\tau), \text{diam}(B_\sigma)\}. Here, distance is the Euclidean separation of the boxes, diameter is the length of a box diagonal, and we set ηadm=1\eta_{\text{adm}} = 1. Otherwise the block-tree recursion continues until both clusters are terminal. Every non-diagonal block, including inadmissible ones, is factorized; only diagonal blocks remain dense in FP64. We use ten total relative tolerances from 10−610^{-6} to 10−110^{-1} (see supplementary Section A for details). Unless stated otherwise Bktot=ε∥Ak∥max⁡B_k^{\text{tot}} = \varepsilon \|A_k\|_{\max}. For each non-diagonal block, rank selection starts from a full dense SVD and requires its tail to satisfy both a relative Frobenius target of 0.1 and an absolute allowance of 0.25Bktot0.25B_k^{\text{tot}}. The measured max-norm residual ηk\eta_k is then subtracted from the budget, with 2% reserved for arithmetic. Ranks may reach the smaller block dimension; low rank is an observed property, not an assumption.

The available integer bitwidths are {4,8,12,16,24,32}\{4, 8, 12, 16, 24, 32\}, with FP64 scales, group products, and accumulation. Failed candidates are reported as infeasible, without dense non-diagonal substitution. Independent arithmetic tests use both FP32 and FP64. Emulation forms integer codes and independently scaled decoded factors. The reported storage is calculated from the assigned integer bitwidths, FP64 scales, and bitwidth labels.

For the implemented arithmetic bound, factor-representation rounding is included in addition to Theorem 2.15. With Wk=∑jσk,jρ(bk,j)2W_k = \sum_j \sigma_{k,j} \rho(b_{k,j})^2, one rounding per factor entry gives

(4.1)

Rkimpl=(2ua+ua2)Wk+(1+ua)2Rkcert.R_{k}^{\mathrm{i m p l}}=(2u_{\mathrm{a}}+u_{\mathrm{a}}^{2})W_{k}+(1+u_{\mathrm{a}})^{2}R_{k}^{\mathrm{c e r t}}.

The native decoder uses γ2(ua)\gamma_{2}(u_{\mathrm{a}}) to account for scale multiplication and conversion (supplementary Section C).

4.2. Local error bounds and allocation quality. We compare Algorithm 2.1 with uniform bitwidths, the low to high greedy baseline without a future-error reserve,

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

Figure

FIG. 4.1. Local reconstruction errors and error bounds divided by Bq=ε∥T∥max⁡B^q = \varepsilon \| T \|_{\max}, for n=256n = 256 and rank 64. Both bounds are evaluated on the same greedy assignments, which use singular value weights. Missing points are referred to as those do not satisfy Esv≤BqE_{\mathrm{sv}} \leq B^q.

and a dynamic-programming (DP) optimum for the same discrete payload objective under the singular value error bound. Across the 36 matrix tolerance pairs, the proposed allocator and DP have the same 24 feasible cases as uniform 16-bit allocation. The remaining 12 cases fail the highest-bit feasibility test: even assigning 16 bits to every retained component cannot satisfy Esv≤BqE_{\mathrm{sv}} \leq B^q. The baseline without a reserve returns no feasible assignment in this sweep, including the 24 cases for which a feasible assignment exists. Uniform 4- and 8-bit assignments are also infeasible throughout, whereas uniform 12-bit succeeds in four cases. Thus the future-error reserve ensures feasibility under the prescribed error bound. The feasibility threshold remains determined by the highest available bitwidth.

For example, with eight unit singular values, B={4,8,16}\mathcal{B} = \{4, 8, 16\}, and Bq=6c(4)+c(16)/2B^q = 6c(4) + c(16)/2, the baseline assigns six components 4 bits, leaving only c(16)/2c(16)/2 for two components that require at least 2c(16)2c(16). The proposed rule assigns five components 4 bits and three 8 bits and remains feasible; supplementary Figure B.4 shows the corresponding slack trace.

For all 76 feasible local results, including the baselines, the measured reconstruction errors remain below the corresponding singular value-based bounds. For the 24 proposed allocations, the largest ratio of measured error to ∑jσjc(bj)\sum_j \sigma_j c(b_j) is 0.0162 (rounded upward). Evaluating the geometry-aware bound on the same assignments reduces the bound by factors between 25.8 and 54.2, without a violation. The difference between the two bounds comes from retaining αjβj\alpha_j \beta_j in the geometry-aware bound; the assignments still use the ordered weights σj\sigma_j. Figure 4.1 displays the normalized errors and both bounds for n=256n = 256. The gap between the two bounds identifies a source of potential improvement in allocation, while the remaining gap to measured error cautions against treating either bound as an error prediction.

Adaptivity is most useful for decaying spectra. At ε=0.1\varepsilon = 0.1, the exponential cases require only 52.3–54.3% of the uniform 16-bit payload, whereas the flat cases require 94.9–96.1%. Figure 4.2 shows the corresponding tolerance dependence, normalized by the bits used by uniform 16-bit factors rather than dense matrix storage, thereby removing the common low-rank compression factor. Dominant components retain high precision while a low-precision tail absorbs the remaining error budget. Figure 4.3 shows the assignments: for the exponential case at n=256n = 256, ε=0.1\varepsilon = 0.1, 20, 2, 6, and 36 components receive 16, 12, 8, and 4 bits, respectively. Maps need not be nested across tolerances; monotonicity in singular value index within an assignment is a different

Figure

Reserve greedy DP optimum Uniform 16-bit Uniform 12-bit

FIG. 4.2. Local integer payload relative to uniform 16-bit factors for n = 256 and r = 64. Only assignments satisfying Esv≤BqE_{\mathrm{sv}} \leq B^q are shown; infeasible points are omitted. Uniform 4- and 8-bit allocations and the baseline without a reserve have no feasible points. Scale and precision-map metadata are excluded. The algebraic spectrum shows that greedy need not dominate a feasible uniform precision.

Figure

FIG. 4.3. Representative greedy bitwidth assignments for n = 256, r = 64. Indices follow decreasing singular value. The exponential and algebraic cases show different transitions; the latter also exhibits the payload behavior in supplementary Table B.2.

property. Supplementary Section B gives the full local validation and the n = 512 storage curves.

We next compare the factor bits used by greedy with those of the DP-optimal assignment. Let MGM_G and M∗M_* be the bits used by the factors under the proposed greedy and DP-optimal assignments, respectively. Over the 24 matched pairs, MG/M∗M_G/M_* has median 1.091 and maximum 1.503. The maximum occurs for the algebraic spectrum with n=256n = 256 at ε=0.1\varepsilon = 0.1. Theorem 2.27 guarantees feasibility; the ratios above show how the greedy payload compares with the DP optimum under the same error bound.

The uniform baseline also matters. At ε=0.1\varepsilon = 0.1, uniform 12-bit allocation is feasible for both algebraic-spectrum cases, but greedy uses 13.54% and 14.58% more payload for n = 256 and 512, respectively. In these cases, uniform 12-bit factors use less storage than the greedy assignment, despite its savings relative to uniform 16-bit factors. For the algebraic cases, greedy payload also increases when the tolerance changes from 0.05 to 0.1, and the payloads is given in supplementary Table B.2. The feasible sets expand with the budget, but the recomputed greedy choices need not improve the

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

(a) Paired feasible cases

(b) Feasibility

Figure

precision-menu extension

available precision menu

Greedy DP

FIG. 4.4. Sensitivity to available bitwidths in the independent rank-25 study. Left: paired payload ratios over cases feasible before and after each extension (180, 180, and 450 pairs, respectively); boxes show quartiles and medians, and whiskers span the full range. Newly feasible cases are excluded from these ratios. Right: feasibility counts out of 450, identical for the proposed greedy method, DP, and the best feasible uniform precision. The dotted line on the left denotes unchanged payload.

objective. This is a property of the heuristic, not of the exact discrete optimum, whose payload cannot increase when its budget is relaxed.

4.3. Sensitivity to available bitwidths. A separate FP64 emulation study varies the set of available bitwidths while keeping each matrix and its budget fixed. It uses 200×180200 \times 180 matrices of rank 25, ten random seeds, five spectra, and nine tolerances, giving 450 matrix tolerance pairs. The spectra comprise three exponential decays, an algebraic decay, and a flat spectrum; supplementary Section B.1 specifies the reproducible configuration. The nested sets of bitwidths are

B0={4,8,12,16},B1=B0∪{6,10},B_{0}=\{4,8,12,16\},\quad B_{1}=B_{0}\cup\{6,10\}, B2=B1∪{24,32},B3=B2∪{2}.B_{2}=B_{1}\cup\{24,32\},\quad B_{3}=B_{2}\cup\{2\}.

Comparisons use bits for the integer factor entries, excluding metadata, with the same constraint Esv≤BqE_{\mathrm{sv}} \leq B^{\mathrm{q}} for greedy, DP, and the best feasible uniform precision.

However, increasing the available bitwidths does not necessarily improve the heuristic. From B0B_{0} to B1B_{1}, the highest-bit feasibility threshold is unchanged: both sets admit 180 pairs. Nevertheless, greedy payload increases in 153 of 180 matched pairs, by at most 24.65% (rounded upward), whereas DP payload never increases. Adding 24- and 32-bit choices admits all 450 pairs, including 270 newly feasible pairs. On the original 180 pairs, however, greedy uses more payload in 177 cases, with a maximum increase of 66.87%. Adding the 2-bit choice changes no feasibility decision and can either increase or decrease greedy payload.

The distinction is between a larger feasible set and the decisions of a particular heuristic. A lower highest-bit coefficient permits more aggressive early commitments to the low-precision tail; repairing the remaining prefix can then be expensive. DP cannot deteriorate under these nested sets, since every previous assignment remains admissible. For the same reason, retaining a previously feasible assignment as an incumbent would guard against payload regression, without implying DP optimality. Supplementary Sections B.1 and B.2 give spectrum-resolved statistics and a reserve trace, and distinguish the exact feasibility boundary from its floating-point realization. No runtime conclusion is drawn from this study.

Figure

FIG. 4.5. Circle BEM, N = 2048, with block-relative budgets and only diagonal blocks stored densely. Left: absolute max-norm error and error bound. Middle: storage ratios against dense FP64 and same-partition floating factors. Right: shares of total stored bits, including scales and maps, for the three block classes. The horizontal tolerance is relative to each block norm. All points represent feasible quantized constructions.

4.4. Hierarchical reconstruction errors and storage reduction. All 44×10×3=1,32044 \times 10 \times 3 = 1,320 combinations of matrix, tolerance, and block budget are feasible when only diagonal blocks are stored densely, with no off-diagonal dense fallback. None violates e=∥A−A~∥max⁡≤E=max⁡k∈Llr(ηk+Qkcert+Rkimpl)e = \left\| A - \widetilde{A} \right\|_{\max} \leq E = \max_{k \in \mathcal{L}_{\mathrm{lr}}} (\eta_k + Q_k^{\mathrm{cert}} + R_k^{\mathrm{impl}}) with validation allowance 10−1210^{-12}. All measured errors are nonzero; for block-relative budgets, E/eE/e ranges from 4.39 to 36.75. Thus the error bound is conservative but remains informative over five orders of magnitude in prescribed tolerance. The quantization term is at least 86.0% of the dominant block's error bound.

Figure 4.5 shows the circle BEM matrix at N = 2048. The measured error stays below the error bound throughout the sweep. Here, as in the other BEM tests, the reference is the assembled collocation matrix.

Let MqM_{q} include bits for the quantized factors, FP64 diagonal blocks, column scales, and precision maps, but exclude tree topology, allocation overhead, and execution workspace. We distinguish total compression from the incremental storage benefit of quantization:

Cε=64N2Mq,G32=D+32SMq,G64=D+64SMq,C_{\varepsilon}=\frac{64N^{2}}{M_{\mathrm{q}}},\qquad G_{32}=\frac{D+32S}{M_{\mathrm{q}}},\qquad G_{64}=\frac{D+64S}{M_{\mathrm{q}}},

where DD is the diagonal dense cost and S=∑k∈Llr(mk+nk)rkS = \sum_{k \in \mathcal{L}_{\mathrm{lr}}} (m_k + n_k) r_k. The floating-factor controls retain the identical partition and ranks, absorb singular values, and require no quantization scales or precision maps. The ratios therefore quantify storage differences for the fixed partition and ranks.

Table 4.1 gives C0.01=8.890−39.141C_{0.01} = 8.890 - 39.141, whereas the same-partition gains are G32=1.666−2.757G_{32} = 1.666 - 2.757 and G64=2.721−5.361G_{64} = 2.721 - 5.361. Circle BEM has the largest dense-baseline compression but the smallest same-partition gain among these cases. Conversely, the three dimensional 1/r point kernel has substantially less total compression but the largest incremental quantization gain. Geometric compressibility and precision reduction are therefore distinct effects; the dense-baseline ratio alone does not measure the contribution of adaptive bit allocation.

The storage decomposition identifies different remaining limitations. At ε=0.01\varepsilon = 0.01, diagonal blocks occupy 61.16% of the circle BEM representation, whereas non-diagonal

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

TABLE 4.1

Diagonal-only dense storage at ε=0.01\varepsilon = 0.01 with block-relative budgets. Each geometry uses its largest tested matrix; point clouds are uniform. C0.01C_{0.01} compares against dense FP64; G32,G64G_{32}, G_{64} compare against same-partition, same-rank floating factors with unchanged FP64 diagonal blocks. The quantized denominator includes scales and maps.

MatrixNC0.01C_{0.01}G32G_{32}G64G_{64}E/e
2D BEM, circle204839.1411.6662.72110.48
2D BEM, ellipse204837.1071.6802.7816.74
3D BEM, cube153612.5242.5424.8899.29
3D BEM, cuboid153612.9082.4544.70613.18
2D uniform, 1/r204819.1332.4374.5759.92
2D uniform, log r204819.8732.3794.4488.08
3D uniform, 1/r20489.8282.7575.36115.07
3D uniform, log r20488.8902.7145.28811.97

inadmissible factors occupy 64.70% and 62.56% for the three dimensional 1/r and log r kernels. Consequently, reducing factor bitwidths alone has limited leverage in the former, while the latter retain a substantial near-field factor cost. Scale/map metadata is 3.69–17.92% of storage across the table and cannot be neglected when many short factors are quantized.

The three dimensional log rr kernel remains less compressible than circle BEM. At ε=10−6\varepsilon = 10^{-6}, the three dimensional BEM and point-kernel cases contain full-rank non-diagonal inadmissible blocks; at ε=0.01\varepsilon = 0.01, their median rank fractions rk/min⁡(mk,nk)r_k / \min(m_k, n_k) are 0.250–0.281. Factorization therefore does not imply a per-block storage advantage. Rank and precision both adapt with tolerance, so the storage changes cannot be attributed to bitwidths alone. Supplementary Figure D.1 and Table D.2 give the corresponding curves and rank diagnostics.

We also compare three quantizations of the same balanced factors. Per-tensor quantization uses one scale for each whole factor and one bitwidth per block. Fixed-bit per-channel quantization uses a scale for each factor column but a common width within a block. The proposed method uses a separate scale and adaptive width for each column. Each fixed-bit control chooses the lowest feasible width separately for each non-diagonal block. All three methods share the partition, retained ranks, and block-relative budgets, and their total storage includes the common FP64 diagonal blocks, scales, and precision maps.

Across 60 matched matrix tolerance pairs, the adaptive representation uses less storage than fixed-bit per-channel quantization in every pair (median fixed-bit/adaptive ratio 1.252), but less than per-tensor quantization in only 45 pairs. For the three N=2048N = 2048 cases in Figure 4.6, the per-channel/adaptive ratios narrow from 1.42–1.68 at ε=10−6\varepsilon = 10^{-6} to 1.10–1.37 at ε=0.1\varepsilon = 0.1; the per-tensor/adaptive ratios narrow from 1.13–1.66 to 0.93–0.97. Thus the endpoint storage differences diminish as tolerance is relaxed, although discrete bit and rank decisions make individual steps nonmonotone. Each control satisfies its own sufficient error bound while the measured reconstruction errors may differ. Complete comparison is given in supplementary Section D.1.

For all 132 combinations of matrix and block budget, total compression is non-decreasing over the tested tolerances; no general monotonicity of the greedy allocator follows. Comparisons of block budgets for the same matrix also require care: supplementary Table D.3 shows that hybrid budgets can reduce storage without changing the global error or its bound, whereas global-relative budgets permit larger errors. This is consistent with the maximum-over-blocks error bound, not an equal-accuracy

Figure

Per-tensor, fixed bits

Per-channel, fixed bits

Adaptive, per-channel

FIG. 4.6. Total stored bits relative to the same-partition FP64 factor representation for circle BEM, uniform two-dimensional 1/r, and uniform three dimensional log r matrices at N = 2048. All methods use identical ranks at each block-relative tolerance. The numerator includes FP64 diagonal blocks, factor scales, and precision maps. Fixed-bit controls choose the lowest feasible width per block; their realized errors need not match the adaptive method's.

ranking of the budget choices. The studies that retain inadmissible blocks densely and those that store only diagonal blocks densely also differ in rank selection, available bitwidths, and arithmetic. Therefore, their comparison does not isolate the effect of near-field factorization.

We also evaluated Y=AXY = AX using the representation that stores only diagonal blocks densely. Factorized blocks are applied without forming their dense products. In all 3,600 runs, the observed arithmetic errors were below their respective bounds, as were the application errors bounded by propagating the measured block residuals (supplementary Section F).

  1. Conclusion. We developed an adaptive method for quantizing hierarchical matrices based on an allocation strategy that leverages information on singular values. It proceeds by allocating bitwidths subject to a reconstruction error bound for the non-diagonal blocks of hierarchical matrices, with only diagonal blocks retained densely and unquantized. With balanced column-wise quantization the strategy yields an additive max-norm error bound, and reserving the minimum future error makes the greedy allocation feasible whenever the highest available precision is feasible. Combining truncation, quantization, and arithmetic bounds over a disjoint partition of matrix entries establishes a global reconstruction error bound. Numerical experiments show the storage reductions obtained by quantization and quantify the effectiveness of the error bounds. Future work includes error analysis for complete hierarchical operations and hardware-aware execution.

REFERENCES

[1] J. ALBERICIO, A. DELMÁS, P. JUDD, S. SHARIFY, G. O'LEARY, R. GENOV, AND A. MOSHOVOS, Bit-pragmatic deep neural network computing, in Proceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-50 '17, ACM, 2017, pp. 382–394, https://doi.org/10.1145/3123939.3123982.

[2] S. AMBIKASARAN, K. R. SINGH, AND S. S. SANKARAN, HODLRlib: A library for hierarchical matrices, Journal of Open Source Software, 4 (2019), p. 1167.

[3] P. AMESTOY, O. BOITEAU, A. BUTTARI, M. GEREST, F. JÉZÉQUEL, J.-Y. L'EXCELLENT, AND T. MARY, Mixed precision low-rank approximations and their application to block low-rank lu factorization, IMA Journal of Numerical Analysis, 43 (2023), pp. 2198–2227, https://doi.org/10.1093/imanum/drac037.

ERIN CARSON, XINYE CHEN, AND RITESH KHAN

[4] M. BEBENDORF, Hierarchical Matrices: A Means to Efficiently Solve Elliptic Boundary Value Problems, vol. 63 of Lecture Notes in Computational Science and Engineering, Springer, Berlin, Heidelberg, 2008, https://doi.org/10.1007/978-3-540-77147-0.

[5] S. BÖRM, Construction of data-sparse H2H^{2}-matrices by hierarchical compression, SIAM Journal on Scientific Computing, 31 (2009), pp. 1820–1839.

[6] S. BÖRM, L. GRASEDYCK, AND W. HACKBUSCH, Hierarchical matrices, Lecture notes, 21 (2003), p. 2003.

[7] E. CARSON, X. CHEN, AND X. LIU, Mixed precision HODLR matrices, SIAM Journal on Scientific Computing, 47 (2025), pp. A1408–A1435, https://doi.org/10.1137/24M1683925.

[8] S. CHANDRASEKARAN, P. DEWILDE, M. GU, W. LYONS, AND T. PALS, A fast solver for HSS representations via sparse matrices, SIAM Journal on Matrix Analysis and Applications, 29 (2007), pp. 67–81.

[9] Y.-H. CHEN, J. EMER, AND V. SZE, Eyeriss: A spatial architecture for energy-efficient dataflow for convolutional neural networks, in 2016 ACM/IEEE 43rd Annual International Symposium on Computer Architecture (ISCA), IEEE, 2016, pp. 367–379, https://doi.org/10.1109/ISCA.2016.40.

[10] A. GHOLAMI, S. KIM, Z. DONG, Z. YAO, M. W. MAHONEY, AND K. KEUTZER, A survey of quantization methods for efficient neural network inference, in Low-Power Computer Vision, Chapman and Hall/CRC, 2022, pp. 291–326, https://doi.org/10.1201/9781003162810-13.

[11] A. GILLMAN, P. M. YOUNG, AND P.-G. MARTINSSON, A direct solver with O(N)\mathcal{O}(N) complexity for integral equations on one-dimensional domains, Frontiers of Mathematics in China, 7 (2012), pp. 217–247.

[12] W. HACKBUSCH, A sparse matrix arithmetic based on H-matrices. part I: Introduction to H-matrices, Computing, 62 (1999), pp. 89–108, https://doi.org/10.1007/s006070050015.

[13] W. HACKBUSCH, Hierarchical Matrices: Algorithms and Analysis, vol. 49 of Springer Series in Computational Mathematics, Springer, Berlin, Heidelberg, 2015, https://doi.org/10.1007/978-3-662-47324-5.

[14] W. HACKBUSCH AND B. N. KHOROMSKIJ, A sparse H-matrix arithmetic. part ii: Application to multi-dimensional problems, Computing, 64 (2000), pp. 21–47.

[15] W. HACKBUSCH, B. N. KHOROMSKIJ, AND R. KRIEMANN, Hierarchical matrices based on a weak admissibility criterion, Computing, 73 (2004), pp. 207–243.

[16] R. KHAN AND E. CARSON, Hybrid hierarchical matrices with adaptive mixed precision storage, 2026, https://arxiv.org/abs/2604.09147.

[17] S. KIM, A. GHOLAMI, Z. YAO, M. W. MAHONEY, AND K. KEUTZER, I-BERT: Integer-only bert quantization, in Proceedings of the 38th International Conference on Machine Learning, vol. 139 of Proceedings of Machine Learning Research, PMLR, 2021, pp. 5506–5518.

[18] R. KRIEMANN, Hierarchical low-rank arithmetic with floating point compression, SIAM Journal on Scientific Computing, 47 (2025), pp. B763–B784, https://doi.org/10.1137/24M1649009.

[19] U. KULKARNI, A. S. HOSAMANI, A. S. MASUR, S. HEGDE, G. R. VERNEKAR, AND K. SIRI CHANDANA, A survey on quantization methods for optimization of deep neural networks, in 2022 International Conference on Automation, Computing and Renewable Systems (ICACRS), IEEE, 2022, pp. 827–834, https://doi.org/10.1109/ICACRS55517.2022.10028742.

[20] J. LEE, C. KIM, S. KANG, D. SHIN, S. KIM, AND H.-J. YOO, UNPU: A 50.6TOPS/W unified deep neural network accelerator with 1b-to-16b fully-variable weight bit-precision, in 2018 IEEE International Solid-State Circuits Conference (ISSCC), IEEE, 2018, pp. 218–220, https://doi.org/10.1109/ISSCC.2018.8310262.

[21] Z. LI AND Q. GU, I-ViT: Integer-only quantization for efficient vision transformer inference, in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), October 2023, pp. 17065–17075, https://doi.org/10.1109/ICCV51070.2023.01565.

[22] R. OOI, T. IWASHITA, T. FUKAYA, A. IDA, AND R. YOKOTA, Effect of mixed precision computing on H-matrix vector multiplication in BEM analysis, in Proceedings of the International Conference on High Performance Computing in Asia-Pacific Region, ACM, 2020, pp. 92–101, https://doi.org/10.1145/3368474.3368479.

[23] B. ROKH, A. AZARPEYVAND, AND A. KHANTEYMOORI, A comprehensive survey on model quantization for deep neural networks in image classification, ACM Transactions on Intelligent Systems and Technology, 14 (2023), pp. 97:1–97:50, https://doi.org/10.1145/3623402.

[24] M. WORTSMAN, T. DETTMERS, L. ZETTLEMOYER, A. MORCOS, A. FARHADI, AND L. SCHMIDT, Stable and low-precision training for large-scale vision-language models, in Advances in Neural Information Processing Systems, vol. 36, 2023, pp. 10271–10298, https://doi.org/10.52202/075280-0451.

The supplementary materials provide reproducibility details and extended diagnostics for Section 4 of the main paper. The main paper presents the local and global error bounds, allocation comparisons, the effects of geometry on storage, and storage comparisons on the same block partitions. Further results for the fixed-bit quantization controls and native GPU numerical checks are collected here. The reconstruction and application checks use separate validation suites and distinct references.

References (17)