AUTV: Creating Underwater Video Datasets with Pixel-wise Annotations

Quang-Trung Truong, Yuk-Kwan Wong, Duc Thanh Nguyen, Binh-Son Hua, Sai-Kit YeungarXiv 2025

TL;DR

This paper introduces AUTV, a novel framework for generating realistic underwater videos with pixel-wise object annotations from text prompts. AUTV addresses the limitations of existing methods by ensuring temporal consistency and alignment between video content and masks, enabling the creation of two new datasets (UTV and SUTV) that significantly improve performance on downstream tasks like video inpainting and object segmentation.

What Problem Does This Paper Address?

Underwater computer vision is a challenging field due to the dynamic and often murky nature of marine environments, coupled with camera motion. While text-to-video (T2V) generation has advanced, existing training-free methods often struggle with temporal consistency, leading to jerky motion and misaligned object masks. This makes it difficult to create high-quality, annotated datasets crucial for training robust underwater analysis models. The paper aims to bridge this gap by providing a method to synthesize realistic underwater videos with precise pixel-level annotations, thereby facilitating research in areas like marine species identification, habitat analysis, and object tracking.

Methods

The AUTV framework is a multi-stage pipeline designed for synthesizing videos and pixel-wise annotations from text prompts.

  • Text-to-Mask (T2M) Generation: A fine-tuned Stable Diffusion model is used to generate initial object masks for the first frame of a video based on a text prompt. This model is adapted to the marine domain using existing datasets and the authors' own UTV dataset.
  • Mask-to-Image (M2I) Generation: ControlNet, built upon Stable Diffusion, takes the text prompt and the generated object masks to synthesize the first image frame. This ensures the initial frame semantically aligns with the textual description and the provided masks.
  • Image-to-Video (I2V) Generation: A pre-trained T2V diffusion model (ModelScopeT2V) is fine-tuned on the UTV dataset. This module takes the first synthesized frame as a prior and generates subsequent frames, maintaining spatial and temporal consistency. The key innovation here is using the first frame and its masks as a persistent condition throughout the frame-by-frame generation process to enforce temporal coherence.
  • Video Mask Generation: The object masks from the first frame are used as prompts for a segmentation model (SAM2) to generate pixel-wise annotations for the entire video sequence. This approach leverages the initial mask's accuracy to guide the segmentation of subsequent frames.

Datasets

The paper introduces two new datasets:

  • UTV (Underwater Text-Video Dataset): A real-world dataset comprising 2,000 video-text pairs. It features comprehensive annotations beyond just text, including appearance, texture, camera intrinsics, lighting, and animal behavior, making it valuable for ecological studies and fine-tuning T2V models for the marine domain.
  • SUTV (Synthetic Underwater Video Dataset): A synthetic dataset of 10,000 videos with pixel-wise object annotations, generated using the AUTV framework. This dataset is specifically designed to improve performance on downstream tasks like video inpainting and object segmentation.

Key Insights and Ideas

  • Bridging the T2V and Segmentation Gap: The core insight is that by tightly integrating T2V generation with mask generation, AUTV can overcome the temporal inconsistency issues plaguing existing methods. The framework ensures that generated video frames and their corresponding object masks are well-aligned.
  • Leveraging Pre-trained Models with Domain Adaptation: The success of AUTV relies on effectively fine-tuning powerful pre-trained diffusion models (Stable Diffusion, ModelScopeT2V) on domain-specific data (UTV), demonstrating the power of transfer learning for specialized video synthesis.
  • The Importance of a Dedicated Marine Dataset: The creation of UTV highlights the need for specialized, richly annotated datasets for underwater research, as general-domain datasets often fail to capture the unique challenges and characteristics of marine environments.
  • Synthetic Data for Downstream Task Improvement: The SUTV dataset proves that high-quality synthetic data, generated with precise annotations, can significantly boost performance on critical computer vision tasks in the underwater domain, even outperforming models trained solely on real-world data in some cases.

Key Results

  • Quantitative T2V Performance: AUTV achieved state-of-the-art results on T2V synthesis in the marine domain, outperforming existing methods like Latte and ModelScopeT2V across various metrics (FID, FVD) and difficulty levels (Simple, Medium, Hard). For instance, AUTV achieved an FVD of 75.7, significantly lower than the next best at 92.2.
  • High-Quality Segmentation Masks: The generated object masks achieved an impressive mean Intersection over Union (mIOU) of 89.72%, indicating high accuracy and alignment with the synthesized video content.
  • Improved Downstream Tasks:
    • Video Inpainting: Training a video inpainting model with SUTV resulted in better performance (higher PSNR and SSIM, lower VFID) compared to training on real-world datasets alone, and also led to faster convergence.
  • Video Object Segmentation (VOS): VOS models trained with SUTV's synthetic labels significantly outperformed those trained with pseudo labels derived from other VOS datasets.

Limitations and Future Work

  • Limitations: The paper acknowledges that while AUTV excels in generating videos with good text alignment and temporal consistency, it still faces challenges in controlling motion information in highly dynamic marine environments. The qualitative results also show that some methods still struggle with complex scenes or specific object types.
  • Future Work: The authors suggest that their framework can be extended to generate more diverse and complex underwater scenarios. Further research could focus on enhancing the control over motion dynamics and exploring more sophisticated annotation generation techniques to further improve the quality and utility of synthetic datasets for underwater computer vision.

Summary updated

Abstract

Underwater video analysis, hampered by the dynamic marine environment and camera motion, remains a challenging task in computer vision. Existing training-free video generation techniques, learning motion dynamics on the frame-by-frame basis, often produce poor results with noticeable motion interruptions and misaligments. To address these issues, we propose AUTV, a framework for synthesizing marine video data with pixel-wise annotations. We demonstrate the effectiveness of this framework by constructing two video datasets, namely UTV, a real-world dataset comprising 2,000 video-text pairs, and SUTV, a synthetic video dataset including 10,000 videos with segmentation masks for marine objects. UTV provides diverse underwater videos with comprehensive annotations including appearance, texture, camera intrinsics, lighting, and animal behavior. SUTV can be used to improve underwater downstream tasks, which are demonstrated in video inpainting and video object segmentation.
BibTeX
@misc{truong2025autv,
  author = {Quang-Trung Truong and Yuk-Kwan Wong and Duc Thanh Nguyen and Binh-Son Hua and Sai-Kit Yeung},
  title = {{AUTV: Creating Underwater Video Datasets with Pixel-wise Annotations}},
  year = {2025},
  eprint = {2503.12828},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12828},
}
Figure