Rebalancing Contrastive Alignment with Bottlenecked Semantic Increments in Text-Video Retrieval

Jian Xiao, Zi-Jie Song, Jialong Hu, Hao Cheng, Zhen-Zhen Hu +2 more
5/1/2025
4 citations
contrastive-ssl

Official code: musicman217/GARE-text-video-retrieval (8 stars, Python, Apache-2.0, last commit 2025-12-12).

Abstract

Recent progress in text-video retrieval has been largely driven by contrastive learning. However, existing methods often overlook the effect of the modality gap, which causes anchor representations to undergo in-place optimization (i.e., optimization tension) that limits their alignment capacity.

Show full abstract

Moreover, noisy hard negatives further distort the semantics of anchors. To address these issues, we propose GARE, a Gap-Aware Retrieval framework that introduces a learnable, pair-specific increment $\Delta_{ij}$ between text $t_i$ and video $v_j$, redistributing gradients to relieve optimization tension and absorb noise. We derive $\Delta_{ij}$ via a multivariate first-order Taylor expansion of the InfoNCE loss under a trust-region constraint, showing that it guides updates along locally consistent descent directions. A lightweight neural module conditioned on the semantic gap couples increments across batches for structure-aware correction. Furthermore, we regularize $\Delta$ through a variational information bottleneck with relaxed compression, enhancing stability and semantic consistency. Experiments on four benchmarks demonstrate that GARE consistently improves alignment accuracy and robustness, validating the effectiveness of gap-aware tension mitigation. Code is available at https://github.com/musicman217/GARE-text-video-retrieval.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation of "Rebalancing Contrastive Alignment with Bottlenecked Semantic Increments in Text-Video Retrieval" ---【NeurIPS 2025】

80Python, ShellMay 18, 202511 months agoApache-2.0
cross-modal-retrievalmulti-modalitytext-video-retrievalvision-and-language-pre-training

Similar Papers

Cite this paper

@article{xiao2025rebalancing,
  title  = {Rebalancing Contrastive Alignment with Bottlenecked Semantic Increments in Text-Video Retrieval},
  author = {Jian Xiao and Zi-Jie Song and Jialong Hu and Hao Cheng and Zhen-Zhen Hu and Jia Li and Richang Hong},
  year   = {2025},
  eprint = {2505.12499},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-0104},
  url    = {https://doi.org/10.52202/085713-0104},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12499.svg)](https://codeofpaper.com/paper/2505.12499)

Discussion