DeepMind has developed a new AI-process that uses a combination of three machine-learning algorithms to match sounds to video – guessing the noises of the objects that it sees. While it sounds a bit dull, this is a significant step forward for the industry, as the process was able to learn this function in a “autonomous manner,” without supervision – and comes in the same week as it announced plans to tackle the videogame StarCraft, as rival OpenAI (see separate article) netted a lot of press for its victory playing Dota.
This self-supervision function is much more interesting, as it provides an opportunity for developers to get the ball rolling in a machine-learning function and then put their feet up – confident that the process is able to detect right and wrong answers, and self-correct. While it is early-days for the project, it is another step forwards for machine-learning, which needs several more steps in order to achieve the cognitive abilities that would lay the foundation for a true artificial intelligence – one capable of human intuition, but augmented by access to vast quantities of data.
Back in July, Google revealed MultiModel, a neural network architecture that was able to handle information from multiple domains (images, recorded speech, language translation), declaring it as the first step towards the convergence of vision, audio, and language inside a single neural network.
Now, DeepMind appears to be adding to this capability, although its architecture does seem to differ – where MultiModel acts as a coordinator of sorts, DeepMind’s method uses fewer components. Crucially, the lack of the need for labels on the video and audio (that is, having tags for every ‘thing’ in a video) means that the self-supervising systems can scale quick enough to power applications with global scales.
As an example, using a AI-based system to categorize billion of separate data points would be completely impossible if each result needed to be confirmed by a human. However, things like sensor readings are pretty simple pieces of data to interpret inside a machine-learning function, and so if the AI-process can be created with the confidence that it knows what it is doing, then it can simply be fed vast quantities of data and churn out valuable business insights. Human intervention might be affordable in rare circumstances, but for AI to actually be useful in the IoT, it has to be capable of working independently.
The DeepMind researchers began by asking ‘what can be learned by looking at and listening to a large number of unlabeled videos,’ – aiming to tap the audio-visual correspondence between the two inputs. The goal was to see if they could predict whether the sound in a video matched up to what was seen in the frame – such as piano keys, drums, lips moving, or moving cars.
They then created the Audio-Visual Correspondence (AVC) learning task, which simply watched unlabeled video clips looking for patterns in sounds, and managed to achieve a new state-of-the-art performance level in two sound classification benchmarks, while performing on par with self-supervised ImageNet classification – meaning it wasn’t trading computer vision performance to gain the audio recognition features.
However, the performance criteria was a little loose – with the audio snippet only having to correlate with what is in the video, meaning that a guitarist might be matched with an audio snippet that doesn’t follow the movement of his fingers, or a car might be parallel parking but the audio could house a screaming V12 engine. Again, it’s early days for the model, but it is showing encouraging progress.
The model differs from others, in that it is not being used to train a single-application neural network, but is being used for both audio and video – “to learn both visual and audio semantic information in a completely unsupervised manner by simply looking at and listening to a large number of unlabeled videos.” Notably, the researchers discovered that the model was able to localize and identify the source of the sound in the video – something they were not expecting.
DeepMind adds that the AVC task is quite hard when done on unconstrained videos, as the audio source often appears off camera (as an interviewer, or background ambiance), or as an edited source (like a narrator, or music). Noise in the audio source, such as wind or background dins, was pointed to as a particular problem, as was low-quality footage.
The outputs from the audio and video (a random selection from two videos, comprising a one-second audio clip from one and a single video frame from the other) are compared with another random video selection, which picks a frame and its corresponding audio – and then the system makes a decision on whether its decision matches reality. To validate the process, DeepMind checks the decisions against its training datasets.
With the StarCraft II plan, DeepMind is partnering with Blizzard, the company that makes the popular competitive online game, which has been a staple of professional gaming for years. The project will see them develop an AI-based system that can’t be beaten by humans – using a new range of tools, including a machine-learning API, and an open-sourced toolkit. The goal is to turn the venerable game into a research environment for developers.
StarCraft is infamous for its complexity, as well as the mechanical stress of having to keep up a frantic pace to have sufficient actions-per-minute (APMs) to carry out all of the unit commands within a competitive time-frame. Of course, a computer will have no problem with the pace, but it lacks the same strategic understanding as a human player – and the API should mean that it plays within the same game constraints as humans, in order to learn properly.
To this end, Blizzard is making a huge dataset of recorded games available to DeepMind, which it will use to help train the system. Because of the complexity, the pair are compartmentalizing different elements of the game, such as movement and resource collection, to aid with the training. These mini-games can be used to train very specific functions, without having to simulate the entire game.
Developers interested in the project are in for a treat, as much of it has been made available through GitHub and is available for download. It looks like a fairly quick turnaround for the pair, who first announced the partnership in November 2016. It differs from the AVC model, as it uses ‘reinforcement learning’ rather than a self-sufficient mechanism.
But the game library will help enable ‘imitation learning,’ where the machines can essentially learn from the replays, rather than try to figure things out in isolation, through trial and error. That library currently comprises around 65,000 anonymized games, but Blizzard says it plans to expand that to over 500,000.