Papers
Topics
Authors
Recent
Search
2000 character limit reached

Generalized Orthogonalization Algorithm

Updated 7 July 2026
  • Generalized orthogonalization algorithms are methods that replace the Euclidean inner product with application-specific constraints to define orthogonality.
  • They extend classical QR, Gram–Schmidt, and Householder techniques by incorporating projections, retractions, and lifting to preserve model structure.
  • These methods improve numerical stability and efficiency in varied applications such as optimization, tensor networks, statistical inference, and machine learning.

Generalized orthogonalization algorithm denotes a class of procedures that extend classical orthogonalization beyond Euclidean column orthogonality to structured constraints such as A⊤SA=SA^\top S A = S, X⊤BX=IpX^\top B X = I_p, Tensor Train gauge conditions, orthogonal Procrustes systems with multiple unknown orthogonal factors, and projection onto application-specific consistent subspaces (Saraeb, 2024, Shustin et al., 2021, Takeda et al., 30 Jun 2026, Benitez et al., 2024). Across these formulations, the central operation is the construction of an orthogonal or orthogonality-constrained representative by projection, factorization, lifting, retraction, or gauge fixing, with the objective of preserving an ambient model structure while improving conditioning, identifiability, stability, or invariance.

1. Core mathematical patterns

A generalized orthogonalization problem replaces the standard Euclidean constraint Q⊤Q=IQ^\top Q = I by a geometry adapted to the application. In bilinear-form preservation, one seeks matrices AA satisfying A⊤SA=SA^\top S A = S for a fixed invertible symmetric or skew-symmetric SS, with the associated SS-bilinear form ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y (Saraeb, 2024). In optimization on the generalized Stiefel manifold, the feasible set is

StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},

with tangent-space projections and BB-orthonormalizing retractions replacing standard QR (Shustin et al., 2021). In Tensor Train (TT) methods, orthogonality is imposed on left- or right-matricizations of TT cores,

X⊤BX=IpX^\top B X = I_p0

thereby fixing the TT gauge and producing an orthonormal parameterization (Takeda et al., 30 Jun 2026).

Other variants operate on structured linear spaces rather than on matrices with orthonormal columns. For pairwise comparison matrices, the orthogonalization is performed after logarithmic transformation X⊤BX=IpX^\top B X = I_p1, where reciprocity becomes skew-symmetry and consistency becomes additive consistency. The target is the subspace

X⊤BX=IpX^\top B X = I_p2

and the consistent approximation is the orthogonal projection of X⊤BX=IpX^\top B X = I_p3 onto X⊤BX=IpX^\top B X = I_p4 under a generalized Frobenius inner product X⊤BX=IpX^\top B X = I_p5 (Benitez et al., 2024). In orthogonalization-based hypothesis testing, the target is a conditional-mean orthogonality relation,

X⊤BX=IpX^\top B X = I_p6

obtained after splitting the data by additive symmetric noise (Dharamshi et al., 29 Jun 2026).

These formulations share a common structural feature: orthogonality is defined relative to a chosen inner product, manifold, gauge, or moment condition. This suggests that generalized orthogonalization is less a single algorithm than a reusable design principle specialized to the geometry of the model.

2. Extensions of QR, Gram–Schmidt, and Householder

A central line of development generalizes classical orthogonalization kernels while preserving the numerical guarantees associated with Householder and QR methods. In two-stage orthogonalization, the task is to orthogonalize a matrix X⊤BX=IpX^\top B X = I_p7 against an existing orthonormal block X⊤BX=IpX^\top B X = I_p8, first by removing components in X⊤BX=IpX^\top B X = I_p9, then by orthonormalizing the residual. The generalized Householder transformation

Q⊤Q=IQ^\top Q = I0

maps Q⊤Q=IQ^\top Q = I1 to Q⊤Q=IQ^\top Q = I2 whenever Q⊤Q=IQ^\top Q = I3, and is used to build a two-stage Householder orthogonalization that is unconditionally stable and requires orthogonalizing only the square submatrix Q⊤Q=IQ^\top Q = I4 rather than the full Q⊤Q=IQ^\top Q = I5 (He et al., 16 Feb 2026). With the QR-based choice Q⊤Q=IQ^\top Q = I6 from Q⊤Q=IQ^\top Q = I7, the construction yields Q⊤Q=IQ^\top Q = I8 and Q⊤Q=IQ^\top Q = I9; the polar-based choice gives AA0 (He et al., 16 Feb 2026).

Compact WY representations supply another generalization of Householder orthogonalization. A product of reflectors AA1 is represented as

AA2

