Patch Tracking-based Streaming Tensor Ring Completion for Visual Data Recovery

Yicong He, George K. AtiaarXiv 2021

TL;DR

This paper introduces PTSTRC, a framework for recovering missing pixels in streaming video by tracking small image patches and completing them using a novel Streaming Tensor Ring (STRC) algorithm. By focusing on tracked patches rather than full frames, the method maintains a stable low-rank structure even during fast motion, significantly outperforming existing streaming and batch tensor completion techniques.

What Problem Does This Paper Address?

Visual data recovery, or tensor completion, involves filling in missing entries (pixels) in multi-dimensional arrays (tensors). In streaming applications like live video, this must happen sequentially as new frames arrive.

Traditional methods treat the entire video or full frames as a single tensor. However, these methods often fail when there is significant motion. If a car moves rapidly across a frame, the underlying mathematical "subspace" of the video changes abruptly. This breaks the low-rank assumption that most completion algorithms rely on, leading to blurry or inaccurate reconstructions.

The authors identify a key insight: while a full frame's subspace might be volatile, the subspace of a tracked patch (e.g., just the car) remains much more stable over time.

Illustration showing that tracked patches have a more stable (lower rank) subspace compared to fixed-location tubes or full frames.

Methods

The proposed PTSTRC framework consists of two main stages: efficient patch tracking and streaming tensor completion.

  1. Efficient Coarse-scale Patch Matching (ECPM): Tracking patches with missing data is difficult. The authors use an image dilation step to propagate observed pixels to their neighbors, followed by a coarse-scale search that down-samples frames to speed up matching by a factor of $s^2$.
  2. Patch Refinement: The system dynamically manages patches, pruning those that are mistracked or redundant and creating new ones for previously uncovered regions.
  3. Streaming Tensor Ring Completion (STRC): The core of the recovery is the Tensor Ring (TR) model, which offers a more compact and expressive representation for high-order data than standard CP or Tucker models. The authors developed a new streaming algorithm that uses Least Squares (LS) to estimate temporal components and a one-step Scaled Steepest Descent (SSD) method to efficiently update the latent core tensors without needing to re-process the entire video history.
The complete PTSTRC framework: (a) patch tracking, (b) patch stacking, (c) streaming core tensor updates, and (d) frame aggregation.

Datasets

The authors evaluated their method using:

  • Moments in Time Dataset: 50 short videos (25 dynamic camera, 25 static camera) to test performance under various motion conditions.
  • Berkeley Segmentation Dataset (BSD): 30 images used to test the framework's performance on single-image completion tasks.
  • Live Basketball Video (YouTube): A long-duration (500 frames) sequence to test streaming stability over time, including scene cuts and exposure changes.

Key Insights and Ideas

  • Subspace Stability via Tracking: Tracking objects allows the algorithm to "see" a consistent low-rank structure that is hidden at the global frame level. This is the "aha moment" that enables high-quality recovery during fast motion.
  • Dilation for Robust Matching: By simply using the maximum value of neighboring pixels (dilation), the algorithm can match patches even when 80-90% of the pixels are missing.
  • SSD vs. SGD: For streaming updates, the authors found that Scaled Steepest Descent (SSD) converges much faster and more accurately than standard Stochastic Gradient Descent (SGD), which is critical for real-time performance.
Comparison of different completion methods. The proposed TR-SSD (Tensor Ring with Scaled Steepest Descent) achieves the best PSNR with lower time costs than Least Squares approaches.

Key Results

  • Superior Accuracy: PTSTRC consistently achieved higher Peak Signal-to-Noise Ratio (PSNR) than state-of-the-art streaming methods like OLSTEC and TOUCAN, as well as batch methods like TRNN.
  • Dynamic Motion Handling: On dynamic camera videos from the Moments in Time dataset, PTSTRC outperformed the next best streaming method by several decibels (dB) in PSNR.
  • Efficiency: The ECPM method provided significant speedups. As shown in Figure 3, increasing the sampling interval $s$ drastically reduces computation time with only a minor trade-off in reconstruction quality.
Trade-off between patch matching time and PSNR for different sampling intervals (s).

Limitations and Future Work

While PTSTRC excels in dynamic scenes, the authors noted that in some static camera scenarios with specific missing data patterns (like random blocks), traditional batch methods like TNN or NLTTNN might still perform slightly better. The current implementation also relies on parallelization across CPU cores to achieve its speed; further optimization for GPU architectures could be a promising future direction. Additionally, while the patch refinement handles scene changes well (as shown in Figure 6), extremely abrupt and frequent transitions remain a challenge for any tracking-based approach.

Summary updated

BibTeX
@misc{he2021patch,
  author = {Yicong He and George K. Atia},
  title = {{Patch Tracking-based Streaming Tensor Ring Completion for Visual Data Recovery}},
  year = {2021},
  eprint = {2105.14620},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.14620},
}

Loading related content...

Figure