{"id":1700,"date":"2023-12-01T17:25:39","date_gmt":"2023-12-01T17:25:39","guid":{"rendered":"https:\/\/www.ethanepperly.com\/?p=1700"},"modified":"2023-12-01T17:25:41","modified_gmt":"2023-12-01T17:25:41","slug":"five-interpretations-of-kernel-quadrature","status":"publish","type":"post","link":"https:\/\/www.ethanepperly.com\/index.php\/2023\/12\/01\/five-interpretations-of-kernel-quadrature\/","title":{"rendered":"Five Interpretations of Kernel Quadrature"},"content":{"rendered":"\n<p>I&#8217;m excited to share that my paper <em><a href=\"https:\/\/arxiv.org\/abs\/2306.03955\">Kernel quadrature with randomly pivoted Cholesky<\/a><\/em>, joint with <a href=\"https:\/\/www.cms.caltech.edu\/people\/elvira-moreno-ferreira\">Elvira Moreno<\/a>, has been accepted to NeurIPS 2023 as a spotlight.<\/p>\n\n\n\n<p>Today, I want to share with you a little about the kernel quadrature problem. To avoid this post getting too long, I&#8217;m going to write this post assuming familiarity with the concepts of <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Reproducing_kernel_Hilbert_space\">reproducing kernel Hilbert spaces<\/a> and <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Gaussian_process\">Gaussian processes<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integration and Quadrature<\/h2>\n\n\n\n<p>Integration is one of the most widely used operations in mathematics and its applications. As such, it is a basic problem of wide interest to develop <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Numerical_integration\">numerical methods for evaluating integrals<\/a>.<\/p>\n\n\n\n<p>In this post, we will consider a quite general integration problem. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-79c355d83666b2bab8122e90df7232f2_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#115;&#117;&#98;&#115;&#101;&#116;&#101;&#113;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#100;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"57\" style=\"vertical-align: -3px;\"\/> be a domain and let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb68b3a01ca19f92d6d51b28cd559fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#117;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"11\" style=\"vertical-align: -4px;\"\/> be a (<a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Finite_measure\">finite<\/a> <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Borel_measure\">Borel<\/a>) <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Measure_(mathematics)\">measure<\/a> on <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;\"\/>. We consider the task of evaluating <p class=\"ql-center-displayed-equation\" style=\"line-height: 41px;\"><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-4767401252e7558c87b5a518f3609468_l3.png\" height=\"41\" width=\"196\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#73;&#091;&#102;&#093;&#32;&#61;&#32;&#92;&#105;&#110;&#116;&#95;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#102;&#40;&#120;&#41;&#32;&#103;&#40;&#120;&#41;&#32;&#92;&#44;&#32;&#92;&#109;&#97;&#116;&#104;&#114;&#109;&#123;&#100;&#125;&#92;&#109;&#117;&#40;&#120;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>One can imagine that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e78c32c3b1b71438b109dc59c7e00786_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#103;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"9\" style=\"vertical-align: -4px;\"\/>, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb68b3a01ca19f92d6d51b28cd559fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#117;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"11\" style=\"vertical-align: -4px;\"\/>, and <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;\"\/> are fixed, but we may want to evaluate this same integral <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-603f22dedcf932b6f47e37160c09afd8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#091;&#102;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -5px;\"\/> for multiple different functions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/>.<\/p>\n\n\n\n<p>To evaluate, we will design a quadrature approximation to the integral <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-603f22dedcf932b6f47e37160c09afd8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#091;&#102;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -5px;\"\/>:<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-4bb6a83827b630719dd50338a790b9c6_l3.png\" height=\"49\" width=\"215\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#44;&#115;&#125;&#091;&#102;&#093;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#119;&#95;&#105;&#32;&#102;&#40;&#115;&#95;&#105;&#41;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#73;&#091;&#102;&#093;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Concretely, we wish to find real numbers <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-19958375a655c820a27207db4e53ecd3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#32;&#61;&#32;&#40;&#119;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#119;&#95;&#110;&#41;&#32;&#92;&#105;&#110;&#32;&#92;&#114;&#101;&#97;&#108;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"175\" style=\"vertical-align: -5px;\"\/> and points <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4e01ec77ea6970161a184252766cacbe_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#32;&#61;&#32;&#40;&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#110;&#41;&#32;&#92;&#105;&#110;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"161\" style=\"vertical-align: -5px;\"\/> such that the approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-61580a8cc2043483ce9c1ab09e3ea85e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#44;&#115;&#125;&#091;&#102;&#093;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#73;&#091;&#102;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"24\" width=\"101\" style=\"vertical-align: -6px;\"\/> is accurate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Smoothness and Reproducing Kernel Hilbert Spaces<\/h2>\n\n\n\n<p>As is <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2020\/07\/15\/big-ideas-in-applied-math-smoothness-and-degree-of-approximation\/\">frequently the case in computational mathematics<\/a>, the accuracy we can expect for this integration problem depends on the smoothness of the integrand <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/>. The more smooth <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> is, the more accurately we can expect to compute <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-603f22dedcf932b6f47e37160c09afd8_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#091;&#102;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"28\" style=\"vertical-align: -5px;\"\/> for a given budget of computational effort.<\/p>\n\n\n\n<p>In this post, will measure smoothness using the <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Reproducing_kernel_Hilbert_space\">reproducing kernel Hilbert space<\/a> (RKHS) formalism. Let <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c03e2068a75e2fcbc72a3e7f134066b9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"15\" style=\"vertical-align: -2px;\"\/> be an RKHS with <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Norm_(mathematics)\">norm<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6db2c55dc3ba238574def17c6c8dac26_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#99;&#100;&#111;&#116;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"19\" style=\"vertical-align: -5px;\"\/>. We can interpret the norm as assigning a roughness <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06fdac80e404a10c3e987c6c58a8a120_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"24\" style=\"vertical-align: -5px;\"\/> to each function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/>. If <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06fdac80e404a10c3e987c6c58a8a120_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"24\" style=\"vertical-align: -5px;\"\/> is large, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> is rough; if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-06fdac80e404a10c3e987c6c58a8a120_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#110;&#111;&#114;&#109;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"24\" style=\"vertical-align: -5px;\"\/> is small, then <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> is smooth.<\/p>\n\n\n\n<p>Associated to the RKHS <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c03e2068a75e2fcbc72a3e7f134066b9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"15\" style=\"vertical-align: -2px;\"\/> is the titular <a href=\"https:\/\/encyclopediaofmath.org\/wiki\/Reproducing_kernel\">reproducing kernel<\/a> <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;\"\/>. The kernel is a bivariate function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7615f9d7e3fe0d036e9ef2dc0b78b211_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#58;&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#116;&#105;&#109;&#101;&#115;&#92;&#79;&#109;&#101;&#103;&#97;&#92;&#116;&#111;&#92;&#114;&#101;&#97;&#108;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"112\" style=\"vertical-align: -1px;\"\/>. It is related to the RKHS <a href=\"https:\/\/en.wikipedia.org\/wiki\/Inner_product_space\">inner product<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-051654c80c939d2c6fc5c0495fc76cf0_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#92;&#99;&#100;&#111;&#116;&#44;&#92;&#99;&#100;&#111;&#116;&#92;&#114;&#97;&#110;&#103;&#108;&#101;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"29\" style=\"vertical-align: -5px;\"\/> by the reproducing property<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-276db3513a1ea34da49f342ad7f4a7ea_l3.png\" height=\"19\" width=\"331\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#102;&#40;&#120;&#41;&#61;&#92;&#108;&#97;&#110;&#103;&#108;&#101;&#32;&#102;&#44;&#32;&#107;&#40;&#120;&#44;&#92;&#99;&#100;&#111;&#116;&#41;&#92;&#114;&#97;&#110;&#103;&#108;&#101;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#101;&#118;&#101;&#114;&#121;&#32;&#125;&#102;&#92;&#105;&#110;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;&#44;&#120;&#92;&#105;&#110;&#92;&#79;&#109;&#101;&#103;&#97;&#46;&#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-eb4e63b606ac32ad4a25a300c0eda629_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#120;&#44;&#92;&#99;&#100;&#111;&#116;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"46\" style=\"vertical-align: -5px;\"\/> represents the univariate function obtained by setting the first input of <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;\"\/> to be <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-b312d649591164b7149ed0756f694a76_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"10\" style=\"vertical-align: 0px;\"\/>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Ideal Weights<\/h2>\n\n\n\n<p>To design a quadrature rule, we have to set the nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4e01ec77ea6970161a184252766cacbe_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#32;&#61;&#32;&#40;&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#110;&#41;&#32;&#92;&#105;&#110;&#32;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"161\" style=\"vertical-align: -5px;\"\/> and weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-5b8276054554a7866ecec8a5988d9f5c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#32;&#61;&#32;&#40;&#119;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#119;&#95;&#110;&#41;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"175\" style=\"vertical-align: -5px;\"\/>. Let\u2019s first assume that the nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> are fixed, and talk about how to pick the weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/>.<\/p>\n\n\n\n<p>There\u2019s one choice of weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3c7b6d256e8154adc4e250ad96595e94_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#94;&#92;&#115;&#116;&#97;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"20\" style=\"vertical-align: 0px;\"\/> that we&#8217;ll called <em>the ideal weights<\/em>. There (at least) are five equivalent ways of characterizing the ideal weights. We\u2019ll present all of them. As an exercise, you can try and convince yourself that these characterizations are equivalent, giving rise to the same weights.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interpretation 1: Exactness<\/h3>\n\n\n\n<p>A standard way of designing quadrature rules is to make them <a href=\"https:\/\/math.stackexchange.com\/q\/775307\"><em>exact<\/em><\/a> (i.e., error-free) for some class of functions. For instance, many <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Clenshaw\u2013Curtis_quadrature\">classical<\/a> <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Gaussian_quadrature\">quadrature<\/a> <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Gauss\u2013Legendre_quadrature\">rules<\/a> are exact for polynomials of degree up to <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7b31ef9757c2828596bea62c97d430ae_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;&#45;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"40\" style=\"vertical-align: 0px;\"\/>.<\/p>\n\n\n\n<p>For kernel quadrature, it makes sense to design the quadrature rule to be exact for the kernel function at the selected nodes. That is, we require<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-52bf51e5f4ddb42195d5896ff71ebe02_l3.png\" height=\"24\" width=\"343\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#95;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#125;&#091;&#107;&#40;&#115;&#95;&#105;&#44;&#92;&#99;&#100;&#111;&#116;&#41;&#093;&#61;&#73;&#091;&#107;&#40;&#115;&#95;&#105;&#44;&#92;&#99;&#100;&#111;&#116;&#41;&#093;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#32;&#105;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#110;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Enforcing exactness gives us <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> linear equations for the <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-75a5652acadcd645b180a972b75a9d09_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"11\" style=\"vertical-align: 0px;\"\/> unknowns <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-80a00451e35dd4339b7e8eb06f02088f_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"81\" style=\"vertical-align: -5px;\"\/>:<p class=\"ql-center-displayed-equation\" style=\"line-height: 52px;\"><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-1a5ca36966f56dae9d994e208f9ef036_l3.png\" height=\"52\" width=\"447\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#115;&#117;&#109;&#95;&#123;&#106;&#61;&#49;&#125;&#94;&#110;&#32;&#107;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#106;&#41;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#95;&#106;&#32;&#61;&#32;&#92;&#105;&#110;&#116;&#95;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#107;&#40;&#115;&#95;&#105;&#44;&#120;&#41;&#32;&#103;&#40;&#120;&#41;&#92;&#44;&#92;&#109;&#97;&#116;&#104;&#114;&#109;&#123;&#100;&#125;&#92;&#109;&#117;&#40;&#120;&#41;&#32;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#125;&#105;&#61;&#49;&#44;&#50;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#110;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Under mild conditions, this system of linear equations is uniquely solvable, and the solution <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a32bc8b113c6391bba8213bce5e471fa_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"14\" width=\"64\" style=\"vertical-align: -1px;\"\/> is the ideal weights.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interpretation 2: Interpolate and Integrate<\/h3>\n\n\n\n<p>Here\u2019s another very classical way of designing a quadrature rule. First, <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Interpolation\">interpolate<\/a> the function values <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3baa961d31da219e4ba5a68edb0cba71_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#40;&#115;&#95;&#105;&#44;&#102;&#40;&#115;&#95;&#105;&#41;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"72\" style=\"vertical-align: -5px;\"\/> at the nodes, obtaining an interpolant <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-77019817e85ae3f0e4e83622815c805e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"13\" style=\"vertical-align: -4px;\"\/>. Then, obtain an approximation to the integral by integrating the interpolant:<p class=\"ql-center-displayed-equation\" style=\"line-height: 41px;\"><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-0c68060fdf085f41d9cbdd9cc5c16e31_l3.png\" height=\"41\" width=\"227\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#125;&#091;&#102;&#093;&#32;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#105;&#110;&#116;&#95;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#92;&#104;&#97;&#116;&#123;&#102;&#125;&#40;&#120;&#41;&#32;&#103;&#40;&#120;&#41;&#32;&#92;&#44;&#32;&#92;&#109;&#97;&#116;&#104;&#114;&#109;&#123;&#100;&#125;&#92;&#109;&#117;&#40;&#120;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><br>In our context, the appropriate interpolation method is <em>kernel interpolation<\/em>.<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000005870000000000000000_1700\"><a href=\"javascript:void(0)\"  role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000005870000000000000000_1700-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000005870000000000000000_1700-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">Kernel interpolation is also called <a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiix_Cbsu2CAxVJI0QIHfZ6CZoQFnoECAkQAQ&amp;url=https%3A%2F%2Farxiv.org%2Fabs%2F2009.10862&amp;usg=AOvVaw0ki-sgshTYPU4qnavdlCQz&amp;opi=89978449\">Gaussian process regression<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Kriging#Simple_kriging\">kriging<\/a> though (confusingly) these terms can also refer to slightly different methods. It is the regularization-free limit of <a href=\"https:\/\/mlweb.loria.fr\/book\/en\/kernelridgeregression.html\">kernel ridge regression<\/a>.<\/span> The kernel interpolant is defined to be the minimum-norm function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-77019817e85ae3f0e4e83622815c805e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"13\" style=\"vertical-align: -4px;\"\/> that interpolates the data:<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-5619a986180c554d2a079e5156a97571_l3.png\" height=\"24\" width=\"321\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#102;&#125;&#32;&#61;&#32;&#92;&#97;&#114;&#103;&#109;&#105;&#110;&#32;&#92;&#123;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#104;&#125;&#32;&#58;&#32;&#104;&#40;&#115;&#95;&#105;&#41;&#32;&#61;&#32;&#102;&#40;&#115;&#95;&#105;&#41;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#102;&#111;&#114;&#32;&#125;&#32;&#105;&#61;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#110;&#92;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Remarkably, this infinite-dimensional problem has a tractably computable solution. In fact, <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-77019817e85ae3f0e4e83622815c805e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"13\" style=\"vertical-align: -4px;\"\/> is the unique function of the form <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-0abcded0eda92deac99b904817afdf5b_l3.png\" height=\"49\" width=\"129\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#102;&#125;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#92;&#97;&#108;&#112;&#104;&#97;&#95;&#105;&#32;&#107;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#115;&#95;&#105;&#41;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>that agrees with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> on the points <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-54c3f88df50b03510e46584117439a6c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"71\" style=\"vertical-align: -4px;\"\/>.With a little algebra, you can show that the integral of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-77019817e85ae3f0e4e83622815c805e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#102;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"23\" width=\"13\" style=\"vertical-align: -4px;\"\/> is <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-f0da23bc7dc97894b0a6702b6bf6ddfb_l3.png\" height=\"49\" width=\"145\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#73;&#091;&#92;&#104;&#97;&#116;&#123;&#102;&#125;&#093;&#32;&#61;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#95;&#105;&#32;&#102;&#40;&#115;&#95;&#105;&#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-3c7b6d256e8154adc4e250ad96595e94_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#94;&#92;&#115;&#116;&#97;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"20\" style=\"vertical-align: 0px;\"\/> are the ideal weights.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interpretation 3: Minimizing the Worst-Case Error<\/h3>\n\n\n\n<p>Define the worst-case error of weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/> and nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> to be <p class=\"ql-center-displayed-equation\" style=\"line-height: 42px;\"><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-6e46307dc4cdac54a3ab010b36ed7858_l3.png\" height=\"42\" width=\"255\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#44;&#115;&#41;&#61;&#92;&#115;&#117;&#112;&#95;&#123;&#92;&#110;&#111;&#114;&#109;&#123;&#102;&#125;&#92;&#108;&#101;&#32;&#49;&#125;&#92;&#108;&#101;&#102;&#116;&#124;&#32;&#73;&#091;&#102;&#093;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#44;&#115;&#125;&#091;&#102;&#093;&#92;&#114;&#105;&#103;&#104;&#116;&#124;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The quantity <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4b25fd25b90cdb8d28d23b7d34035f1d_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#44;&#115;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"68\" style=\"vertical-align: -5px;\"\/> is the highest possible quadrature error for a function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1b36f3e4f8cfe1a5affb79d2b3043d89_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#92;&#105;&#110;&#92;&#109;&#97;&#116;&#104;&#99;&#97;&#108;&#123;&#72;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"47\" style=\"vertical-align: -4px;\"\/> of norm at most 1.<\/p>\n\n\n\n<p>Having defined the worst-case error, the ideal weights are precisely the weights that minimize this quantity<p class=\"ql-center-displayed-equation\" style=\"line-height: 31px;\"><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-06e68886b8279d9d592cae3775d4295f_l3.png\" height=\"31\" width=\"175\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#61;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#42;&#123;&#97;&#114;&#103;&#109;&#105;&#110;&#125;&#95;&#123;&#119;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#110;&#125;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#44;&#115;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interpretation 4: Minimizing the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mean_squared_error\">Mean-Square Error<\/a><\/h3>\n\n\n\n<p>The next two interpretations of the ideal weights will adopt a probabilistic framing. A <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Gaussian_process\">Gaussian process<\/a><\/em> is a random function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> such that <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/>\u2019s values at any collection of points are (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Multivariate_normal_distribution#Joint_normality\">jointly<\/a>) <a href=\"https:\/\/en.wikipedia.org\/wiki\/Multivariate_normal_distribution\">Gaussian random variables<\/a>. We write <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-a0eecb03a33b0a77c95e434a8d3b518e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;&#92;&#115;&#105;&#109;&#32;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#71;&#80;&#125;&#40;&#48;&#44;&#107;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"100\" style=\"vertical-align: -5px;\"\/> for a mean-zero Gaussian process with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Covariance_function\">covariance function<\/a> <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;\"\/>: <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-19fea8ea8406c891c0d6bab2166dc4a4_l3.png\" height=\"19\" width=\"353\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#67;&#111;&#118;&#40;&#102;&#40;&#120;&#41;&#44;&#102;&#40;&#121;&#41;&#41;&#61;&#107;&#40;&#120;&#44;&#121;&#41;&#92;&#113;&#117;&#97;&#100;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#102;&#111;&#114;&#32;&#101;&#118;&#101;&#114;&#121;&#32;&#125;&#32;&#120;&#44;&#121;&#92;&#105;&#110;&#92;&#79;&#109;&#101;&#103;&#97;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><br>Define the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mean_squared_error\">mean-square<\/a> quadrature error of weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/> and nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> to be <p class=\"ql-center-displayed-equation\" style=\"line-height: 35px;\"><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-4741e0bcba7276b0a3a9266cd61b54c0_l3.png\" height=\"35\" width=\"329\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#77;&#83;&#69;&#125;&#40;&#119;&#44;&#115;&#41;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#95;&#123;&#102;&#92;&#115;&#105;&#109;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#71;&#80;&#125;&#40;&#48;&#44;&#107;&#41;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#73;&#091;&#102;&#093;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#44;&#115;&#125;&#091;&#102;&#093;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>The mean-square error reports the expected squared quadrature error over all functions <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> drawn from a Gaussian process with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Covariance_function\">covariance function<\/a> <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;\"\/>.<\/p>\n\n\n\n<p>Pleasantly, the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Mean_squared_error\">mean-square error<\/a> is equal ro the square of the worst-case error <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-dc387f1211b9e5a070f2778a8205c022_l3.png\" height=\"22\" width=\"185\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#77;&#83;&#69;&#125;&#40;&#119;&#44;&#115;&#41;&#61;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#44;&#115;&#41;&#94;&#50;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>As such, the ideal weights also minimize the mean-square error <p class=\"ql-center-displayed-equation\" style=\"line-height: 31px;\"><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-32506adbc7176da52a920dbf4c373149_l3.png\" height=\"31\" width=\"187\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#61;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#42;&#123;&#97;&#114;&#103;&#109;&#105;&#110;&#125;&#95;&#123;&#119;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#110;&#125;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#77;&#83;&#69;&#125;&#40;&#119;&#44;&#115;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Interpretation 5: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Conditional_expectation\">Conditional Expectation<\/a><\/h3>\n\n\n\n<p>For our last interpretation, again consider a Gaussian process <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8fa0d25c48df2322161148dddfad62c9_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#104;&#92;&#115;&#105;&#109;&#32;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#71;&#80;&#125;&#40;&#48;&#44;&#107;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"99\" style=\"vertical-align: -5px;\"\/>. The integral of this random function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47eba0764d69669e85367cf245d71d3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#091;&#104;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"27\" style=\"vertical-align: -5px;\"\/> is a random variable. To numerically integrate a function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/>, compute the expectation of <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-e47eba0764d69669e85367cf245d71d3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#73;&#091;&#104;&#093;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"27\" style=\"vertical-align: -5px;\"\/> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Conditional_expectation\">conditional<\/a> on <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-471140fbd20a10d0f411d52aa20652e4_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#104;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"10\" style=\"vertical-align: 0px;\"\/> agreeing with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> at the quadrature nodes:<p class=\"ql-center-displayed-equation\" style=\"line-height: 26px;\"><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-ce1156fb9da612607ae0158770a34645_l3.png\" height=\"26\" width=\"443\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#73;&#125;&#95;&#123;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#125;&#091;&#102;&#093;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#101;&#120;&#112;&#101;&#99;&#116;&#95;&#123;&#104;&#92;&#115;&#105;&#109;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#71;&#80;&#125;&#40;&#48;&#44;&#107;&#41;&#125;&#091;&#73;&#091;&#104;&#093;&#32;&#92;&#109;&#105;&#100;&#32;&#104;&#40;&#115;&#95;&#105;&#41;&#61;&#102;&#40;&#115;&#95;&#105;&#41;&#32;&#92;&#116;&#101;&#120;&#116;&#123;&#32;&#102;&#111;&#114;&#32;&#125;&#32;&#105;&#61;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#110;&#093;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>One can show that this procedure yields the quadrature scheme with the ideal weights.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>We\u2019ve just seen five sensible ways of defining the ideal weights for quadrature in a general reproducing kernel Hilbert space. Remarkably, all five lead to exactly the same choice of weights. To me, these five equivalent characterizations give me more confidence that the ideal weights really are the \u201cright\u201d or \u201cnatural\u201d choice for kernel quadrature.<\/p>\n\n\n\n<p>That said, there are other reasonable requirements that we might want to impose on the weights. For instance, if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb68b3a01ca19f92d6d51b28cd559fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#117;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"11\" style=\"vertical-align: -4px;\"\/> is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Probability_measure\">probability measure <\/a>and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-088924719590b770ec3eb41e30fa74d6_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#103;&#92;&#101;&#113;&#117;&#105;&#118;&#32;&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"41\" style=\"vertical-align: -4px;\"\/>, it is reasonable to add an additional constraint that the weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-8daecae168d2c5e4e901c89360b57724_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"13\" style=\"vertical-align: 0px;\"\/> lie in the <a href=\"https:\/\/www.localmaxradio.com\/questions\/what-is-a-probability-simplex\">probability simplex<\/a> <p class=\"ql-center-displayed-equation\" style=\"line-height: 54px;\"><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-55c593b2593abc9ea8c18d4f8edbccd3_l3.png\" height=\"54\" width=\"257\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#119;&#92;&#105;&#110;&#92;&#68;&#101;&#108;&#116;&#97;&#92;&#99;&#111;&#108;&#111;&#110;&#101;&#113;&#113;&#32;&#92;&#108;&#101;&#102;&#116;&#92;&#123;&#32;&#112;&#92;&#105;&#110;&#92;&#114;&#101;&#97;&#108;&#94;&#110;&#95;&#43;&#32;&#58;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#112;&#95;&#105;&#32;&#61;&#32;&#49;&#92;&#114;&#105;&#103;&#104;&#116;&#92;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>With this additional stipulation, a quadrature rule can be interpreted as integrating <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c23e757cb6bd08fe194e942085387dcd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#102;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"10\" style=\"vertical-align: -4px;\"\/> against a discrete probability measure <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c67af6d7f4312e6ee4d7d2d68c1a7131_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#61;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#110;&#32;&#119;&#95;&#105;&#92;&#100;&#101;&#108;&#116;&#97;&#95;&#123;&#115;&#95;&#105;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"115\" style=\"vertical-align: -5px;\"\/>; thus, in effect, quadrature amounts to approximating one probability measure <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2bb68b3a01ca19f92d6d51b28cd559fc_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#109;&#117;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"11\" style=\"vertical-align: -4px;\"\/> by another <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-c42e384130ca6545050f98a57654ab07_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"11\" style=\"vertical-align: -4px;\"\/>. Additional constraints such as these can easily be imposed when using the optimization characterizations 3 and 4 of the ideal weights. See <a href=\"https:\/\/proceedings.neurips.cc\/paper_files\/paper\/2022\/hash\/2dae7d1ccf1edf76f8ce7c282bdf4730-Abstract-Conference.html\">this paper<\/a> for details.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What About the Nodes?<\/h2>\n\n\n\n<p>We\u2019ve spent a lot of time talking about how to pick the quadrature weights, but how should we pick the nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-97de5ee15936969c6b3529d55264bd1c_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#92;&#105;&#110;&#92;&#79;&#109;&#101;&#103;&#97;&#94;&#110;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"51\" style=\"vertical-align: -1px;\"\/>? To pick the nodes, it seems sensible to try and minimize the worst-case error <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-53f7fdbb787584dc483da9b8b1d100d3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"76\" style=\"vertical-align: -5px;\"\/> with the ideal weights <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-3c7b6d256e8154adc4e250ad96595e94_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#119;&#94;&#92;&#115;&#116;&#97;&#114;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"20\" style=\"vertical-align: 0px;\"\/>. For this purpose, we can use the following formula: <p class=\"ql-center-displayed-equation\" style=\"line-height: 44px;\"><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-f66a0cdfc8a943a944dad0fed98dbad9_l3.png\" height=\"44\" width=\"363\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#41;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#105;&#110;&#116;&#95;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#40;&#107;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;&#41;&#32;&#103;&#40;&#120;&#41;&#32;&#92;&#44;&#32;&#92;&#109;&#97;&#116;&#104;&#114;&#109;&#123;&#100;&#125;&#92;&#109;&#117;&#40;&#120;&#41;&#125;&#46;&#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-1a23b055b0471c6c0030b22fb63a37a5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"16\" style=\"vertical-align: -3px;\"\/> is the <em><a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/24\/nystrom-cholesky-and-schur\/\">Nystr\u00f6m approximation<\/a><\/em> to the kernel <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;\"\/> induced by the nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/>, defined to be <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-9c55d13be5a7cdb27139303cb08ec19f_l3.png\" height=\"24\" width=\"252\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;&#40;&#120;&#44;&#121;&#41;&#32;&#61;&#32;&#107;&#40;&#120;&#44;&#115;&#41;&#32;&#107;&#40;&#115;&#44;&#115;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#107;&#40;&#115;&#44;&#121;&#41;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>We have written <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4c66e9af2bc0d238b5695c17d68cb949_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#115;&#44;&#115;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"47\" style=\"vertical-align: -5px;\"\/> for the <em>kernel matrix<\/em> with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-2b80808dc4cfd99921c6014e9b28354b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;&#106;\" title=\"Rendered by QuickLaTeX.com\" height=\"16\" width=\"14\" style=\"vertical-align: -4px;\"\/> entry <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7720802f1bba99460dd5b264d659bb93_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#115;&#95;&#105;&#44;&#115;&#95;&#106;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"20\" width=\"60\" style=\"vertical-align: -6px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-d96ace8c5b7aad4947b5ee3e62db7cdb_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#120;&#44;&#115;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"49\" style=\"vertical-align: -5px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-69e63e94195993c3d83340b1f5c4f9e7_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#115;&#44;&#121;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"48\" style=\"vertical-align: -5px;\"\/> for the row and column vectors with <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-4015d3bcae440238eb2e7a73e66bae43_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"6\" style=\"vertical-align: 0px;\"\/>th entry <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-58699b7766fb47eef0ba2bc338560c25_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#120;&#44;&#115;&#95;&#105;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"54\" style=\"vertical-align: -5px;\"\/> and <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-6fd78abb64189ed8cbd8cabde6fd7fbd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#115;&#95;&#105;&#44;&#121;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"54\" style=\"vertical-align: -5px;\"\/>.<\/p>\n\n\n\n<p>I find the appearance of the Nystr\u00f6m approximation in this context to be surprising and delightful. <a href=\"https:\/\/www.ethanepperly.com\/index.php\/2022\/10\/24\/nystrom-cholesky-and-schur\/\">Previously on this blog<\/a>, we&#8217;ve seen (column) Nystr\u00f6m approximation in the context of matrix low-rank approximation. Now, a continuum analog of the matrix Nystr\u00f6m approximation has appeared in the error formula for numerical integration.<\/p>\n\n\n\n<p>The appearance of the Nystr\u00f6m approximation in the kernel quadrature error <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-53f7fdbb787584dc483da9b8b1d100d3_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"76\" style=\"vertical-align: -5px;\"\/> also suggests a strategy for picking the nodes.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Node selection strategy.<\/strong> We should pick the nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-237419ccf116597dd4054fbf1cca1281_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"8\" style=\"vertical-align: 0px;\"\/> to make the Nystr\u00f6m approximation <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7d85e4633974a0887cf24384b943e5fd_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;&#32;&#92;&#97;&#112;&#112;&#114;&#111;&#120;&#32;&#107;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"50\" style=\"vertical-align: -3px;\"\/> as accurate as possible.<\/p>\n<\/blockquote>\n\n\n\n<p>The closer <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-1a23b055b0471c6c0030b22fb63a37a5_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;\" title=\"Rendered by QuickLaTeX.com\" height=\"22\" width=\"16\" style=\"vertical-align: -3px;\"\/> is to <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;\"\/>, the smaller the function <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f9eaf8f4de4fce4f1d08166603188249_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#107;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;\" title=\"Rendered by QuickLaTeX.com\" height=\"24\" width=\"120\" style=\"vertical-align: -5px;\"\/> is and, thus, the smaller the error <p class=\"ql-center-displayed-equation\" style=\"line-height: 44px;\"><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-f66a0cdfc8a943a944dad0fed98dbad9_l3.png\" height=\"44\" width=\"363\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#091;&#92;&#111;&#112;&#101;&#114;&#97;&#116;&#111;&#114;&#110;&#97;&#109;&#101;&#123;&#69;&#114;&#114;&#125;&#40;&#119;&#94;&#92;&#115;&#116;&#97;&#114;&#44;&#115;&#41;&#32;&#61;&#32;&#92;&#110;&#111;&#114;&#109;&#123;&#92;&#105;&#110;&#116;&#95;&#92;&#79;&#109;&#101;&#103;&#97;&#32;&#40;&#107;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;&#32;&#45;&#32;&#92;&#104;&#97;&#116;&#123;&#107;&#125;&#95;&#115;&#40;&#92;&#99;&#100;&#111;&#116;&#44;&#120;&#41;&#41;&#32;&#103;&#40;&#120;&#41;&#32;&#92;&#44;&#32;&#92;&#109;&#97;&#116;&#104;&#114;&#109;&#123;&#100;&#125;&#92;&#109;&#117;&#40;&#120;&#41;&#125;&#46;&#92;&#093;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>Fortunately, we have randomized matrix algorithms for picking good nodes for matrix Nystr\u00f6m approximation such as <a href=\"https:\/\/arxiv.org\/abs\/2207.06503\">randomly pivoted Cholesky<\/a>, <a href=\"https:\/\/arxiv.org\/abs\/1605.07583\">ridge leverage score sampling<\/a>, and <a href=\"https:\/\/arxiv.org\/abs\/2005.03185\">determinantal point process sampling<\/a>; maybe these matrix tools can be ported to the continuous kernel setting?<\/p>\n\n\n\n<p>Indeed, all three of these algorithms\u2014<a href=\"https:\/\/arxiv.org\/abs\/2306.03955\">randomly pivoted Cholesky<\/a>, <a href=\"https:\/\/arxiv.org\/abs\/1502.06800\">ridge leverage score sampling<\/a>, and <a href=\"https:\/\/arxiv.org\/abs\/1906.07832\">determinantal<\/a> <a href=\"https:\/\/arxiv.org\/abs\/2309.01200\">point<\/a> <a href=\"https:\/\/arxiv.org\/abs\/2002.09677\">process<\/a> <a href=\"https:\/\/proceedings.neurips.cc\/paper\/2019\/hash\/1d54c76f48f146c3b2d66daf9d7f845e-Abstract.html\">sampling<\/a>\u2014have been studied for kernel quadrature. The first of these algorithms, <a href=\"https:\/\/arxiv.org\/abs\/2207.06503\">randomly pivoted Cholesky<\/a>, is the subject of our paper. We show that this simple, adaptive sampling method produces excellent nodes for kernel quadrature. Intuitively, randomly pivoted Cholesky is effective because it is <em>repulsive<\/em>: After having picked nodes <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-f4f867a4a2e54c4e19a312192fc0222b_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#49;&#44;&#92;&#108;&#100;&#111;&#116;&#115;&#44;&#115;&#95;&#105;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"68\" style=\"vertical-align: -4px;\"\/>, it has a high probability of placing the next node <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/ql-cache\/quicklatex.com-7fd39d7c608429f3e8c2cca182b9173e_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#115;&#95;&#123;&#105;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"13\" width=\"30\" style=\"vertical-align: -5px;\"\/> far from the previously selected nodes.<\/p>\n\n\n\n<p>The following image shows 20 nodes selected by randomly pivoted Cholesky in a crescent-shaped region. The cyan\u2013pink shading denotes the probability distribution for picking the next node. We see that the center of the crescent does not have any nodes, and thus is most likely to receive a node during the next round of sampling.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.ethanepperly.com\/wp-content\/uploads\/2023\/12\/conditional-1024x768.png\" alt=\"\" class=\"wp-image-1701\" style=\"width:840px;height:auto\" srcset=\"https:\/\/www.ethanepperly.com\/wp-content\/uploads\/2023\/12\/conditional-1024x768.png 1024w, https:\/\/www.ethanepperly.com\/wp-content\/uploads\/2023\/12\/conditional-300x225.png 300w, https:\/\/www.ethanepperly.com\/wp-content\/uploads\/2023\/12\/conditional-768x576.png 768w, https:\/\/www.ethanepperly.com\/wp-content\/uploads\/2023\/12\/conditional.png 1167w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In <a href=\"https:\/\/arxiv.org\/abs\/2306.03955\">our paper<\/a>, we demonstrate\u2014<a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2306.03955#S5\">empirically<\/a> and <a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2306.03955#S3\">theoretically<\/a>\u2014that randomly pivoted Cholesky produces excellent nodes for quadrature. <a href=\"https:\/\/ar5iv.labs.arxiv.org\/html\/2306.03955#S4\">We also discuss<\/a> efficient <a href=\"https:\/\/en.wikipedia.org\/wiki\/Rejection_sampling\">rejection sampling<\/a> algorithms for sampling nodes with the randomly pivoted Cholesky distribution. Check out <a href=\"https:\/\/arxiv.org\/abs\/2306.03955\">the paper<\/a> for details!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m excited to share that my paper Kernel quadrature with randomly pivoted Cholesky, joint with Elvira Moreno, has been accepted to NeurIPS 2023 as a spotlight. Today, I want to share with you a little about the kernel quadrature problem. To avoid this post getting too long, I&#8217;m going to write this post assuming familiarity<a class=\"more-link\" href=\"https:\/\/www.ethanepperly.com\/index.php\/2023\/12\/01\/five-interpretations-of-kernel-quadrature\/\">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":[6,7],"tags":[],"class_list":["post-1700","post","type-post","status-publish","format-standard","hentry","category-expository","category-research"],"_links":{"self":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1700","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=1700"}],"version-history":[{"count":9,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1700\/revisions"}],"predecessor-version":[{"id":1713,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/posts\/1700\/revisions\/1713"}],"wp:attachment":[{"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/media?parent=1700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/categories?post=1700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ethanepperly.com\/index.php\/wp-json\/wp\/v2\/tags?post=1700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}