Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

towards first paper results #11

Open
6 of 43 tasks
ismael-mendoza opened this issue Sep 25, 2024 · 0 comments
Open
6 of 43 tasks

towards first paper results #11

ismael-mendoza opened this issue Sep 25, 2024 · 0 comments

Comments

@ismael-mendoza
Copy link
Collaborator

ismael-mendoza commented Sep 25, 2024

0.1 (artificial ellipticities, low noise)

First, we need to setup the infrastructure to produce and evaluate shear posteriors. We do this following the procedure in Bernstein+ 2014 to produce artificial ellipticity samples, and use these samples to infer shear posteriors with the Schneider+2014 methodology

0.2 (artificial ellipticities, realistic noise)

The goal here is to evaluate the feasibility of running the shear posteriors chain with a much larger number of ellipticities (~10^7). Next, we want to check that these posteriors are correct at least in mean, and to the extent possible, in terms of the uncertainty.

  • (0.2) investigate shape noise cancellation in this context
  • decide whether we should clip noisy, observed elliptcities
  • (0.2) benchmark time and memory for full noise test
  • (0.2) consider running and comparing full noise test with sub-posterior gaussian combination
  • (0.2) check posterior bias is within requirements
  • (0.2) assess posterior uncertainty
  • (0.2) compare results with Bernstein+2014, reproduce setup

0.3 (end-to-end test, low noise)

Here the goal is to check that the ellipticity interim posteriors from actual NUTS chains can be used to infer shear accurately. We will start with a low-noise regime. If we want to thoroughly asses the posterior calibration, speeding up the NUTS chains by avoiding the warmup will be fruitful so we also investigate this idea more in this section.

I think we want to perform this tests first on the same galaxy, different noise realizations. Need to think about what the prior should be.

  • test whether we can run NUTS without warmup on different noise realizations of same galaxy #3
  • (0.3) think of changes to shear likelihood when using interim posterior samples from images
  • (0.3) what prior and interim prior should we use for galaxy properties?
  • (0.3) setup script to cache interim posterior samples from NUTS chains
  • (0.3) setup pipeline script to ingest interim posteriors from NUTS and return shear posterior
  • (0.3) asses shear posterior bias
  • (0.3) assess shear posterior calibration

0.4 (Galaxies with realistic priors)

In this part, we proceed with running NUTS on galaxies with the realistic prior distribution of properties that we will use for the paper. We first benchmark and evaluate the convergence of these NUTS chains in this more realistic setting. We investigate small optimizations we can make by perhaps looking at the tuned parameters as a fnc. of SNR which I think will be the most impact property on the final values of these parameters. Next, we run a small test on high SNR galaxies to infer their shear posterior and compare with the previous two parts.

  • setup prior for properties of Gaussian galaxies
  • (0.4) select interim prior to be use in experiments
  • (0.4) investigate SBI as an alternative to initialization NUTS (step size + mass matrix)
  • (0.4) benchmark NUTS chains on Gaussian galaxy images with realistic prior
  • (0.4) investigate if we need full rank mass matrix for good chain convergence
  • (0.4) make plots of tuned parameters as a fnc of SNR
  • (0.4) run and evaluate shear posterior on low # of galaxies with high SNR

0.5 (full test on Gaussian galaxies)

0.6 (Extensions)

  • more complicatd parametric models
  • evaluate model bias (in posterior mean and uncertainty)
  • investigate ways to mitigate model bias

Code improvements

@ismael-mendoza ismael-mendoza pinned this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant