Papers › Dual-Path Convolutional Image-Text Embeddings with Instance Loss

Dual-Path Convolutional Image-Text Embeddings with Instance Loss

15 Nov 2017arXiv:1711.05535archive 2025-07-28

Zhedong Zheng, Liang Zheng, Michael Garrett, Yi Yang, Mingliang Xu, Yi-Dong Shen

Matching images and sentences demands a fine understanding of both modalities. In this paper, we propose a new system to discriminatively embed the image and text to a shared visual-textual space. In this field, most existing works apply the ranking loss to pull the positive image / text pairs close and push the negative pairs apart from each other. However, directly deploying the ranking loss is hard for network learning, since it starts from the two heterogeneous features to build inter-modal relationship. To address this problem, we propose the instance loss which explicitly considers the intra-modal data distribution. It is based on an unsupervised assumption that each image / text group can be viewed as a class. So the network can learn the fine granularity from every image/text group. The experiment shows that the instance loss offers better weight initialization for the ranking loss, so that more discriminative embeddings can be learned. Besides, existing works usually apply the off-the-shelf features, i.e., word2vec and fixed visual feature. So in a minor contribution, this paper constructs an end-to-end dual-path convolutional network to learn the image and text representations. End-to-end learning allows the system to directly learn from the data and fully utilize the supervision. On two generic retrieval datasets (Flickr30k and MSCOCO), experiments demonstrate that our method yields competitive accuracy compared to state-of-the-art methods. Moreover, in language based person retrieval, we improve the state of the art by a large margin. The code has been made publicly available.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

layumi/Image-Text-Embedding officialmentioned in papermentioned on GitHubpytorch report
pshroff04/Dual_Path_CNN mentioned on GitHubpytorch 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

Content-Based Image RetrievalCross-Modal RetrievalNLP based Person RetrivalPerson RetrievalRetrievalText based Person Retrieval

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Cross-Modal Retrieval CUHK-PEDES Dual Path Text-to-image Medr 2 #1 of 1 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Image-to-text R@1 55.6 #22 of 27 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Image-to-text R@5 81.9 #22 of 27 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Image-to-text R@10 89.5 #26 of 27 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Text-to-image R@1 39.1 #26 of 27 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Text-to-image R@10 80.9 #26 of 27 Archive leaderboard report
Cross-Modal Retrieval Flickr30k Dual-Path (ResNet) Text-to-image R@5 69.2 #26 of 27 Archive leaderboard report
Cross-Modal Retrieval MSCOCO-1k Dual-path CNN Image-to-text R@1 41.2 #2 of 2 Archive leaderboard report
Cross-Modal Retrieval MSCOCO-1k Dual-path CNN Text-to-image R@1 25.3 #2 of 2 Archive leaderboard report
Text based Person Retrieval CUHK-PEDES Dual Path R@1 44.4 #19 of 21 Archive leaderboard report
Text based Person Retrieval CUHK-PEDES Dual Path R@10 75.07 #19 of 21 Archive leaderboard report
Text based Person Retrieval CUHK-PEDES Dual Path R@5 66.26 #19 of 21 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.

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