which reduces synchronization from AA3 to AA4 and enables Level-3 BLAS application AA5 (Ishigami et al., 2012). In inverse iteration for symmetric tridiagonal eigenproblems, replacing modified Gram–Schmidt by compact WY orthogonalization produced reported speedups ranging from AA6 to AA7, while preserving Householder-level orthogonality (Ishigami et al., 2012).

The hardware-aware PQR framework recasts orthogonalization as

AA8

and composes algorithms across the hardware hierarchy rather than fixing a single kernel (Dreier et al., 2022). The framework combines CholeskyQR or BCGS-PIP reductions, TSQR variants, and Householder kernels so that local subproblems fit in cache while inter-node reductions exploit optimized collectives. Stability is tracked through

AA9

with A⊤SA=SA^\top S A = S0 behavior for Householder, A⊤SA=SA^\top S A = S1 for BMGS, and A⊤SA=SA^\top S A = S2 for BCGS and BCGS-PIP; the reiterated BCGS-PIP+ is stable under A⊤SA=SA^\top S A = S3 (Dreier et al., 2022).

For bilinear-form-preserving orthogonalization, generalized Gram–Schmidt and polar decomposition are carried out in the A⊤SA=SA^\top S A = S4-inner product. The A⊤SA=SA^\top S A = S5-polar construction forms

A⊤SA=SA^\top S A = S6

so that A⊤SA=SA^\top S A = S7 (Saraeb, 2024). For symmetric A⊤SA=SA^\top S A = S8, a commuting-block Schur construction generates Haar-random elements on A⊤SA=SA^\top S A = S9 by diagonalizing SS0, drawing independent Haar blocks on the eigenspace multiplicities, and setting SS1 (Saraeb, 2024). For skew-symmetric SS2, the analogous compact subgroup is generated through unitary blocks and the real embedding

SS3

which yields Haar sampling on SS4 (Saraeb, 2024).

3. Lifted, manifold, and polar formulations

A different strand generalizes orthogonalization by lifting nonconvex orthogonality constraints into convex or Riemannian formulations. In the generalized orthogonal Procrustes setting

SS5

the problem is homogenized to SS6, lifted through the block Gram matrix SS7, and relaxed to the semidefinite program

SS8

For generic SS9 with SS0, the relaxation returns a rank-SS1 solution and recovers the orthogonal factors exactly up to the homogenization symmetry (Zhang et al., 2015). In the SS2-matrix generalization, exact recovery holds for generic SS3 if SS4, and under perturbations SS5, the rounded estimates satisfy SS6 (Zhang et al., 2015).

On the generalized Stiefel manifold, orthogonalization is implemented by retractions such as the SS7-polar map

SS8

or a SS9-QR based on Cholesky factorization of ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y0 (Shustin et al., 2021). The corresponding tangent projection under the standard ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y1-metric is

⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y2

and randomized preconditioning is introduced by replacing the natural metric ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y3 with ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y4, often built from a sketch ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y5 through

⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y6

For CountSketch with ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y7, the sketch satisfies

⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y8

hence ⟨x,y⟩S=x⊤Sy\langle x,y\rangle_S = x^\top S y9 (Shustin et al., 2021). This metric approximation controls the Riemannian Hessian conditioning in CCA and FDA, where orthogonalization enters through StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},0-retractions rather than Euclidean QR (Shustin et al., 2021).

Polar orthogonalization also reappears in iterative approximation schemes. For StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},1, the target orthogonal factor is

StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},2

and the classical third-order Newton–Schulz iteration

StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},3

is replaced by Chebyshev-optimized odd polynomials in CANS (Grishina et al., 12 Jun 2025). In the degree-3 setting, the interval error obeys StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},4, with StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},5 (Grishina et al., 12 Jun 2025). The resulting approximate orthogonalization is used both in Muon-style optimizers and as a practical retraction alternative on the Stiefel manifold (Grishina et al., 12 Jun 2025).

Orthogonalization is also fused with matrix preconditioning in Pro-KLShampoo. Restricting one Kronecker factor to a spike-and-flat family,

StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},6

the method orthogonalizes the complement via

StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},7

and an exact identity shows that this recovers the algebraic form of full KL-Shampoo’s complement whitening (Sun et al., 7 May 2026). On GPT-2 124M/350M and LLaMA 134M/450M, the reported wallclock savings to reach matched loss levels were StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},8, StB(n,p)={X∈Rn×p∣X⊤BX=Ip},\mathrm{St}_B(n,p)=\{X\in\mathbb{R}^{n\times p}\mid X^\top B X = I_p\},9, BB0, and BB1, respectively (Sun et al., 7 May 2026).

4. Tensor-network and streaming generalizations

