Skip to main content

Google employs machine learning to boost translation capabilities to near-human level

google ai translate
Malarie Gokey/Digital Trends
No one would accuse Google Translate, the favored tool of unscholarly high school language students everywhere, of being an inaccurate interpreter. The 10-year-old internet interpreter can fluently translate more than 100 tongues, recognize foreign restaurant menus and signage, and differentiate between dialects in real time. But there’s always room for improvement, and in Translate’s case, it’s occurring through machine learning.

The project is called Google Neural Machine Translation, or GNMT, and it isn’t strictly speaking new. It was first employed to improve the efficiency of single-sentence translations, explained Google engineers Quoc V. Le and Mike Schuster, and did so ingesting individual words and phrases before spitting out a translation. But the team discovered that the algorithm was just as effective at handling entire sentences — even reducing errors by as much as 60 percent. And better still, it was able to fine-tune the accuracy over time. “You don’t have to make design choices,” Schuster said. “The system can entirely focus on translation.”

Recommended Videos

In a whitepaper published on Monday, the Google Brain team detailed the ins and outs of GNMT. Under the hood is long short-term memory, or LSTM, a neural networking technique that works a bit like human memory. Conventional translation algorithms divides a sentence into individual words which are matched to a dictionary, but LSTM-powered systems like Google’s new translation algorithm are able to “remember,” in effect, the beginning of a sentence when they reach the end. Translation is thus tackled bilaterally: GNMT breaks down sequences of words into their syntactical components, and then translates the result into another language.

GNMT’s approach is a boon for translation accuracy, but historically, such methods haven’t been particularly swift. Google, however, has employed a few techniques that dramatically boost interpretation speed.

As Wired explains, neural networks usually involve layered calculations — the results of one feeds into the next — a speed bump which Google’s model mitigates by completing what calculations it can ahead of time. Simultaneously, GNMT leverages the processing boost provided by Google’s specialized, AI-optimized computer chips it began fabricating in May. The end result? The same sentence that once took ten seconds to translate via this LSTM model now takes 300 milliseconds.

And the improvements in translation quality are tangible. In a test of linguistic precision, Google Translate’s old model achieved a score of 3.6 on a scale of 6. GNMT, meanwhile ranked 5.0 — or just below the average human’s score of 5.1.

It’s far from perfect, Schuster wrote. “GNMT can still make significant errors that a human translator would never make, like dropping words … mistranslating proper names or rare terms … and translating sentences in isolation rather than considering the context of the paragraph or page.” And prepping it required a good deal of legwork. Google engineers trained GNMT for about a week on 100 graphics processing units — chips optimized for the sort of parallel computing involved in language translation. But Google is confident the model will improve. “None of this is solved,” Schuster said. “But there is a constant upward tick.”

Google isn’t rolling out GNMT-powered translation broadly, yet — for now, the method will remain relegated to Mandarin Chinese. But the search giant said it’ll begin AI-powered translations of new languages in the coming months.

GNMT may be the newest product of Google’s machine learning experiments, but it’s hardly the first. Earlier this year, AlphaGo, software produced by the company’s DeepMind division, became the first AI in history to beat a human grand master at the ancient game of Go. Earlier this summer, Google debuted DeepDream, a neural network with an uncanny ability to detect faces and patterns in images. And in August, Google partnered with England’s National Health Service and the University College London Hospital to improve treatment techniques for head and neck cancer.

Not all of Google’s artificial intelligence efforts are as high-minded. Google Drive uses machine learning to anticipate the files you’re most likely to need at a given time. Calendar ‘s AI-powered Smart Scheduling suggests meeting times and room preferences based on the calendars of all parties involved. And Docs Explore shows text, images, and other content Google thinks is relevant to the document on which you’re working.

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
Watch Google DeepMind’s robotic ping-pong player take on humans
Google DeepMind's robot ping pong player takes on a human.

Demonstrations - Achieving human level competitive robot table tennis

Ping-pong seems to be the sport of choice when it comes to tech firms showcasing their robotic wares. Japanese firm Omron, for example, made headlines several years ago with its ping-pong robot that could comfortably sustain a rally with a human player, while showing off the firm’s sensor and control technology in the process.

Read more
Google showed me its AI future for Google Home, and it blew me away
The Google Home logo on a Pixel phone.

Google's making a few announcements today ahead of its big Pixel event next Tuesday. In addition to revealing the new Nest Learning Thermostat and the Google TV Streamer, Google is also providing a sneak peek at some big Google Home and Google Assistant changes. And they're all really impressive.

We'll start with the Google Assistant. Google has revealed a new voice for the Assistant, and it sounds significantly more natural than the current one. It's difficult to describe in writing, but the gist is that the Assistant's voice now sounds more like a human and less like a robot. The Assistant takes natural pauses while speaking and has inflections in its voice.

Read more
Google’s new Nest Learning Thermostat looks like a work of art
Someone adjusting the temperature on the Google Nest Learning Thermostat (4th Gen).

Google’s an old hand in the smart home space. Thirteen years ago, it introduced the Nest Thermostat, a first-generation model that intelligently manages utility use, making monitoring easier. We’re now on our fourth generation, with a newly announced — and, frankly, stunning — Nest Learning Thermostat that also comes with a redesigned Nest Temperature Sensor.

The new Nest Thermostat was announced alongside the new Google TV Streamer and came a week ahead of Google's fall Pixel event.
A really stunning design

Read more