Learning Fine-Grained Representations through Textual Token Disentanglement in Composed Video Retrieval

Yue Wu, Zhaobo Qi, Yiling Wu, Junshu Sun, Yaowei Wang, Shuhui Wang

In the world of computer vision, Composed Video Retrieval (CVR) is the "search by example" task on steroids. Instead of just typing a text query, a user provides a reference video and a modification text (e.g., "the same person, but now they are running instead of walking"). The goal is to find a target video that satisfies both inputs.

While this sounds intuitive, current models often stumble. They might find a video of someone running but lose the identity of the person from the reference video, or they might ignore the "instead of walking" part entirely. A new paper, "Learning Fine-Grained Representations through Textual Token Disentanglement in Composed Video Retrieval," introduces a dataset and a framework designed to fix this "coarse-grained" vision.

TL;DR

The authors introduce FineCVR-1M, a massive dataset of 1 million video triplets with detailed instructions, and FDCA, a framework that "disentangles" text queries into three distinct components: what to keep (retained), what to add (injected), and what to remove (excluded). This approach significantly outperforms existing state-of-the-art models by bridging the semantic gap between abstract text and redundant video data.

What Problem Does This Paper Address?

The core challenge in CVR is the modality gap. Text is highly abstract and dense, while video is visually rich but full of redundant information. Existing methods typically treat the modification text as a single, monolithic embedding.

Qualitative comparison of composed video retrieval results across different models.

The authors argue that this monolithic approach leads to "highly-coupled" features. If a query says "change to drinking," the model might focus so much on the action of drinking that it forgets the background or the subject from the reference video. To achieve true fine-grained retrieval, a model must explicitly understand which parts of the text refer to the original context and which parts describe the desired changes or negations.

Methods: The FDCA Framework

The authors propose the Textual Feature Disentanglement and Cross-modal Alignment (FDCA) framework. It operates at two levels to parse and apply the user's intent:

  1. Sentence-Level Disentanglement (SFD): Using cross-attention guided by the reference video, the model splits the global text feature into retained features (context that should stay) and injected features (new information).
  2. Token-Level Disentanglement (ATD): This is the "secret sauce." Using an Auxiliary Token Disentangling mechanism, the model applies Density Peaks Clustering (DPC-KNN) to group individual words into three buckets:
  3. Retained Tokens: Words that describe what remains consistent (e.g., "the person").
  4. Injected Tokens: Words describing the new state (e.g., "is drinking").
  5. Excluded Tokens: Words describing what should be removed, often identified via negation (e.g., "not with a laptop").

These disentangled features are then aligned and fused with the reference video using specialized modules (CMFA for alignment and CMFF for fusion) to create a final "composed" representation used to search the database.

Datasets

The paper introduces FineCVR-1M, which contains 1,010,071 video-text triplets.

  • Construction: It was built using an automated pipeline that identifies key concept changes (static objects, scenes, and actions) between video pairs.
  • Granularity: Unlike previous datasets (like CoVR or EgoCVR) that use short, often incomplete phrases, FineCVR-1M uses complete sentences that explicitly mention retained, injected, and excluded components.
  • Evaluation: The authors also validated their model on the existing WebVid-CoVR and EgoCVR benchmarks to prove its generalizability.

Key Insights and Ideas

  • Disentanglement > Simple Fusion: Explicitly separating the "old" from the "new" in a text query prevents the model from being "misled" by redundant visual information in the reference video.
  • Negation is a First-Class Citizen: By identifying "excluded" tokens, the model learns to penalize videos that contain elements the user specifically asked to remove.
  • Clustering for Semantics: Using clustering (DPC-KNN) at the token level allows the model to discover semantic structures in the text without needing manual word-level labels during training.
  • The Power of LLMs in Data Prep: The authors used LLaMA 2 and ChatGPT to generate and refine the modification texts, showing how large language models can be used to "bootstrap" fine-grained datasets for other modalities.

Key Results

The FDCA framework sets a new bar for performance:

  • On FineCVR-1M: FDCA-BLIP achieved a Recall@1 (R1) of 26.79%, a massive jump over the previous state-of-the-art, CoVR, which scored 17.05%.
  • Ablation Success: Removing the token-level disentanglement (ATD) caused R1 to drop from 25.84% to 22.76%, proving that word-level granularity is essential.
  • Efficiency: Despite having more parameters (570M), FDCA is faster at inference (84 pairs/s) than the CoVR baseline (56 pairs/s), making it more viable for real-world applications.

Limitations and Future Work

While FDCA is a major step forward, the authors highlight a few remaining hurdles:

  • Small Object Scaling: The model sometimes fails when the modification involves very small objects (e.g., "bread" on a table) that are hard for the visual encoder to pick up.
  • Complex Temporal Dynamics: Distinguishing between similar actions that vary over time (like "sneezing" vs. "sitting") remains difficult.
  • Temporal Encoding: The current model uses mean-pooling for temporal data. The authors suggest that more advanced temporal encoders (like Transformers or LSTMs) are needed to capture the "dynamic changes" in video more effectively.

Summary updated

BibTeX
@inproceedings{wu2025learning,
  author = {Yue WU and Zhaobo Qi and Yiling Wu and Junshu Sun and Yaowei Wang and Shuhui Wang},
  title = {{Learning Fine-Grained Representations through Textual Token Disentanglement in Composed Video Retrieval}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=wGa2plE8ka},
}
Figure