Import AI

Why AI development is going to get even faster. (Yes, really!)

by Jack Clark

blogpic1

Artist’s depiction of the surprising popularity of deep learning techniques across a variety of disciplines.

The pace of development of artificial intelligence is going to get faster. And not for the typical reasons — More money, interest from megacompanies, faster computers, cheap&huge data, and so on. Now it’s about to accelerate because other fields are starting to mesh with it, letting insights from one feed into the other, and vice versa.

That’s the gist of a new book by David Beyer, which sees him interview 10 experts about artificial intelligence. It’s free. READ IT. The main takeaway is that neural networks are drawing sustained attention from researchers across the academic spectrum.  “Pretty much any researcher who has been to the NIPS Conference [a big AI conference] is beginning to evaluate neural networks for their application,” says Reza Zadeh, a consulting professor at Stanford. That’s going to have a number of weird effects.

(Background: neural networks come in a huge variety of flavors — RNNs! CNNS! LSTMs! GANs! Various other acronyms! — but people like them because they basically let you chop out a bunch of hand-written code in favor of feeding inputs and outputs into neural nets and getting computers to come up with the stuff in-between. In technical terms, they infer functions. In the late 00’s some clever academics rebranded a subset of neural network techniques to ‘Deep Learning’, which just means a stack of different nets on top of one another, forming a sort of computationally-brilliant lasagne. When I say ‘machine learning’ in this blogpost, I’m referring to some kind of neural network technique.)

Robotics has just started to get into neural networks. This has already sped up development. This year, Google demonstrated a system that teaches robotic arms to learn how to pick up objects of any size and shape. That work was driven by research conducted last year at Pieter Abbeel’s lab in Berkeley, which saw scientists combine two neural network-based techniques (reinforcement learning and deep learning) with robotics to create machines that could learn faster. Robots are also getting better eyes, thanks to deep learning as well. “Armed with the latest deep learning packages, we can begin to recognize objects in previously impossible ways,” says Daniela Rus, a professor in CSAIL at MIT who works on self-driving cars.

More distant communities have already adapted the technology to their own needs. Brendan Frey runs a company called Deep Genomics, which uses machine learning to analyze the genome. Part of the motivation for that is that humans are “very bad” at interpreting the genome, he says. That’s because we spent hundreds of thousands of years evolving finely-tuned pattern detectors for things we saw and heard, like tigers. Because we never had to hunt the genome, or listen for its fearsome sounds, we didn’t develop very good inbuilt senses for analyzing it. Modern machine learning approaches give us a way to get computers to analyze this type of mind-bending data for us. “We must turn to truly superhuman artificial intelligence to overcome our limitations,” he says.

Others are using their own expertise to improve machine learning. Risto Miikkulainen is an evolutionary computing expert who is trying to figure out how to evolve more efficient neural networks, and develop systems that can help transfer insights from one neural network into another, similar to how reading books lets us extract some data from a separate object (the text) and port into our own grey-matter. Benjamin Recht, a professor at UC Berkeley, has spent years studying control theory — technology that goes into autonomous capabilities in modern aircraft and machines. He thinks that fusing control theory and neural networks “might enable safe autonomous vehicles that can navigate complex terrains. Or could assist us in diagnostics and treatments in health care”.

One of the reasons why so many academics from so many different disciplines are getting involved is that deep learning, though complex, is surprisingly adaptable. “Everybody who tries something seems to get things to work beyond what they expected,” says Pieter Abbeel. “Usually it’s the other way around.” Oriol Vinyals, who came up with some of the technology that sits inside Google Inbox’s ‘Smart Reply‘ feature, developed a neural network-based algorithm to plot the shortest routes between various points on a map. “In a rather magical moment, we realized it worked,” he says. This generality not only encourages more experimentation but speeds up the development loop as well.

