Generalized singular value decomposition

In linear algebra, the generalized singular value decomposition (GSVD) is the name of two different techniques based on the singular value decomposition (SVD). The two versions differ because one version decomposes two matrices (somewhat like the higher-order or tensor SVD) and the other version uses a set of constraints imposed on the left and right singular vectors of a single-matrix SVD.

First version: two-matrix decomposition

The generalized singular value decomposition (GSVD) is a matrix decomposition on a pair of matrices which generalizes the singular value decomposition. It was introduced by Van Loan in 1976 and later developed by Paige and Saunders, which is the version described here. In contrast to the SVD, the GSVD decomposes simultaneously a pair of matrices with the same number of columns. The SVD and the GSVD, as well as some other possible generalizations of the SVD, are extensively used in the study of the conditioning and regularization of linear systems with respect to quadratic semi-norms. In the following, let 𝔽=ℝ, or 𝔽=β„‚.

Definition

The generalized singular value decomposition of matrices A1βˆˆπ”½m1Γ—n and A2βˆˆπ”½m2Γ—n isA1=U1Ξ£1[Wβˆ—D,0D]Qβˆ—,A2=U2Ξ£2[Wβˆ—D,0D]Qβˆ—,where

  • U1βˆˆπ”½m1Γ—m1 is unitary,
  • U2βˆˆπ”½m2Γ—m2 is unitary,
  • Qβˆˆπ”½nΓ—n is unitary,
  • Wβˆˆπ”½kΓ—kis unitary,
  • Dβˆˆβ„kΓ—k is real diagonal with positive diagonal, and contains the non-zero singular values of C=[A1A2] in decreasing order,
  • 0D=0βˆˆβ„kΓ—(nβˆ’k),
  • Ξ£1=⌈IA,S1,0AβŒ‹βˆˆβ„m1Γ—k is real non-negative block-diagonal, where S1=⌈αr+1,…,Ξ±r+sβŒ‹ with 1>Ξ±r+1β‰₯β‹―β‰₯Ξ±r+s>0, IA=Ir, and 0A=0βˆˆβ„(m1βˆ’rβˆ’s)Γ—(kβˆ’rβˆ’s),
  • Ξ£2=⌈0B,S2,IBβŒ‹βˆˆβ„m2Γ—k is real non-negative block-diagonal, where S2=⌈βr+1,…,Ξ²r+sβŒ‹ with 0<Ξ²r+1≀⋯≀βr+s<1, IB=Ikβˆ’rβˆ’s, and 0B=0βˆˆβ„(m2βˆ’k+r)Γ—r,
  • Ξ£1βˆ—Ξ£1=⌈α12,…,Ξ±k2βŒ‹,
  • Ξ£2βˆ—Ξ£2=⌈β12,…,Ξ²k2βŒ‹,
  • Ξ£1βˆ—Ξ£1+Ξ£2βˆ—Ξ£2=Ik,
  • k=rank(C).

We denote Ξ±1=β‹―=Ξ±r=1, Ξ±r+s+1=β‹―=Ξ±k=0, Ξ²1=β‹―=Ξ²r=0, and Ξ²r+s+1=β‹―=Ξ²k=1. While Ξ£1 is diagonal, Ξ£2 is not always diagonal, because of the leading rectangular zero matrix; instead Ξ£2 is "bottom-right-diagonal".

Variations

There are many variations of the GSVD. These variations are related to the fact that it is always possible to multiply Qβˆ— from the left by EEβˆ—=I where Eβˆˆπ”½nΓ—n is an arbitrary unitary matrix. We denote

  • X=([Wβˆ—D,0D]Qβˆ—)βˆ—
  • Xβˆ—=[0,R]QΜ‚βˆ—, where Rβˆˆπ”½kΓ—k is upper-triangular and invertible, and QΜ‚βˆˆπ”½nΓ—n is unitary. Such matrices exist by RQ-decomposition.
  • Y=Wβˆ—D. Then Y is invertible.

