Introduction
Hyperspectral sensors on modern satellites capture hundreds of narrow spectral bands, producing massive 3D "data cubes." These datasets are vital for environmental monitoring, urban planning, and scientific research. However, the sheer volume of data creates a significant transmission bottleneck between satellites and ground stations. While "lossy" compression—where some data is discarded—has benefited from deep learning advancements, scientific missions often require lossless or near-lossless compression to preserve every bit of information.
For years, the industry has relied on the CCSDS-123.0-B-2 standard, which utilizes simple linear predictors. Deep learning models, particularly autoencoders, have historically struggled to compete in this high-fidelity regime due to high memory requirements and poor scalability on satellite hardware. This paper introduces LineRWKV, the first deep-learning-based method to consistently outperform the CCSDS standard while remaining viable for onboard deployment.
The Challenge of Onboard Compression
Satellites operate under strict power and memory constraints. Traditional deep learning architectures like Transformers offer powerful representational capabilities but suffer from quadratic computational costs, making them unsuitable for processing large hyperspectral images in real-time. Conversely, standard Recurrent Neural Networks (RNNs) are memory-efficient but often fail to capture the complex, long-range dependencies present in hyperspectral data.
Furthermore, most neural networks treat pixel prediction as a classification problem, generating a probability distribution across all possible pixel values. For 16-bit hyperspectral data, this would require a 65,536-way softmax, which is computationally prohibitive for onboard systems.
Methodology: The LineRWKV Architecture
LineRWKV departs from the common autoencoder design in favor of predictive coding. In this framework, the model predicts the value of the next pixel based on its spatial and spectral neighbors. Only the difference between the prediction and the actual value—the "residual"—is stored. If the prediction is accurate, the residuals are small and can be compressed very efficiently.
Hybrid Efficiency
The core of the system is the RWKV (Receptive Weighted Kwadratics) architecture, adapted from Natural Language Processing. LineRWKV combines the best of two worlds:
- Transformer-like Power: It uses attention-based mechanisms to model non-linear spatial and spectral patterns, allowing it to handle complex terrain and sudden discontinuities better than linear models.
- RNN-like Efficiency: It operates with linear complexity. By processing images line-by-line, the model matches the "pushbroom" scanning motion of satellites. This approach ensures that memory usage is tied to a single image line rather than the entire data cube, allowing for the processing of infinitely long image strips.
Modular Design
The architecture consists of four specialized blocks:
- Encoder: Extracts local spatial features.
- Line Predictor: Captures temporal and along-track features.
- Spectral Predictor: Models dependencies across different spectral bands.
- Decoder: Synthesizes these inputs to produce the final pixel estimate using floating-point regression with rounding, avoiding the expensive softmax bottleneck.
Experimental Results
The researchers evaluated LineRWKV using two major datasets: HySpecNet-11k (featuring over 11,000 patches from the EnMAP satellite) and PRISMA (used to test transfer learning capabilities).
Performance Benchmarks
LineRWKV is the first deep learning method to consistently beat the CCSDS-123.0-B-2 industry standard. In lossless mode, it achieved a performance gain of up to 0.431 bits per pixel per component (bpppc). The researchers tested four model sizes, ranging from "Extra Small" (30k parameters) to "Large." Remarkably, even the smallest version outperformed the CCSDS standard, demonstrating the inherent strength of the non-linear predictive approach.
Hardware and Deployment
To prove its viability for space missions, the model was tested on an Nvidia Jetson Orin Nano, a 7W embedded system representative of modern satellite hardware. The model achieved a throughput of over 500,000 samples per second. While this is currently slower than dedicated hardware-accelerated CCSDS implementations, it represents a massive leap forward for deep learning efficiency in this domain.
Transfer Learning
One challenge in satellite imaging is the "domain gap"—models trained on one satellite (like EnMAP) may not perform as well on another (like PRISMA). However, the study found that LineRWKV could be fine-tuned with as few as 100 images from a new sensor to regain its superior compression performance.
Limitations and Future Outlook
While LineRWKV sets a new benchmark, some hurdles remain. Because the model relies on floating-point arithmetic, different hardware (e.g., different GPUs or CPUs) can produce slightly different rounding results, which could break lossless reconstruction. The authors addressed this by including a tiny amount of "side information" (0.02 bpppc) to keep the decoder synchronized.
Future work will focus on further optimizing throughput using tools like TensorRT and exploring architectural pruning to make the "Large" versions of the model more accessible for low-power satellite CPUs. By breaking the dominance of linear standards, LineRWKV opens the door for a new generation of AI-driven scientific data reduction in space.
Summary updated