(One challenge: though neural networks generalize very well, we still lack a decent theory to describe them, so much of the field proceeds by intuition. This is both cool and extremely bad. “It’s amazing to me that these very vague, intuitive arguments turned out to correspond to what is actually happening,” says Ilya Sutskever, research director at OpenAI., of the move to create ever-deeper neural network architectures. Work needs to be done here. “Theory often follows experiment in machine learning,” says Yoshua Bengio, one of the founders of the field. Modern AI researchers are like people trying to invent flying machines without the formulas of aerodynamics, says Yann Lecun, Facebook’s head of AI.)

The trillion-dollar (yes, really) unknown in AI is how we get to unsupervised learning — computers that can learn about the world and carry out actions without getting explicit rewards or signals. “How do you even think about unsupervised learning?” wonders Sutskever. One potential area of research is generative models, he says. OpenAI just hired Alec Radford, who did some great work on GANs. Others are looking at this as well, including Ruslan Salakhutinov at the University of Toronto. Yoshua Bengio thinks it’s important to develop generative techniques, letting computers ‘dream’ and therefore reason about the world. “Our machines already dream, but in a blurry way,” he says. “They’re not yet crisp and content-rich like human dreams and imagination, a facility we use in daily life to imagine those things which we haven’t actually lived.”

blogpic2.jpg

The Deep Learning tsunami, tsunami-ing.

My personal intuition is that deep learning is going to make its way into an ever-expanding number of domains. Given sufficiently large datasets, powerful computers, and the interest of subject-area experts, the Deep Learning tsunami (see picture), looks set to wash over an ever-larger number of disciplines. Buy a swimsuit! (And read the book!)

Why Deep Learning Will Lead To New, Troublesome Art

by Jack Clark

KREUZBERG, BERLIN, 2017 — EXHIBITION LAUNCH OF “YES, COMPUTERS DO DREAM OF ELECTRIC SHEEP”:

Gallery-goers wander halls full of lifesize sculptures of sheep. Each sheep has a different, unique mutation, leading to one with six legs and another whose wool has been replaced with miniature spanners and hammers, the size of boardgame pieces, woven together in shining metal braids. Suddenly, the din of the house music is stalled and a trio of suited people stride in. One of them has a megaphone. “THIS IS AN ILLEGAL ART SHOW ,” they crackle. “THESE SHEEP WERE GENERATED USING PROPRIETARY DATA. WE’RE CONFISCATING THE SCULPTURES AND ALL GALLERY-GOERS WILL BE SUBJECTED TO A DATA AUDIT.” – fictional scenario, based on current AI research.

THE TROUBLE WITH MACHINE ART 

The increasing sophistication of Deep Learning artificial intelligence techniques are going to lead to a new type of generative art. That’s going to be exciting for our culture, but may draw the ire of rights holders.

Artists have been working with computers since they were invented and have used techniques like procedural programming, cellular automata, and more to explore the new creative territories that computers let them access. New technologies coming out of the current AI boom will accelerate this.

Don’t believe me? Take a look at this recent paper from a group of researchers at German and US institutions: “A Neural Algorithm of Artistic Style” [1]

Researchers have figured out how to take the artistic style from one painting and apply it to a new image.

Researchers have figured out how to take the artistic style from one painting and apply it to a new image.

In the days after this research was published third-parties figured out how to implement the system and started generating their own images.

Third-parties are able to rapidly re-implement new discoveries in free software, accelerating the speed with which new artistic techniques find their way into culture.

Third-parties are able to rapidly re-implement new discoveries in free software, accelerating the speed with which new artistic techniques find their way into culture.

They were able to do this because there’s a wealth of free software packages available for running deep learning algorithms ranging from Theano to Caffe to Torch, and more, and the researchers published their paper as open-access, so people could access it for free. That speaks to the overall speed of invention within AI, which is accelerating as more people enter the field and publish research, or free code.

[Edit: One day after this post was published someone posted an animation to Reddit [2] showing a generative system drawing the Eiffel Tower in a style reminiscent of Van Gogh.]

This shows how a neural network can

This shows how a neural network can “imagine” a never-before-seen image in a particular aesthetic style.

