PALO ALTO, Calif — Andrew Ng has led teams at Google and Baidu that have gone on to create self-learning computer programs used by hundreds of millions of people, including email spam filters and touch-screen keyboards that make typing easier by predicting what you might want to say next.
As a way to get machines to learn without supervision, he has trained them to recognise cats in YouTube videos without being told what cats were. And he revolutionised this field, known as artificial intelligence, by adopting graphics chips meant for video games.
To push the boundaries of artificial intelligence further, one of the world’s most renowned researchers in the field says many more humans need to get involved. So his focus now is on teaching the next generation of AI specialists to teach the machines.
Nearly 2 million people around the globe have taken Mr Ng’s online course on machine learning. In his videos, the lanky, 6-foot-1 Briton of Hong Kong and Singaporean upbringing speaks with a difficult-to-place accent. He often tries to get students comfortable with mind-boggling concepts by acknowledging up front, in essence, that ``hey, this stuff is tough.’’
Mr Ng sees AI as a way to ``free humanity from repetitive mental drudgery.’’ He has said he sees AI changing virtually every industry, and any task that takes less than a second of thought will eventually be done by machines. He once said famously that the only job that might not be changed is his hairdresser’s — to which a friend of his responded that in fact, she could get a robot to do his hair.
At the end of a 90-minute interview in his sparse office in Palo Alto, California, he reveals what’s partially behind his ambition.
``Life is shockingly short,’’ the 41-year-old computer scientist says, swivelling his laptop into view. He’s calculated in a Chrome browser window how many days we have from birth to death: a little more than 27,000. ``I don’t want to waste that many days.’’
BUILDING BRAINS AS A TEEN
An upstart programmer by age 6, Mr Ng learned coding early from his father, a medical doctor who tried to program a computer to diagnose patients using data. ``At his urging,’’ Mr Ng says, he fiddled with these concepts on his home computer. At age 16, he wrote a program to calculate trigonometric functions like sine and cosine using a ``neural network’’ the core computing engine of artificial intelligence modelled on the human brain.
``It seemed really amazing that you could write a few lines of code and have it learn to do interesting things,’’ he said.
After graduating high school from Singapore’s Raffles Institution, Mr Ng made the rounds of Carnegie Mellon, MIT and Berkeley before taking up residence as a professor at Stanford University.
There, he taught robotic helicopters to do aerial acrobatics after being trained by an expert pilot. The work was ``inspiring and exciting,’’ recalls Pieter Abbeel, then one of Mr Ng’s doctoral students and now a computer scientist at Berkeley.
Mr Abbeel says he once crashed a US$10,000 (S$13,610) helicopter drone, but Mr Ng brushed it off. ``Andrew was always like, `If these things are too simple, everybody else could do them.’’’
THE MARK OF NG
Mr Ng’s standout AI work involved finding a new way to supercharge neural networks using chips most often found in video-game machines.
Until then, computer scientists had mostly relied on general-purpose processors — like the Intel chips that still run many PCs. Such chips can handle only a few computing tasks simultaneously, but make up for it with blazing speed. Neural networks, however, work much better if they can run thousands of calculations simultaneously. That turned out to be a task eminently suited for a different class of chips called graphics processing units, or GPUs.
So when graphics chip maker Nvidia opened up its GPUs for general purposes beyond video games in 2007, Mr Ng jumped on the technology. His Stanford team began publishing papers on the technique a year later, speeding up machine learning by as much as 70 times.
Geoffrey Hinton, whose University of Toronto team wowed peers by using a neural network to win the prestigious ImageNet competition in 2012, credits Mr Ng with persuading him to use the technique. That win spawned a flurry of copycats, giving birth to the rise of modern AI.
``Several different people suggested using GPUs,’’ Hinton says by email. But the work by Mr Ng’s team, he says, ``was what convinced me.’’
TEACHING HOW TO TEACH COMPUTERS
Mr Ng’s fascination with AI was paralleled by a desire to share his knowledge with students. As online education took off earlier this decade, Mr Ng discovered a natural outlet.
His ``Machine Learning’’ course, which kicked off Stanford’s online learning program alongside two other courses in 2011, immediately signed up 100,000 people without any marketing effort.
A year later, he co-founded the online-learning startup Coursera. More recently, he left his high-profile job at Baidu to launch deeplearning.ai , a startup that produces AI-training courses.