Facebook is using your Instagram hashtags to teach its AI image recognition

Facebook hashtag images

During the opening F8 2018 keynote, Facebook CEO Mark Zuckerberg showed off the company's latest Instagram updates: Spotify integration, AI-based anti-bullying comment filters, AR camera effects and four-way video chat. 

During the Day 2 keynote, Facebook revealed how your daily Instagram updates are giving its AI technology a deep-learning crash course in image recognition—one that’s apparently made its AI even smarter than Google’s at categorizing objects in photos. 

Facebook pulled this off, amazingly enough, by instructing its AI to read photo hashtags and interpret photos’ subject matter. 

Using this strategy, called “weakly supervised training”, Facebook's AI achieved a record 85.4% accuracy rating on an industry-wide test of image recognition, beating out Google’s previous record. 

A Facebook Engineering blog post went into detail on the methods. Facebook gave the AI 3.5 billion Instagram images to learn from, labeled with 17,000 hashtags for categorization. 

Facebook then trained the AI to push aside nonvisual or vague tags and focus on ones that provide the most specific categorization. 

The team was able to train their AI using this method in just a few weeks by spreading the process across 336 GPUs at once. Compared to the usual method of teaching AIs to categorize photos using visual clues, this method was much faster and less labor-intensive.

A “supervised learning process often yields the best performance results,” the post reads, “but hand-labeled data sets are already nearing their functional limits in terms of size. Scaling up to billions of training images is unfeasible when all supervision is supplied by hand.”

Thus, while most object recognition software can figure out that a subject in a photo is a bird, Facebook’s AI will use hashtags or captions to figure out that it’s actually, say, a Meadowlark. 

Facebook’s AI potential

Some important things to note, in light of Facebook’s recent privacy scandal: Facebook’s engineers only used public photos to train its AI—nothing from private accounts. 

Plus, the AI is focused on object recognition, not facial recognition. So, it won’t be using hashtags to figure out which of your Facebook friends is your #bff. 

Instead, it’ll be using this information to improve automated audio captions for the visually impaired. And the engineers also foresee “using AI to better understand video footage or to change how an image is ranked in Facebook feeds”, or to “improve the way we resurface Memories on Facebook”. 

Overall, Facebook’s AI technology has been a major focus of F8 2018. On Tuesday, Facebook revealed that its Messenger AI assistant could now automatically translate messages in other languages. 

And today, Mike Schroepfer, Facebook’s Chief Technology Officer, said at F8 that the company uses AI to automatically remove spam, fake accounts and propagandist content from Facebook, including “two million pieces of ISIS and al-Qaeda content”. 

Michael Hicks

Michael Hicks began his freelance writing career with TechRadar in 2016, covering emerging tech like VR and self-driving cars. Nowadays, he works as a staff editor for Android Central, but still writes occasional TR reviews, how-tos and explainers on phones, tablets, smart home devices, and other tech.

Latest in Facebook
The Meta logo on a smartphone in front of the Facebook logo a little bit blurred in the background
Meta's new 'Link History' feature for the Facebook app isn't as protective of your data as it claims
The Meta Quest 3 in action
How much more data can Meta collect? Probably a lot, thanks to the Meta Quest 3 and Ray-Ban smart glasses
A laptop screen showing a Facebook Groups page
Scam alert: how to spot hoax posts in your Facebook Groups
Facebook
Facebook Messenger is losing a useful messaging feature soon
mother watching her daughter's activity online
Meta's new Facebook parental controls show social media still doesn't like responsibility
Phone screen closeup showing the download page for the Facebook app in the app store.
Meta wants to create a Facebook app store to compete with Apple's App Store and Google Play
Latest in News
Google Gemini Robotics
Gemini just got physical and you should prepare for a robot revolution
Lilo & Stitch Official Trailer
Stitch crashes into earth and steals our hearts with the first trailer for the live-action Lilo & Stitch
GTA 5
GTA Online publisher Take-Two is gunning for a black market that’s basically heaven for cheaters
Y2K cast looking shocked
Y2K has a streaming release date on Max, so you can witness the technology uprising at home
The Discovery+ homepage
Discovery+ just got a big update to its streaming app that makes it more like Max – here are 5 great new features to try
Two Android phones on a green and blue background showing Google Messages
Struggling with slow Google Messages photo transfers? Google says new update will make 'noticeable difference'