paper-with-me

홈 › Papers

Unifying Two-Stream Encoders with Transformers for Cross-Modal Retrieval

2023-08-08 · Yi Bin, Haoxuan Li, Yahui Xu, Xing Xu, Yang Yang, Heng Tao Shen

Most existing cross-modal retrieval methods employ two-stream encoders with different architectures for images and texts, \textit{e.g.}, CNN for images and RNN/Transformer for texts. Such discrepancy in architectures may induce different semantic distribution spaces and limit the interactions between images and texts, and further result in inferior alignment between images and texts. To fill this research gap, inspired by recent advances of Transformers in vision tasks, we propose to unify the encoder architectures with Transformers for both modalities. Specifically, we design a cross-modal retrieval framework purely based on two-stream Transformers, dubbed \textbf{Hierarchical Alignment Transformers (HAT)}, which consists of an image Transformer, a text Transformer, and a hierarchical alignment module. With such identical architectures, the encoders could produce representations with more similar characteristics for images and texts, and make the interactions and alignments between them much easier. Besides, to leverage the rich semantics, we devise a hierarchical alignment scheme to explore multi-level correspondences of different layers between images and texts. To evaluate the effectiveness of the proposed HAT, we conduct extensive experiments on two benchmark datasets, MSCOCO and Flickr30K. Experimental results demonstrate that HAT outperforms SOTA baselines by a large margin. Specifically, on two key tasks, \textit{i.e.}, image-to-text and text-to-image retrieval, HAT achieves 7.6\% and 16.7\% relative score improvement of Recall@1 on MSCOCO, and 4.4\% and 11.6\% on Flickr30k respectively. The code is available at \url{https://github.com/LuminosityX/HAT}.

📄 PDF Abstract BibTeX arXiv:2308.04343

Code (1)

luminosityx/hat 공식 구현 pytorch

Tasks

Cross-Modal RetrievalImage RetrievalImage to textRetrieval

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Autoencoders as Cross-Modal Teachers: Can Pretrained 2D Image Transformers Help 3D Representation Learning?

2022-12-16 · Runpei Dong, Zekun Qi, Linfeng Zhang, Junbo Zhang 외

The success of deep learning heavily relies on large-scale data with comprehensive labels, which is more expensive and time-consuming to fetch in 3D compared to 2D images or natural languages. This promotes the potential…

3D Point Cloud ClassificationFew-Shot 3D Point Cloud ClassificationKnowledge DistillationRepresentation Learning

Cross-Modal Fusion Distillation for Fine-Grained Sketch-Based Image Retrieval

2022-10-19 · Abhra Chaudhuri, Massimiliano Mancini, Yanbei Chen, Zeynep Akata 외

Representation learning for sketch-based image retrieval has mostly been tackled by learning embeddings that discard modality-specific information. As instances from different modalities can often provide complementary i…

Cross-Modal RetrievalImage RetrievalKnowledge DistillationRepresentation Learning+2

Revitalizing CNN Attentions via Transformers in Self-Supervised Visual Representation Learning

2021-10-11 · Chongjian Ge, Youwei Liang, Yibing Song, Jianbo Jiao 외

Studies on self-supervised visual representation learning (SSL) improve encoder backbones to discriminate training samples without labels. While CNN encoders via SSL achieve comparable recognition performance to those vi…

image-classificationImage Classificationobject-detectionObject Detection+2

Revitalizing CNN Attention via Transformers in Self-Supervised Visual Representation Learning

2021-12-01 · NeurIPS 2021 12 · Chongjian Ge, Youwei Liang, Yibing Song, Jianbo Jiao 외

Studies on self-supervised visual representation learning (SSL) improve encoder backbones to discriminate training samples without labels. While CNN encoders via SSL achieve comparable recognition performance to those vi…

image-classificationImage Classificationobject-detectionObject Detection+2

BioVERSE: Representation Alignment of Biomedical Modalities to LLMs for Multi-Modal Reasoning

2025-10-01 · Ching-Huei Tsou, Michal Ozery-Flato, Ella Barkan, Diwakar Mahajan 외 arxiv

Recent advances in large language models (LLMs) and biomedical foundation models (BioFMs) have achieved strong results in biological text reasoning, molecular modeling, and single-cell analysis, yet they remain siloed in…

Question Answering