Interested in learning what's next for the gaming industry? Join gaming executives to discuss emerging parts of the industry this October at GamesBeat Summit Next. Learn more.

The naked eye can connect a picture of a cat and a psychedelic, tricked-out version of the same picture with relative ease, but that isn’t always true of off-the-shelf computer vision APIs. At the Conference on Computer Vision and Pattern Recognition in Salt Lake City, Utah this week, researchers from UnifyID demonstrated that stylized photos of felines trip up Watson’s object recognition tool more than 97.5 percent of the time

The researchers used a neural network — in this case Magenta, an open source TensorFlow research project built by the Google Brain team that generates songs, images, and drawings — to transform pictures of cats into cubist, Picasso-esque creations.

IBM Watson cat test

Above: The cat images before and after style transfer.

Image Credit: Vinay Prabhu

In the beginning, the computer vision algorithm had no trouble recognizing cats of different breeds, fur lengths, and colors. With the style transfer algorithm’s interpolation weight set between 0 (the raw image) and 0.1 (a lightly stylized image), the machine learning algorithm classified images as “cats” with a high degree of confidence (97 – 99 percent). But as the researchers cranked up the interpolation and the pictures became increasingly post-impressionistic, the algorithm’s guesses changed from “feline,” “cat,” and “carnivore” to “cellophane,” “moth,” and “invertebrate.”

“While the two images are virtually indistinguishable for the naked eye … the labels assigned for the two images by the … classifier turn out to be wildly different,” Vinay Prabhu, principal machine learning scientist at UnifyID, wrote in a Medium post.


Transform 2022

Join us at the leading event on applied AI for enterprise business and technology decision makers in-person July 19 and virtually from July 20-28.

Register Here
IBM Watson cat test

Above: IBM Watson’s label predictions.

Image Credit: Vinay Prabhu

In a second, larger-scale test with 200 randomly chosen cat images from the Kaggle Dogs and Cats dataset, the researchers applied a style transfer before running them through the Watson Visual Recognition API. The result? The algorithm overwhelming classified the cats as “crazy quilt,” “camouflage,” “mosaic,” and “patchwork.”

“The goal is not to proclaim a new black box attack recipe or to berate the commercial API used,” Prabhu said. “Besides showcasing the potential of looking at style transfer as an adversarial example generating technique, we also wanted to draw attention to the inherent fuzziness that surrounds the definition of what constitutes an image class/category or ‘tags’ in the case of such APIs and what entails an image misclassification.”

It’s not the first example of what researchers refer to as “adversarial perturbations,” or changes to objects designed to fool computer vision algorithms into mistaking them for something else. In October 2017, researchers from Kyushu University and MIT demonstrated an algorithm that alters a single pixel in an image, resulting in an AI misclassifying objects. And in December, students at MIT successfully tricked Google’s Cloud Vision service into identifying images of dogs as “skiers.”

VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn more about membership.