In tensor methods, generalized orthogonalization is often expressed as gauge fixing on a tensor network. For an order-BB2 tensor BB3 in TT form,

BB4

Online TT-ALS enforces left- and right-orthogonality incrementally on TT core matricizations (Takeda et al., 30 Jun 2026). Under orthonormal environments,

BB5

the local ALS subproblem has the exact closed-form minimizer

BB6

A deterministic single sweep first right-orthogonalizes through LQ factorizations and then left-orthogonalizes through QR, absorbing triangular factors into adjacent cores via gauge transformations that preserve the TT representation (Takeda et al., 30 Jun 2026).

This orthogonalization-centered construction yields explicit theoretical guarantees. The local objective is monotonically nonincreasing under each exact update, and the temporal error satisfies

BB7

whenever BB8 (Takeda et al., 30 Jun 2026). In the uniform setting, the dominant per-step complexity is

BB9

which reduces the rank dependence from quadratic to linear relative to prior online TT methods such as TT-FOA with X⊤BX=IpX^\top B X = I_p00 (Takeda et al., 30 Jun 2026).

The empirical results in that work make the role of orthogonalization unusually explicit. At X⊤BX=IpX^\top B X = I_p01, batch TT-ALS and mini-batch variants ran out of memory, TT-FOA slowed to approximately X⊤BX=IpX^\top B X = I_p02 s/frame with degraded error, whereas Online TT-ALS maintained X⊤BX=IpX^\top B X = I_p03 at approximately X⊤BX=IpX^\top B X = I_p04 s/frame (Takeda et al., 30 Jun 2026). On grayscale video streams with X⊤BX=IpX^\top B X = I_p05, the method reported X⊤BX=IpX^\top B X = I_p06, X⊤BX=IpX^\top B X = I_p07, X⊤BX=IpX^\top B X = I_p08, and X⊤BX=IpX^\top B X = I_p09 at X⊤BX=IpX^\top B X = I_p10 ms/frame (Takeda et al., 30 Jun 2026). In the ablation without QR/LQ orthogonalization, the reconstruction error drifted from X⊤BX=IpX^\top B X = I_p11 at X⊤BX=IpX^\top B X = I_p12 to X⊤BX=IpX^\top B X = I_p13 at X⊤BX=IpX^\top B X = I_p14, whereas with orthogonality it stayed near X⊤BX=IpX^\top B X = I_p15 (Takeda et al., 30 Jun 2026).

A related tensor-oriented study compares CGS, MGS, CGS2, MGS2, Gram/Cholesky, and Householder kernels in TT format with TT-rounding at tolerance X⊤BX=IpX^\top B X = I_p16 (Coulaud et al., 2022). The reported conclusion is that classical round-off bounds appear to persist with the unit round-off X⊤BX=IpX^\top B X = I_p17 effectively replaced by the TT-rounding accuracy X⊤BX=IpX^\top B X = I_p18: Householder, CGS2, and MGS2 stay near the rounding floor, MGS degrades roughly like X⊤BX=IpX^\top B X = I_p19, and CGS or Gram behave like X⊤BX=IpX^\top B X = I_p20 (Coulaud et al., 2022). In this setting, generalized orthogonalization is inseparable from rank control, since TT-rounding is both the dominant cost and the analog of finite-precision arithmetic.

5. Randomized, greedy, and first-order inference-oriented variants

Generalized orthogonalization also appears as a computational strategy for sparse approximation and Krylov subspace construction. In generalized orthogonal least-squares (GOLS), the standard OLS rule

X⊤BX=IpX^\top B X = I_p21

is extended to a block rule that selects X⊤BX=IpX^\top B X = I_p22 columns at each step, followed by recursive projector downdates

X⊤BX=IpX^\top B X = I_p23

The implementation in the paper has dominant complexity X⊤BX=IpX^\top B X = I_p24, and the associated OLS theory shows exact recovery in X⊤BX=IpX^\top B X = I_p25 iterations with probability at least X⊤BX=IpX^\top B X = I_p26 provided X⊤BX=IpX^\top B X = I_p27 for Gaussian or Bernoulli designs, whereas the paper states no formal recovery theorem for GOLS itself (Hashemi et al., 2016).

Randomized Gram–Schmidt replaces high-dimensional inner products by sketch-space calculations. Given a sketch X⊤BX=IpX^\top B X = I_p28, the algorithm computes X⊤BX=IpX^\top B X = I_p29, solves a small least-squares problem in the sketch space to obtain the projection coefficients, and normalizes with the sketched norm X⊤BX=IpX^\top B X = I_p30 (Balabanov et al., 2020). The resulting X⊤BX=IpX^\top B X = I_p31 is exactly orthonormal in the sketched inner product and approximately orthonormal in X⊤BX=IpX^\top B X = I_p32, with singular values controlled by the embedding distortion. In the reported complexity comparison, RGS uses one pass over X⊤BX=IpX^\top B X = I_p33 per iteration, requires about half the high-dimensional work of CGS, and integrates into Arnoldi and GMRES, where the randomized GMRES residual is quasi-optimal over a slightly perturbed Krylov subspace (Balabanov et al., 2020).

