68
06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research and Innovation programme under grant agreement No 776262. Automated characterization of magnetic reconnection using particle distributions 06 May 2020 Contributors : R. Dupuis, M. V. Goldman, D. L. Newman, J. Amaya, and G. Lapenta EGU 2020 – ST 1.9 “Theory and Simulation of Solar System plasmas” Romain Dupuis KU Leuven

Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

This project AIDA receives funding from the European

Union’s Horizon 2020 Research and Innovation programme

under grant agreement No 776262.

Automated characterization of magnetic reconnection using particle distributions

06 May 2020

Contributors: R. Dupuis, M. V. Goldman, D. L. Newman, J. Amaya, and G. Lapenta

EGU 2020 – ST 1.9 “Theory and Simulation of Solar

System plasmas”

Romain Dupuis

KU Leuven

Page 2: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Magnetic reconnection

Page 3: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Magnetic Reconnection

3

Complex physical phenomenon

Break of the frozen-in magnetic field

Magnetic energy release

Transport mechanism, particle acceleration

Magnetic Electron Diffusion Region (EDR)

Occurring in many plasma environments

Sun: flares, CME

Earth’s magnetosphere: magnetopause, magnetotail

MMS mission

Image Credit: NASA MMS

Page 4: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection of reconnection

4

Burch et al. 2016

EDR is very small

The precise detection is hard

Use of indirect signatures

Usually two groups

Field quantities

Statistical moments

Page 5: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection of reconnection

5

Burch et al. 2016

EDR is very small

The precise detection is hard

Use of indirect signatures

Usually two groups

Field quantities

Statistical moments

Third approach: using directly the distribution

Page 6: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Particle distributions

6

Burch et al. 2016

Rich part of the information

MMS mission: crescent shape

Electron dynamics dominates

Beams, power law, top-hat

But very large data

3D velocity space

Spatial space

Temporal aspect

Page 7: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Particle distributions

7

Burch et al. 2016

Rich part of the information

MMS mission: crescent shape

Electron dynamics dominates

Beams, power law, top-hat

But very large data

3D velocity space

Spatial space

Temporal aspect

Extract automatically information from the particle distributions

Page 8: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Machine learning

Page 9: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Supervised vs. unsupervised

9

Supervised learning

Regression

Classification

Unsupervised learning

Clustering

Dimension reduction

Density estimation

Credit S. CarrazzaCredit S. Carrazza

Page 10: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Related work

10

Automated classification of plasma regions using 3D

particle energy distribution. MMS mission: crescent

shape, Olshevsky V. et al, 2019

Automatic Detection of Magnetospheric Regions around

Saturn using Cassini Data, Yeakel, K et al., 2017

Automatic detection of magnetopause reconnection

diffusion regions, Garnier P. et al.

We want to privilege unsupervised approaches

Page 11: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Density estimation

11

Building an estimate of the probability density function

Page 12: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Density estimation

12

Building an estimate of the probability density function

Non-parametric methods

Histogram

Kernel Density Estimation

Page 13: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Density estimation

13

Building an estimate of the probability density function

Non-parametric methods

Histogram

Kernel Density Estimation

Parametric methods

Fitting given distributions

Gaussian Mixture Models (GMM)

Page 14: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Density estimation

14

Building an estimate of the probability density function

Non-parametric methods

Histogram

Kernel Density Estimation

Parametric methods

Fitting given distributions

Gaussian Mixture Models (GMM)

Page 15: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Gaussian Mixture models

15

Gaussian probability distribution

Page 16: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Gaussian Mixture models

16

Gaussian probability distribution

Sum of Gaussians (mixture)

Parameters to find

Credit Rémi Emonet

𝑝 𝑥 = 0.3𝑁1 + 0.7𝑁2

Page 17: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Gaussian Mixture models

17

Gaussian probability distribution

Sum of Gaussians (mixture)

Parameters to find

Credit Rémi Emonet

Number of

components

𝑝 𝑥 = 0.3𝑁1 + 0.7𝑁2

Page 18: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Gaussian Mixture Model

18

How to infer the best parameters ? Maximum likelihood estimation

Maximizing the likelihood estimation

Non linear maximization problem

No closed form

Need to find numerical local maximum: Expectation Maximization

Page 19: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

19

Very effective for models with unobserved latent variables

Page 20: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

20

Very effective for models with unobserved latent variables

Page 21: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

21

Very effective for models with unobserved latent variables

Page 22: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

22

Very effective for models with unobserved latent variables

Page 23: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

23

Very effective for models with unobserved latent variables

Page 24: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Expectation Maximization

24

Very effective for models with unobserved latent variables

Page 25: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Model selection

25

How to determine the number of components K?

Page 26: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Model selection

26

How to determine the number of components K?

Information theory

Aikaike Information Criterion

Bayesian Information Criterion

Page 27: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Model selection

27

How to determine the number of components K?

Information theory

Aikaike Information Criterion

Bayesian Information Criterion

Goodness of fitComplexity

Page 28: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Model selection

28

How to determine the number of components K?

Information theory

Aikaike Information Criterion

Bayesian Information Criterion

Various interpretation to the number of components K

Beams/electron subpopulation

