
I AM watching it have a very odd dream – psychedelic visions of brain tissue folds, interspersed with chunks of coral reef. The dreamer in question is an artificial intelligence, one that live-streams from a computer on the ground floor of the Technicum building in Ghent University, Belgium. This vision has been conjured up after a viewer in the chat sidebar suggests “brain coral” as a topic.
It’s a fun distraction – and thousands of people . But beyond that, the bot is a visual demonstration of a technology that is finally coming of age: neural networks.
The bot is called 317070, a name it shares with the Twitter handle of its creator, Ghent graduate student Jonas Degrave. It is based on a neural network that can recognise objects in images, except that Degrave runs it in reverse. Given static noise, it tweaks its output until it creates images that tally with what viewers are requesting online.
Advertisement
The bot’s live-stream page says it is “hallucinating”, although Degrave says “imagining” is a little more accurate.
Degrave’s experiment plays off recent Google research which aimed to tackle one of the core issues with neural networks: that no one knows how neural networks come up with their answers. The images the network creates to satisfy simple instructions can give us some insights.
Neural networks have been racing ahead of late. They can recognise different kinds of tumours in medical images. They have learned to and can in the complex board game Go, performing as well as a moderately advanced human without planning ahead. Trained on a database of moves, the network takes the board layout as its input and outputs the best possible move.
These days neural networks are involved in many of your interactions with your smartphone or any large internet company. “The first one we had was in Android phones in 2012 when they put in speech recognition,” says Yoshua Bengio of the University of Montréal in Quebec, Canada. “Now all the major speech recognition software uses them.”
In a few short years neural networks have overtaken established technologies to become the best way to automatically perform face recognition, read and understand text and interpret what’s happening in photographs and videos. And they are learning it all from us.
Whenever we use the internet or a smartphone, we are almost certainly contributing data to a deep learning system, one probably relying on neural networks that our data helped train in the first place. The most remarkable property of such systems is that they can process new kinds of data without having to be tinkered with (see “How do neural networks work?“).
“Whenever we use a smartphone, we’re almost certainly contributing to a deep learning system”
Google was the first company to bring a neural network into our everyday lives. Deluged in data collected through its internet services, it made sense for the company to build one. A lot of the cutting-edge work has been done by UK firm DeepMind after it was bought by Google, which is now believed to be using the firm’s technology in seven of its products.
Free training
Other internet companies like Facebook also have troves of data ripe for a neural network to analyse: billions of photos of faces, if tagged accurately, can be used to train a powerful face recognition system. The hallmark of Google’s and Facebook’s success is that the actions of ordinary users train the networks for free.
New hardware has helped too. “Ten years ago we were using regular computers and it wasn’t great,” says Bengio. “Then we realised we could use graphical processing units designed for playing video games and get a 20-fold speed-up. Specifically designed chips can give you a 100-fold increase.”
Neural networks already underpin state-of-the-art speech and image recognition, and are now tackling the sonic building blocks of speech to improve recognition of less common languages. Bengio thinks the next frontier will be in human-computer interaction. Neural networks will be the interface, learning and interpreting our behaviour and translating it into instructions the computer can carry out efficiently.
Next-generation smartphones could hold chips customised to run neural networks, putting adaptable learning systems in our pockets. Wearables from Fitbits to the Apple Watch will all feed data into new AI models that can recognise healthy behaviour such as regular exercise, or gauge walking speed.
The startling progress of neural networks raises other, more philosophical, questions. Is this how the first machine consciousness will be born? Watching 317070’s livestream already gives the uncanny sense that you are looking at a human-like consciousness at work. Each of its images is unique, generated through a process that even its creator doesn’t really understand.
“Watching the network at work already gives the uncanny sense that it’s a human-like consciousness”
But 317070’s dreaming is for its audience, not itself. It has no idea that it is having these dreams, nor the capacity to have ideas about anything that it is not told to think about.
John Sullins, a philosopher of technology at Sonoma State University in Rohnert Park, California, says this is the mark of consciousness that our machines still lack. “Machines will become vastly intelligent, but they’re lacking this sense of being in the world,” he says.
Sullins is part of a group based at Yale University which examines the ethical implications of artificial intelligence. Understanding machines’ obvious lack of consciousness allows the group to ask sensible questions about AI, rather than indulge in speculation about systems that remain within the realms of fiction, like Skynet in the Terminator films.
The real threat, Sullins says, is “very capable machines that can get out of control doing what we programmed them to do”.
For now though, neural nets are busy winning hearts and minds with funky, if relatively simple, antics. Last week Google released the source code for its own generator of bizarre images, not unlike 317070’s. Within hours, the first neural-net-generated porn image popped up on Twitter. A bizarre tangle with dog faces emerging from the shadows, it has now been deleted.
Back on 317070’s livestream, a brain-melting composition of buildings floats by, covered with volcano-shaped growths. It impresses someone with the username thestone2: “Nice AI, dude. This is cool as heck.”
How do neural networks work?
Given a set of photos, how would you identify all the ones of a football match? A programmer could write an algorithm to looks for typical features like goalposts, but it’s a lot of work.
A neural network does that heavy lifting for you. The network has layers of nodes, coded in software, each with a numerical weighting or importance, and each with connections to neighbours that are also weighted. You train the network by feeding it data and scoring it on how well it performs.
For example, the network can initially find features like the edges of objects in images, then move on to recognising objects and even activities – a ball, a field and players are likely to indicate a football match. Each node layer looks for features at different levels of abstraction. The gap between its “answer” and the human one is fed back for it to tweak its weightings accordingly until it regularly gets the right answer.
A programmer need adjust only the number of nodes and layers to optimise how it captures relevant features in the data. However, since it’s impossible to tell exactly how a neural network does what it does, this tweaking is a matter of trial and error.
This article appeared in print under the headline “Unconsciously brainy”