Skip to Content Facebook Feature Image

Why AI visionary Andrew Ng teaches humans to teach computers

TECH

Why AI visionary Andrew Ng teaches humans to teach computers
TECH

TECH

Why AI visionary Andrew Ng teaches humans to teach computers

2017-08-22 11:41 Last Updated At:09-14 00:37

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.

Computer scientist Andrew Ng. (AP Photo/Eric Risberg)

Computer scientist Andrew Ng. (AP Photo/Eric Risberg)

As a way to get machines to learn without supervision, he has trained them to recognize cats in YouTube videos without being told what cats were. And he revolutionized 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.

Andrew Ng, right, works with others at his office in Palo Alto, Calif.. (AP Photo/Eric Risberg)

Andrew Ng, right, works with others at his office in Palo Alto, Calif.. (AP Photo/Eric Risberg)

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 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."

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, swiveling 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, Ng learned coding early 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 trigonometric functions like sine and cosine using a "neural network" — the core computing engine of artificial intelligence modeled 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, 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 Ng's doctoral students and now a computer scientist at Berkeley.

Abbeel says he once crashed a $10,000 helicopter drone, but Ng brushed it off. "Andrew was always like, 'If these things are too simple, everybody else could do them.'"

THE MARK OF NG

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, 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 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 Ng's team, he says, "was what convinced me."

TEACHING HOW TO TEACH COMPUTERS

Ng's fascination 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 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.

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 follow-up. "None of us today know how to get computers to learn with the speed and flexibility of a child."

Next Article

Olympic organizers unveil strategy for using artificial intelligence in sports

2024-04-19 23:45 Last Updated At:23:50

LONDON (AP) — Olympic organizers unveiled their strategy Friday to use artificial intelligence in sports, joining the global rush to capitalize on the rapidly advancing technology.

The International Olympic Committee outlined its agenda for taking advantage of AI. Officials said it could be used to help identify promising athletes, personalize training methods and make the games fairer by improving judging.

“Today we are making another step to ensure the uniqueness of the Olympic Games and the relevance of sport. To do this, we have to be leaders of change,” IOC President Thomas Bach said at a press event in the velodrome at the Olympic Park in London, which hosted the summer games in 2012.

"We are determined to exploit the vast potential of AI in a responsible way,” Bach said.

The IOC revealed its AI master plan as it gears up to hold the Paris Olympics, which are set to kick off in just under 100 days.

The IOC's AI plans also include using the technology to protect athletes from online harassment and to help broadcasters improve the viewing experience for people watching from home. The IOC earns billions of dollars through the sale of broadcast rights for the games.

Some AI projects will be rolled out at the Paris games and the IOC has set up a working group on the technology to further drive its adoption in sport, Bach said, without being more specific.

The local organizers of the Paris games have sparked controversy with their plans to use artificial intelligence for security, with a video surveillance system that includes AI-powered cameras to flag potential security risks such as abandoned packages or crowd surges. Digital watchdog groups fear that a proposal to legalize smart surveillance systems, even if only temporarily, will infringe on privacy, though the French government insists the systems won't use facial recognition technology.

Asked about the concerns, Bach told reporters it's up to the authorities in the host country, not the IOC, to decide on ”the best tools to apply to secure the games."

“What we have seen from the French government and from the authorities is that the efforts to ensure security in Paris are really, on a very wide scope, very professional. So we have all confidence in the French authorities,” he said.

Skier Lindsey Vonn said she was envious of the AI-powered tools that weren't available when she was starting out.

Vonn said back in the day she took notes by hand in her performance diary on how different skis, boots and the temperature affected her performance. Nowadays, tablets are used to instantly crunch much more data, as well as give a side-by-side video comparison of the best racing line. AI can supercharge those analytical tools, she said.

“It’s not replacing athletes, it’s not replacing coaching. But I think it’s just another tool that can be used in a positive way to perform better,” Vonn said.

The IOC has partnered with Intel to scout out potential athletes in overlooked places. The tech company took its equipment to Senegal, where they visited five villages and analyzed the athletic ability of a thousand children, by measuring how high they could jump and how fast they could react.

Using AI to analyze the results, "we found 40 that are really promising," said Christoph Schell, Intel's chief commercial officer.

The shortlisted kids' results were then run through an algorithm that recommended what sports they'd be good at, he said.

Olympic officials are also aware of AI risks. Bach warned against allowing machines to be the ultimate arbiter of a young athlete's career. Someone who's a “great athlete in wrestling must still have the chance to play tennis and cannot be sorted out” by the algorithms, he said.

AP videojournalist Kwiyeon Ha contributed to this report.

Thomas Bach, IOC President speaks at the International Olympic Committee launch of the Olympic AI Agenda at Lee Valley VeloPark, in London, Friday, April 19, 2024. They will be presenting the envisioned impact that artificial intelligence can deliver for sport, and how the IOC intends to lead on the global implementation of AI within sport. (AP Photo/Kirsty Wigglesworth)

Thomas Bach, IOC President speaks at the International Olympic Committee launch of the Olympic AI Agenda at Lee Valley VeloPark, in London, Friday, April 19, 2024. They will be presenting the envisioned impact that artificial intelligence can deliver for sport, and how the IOC intends to lead on the global implementation of AI within sport. (AP Photo/Kirsty Wigglesworth)

Recommended Articles