SlowFast-SCI: Slow-Fast Deep Unfolding Learning for Spectral Compressive Imaging

Haijin Zeng, Xuan Lu, Jiezhang Cao, Kai Zhang, Yurong Zhang, Qiangqiang Shen, Guoqing Chao, Li Jiang, Yongyong Chen, Jingyong Su, Jie LiuarXiv 2025

TL;DR

SlowFast-SCI introduces a dual-speed learning framework for spectral compressive imaging (SCI) that mimics human cognitive memory systems to achieve rapid test-time adaptation. By distilling a heavy deep unfolding network into a compact model and embedding lightweight stage-wise adapters, it slashes computational costs by over 70% while boosting out-of-distribution reconstruction quality by up to 5.79 dB.


What Problem Does This Paper Address?

Spectral Compressive Imaging (SCI) is a powerful computational photography technique that captures 3D hyperspectral data cubes (spatial plus spectral dimensions) from a single 2D sensor measurement. To reconstruct the high-dimensional data, researchers typically use Deep Unfolding Networks (DUNs), which map iterative optimization steps into neural network layers.

However, current DUNs act exclusively like a "slow" learning system: they require massive offline pre-training on large datasets and rely on heavy, multi-stage architectures. This makes them incredibly brittle when deployed on out-of-distribution (OOD) data—such as a new camera configuration, a bespoke optical setup, or unseen lighting conditions. Trying to fine-tune the entire network at test time is computationally prohibitive and destabilizes the sequential stages of the network.

Fig. 2: Evaluating the cross-domain generalization of classic DUN. Images with blue backgrounds represent the average log-spectrum of each dataset. The deep unfolding network is trained on the CAVE dataset during the slow learning stage. To evaluate cross-domain generalization, the model is tested on two out-of-distribution (OOD) datasets (Harvard and ICVL) and on real-world test samples, rather than on in-distribution (IND) datasets such as KAIST used in prior works. The average PSNR (dB) demonstrates that classic DUN performs well on IND test set but experiences a noticeable performance drop when applied to OOD test samples.

Methods

Inspired by how the human brain pairs a slow neocortex (for general knowledge) with a fast hippocampus (for rapid episodic adaptation), the authors propose SlowFast-SCI. The framework splits the workload into two distinct speeds:

  1. Slow Learning (Offline Distillation): The authors pre-train a heavy, physics-guided deep unfolding network to capture robust structural priors. To make it field-deployable, they introduce Imaging-Guided Fast Unfolding Distillation (IGFUD), which compresses this multi-stage backbone into a streamlined, 2-stage compact model called FastUN.
  2. Fast Learning (Test-Time Adaptation): They embed lightweight Fast Test-Time Adaptation Modules (FAST-TTAMs) into each stage of the FastUN. At inference time, the backbone parameters remain completely frozen. Only these lightweight adapters are fine-tuned on-the-fly using a self-supervised loss function that balances measurement consistency, equivariance imaging, image uncertainty, and total variation.

The design of the FAST-TTAM adapter is mathematically grounded in the frequency-domain properties of a Wiener filter, allowing it to efficiently bridge the distribution gap between the training data and the target scene.

Datasets

The framework was evaluated using several standard benchmarks:

  • Pre-training (Source Domain): The model's "slow" backbone was trained on the CAVE dataset.
  • Out-of-Distribution (OOD) Simulation: The Harvard and ICVL datasets were treated as completely unseen target domains to evaluate cross-domain generalization.
  • Real-World Evaluation: The authors tested the model on real-world scenes captured via a physical CASSI (Coded Aperture Snapshot Spectral Imaging) system to demonstrate practical, field-deployable performance.

Key Insights and Ideas

  • The Stability-Plasticity Solution: Separating general structural knowledge (slow) from scene-specific adjustments (fast) solves a classic deep learning dilemma. Freezing the backbone ensures the network doesn't "forget" how to reconstruct images, while the adapters provide the plasticity needed for new environments.
  • Shallow is Better for Test-Time Tuning: Adapting a massive 9-stage network at test time is slow and prone to overfitting. Distilling it down to a 2-stage network first makes test-time adaptation incredibly fast and stable without sacrificing final accuracy.
  • The Wiener Filter Connection: The authors mathematically demonstrate that the difference between an optimal denoising filter for source data and one for target data can be modeled as a simple frequency-domain shift. This justifies why lightweight spatial-spectral adapters are sufficient to correct for complex optical variations.

Key Results

  • Massive Efficiency Gains: SlowFast-SCI cuts parameter counts and FLOPs by over 70% compared to traditional deep unfolding baselines.
  • Superior OOD Accuracy: The framework achieved up to a 5.79 dB PSNR improvement on out-of-distribution datasets over classic DUNs, successfully correcting for noise and artifacts.
  • Rapid Adaptation: It delivers a 4× speedup in test-time adaptation compared to previous self-supervised tuning methods, aligning to a new scene in roughly 1.8 seconds.
Fig. 1: (a) Previous SCI reconstruction method vs. our SlowFast- SCI. (b) The PSNR-FLOPs-Params analysis comparing the proposed SlowFast-SCI with latest state-of-the-art methods.

Limitations and Future Work

Although SlowFast-SCI drastically accelerates test-time adaptation to under two seconds, it still requires a few optimization iterations per sample at inference time. This could still be a bottleneck for ultra-fast, real-time video-rate SCI deployment.

Because the framework is fundamentally network-agnostic, the authors suggest that future work will involve extending this dual-speed paradigm to other computational imaging modalities beyond spectral reconstruction, such as lensless imaging or compressed sensing MRI.