GraphMath

SVD — Chase And Trim (CAT)

Earlier deflation in bidiagonal QR for singular value decomposition

Under construction. This chapter is still being developed and may change as the analysis and experiments are refined.

Can a local 2×2 SVD create a split before conventional bidiagonal QR deflation?

Chase And Trim (CAT) extends bidiagonal QR for singular value decomposition. After ordinary deflation, it tests whether a non-negligible superdiagonal coupling can be annihilated by a local two-sided 2×2 SVD. If both resulting cross-boundary fill-ins satisfy the local deflation tolerance, the active block is split and the singular vectors are updated.

Research paper: The complete Chase and Trim (CAT) manuscript, including mathematical derivations, LAPACK implementation details, numerical experiments, and accuracy analysis, is available as a PDF preprint. Also available on Zenodo.

Key ideas

CAT retains conventional bidiagonal QR deflation and introduces a local two-sided transformation only where an additional split is feasible.

  • For an m×n matrix with m ≥ n, Householder reduction produces an upper-bidiagonal n×n block; when m < n, the algorithm can act on Aᵀ
  • A local 2×2 SVD annihilates a selected superdiagonal entry but can create two cross-boundary fill-ins, with magnitudes |sᴿeₖ₋₁| and |sᴸeₖ₊₁|
  • Both fill-ins must satisfy the directional local deflation tolerance τ before an active split is accepted
  • Two inexpensive sufficient rejection conditions screen candidates before LAPACK DLASV2 computes the final left and right rotations
  • Accepted rotations update both left and right singular vectors; one paired update costs 12n arithmetic operations in the chapter's model
  • The discarded two-entry perturbation has spectral norm equal to the larger fill magnitude, at most τ
  • At a trailing 2×2 corner, CAT and the corresponding 2×2 AED spike construction give the same two coupling components; the full AED approach differs in window size and underlying iteration
  • In the tested families, CAT reduces QR sweep positions and weighted arithmetic work; benefits depend strongly on the singular-value spectrum

The comparisons concern phase-2 bidiagonal QR work, not overall SVD runtime. Both algorithms use the same Householder preprocessing and the same instrumented LAPACK DBDSQR implementation.

Why are two rotations needed for CAT in SVD?

The selected 2×2 upper-bidiagonal block is diagonalized by a right rotation and a left rotation, rather than the single similarity rotation used for symmetric eigenvalues. Applied to the full bidiagonal matrix, these rotations eliminate the selected coupling but can create one fill-in on each side. CAT accepts the split only when both fill magnitudes pass the local tolerance test; otherwise ordinary bidiagonal QR continues.

How does trailing-corner CAT relate to aggressive early deflation?

For a trailing 2×2 window, the two CAT rotations produce the same pair of coupling components as the corresponding two-component AED spike. With the chapter’s shorter-rotation convention and a common tolerance, testing the other spike component does not reveal another deflation in that local case. This overlap does not make CAT equivalent to the general AED algorithm: AED can use a larger window and a different underlying iteration.

What did the experiments show?

The experiments used 12 matrix families, sizes n = 64, 128, 256, 512 and 1024, and five deterministic samples per family-size combination. Both methods accumulate left and right singular vectors during the bidiagonal QR phase.

Pooled across samples and matrix sizes, weighted arithmetic-work reduction ranged from about 3.3% for IID rectangular noise to about 38.2% for geometrically spaced singular values. The geometric family showed the largest reductions in QR sweep positions as well. Pooled weighted-work reduction was about 10.2% at n = 64 and 10.7% at n = 1024.

The two rejection screens eliminated approximately 99.95% of inspected candidates before production verification. No valid CAT opportunities were missed by the screens in the reported experiments; only 16 of 32,779 surviving candidates were rejected by the production verification. Combined screening and accepted-rotation work was about 0.12% of total weighted work.

Singular-value errors against LAPACK DGESVD, left and right singular-vector orthogonality, and SVD reconstruction residuals remained comparable to conventional QR. These results concern modeled arithmetic work, not measured execution time.

Related chapters

Chapter contents

Why does singular-value spacing affect CAT deflation?

The smaller local SVD rotation tends to be favored by a small selected superdiagonal coupling, larger separation between the neighboring diagonal magnitudes, and small outer couplings. The chapter derives approximate conditions for linear versus geometric singular-value spacing; geometric spacing can produce larger favorable diagonal separation and more interior splits. That is consistent with the larger work reductions observed for the geometric-spectrum family.

Was this chapter helpful?

Quick feedback helps us improve the site.