HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

HADA: A Graph-based Amalgamation Framework in Image-text Retrieval

Manh-Duy Nguyen Binh T. Nguyen Cathal Gurrin

HADA: A Graph-based Amalgamation Framework in Image-text Retrieval

Abstract

Many models have been proposed for vision and language tasks, especially the image-text retrieval task. All state-of-the-art (SOTA) models in this challenge contained hundreds of millions of parameters. They also were pretrained on a large external dataset that has been proven to make a big improvement in overall performance. It is not easy to propose a new model with a novel architecture and intensively train it on a massive dataset with many GPUs to surpass many SOTA models, which are already available to use on the Internet. In this paper, we proposed a compact graph-based framework, named HADA, which can combine pretrained models to produce a better result, rather than building from scratch. First, we created a graph structure in which the nodes were the features extracted from the pretrained models and the edges connecting them. The graph structure was employed to capture and fuse the information from every pretrained model with each other. Then a graph neural network was applied to update the connection between the nodes to get the representative embedding vector for an image and text. Finally, we used the cosine similarity to match images with their relevant texts and vice versa to ensure a low inference time. Our experiments showed that, although HADA contained a tiny number of trainable parameters, it could increase baseline performance by more than 3.6% in terms of evaluation metrics in the Flickr30k dataset. Additionally, the proposed model did not train on any external dataset and did not require many GPUs but only 1 to train due to its small number of parameters. The source code is available at https://github.com/m2man/HADA.

Code Repositories

m2man/hada
pytorch
Mentioned in GitHub
m2man/HADA-LAVIS
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
image-retrieval-on-flickr30kHADA
Recall@1: 81.36
Recall@10: 98.02
Recall@5: 95.94
image-retrieval-on-flickr30kALBEF
Recall@1: 79.76
Recall@10: 97.72
Recall@5: 95.3
image-retrieval-on-flickr30kUNITER
Recall@1: 75.56
Recall@10: 96.76
Recall@5: 94.08
image-retrieval-on-mscocoBLIP
Recall@1: 57.32
Recall@10: 88.92
Recall@5: 81.84
image-retrieval-on-mscocoCLIP
Recall@1: 37.02
Recall@10: 71.5
Recall@5: 61.66
image-retrieval-on-mscocoHADA
Recall@1: 58.46
Recall@10: 89.66
Recall@5: 82.85
image-to-text-retrieval-on-flickr30kUNITER
Recall@1: 87.3
Recall@10: 99.2
Recall@5: 98
image-to-text-retrieval-on-flickr30kALBEF
Recall@1: 92.6
Recall@10: 99.9
Recall@5: 99.3

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
HADA: A Graph-based Amalgamation Framework in Image-text Retrieval | Papers | HyperAI