Attention-Based Generative Neural Image
Compression on Solar Dynamics Observatory
Ali Zafari†, Atefeh Khoshkhahtinat†, Piyush M. Mehta‡, Nasser M. Nasrabadi†, Barbara J. Thompson§,
Daniel da Silva§, Michael S. F. Kirk§
†Dept. of Computer Science & Electrical Engineering, West Virginia University, WV USA
‡Dept. of Mechanical & Aerospace Engineering, West Virginia University, WV USA
§NASA Goddard Space Flight Center, MD USA
{az00004,ak00043}@mix.wvu.edu,{piyush.mehta,nasser.nasrabadi}@mail.wvu.edu
{barbara.j.thompson,daniel.e.dasilva,michael.s.kirk}@nasa.gov
Abstract—NASA’s Solar Dynamics Observatory (SDO) mission
gathers 1.4 terabytes of data each day from its geosynchronous
orbit in space. SDO data includes images of the Sun captured at
different wavelengths, with the primary scientific goal of under-
standing the dynamic processes governing the Sun. Recently, end-
to-end optimized artificial neural networks (ANN) have shown
great potential in performing image compression. ANN-based
compression schemes have outperformed conventional hand-
engineered algorithms for lossy and lossless image compression.
We have designed an ad-hoc ANN-based image compression
scheme to reduce the amount of data needed to be stored and
retrieved on space missions studying solar dynamics. In this
work, we propose an attention module to make use of both local
and non-local attention mechanisms in an adversarially trained
neural image compression network. We have also demonstrated
the superior perceptual quality of this neural image compressor.
Our proposed algorithm for compressing images downloaded
from the SDO spacecraft performs better in rate-distortion trade-
off than the popular currently-in-use image compression codecs
such as JPEG and JPEG2000. In addition we have shown that
the proposed method outperforms state-of-the art lossy transform
coding compression codec, i.e., BPG.
Index Terms—Learned lossy image compression, solar dynam-
ics observatory, generative adversarial network, attention
I. INTRODUCTION
Image compression using artificial neural networks (ANN)
has shown great potential to be applied on a wide variety
of different areas since their first appearance [1]. In the
past couple of years, they have outperformed most of the
hand-engineered codecs such as JPEG [2] and JPEG2000
[3] in terms of rate-distortion (RD) performance [4]. One
major advantage of ANN-based compression algorithms is
that they can be developed on any ad-hoc dataset to do better
compression than general codecs [4].
Although it is believed that the ultimate trade-off in im-
age compression is between the rate and distortion, recent
studies have shown that there is a third role governing the
This research is based upon work supported by the National Aeronautics
and Space Administration (NASA), via award number 80NSSC21M0322
under the title of Adaptive and Scalable Data Compression for Deep Space
Data Transfer Applications using Deep Learning.
visual quality of compressed images known as perception [5].
Generative Adversarial Networks (GANs) are known for their
high-quality reconstructed images by enforcing the ANN to
capture the distribution of their input image. Hence, to improve
the perceptual quality of reconstructed image at the receiver,
GANs have been applied to image compression networks in
the literature [6].
Another venue of works to improve the performance of Con-
volutional Neural Networks (CNNs) is attention mechanism.
With its unprecedented influence in natural language process-
ing [7], attention has found its way in computer vision and
object detection/classification tasks [8], [9]. We have utilized
both of these improvements in learned image compression net-
works to enhance the performance in terms of rate-distortion-
perception trade-off [5]. As shown in Figure 1, although the
attention mechanism can reach better performance compared
with other compression standards, augmenting it with a GAN
will lead to better perceptual quality.
Contributions of This Work. In this work we have inves-
tigated the application of recently successful learned image
compression methods in the field of solar imaging. We have
shown that these neural compression schemes could easily
outperform traditional and currently-in-use image codecs. In
addition, we have proposed a curated attention module to
improve the RD tradeoff performance in state-of-the art neural
compression architectures. We have also utilized adversarial
training to encourage the decoder of our neural network
to preserve the distribution of the solar images during the
reconstruction process.
The remainder of the paper is organized as follows. Sec-
tion II reviews the neural-based compression methods and
the importance of compression on SDO mission. Section III
describes our proposed method. The experiments and ablation
studies are discussed in section IV with a conclusion at section
V.
II. RELATED WORK
A. Neural Image Compression
Transform coding based image compression algorithms
share four main steps to compress an image [10]. First,
978-1-6654-6283-9/22/$31.00 ©2022 IEEE
DOI 10.1109/ICMLA55696.2022.00035
arXiv:2210.06478v2 [eess.IV] 4 May 2023