{"id":1912,"date":"2024-12-07T00:50:26","date_gmt":"2024-12-07T00:50:26","guid":{"rendered":"https:\/\/www.ethanepperly.com\/?p=1912"},"modified":"2024-12-07T22:52:56","modified_gmt":"2024-12-07T22:52:56","slug":"low-rank-approximation-toolbox-the-gram-correspondence","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2024\/12\/07\/low-rank-approximation-toolbox-the-gram-correspondence\/","title":{"rendered":"Low-Rank Approximation Toolbox: The Gram Correspondence"},"content":{"rendered":"\n<p>I am delighted to share that my paper <em><a href=\"https:\/\/arxiv.org\/abs\/2207.06503\">Randomly pivoted Cholesky: Randomly pivoted Cholesky: Practical approximation of a kernel matrix with few entry evaluations<\/a><\/em>, joint with <a href=\"https:\/\/yifanc96.github.io\">Yifan Chen<\/a>, <a href=\"https:\/\/tropp.caltech.edu\">Joel Tropp<\/a>, and <a href=\"https:\/\/sites.google.com\/ucsd.edu\/rwebber\/\">Robert Webber<\/a>, has been <a href=\"https:\/\/doi.org\/10.1002\/cpa.22234\">published online<\/a> in <em><a href=\"https:\/\/onlinelibrary.wiley.com\/journal\/10970312\">Communications on Pure and Applied Mathematics<\/a><\/em>. To celebrate this occasion, I want to share one of my favorite tricks in the design of low-rank approximation algorithms, which I will call the <em>Gram correspondence<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Projection Approximation and Nystr\u00f6m Approximation<\/h2>\n\n\n\n<p>When we construct a low-rank approximation to a matrix, the type of approximation we use is typically dictated by the size and properties of the matrix. For a rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-71d626dcf5871acee1fe3da3ca65cb53_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/>, one of the standard techniques is the standard <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/12\/low-rank-approximation-toolbox-randomized-svd\/\">randomized SVD<\/a> algorithm:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Generate a Gaussian random matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47d1d5213bf6659ff3cd2b5ff2c8969_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"78\" style=\"vertical-align: -1px;\"\/>.<\/li>\n\n\n\n<li>Form the product <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-99f2b6ea36209285753eadbdefaf7dbb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#32;&#61;&#32;&#66;&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"64\" style=\"vertical-align: 0px;\"\/>.<\/li>\n\n\n\n<li>Compute an (<a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition#Rectangular_matrix\">economy-size<\/a>) <a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition\">QR decomposition<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c039999f044b0d50c176e8fbd1e343a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#32;&#61;&#32;&#81;&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"66\" style=\"vertical-align: -4px;\"\/>.<\/li>\n\n\n\n<li>Evaluate the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Singular_value_decomposition\">SVD<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-aa9ca41db13fec486ce1292c5b03bc07_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#61;&#32;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"115\" style=\"vertical-align: -4px;\"\/>.<\/li>\n\n\n\n<li>Output the low-rank approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-07df82fe7d30e944de02c9dfcd6c7916_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#85;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"89\" style=\"vertical-align: 0px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ff6936104b8a1c357b09da8c1130a33e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#32;&#61;&#32;&#81;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"65\" style=\"vertical-align: -4px;\"\/>.<\/li>\n<\/ol>\n\n\n\n<p>Succinctly, the output of the randomized SVD is given by the formula <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1ec62c768b1a984cce33cfe4f07cd514_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"87\" style=\"vertical-align: -3px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-803719a5de7cd9c11852f55e83f7de2a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: -3px;\"\/> denotes the <a href=\"https:\/\/www.cs.cornell.edu\/courses\/cs3220\/2019fa\/Projectors.pdf\">orthogonal projector<\/a> onto the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Row_and_column_spaces#Column_space\">column span<\/a> of a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7bf5d1207baa8be58658ce9d3cf12043_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This motivates the general definition:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Definition <\/strong>(projection approximation): Given a test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47d1d5213bf6659ff3cd2b5ff2c8969_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"78\" style=\"vertical-align: -1px;\"\/>, the <em>projection approximation<\/em> to the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1ec62c768b1a984cce33cfe4f07cd514_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"87\" style=\"vertical-align: -3px;\"\/>.<\/p>\n<\/blockquote>\n\n\n\n<p>The class of projection approximations is much richer than merely the approximation constructed by the standard randomized SVD. Indeed, low-rank approximations computed by <a href=\"https:\/\/arxiv.org\/abs\/2306.12418\">randomized subspace iteration, randomized block Krylov iteration<\/a>, <a href=\"https:\/\/nhigham.com\/2021\/05\/19\/what-is-a-rank-revealing-factorization\/\">column-pivoted QR decompositions<\/a>, etc. all fit under the umbrella of projection approximations.<\/p>\n\n\n\n<p>Many matrices in applications have additional structure such as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Symmetric_matrix\">symmetry<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Sparse_matrix\">sparsity<\/a>, and it can be valuable to make use of low-rank approximations that take advantage of those properties. An especially important type of structure is <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Definite_matrix\">positive semidefiniteness<\/a><\/em>. For our purposes, a positive semidefinite matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5a7ac0d69b5c85c86869baa86aa5568_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"83\" style=\"vertical-align: -1px;\"\/> is one that is symmetric and possesses nonnegative <a href=\"https:\/\/en.wikipedia.org\/wiki\/Eigenvalues_and_eigenvectors\">eigenvalues<\/a>, and we will use abbreviate &#8220;positive semidefinite&#8221; as &#8220;psd&#8221;. Psd matrices arise in applications as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Covariance_matrix\">covariance matrices<\/a>, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Positive-definite_kernel#Definition\">kernel matrices<\/a>, and as discretizations of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Discrete_Poisson_equation\">certain<\/a> differential and integral operators. Further, any rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-71d626dcf5871acee1fe3da3ca65cb53_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/> gives rise to its psd <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Gram_matrix\">Gram matrix<\/a><\/em> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>; we will have much more to say about Gram matrices below.<\/p>\n\n\n\n<p>To compute a low-rank approximation to a psd matrix, the preferred format as usually the <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/11\/low-rank-approximation-toolbox-nystrom-approximation\/\">Nystr\u00f6m approximation<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Definition <\/strong>(Nystr\u00f6m approximation): Given a test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47d1d5213bf6659ff3cd2b5ff2c8969_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"78\" style=\"vertical-align: -1px;\"\/>, the <em>Nystr\u00f6m approximation<\/em> is<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">Throughout this post, the inverse <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1afab552eac419fae92a537c269157d8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#123;&#125;&#94;&#123;&#45;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"9\" width=\"16\" style=\"vertical-align: 6px;\"\/> is interpreted as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Moore\u2013Penrose_inverse\">Moore\u2013Penrose pseudoinverse<\/a> if its argument is not invertible.<\/span> <p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-324f22320951777dd4f468db63441a88_l3.png\" height=\"24\" width=\"219\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#40;&#65;&#92;&#79;&#109;&#101;&#103;&#97;&#41;&#32;&#40;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#92;&#116;&#111;&#112;&#32;&#65;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#41;&#94;&#123;&#45;&#49;&#125;&#40;&#65;&#92;&#79;&#109;&#101;&#103;&#97;&#41;&#94;&#92;&#116;&#111;&#112;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<\/blockquote>\n\n\n\n<p><a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/11\/low-rank-approximation-toolbox-nystrom-approximation\/#choosing-the-test-matrix\">As discussed in a previous post<\/a>, the general class of Nystr\u00f6m approximations includes many useful specializations depending on how the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> is selected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Gram Correspondence<\/h2>\n\n\n\n<p>The Gram correspondence is a connection between projection approximation and Nystr\u00f6m approximation:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>The Gram correspondence<\/strong>: Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-219ee5e4b799e534abf0cc881dc5c2aa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/> be any rectangular matrix and consider the Gram matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>. Fix a test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>, and define the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1fb250adab777aa88e95244e72fb61c9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#65;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#114;&#97;&#110;&#103;&#108;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"75\" style=\"vertical-align: -5px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> and the projection approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-42401a7c1a48ac202bdeccce1c7c1351_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"87\" style=\"vertical-align: -3px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. Then <p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d117cb87f2d340e70cf67c27d22eda9b_l3.png\" height=\"19\" width=\"81\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#92;&#115;&#109;&#97;&#115;&#104;&#123;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>That is, the Gram matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8f31127ffe27e22079010d827ee73a37_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"40\" style=\"vertical-align: 0px;\"\/> of the projection approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5c21eb087e322465ea003d6a0a2e4a5c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"52\" style=\"vertical-align: 0px;\"\/> is the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-435d716930b15b131aed1b6d63f0f069_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"50\" style=\"vertical-align: 0px;\"\/>.<\/p>\n<\/blockquote>\n\n\n\n<p>As we will see, this correspondence has many implications:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Special cases.<\/strong> The correspondence contains several important facts as special cases. Examples include the equivalence between the randomized SVD and single-pass Nystr\u00f6m approximation and the equivalence of (partial) column-pivoted QR factorization and (partial) pivoted Cholesky decomposition. <\/li>\n\n\n\n<li><strong>Algorithm design.<\/strong> Since Nystr\u00f6m approximation and projection approximations are closely related, one can often interconvert algorithms for one type of approximation into the other. These conversions can lead one to discover new algorithms. We will provide a historical answer with the discovery of randomly pivoted Cholesky.<\/li>\n\n\n\n<li><strong>Error bounds.<\/strong> The Gram correspondence is immensely helpful in the analysis of algorithms, as it makes error bounds for projection approximations and Nystr\u00f6m approximations easily derivable from each other.<\/li>\n<\/ol>\n\n\n\n<p>For those interested, we give a short proof of the Gram correspondence below.<\/p>\n\n\n\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Proof of Gram correspondence<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">The Gram correspondence is straightforward to derive, so let&#8217;s do so before moving on. Because <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-97a5221bf9d9b98b1d4a78bbf2e27a3f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"34\" style=\"vertical-align: -3px;\"\/> is a projection matrix, it satisfies <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0213441eabd0c30be78ce54c6650e8bc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"93\" style=\"vertical-align: -5px;\"\/>. Thus, <p class=\"ql-center-displayed-equation\" style=\"line-height: 23px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-48bef2e2a5d8c3d62885c4d9b401657a_l3.png\" height=\"23\" width=\"242\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#94;&#50;&#66;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p> The projector <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-803719a5de7cd9c11852f55e83f7de2a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#70;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"24\" style=\"vertical-align: -3px;\"\/> has the formula <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-756b0da7e2430e4dccb2790beafb984a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#70;&#32;&#40;&#70;&#94;&#92;&#116;&#111;&#112;&#32;&#70;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#70;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"109\" style=\"vertical-align: -5px;\"\/>. Using this formula, we obtain <p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d23468b24025dc8e100c51d6529cd298_l3.png\" height=\"24\" width=\"295\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#40;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>This is precisely the formula for the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-35b7cc41ee0d1f95e45754c6c8d2d97a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#114;&#97;&#110;&#103;&#108;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"78\" style=\"vertical-align: -5px;\"\/>, confirming the Gram correspondence.<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Aside: Gram Square Roots<\/h2>\n\n\n\n<p>Before we go forward, let me highlight a point of potential conclusion and introduce some helpful terminology. When thinking about algorithms for a psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, it will often to be helpful to conjure a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> for which <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>. Given a psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, there is always a matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> for which <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>, but this <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is not unique. Indeed, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>, then we have the infinite family of decompositions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-efa26e85f412d2db90cf7ce748be4562_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#40;&#85;&#66;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#40;&#85;&#66;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"132\" style=\"vertical-align: -5px;\"\/> generated by every matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> with orthonormal columns. This motivates the following definition:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Definition<\/strong> (Gram square root): A matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a <em>Gram square root<\/em> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>.<\/p>\n<\/blockquote>\n\n\n\n<p>A Gram square root <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> need not be a square root in the traditional sense that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f12dba71dfb7168606e6939a3c8db330_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#50;&#32;&#61;&#32;&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"59\" style=\"vertical-align: 0px;\"\/>. Indeed, a Gram square root <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> can be rectangular, so <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-94f56463eecacc9ac62e602cc1dd0496_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"21\" style=\"vertical-align: 0px;\"\/> need not even be defined.<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-2\">2<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">The Gram square root should be contrasted with a different type of square root, the <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Square_root_of_a_matrix#Positive_semidefinite_matrices\">matrix square root<\/a><\/em> written <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7135d01c7af85f29ac02f48ea1af7851_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#94;&#123;&#49;&#47;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"34\" style=\"vertical-align: 0px;\"\/>. The matrix square root <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7135d01c7af85f29ac02f48ea1af7851_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#94;&#123;&#49;&#47;&#50;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"34\" style=\"vertical-align: 0px;\"\/> is square and psd, and satisfies <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f59a476e19f6f547ad1b72f3ee7baa33_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#40;&#65;&#94;&#123;&#49;&#47;&#50;&#125;&#41;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"93\" style=\"vertical-align: -5px;\"\/>. Moreover, it is the unique matrix with these properties.<\/span> Using the Gram square root terminology, the Gram correspondence can be written more succinctly:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Gram correspondence<\/strong> (concise): If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is any Gram square root of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, then the projection approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-42401a7c1a48ac202bdeccce1c7c1351_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"87\" style=\"vertical-align: -3px;\"\/> is a Gram square root of the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-809fa080c02c6668b143ec163f95f8ea_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#65;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#114;&#97;&#110;&#103;&#108;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"75\" style=\"vertical-align: -5px;\"\/>.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Examples of the Gram Correspondence<\/h2>\n\n\n\n<p>Before going further, let us see a couple of explicit examples of the Gram correspondence.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Randomized SVD and Single-Pass Nystr\u00f6m Approximation<\/h3>\n\n\n\n<p>The canonical example of the Gram correspondence is the equivalence of the randomized SVD algorithm and the <a href=\"https:\/\/proceedings.neurips.cc\/paper\/2017\/hash\/4558dbb6f6f8bb2e16d03b85bde76e2c-Abstract.html\">single-pass Nystr\u00f6m approximation<\/a>. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> be a Gram square root for a psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. The randomized SVD of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is given by the following steps, which we saw in the introduction:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Generate a Gaussian random matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47d1d5213bf6659ff3cd2b5ff2c8969_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#107;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"78\" style=\"vertical-align: -1px;\"\/>.<\/li>\n\n\n\n<li>Form the product <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-99f2b6ea36209285753eadbdefaf7dbb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#32;&#61;&#32;&#66;&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"64\" style=\"vertical-align: 0px;\"\/>.<\/li>\n\n\n\n<li>Compute a QR decomposition <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c039999f044b0d50c176e8fbd1e343a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#32;&#61;&#32;&#81;&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"66\" style=\"vertical-align: -4px;\"\/>.<\/li>\n\n\n\n<li>Evaluate the SVD <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-aa9ca41db13fec486ce1292c5b03bc07_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#61;&#32;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;&#32;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"115\" style=\"vertical-align: -4px;\"\/>.<\/li>\n\n\n\n<li>Output the low-rank approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-07df82fe7d30e944de02c9dfcd6c7916_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#85;&#92;&#83;&#105;&#103;&#109;&#97;&#32;&#86;&#94;&#92;&#116;&#111;&#112;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"89\" style=\"vertical-align: 0px;\"\/> for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ff6936104b8a1c357b09da8c1130a33e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;&#32;&#61;&#32;&#81;&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#85;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"65\" style=\"vertical-align: -4px;\"\/>.<\/li>\n<\/ol>\n\n\n\n<p>Now, imagine taking the same Gaussian matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> from the randomized SVD, and use it to compute the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1fb250adab777aa88e95244e72fb61c9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#65;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#114;&#97;&#110;&#103;&#108;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"75\" style=\"vertical-align: -5px;\"\/>. Notice that this Nystr\u00f6m approximation can be computed in a <em>single pass<\/em> over the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. Namely, use a single pass over <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> to compute <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4481e71296c61348503e4bc9fa3a08c0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#89;&#61;&#65;&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"63\" style=\"vertical-align: 0px;\"\/> and use following formula:<sup class=\"modern-footnotes-footnote \" data-mfn=\"3\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-3\">3<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-3\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"3\">In practice, one should be careful about implementation for a single-pass Nystr\u00f6m approximation; see <a href=\"https:\/\/arxiv.org\/abs\/1706.05736\">this paper<\/a> for details.<\/span> <p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-26a3012188a11c08b56517e952560fa8_l3.png\" height=\"24\" width=\"151\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#89;&#32;&#40;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#92;&#116;&#111;&#112;&#32;&#89;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#89;&#94;&#92;&#116;&#111;&#112;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>For this reason, we call <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> the single-pass Nystr\u00f6m approximation.<\/p>\n\n\n\n<p>The Gram correspondence tells us that the randomized SVD and single-pass Nystr\u00f6m approximation are closely related, in the sense that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-af91ceec8f886ebbeea0dce57b2d8a5a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: 0px;\"\/>. The randomized SVD approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a Gram square root of the single-pass Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Column-Pivoted QR Factorization and Pivoted Cholesky Decomposition<\/h3>\n\n\n\n<p>A more surprising consequence of the Gram correspondence is the connection between low-rank approximations produced by partial column-pivoted QR factorization of a rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and a partial pivoted Cholesky decomposition of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. Let&#8217;s begin by describing these two approximation methods.<\/p>\n\n\n\n<p>Let&#8217;s begin with <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S2.SS2\">pivoted partial Cholesky decomposition<\/a>. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5a7ac0d69b5c85c86869baa86aa5568_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"83\" style=\"vertical-align: -1px;\"\/> be a psd matrix, and initialize the zero approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fcf388450e2bab725aa3eeac50ce1ce9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"50\" style=\"vertical-align: -1px;\"\/>. For <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e072da1b63acb7f46f5eb01f953ed4e2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"104\" style=\"vertical-align: -4px;\"\/>, perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose a column index <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bdcf000ff55fc94e1d1f42077203abae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#32;&#92;&#108;&#101;&#32;&#115;&#95;&#105;&#32;&#92;&#108;&#101;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"85\" style=\"vertical-align: -3px;\"\/>. These indices are referred to as <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Pivot_element\">pivot indices<\/a><\/em> or, more simply, <em>pivots<\/em>.<\/li>\n\n\n\n<li>Update the low-rank approximation <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec07289a72875184db6bb7476af3149e_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>Update the matrix <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0f9632b22fb854d1c90533858afc4321_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#65;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#65;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n<\/ol>\n\n\n\n<p>Here, we are using <a href=\"https:\/\/www.mathworks.com\/company\/technical-articles\/matrix-indexing-in-matlab.html\">MATLAB notation<\/a> to index the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. The output of this procedure is <p class=\"ql-center-displayed-equation\" style=\"line-height: 24px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a2ee3b57f3e6b12a8a43ba694d856650_l3.png\" height=\"24\" width=\"219\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#65;&#40;&#58;&#44;&#83;&#41;&#32;&#65;&#40;&#83;&#44;&#83;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#65;&#40;&#83;&#44;&#58;&#41;&#44;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p> where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0156fa337c22e7e307bf93c47439dba9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;&#32;&#61;&#32;&#92;&#123;&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#107;&#92;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"124\" style=\"vertical-align: -5px;\"\/>. This type of low-rank approximation is known as a <em><a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/24\/nystrom-cholesky-and-schur\/\">column Nystr\u00f6m approximation<\/a><\/em> and is a special case of the general Nystr\u00f6m approximation with test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-708fa828f3e9e67700df343a2f47911b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#61;&#32;&#73;&#40;&#58;&#44;&#83;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/> equal to a subset of columns of the identity matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06a46a64abb2fc8a9d51631fef84fe19_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/>. For an explanation of why this procedure is called a &#8220;pivoted partial Cholesky decomposition&#8221; and the relation to the usual notion of Cholesky decomposition, see <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/24\/nystrom-cholesky-and-schur\/\">this previous post<\/a> of mine.<\/p>\n\n\n\n<p>Given the Gram correspondence, we expect that this pivoted partial Cholesky procedure for computing a Nystr\u00f6m approximation to a psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> should have an analog for computing a projection approximation to a rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This analog is given by the <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S3.SS2\">partial column-pivoted QR factorization<\/a>, which produces a low-rank approximation according as follows. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-71d626dcf5871acee1fe3da3ca65cb53_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/> be a psd matrix, and initialize the zero approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-077030fc9944fb1c43d2288a4fccd468_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"51\" style=\"vertical-align: -1px;\"\/>. For <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e072da1b63acb7f46f5eb01f953ed4e2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"104\" style=\"vertical-align: -4px;\"\/>, perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose a pivot index <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bdcf000ff55fc94e1d1f42077203abae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#32;&#92;&#108;&#101;&#32;&#115;&#95;&#105;&#32;&#92;&#108;&#101;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"85\" style=\"vertical-align: -3px;\"\/>.<\/li>\n\n\n\n<li>Update the low-rank approximation by adding the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Projection_(linear_algebra)#Formulas\">projection<\/a> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> onto the selected column: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f7b7aca4b0d114aeb280571a367af608_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#43;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#32;&#47;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"318\" style=\"vertical-align: -5px;\"\/>.<\/li>\n\n\n\n<li>Update the matrix by removing the projection of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> onto the selected column: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-30e757c917394d0c3a0918af256c6dba_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#66;&#32;&#45;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#32;&#47;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"318\" style=\"vertical-align: -5px;\"\/>.<\/li>\n<\/ol>\n\n\n\n<p>The output of this procedure is the <em>column projection approximation<\/em> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-990fb7606fe4ae2f74cedb0c5c4e733b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#123;&#66;&#40;&#58;&#44;&#83;&#41;&#125;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"67\" style=\"vertical-align: -8px;\"\/>, which is an example of the general projection approximation with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-708fa828f3e9e67700df343a2f47911b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#61;&#32;&#73;&#40;&#58;&#44;&#83;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"83\" style=\"vertical-align: -5px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"4\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-4\">4<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-4\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"4\">The column projection approximation is often presented in factorized form in one of two ways. First, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> can be expressed as <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-998cd9d0c36d115dcc23da3679446e5d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#81;&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"66\" style=\"vertical-align: -4px;\"\/>, where <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e7f252699e1616398a7ce5179d3e425e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#81;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/> is a matrix with orthonormal columns and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d08fac616919760e7538df715d3ca0e6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#82;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is an upper trapezoidal matrix, up to a permutation of the rows. This factorized form is easy to compute roughly following steps 1\u20133 above, which explains why we call that procedure a &#8220;<a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_decomposition\">QR factorization<\/a>&#8220;. Second, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> can be factorized <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4fec30e3afb279a3eb04b0a46c14522f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#61;&#32;&#66;&#40;&#58;&#44;&#83;&#41;&#32;&#87;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"110\" style=\"vertical-align: -5px;\"\/> for a weight matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9bc47fe5a0130492c1824529f6c14119_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#87;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#107;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"84\" style=\"vertical-align: -1px;\"\/>. This type of factorization is known as an <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Interpolative_decomposition\">interpolative decomposition<\/a><\/em>.<\/span>\n\n\n\n<p>The pivoted partial Cholesky and QR factorizations are very traditional ways of computing a low-rank approximation in numerical linear algebra. The Gram correspondence tells us immediately that these two approaches are closely related:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> be a Gram square root of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. Compute a column projection approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> using a partially column-pivoted QR factorization with pivots <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-dce009c30c096fdcc766edae34514199_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"70\" style=\"vertical-align: -4px;\"\/>, and compute a column Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> using a partial pivoted Cholesky decomposition with the same set of pivots <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-dce009c30c096fdcc766edae34514199_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"70\" style=\"vertical-align: -4px;\"\/>. Then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b63dc2742c82a18cfc754f3270d76074_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"78\" style=\"vertical-align: 0px;\"\/>.<\/p>\n<\/blockquote>\n\n\n\n<p>I find this remarkable: the equivalence of the randomized SVD and single-pass randomized Nystr\u00f6m approximation and the equivalence of (partial pivoted) Cholesky and QR factorizations are both consequences of the same general principle, the Gram correspondence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using the Gram Correspondence to Discover Algorithms<\/h2>\n\n\n\n<p>The Gram correspondence is more than just an interesting way of connecting existing types of low-rank approximations: It can be used to discover new algorithms. We can illustrate this with an example, the randomly pivoted Cholesky algorithm.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Background: The Randomly Pivoted QR Algorithm<\/h3>\n\n\n\n<p>In 2006, Deshpande, Rademacher, Vempala, and Wang <a href=\"https:\/\/theoryofcomputing.org\/articles\/v002a012\/\">discovered<\/a> an algorithm that they called <em>adaptive sampling<\/em> for computing a projection approximation to a rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-71d626dcf5871acee1fe3da3ca65cb53_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/>. Beginning from the trivial initial approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-077030fc9944fb1c43d2288a4fccd468_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"51\" style=\"vertical-align: -1px;\"\/>, algorithm proceeds as follows for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e072da1b63acb7f46f5eb01f953ed4e2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"104\" style=\"vertical-align: -4px;\"\/>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose a column index <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bdcf000ff55fc94e1d1f42077203abae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#32;&#92;&#108;&#101;&#32;&#115;&#95;&#105;&#32;&#92;&#108;&#101;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"85\" style=\"vertical-align: -3px;\"\/> randomly according to the <em>squared column norm distribution<\/em>: <p class=\"ql-center-displayed-equation\" style=\"line-height: 49px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9dd2bd2b1a2336439460e2d9edc93ac1_l3.png\" height=\"49\" width=\"332\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#115;&#95;&#105;&#32;&#61;&#32;&#106;&#92;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#106;&#41;&#125;&#94;&#50;&#125;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#32;&#106;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>Update the low-rank approximation by adding the projection of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> onto the selected column: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f7b7aca4b0d114aeb280571a367af608_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#43;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#32;&#47;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"318\" style=\"vertical-align: -5px;\"\/>.<\/li>\n\n\n\n<li>Update the matrix by removing the projection of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> onto the selected column: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-30e757c917394d0c3a0918af256c6dba_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#66;&#32;&#45;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#32;&#47;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"318\" style=\"vertical-align: -5px;\"\/>.<\/li>\n<\/ol>\n\n\n\n<p>Given our discussion above, we recognize this as an example of partial column-pivoted QR factorization with a particular randomized procedure for selecting the pivots <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2a0fd890dba4d609496d0b299934972e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"5\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-5\">5<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-5\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"5\">Interestingly, Deshpande and coauthors did not make the connection between their approach and pivoted QR algorithms in their work.<\/span> Therefore, it can also be convenient to call this algorithm <em>randomly pivoted QR<\/em>.<\/p>\n\n\n\n<p>Randomly pivoted QR is a nice algorithm for rectangular low-rank approximation. Each step requires a full pass over the matrix and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-49c8b4951acd592cab9de7e4f8f14c2b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#77;&#78;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"62\" style=\"vertical-align: -5px;\"\/> operations, so the full procedure requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-970dba43945bb8521933edb77584ff36_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#77;&#78;&#107;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"72\" style=\"vertical-align: -5px;\"\/> operations. This makes the cost of the algorithm similar to other methods for rectangular low-rank approximation such as the randomized SVD, but it has the advantage that it computes a column projection approximation.<sup class=\"modern-footnotes-footnote \" data-mfn=\"6\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-6\">6<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-6\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"6\">There are other algorithms for computing a high-quality column projection approximation in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-970dba43945bb8521933edb77584ff36_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#77;&#78;&#107;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"72\" style=\"vertical-align: -5px;\"\/> operations, such as <a href=\"https:\/\/doi.org\/10.1007\/s10444-023-10061-z\">sketchy pivoting<\/a>. Variants of these approaches are compared in <a href=\"https:\/\/arxiv.org\/abs\/2309.16002\">this recent paper<\/a>.<\/span> However, randomly pivoted QR is not a particularly effective algorithm for computing a low-rank approximation to a psd matrix, since\u2014as we shall see\u2014there are faster procedures available.<\/p>\n\n\n\n<p>Following the Gram correspondence, we expect there should be an analog of the randomly pivoted QR algorithm for computing a low-rank approximation of a psd matrix. That algorithm, which we call randomly pivoted Cholesky, is derived from randomly pivoted QR in the following optional section:<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Derivation of Randomly Pivoted Cholesky Algorithm<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f5a7ac0d69b5c85c86869baa86aa5568_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#78;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"83\" style=\"vertical-align: -1px;\"\/> be a psd matrix. For conceptual purposes, let us also consider a Gram square root <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9cace024d939b61f26fe86c29d4eef6c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#123;&#77;&#92;&#116;&#105;&#109;&#101;&#115;&#32;&#78;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"86\" style=\"vertical-align: -1px;\"\/> of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>; this matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> will only be a conceptual device that we will use to help us derive the appropriate algorithm, not something that will be required to run the algorithm itself. Let us now walk through the steps of the randomly pivoted QR algorithm on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, and see how they lead to a <em>randomly pivoted Cholesky<\/em> algorithm for computing a low-rank approximation to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>.<\/p>\n<p><strong>Step 1 of randomly pivoted QR. <\/strong>Randomly pivoted QR begins by drawing a random pivot <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2a0fd890dba4d609496d0b299934972e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/> according to the rule <p class=\"ql-center-displayed-equation\" style=\"line-height: 49px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9dd2bd2b1a2336439460e2d9edc93ac1_l3.png\" height=\"49\" width=\"332\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#115;&#95;&#105;&#32;&#61;&#32;&#106;&#92;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#106;&#41;&#125;&#94;&#50;&#125;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#32;&#106;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Since <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>, we may compute <p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-61799b78022402815125a4a4838a0790_l3.png\" height=\"22\" width=\"399\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#106;&#41;&#125;&#94;&#50;&#32;&#61;&#32;&#66;&#40;&#58;&#44;&#106;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#40;&#58;&#44;&#106;&#41;&#32;&#61;&#32;&#40;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#40;&#106;&#44;&#106;&#41;&#32;&#61;&#32;&#65;&#40;&#106;&#44;&#106;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The squared column norms of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> are the diagonal entries of the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. Similarly, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9c95f388d0714d0635fe36ce9607b6d4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#116;&#114;&#40;&#65;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"103\" style=\"vertical-align: -5px;\"\/>. Therefore, we can write the probability distribution for the random pivot <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2a0fd890dba4d609496d0b299934972e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"11\" width=\"13\" style=\"vertical-align: -3px;\"\/> using only the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> as <p class=\"ql-center-displayed-equation\" style=\"line-height: 38px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7e86c11c687ad0dbec8ce551cbf91e5b_l3.png\" height=\"38\" width=\"313\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#115;&#95;&#105;&#32;&#61;&#32;&#106;&#92;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#106;&#44;&#106;&#41;&#125;&#123;&#92;&#116;&#114;&#32;&#65;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#32;&#106;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#78;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p><strong>Step 2 of randomly pivoted QR. <\/strong>The randomly pivoted QR update rule is <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f7b7aca4b0d114aeb280571a367af608_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#43;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#32;&#47;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"318\" style=\"vertical-align: -5px;\"\/>. Therefore, the update rule for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-dc064a6bb794e4066bf12380c09968b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: 0px;\"\/> is\u00a0<p class=\"ql-center-displayed-equation\" style=\"line-height: 51px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d691d56d7580112fdd2d2db8eb4cd4aa_l3.png\" height=\"51\" width=\"493\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#38;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#125;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#40;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#41;&#125;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p> After a short derivation,<sup class=\"modern-footnotes-footnote \" data-mfn=\"7\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-7\">7<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-7\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"7\">Using the relations <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-af91ceec8f886ebbeea0dce57b2d8a5a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: 0px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>, and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9e074aedc0bdb9497263263bde04c7a8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#125;&#94;&#50;&#32;&#61;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"310\" style=\"vertical-align: -5px;\"\/>, this simplifies to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-533b1dff083d8fb859bad82f2e7d315a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#32;&#66;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"32\" width=\"507\" style=\"vertical-align: -10px;\"\/>The matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> is a projection approximation and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is the residual to that approximation. Therefore, the columns of these matrices are orthogonal to each other, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-87cc073e1bad22f0f4685001d57837df_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#61;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"73\" style=\"vertical-align: 0px;\"\/>, leading the second and third term to vanish. Finally, using the relation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/> again, we obtain the update rule <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a732206b4517403e45b38e2cd4c85b49_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#43;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;\" title=\"Rendered by QuickLaTeX.com\" height=\"29\" width=\"164\" style=\"vertical-align: -10px;\"\/><\/span>, this simplifies to the update rule <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-20c81e35e173568377cad3b27f62062e_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#43;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p> Two remarkable things have happened. First, we have obtained an update rule for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> that depends only on the psd matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, and all occurences of the Gram square roots <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> have vanished. Second, this update rule is exactly the update rule for a partial Cholesky decomposition.<\/p>\n<p><strong>Step 3 of randomly pivoted QR. <\/strong>Using a similar derivation to step 2, we update an update rule for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>: <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3c79822c70c086025440e38f0561169f_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#65;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#65;&#32;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>This completes the derivation.<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Randomly Pivoted Cholesky<\/h3>\n\n\n\n<p>That derivation was a bit complicated, so let&#8217;s summarize. We can with the randomly pivoted QR algorithm for computing a projection approximation to a rectangular matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>, and we used it to derive a <em>randomly pivoted Cholesky<\/em> algorithm for computing a column Nystr\u00f6m approximation to a psd matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>. Removing the cruft of the derivation, this algorithm is very simple to state:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose a column index <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-bdcf000ff55fc94e1d1f42077203abae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#32;&#92;&#108;&#101;&#32;&#115;&#95;&#105;&#32;&#92;&#108;&#101;&#32;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"85\" style=\"vertical-align: -3px;\"\/> randomly according to the <em>diagonal distribution<\/em>: <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-750f3165cab9fdf250259d6e294fabfc_l3.png\" height=\"43\" width=\"308\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#112;&#114;&#111;&#98;&#92;&#123;&#115;&#95;&#105;&#32;&#61;&#32;&#106;&#92;&#125;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#106;&#44;&#106;&#41;&#125;&#123;&#92;&#116;&#114;&#40;&#65;&#41;&#125;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#32;&#106;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#107;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>Update the low-rank approximation <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ec07289a72875184db6bb7476af3149e_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n\n\n\n<li>Update the matrix <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0f9632b22fb854d1c90533858afc4321_l3.png\" height=\"43\" width=\"191\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#65;&#32;&#92;&#103;&#101;&#116;&#115;&#32;&#65;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;&#65;&#40;&#115;&#95;&#105;&#44;&#58;&#41;&#125;&#123;&#65;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#105;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/li>\n<\/ol>\n\n\n\n<p>I find this to be remarkably cool. We started with a neat algorithm (randomly pivoted QR) for approximating rectangular matrices, and we used the Gram correspondence to derive a different randomly pivoted Cholesky algorithm for psd matrix approximation!<\/p>\n\n\n\n<p>And randomly pivoted Cholesky allows us to pull a cool trick that we couldn&#8217;t with randomly pivoted QR. Observe that the randomly pivoted Cholesky algorithm only ever interacts with the residual matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> through the selected pivot columns <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a3da9113db3a64efacafa4382544d7ea_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#40;&#58;&#44;&#115;&#95;&#105;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"53\" style=\"vertical-align: -5px;\"\/> and through the diagonal entries <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7a34e805e16e307575c67e40542c851a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#40;&#106;&#44;&#106;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"50\" style=\"vertical-align: -5px;\"\/>. Therefore, we can derive an optimized version of the randomly pivoted Cholesky algorithm that only reads <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-01ec0044d47367f533616457679c7f61_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#107;&#43;&#49;&#41;&#78;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"69\" style=\"vertical-align: -5px;\"\/> entries of the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> (<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> columns plus the diagonal) and requires only <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-12e1dc902f2b0a52a433a1c22ef65cfd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#107;&#94;&#50;&#78;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"60\" style=\"vertical-align: -5px;\"\/> operations! See <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S1\">our paper<\/a> for details.<\/p>\n\n\n\n<p>So we started with the randomly pivoted QR algorithm, which requires <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-9026cb6f93b996dce314a604dfb4946c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#107;&#77;&#78;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"72\" style=\"vertical-align: -5px;\"\/> operations, and we used it to derive the randomly pivoted Cholesky algorithm that runs in <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ee04b7c6b68bd4c2f221480b0f94a0fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#114;&#100;&#101;&#114;&#40;&#107;&#78;&#94;&#50;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"60\" style=\"vertical-align: -5px;\"\/> operations. Let&#8217;s make this concrete with some specific numbers. Setting <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-15eb7f6d56848f3cc2520a146dbc48a6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#32;&#61;&#32;&#49;&#48;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"60\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d3a0ea29b9d28afad10b2cc94862fd2e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#77;&#32;&#61;&#32;&#78;&#32;&#61;&#32;&#49;&#48;&#94;&#54;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"108\" style=\"vertical-align: 0px;\"\/>, randomly pivoted QR requires roughly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d2719bc4911b00fe4d51654162ac1b79_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#48;&#94;&#123;&#49;&#52;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"31\" style=\"vertical-align: 0px;\"\/> (100 trillion) operations and randomly pivoted Cholesky requires roughly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-249974e9137aecdf69a8846448a5a474_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#48;&#94;&#123;&#49;&#48;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"31\" style=\"vertical-align: 0px;\"\/> (10 billion) operations, a factor of 10,000 smaller operation count!<\/p>\n\n\n\n<p>Randomly pivoted Cholesky has an interesting history. It appears to have first appeared in print in the work of <a href=\"https:\/\/doi.org\/10.1109\/FOCS.2017.68\">Musco and Woodruff<\/a> (2017), who used the Gram correspondence to derive the algorithm from randomly pivoted QR. It is remarkable that it took a full 11 years after Deshpande and co-author&#8217;s original work on randomly pivoted QR for randomly pivoted Cholesky to be discovered. Even after Musco and Woodruff&#8217;s paper, the algorithm appears to have largely been overlooked for computation in practice, and I am unaware of any paper documenting computational experiments with randomly pivoted Cholesky before our paper was initially released in 2022.<sup class=\"modern-footnotes-footnote \" data-mfn=\"8\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-8\">8<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-8\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"8\">A partial exception to this statement is the work of <a href=\"https:\/\/doi.org\/10.1098\/rsta.2019.0059\">Poulson<\/a> (2020), who used randomly pivoted Cholesky to sample from <a href=\"https:\/\/arxiv.org\/abs\/2005.03185\">determinantal point processes<\/a>. Poulson&#8217;s setting is quite different from ours: his input <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/> is always a rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> orthogonal projection matrix, he runs for exactly <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> steps, and he uses the pivot set <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b89471a11dd7fd85184a38ddb3ea9145_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#83;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> as output.<\/span> Our paper reexamined the randomly pivoted Cholesky procedure, providing <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S2.SS5\">computational experiments comparing it to alternatives<\/a> and <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S4\">using it for scientific machine learning applications<\/a>, and provided <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S2.SS6\">new error bounds<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Examples of Algorithm Design by the Gram Correspondence<\/h3>\n\n\n\n<p>The Gram correspondence gives a powerful tool for inventing new algorithms or showing equivalence between existing algorithms. There are many additional examples, such as <a href=\"https:\/\/arxiv.org\/html\/2207.06503v6#S3.SS4\">block<\/a> (and <a href=\"https:\/\/arxiv.org\/abs\/2410.03969\">rejection sampling-accelerated<\/a>) versions of <a href=\"https:\/\/arxiv.org\/abs\/2410.03969\">randomly pivoted QR\/Cholesky<\/a>, <a href=\"https:\/\/arxiv.org\/abs\/2306.12418\">Nystr\u00f6m versions of randomized block Krylov iteration<\/a>, and <a href=\"https:\/\/doi.org\/10.1137\/1.9781611973099.95\">column projection\/Nystr\u00f6m approximations generated by determinantal point process sampling<\/a>. Indeed, if you invent a new low-rank approximation algorithm, it is always worth checking: Using the Gram correspondence, can you get another algorithm for free?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Transference of Error Bounds<\/h2>\n\n\n\n<p>The Gram correspondence also allows us to transfer error bounds between projection approximations and Nystr\u00f6m approximations. Let&#8217;s begin with the simplest manifestation of this principle:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Transference of Error Bounds I<\/strong>: Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> be a Gram square root of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, and let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> be the corresponding projection and Nystr\u00f6m approximations generated using the same test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>. Then <p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2d3c7ab4822ad680c4e24c9044d05a1c_l3.png\" height=\"36\" width=\"181\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<\/blockquote>\n\n\n\n<p>This shows that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Frobenius_norm\">Frobenius norm<\/a> error of a projection approximation and the trace error of a Nystr\u00f6m approximation are the same.<sup class=\"modern-footnotes-footnote \" data-mfn=\"9\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-9\">9<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-9\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"9\">Note that, for any Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, the residual <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a16c5891de2142e585fc70537203624d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"49\" style=\"vertical-align: 0px;\"\/> <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/11\/low-rank-approximation-toolbox-nystrom-approximation\/#the-projection-formula\">is psd<\/a>. Therefore, the trace error <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-088712b026257161ccc19497a4c6b05f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"75\" style=\"vertical-align: -5px;\"\/> is nonnegative and satisfies <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b18f7d31d6363bb4b38f0637ef72f98c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;&#32;&#61;&#32;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"109\" style=\"vertical-align: -5px;\"\/> if and only if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-cb5deacc63fc428beebf34c531cd247f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"51\" style=\"vertical-align: 0px;\"\/>; these statements justify why <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f66e006d852eedf97871ce084e44a9d5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#114;&#40;&#65;&#45;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"75\" style=\"vertical-align: -5px;\"\/> is an appropriate expression for measuring the error of the approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-54cc9cf36e0e72991574481070772b94_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"51\" style=\"vertical-align: 0px;\"\/>.<\/span> Using this result, we can immediately transfer error bounds for projection approximations to Nystr\u00f6m approximations and visa versa. For instance, in <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/22\/low-rank-approximation-toolbox-analysis-of-the-randomized-svd\/\">this previous post<\/a>, we proved the following error bound for the rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> randomized SVD (with a Gaussian test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>): <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6a686d8b6380eeb6efbbeb877462b6fc_l3.png\" height=\"43\" width=\"418\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#92;&#108;&#101;&#32;&#92;&#109;&#105;&#110;&#95;&#123;&#114;&#92;&#108;&#101;&#32;&#107;&#45;&#50;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#49;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#114;&#125;&#123;&#107;&#45;&#40;&#114;&#43;&#49;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#66;&#125;&#95;&#114;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#44;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Here, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ffe0e3fd4e435705f3d70971e5f2952d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#66;&#125;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"33\" style=\"vertical-align: -5px;\"\/> denotes the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Low-rank_approximation#Basic_low-rank_approximation_problem\">best<\/a> rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> approximation to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>. This result shows that the error of the rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> randomized SVD is comparable to the best rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> approximation for any <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b2e1c306852cc488f46adacdba8f0fc6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;&#32;&#92;&#108;&#101;&#32;&#107;&#45;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"72\" style=\"vertical-align: -3px;\"\/>. Using the transference principle, we immediately obtain a corresponding bound for rank-<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f65286b751f121928913d4aa91d94ee9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: 0px;\"\/> Nystr\u00f6m approximation (with a Gaussian test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>):<sup class=\"modern-footnotes-footnote \" data-mfn=\"10\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-10\">10<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-10\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"10\">Note that in order to transfer the bound from randomized SVD to single-pass Nystr\u00f6m, we also needed to use the identity <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-27759869493974ee0637025d7c7e569d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#66;&#125;&#95;&#114;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#65;&#125;&#95;&#114;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"218\" style=\"vertical-align: -6px;\"\/>. This identity, too, follows by the transference principle, since <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ffe0e3fd4e435705f3d70971e5f2952d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#66;&#125;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"33\" style=\"vertical-align: -5px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b9e4779f762213115000d733459ae404_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#65;&#125;&#95;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"32\" style=\"vertical-align: -5px;\"\/> are, themselves, projection approximations and Nystr\u00f6m approximations corresponding to choosing <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/> to be the dominant <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0cfb382a93bc3f68981565d49d1aeb9e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> right singular vectors of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>!<\/span> <p class=\"ql-center-displayed-equation\" style=\"line-height: 43px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-147e2f2f5939fab29eb3e90e42bf3bb9_l3.png\" height=\"43\" width=\"409\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#32;&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;&#32;&#92;&#108;&#101;&#32;&#92;&#109;&#105;&#110;&#95;&#123;&#114;&#92;&#108;&#101;&#32;&#107;&#45;&#50;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#49;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#114;&#125;&#123;&#107;&#45;&#40;&#114;&#43;&#49;&#41;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#108;&#111;&#119;&#114;&#97;&#110;&#107;&#123;&#65;&#125;&#95;&#114;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>With no additional work, we have converted an error bound for the randomized SVD to an error bound for single-pass randomized Nystr\u00f6m approximation!<\/p>\n\n\n\n<p>For those interested, one can extend the transference of error bounds to general <a href=\"https:\/\/nhigham.com\/2021\/02\/02\/what-is-a-unitarily-invariant-norm\/\">unitarily invariant norms<\/a>. See the following optional section for details:<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Transference of Error Bounds for General Unitarily Invariant Norms<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">We begin by recalling the notions of (quadratic) unitarily invariant norms; see <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/22\/low-rank-approximation-toolbox-analysis-of-the-randomized-svd\/#aside-quadratic-unitarily-invariant-norms\">this section of a previous post<\/a> for a longer refresher. A norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1bfad97a2db8d66076bf7257de4a4b23_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"36\" style=\"vertical-align: -5px;\"\/> is <a href=\"https:\/\/nhigham.com\/2021\/02\/02\/what-is-a-unitarily-invariant-norm\/\">unitarily invariant<\/a> if <p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-508a8e72c2095a615973294b1ae77137_l3.png\" height=\"19\" width=\"144\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#85;&#67;&#86;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>for every matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-52134c3741ef3371f17ceb962d0792f6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> and orthogonal matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"11\" data-mfn-post-scope=\"00000000000005810000000000000000_1912\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005810000000000000000_1912-11\">11<\/a><\/sup><span id=\"mfn-content-00000000000005810000000000000000_1912-11\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"11\">As the name &#8220;unitarily invariant&#8221; suggests, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-52134c3741ef3371f17ceb962d0792f6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> is complex-valued we require this condition to hold for the larger class of all unitary matrices <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c7480669f4fca8a251671d27137d0b09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#85;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"13\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8a416b3e64d82c5ac2bf7ce6b503c266_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#86;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.<\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Matrix_norm#Schatten_norms\">Examples<\/a> of unitarily invariant norms include the nuclear norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5fb5fb3e79ded1d68c9fa4353b5da8e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#125;&#95;&#42;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#40;&#67;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"131\" style=\"vertical-align: -5px;\"\/>, the Frobenius norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3a1825867b287d233085b59e988e5629_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#94;&#50;&#40;&#67;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"136\" style=\"vertical-align: -5px;\"\/>, and the spectral norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-19bd677a7b6bd8c2f8229550febac045_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#125;&#32;&#61;&#32;&#92;&#109;&#97;&#120;&#95;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#40;&#67;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"137\" style=\"vertical-align: -5px;\"\/>. (It is not coincidental that all these unitarily invariant norms can be expressed only in terms of the <em>singular values<\/em> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8d72701b2df48e396ee70d31b4ea663a_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#115;&#105;&#103;&#109;&#97;&#95;&#105;&#40;&#67;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"42\" style=\"vertical-align: -5px;\"\/> of the matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-52134c3741ef3371f17ceb962d0792f6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#67;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/>.) Associated to every unitarily invariant norm it its associated <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/06\/22\/low-rank-approximation-toolbox-analysis-of-the-randomized-svd\/#aside-quadratic-unitarily-invariant-norms\"><em>quadratic<\/em> unitarily invariant norm,<\/a> defined as <p class=\"ql-center-displayed-equation\" style=\"line-height: 34px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-defbf79c07f9c16df2fd2362255e9cb3_l3.png\" height=\"34\" width=\"245\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#94;&#92;&#116;&#111;&#112;&#32;&#67;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#67;&#67;&#94;&#92;&#116;&#111;&#112;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>For example,<\/p>\n<ul>\n<li>The quadratic unitarily invariant norm associated to the nuclear norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5eb80874b1f155f6ba5c95e4ef565375_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#42;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"89\" style=\"vertical-align: -5px;\"\/> is the Frobenius norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-43338ebce9927e8b908e10db3057be7b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"87\" style=\"vertical-align: -8px;\"\/>.<\/li>\n<li>The spectral norm is its own associated quadratic unitarily invariant norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5064e3a8f7656a0230daa6b8cb09f17f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"139\" style=\"vertical-align: -8px;\"\/>.<\/li>\n<\/ul>\n<p>This leads us to the more general version of the transference principle:<\/p>\n<blockquote>\n<p><strong>Transference of Error Bounds II<\/strong>: Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06d2c1a5a171b6d7d9c5df87d123c5a4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"14\" style=\"vertical-align: 0px;\"\/> be a Gram square root of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-11f4f587954b361e7d78940f65b8d70d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"13\" style=\"vertical-align: 0px;\"\/>, and let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79139b44e9e9de2bfd926e40dc6aaee7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a9463bba1bf140207248e89a02db1929_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"14\" style=\"vertical-align: 0px;\"\/> be the corresponding projection and Nystr\u00f6m approximations generated using the same test matrix <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-0e42a68047144196ffa9763b964056ac_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"12\" style=\"vertical-align: 0px;\"\/>. Then <p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b4db0757c230531d100a996ea48eb1c5_l3.png\" height=\"39\" width=\"170\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#125;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>for every unitarily invariant norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1bfad97a2db8d66076bf7257de4a4b23_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"36\" style=\"vertical-align: -5px;\"\/> and its associated quadratic unitarily invariant norm <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6771c54dbdaccbbfa2860d1206c049fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"31\" style=\"vertical-align: -8px;\"\/>.<\/p>\n<\/blockquote>\n<p>This version of the principle is more general, since the nuclear norm of a psd matrix is the trace, whence <p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3e89aa937f513384f415603332de4c86_l3.png\" height=\"36\" width=\"281\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#70;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#125;&#95;&#42;&#32;&#61;&#32;&#92;&#116;&#114;&#40;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>We now also have more examples. For instance, for the spectral norm, we have <p class=\"ql-center-displayed-equation\" style=\"line-height: 36px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f93fc86775f946e645a8df65f928aaef_l3.png\" height=\"36\" width=\"175\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p>Let us quickly prove the transference of error principle. Write the error <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-fe81a851b66d4f6569630df840721cf2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#66;&#32;&#45;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;&#32;&#61;&#32;&#40;&#73;&#45;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#41;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"277\" style=\"vertical-align: -5px;\"\/>. \u00a0Thus, <p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-41bc10e5110325aa263b549e0265f3f4_l3.png\" height=\"39\" width=\"421\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#40;&#73;&#45;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#41;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#40;&#73;&#45;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#41;&#94;&#50;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The orthogonal projections <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-97a5221bf9d9b98b1d4a78bbf2e27a3f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"34\" style=\"vertical-align: -3px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-ac180ed814dbfde35f1ffde8d56e09c3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#45;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"65\" style=\"vertical-align: -3px;\"\/> are equal to their own square, so<br \/><p class=\"ql-center-displayed-equation\" style=\"line-height: 79px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-072ee91e4010525a525fd567b1e5cb7d_l3.png\" height=\"79\" width=\"454\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#38;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#40;&#73;&#45;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#41;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#45;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#32;&#92;&#92;&#32;&#38;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;&#32;&#45;&#32;&#40;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;&#41;&#94;&#92;&#116;&#111;&#112;&#40;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;&#41;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#46;&#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Finally, write <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-42401a7c1a48ac202bdeccce1c7c1351_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#32;&#61;&#32;&#92;&#80;&#105;&#95;&#123;&#66;&#92;&#79;&#109;&#101;&#103;&#97;&#125;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"21\" width=\"87\" style=\"vertical-align: -3px;\"\/> and use the Gram correspondence <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3934dab35f4a21b4ee2b29f77e013429_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65;&#32;&#61;&#32;&#66;&#94;&#92;&#116;&#111;&#112;&#32;&#66;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"77\" style=\"vertical-align: 0px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-dc064a6bb794e4066bf12380c09968b8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#94;&#92;&#116;&#111;&#112;&#92;&#104;&#97;&#116;&#123;&#66;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"77\" style=\"vertical-align: 0px;\"\/> to conclude <p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1f34c55899f793cae1721f2e19e002bc_l3.png\" height=\"39\" width=\"194\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#110;&#111;&#114;&#109;&#123;&#66;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#66;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#81;&#125;&#94;&#50;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#65;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#65;&#125;&#125;&#95;&#123;&#92;&#114;&#109;&#32;&#85;&#73;&#125;&#44;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>as desired.<\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This has been a long post about a simple idea. Many of the low-rank approximation algorithms in the literature output a special type of approximation, either a projection approximation or a Nystr\u00f6m approximation. As this post has shown, these two types of approximation are equivalent, with algorithms and error bounds for one type of approximation transferring immediately to the other format. This equivalence is a powerful tool for the algorithm designer, allowing us to discover new algorithms from old ones, like randomly pivoted Cholesky from randomly pivoted QR.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am delighted to share that my paper Randomly pivoted Cholesky: Randomly pivoted Cholesky: Practical approximation of a kernel matrix with few entry evaluations, joint with Yifan Chen, Joel Tropp, and Robert Webber, has been published online in Communications on Pure and Applied Mathematics. To celebrate this occasion, I want to share one of my<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2024\/12\/07\/low-rank-approximation-toolbox-the-gram-correspondence\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1912","post","type-post","status-publish","format-standard","hentry","category-low-rank-approximation-toolbox"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/comments?post=1912"}],"version-history":[{"count":60,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1912\/revisions"}],"predecessor-version":[{"id":2005,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1912\/revisions\/2005"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=1912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=1912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=1912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}