Where this gets complicated is the issue of copyright as deep learning systems need to be fed with vast amounts of data. Typically, that’s done through open access datasets compiled by academic researchers, or private stores of information amassed by companies like Google, Facebook, and others.

Individual artists have other needs, and my suspicion is that they’ll do what they’ve always done – hunt through the available imagery, pick the ones they like, and make great art out of the images. And, just as in the past, this will raise valid and complex questions about the originality of the generated work, just as it has done with the free-for-all collage art we see coming out of social platforms like Tumblr and Vine. That’s going to create conversations about fair use as people share their Neural Network recipes with others.

I chatted about this issue recently with @Samim and @graphific on the Ethical Machines [3] podcast. [4]

This is not an isolated incident: it follows Google outlining an earlier system called “DeepDream” [5] in a blog post in July. That system let you use the feature detectors from a trained neural network to enhance new images, applying the proclivities of the AI system to never-before-seen entities. The internet was rapidly flooded with pictures made using this technique. Google even published the code on GitHub [6]. And, inevitably, it led to websites like DeepDreamGenerator [7] where anyone — no neural network expertise required – can make their own images, leading to ghastly moments like this on peoples’ Facebook feeds. Hold on tight, things are about to get WEIRD.

New AI art techniques get mainstream very, very quickly.

New AI art techniques get mainstream very, very quickly.

[1] http://arxiv.org/pdf/1508.06576v1.pdf
[2] https://www.reddit.com/r/MachineLearning/comments/3iygt2/neural_art_in_action/
[3] http://ethicalmachines.com/
[4] https://soundcloud.com/samim/ethical-machines-ep2-jack-clark
[5] http://googleresearch.blogspot.com/2015/06/inceptionism-going-deeper-into-neural.html
[6] https://github.com/google/deepdream
[7] http://deepdreamgenerator.com/

Speech Recognition Is About To Get Frighteningly Good.

by Jack Clark

Speech recognition is at the same point today as image recognition was in 2011, someone told me recently.

So hold on tight, because that means computers are about to become adept at hearing, understanding and anticipating what we say to them. In 2011/2012 Google was able to use 16,000 computers to train a neural network system to view pictures and develop representations of the concepts in them, like a cat [1]. Today, Google web search lets me ask for pictures of “a dog in front of a sunset” and its system will find a picture like that even if it hasn’t been annotated properly. And it does this about hundred times more efficiently than before.

Speech is about to go through the same evolution, so expect the rise of voice-activated shopping assistants, devices that work well in situations packed with large amounts of ambient noise (edit – July 30 2015:  IBM has developed a record-setting system that can transcribe conversational speech[2]) and large knowledge graphs wired into large-scale speech recognition models.

Many companies are doing this research beyond the usual suspects of Google, Microsoft, and IBM. Chinese search giant Baidu published a paper this Autumn on “Deep Speech: Scaling up end-to-end speech recognition” (PDF), a fast, state-of-the-art speech recognition system that works well in noisy environments.[3] It outperformed systems from Apple, Microsoft, Google and a startup named Wit.AI. (Part of its gains came from the use of a new dataset created by Baidu containing 9,600 people contributing a total of 5000 hours of speech.)

“You’re going to see speech recognition systems that have human or better-than-human accuracy become commercialized,” says Tim Tuttle, a former AI specialist at MIT and now startup founder.

More on that in this article I wrote for Bloomberg: “Speech Recognition Better Than a Human’s Exists. You Just Can’t Use It Yet” [4]

[1] http://www.nytimes.com/2012/06/26/technology/in-a-big-network-of-computers-evidence-of-machine-learning.html
[2] https://developer.ibm.com/watson/blog/2015/05/26/ibm-watson-announces-breakthrough-in-conversational-speech-transcription/
[3] http://arxiv.org/pdf/1412.5567.pdf
[4] http://www.bloomberg.com/news/2014-12-23/speech-recognition-better-than-a-human-s-exists-you-just-can-t-use-it-yet.html