Google program can automatically caption photos

A neural network-based system scores above average in writing natural captions

“Two pizzas sitting on top of a stove top oven," is how a Google program described this image.

“Two pizzas sitting on top of a stove top oven," is how a Google program described this image.

Next time you're stumped when trying to write a photo caption, try Google.

The search giant has developed a machine-learning system that can automatically and accurately write captions for photos, according to a Google Research Blog post.

The innovation could make it easier to search for images on Google, help visually impaired people understand image content and provide alternative text for images when Internet connections are slow.

In a paper posted on arXiv, Google researchers Oriol Vinyals, Alexander Toshev, Samy Bengio and Dumitru Erhan described how they developed a captioning system called Neural Image Caption (NIC).

NIC is based on techniques from the field of computer vision, which allows machines to see the world, and natural language processing, which tries to make human language meaningful to computers.

The researchers used two different kinds of artificial neural networks, which are biologically inspired computer models. One of the networks encoded the image into a compact representation, while the other network generated a sentence to describe it.

The researchers' goal was to train the system to produce natural-sounding captions based on the objects it recognizes in the images.

NIC produced accurate results such as "A group of people shopping at an outdoor market" for a photo of a market, but also turned out a number of captions with minor mistakes, such as an image of three dogs that it captioned as two dogs, as well as major errors, including a picture of a roadside sign that it described as a refrigerator.

Still, the NIC model scored 59 on a particular dataset in which the state of the art is 25 and higher scores are better, according to the researchers, who added that humans score around 69. The performance was evaluated using a ranking algorithm that compares the quality of text generated by a machine with that generated by a human.

"It is clear from these experiments that, as the size of the available datasets for image description increases, so will the performance of approaches like NIC," the researchers wrote.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags internetGooglesearch engines

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Tim Hornyak

IDG News Service
Show Comments

Father’s Day Gift Guide

Brand Post

Bitdefender 2019

Bitdefender’s best-in-class security solutions have been awarded Product of the Year. Get cybersecurity that 500 MILLION users already have and trust!

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?