Top Banner
New generation inversion codes A. Asensio Ramos Instituto de Astrofísica de Canarias (Spain) J. de la Cruz Rodríguez Institute for Solar Physics (Sweden) github.com/aasensio @aasensior aasensio.github.io/blog
39

A. Asensio Ramos

Dec 30, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A. Asensio Ramos

New generation inversion codes

A. Asensio Ramos Instituto de Astrofísica de Canarias (Spain)

J. de la Cruz Rodríguez

Institute for Solar Physics (Sweden)

github.com/aasensio

@aasensior

aasensio.github.io/blog

Page 2: A. Asensio Ramos

SIR, Nicole, Helix+, Hazel, MILOS, PCA, …

Old generation – From 70s and still R&R

Page 3: A. Asensio Ramos

Teenage generation – 21st century

• PCA regularized deconvolution (IAC) • Spatially coupled inversions [van Noort’s talk]

Page 4: A. Asensio Ramos

EST

DKIST GREGOR

Page 5: A. Asensio Ramos

The new generation

Regularization

Page 6: A. Asensio Ramos

Why regularization?

• Pixel-by-pixel inversion

• No spatial correlation is used at all

• Noise induces degeneracies

• Your inversion code is surely biased (and you don’t know it)

• We know many things from our solution

Include a-priori knowledge Maximum-likelihood maximum a-posteriori

Page 7: A. Asensio Ramos

A simple observation

1 MB (RAW) 129 kB (JPEG) - lossy

286 kB (PNG) - lossless

Page 8: A. Asensio Ramos

Do we need information for all pixels?

Nunknowns=Npixel x Nparameters

Page 9: A. Asensio Ramos

Do we need information for all pixels?

Nunknowns=Npixel x Nparameters

1000 x 1000

Page 10: A. Asensio Ramos

Do we need information for all pixels?

Nunknowns=Npixel x Nparameters

1000 x 1000 ~10-20

Page 11: A. Asensio Ramos

Do we need information for all pixels?

Nunknowns=Npixel x Nparameters

1000 x 1000 ~10-20 ~107

Page 12: A. Asensio Ramos

Do we need information for all pixels?

Nunknowns=Npixel x Nparameters

1000 x 1000 ~10-20 ~107

Redundant information!

Page 13: A. Asensio Ramos

The importance of spatial correlation

Rempel et al. (2009)

Page 14: A. Asensio Ramos

The Trick™

Page 15: A. Asensio Ramos

Use a sparsifying (compressive) transformation

Page 16: A. Asensio Ramos

Use a sparsifying (compressive) transformation

• Solution is sparse • Reduction in the number of unknowns

• Transformation is global

• A pixel contributes to all modes

Page 17: A. Asensio Ramos

Compression – Discrete Cosine Transform

Page 18: A. Asensio Ramos

Compression – Daubechies Wavelets

Page 19: A. Asensio Ramos

Compression – Discrete Cosine Transform

Page 20: A. Asensio Ramos

Compression – Daubechies Wavelet

Page 21: A. Asensio Ramos

Compression – Physical parameters DCT

Page 22: A. Asensio Ramos

Compression – Physical parameters Wavelet

Page 23: A. Asensio Ramos

Compression – Physical parameters DCT

Page 24: A. Asensio Ramos

Compression – Physical parameters Wavelet

Page 25: A. Asensio Ramos

The problem to solve

Page 26: A. Asensio Ramos

The problem to solve

Page 27: A. Asensio Ramos

How to solve the problem

Levenberg-Marquardt (gradient descent+Newton) cannot be used because the Hessian matrix is huge

• Cannot be built and/or approximated • Contrary to what happens with e.g., van Noort’s method

• Cannot be inverted

• Matrix is not sparse

Need to use accelerated first-order methods

Page 28: A. Asensio Ramos

First-order proximal algorithms

Page 29: A. Asensio Ramos

First-order proximal algorithms

Optimization of a convex+non-convex function

Proximal gradient descent methods broadly used in ``big data’’

Page 30: A. Asensio Ramos

Proximal operators

Page 31: A. Asensio Ramos

Proximal operators

For the l0 norm, the proximal operator is the hard-thresholding operator

Page 32: A. Asensio Ramos

Proximal operators

For the l0 norm, the proximal operator is the hard-thresholding operator

Page 33: A. Asensio Ramos

Proximal operator – Intuitive idea

Admissible solutions Non-admissible

solutions

Page 34: A. Asensio Ramos

Computer code

• MPI parallel general inversion code (C++)

• Uses the FISTA algorithm (Beck & Teboulle 2009) with restarting (O’Donoghue & Candès 2012)

• Forward model is modular (+gradient)

• Sparsity: DCT, Wavelet, …

• Spatial deconvolution is added trivially

• We are studying thresholding strategies

Page 35: A. Asensio Ramos

Sunspot - Comparison

B

qB

fB

v

Dl

30% compression factor!!

Page 36: A. Asensio Ramos

Quiet Sun - Comparison

B

qB

fB

v

Dl

30% compression factor!!

Page 37: A. Asensio Ramos

Inversion+deconvolution: straightforward

Page 38: A. Asensio Ramos

Convergence

Page 39: A. Asensio Ramos

Extensions

• 2D inversions with gradients

• Full 3D inversions invert a cube

• Regularized versions of SIR

• Inclusion of unknown systematics plus the signal

• Inversion + deconvolution