You are using an older browser version. Please use a supported version for the best MSN experience.

Facebook opens its advanced AI vision tech to everyone

Engadget Engadget 25/08/2016 Nicole Lee

© Provided by Engadget

Over the past two years, Facebook's artificial intelligence research team (also known as FAIR) has been hard at work figuring out how to make computer vision as good as human vision. The crew has made a lot of progress so far (Facebook has already incorporated some of that tech for the benefit of its blind users), but there's still room for improvement. In a post published today, Facebook details not only its latest computer vision findings but also announces that it's open-sourcing them to the public so that everyone can pitch in to develop the tech. And as FAIR tells us, improved computer vision will not only make image recognition easier but could also lead to applications in augmented reality.

There are essentially three sets of code that Facebook is putting on GitHub today. They're called DeepMask, SharpMask and MultiPathNet: DeepMask figures out if there's an object in the image, SharpMask delineates those objects and MultiPathNet attempts to identify what they are. Combined, they make up a visual-recognition system that Facebook says is able to understand images at the pixel level, a surprisingly complex task for machines.

"There's a view that a lot of computer vision has progressed and a lot of things are solved," said Piotr Dollar, a research scientist at Facebook. "The reality is we're just starting to scratch the surface." For example, he says, computer vision can currently tell you if an image has a dog or a person. But a photo is more than just the objects that are in it. Is the person tall or short? Is it a man or a woman? Is the person happy or sad? What is the person doing with the dog? These are questions that machines have a lot of difficulty answering.

In the blog post, he describes a photo of a man next to an old-fashioned camera. He's standing in a grassy field with buildings in the background. But a machine sees none of this; just a bunch of pixels. It's up to computer vision technology like the one developed at FAIR to segment each object out. Seeing as real-world objects come in so many shapes and sizes plus the fact that photos are subject to varying backgrounds and lighting conditions, and it's easy to see why visual recognition is so complex.

The answer, Dollar writes, lies in deep convolutional neural networks that are "trained rather than designed." The networks essentially learn from millions of annotated examples over time to figure just what the objects are. "The first stage would be to look at different parts of the image that could be interesting," he says. "The second step is to then say, okay, that's a sheep, or that's a dog."

"Our whole goal is to get at all the pixels, to get at all the information in the image," he says. "It's still sort of a first step in the grand scheme of computer vision and having a visual recognition system that's on par with the human visual system. We're starting to move in that direction."

By open sourcing the project on Github, he hopes that the community will start working together to solve any problems with the algorithm. It's a step that Facebook has done before with other AI projects, like fasText (AI language processing) and Big Sur (the hardware that runs its AI programs). "As a company, we care more about using AI than owning AI," says Larry Zitnick, a research manager at FAIR. "The faster AI moves forward, the better it is for Facebook."

One of the reasons Facebook is so excited about computer vision is that visual content has exploded on the site in the past few years. Photos and videos practically rule the Newsfeed. In a statement, Facebook says that computer vision could be used for anything from searching for images with just a few keywords (think Google Photos) as well as helping those with vision loss understand what's in a photo.

There are also some interesting augmented reality possibilities. Computer vision could identify how many calories is in a photo of a sandwich, for example, or it could see if a runner has the proper form. Now imagine if this kind of information was accessible on Facebook. It could bring a whole new level of interaction to the photos and videos you already have. Ads could let you arrange furniture in a room, or you could try on virtual clothes. "It's critical to understand not just what's in the image, but where it is," says Zitnick about what it would take for augmented reality applications to take off.

Dollar brought up Pokémon Go as an example. Right now, the cartoon monsters are mostly just floating in the middle of the capture scene "Imagine if the creature can interact with the environment," he says. "If it could hide behind objects, or jump on top of them."

The next step would be to bring this computer vision research into the realm of video, which is especially challenging because the objects are always moving. FAIR says that some progress has already been made -- it's able to figure out certain items in a video, like cats or food. If this identification could happen in real-time, then it could theoretically be that much easier to surface the Live videos that are the most relevant to your interests.

Still, with so many possibilities abound, Zitnick says FAIR's focus right now is just on the underlying tech. "The fundamental goal here is to create the technologies that enable these different potential applications," says Zitnick. Making the code open source is a start.

More from Engadget

image beaconimage beaconimage beacon