NPR logo Machines, Lost In Translation: The Dream Of Universal Understanding

Innovation

Machines, Lost In Translation: The Dream Of Universal Understanding

Developing a universal translator means teaching a computer to think like a human. Annette Elizabeth Allen/NPR hide caption

toggle caption Annette Elizabeth Allen/NPR

Developing a universal translator means teaching a computer to think like a human.

Annette Elizabeth Allen/NPR

It was early 1954 when computer scientists, for the first time, publicly revealed a machine that could translate between human languages. It became known as the Georgetown-IBM experiment: an "electronic brain" that translated sentences from Russian into English.

The scientists believed a universal translator, once developed, would not only give Americans a security edge over the Soviets but also promote world peace by eliminating language barriers.

They also believed this kind of progress was just around the corner: Leon Dostert, the Georgetown language scholar who initiated the collaboration with IBM founder Thomas Watson, suggested that people might be able to use electronic translators to bridge several languages within five years, or even less.

The process proved far slower. (So slow, in fact, that about a decade later, funders of the research launched an investigation into its lack of progress.) And more than 60 years later, a true real-time universal translator — a la C-3PO from Star Wars or the Babel Fish from The Hitchhiker's Guide to the Galaxy — is still the stuff of science fiction.

How far are we from one, really? Expert opinions vary. As with so many other areas of machine learning, it depends on how quickly computers can be trained to emulate human thinking.

Vikram Dendi says we're very close.

"It's cool to stand here and look back and say, 'We really turned science fiction into a reality,' " Dendi, the technical and strategy adviser to the chief of Microsoft Research, tells All Tech.

Microsoft's translation work has produced apps that can translate voice to voice and voice to text in addition to the familiar text to text. The big rollout this year was the Skype Translator, which takes what you say over video chat and turns it into spoken or written translations, currently in seven languages.

Microsoft, of course, is far from alone. A company called Voxox does Internet calling and chat and has a text-to-text translation service for its messaging app. Google, in addition to its familiar text translations, has introduced a feature in its Translate app that uses your phone camera to scan an image of foreign text and display the translation.

Stimulating Machines' Brains

After decades of jumping linguistic and technological hurdles, the technical approach scientists use today is known as the neural network method, in which machines are trained to emulate the way people think — in essence, creating an artificial version of the neural networks of our brains.

Neurons are nerve cells that are activated by all aspects of a person's environment, including words. The longer someone exists in an environment, the more elaborate that person's neural network becomes.

With the neural network method, the machine converts every word into its simplest representation — a vector, the equivalent of a neuron in a biological network, that contains information not only about each word but about a whole sentence or text. In the context of machine learning, a science that has been developed over the years, a neural network produces more accurate results the more translations it attempts, with limited assistance from a human.

Though machines can now "learn" similarly to the way humans learn, they still face some limits, says Yoshua Bengio, a computer science professor at the University of Montreal who studies neural networks. One of the limits is the sheer amount of data required — children need far less to learn a language than machines do.

Languages Left Behind

One challenge to progress toward a universal translator is a very human one.

Some languages, though spoken by millions of people, simply don't receive as much attention from computer science.

Hausa, for example, is a language spoken by 50 million people in west and central Africa but is considered a "low-resource language" because there are simply not enough documented translations for computer scientists to harness for machine learning.

Some scientists are concerned that these languages will slowly go extinct, to an extent in which machines won't be able to help.

"What's being covered, and it makes sense, is the major languages right now. Until we address that problem, C-3PO won't be a reality," says Jim Glass, a senior research scientist at the Massachusetts Institute of Technology who is studying whether a machine can learn languages by interacting with a real person.

The diligent robot C-3PO detects 6 million forms of communication in the Star Wars universe. "We can't even do 7,000," Glass says.

Until then, he doesn't think scientists can truly say they are close to having a universal translator.

—Anne Li

"[Machine translation] takes huge quantities of computation and data; it doesn't make sense," Bengio says. But there's promise in the neural network method. "It has the potential to reach human-level performance. It's focusing on the meaning of words, of dialogue."

This method builds off of previous approaches to machine translation.

Early on, scientists taught computers to translate by manually inputting every rule for every language pair they wanted translated. If an adjective, for example, came after a noun in Russian, the computer would know to flip it so that the adjective came before the noun in English.

A press release detailing the 1954 Georgetown-IBM experiment said that translating between two languages necessitated more computer instructions than required "to simulate the flight of a guided missile."

In the face of multitudes of rules and exceptions in every language pair, the manual input approach quickly became tedious.

In the 1980s, scientists began moving toward a statistical-based model. The machines were fed lots of human-translated materials (for example, from the United Nations) and identified language patterns and rules themselves.

Words that came up multiple times within one text were a common focus, says Kevin Knight, a natural languages research professor at the University of Southern California. "For example, by studying a large collection of English-Spanish documents, every time a computer sees 'banco' on the Spanish side, you see either the [English] word 'bank' or 'bench.' "

The computer would eventually deduce that every time it finds a "banco de" on the Spanish side, it can eliminate "bench" from its English options, because typically "the bank of" indicates the name of a financial institution.

Testing The Neural Networks

Neural networks, which became a popular tool for machine translation researchers in the 21st century, improved the quality of translations. Machines collect more information about each word and perform better probability analysis to avoid translations that sound unnatural.

How well does the approach work? I decided to take it for a test drive by testing Microsoft's Skype Translator, which is powered by neural networks.

I connected with Microsoft's Olivier Fontana, over a Skype video chat. Fontana greeted me in French — after a few seconds, a male robot began translating his voice into English. I brought NPR's resident French pro Caroline Kelly along for reinforcement. She commented that Skype appeared to be more fluent at English-to-French translations than vice versa.

Ultimately, the results were surprisingly accurate, especially when we talked about the subjects one would typically discuss with relatives, like travel plans for the holiday.

Skype Translator Chat: Travel Plans

  • <iframe src="https://www.npr.org/player/embed/460743241/460841209" width="100%" height="290" frameborder="0" scrolling="no" title="NPR embedded audio player">

As with any video conferencing, this translation chat depended on a strong Internet connection, which helped with its ability to pick up laughter and weeding out of repetitions or "ums" and "ahs."

Where the translation became muddled was when we discussed — or rather, attempted to discuss — the science and technology behind Skype Translator. The machine refused to distinguish between French words for "hip-hop" and "iPhone."

Skype Translator Chat: Hip-Hop Or iPhone?

  • <iframe src="https://www.npr.org/player/embed/460743241/460834554" width="100%" height="290" frameborder="0" scrolling="no" title="NPR embedded audio player">

Dealing with the spoken word in a voice-to-voice translation adds another layer of complexity to machine translation because in addition to producing accurate results, the computer also needs to detect laughter, stutters, repeats and accents.

But, as the scientists say, the more you use machine translators, the better they become. The neural network became a "momentum creator," says Microsoft's Dendi.

"Without it, [Skype Translator] would still be a science-fiction dream," Dendi says.

In other words, there's no saying where machine translation can go when the electronic brain meets the human one.

We no longer support commenting on NPR.org stories, but you can find us every day on Facebook, Twitter, email, and many other platforms. Learn more or contact us.