Transforming Static Images Using Generative Models for Video Salient Object Detection

Suhwan Cho, Minhyeok Lee, Jungho Lee, Sangyoun LeearXiv 2024 · DOI

Introduction

Video Salient Object Detection (VSOD) is a fundamental task in computer vision that involves identifying and segmenting the most visually prominent objects within a video sequence. Unlike static image saliency, VSOD relies heavily on temporal dynamics. Motion cues are often the primary differentiator; an object that moves independently of its background is frequently the focal point of a scene. However, the development of robust VSOD models has been historically hindered by a significant bottleneck: the scarcity of high-quality, frame-by-frame annotated video data.

The Challenge of Context-Blind Data Augmentation

Annotating video datasets is an arduous and labor-intensive process, leading researchers to seek alternative training strategies. A common approach involves "hallucinating" video data from static images using geometric distortions, such as affine transformations or spline warping. While these methods provide a way to generate synthetic motion, they are fundamentally "context-blind."

Traditional warping techniques apply mathematical distortions to the entire image indiscriminately. As a result, the object and its background are warped as a single, continuous sheet. This creates unrealistic optical flow maps where the boundaries between the salient object and the environment are blurred or non-existent. Training on such data teaches models poor habits, as they fail to learn the nuances of independent object motion that characterize real-world video.

Figure 1: Comparison between traditional source distortion (a) and the proposed novel generation approach (b). Traditional warping creates context-blind flow, while generative models produce realistic, object-aware motion.

The RealFlow Methodology

To address these limitations, researchers from Yonsei University introduced RealFlow, a novel training strategy that leverages generative AI to create realistic motion from static images. Instead of simple geometric warping, RealFlow uses image-to-video (I2V) diffusion models to imagine plausible scene evolution. The pipeline consists of three core stages:

  1. Generative Transformation: Static images from large-scale datasets (such as DUTS) are processed through Stable Video Diffusion (SVD). This model utilizes its internal understanding of physics and object boundaries to move objects naturally while maintaining semantic integrity. For instance, it can simulate a dog running across grass while keeping the grass relatively stationary, rather than distorting both together.
  2. Flow Estimation: After generating the synthetic video frames, the motion between the original static image and the new frames is calculated using RAFT, a state-of-the-art pre-trained motion estimation model. This produces clean, distinct optical flow maps that clearly delineate the moving object from its background.
  3. Two-Stream Training: The resulting image-flow pairs are used to train a VSOD architecture. The authors utilize a two-stream encoder-decoder based on the SegFormer (MiT-b2) backbone. One encoder processes the RGB appearance, while the other processes the generated optical flow. These features are fused via attention blocks to produce the final segmentation mask.

Experimental Results and Insights

RealFlow achieves state-of-the-art (SOTA) performance across all major VSOD benchmarks. On the DAVIS 2016 validation set, the model reached an S-measure of 94.5%, surpassing previous leading methods like OAST and TGFormer. The success of the model highlights a key insight: data quality often outweighs model complexity. By providing the network with realistic simulated motion, a standard encoder-decoder architecture can outperform more complex models trained on inferior data.

Figure 6: Qualitative comparison of RealFlow against other VSOD methods (FSNet, TMO). RealFlow consistently produces cleaner segmentation masks that more closely align with the ground truth, especially in complex scenes.

Qualitative analysis shows that RealFlow is particularly robust in "noisy" environments. It excels in scenarios where objects move very little or where the background is highly cluttered—conditions that typically cause traditional models to fail. Furthermore, by using an efficient MiT-b2 backbone, the model maintains an inference speed of approximately 30 fps, making it suitable for real-time applications.

Conclusion and Future Directions

RealFlow demonstrates the power of using generative models as a sophisticated data augmentation tool for video tasks. By moving beyond geometric warping to context-aware generation, the researchers have bridged the gap between static image datasets and the complexities of real-world video motion.

Future work aims to address current limitations, such as minor generative artifacts (e.g., checkerboard patterns) and temporal consistency over long sequences. Additionally, the researchers are exploring ways to generate transformed segmentation masks concurrently with the images, which would allow for even greater diversity in the training samples and further improve the model's ability to handle significant object displacement.

Summary updated

BibTeX
@misc{cho2024transforming,
  author = {Suhwan Cho and Minhyeok Lee and Jungho Lee and Sangyoun Lee},
  title = {{Transforming Static Images Using Generative Models for Video Salient Object Detection}},
  year = {2024},
  eprint = {2411.13975},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13975},
}
Figure