In high-dimensional statistical estimation, orthogonalization is built into the dynamics of first-order methods through Onsager terms. The generalized first-order template introduces coefficients X⊤BX=IpX^\top B X = I_p34 and X⊤BX=IpX^\top B X = I_p35 so that the messages

X⊤BX=IpX^\top B X = I_p36

become asymptotically orthogonal across time (Montanari et al., 2022). The paper proves a reduction from generalized first-order methods to AMP and then to an orthogonal AMP normal form, yielding scalar state-evolution lower bounds X⊤BX=IpX^\top B X = I_p37 and X⊤BX=IpX^\top B X = I_p38, with Bayes AMP or GAMP attaining those bounds under proportional asymptotics and under data distributions that extend beyond purely Gaussian designs to independent entries with bounded fourth moments (Montanari et al., 2022). Here orthogonalization is not a postprocessing step but the mechanism that decouples the iteration into effective scalar channels.

6. Debiasing, testing, and structured-decision applications

In machine learning models with non-linearities, generalized orthogonalization is used to remove linear explainability of predictions by sensitive variables after activation. For a monotone element-wise activation X⊤BX=IpX^\top B X = I_p39, the corrected prediction-level transform in the GLM setting is

X⊤BX=IpX^\top B X = I_p40

and the parameter-level correction can be written as the constrained problem

X⊤BX=IpX^\top B X = I_p41

with MDMM updates on X⊤BX=IpX^\top B X = I_p42 (Rügamer et al., 2024). For ReLU models, the paper states that residualizing features by X⊤BX=IpX^\top B X = I_p43 suffices for the evaluation model with ReLU and X⊤BX=IpX^\top B X = I_p44 loss, and the same projection principle extends to tensor-valued outputs through mode-1 multiplication by X⊤BX=IpX^\top B X = I_p45 (Rügamer et al., 2024).

In orthogonalization-based hypothesis testing, the data are transformed by external symmetric noise into

X⊤BX=IpX^\top B X = I_p46

and one computes under the null

X⊤BX=IpX^\top B X = I_p47

The test then checks whether the residual moment

X⊤BX=IpX^\top B X = I_p48

holds, with Wald-type calibration through X⊤BX=IpX^\top B X = I_p49 (Dharamshi et al., 29 Jun 2026). The same construction extends to post-selection inference by selecting the null on X⊤BX=IpX^\top B X = I_p50, computing a debiased statistic X⊤BX=IpX^\top B X = I_p51, and using a conditional X⊤BX=IpX^\top B X = I_p52 limit under the selected null (Dharamshi et al., 29 Jun 2026).

For pairwise comparisons, the objective is to find the closest consistent matrix to an inconsistent reciprocal matrix. In log-space, the consistent component is the projection of X⊤BX=IpX^\top B X = I_p53 onto X⊤BX=IpX^\top B X = I_p54 under

X⊤BX=IpX^\top B X = I_p55

and the consistent multiplicative matrix is recovered by X⊤BX=IpX^\top B X = I_p56 (Benitez et al., 2024). In the Frobenius case X⊤BX=IpX^\top B X = I_p57, the projection has the closed form

X⊤BX=IpX^\top B X = I_p58

while the orthogonal complement is characterized by X⊤BX=IpX^\top B X = I_p59; for general X⊤BX=IpX^\top B X = I_p60, the complement becomes X⊤BX=IpX^\top B X = I_p61 (Benitez et al., 2024).

Across these variants, guarantees are tied to the geometry that defines orthogonality: exact recovery in semidefinite lifting (Zhang et al., 2015), unconditional stability in generalized Householder orthogonalization (He et al., 16 Feb 2026), provable X⊤BX=IpX^\top B X = I_p62 validity in orthogonalization-based testing (Dharamshi et al., 29 Jun 2026), and monotonicity or state-evolution characterizations in TT and AMP settings (Takeda et al., 30 Jun 2026, Montanari et al., 2022). A plausible implication is that generalized orthogonalization is best understood as a transferable algorithmic motif: enforce the orthogonality relation native to the model, then exploit the resulting structure for numerical stability, statistical validity, or computational efficiency.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Generalized Orthogonalization Algorithm.