Docsity

CRET: Cross-Modal Retrieval Transformer for Efficient Text-Video Retrieval, Slide di Information Technology Management

Anteprima parziale del testo

Scarica CRET: Cross-Modal Retrieval Transformer for Efficient Text-Video Retrieval e più Slide in PDF di Information Technology Management solo su Docsity!

CRET: Cross-Modal Retrieval

Transformer for Efficient

Text-Video Retrieval

Angela Rossi

link to the paper

FIRST, what’s video retrieval?

Video retrieval refers to the task of finding and retrieving relevant videos

from a database or collection of videos, based on a given text query. In

the context of this paper, the authors are specifically focused on the

"text-to-video retrieval" problem, where the user provides a text query

and the system must retrieve the most relevant videos from the

database.

FIRST, what’s video retrieval?

KEY POINTS ABOUT VIDEO RETRIEVAL

  • This is an important task with many practical applications, such as enabling users to search large video databases (e.g. YouTube, surveillance footage) using natural language queries.
  • It poses several challenges, such as modeling the complex correspondences between language and visual content, handling varied video lengths and content, and doing this efficiently to support real-time retrieval.

Table of Contents

  • Introduction (text-to-video retrieval, EDB and MDB methods, goal of the paper).
  • CRET Framework overview (architecture and components).
  • Gaussian Estimation of Embedding Space (GEES) Loss.
  • Validation of Gaussian Assumption.
  • Cross-modal Correspondence Modeling (CCM) Module.
  • Experimental Evaluation.
  • Conclusion and Future Work.

Introduction

  • What’s CRET?

Motivation and Challenges

  • Embedding-based (EDB) methods: These methods first extract features for text and video separately, then compute the similarity between them in a joint embedding space. EDB methods are generally efficient, but they often struggle to capture the fine-grained cross-modal correspondences between linguistic and visual elements.
  • Model-based (MDB) methods: These methods use deep neural networks to directly predict the similarity between text-video pairs. MDB methods have demonstrated superior accuracy compared to EDB methods, especially when equipped with large-scale pre-training. However, MDB methods suffer from computational inefficiency during the inference stage, as they require exhaustively comparing the query text with every video in the database.

Introduction

  • What’s CRET?

Key Innovations of CRET

  • Cross-modal Correspondence Modeling (CCM) Module: the CCM module uses transformer decoders and shared center queries to align the local features of video and text modalities. This allows the CRET framework to effectively model the intricate relationships between linguistic and visual elements, without suffering from the computational inefficiency of pairwise model-based approaches.

Introduction

  • What’s the goal of this paper?

The main goal of this paper was to propose a new embedding-based framework called CRET (Cross-Modal Retrieval Transformer) that can effectively model the local correspondences between video and text modalities, while also maintaining efficient retrieval performance.

Introduction

  • What’s the goal of this paper? Plus this research aims to:
  1. Exploit the local details and correspondences between video and text as previous embedding-based (EDB) methods often lack the ability to model the intricate relationships between local visual and linguistic features.

  2. Achieve efficient retrieval without compromising accuracy, as model based methods (MDB) have shown superior accuracy but suffer from inefficient inference due to the need for exhaustive pairwise comparisons.

Introduction

  • MDB Methods: ● MDB methods take a text-video pair as input and use deep neural networks to directly predict the similarity or relevance between the two modalities.

● They have the advantage of being able to capture the intricate local relationships between the text and video features.

● MDB methods have demonstrated superior accuracy compared to EDB methods, especially when equipped with large-scale pre-training on extensive video-text datasets.

● However, MDB methods suffer from inefficient inference, as they require exhaustively comparing the query text with every video in the database to compute the similarities.

Introduction

Introduction

  • For example:

CRET Framework Overview

Key Components

VIDEO ENCODER

It is composed of two stages:

  • Spatial Encoder: A CaiT-S/24 transformer model encodes individual video frames, extracting both global and local features.
  • Temporal Encoder: A 3-layer transformer model takes the frame-level features and fuses them to produce the final video embeddings.

CRET Framework Overview

Key Components

TEXT ENCODER

WHAT’S BERT?

BERT (Bidirectional Encoder Representations from Transformers) is a groundbreaking language model developed by researchers at Google. It has become one of the most influential and widely used models in the field of natural language processing (NLP).

It is a transformer-based model that is trained on a large corpus of text data in an unsupervised manner. The key innovation of BERT is its use of bidirectional training, which allows the model to capture contextual information from both the left and right sides of a given word in a sentence.

CRET Framework Overview

Key Components

TEXT ENCODER

WHAT’S BERT?

BERT is trained using two main objectives:

  • Masked Language Model (MLM): During training, BERT randomly masks a certain percentage of the tokens in the input sequence, and then the model is trained to predict these masked tokens based on the surrounding context.
  • Next Sentence Prediction (NSP): BERT is also trained to predict whether two given sentences are consecutive in the original text or not. This helps the model learn relationships between sentences.