HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Deep Visual-Semantic Alignments for Generating Image Descriptions

Andrej Karpathy; Li Fei-Fei

Deep Visual-Semantic Alignments for Generating Image Descriptions

Abstract

We present a model that generates natural language descriptions of images and their regions. Our approach leverages datasets of images and their sentence descriptions to learn about the inter-modal correspondences between language and visual data. Our alignment model is based on a novel combination of Convolutional Neural Networks over image regions, bidirectional Recurrent Neural Networks over sentences, and a structured objective that aligns the two modalities through a multimodal embedding. We then describe a Multimodal Recurrent Neural Network architecture that uses the inferred alignments to learn to generate novel descriptions of image regions. We demonstrate that our alignment model produces state of the art results in retrieval experiments on Flickr8K, Flickr30K and MSCOCO datasets. We then show that the generated descriptions significantly outperform retrieval baselines on both full images and on a new dataset of region-level annotations.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
cross-modal-retrieval-on-coco-2014Dual-Path (ResNet)
Image-to-text R@1: 41.2
Image-to-text R@10: 81.1
Image-to-text R@5: 70.5
Text-to-image R@1: 25.3
Text-to-image R@10: 66.4
Text-to-image R@5: 53.4
image-captioning-on-flickr30k-captions-testBRNN
BLEU-4: 15.7
CIDEr: 24.7
METEOR: 15.3
SPICE: -
image-retrieval-on-flickr30k-1k-testDVSA (R-CNN, AlexNet)
R@1: 15.2
R@10: 50.5
image-to-text-retrieval-on-cocoDVSA
Recall@10: 74.8
question-generation-on-coco-visual-questioncoco-Caption [[Karpathy and Li2014]]
BLEU-1: 62.5

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