{"id":4611,"date":"2019-03-12T12:32:33","date_gmt":"2019-03-12T17:32:33","guid":{"rendered":"http:\/\/computing.fnal.gov\/hep-on-hpc\/?page_id=4611"},"modified":"2019-03-18T17:10:05","modified_gmt":"2019-03-18T22:10:05","slug":"robust-multivariate-rational-approximations","status":"publish","type":"page","link":"https:\/\/computing.fnal.gov\/hep-on-hpc\/robust-multivariate-rational-approximations\/","title":{"rendered":"Robust multivariate rational approximations"},"content":{"rendered":"<div class=\"row\">\n<div class=\"col-sm-6\">\n<div class=\"row\" style=\"letter-spacing: 0.26px;\">\n<div class=\"col-sm-6\" style=\"width: 693.484px;\"><span style=\"letter-spacing: 0.02em;\">We develop algorithms that interpolate multivariate data-sets using rational functions.<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>This can be seen as a natural extension of polynomial approximations. The latter are<br \/>\nused in numerous applications where there role is, for example, to replace expensive<br \/>\nsimulations with cheap to evaluate function calls. This is especially amenable for the task<br \/>\nof parameter-space exploration with numerical methods and data comparison.<\/p>\n<p>The motivation behind this work is to overcome the limitations of the applicability of<br \/>\npolynomial approximations.<\/p>\n<p>&nbsp;<\/p>\n<h2>Examples (click for animation)<\/h2>\n<p>In this example we compare polynomial (left) and rational approximations (right) and how they compare to<br \/>\nthe to be interpolated data-set. In the animation, higher and higher polynomial orders (m for the numerator, n for the denominator)<br \/>\nare used.The legend also reports the total number of coefficients (Ncoeff) that is the number of fit parameters<br \/>\n(and therefore input data) are required to calculate a solution to the approximation problem. As becomes<br \/>\nclear very quickly, the rational approximations give a much better fit of the data with fewer coefficients that need to be determined.<\/p>\n<div class=\"row\">\n<div class=\"col-sm-4\">\n<div id=\"attachment_4698\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/2480933542-poly.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4698\" class=\"size-medium wp-image-4698\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/2480933542-poly-300x225.gif\" alt=\"Polynomial approximation,\" width=\"300\" height=\"225\" srcset=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/2480933542-poly-300x225.gif 300w, https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/2480933542-poly-768x576.gif 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-4698\" class=\"wp-caption-text\">Interpolation of a 1D dataset with polynomial approximations. Very high polynomial orders are required to obtain an acceptable fit of the data.<\/p><\/div>\n<\/div>\n<div class=\"col-sm-4\">\n<div id=\"attachment_4701\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/4029341429-rapp.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4701\" class=\"size-medium wp-image-4701\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/4029341429-rapp-300x225.gif\" alt=\"Demonstration of rational approximations.\" width=\"300\" height=\"225\" srcset=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/4029341429-rapp-300x225.gif 300w, https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/4029341429-rapp-768x576.gif 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-4701\" class=\"wp-caption-text\">Interpolating the same data with rational approximations gives a much better fit with less required input data,<\/p><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Application to likelihood scan<\/h3>\n<p>This is a (toy) representation of an application where we want to find regions in a 3D parameter-space of a certain physics model that are compatible with data. One measure often used for such a task is a likelihood function defined as<\/p>\n<p><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/likelihood.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4743\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/likelihood-300x100.png\" alt=\"\" width=\"300\" height=\"100\" srcset=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/likelihood-300x100.png 300w, https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/likelihood.png 442w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>where theta is a point in the parameter space and the product runs of bins of histogrammed data. The Nb are the predicted counts coming from either the full simulation or an approximation to it while the lambdab represent the experimentally measured counts.<\/p>\n<p>The plot on the left shows the &#8220;true&#8221; result of the likelihood contour obtained when running the expensive simulation. The center plots shows the result obtained when replacing the calls to the expensive simulation with those of the cheap rational approximation. As can be seen, the agreement is excellent. For completeness, the plot on the right shows what happens if polynomial approximations are used. They cleary are unable to capture the true physics behaviour of the underlying simulation.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"row\">\n<div class=\"col-sm-4\">\n<div id=\"attachment_4734\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_hard_2k.png-000001.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4734\" class=\"wp-image-4734 size-medium\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_hard_2k.png-000001-300x284.png\" alt=\"\" width=\"300\" height=\"284\" srcset=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_hard_2k.png-000001-300x284.png 300w, https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_hard_2k.png-000001.png 655w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-4734\" class=\"wp-caption-text\">Result obtained without approximation (i.e. full simulation used to calculated L at every point p).<\/p><\/div>\n<\/div>\n<div class=\"col-sm-4\">\n<div id=\"attachment_4737\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_FNalsip44_2k.png-000001.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4737\" class=\"wp-image-4737 size-medium\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_FNalsip44_2k.png-000001-300x284.png\" alt=\"\" width=\"300\" height=\"284\" \/><\/a><p id=\"caption-attachment-4737\" class=\"wp-caption-text\">\ufffcResult obtained using our rational approximations.<\/p><\/div>\n<\/div>\n<div class=\"col-sm-4\">\n<div id=\"attachment_4740\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_p6_n.png-000001.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4740\" class=\"wp-image-4740 size-medium\" src=\"http:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_p6_n.png-000001-300x284.png\" alt=\"\" width=\"300\" height=\"284\" srcset=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_p6_n.png-000001-300x284.png 300w, https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-content\/uploads\/2019\/03\/nest_p6_n.png-000001.png 655w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-4740\" class=\"wp-caption-text\">Result obtained when using purely polynomial approximations.<\/p><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We develop algorithms that interpolate multivariate data-sets using rational functions. This can be seen as a natural extension of polynomial approximations. The latter are used in numerous applications where there role is, for example, to replace expensive simulations with cheap to evaluate function calls. This is especially amenable for the task of parameter-space exploration with&#8230; <a class=\"more-link\" href=\"https:\/\/computing.fnal.gov\/hep-on-hpc\/robust-multivariate-rational-approximations\/\"> More &#187;<\/a><\/p>\n","protected":false},"author":42,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-full-width.php","meta":{"footnotes":""},"class_list":["post-4611","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/pages\/4611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/comments?post=4611"}],"version-history":[{"count":12,"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/pages\/4611\/revisions"}],"predecessor-version":[{"id":5305,"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/pages\/4611\/revisions\/5305"}],"wp:attachment":[{"href":"https:\/\/computing.fnal.gov\/hep-on-hpc\/wp-json\/wp\/v2\/media?parent=4611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}