Motion-Aware Dynamic Graph Neural Network for Video Compressive Sensing

Ruiying Lu, Ziheng Cheng, Bo Chen, Xin Yuan

TL;DR

This paper introduces MadyGraph, a novel motion-aware dynamic graph neural network designed to improve video reconstruction from snapshot compressive imaging (SCI). By intelligently modeling long-range spatial and temporal dependencies using a dynamic graph structure guided by motion, MadyGraph achieves state-of-the-art reconstruction quality while maintaining computational efficiency.

What Problem Does This Paper Address?

Snapshot compressive imaging (SCI) is a powerful technique for capturing high-dimensional data like videos with a single 2D sensor. However, reconstructing these videos from the compressed measurements is challenging. Existing methods, particularly deep learning approaches, struggle to effectively capture the long-range spatial and temporal dependencies crucial for accurate video reconstruction. These dependencies are vital because similar patterns often recur across distant pixels in space and time, and the inherent compression process in SCI can disrupt local continuity. While some methods attempt to address this with self-attention mechanisms, they often suffer from high computational costs and redundant information processing.

Methods

The core of MadyGraph is a dynamic graph neural network (GNN) that models relationships between pixels in a video. Key innovations include:

  • Motion-Aware Dynamic Sampling: Instead of fixed connections, MadyGraph dynamically selects relevant neighboring nodes for each pixel. This selection is guided by optical flow, which captures frame-by-frame motion, allowing the model to focus on important dynamic correlations.
  • Cross-Scale Node Sampling: To capture dependencies at various levels of detail, the graph incorporates information from different scales, expanding the receptive field without a proportional increase in computational cost.
  • Global Knowledge Integration: The model extracts high-level semantic information, represented as global graph nodes, to provide a holistic understanding of the video content and complement the low-level texture information.
  • Residual Learning Framework: MadyGraph employs a residual learning approach. It first generates an initial video prediction and then uses the dynamic graph module to learn and reconstruct the residual details, making the training process more efficient and easier to model.
  • Mask-Aware Feature Extraction: The input to the graph module is re-masked using the original measurement and masks, ensuring that critical information from the SCI hardware is leveraged for better feature representation.

Datasets

The authors trained and evaluated their model on a variety of datasets:

  • Simulation Datasets:
    • Grayscale: DAVIS2017 (used for training, with synthesized measurements), and six benchmark datasets: Kobe, Traffic, Runner, Drop, Aerial, and Vehicle.
  • Color: Six benchmark datasets: Beauty, Bosphorus, Jockey, Runner, ShakeNDry, and Traffic.
  • Real Datasets:
    • Grayscale: Wheel, Domino, and Water Balloon.
  • Color: Hammer video.

Key Insights and Ideas

  • Motion is Key for Dynamic Sampling: Explicitly using optical flow to guide the selection of neighboring nodes in the graph is crucial for capturing dynamic dependencies in videos, leading to more accurate reconstruction.
  • Dynamic Graphs Outperform Static Ones: The ability to adaptively sample nodes based on content and motion, rather than relying on fixed connections, significantly improves the model's ability to capture complex relationships.
  • Residual Learning Simplifies Reconstruction: By focusing on learning the "difference" between an initial prediction and the ground truth, the model can achieve high accuracy with a more manageable training process.
  • Generalizability of the Graph Module: The proposed dynamic graph module can be effectively "plugged into" various existing SCI reconstruction backbones, significantly boosting their performance without extensive fine-tuning.

Key Results

  • State-of-the-Art Performance: MadyGraph consistently outperforms existing methods on both grayscale and color simulation datasets, achieving higher PSNR and SSIM scores. For example, it surpasses the SOTA method EfficientSCI by up to 1.54 dB on grayscale data.
  • Improved Reconstruction Quality: Visualizations show that MadyGraph produces sharper edges, more distinct contours, and fewer artifacts compared to other methods, especially in scenes with fast motion or complex backgrounds.
  • Computational Efficiency: Despite its advanced modeling capabilities, MadyGraph achieves a competitive running time. For instance, it offers a significant speedup over optimization-based methods and is comparable to other deep learning approaches.
  • Robustness on Real Data: The model demonstrates strong performance on real SCI data, producing clearer and smoother reconstructions with fewer artifacts.
  • Significant Gains with Backbone Integration: When integrated with existing methods (e.g., GAP-TV, DeSCI, STFormer), MadyGraph provides substantial PSNR improvements (up to 2.71 dB) with only a minimal increase in running time.

Limitations and Future Work

  • "One-to-One" Pipeline: Current reconstruction models, including MadyGraph, primarily follow a "one-to-one" pipeline, meaning they are trained for a specific SCI system. A future research direction is to develop a "one-to-many" model that can reconstruct videos from different SCI systems without retraining.
  • Computational Burden of Larger Models: The increasing complexity of deep models poses a challenge for real-time reconstruction on edge devices. Future work could focus on developing even more efficient modeling techniques.
  • Further Exploration of Dynamic Sampling: While MadyGraph's dynamic sampling is effective, further research could explore more sophisticated ways to guide node selection and aggregation.

Summary updated

BibTeX
@article{lu2024motion,
  author = {Ruiying Lu and Ziheng Cheng and Bo Chen and Xin Yuan},
  title = {{Motion-Aware Dynamic Graph Neural Network for Video Compressive Sensing}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3395804},
}
Figure