1 of 61

Mapping Stellar Surfaces via Simulation-Based Inference

Conaire Deagan

Macquarie University Seminar

21st August 2026

Étienne Léopold Trouvelot, Group of Sun Spots, 1875

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

2 of 61

What do I mean by “mapping” stellar surfaces?

vs

Immaculate

maculate

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

3 of 61

Why map stellar surfaces?

  • Why not?

  • Tells us about:
    • The inside of stars
    • The outside of stars

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

4 of 61

Why is this a problem?

unresolved

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

5 of 61

Star makes signals

From signals make star?

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

6 of 61

Can you recover a stellar surface from signals?

Sort of…….

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

7 of 61

Can you recover a stellar surface from signals?

Is it a unique surface?

Yes, you can get a solution

No, there are many solutions

How many?

Technically, infinite.

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

8 of 61

Are all solutions equally valid?

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

9 of 61

Rotating

(modified) figure 1 of Luger et al 2021a

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

10 of 61

<-- Possible Surfaces -->

<-- Possible Surfaces -->

Likelihood

Posterior

<-- Probability -->

<-- Probability -->

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

11 of 61

Discrete spot model

  • Latitude
  • Longitude
  • Radius
  • Contrast

4 params

x N spots

  • Radius and contrast are degenerate

  • Ordering degeneracy += Multi-modality

  • Changing dimensionality

Solvable, but makes sampling hard

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

12 of 61

Discrete spot model priors

  • Spots are discrete circles, with sharp edges
  • (Usually) single brightness

  • Distributed to maximise entropy - e.g. Vogt, Penrod, Hatzes 1987

Lanza, Bonomo, Rodono 2007

Can sample and get a posterior, but often get stuck in local minima if not careful

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

13 of 61

Pixel Grid Model

  • Generally better

  • Must choose pixel size 🡪 limits localisation

  • Comes from matrix inversion
    • Regularise with tikonov
    • Overly smooth spots

Matrix inversion, by default, gives a single solution

(not very Bayesian)

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

14 of 61

Spherical Harmonics

 

 

 

 

 

 

 

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

15 of 61

Spherical Harmonics

 

Cons:

  • Hard to enforce priors
  • Very high dimensional

Pros:

  • Very nice mathematically
  • Good for information theory
  • Rotations are a breeze
  • Can make any shape

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

16 of 61

Want we want from a model prior

  • Spot shape flexibility
  • Arbitrary number of spots
  • Compact spots
  • Sparse surfaces
  • Positive flux

Easy with SH

Easy with SH

No closed form

No closed form

No closed form

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

17 of 61

Situation with Spherical Harmonics

  • Hard to sample
  • Analytic models infeasible
  • But useful from an information theory perspective
    • See Deagan & Montet 2026, Taaki et al 2026a/b, Luger et al 2021a, Dholakia & Pope 2026

  • Just use Simulation-Based Inference (SBI) !

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

18 of 61

SBI

Black box

Signals go in

Surfaces come out

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

19 of 61

SBI vs MCMC (+ variants)

SBI

MCMC

  • Approximates a posterior

  • Prior can be inferred from data

  • Requires training a NN

  • Gives full posterior as a single forwards pass

  • Gives actual posterior

  • Needs analytic prior

  • No training required

  • Need many many samples to get posterior

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

20 of 61

My Model

Black box

Signals go in

Surfaces come out

Photometric light curve

and/or X astrometric signal

and/or Y astrometric signal

Full posteriors of:

  • 961-D Spherical harmonics coefficients (L = 30)
  • The observers inclination
  • The noise levels

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

21 of 61

My Model

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

22 of 61

My Model

Variational Auto-Encoder

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

23 of 61

My Model

Variational Auto-Encoder

Embedding Network

24 of 61

My Model

Variational Auto-Encoder

Embedding Network

The flow

25 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

26 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

27 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

28 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

29 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

 

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

30 of 61

The Variational Auto-encoder

Encoding network

Latent space

Decoding network

 

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

31 of 61

The Variational Auto-encoder

Decoding network

Random latent draws

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

32 of 61

My Model

Variational Auto-Encoder

Embedding Network

The flow

33 of 61

My Model

Variational Auto-Encoder

Embedding Network

The flow

96D

~965D

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

34 of 61

My Model

Variational Auto-Encoder

Embedding Network

The flow

96D

~965D

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

35 of 61

My Model

~216x3 D

Embedding Network

~96D

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

36 of 61

My Model

~216x3 D

Embedding Network

~96D

Learned summary statistic

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

37 of 61

My Model

~96D

+

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

38 of 61

My Model

~96D

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

39 of 61

My Model

=

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

40 of 61

My Model

Unobservable cap

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

41 of 61

My Model

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

42 of 61

My Model

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

43 of 61

My Model

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

44 of 61

My Model

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

45 of 61

My Model� (Phot)

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

46 of 61

My Model� (Phot + Astrometry)

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

47 of 61

Photometry

Photometry + Astrometry

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

48 of 61

Photometry

Photometry + Astrometry

SPOT LOCALISATION!

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

49 of 61

Photometry + Astrometry

<-- Based on Sigma Gem!

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

50 of 61

*noiseless

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

51 of 61

Less False Positives

Less False Negatives

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

52 of 61

Less False Positives

Less False Negatives

Better

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

53 of 61

* noiseless

* noiseless

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

54 of 61

* noiseless

* noiseless

With Noise

Black = visible sphere

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

55 of 61

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

56 of 61

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

57 of 61

Conclusion

Using SBI, 100ppm photometry + TOLIMAN-like noise*, Sigma Gem is recoverable very well!

< --- My website

Conaire Deagan, c.deagan@unsw.edu.au, conaired.github.io

58 of 61

59 of 61

Power at spot scales

Hope for smaller spatial scales?

60 of 61

61 of 61