Complex distribution

Deviation from a Gaussian (tail, mode width, etc.)

Goodness of fitComplexity

Page 29: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Simulations

Page 30: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Simulations

30

Access to the complete description of the plasma over all the spatial grid

2.5D collisionless Particle In Cell simulations

iPic3D (Markidis et al.)

Double Harris sheet case, weak guide field

Grid: 769 x 1025 (30di x 40 di)

196,000,000 particles (~250 particles/cell)

Weighted particle injection

B-field-aligned basis

Page 31: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Number of components

31

Number of components (GMM) Measure of gyrotropy (Moment based)

Page 32: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Number of components

32

Number of components (GMM) Measure of gyrotropy (Moment based)

Page 33: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020 33

Number of components (GMM) Measure of gyrotropy (Moment based)

EDR OutflowInflow

Number of components

Page 34: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020 34

Number of components (GMM) Measure of gyrotropy (Moment based)

Number of components

Page 35: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Analyzing the mixtures

35

Thermal energy of the distribution

Page 36: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Analyzing the mixtures

36

Thermal energy of the distribution

Variance of the mixture:

Page 37: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Analyzing the mixtures

37

Thermal energy of the distribution

Variance of the mixture:

Page 38: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Analyzing the mixtures: energy drop and deviation

38

Thermal energy of the distribution

Variance of the mixture:

Diagnostic quantities𝐸𝑡ℎ𝑒𝑟𝑚𝑎𝑙(𝐾)

𝐸𝑑𝑒𝑣(𝐾)

Page 39: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020 39

Analyzing the mixtures: energy drop and deviation

Page 40: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

40

Page 41: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

41

Page 42: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

42

Page 43: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

43

Page 44: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

44

Page 45: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

45

Page 46: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

46

Page 47: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

47

Page 48: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

48

Page 49: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

49

Page 50: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

50

Page 51: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Closer look to the distributions

51

Page 52: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Next steps

52

Simulation: focus on less documented cases

2D turbulent reconnection

3D reconnection

Other kind of simulations

Observation: distributions from in situ space missions

MMS data

Reconstruction of the particle sampling

Machine learning: potential improvement

Convolutional methods and auto encoder

Dual problem with kernel method

Page 53: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

MMS observation: day side 2015

53

Reconnection event: 16 October 2015-13:07:02.235 (Burch et al.)

Gap due to low energy channels

Complex preprocessing pipeline

Identify crescent shape

Auto encoder may help (Olshevsky et al)

Extract 3D features

Use the PDF directly

Vpara

Vperp

Page 54: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Turbulent simulation

54

Identification of potential current layers

Page 55: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Turbulent simulation

55

Identification of potential current layers

Edev

Page 56: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Conclusion

56

GMM is able to identify complex distributions in various cases

Reconnection with weak and strong guide fields

Help to analyze and identify reconnection

No real physical interpretation and no unique solution

GMM as a start in applying ML on simulations and particles

Other ML methods are considered

Auto encoder, SOM, etc.

Page 57: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

References

57

Bishop, Christopher M. Pattern recognition and machine learning. springer, 2006.

Burch et al., “Electron-scale measurements of magnetic reconnection in space.”, 2016b, Science, vol. 352, no 6290, p. aaf2939

Dupuis, Romain, et al. "Characterizing magnetic reconnection regions using Gaussian mixture models on particle velocity

distributions." The Astrophysical Journal 889.1 (2020): 22.

Garnier P. et al., Automatic detection of magnetopause reconnection diffusion regions

Gebru, Israel Dejene, et al. "EM algorithms for weighted-data clustering with application to audio-visual scene analysis." IEEE

transactions on pattern analysis and machine intelligence 38.12 (2016): 2402-2415.

Markidis, S., & Lapenta, G. (2010). Multi-scale simulations of plasma with iPIC3D. Mathematics and Computers in Simulation, 80(7),

1509-1519.

Olshevsky et al., “Automated classification of plasma regions using 3D particle energy distribution”, submitted to JGR-Space physics

Shuster et al. “Highly structured electron anisotropy in collisionless reconnection exhausts”, 2014, Geophysical Research Letters, 41,

5389

Yeakel, K et al., Automatic Detection of Magnetospheric Regions around Saturn using Cassini Data, 2017

Page 58: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Acknowledgments

This work has received funding from the European Unions Horizon 2020 research and innovation programme under grant agreement No 776262 (AIDA, www.aida-space.eu).

58

Page 59: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Thank you for your attention

Contact: [email protected]

Page 60: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Gaussian Mixture Model

60

How to infer the best parameters ?

Maximizing the likelihood estimation

Non linear maximization problem

No closed form

Need to find numerical local maximum: Expectation Maximization

Page 61: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

EM Algorithm

61

Expectation Step

Maximization Step

Page 62: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

62

Page 63: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

63

Page 64: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

64

Page 65: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

65

Page 66: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

66

Page 67: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

67

Page 68: Automated characterization of magnetic reconnection using … · 2020. 5. 6. · EGU 2020 06 May 2020 This project AIDA receives funding from the European Union’s Horizon 2020 Research

EGU 2020 06 May 2020

Detection algorithm

68