Toronto Star

A machine that can finish your

Sentence-finishing BERT is a big AI developmen­t

- CADE METZ

In August, researcher­s from the Allen Institute for Artificial Intelligen­ce, a lab based in Seattle, unveiled an English test for computers. It examined whether machines could complete sentences like this one:

On stage, a woman takes a seat at the piano. She

a) sits on a bench as her sister plays with the doll.

b) smiles with someone as the music plays.

c) is in the crowd, watching the dancers.

d) nervously sets her fingers on the keys.

For you, that would be an easy question. But for a computer, it was pretty hard. While humans answered more than 88 per cent of the test questions correctly, the lab’s AI systems hovered around 60 per cent. Among experts — those who know just how difficult it is to build systems that understand natural language — that was an impressive number.

Then, two months later, a team of Google researcher­s unveiled a system called BERT. Its improved technology answered those questions just as well as humans did — and it was not even designed to take the test.

BERT’s arrival punctuated a significan­t developmen­t in artificial intelligen­ce. Over the past several months, researcher­s have shown that computer systems can learn the vagaries of language in general ways and then apply what they’ve learned to a variety of specific tasks.

Built in quick succession by several independen­t research organizati­ons, including Google and the Allen Institute, these systems could improve technology as diverse as digital assistants like Alexa and Google Home as well as software that automatica­lly analyzes documents inside law firms, hospitals, banks and other businesses.

“Each time we build new ways of doing something close to human level, it allows us to automate or augment human labour,” said Jeremy Howard, founder of Fast.ai, a lab based in San Francisco that’s at the forefront of this research.

“This can make life easier for a lawyer or a paralegal. But it can also help with medicine.”

It may even lead to technology that can — finally — carry on a decent conversati­on.

But there’s a downside: On social media services like Twitter, this new research could also lead to more convincing bots designed to fool us into thinking they are human, Howard said.

Researcher­s have shown that rapidly improving AI techniques can facilitate the creation of fake images that look real. As these kinds of technologi­es move into the language field as well, Howard said, we may need to be more skeptical than ever about what we encounter online.

These new language systems learn by analyzing millions of sentences written by humans. A system built by OpenAI, a lab based in San Francisco, analyzed thousands of self-published books, including romance novels, science fiction and more. Google’s BERT analyzed these same books plus the length and breadth of Wikipedia.

Each system learned a particular skill by analyzing all that text. OpenAI’s technology learned to guess the next word in a sentence. BERT learned to guess missing words anywhere in a sentence. But in mastering these specific tasks, they also learned about how language is pieced together.

Newspapers in English

Newspapers from Canada