MarineVRS: Marine Video Retrieval System with Explainability via Semantic Understanding

Tan-Sang Ha, Hai Nguyen-Truong, Tuan-Anh Vu, Sai-Kit YeungarXiv 2023

TL;DR

This paper introduces MarineVRS, a novel video retrieval system specifically designed for the challenging underwater environment. It not only retrieves videos based on natural language queries but also provides explainability by outputting segmentation masks of the identified objects, offering deeper insights into marine life.

What Problem Does This Paper Address?

The marine environment presents unique challenges for video retrieval: massive amounts of dense, repetitive data, poor lighting, blurriness, occlusions, and abstract user queries. Existing video retrieval systems often struggle with these conditions, making it difficult for marine researchers and scientists to efficiently search and analyze vast underwater video archives. The paper aims to bridge this gap by developing a robust, accurate, and explainable system tailored for this domain.

Methods

MarineVRS is built upon two core modules:

  • Retrieval Module: This module leverages the Vision-Language Pre-Training Model CLIP to embed visual and textual data into a shared space, enabling similarity scoring between queries and videos. To handle large datasets efficiently, it employs a two-stage process:
  • Indexing: Videos are pre-processed (filtering blurry frames, normalization, grouping similar segments) and stored in a vector database.
  • Retrieval: Queries are processed using both CPU and GPU for fast similarity calculations and ranking.
  • Explainability Module: This module goes beyond simple retrieval by identifying and segmenting objects within videos based on natural language descriptions. It uses:
  • Visual Encoder: Extracts visual features from input videos.
  • Text Encoder: Processes natural language queries to extract textual features.
  • Multimodal Early Fusion: Combines visual and textual features early in the pipeline.
  • Visual-Linguistic OceanFormer: A transformer-based architecture that fuses multimodal features to generate pixel-wise segmentation masks of referred objects. This provides visual evidence of what the system identified and why.

Datasets

The system is trained and evaluated on several datasets:

  • RefCOCO, RefCOCO+, G-Ref, and Referring YoutubeVOS: These are standard public datasets used for training and evaluating referring segmentation models.
  • Marine Video Kit (MVK) dataset: This is the primary dataset used for evaluating the MarineVRS system in the marine domain. It comprises 1379 underwater videos captured across 36 global locations.

Key Insights and Ideas

  • Explainability is Crucial for Marine Science: Providing segmentation masks alongside retrieved videos is not just a feature; it's essential for researchers to verify results, understand object behavior, and gain deeper insights into marine ecosystems.
  • CLIP's Versatility Extends to Underwater: The paper demonstrates that CLIP, a powerful vision-language model, can be effectively adapted for the challenging domain of underwater video analysis.
  • Modular Design for Scalability and Adaptability: Separating retrieval and explainability allows for independent optimization and customization, making the system adaptable to various marine research needs.
  • Addressing Domain-Specific Challenges: The pre-processing steps in the retrieval module (e.g., filtering blurriness) are specifically designed to handle the inherent difficulties of underwater video data.

Key Results

  • State-of-the-Art Performance: MarineVRS consistently outperforms existing state-of-the-art methods on referring segmentation benchmarks (RefCOCO, RefCOCO+, G-Ref, Ref-YoutubeVOS), showing significant improvements in IoU and J&F metrics. For instance, it achieves a 76.15% IoU on RefCOCO.
  • Efficient Retrieval: The retrieval module takes approximately 1 second to display retrieved and segmented videos.
  • Real-time Explainability: The explainability module achieves a remarkable real-time inference speed of ~31 FPS, which is crucial for practical applications.

Limitations and Future Work

  • Retrieval Module Overhead: The retrieval module's reliance on a local PC with Milvus for indexing and searching incurs more overhead compared to cloud-based commercial systems.
  • Future Work:
    • Improving video selection and re-ranking using a selection network.
  • Exploring new network architectures for both modules to enhance scalability and retrieval performance.
  • Developing a more flexible and effective system capable of managing enormous data volumes.
  • Investigating how video retrieval can aid in preparing training datasets for deep models.

Summary updated

Abstract

Building a video retrieval system that is robust and reliable, especially for the marine environment, is a challenging task due to several factors such as dealing with massive amounts of dense and repetitive data, occlusion, blurriness, low lighting conditions, and abstract queries. To address these challenges, we present MarineVRS, a novel and flexible video retrieval system designed explicitly for the marine domain. MarineVRS integrates state-of-the-art methods for visual and linguistic object representation to enable efficient and accurate search and analysis of vast volumes of underwater video data. In addition, unlike the conventional video retrieval system, which only permits users to index a collection of images or videos and search using a free-form natural language sentence, our retrieval system includes an additional Explainability module that outputs the segmentation masks of the objects that the input query referred to. This feature allows users to identify and isolate specific objects in the video footage, leading to more detailed analysis and understanding of their behavior and movements. Finally, with its adaptability, explainability, accuracy, and scalability, MarineVRS is a powerful tool for marine researchers and scientists to efficiently and accurately process vast amounts of data and gain deeper insights into the behavior and movements of marine species.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
RefCOCOMarineVRS explainability modulereported performance score76.15Referring-segmentation comparison; the supplied lines do not state the metric, split, o…
Source quote
L108: Ours │ 76.15 │ 65.02 │ 66.87 │ 59.15
RefCOCO+MarineVRS explainability modulereported performance score65.02Referring-segmentation comparison; the supplied lines do not state the metric, split, o…
Source quote
L108: Ours │ 76.15 │ 65.02 │ 66.87 │ 59.15
G-RefMarineVRS explainability modulereported performance score66.87Referring-segmentation comparison; the supplied lines do not state the metric, split, o…
Source quote
L108: Ours │ 76.15 │ 65.02 │ 66.87 │ 59.15
Ref-YoutubeVOSMarineVRS explainability modulereported performance score59.15Referring-segmentation comparison; the supplied lines do not state the metric, split, o…
Source quote
L108: Ours │ 76.15 │ 65.02 │ 66.87 │ 59.15
BibTeX
@misc{ha2023marinevrs,
  author = {Tan-Sang Ha and Hai Nguyen-Truong and Tuan-Anh Vu and Sai-Kit Yeung},
  title = {{MarineVRS: Marine Video Retrieval System with Explainability via Semantic Understanding}},
  year = {2023},
  eprint = {2306.04593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.04593},
}
Figure