Here are some variations of the GSVD:

  • MATLAB (gsvd):A1=U1Ξ£1Xβˆ—,A2=U2Ξ£2Xβˆ—.
  • LAPACK (ggsvd3):A1=U1Ξ£1[0,R]QΜ‚βˆ—,A2=U2Ξ£2[0,R]QΜ‚βˆ—.
  • Simplified:A1=U1Ξ£1[Y,0D]Qβˆ—,A2=U2Ξ£2[Y,0D]Qβˆ—.

Generalized singular values

The phrase generalized singular value can be used in reference to slightly different things. In this article, a generalized singular value of A1 and A2 is a pair (a,b)βˆˆβ„2 such that

limΞ΄β†’0det⁑(b2A1βˆ—A1βˆ’a2A2βˆ—A2+Ξ΄In)/det⁑(Ξ΄Inβˆ’k)=0,a2+b2=1,a,bβ‰₯0.Other sources call such (a,b)βˆˆβ„2 generalized singular value pairs and use generalized singular value to refer to the ratio a/b.

Regardless of the naming convention, we have

  • AiAjβˆ—=UiΞ£iYYβˆ—Ξ£jβˆ—Ujβˆ—
  • Aiβˆ—Aj=Q[Yβˆ—Ξ£iβˆ—Ξ£jY000]Qβˆ—=Q1Yβˆ—Ξ£iβˆ—Ξ£jYQ1βˆ—


By these properties we can show that the generalized singular values are exactly the pairs (Ξ±i,Ξ²i). We havedet⁑(b2A1βˆ—A1βˆ’a2A2βˆ—A2+Ξ΄In)=det⁑(b2A1βˆ—A1βˆ’a2A2βˆ—A2+Ξ΄QQβˆ—)=det⁑(Q[Yβˆ—(b2Ξ£1βˆ—Ξ£1βˆ’a2Ξ£2βˆ—Ξ£2)Y+Ξ΄Ik00Ξ΄Inβˆ’k]Qβˆ—)=det⁑(Ξ΄Inβˆ’k)det⁑(Yβˆ—(b2Ξ£1βˆ—Ξ£1βˆ’a2Ξ£2βˆ—Ξ£2)Y+Ξ΄Ik).Therefore

limΞ΄β†’0det⁑(b2A1βˆ—A1βˆ’a2A2βˆ—A2+Ξ΄In)/det⁑(Ξ΄Inβˆ’k)=limΞ΄β†’0det⁑(Yβˆ—(b2Ξ£1βˆ—Ξ£1βˆ’a2Ξ£2βˆ—Ξ£2)Y+Ξ΄Ik)=det⁑(Yβˆ—(b2Ξ£1βˆ—Ξ£1βˆ’a2Ξ£2βˆ—Ξ£2)Y)=|det⁑(Y)|2∏i=1k(b2Ξ±i2βˆ’a2Ξ²i2).

This expression is zero exactly when a=Ξ±i and b=Ξ²i for some i.

In, the generalized singular values are claimed to be those which solve det⁑(b2A1βˆ—A1βˆ’a2A2βˆ—A2)=0. However, this claim only holds when k=n, since otherwise the determinant is zero for every pair (a,b)βˆˆβ„2; this can be seen by substituting Ξ΄=0 above.

Generalized inverse

Define E+=Eβˆ’1 for any invertible matrix Eβˆˆπ”½nΓ—n , 0+=0βˆ— for any zero matrix 0βˆˆπ”½mΓ—n, and ⌈E1,E2βŒ‹+=⌈E1+,E2+βŒ‹ for any block-diagonal matrix. Then defineAi+=Q[Yβˆ’10]Ξ£i+Uiβˆ—It can be shown that Ai+ as defined here is a generalized inverse of Ai; in particular a {1,2,3}-inverse of Ai. Since it does not in general satisfy (Ai+Ai)βˆ—=Ai+Ai, this is not the Moore–Penrose inverse; otherwise we could derive (AB)+=B+A+ for any choice of matrices, which only holds for certain class of matrices.

