iTranslate Uses Neural Networks for Translations

The desire of humans to understand each other across language barriers has always driven the development of tools that could assist them in doing so. With the advent of computers in the 20th century, using software for automatic translation of text in one language to another was one of the earliest goals in computer science, founding the subfield of machine translation. A variety of approaches have appeared with increasing levels of automation and abstraction; for example, while rule-based machine translation requires the curation of dictionaries and explicit grammar rules, statistical machine translation is able to generate an output via statistical models automatically inferred from large bilingual text corpora.

In the 2010s, artificial neural networks were being more and more applied to solve a wide variety of computational tasks. Loosely inspired by the information processing of biological brains, which consist of neurons connected via adaptive synapses, they can in principle compute an arbitrary mathematical function of its inputs by adapting a set of internal parameters (the parameters are called weights, and the adaptation process is called training). While theoretically being formulated already in the middle of the preceding century, the increasing availability of hardware allowing for massively parallel processing (e.g., GPUs) suddenly boosted the application of neural networks to many real world applications, such as object recognition in images. Furthermore, networks could be made more powerful by making them larger and increasing their depth (the number of layers in which the computation is organized), giving rise to the buzzword of deep learning.

A special subset of neural networks, so-called recurrent neural networks, allow for the processing of sequential information, most prominently text. Neural machine translation (NMT) refers to the use of such recurrent sequence-to-sequence networks to translate text in a source language into text in another target language. NMT networks are trained on bilingual text corpora in an end-to-end fashion, without the need to define rules or statistical principles for the computation of a translation; rather, these are extracted automatically from those corpora during training. NMT networks typically consist of an encoder part, which produces an abstract representation of the source text, and a decoder part, which, using this representation, generates the output text, one token at a time. This process is reminiscent of a human interpreter, who first tries to understand the meaning of a sentence before he or she formulates the corresponding sentence in another language.

The success of NMT — systems outperforming non-neural approaches can be obtained with comparatively low effort — put it in the focus of research and commercial applications. Various flavors of NMT networks have been developed (e.g., Transformer networks), and the technology of most machine translation providers are nowadays based on NMT. The translation services of iTranslate are also powered by neural machine translation.

Currently, we are supporting server-side translation between 56 languages; the most common languages are also available offline and run completely on a mobile device without the need for an internet connection. Our goal is to remove language as a barrier to human communication, and NMT is one of the powerful tools that help us in this endeavor. 

You might also like

Spanish days of the week made easy: Tips and tricks

Who else remembers that catchy “days of the week” song from kindergarten? *Raises hand*. Now, get ready to experience the same burst of childhood nostalgia, but this time, let’s set the stage for Spanish. In this article, we’ll guide you through effective strategies that will help you master the days of the week in Spanish. …

Say bonjour to the days of the week in French: A beginner’s guide

Bonjour et bienvenue (hello and welcome) to a handy French lesson that will build your language skills as well as help you get to know culture français (French culture). The days of the week are essential for making plans with friends, scheduling appointments, and even ensuring you attend the right class. Fortunately, we’re here to…

How to say “good morning” in French

Whether you’re interested in learning French or simply want to impress your friends with your smooth French étiquette, you’ve come to the right place. Here we’ll walk through the basics of how to say “good morning” in French, including the proper pronunciation, similar phrases, and cultural nuances of the phrase. So,, let’s dive into the…

How to say “good morning” in Spanish

¡Buenos días! Are you ready to learn some new Spanish words and start your day off on the right foot? In this article, we’ll teach you how to say “good morning” in Spanish and even throw in some tips and tricks to enhance your morning routine in Spanish-speaking cultures. And to make your language learning…

How to say “thank you” in French

Whether you’re traveling through France or befriending a French person abroad, at some point you’ll feel gratitude. (At least, one would hope!) Understanding how to say “thank you” in French and the nuances surrounding it will help you navigate these social situations. From the formal to the casual, the spoken to the signed, there are…

How to say “thank you” & other expressions of gratitude in Spanish

Since Spanish is one of the most widely spoken languages in the world, knowing how to express gratitude in it can be a powerful tool. In this article, we’ll explore the different ways to say “thank you” in Spanish and other expressions of gratitude that can help you connect with Spanish speakers on a deeper…