Enabling AI to Use Its ‘Imagination’
Imagine an orange cat. Now imagine the same cat but with black fur. Now imagine the cat strutting along the Great Wall of China. Doing this, a quick series of neuron activations in your brain comes up with variations of the picture presented, based on your previous knowledge of the world.
It’s easy for humans to envision an object with different attributes. But computers struggle with the very human skill of imagination.
A USC Viterbi research team including computer science Professor Laurent Itti and Ph.D. students Yunhao Ge, Sami Abu-El-Haija and Gan Xin has developed an artificial intelligence system that uses human-like capabilities to imagine a never-before-seen object with different attributes. The paper, titled Zero-Shot Synthesis with Group-Supervised Learning, was published in the 2021 International Conference on Learning Representations.
“We were inspired by human visual generalization capabilities to try to simulate human imagination in machines,” said Ge, the paper’s lead author. “Humans can separate their learned knowledge by attributes — for instance, shape, pose, position or color — and then recombine them to imagine a new object. Our paper attempts to simulate this process using neural networks.”
AI’s generalization problem
Say you want to create an AI system that generates images of cars. Ideally, you would provide the algorithm with a few images of a car, and the system would be able to generate many types of cars, from Porsches to Pontiacs to pickup trucks, in any color, from multiple angles.
This is one of the long-sought goals of AI: creating models that can extrapolate, meaning that, given a few examples, the model should be able to extract the underlying rules and apply them to a vast range of novel examples it hasn’t seen before. But machines are most commonly trained on sample features, pixels for instance, without taking into account the object’s attributes.
In this new study, the researchers attempt to overcome this limitation using a concept called disentanglement. Disentanglement can be used to generate deepfakes, for instance, by “disentangling” human face movements and identity. By doing this, said Ge, “people can synthesize new images and videos that substitute the original person’s identity with another person but keep the original movement.”
Similarly, this approach takes a group of sample images (rather than one sample at a time, as traditional algorithms have done) and mines the similarity between them to achieve something called “controllable disentangled representation learning.” Then it recombines this knowledge to achieve “controllable novel image synthesis,” or what you might call imagination.
“Take the Transformer movie as an example,” said Ge. “It can take the shape of Megatron car, the color and pose of a yellow Bumblebee car, and the background of New York’s Times Square. The result will be a Bumblebee-colored Megatron car driving in Times Square, even if this sample was not witnessed during the training session.”
This is similar to how we as humans extrapolate: When humans see a color from one object, we can apply it to any other object by substituting the original color with the new one. Using their technique, the group generated a new dataset containing 1.56 million images that could help future research in the field.
While disentanglement is not a new idea, the researchers say their framework can be compatible with nearly any type of data or knowledge. This widens the opportunity for applications. For instance, disentangling race and gender-related knowledge to make fairer AI by removing sensitive attributes from the equation altogether.
In the field of medicine, it could help doctors and biologists discover more useful drugs by disentangling the medicine function from other properties, and then recombining them to synthesize new medicine. Imbuing machines with imagination could also help create safer AI by, for instance, allowing autonomous vehicles to imagine and avoid dangerous scenarios previously unseen during training.
“Deep learning has already demonstrated unsurpassed performance and promise in many domains, but all too often this has happened through shallow mimicry, and without a deeper understanding of the separate attributes that make each object unique,” said Itti. “This new disentanglement approach, for the first time, truly unleashes a new sense of imagination in AI systems, bringing them closer to humans’ understanding of the world.”