Suppose Q=[Q1Q2], where Q1βˆˆπ”½nΓ—k and Q2βˆˆπ”½nΓ—(nβˆ’k). This generalized inverse has the following properties:

  • Ξ£1+=⌈IA,S1βˆ’1,0ATβŒ‹
  • Ξ£2+=⌈0BT,S2βˆ’1,IBβŒ‹
  • Ξ£1Ξ£1+=⌈I,I,0βŒ‹
  • Ξ£2Ξ£2+=⌈0,I,IβŒ‹
  • Ξ£1Ξ£2+=⌈0,S1S2βˆ’1,0βŒ‹
  • Ξ£1+Ξ£2=⌈0,S1βˆ’1S2,0βŒ‹
  • AiAj+=UiΞ£iΞ£j+Ujβˆ—
  • Ai+Aj=Q[Yβˆ’1Ξ£i+Ξ£jY000]Qβˆ—=Q1Yβˆ’1Ξ£i+Ξ£jYQ1βˆ—

Quotient SVD

A generalized singular ratio (or just "generalized singular value," depending on one's naming convention) of A1 and A2 is Οƒi=Ξ±iΞ²i+. By the above properties, A1A2+=U1Ξ£1Ξ£2+U2βˆ—. Note that Ξ£1Ξ£2+=⌈0,S1S2βˆ’1,0βŒ‹ is diagonal, and that, ignoring the leading zeros, contains the singular ratios in decreasing order. If A2 is invertible, then Ξ£1Ξ£2+ has no leading zeros, and the generalized singular ratios are the singular values, and U1 and U2 are the matrices of singular vectors, of the matrix A1A2+=A1A2βˆ’1. In fact, computing the SVD of A1A2βˆ’1 is one of the motivations for the GSVD, as "forming ABβˆ’1 and finding its SVD can lead to unnecessary and large numerical errors when B is ill-conditioned for solution of equations". Hence the sometimes used name "quotient SVD", although this is not the only reason for using GSVD. If A2 is not invertible, then U1Ξ£1Ξ£2+U2βˆ—is still the SVD of A1A2+ if we relax the requirement of having the singular values in decreasing order. Alternatively, a decreasing order SVD can be found by moving the leading zeros to the back: U1Ξ£1Ξ£2+U2βˆ—=(U1P1)P1βˆ—Ξ£1Ξ£2+P2(P2βˆ—U2βˆ—), where P1 and P2 are appropriate permutation matrices. Since rank equals the number of non-zero singular values, rank(A1A2+)=s.

Construction

Let

  • C=P⌈D,0βŒ‹Qβˆ— be the SVD of C=[A1A2], where Pβˆˆπ”½(m1+m2)Γ—(m1Γ—m2) is unitary, and Q and D are as described,
  • P=[P1,P2], where P1βˆˆπ”½(m1+m2)Γ—k and P2βˆˆπ”½(m1+m2)Γ—(nβˆ’k),
  • P1=[P11P21], where P11βˆˆπ”½m1Γ—k and P21βˆˆπ”½m2Γ—k,
  • P11=U1Ξ£1Wβˆ— by the SVD of P11, where U1, Ξ£1 and W are as described,
  • P21W=U2Ξ£2 by a decomposition similar to a QR-decomposition, where U2 and Ξ£2 are as described.

ThenC=P⌈D,0βŒ‹Qβˆ—=[P1D,0]Qβˆ—=[U1Ξ£1Wβˆ—D0U2Ξ£2Wβˆ—D0]Qβˆ—=[U1Ξ£1[Wβˆ—D,0]Qβˆ—U2Ξ£2[Wβˆ—D,0]Qβˆ—].We also have[U1βˆ—00U2βˆ—]P1W=[Ξ£1Ξ£2].ThereforeΞ£1βˆ—Ξ£1+Ξ£2βˆ—Ξ£2=[Ξ£1Ξ£2]βˆ—[Ξ£1Ξ£2]=Wβˆ—P1βˆ—[U100U2][U1βˆ—00U2βˆ—]P1W=I.Since P1 has orthonormal columns, ||P1||2≀1. Therefore||Ξ£1||2=||U1βˆ—P1W||2=||P1||2≀1.We also have for each xβˆˆβ„k such that ||x||2=1 that||P21x||22≀||P11x||22+||P21x||22=||P1x||22≀1.Therefore ||P21||2≀1, and||Ξ£2||2=||U2βˆ—P21W||2=||P21||2≀1.

Applications

The tensor GSVD is one of the comparative spectral decompositions, multi-tensor generalizations of the SVD, invented to simultaneously identify the similar and dissimilar among, and create a single coherent model from any data types, of any number and dimensions.

The GSVD, formulated as a comparative spectral decomposition, has been successfully applied to signal processing and data science, e.g., in genomic signal processing.

These applications inspired several additional comparative spectral decompositions, i.e., the higher-order GSVD (HO GSVD) the tensor GSVD, and the tensor HO GSVD.

It has equally found applications to estimate the spectral decompositions of linear operators when the eigenfunctions are parameterized with a linear model, i.e. a reproducing kernel Hilbert space.

Second version: weighted single-matrix decomposition

The weighted version of the generalized singular value decomposition (GSVD) is a constrained matrix decomposition with constraints imposed on the left and right singular vectors of the singular value decomposition. This form of the GSVD is an extension of the SVD as such. Given the SVD of an mΓ—n real or complex matrix M

M=UΞ£Vβˆ—

where

Uβˆ—WuU=Vβˆ—WvV=I.

Where I is the identity matrix and where U and V are orthonormal given their constraints (Wu and Wv). Additionally, Wu and Wv are positive definite matrices (often diagonal matrices of weights). This form of the GSVD is the core of certain techniques, such as generalized principal component analysis and Correspondence analysis.

The weighted form of the GSVD is called as such because, with the correct selection of weights, it generalizes many techniques (such as multidimensional scaling and linear discriminant analysis).

References

  1. ↑ Van Loan CF (1976). "Generalizing the Singular Value Decomposition". SIAM J. Numer. Anal. 13 (1): 76–83. Bibcode:1976SJNA...13...76V. doi:10.1137/0713009.
  2. 1 2 3 Paige CC, Saunders MA (1981). "Towards a Generalized Singular Value Decomposition". SIAM J. Numer. Anal. 18 (3): 398–405. Bibcode:1981SJNA...18..398P. doi:10.1137/0718026.
  3. ↑ Hansen PC (1997). Rank-Deficient and Discrete Ill-Posed Problems: Numerical Aspects of Linear Inversion. SIAM Monographs on Mathematical Modeling and Computation. ISBNΒ 0-89871-403-6.
  4. ↑ de Moor BL, Golub GH (1989). "Generalized Singular Value Decompositions A Proposal for a Standard Nomenclauture" (PDF).
  5. ↑ de Moor BL, Zha H (1991). "A tree of generalizations of the ordinary singular value decomposition". Linear Algebra and Its Applications. 147: 469–500. doi:10.1016/0024-3795(91)90243-P.
  6. 1 2 Bai, Zhaojun; Demmel, James W. (1993). "Computing the Generalized Singular Value Decomposition". SIAM Journal on Scientific Computing. 14 (6): 1464–1486. doi:10.1137/0914085. ISSNΒ 1064-8275.
  7. 1 2 "Generalized Singular Value Decomposition (GSVD)". www.netlib.org. Retrieved 29 March 2026.
  8. 1 2 Golub, Gene H.; Van Loan, Charles F. (2013). Matrix computations. Johns Hopkins studies in the mathematical sciences (4thΒ ed.). Baltimore: The Johns Hopkins University Press. pp.Β 501–502. ISBNΒ 978-1-4214-0794-4.
  9. ↑ Alter O, Brown PO, Botstein D (March 2003). "Generalized singular value decomposition for comparative analysis of genome-scale expression data sets of two different organisms". Proceedings of the National Academy of Sciences of the United States of America. 100 (6): 3351–6. Bibcode:2003PNAS..100.3351A. doi:10.1073/pnas.0530258100. PMCΒ 152296. PMIDΒ 12631705.
  10. ↑ Lee CH, Alpert BO, Sankaranarayanan P, Alter O (January 2012). "GSVD comparison of patient-matched normal and tumor aCGH profiles reveals global copy-number alterations predicting glioblastoma multiforme survival". PLOS ONE. 7 (1) e30098. Bibcode:2012PLoSO...730098L. doi:10.1371/journal.pone.0030098. PMCΒ 3264559. PMIDΒ 22291905.
  11. ↑ Aiello KA, Ponnapalli SP, Alter O (September 2018). "Mathematically universal and biologically consistent astrocytoma genotype encodes for transformation and predicts survival phenotype". APL Bioengineering. 2 (3) 031909. doi:10.1063/1.5037882. PMCΒ 6215493. PMIDΒ 30397684.
  12. ↑ Ponnapalli SP, Bradley MW, Devine K, Bowen J, Coppens SE, Leraas KM, Milash BA, Li F, Luo H, Qiu S, Wu K, Yang H, Wittwer CT, Palmer CA, Jensen RL, Gastier-Foster JM, Hanson HA, Barnholtz-Sloan JS, Alter O (May 2020). "Retrospective Clinical Trial Experimentally Validates Glioblastoma Genome-Wide Pattern of DNA Copy-Number Alterations Predictor of Survival". APL Bioengineering. 4 (2) 026106. doi:10.1063/1.5142559. PMCΒ 7229984. PMIDΒ 32478280. Press Release.
  13. ↑ Ponnapalli SP, Saunders MA, Van Loan CF, Alter O (December 2011). "A higher-order generalized singular value decomposition for comparison of global mRNA expression from multiple organisms". PLOS ONE. 6 (12) e28072. Bibcode:2011PLoSO...628072P. doi:10.1371/journal.pone.0028072. PMCΒ 3245232. PMIDΒ 22216090.
  14. ↑ Sankaranarayanan P, Schomay TE, Aiello KA, Alter O (April 2015). "Tensor GSVD of patient- and platform-matched tumor and normal DNA copy-number profiles uncovers chromosome arm-wide patterns of tumor-exclusive platform-consistent alterations encoding for cell transformation and predicting ovarian cancer survival". PLOS ONE. 10 (4) e0121396. Bibcode:2015PLoSO..1021396S. doi:10.1371/journal.pone.0121396. PMCΒ 4398562. PMIDΒ 25875127.
  15. ↑ Bradley MW, Aiello KA, Ponnapalli SP, Hanson HA, Alter O (September 2019). "GSVD- and tensor GSVD-uncovered patterns of DNA copy-number alterations predict adenocarcinomas survival in general and in response to platinum". APL Bioengineering. 3 (3) 036104. doi:10.1063/1.5099268. PMCΒ 6701977. PMIDΒ 31463421. Supplementary Material.
  16. ↑ Alter O, Newman E, Ponnapalli SP, Tsai JW (June 2026). "Quantum Mechanics-Based Multitensor AI/ML Uniquely Able to Discover, Validate, and Interpret Predictors from Small-Cohort Noisy High-Dimensional Multiomic Data". APL Quantum. 3 (2) 026116. doi:10.1063/5.0305656.
  17. ↑ Cabannes, Vivien; Pillaud-Vivien, Loucas; Bach, Francis; Rudi, Alessandro (2021). "Overcoming the curse of dimensionality with Laplacian regularization in semi-supervised learning". arXiv:2009.04324 [stat.ML].
  18. ↑ Jolliffe IT (2002). Principal Component Analysis. Springer Series in Statistics (2ndΒ ed.). NY: Springer. ISBNΒ 978-0-387-95442-4.
  19. ↑ Greenacre M (1983). Theory and Applications of Correspondence Analysis. London: Academic Press. ISBNΒ 978-0-12-299050-2.
  20. ↑ Abdi H, Williams LJ (2010). "Principal component analysis". Wiley Interdisciplinary Reviews: Computational Statistics. 2 (4): 433–459. doi:10.1002/wics.101. S2CIDΒ 122379222.
  21. ↑ Abdi H (2007). "Singular Value Decomposition (SVD) and Generalized Singular Value Decomposition (GSVD).". In Salkind NJ (ed.). Encyclopedia of Measurement and Statistics. Thousand Oaks (CA): Sage. pp.Β 907–912.

Further reading

  • Golub G, Van Loan C (1996). Matrix Computation (ThirdΒ ed.). Baltimore: Johns Hopkins University Press. ISBNΒ 0-8018-5414-8.
  • LAPACK manual