[Paper Review] Text Is MASS: Modeling as Stochastic Embedding for Text-Video Retrieval
This paper proposes T-MASS, a novel stochastic text embedding method that models text as a distribution (a 'mass') in the joint embedding space to better capture the rich, redundant semantics of videos. By introducing a similarity-aware radius module and a support text regularization, T-MASS improves alignment between text and video, achieving state-of-the-art performance with a 3%–6.3% gain in R@1 across five benchmarks including MSRVTT, LSMDC, DiDeMo, VATEX, and Charades.
The increasing prevalence of video clips has sparked growing interest in text-video retrieval. Recent advances focus on establishing a joint embedding space for text and video, relying on consistent embedding representations to compute similarity. However, the text content in existing datasets is generally short and concise, making it hard to fully describe the redundant semantics of a video. Correspondingly, a single text embedding may be less expressive to capture the video embedding and empower the retrieval. In this study, we propose a new stochastic text modeling method T-MASS, i.e., text is modeled as a stochastic embedding, to enrich text embedding with a flexible and resilient semantic range, yielding a text mass. To be specific, we introduce a similarity-aware radius module to adapt the scale of the text mass upon the given text-video pairs. Plus, we design and develop a support text regularization to further control the text mass during the training. The inference pipeline is also tailored to fully exploit the text mass for accurate retrieval. Empirical evidence suggests that T-MASS not only effectively attracts relevant text-video pairs while distancing irrelevant ones, but also enables the determination of precise text embeddings for relevant pairs. Our experimental results show a substantial improvement of T-MASS over baseline (3% to 6.3% by R@1). Also, T-MASS achieves state-of-the-art performance on five benchmark datasets, including MSRVTT, LSMDC, DiDeMo, VATEX, and Charades.
Motivation & Objective
- To address the limitation of single-point text embeddings in capturing the full semantic richness of videos.
- To improve alignment between text and video representations in joint embedding space by modeling text as a flexible, adaptive distribution.
- To enhance retrieval robustness and accuracy by enabling resilient semantic ranges in text embeddings.
- To develop a training strategy that effectively regularizes the stochastic text mass without biasing its learning.
- To reformulate inference to fully exploit the stochastic nature of the text mass for better retrieval performance.
Proposed method
- T-MASS models text as a stochastic embedding (a 'mass') rather than a single point in the embedding space, using reparameterization on CLIP-based text features.
- A similarity-aware radius module dynamically adjusts the scale of the text mass based on the similarity between the query text and video pair.
- A support text vector is introduced as a proxy to jointly control the position and scale of the text mass during training.
- The method employs a stochastic symmetric cross-entropy loss to learn the text mass distribution, improving alignment with relevant video embeddings.
- Inference is restructured to sample multiple stochastic text embeddings per query and select the closest to each video candidate, enhancing retrieval precision.
- The model is trained end-to-end with contrastive learning between sampled stochastic text points and video embeddings.
Experimental results
Research questions
- RQ1Can modeling text as a stochastic distribution rather than a single point improve text-video retrieval performance?
- RQ2How can the scale of the text mass be adaptively determined based on the text-video pair's semantic similarity?
- RQ3What training strategy best regularizes the stochastic text mass to avoid bias while improving alignment?
- RQ4How does exploiting the full text mass during inference affect retrieval accuracy compared to using a single embedding?
- RQ5Does the proposed method generalize across diverse video-text datasets with varying video lengths and caption styles?
Key findings
- T-MASS achieves a 3% to 6.3% improvement in R@1 over strong baselines across five benchmark datasets, including MSRVTT, LSMDC, DiDeMo, VATEX, and Charades.
- The method significantly reduces cosine similarity between irrelevant text-video pairs when using stochastic embeddings, indicating better separation in the embedding space.
- The use of stochastic embeddings leads to lower cross-entropy loss for relevant pairs, reflecting higher similarity and improved alignment.
- The optimal support text regularization weight α = 1.2 yields the best retrieval performance, demonstrating the importance of proper control over the text mass.
- The method shows robustness to varying input video frame counts, with consistent performance gains on Charades across T′ = 12 to 24 frames.
- Inference with 20 sampling trials achieves stable and optimal performance, balancing accuracy and computational cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.