1 of 25

Towards probabilistic models for capturing uncertainty

Alexandre Boucaud

CNRS/IN2P3 - France

alexandre.boucaud@apc.in2p3.fr

2 of 25

Instrumental context

Euclid ESA satellite

15 000 sq. deg.

higher resolution than ground telescopes

3 instruments – visible + near-IR imaging

launched end of 2022

2

3 of 25

Current surveys

credit : SDSS

4 of 25

Upcoming surveys

credit : NGVS

5 of 25

Galaxy blending

z=0.1

z=0.2

courtesy H. Bretonnière

6 of 25

galaxies are "transparent" �=> no obscuration

measuring flux and shape when galaxies overlap is tricky

in our case a pixel can refer to �several objects

Galaxy blending

7 of 25

Galaxy blends emulated with real galaxy images

8 of 25

Blended galaxy segmentation

9 of 25

Galaxy segmentation with UNet

9

input images

(test set)

true

segmentation

predicted

segmentation

10 of 25

Flux estimation of blended galaxies

Using a classic convnet, directly on the blend galaxy images

performance is much better than traditional astro detection algorithms

11 of 25

Could we go from a fully deterministic network..

12 of 25

..to a probabilistic one ?

13 of 25

Thesis of Hubert Bretonnière

"Develop and implement deep learning-based image �processing algorithms for the morphology of galaxies�Euclid satellite"

co-supervision astronomer – software engineer

started last october

14 of 25

15 of 25

16 of 25

17 of 25

18 of 25

19 of 25

TensorFlow Probability

20 of 25

Probabilistic segmentation

aim at predicting a probability of blending between 2+ galaxies

can be applied to large images

ability to propose an absence of overlap

uses TensorFlow Probability

courtesy H. Bretonnière

input images

true

segmentation

predicted

segmentations

21 of 25

courtesy H. Bretonnière

22 of 25

  • deterministic networks tend to hide the model uncertainty
  • modifying your models to output probability distributions �is quite straightforward
    • TensorFlow => TensorFlow Probability at least
    • other tools exist (Pyro w/ PyTorch, PyMC3, etc..)
  • such step might be necessary in order to use your ML model to perform Bayesian inference

Conclusions

23 of 25

ANR – “AstroDeep”

Recently got funding for the next 4 years

3 postdocs

1 PhD student

travel and computing

23

Astro experts

weak lensing

signal processing

image processing pipelines

Computer scientists

machine learning

neural networks

Markov models, random processes, bayesian networks…

24 of 25

  • 3-day workshop including �talks, round tables and hands-on
  • focus on Bayesian inference w/ NN
  • advanced tutorials given byTFProbability developers
  • deadline for application: feb 2

Workshop in march

25 of 25

  • 3-day course with tutorials in the afternoon (50%)
  • first 2 days focused on traditional machine learning �(terminology, main algorithms, model comparison, etc.)
  • last day focused on neural networks and deep learning

Registration starting on Feb 15, course last week of May in Villejuif (Paris)

Formation CNRS

with Sylvain Caillou (LIMSI)