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

encode PSF & background variation #694

Closed
9 of 10 tasks
jeff-regier opened this issue Oct 21, 2022 · 0 comments · Fixed by #801
Closed
9 of 10 tasks

encode PSF & background variation #694

jeff-regier opened this issue Oct 21, 2022 · 0 comments · Fixed by #801
Assignees

Comments

@jeff-regier
Copy link
Contributor

jeff-regier commented Oct 21, 2022

The point spread function and background intensity vary significantly among different images. The BLISS encoder, however, currently is trained based on the PSF and background for a single image. We don't want to have to retrain BLISS for every new image we process because that would be slow, negating the advantage of using an amortized approach to Bayesian inference. Instead, we'd like to change the encoder architecture to it takes not just an image as input, but also, as "side information", a background and a PSF. We'd then train this encode with simulated data created with a variety of backgrounds and PSFs.

Steps:

  • in the decoder, use random backgrounds sourced from many real images, not just one image
  • in the decoder, use a random PSF sourced from many real images, not just one image
  • Verify that the encoder now works with arbitrary backgrounds and characterize how much, if any, performance we lose by using an encoder that works for any background, rather than an encoder that is specialized to a particular background
  • train the encoder with images generated with random PSFs. Do not explicitly provide the encoder with the correct PSF. Benchmark the performance of this encoder (the "unaware" encoder) and compare it to encoders that are trained solely with the correct PSF ("specialized" encoders) on several fields
  • Benchmark a "PSF-aware" encoder that concatenates the 5 SDSS PSF parameters to the input as a new channel
  • Benchmark a "PSF-aware" encoder that includes a deconvolved image in the encoder input
  • Benchmark a "PSF-aware" encoder that leverages a low-dimensional representation of the PSF
  • Benchmark combinations of the techniques above to get the best performing encoder. Ideally in amortizing across PSFs we wouldn't give up more than 2% in terms of detection performance, in relation to the performance of a "specialized" encoder.
  • Create a pytest test case that showing variable PSF works: illustrate performance with “cloudy vs. clear” night in the ground based mock images to show that variable PSF has impact on galaxy size (flux first check) in sky
  • Create a Jupyter notebook that contains the results we'd need for a publication about "Amortized Bayesian Inference for Ground-based Astronomical Images"
@jeff-regier jeff-regier changed the title encode PSF variation encode PSF & background variation May 5, 2023
@aakashdp6548 aakashdp6548 linked a pull request Jun 16, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants