Papers › Dual-Modal Attention-Enhanced Text-Video Retrieval with Triplet Partial Margin...

Dual-Modal Attention-Enhanced Text-Video Retrieval with Triplet Partial Margin Contrastive Learning

20 Sep 2023arXiv:2309.11082archive 2025-07-28

Chen Jiang, Hong Liu, Xuzheng Yu, Qing Wang, Yuan Cheng, Jia Xu, Zhongyi Liu, Qingpei Guo, Wei Chu, Ming Yang, Yuan Qi

In recent years, the explosion of web videos makes text-video retrieval increasingly essential and popular for video filtering, recommendation, and search. Text-video retrieval aims to rank relevant text/video higher than irrelevant ones. The core of this task is to precisely measure the cross-modal similarity between texts and videos. Recently, contrastive learning methods have shown promising results for text-video retrieval, most of which focus on the construction of positive and negative pairs to learn text and video representations. Nevertheless, they do not pay enough attention to hard negative pairs and lack the ability to model different levels of semantic similarity. To address these two issues, this paper improves contrastive learning using two novel techniques. First, to exploit hard examples for robust discriminative power, we propose a novel Dual-Modal Attention-Enhanced Module (DMAE) to mine hard negative pairs from textual and visual clues. By further introducing a Negative-aware InfoNCE (NegNCE) loss, we are able to adaptively identify all these hard negatives and explicitly highlight their impacts in the training loss. Second, our work argues that triplet samples can better model fine-grained semantic similarity compared to pairwise samples. We thereby present a new Triplet Partial Margin Contrastive Learning (TPM-CL) module to construct partial order triplet samples by automatically generating fine-grained hard negatives for matched text-video pairs. The proposed TPM-CL designs an adaptive token masking strategy with cross-modal interaction to model subtle semantic differences. Extensive experiments demonstrate that the proposed approach outperforms existing methods on four widely-used text-video retrieval datasets, including MSR-VTT, MSVD, DiDeMo and ActivityNet.

PaperPDFCode

Code

alipay/Ant-Multi-Modal-Framework officialmentioned in papermentioned on GitHubpytorchCC-BY-4.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Contrastive LearningRetrievalSemantic SimilaritySemantic Textual SimilarityVideo Retrieval

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Video Retrieval ActivityNet DMAE (ViT-B/32) text-to-video Mean Rank 5.3 #14 of 31 Archive leaderboard report
Video Retrieval ActivityNet DMAE (ViT-B/32) text-to-video Median Rank 1.0 #14 of 31 Archive leaderboard report
Video Retrieval ActivityNet DMAE (ViT-B/32) text-to-video R@1 53.4 #14 of 31 Archive leaderboard report
Video Retrieval ActivityNet DMAE (ViT-B/32) text-to-video R@10 89.2 #14 of 31 Archive leaderboard report
Video Retrieval ActivityNet DMAE (ViT-B/32) text-to-video R@5 80.7 #14 of 31 Archive leaderboard report
Video Retrieval DiDeMo DMAE (ViT-B/32) text-to-video Mean Rank 10.5 #19 of 40 Archive leaderboard report
Video Retrieval DiDeMo DMAE (ViT-B/32) text-to-video Median Rank 1.0 #19 of 40 Archive leaderboard report
Video Retrieval DiDeMo DMAE (ViT-B/32) text-to-video R@1 52.7 #19 of 40 Archive leaderboard report
Video Retrieval DiDeMo DMAE (ViT-B/32) text-to-video R@10 86.6 #19 of 40 Archive leaderboard report
Video Retrieval DiDeMo DMAE (ViT-B/32) text-to-video R@5 79.3 #19 of 40 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) text-to-video Mean Rank 10.0 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) text-to-video Median Rank 1.0 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) text-to-video R@1 55.5 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) text-to-video R@10 87.1 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) text-to-video R@5 79.4 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) video-to-text Mean Rank 7.3 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) video-to-text Median Rank 1.0 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) video-to-text R@1 55.7 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) video-to-text R@10 87.2 #4 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA DMAE (ViT-B/16) video-to-text R@5 79.2 #4 of 63 Archive leaderboard report
Video Retrieval MSVD DMAE (ViT-B/32) text-to-video Mean Rank 9.8 #13 of 24 Archive leaderboard report
Video Retrieval MSVD DMAE (ViT-B/32) text-to-video Median Rank 2.0 #13 of 24 Archive leaderboard report
Video Retrieval MSVD DMAE (ViT-B/32) text-to-video R@1 48.7 #13 of 24 Archive leaderboard report
Video Retrieval MSVD DMAE (ViT-B/32) text-to-video R@10 86.3 #13 of 24 Archive leaderboard report
Video Retrieval MSVD DMAE (ViT-B/32) text-to-video R@5 78.4 #13 of 24 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Contrastive LearningFocusInfoNCE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections