Givens-Rotation Bidiagonal Updates
- The paper introduces Givens-Rotation Bidiagonal Updates as an algorithm that maintains orthogonal-bidiagonal factorizations efficiently under rank-one updates, crucial for high-throughput data processing.
- BGU leverages a two-phase approach using Givens rotations to restore strict upper bidiagonality, achieving quadratic computational complexity and reduced memory demands.
- Empirical evaluations show that BGU outperforms traditional SVD update methods in speed and accuracy across applications such as subspace tracking, recommendation systems, and dynamic graph analysis.
Givens-Rotation Bidiagonal Updates (BGU) are a class of algorithms for maintaining an orthogonal-bidiagonal factorization of a matrix under rank-one updates, using only sequences of Givens rotations. When data streams arrive as low-rank changes, and recomputing a full SVD is prohibitive, BGU efficiently updates the compact bidiagonal form, supporting high-throughput subspace tracking and related computations with rigorous control on complexity and accuracy. The method maintains both algorithmic efficiency and numerical stability and is well-suited for large-scale streaming data scenarios (Brust et al., 2 Sep 2025).
1. Mathematical Setup and Problem Formulation
The BGU technique operates on a factorized matrix representation: where , both and are orthogonal, and is an upper bidiagonal matrix. When a new data block arrives as a rank-one update, with , , the updated matrix takes the form
where and . The core objective is to reestablish upper bidiagonal form: by constructing appropriate orthogonal , so the factorization
with , , is preserved and is again upper bidiagonal (Brust et al., 2 Sep 2025).
2. Algorithmic Structure and Givens Rotations
The BGU algorithm exclusively uses Givens rotations to restore bidiagonality after a rank-one update. A Givens rotation , for , modifies the -plane of a matrix by applying a rotation defined by and . To annihilate entries during bidiagonalization, the rotation parameters are taken so that
with , , .
BGU restores the bidiagonal form through two algorithmic phases:
- Phase 1: Sequentially eliminates off-band entries introduced into and , reducing to a banded matrix, using left- and right-acting Givens rotations.
- Phase 2: Chases and removes bulges on the extra superdiagonal to produce a strict upper bidiagonal.
Each rotation affects at most two dense vectors ( or ) and two rows or columns of , allowing fine-grained, local updates (Brust et al., 2 Sep 2025).
3. Pseudocode and Computational Complexity
The essential operations of BGU can be summarized for an block as follows:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Input: bidiagonal B ∈ R^(r+1×r+1), vectors β, γ ∈ R^(r+1)
Output: updated bidiagonal B⁺, and rotations U, V
Phase 1: Eliminate β from top to bottom
for i = 1 to r:
if β[i] ≠ 0:
(c, s) ← givens(B[i,i], β[i])
apply G_left(i,i+1,c,s) to rows i,i+1 of B, β
for j = i to r−1:
(c', s') ← givens(B[i,j+1], B[i,j+2])
apply G_right(j+1,j+2,c',s') to cols j+1,j+2 of B, γ
(c'', s'') ← givens(B[j+1,j+1], β[j+1])
apply G_left(j+1,j+2,c'',s'') to rows j+1,j+2 of B, β
Phase 2: Eliminate extra superdiagonal
for k = 1 to r−1:
for j = k to r−1:
(c, s) ← givens(B[k,j+1], B[k,j+2])
apply G_right(j+1,j+2,c,s) to cols j+1,j+2 of B, γ
Return: B⁺ = B (now bidiagonal), U, V |
One Givens rotation, acting on maximally five nonzeros in plus two dense entries, costs approximately $10$ flops; forming requires $3$ flops. Phase 1 performs up to rotations; phase 2 an additional $2r$. The total cost per update is thus flops, providing a quadratic complexity per update—substantial improvement over cubic-scaling alternatives (Brust et al., 2 Sep 2025).
4. Resource Usage and Implementation Considerations
BGU stores the upper bidiagonal (only $2r+1$ scalars for an block), the two update vectors , and, if needed, the Givens rotation parameters . For orthogonal factors , only the sequence of rotations is maintained, avoiding storage of full dense matrices unless required for downstream applications. In contrast, Householder-based methods (such as LAPACK’s dgebrd) incur storage for WY factors plus potentially dense work panels, making BGU significantly more compact, particularly for large and moderate factorization rank .
In streaming implementations, and are stored implicitly as products of rotations; new data is projected to the current subspaces by small matrix-vector multiplies to obtain and . Only the bidiagonal spectrum needs to be re-formed and, in practical settings, a fixed is maintained, discarding smallest singular pairs to prevent rank growth (Brust et al., 2 Sep 2025).
5. Numerical Stability and Backward Error
Each Givens rotation is precisely orthogonal to working precision, ensuring that overall, the BGU method is backward stable. The discrepancy in Frobenius norm () after the update is of order where is the machine epsilon. Empirical results confirm that the orthogonality of the accumulated factors remains within a few units in the last place even after processing thousands of updates. In exact arithmetic, BGU preserves strict bidiagonality—there is no additional structural drift beyond finite precision effects (Brust et al., 2 Sep 2025).
6. Empirical Performance and Applications
Empirical evaluation demonstrates that BGU offers substantial computational advantages and robust accuracy in streaming and dynamic data environments:
| Domain | BGU Benchmarks | Competitor | Result |
|---|---|---|---|
| Link prediction | Flickr, Slashdot graphs, ranks up to 5120; | Deng et al. RPI | BGU up to 2× faster, same or better accuracy |
| Recommendation | MovieLens 32M, 2,000 updates at | Brand's incremental SVD | BGU ≃ 0.25s/update vs. 0.5s, same accuracy |
| Sparse benchmarks | SuiteSparse, 43 matrices | LAPACK zgebrd | BGU fastest on >90% cases, often 10–100× faster |
In all settings, BGU either outperforms or matches existing state-of-the-art SVD/SVD-type update algorithms on speed and accuracy (Brust et al., 2 Sep 2025).
7. Summary and Significance
Givens-rotation bidiagonal updates enable efficient, low-memory, and numerically stable maintenance of bidiagonal factorizations under rank-one data arrival. With per-update cost and storage , BGU is well suited for high-throughput streaming scenarios, outperforming established Householder-based and randomized algorithms in both theory and empirical practice. The method preserves accuracy, orthogonality, and compactness, and is directly applicable to large-scale systems for subspace tracking, recommendation, and dynamic graph analysis (Brust et al., 2 Sep 2025).