Compression of Solar Spectroscopic Observations: a Case Study of Mg II k\n Spectral Line Profiles Observed by NASA's IRIS Satellite

Viacheslav M. Sadykov, Irina Kitiashvili, A. Sainz Dalda, Vincent Oria, А. Г. Косовичев, Egor Illarionov · DOI

Abstract

In this study, we extract deep features and investigate the compression of Mg II k spectral line profiles observed in quiet Sun regions by NASA's IRIS satellite. Using a dataset of nearly 300,000 profiles obtained on April 20th, 2020, we trained an autoencoder with varying embedding layer sizes. Our results indicate that it is possible to compress the spectral line profiles more than 27 times (reducing dimensionality from 110 to 4) while maintaining a 4 DN average reconstruction error, which is comparable to variations in the line continuum. The reconstruction error for even statistical moments decreases sharply as the embedding layer size increases to 4 and plateaus thereafter. The features learned in the four-dimensional case are physically interpretable, primarily controlling line width, asymmetry, and dip formation. These results represent a successful first attempt at obtaining a compact embedding for spectroscopic line profiles, offering significant value for data compression, feature extraction, and denoising.

Introduction

Solar physics is increasingly becoming a "big data" field. Space-based observatories like NASA’s Interface Region Imaging Spectrograph (IRIS) generate massive streams of high-resolution spectroscopic data. These spectral line profiles act as "fingerprints" of light, revealing the temperature, density, and velocity of the Sun’s atmosphere. However, this high resolution presents two major challenges: limited telemetry bandwidth for transmitting data from deep space and the computational exhaustion of analyzing millions of high-dimensional vectors.

This research explores the use of deep learning to find a "compact embedding"—a low-dimensional representation that preserves the essential physical information of spectral lines. By compressing these profiles, we can optimize data storage and transmission while facilitating more efficient scientific analysis.

Methodology and Data

The researchers employed a deep Autoencoder (AE), a neural network architecture designed to learn efficient data codings by forcing input through a narrow "bottleneck" layer.

Data Acquisition

The study focused on the Mg II k spectral line, a critical diagnostic for the solar chromosphere. Data was sourced from IRIS observations targeting "quiet Sun" regions at the center of the solar disc. After cleaning (removing cosmic ray spikes and negative values), the dataset comprised 290,940 individual profiles. Profiles were normalized by peak intensity and cropped to a 110-wavelength window (2794.9 Å – 2797.7 Å).

Model Architecture

The autoencoder utilized a fully connected structure: 110 $\rightarrow$ 64 $\rightarrow$ 32 $\rightarrow$ 16 $\rightarrow$ $n_{emb}$ $\rightarrow$ 16 $\rightarrow$ 32 $\rightarrow$ 64 $\rightarrow$ 110. The size of the embedding layer ($n_{emb}$) was varied from 1 to 15 to identify the optimal compression ratio. Training utilized the Adam optimizer and an early stopping criterion to prevent overfitting.

Comparison of original (blue) and reconstructed (orange) Mg II k line profiles for different samples (a-c) and the reconstruction error progression during training for a 4-neuron embedding layer (d).

Results and Physical Interpretation

The Efficiency of 4-Dimensional Compression

A key finding of this study is the identification of a "magic number" for dimensionality. The reconstruction error and the error in statistical moments (used by physicists to calculate physical parameters) drop sharply as the embedding size increases to 4, after which they reach a plateau. Reducing the dimensionality from 110 to 4 represents a 27x compression factor.

Quantitative analysis of the autoencoder performance. (a) Mean reconstruction error vs. embedding layer size. (b) Histogram of reconstruction errors for the 4-neuron case. (c, d) Relative error of odd and even statistical moments vs. embedding size.

Despite this drastic reduction, the average reconstruction error remains approximately 4 DN (Data Number). This level of error is comparable to the natural noise found in the line's continuum, rendering the compression effectively "lossless" for most scientific applications.

Interpretability and Denoising

Unlike many deep learning models that function as "black boxes," the features learned in the 4D embedding layer are physically interpretable. By perturbing individual dimensions, the authors observed that specific neurons control physical attributes such as line width, asymmetry, and the depth of the central "dip" (reversal).

Furthermore, the bottleneck architecture provides an implicit denoising effect. By prioritizing the strongest physical signals to fit through the narrow embedding layer, the model ignores random noise, resulting in reconstructed profiles that are often cleaner and smoother than the originals.

Conclusion and Future Outlook

This study demonstrates that deep autoencoders can successfully compress solar spectroscopic data by a factor of 27 while preserving physical fidelity and providing denoising. While this work focused on "quiet Sun" regions, future research will explore more complex active regions, such as solar flares, which may require higher-dimensional embeddings. The ultimate goal is the on-board implementation of such models in future spacecraft to maximize the scientific return of solar missions within strict telemetry constraints.

Summary updated

Abstract

In this study we extract the deep features and investigate the compression of\nthe Mg II k spectral line profiles observed in quiet Sun regions by NASA's IRIS\nsatellite. The data set of line profiles used for the analysis was obtained on\nApril 20th, 2020, at the center of the solar disc, and contains almost 300,000\nindividual Mg II k line profiles after data cleaning. The data are separated\ninto train and test subsets. The train subset was used to train the autoencoder\nof the varying embedding layer size. The early stopping criterion was\nimplemented on the test subset to prevent the model from overfitting. Our\nresults indicate that it is possible to compress the spectral line profiles\nmore than 27 times (which corresponds to the reduction of the data\ndimensionality from 110 to 4) while having a 4 DN average reconstruction error,\nwhich is comparable to the variations in the line continuum. The mean squared\nerror and the reconstruction error of even statistical moments sharply decrease\nwhen the dimensionality of the embedding layer increases from 1 to 4 and almost\nstop decreasing for higher numbers. The observed occasional improvements in\ntraining for values higher than 4 indicate that a better compact embedding may\npotentially be obtained if other training strategies and longer training times\nare used. The features learned for the critical four-dimensional case can be\ninterpreted. In particular, three of these four features mainly control the\nline width, line asymmetry, and line dip formation respectively. The presented\nresults are the first attempt to obtain a compact embedding for spectroscopic\nline profiles and confirm the value of this approach, in particular for feature\nextraction, data compression, and denoising.\n
BibTeX
@inproceedings{sadykov2021compression,
  author = {Viacheslav M. Sadykov and Irina Kitiashvili and A. Sainz Dalda and Vincent Oria and А. Г. Косовичев and Egor Illarionov},
  title = {{Compression of Solar Spectroscopic Observations: a Case Study of Mg II k\textbackslash\{\}n Spectral Line Profiles Observed by NASA's IRIS Satellite}},
  booktitle = {CBMI},
  year = {2021},
  url = {https://openreview.net/forum?id=STs3o4kIw0b},
}
Figure