TerraCodec: Compressing Earth Observations

Julen Costa-Watanabe, Isabelle Wittmann, Benedikt Blumenstiel, Konrad Schindler · DOI

Introduction: The Earth Observation Data Bottleneck

Earth Observation (EO) satellites, such as the Sentinel-2 constellation, are generating an unprecedented volume of data. This multispectral imagery is essential for monitoring climate change, agricultural health, and disaster response. However, the sheer scale of these data streams creates a significant bottleneck for ground station transmission and long-term storage. While AI-based "learned" compression has seen success in consumer media, the EO field presents unique challenges: data is multispectral (often exceeding 12 bands) and multi-temporal, with the same locations imaged repeatedly over time.

The TerraCodec Suite

TerraCodec (TEC) is a new family of learned compression models specifically optimized for the unique properties of Sentinel-2 data. The suite includes three primary architectures:

  1. TEC-FP & TEC-ELIC: These are image-based codecs. TEC-FP utilizes a lightweight "Factorized Prior" model, while TEC-ELIC employs a more sophisticated "space-channel context" to maximize compression efficiency at the cost of higher computational requirements.
  2. TEC-TT (Temporal Transformer): This model leverages the temporal redundancy inherent in satellite imagery. Unlike standard video codecs that focus on motion, TEC-TT uses a transformer to predict current image representations based on previous visits to the same location, effectively modeling seasonal and atmospheric changes.
  3. FlexTEC (Latent Repacking): To address the "fixed-rate" limitation of most neural codecs—which typically require separate models for different quality levels—the authors introduced "Latent Repacking." By organizing data into channel-slice tokens rather than spatial patches, a single FlexTEC model can operate across various bitrates by simply transmitting more or fewer tokens.

Compression as a World Model

Because TEC-TT must predict a location's appearance to compress it efficiently, the model inherently learns a "prior" or world model of the Earth. This capability enables zero-shot cloud removal. When a scene is obscured by clouds, the model uses its temporal memory to reconstruct the underlying landscape. In evaluations on the AllClear benchmark, TEC-TT's internal predictions outperformed specialized, task-specific cloud removal models, particularly in extreme cases where nearly the entire image was obscured.

Experimental Results and Downstream Utility

TerraCodec demonstrates a significant leap over traditional standards. It achieves comparable image quality to JPEG2000, WebP, and HEVC at 3–10× lower bitrates.

Reconstruction using JPEG2000 at a low bitrate, showing significant artifacts and loss of detail.
Reconstruction using TerraCodec-TT, which leverages temporal context to maintain high fidelity at the same bitrate.

Crucially, the compression is "downstream friendly." Testing on datasets like Sen1Floods11 showed that images could be compressed by up to 380× with less than a 1% drop in accuracy for AI tasks like flood segmentation. This suggests that massive archives can be stored in a highly compressed state without compromising future scientific analysis.

Conclusion and Future Work

TerraCodec represents a paradigm shift in EO data management, treating compression not just as a storage problem but as a form of world modeling. While current models are sensor-specific (trained on Sentinel-2) and limited to a two-frame temporal context, future iterations aim to incorporate longer sequences and cross-sensor compatibility to further reduce the global satellite data footprint.

Summary updated

BibTeX
@misc{costawatanabe2025terracodec,
  author = {Julen Costa-Watanabe and Isabelle Wittmann and Benedikt Blumenstiel and Konrad Schindler},
  title = {{TerraCodec: Compressing Earth Observations}},
  year = {2025},
  eprint = {2510.12670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.12670},
}
Figure