<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Slides |</title><link>https://avivajpeyi.github.io/slides/</link><atom:link href="https://avivajpeyi.github.io/slides/index.xml" rel="self" type="application/rss+xml"/><description>Slides</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Fri, 27 Oct 2023 00:00:00 +0000</lastBuildDate><image><url>https://avivajpeyi.github.io/media/icon.svg</url><title>Slides</title><link>https://avivajpeyi.github.io/slides/</link></image><item><title>SBI for SGBW</title><link>https://avivajpeyi.github.io/slides/journal_club/sbi_for_sgwb/</link><pubDate>Fri, 27 Oct 2023 00:00:00 +0000</pubDate><guid>https://avivajpeyi.github.io/slides/journal_club/sbi_for_sgwb/</guid><description>&lt;h2 id="sbi-for-sgwb"&gt;SBI for SGWB&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Simulation based infernce for Stochastic GW background Analysis&lt;/em&gt;
(Alvey+, 2023)&lt;/p&gt;
&lt;p&gt;
|
|
&lt;/p&gt;
&lt;p&gt;NZ Gravity Journal Club&lt;/p&gt;
&lt;p&gt;Oct 26th, 2023&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="summary"&gt;Summary&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;LISA &amp;ldquo;Global fit&amp;rdquo; + GW background&lt;/li&gt;
&lt;li&gt;Alvey+&amp;rsquo;s LISA SGWB model&lt;/li&gt;
&lt;li&gt;Sim based inference + TMNRE&lt;/li&gt;
&lt;li&gt;Results, Discussion + future work&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="lisa-data-analysis"&gt;LISA Data analysis&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id="the-data"&gt;The data&lt;/h3&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://github.com/avivajpeyi/dev_site/assets/15642823/af1e82e7-f1bc-4306-856e-b11e245cadf3" alt="lisa_data" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="the-global-fit"&gt;The &amp;ldquo;Global fit&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;Analyze all the data, simultaneously, block-by-block&lt;/p&gt;
&lt;figure&gt;&lt;img src="https://github.com/avivajpeyi/dev_site/assets/15642823/1577656f-3c97-43e9-bc4d-7da09c6686ce" width="1300" height="350"&gt;
&lt;/figure&gt;
&lt;p&gt;$&lt;10^5$ parameters in the full problem&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="sgwb-estimation-methods"&gt;SGWB estimation methods&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Noise model&lt;/th&gt;
&lt;th&gt;Signal model&lt;/th&gt;
&lt;th&gt;Noise + Signal&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;Aimen+ (WIP)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;High precision reconstruction required to extract an SGWB signal&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="alveys-sbi-approach-motivations"&gt;Alvey+&amp;rsquo;s SBI approach motivations&lt;/h2&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Current SGWB approaches use stochastic sampling methods (MCMC, Nested sampling)&lt;/li&gt;
&lt;li&gt;These are not &lt;em&gt;robust&lt;/em&gt; to foreground transient signals (e.g. massive BH mergers)&lt;/li&gt;
&lt;li&gt;add more comlexities&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&amp;lsquo;Marginal inference&amp;rsquo; property&lt;/li&gt;
&lt;li&gt;Likelihood &amp;lsquo;free&amp;rsquo; inference&lt;/li&gt;
&lt;li&gt;More robust to foreground transient signals (e.g. massive BH mergers)&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="sbi"&gt;SBI&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id="traditional-problem"&gt;Traditional problem&lt;/h3&gt;
$$
p(\theta|d) = \frac{\mathcal{L}(d|\theta)\pi(\theta)}{\color{red}{Z(d)}}= \frac{\mathcal{L}(d|\theta)\pi(\theta)}{\color{red}{\int_{\theta}\mathcal{L}(d|\theta)\pi(\theta) d\theta}}
$$&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Monte Carlo&lt;/em&gt;: e.g. Rejection sampling&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Markov-chain MC&lt;/em&gt;: e.g. Metropolis-Hastings, NUTS&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Variational Inference&lt;/em&gt;: surrogate $p(\theta|d)$&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;What if we dont have $\mathcal{L}(d|\theta)$ ?&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="simulation-based-inference"&gt;Simulation based inference:&lt;/h3&gt;
&lt;p&gt;New term for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Approximate Bayes Computation,&lt;/li&gt;
&lt;li&gt;Likelihood free inference,&lt;/li&gt;
&lt;li&gt;Indirect inference,&lt;/li&gt;
&lt;li&gt;Synthetic likelihood&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="algorithm"&gt;Algorithm&lt;/h3&gt;
&lt;figure&gt;&lt;img src="https://miro.medium.com/v2/1*oer83KfCCI1AnoqsRtYlRg.png" width="400" height="400"&gt;
&lt;/figure&gt;
&lt;p&gt;Compare the &amp;lsquo;simulated&amp;rsquo; data to the &amp;rsquo;true&amp;rsquo; data&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Marginal inference &amp;ndash; SBI its possible to directly target specific parameters for inference, ignore other parameters while still dealing correctly with the ones we dont care about&lt;/li&gt;
&lt;li&gt;Amortized &amp;ndash; SBI once trained &amp;ndash; we can get answers of the posteriors very quickly&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="different-sbi-methods"&gt;Different SBI methods:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Classical&lt;/strong&gt;: Rejection ABC (&amp;lsquo;97), MCMC-ABC (&amp;lsquo;03)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Neural density&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Neural posterior estimator&lt;/li&gt;
&lt;li&gt;Neural likelihood estimator&lt;/li&gt;
&lt;li&gt;Neural &lt;em&gt;ratio&lt;/em&gt; estimator (Lnl/evid)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Types of NN:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Mixture density networks&lt;/li&gt;
&lt;li&gt;Normalising flows&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="goals-for-nn--sbi"&gt;Goals for NN + SBI:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Speed&lt;/em&gt;: Training faster than MCMC&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Scalability&lt;/em&gt;: Doesn&amp;rsquo;t fall apart with high D&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Pre-existing research&lt;/em&gt;: Leverage modern ML tools (flows, NNs &amp;hellip;)&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="mcmc-vi-sbi"&gt;MCMC, VI, SBI&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;MCMC&lt;/th&gt;
&lt;th&gt;VI&lt;/th&gt;
&lt;th&gt;SBI&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Explicit Likelihood&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Requires gradients&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;(✅)&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Targeted inference&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Amortized&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;(✅)&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Specialised architechture&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Requires data summaries&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Marginal inference&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;❌&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Note:
Amortized posterior is one that is not focused on any particular observation&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="end-of-section"&gt;END OF SECTION&lt;/h3&gt;
&lt;hr&gt;
&lt;h2 id="sbi-math"&gt;SBI Math&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Skipping this, can come back if folks interested&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Note:
Library: swyft
Simulation efficient marginal posterior estimation&lt;/p&gt;
&lt;p&gt;Target: X&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;say there are lots of parameters $\theta$&lt;/li&gt;
&lt;li&gt;Only parameter values that plausiablly generate X will contribut to marginaliation&lt;/li&gt;
&lt;li&gt;NESTED RATIO ESTIMATION finds this region by iteratively cnstraining the initial prior based on 1D marginal posteriors from previous iterations&lt;/li&gt;
&lt;li&gt;this method approximates the likelihood-to-evidence ratio by zeroing in on the high-likelihood regions&lt;/li&gt;
&lt;li&gt;method inspired by nested sampling&lt;/li&gt;
&lt;li&gt;After a few iteraintins &amp;ndash; some 1D marginals will be mre constrained than others&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="loss-function-for-training"&gt;$D_{KL}$ &amp;ldquo;Loss&amp;rdquo; function for training&lt;/h3&gt;
$$D_{\rm KL}(\tilde{p}, p) = \int \tilde{p}(x) \log \frac{\tilde{p}(x)}{p(x)}\ dx$$&lt;p&gt;$D_{KL}$ is &lt;em&gt;not&lt;/em&gt; symmetric&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;$D_{\rm KL}(\tilde{p}, p)$: Variational inference (LnL based)&lt;/li&gt;
&lt;li&gt;$D_{\rm KL}(p, \tilde{p})$: NPE (Simulation based)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;PROBLEM:&lt;/strong&gt; how do we avoid evaluating the $p(\theta|d)$?&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="kl-divergence-and-vi"&gt;KL-Divergence and VI&lt;/h3&gt;
$$D_{\rm KL} [\tilde{p}, p] (\theta) \sim \mathbb{E}_{\theta\sim\tilde{p}(\theta|d)} \log \left[ \frac{\tilde{p}(\theta|d)}{\mathcal{L}(d|\theta)\pi(\theta)} \right] + C$$&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;PROBLEM:&lt;/strong&gt; $p(\theta|d)$ is $$$&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;$p(\theta|d) \sim \mathcal{L}(d|\theta)\pi(\theta)$&lt;/li&gt;
&lt;li&gt;$0\leq D_{\rm KL} [\tilde{p}, p]\leq Z(d)$&lt;/li&gt;
&lt;li&gt;Train $\tilde{p}(\theta|d)$&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="kl-divergence-and-sbi"&gt;KL-Divergence and SBI&lt;/h3&gt;
$$D_{\rm KL}[p, \tilde{p}] (\theta, d) \sim -\mathbb{E}_{(\theta,d)\sim p(\theta,d)} \log \tilde{p}(\theta| d) + C $$&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;PROBLEM:&lt;/strong&gt; $p(\theta|d)$ is $$$&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;sample from $p_{\rm joint}(\theta, d) = \mathcal{L}(d|\theta)\pi(\theta)$&lt;/li&gt;
&lt;li&gt;Train $\tilde{p}(\theta|d)$&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="marginal-sbi-vs-vi"&gt;Marginal SBI vs VI&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Variatinal inference&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;variational posterior $\tilde{p}(\vec{\theta}|d)$ must conver &lt;em&gt;all&lt;/em&gt; params likelihoodd model condditioned on&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;SBI Marginal inference&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can replace $\tilde{p}(\vec{\theta}|d)$ for $\tilde{p}(\theta_1|d)$ without need of doing integrals&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="end-of-section-1"&gt;END OF SECTION&lt;/h3&gt;
&lt;hr&gt;
&lt;section data-noprocess data-shortcode-slide
data-background-image="https://user-images.githubusercontent.com/15642823/277592172-be608f89-4e27-489f-b3ab-48011968790d.jpeg"
&gt;
&lt;h2 id="marginal-inference"&gt;&amp;ldquo;Marginal&amp;rdquo; inference&lt;/h2&gt;
$${\color{red}p(\theta_{\rm Waldo}| \rm{image})} =$$&lt;p&gt;
&lt;/p&gt;
$$\int {\color{blue}p(\theta_{A}, \theta_{B} ... \theta_{\rm Waldo}| \rm{image})}\ d\theta_A\ d\theta_B\ d\theta_{\rm Waldo} $$&lt;ul&gt;
&lt;li&gt;VI: have to learn &lt;em&gt;whole&lt;/em&gt; $\color{blue}p(\vec{\theta}|d)$&lt;/li&gt;
&lt;li&gt;SBI: can focus on specific params $\color{red}p(\theta_{\rm Waldo}|d)$&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="truncated-marginal-neural-ratio-estimation-tmnre"&gt;Truncated Marginal Neural Ratio Estimation (TMNRE)&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id="active-learning-loop"&gt;Active learning loop&lt;/h3&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://user-images.githubusercontent.com/15642823/277889707-8e9f5955-b8ac-44e0-8067-808a5ad189d2.png" alt="loop" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="network-architecture"&gt;Network architecture&lt;/h3&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://user-images.githubusercontent.com/15642823/277868586-284becb9-8f47-4ed9-9a92-6a3e7683470d.png" alt="network" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="truncation-example"&gt;Truncation example&lt;/h3&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://user-images.githubusercontent.com/15642823/277902380-7807ed9e-99ae-40c4-b242-b7e9328306ec.png" alt="trunc" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="alvey-signal-and-noise-model"&gt;Alvey+ Signal and noise model&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Noise model (only amplitudes parameterised &amp;ndash; shape fixed):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;$\small S^{\rm N}(A, P, f) \sim A^2 s^{TM}(f) + P^2 s^{OMS}(f)$&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Two signal models (one chosen):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;$\tiny {\rm Power Law}: \Omega(\alpha, \gamma, f) \sim 10^\alpha\ f^\gamma$&lt;/li&gt;
&lt;li&gt;$\tiny {\rm N-Power Laws}:\Omega(\vec{\alpha}, \vec{\gamma}, \vec{f}_{\rm range}, f) \sim \sum^N 10^\alpha_i\ f^\gamma_i\ \Theta[f_i^{\rm min}, f_i^{\rm max}]$&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="base-model-consists-of"&gt;BASE Model consists of&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;data(t) = noise(t) + $\sum^{\rm signals}$ s_i(t)&lt;/li&gt;
&lt;li&gt;Single TDI channel&lt;/li&gt;
&lt;li&gt;12 days of data (split into 100 segments, 1 segment ~ 2.9 hours)&lt;/li&gt;
&lt;li&gt;$\Delta f\sim0.1\ {\rm mHz}$&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note:
this is ~1% of the full LISA mission duration&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="model-with-transients"&gt;Model with transients:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Same as BASE mode&lt;/li&gt;
&lt;li&gt;In each segement Inject 1 massive BH merger (priors below) if U[0,1] &amp;lt; p&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;Mc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;8e5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;9e5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;eta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.25&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;chi1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;chi2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;dist_mpc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;5e4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;1e5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;tc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="n"&gt;phic&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;h3 id="mla-training"&gt;MLA training:&lt;/h3&gt;
&lt;p&gt;&amp;ldquo;Several numerical settings should be chosen for the general structure of the algorithm as well as the network architechture&amp;rdquo;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;500K simulations (9:1 train:val split)&lt;/li&gt;
&lt;li&gt;50 epochs (512 batch size)&lt;/li&gt;
&lt;li&gt;save model weights with the lowest validation loss&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="results--discussion"&gt;Results + Discussion&lt;/h2&gt;
&lt;hr&gt;
&lt;h3 id="mcmc-vs-sbi-fit"&gt;MCMC vs SBI fit&lt;/h3&gt;
&lt;figure&gt;&lt;img src="https://user-images.githubusercontent.com/15642823/277888874-1ab882f7-e3d1-47a9-a542-96101b8b92b5.png" width="500px"&gt;
&lt;/figure&gt;
&lt;hr&gt;
&lt;h3 id="some-thoughts"&gt;Some thoughts&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The good:
&lt;ul&gt;
&lt;li&gt;&amp;lsquo;Implicit marginalisation&amp;rsquo; may enable focused study (without global fit)!&lt;/li&gt;
&lt;li&gt;Fewer evaluations of the model needed!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The $\tiny{\rm bad}$ not so good:
&lt;ul&gt;
&lt;li&gt;Doest use LnL even when known (no gradients)&lt;/li&gt;
&lt;li&gt;Requires robust models for noise (
)&lt;/li&gt;
&lt;li&gt;Need to model &lt;em&gt;all&lt;/em&gt; signals in data generation?&lt;/li&gt;
&lt;li&gt;MLA architecture&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The ugly:
&lt;ul&gt;
&lt;li&gt;unfair MCMC comparison for data with transients&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="future-work"&gt;Future work&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;More complex noise model&lt;/li&gt;
&lt;li&gt;Longer data duration&lt;/li&gt;
&lt;li&gt;Additional data channels&lt;/li&gt;
&lt;li&gt;other &amp;ldquo;SBI&amp;rdquo; blocks for the global fit&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="other-related-papers"&gt;Other related papers&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;</description></item></channel></rss>