National Post

AI visionary teaches how to teach computers

- Ryan Nakashima

in Palo Alto, Calif.

Andrew Ng has led teams 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 supervisio­n, he has trained them to recognize cats in YouTube videos without being told what cats were. And he revolution­ized this field, known as artificial intelligen­ce, by adopting graphics chips meant for video games.

To push the boundaries of artificial intelligen­ce further, one of the world’s most renowned researcher­s in the field says many more humans need to get involved. So his focus now is on teaching the next generation of AI specialist­s to teach the machines.

Nearly 2 million people around the globe have taken Ng’s online course on machine learning. In his videos, the lanky, 6- foot-1 Briton of Hong Kong and Singaporea­n upbringing speaks with a difficult- to- place accent. He often tries to get students comfortabl­e with mind-boggling concepts by acknowledg­ing up front, in essence, that “hey, this stuff is tough.”

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 the only job that might not be changed is his hairdresse­r’s — to which a friend of his responded that in fact, she could get a robot to do his hair.

At the end of an interview in his sparse office in Palo Alto, Calif., 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.”

An upstart programmer by age 6, Ng learned coding from his father, a medical doctor who tried to program a computer to diagnose patients using data. “At his urging,” Ng says, he fiddled with these concepts on his home computer. At age 16, he wrote a program to calculate trigonomet­ric functions like sine and cosine using a “neural network” — the core computing engine of artificial intelligen­ce modelled on the human brain.

“It seemed really amazing that you could write a few lines of code and have it learn to do interestin­g things,” he said.

After graduating high school f rom Singapore’s Raffles Institutio­n, Ng made the rounds of Carnegie Mellon, MIT and Berkeley before taking up residence as a professor at Stanford University.

There, he taught robotic helicopter­s to do aerobatics after being trained by an expert pilot. The work was “inspiring and exciting,” recalls Pieter Abbeel, one of Ng’s students and now a computer scientist at Berkeley.

Abbeel s ays he once crashed a US$10,000 drone, but Ng brushed it off. “Andrew was always like, ‘If these things are too simple, everybody else could do them.’”

Ng’s standout AI work involved finding a new way to supercharg­e 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 simultaneo­usly, but make up for it with blazing speed. Neural networks, however, work much better if they can run thousands of calculatio­ns simultaneo­usly. 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, Ng j umped 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 prestigiou­s ImageNet competitio­n in 2012, credits Ng with persuading him to use the technique. That win spawned copycats, giving birth to the rise of AI.

“Several different people suggested using GPUs,” Hinton says by email. But the work by Ng’s team, he says, “was what convinced me.”

Ng’s fascinatio­n with AI was paralleled by a desire to share his knowledge with students. As online education took off earlier this decade, Ng discovered a natural outlet.

His “Machine Learning” course, which kicked off Stanford’s online learni ng program al ongside two other courses in 2011, i mmediately s i gned 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 deeplearni­ng. ai, a startup that produces AI-training courses.

Every time he’s started something big, whether it’s Coursera, the Google Brain deep learning unit, or Baidu’s AI lab, he has left once he felt the teams he has built can carry on without him.

“Then you go, ‘ Great. It’s thriving with or without me,’” says Ng, who continues to teach at Stanford while working in private industry.

For Ng, one of his next challenges might include having a child with his roboticist wife, Carol Reiley. “I wish we knew how children ( or even a pet dog) learns,” Ng says in an email followup. “None of us today know how to get computers to learn with the speed and flexibilit­y of a child.”

 ?? ERIC RISBERG / THE ASSOCIATED PRESS ?? Computer scientist Andrew Ng, right, one of the world’s most renowned researcher­s in machine learning and artificial intelligen­ce, is facing a dilemma: there aren’t enough experts trained to train the machines. So when he isn’t pushing into the...
ERIC RISBERG / THE ASSOCIATED PRESS Computer scientist Andrew Ng, right, one of the world’s most renowned researcher­s in machine learning and artificial intelligen­ce, is facing a dilemma: there aren’t enough experts trained to train the machines. So when he isn’t pushing into the...

Newspapers in English

Newspapers from Canada