Your browser is not supported. Please update it.

16 January 2020

EBU tackles final frontier of speech translation for TV

Early pioneers grossly underestimated the challenge of machine translation but nowadays the size of the task is widely acknowledged, as a leading algorithm developer at China’s Alibaba did recently with the comment that even just for text, never mind speech, it is still not even close to the level of professional humans in the field.

This seems to denigrate unfairly recent advances that have been made since the addition of machine learning based on deep neural networks has been added to the armory. Indeed, recent progress made on the various underlying components has enthused the European Broadcasting Union (EBU) sufficiently to tackle the final frontier, full speech-to-speech translation with its ongoing project called EuroVOX (not to be confused with the cable set top of the same name).

The project has promise and is timely given that that it has a chance of making real progress, but the EBU still seems spooked by “GAFAM” (Google, Apple, Facebook, Amazon, Microsoft), which it clearly sees almost as an existential threat to its members, Public Service Broadcasters. It sees the efforts of those five tech giants in machine translation too much as a competitive threat rather than source of inspiration. It is notable that Alibaba and also the other two big Chinese tech giants of Baidu and Tencent regard GAFAM as an opportunity for disruptive mischief and also as partners for collaboration.

EuroVOX has correctly though identified standardization and creation of common APIs as critical for progress in machine translation, enabling use of existing systems into which a huge amount of data, effort and money have already been invested. Having identified GAFAM as a threat it also highlights the need to build on their technology via a unified layer through that common API and select the best translation engine for a given task, or component part. It also wants to encourage smaller “engine providers” to get involved, although increasingly machine translation has become confined to the realm of big tech and academia because it thrives on power and scale of data, although there is room for refinement and iteration around the edges.

When we get beyond the specter of GAFAM, the commercial motivation for the EBU lies in extending the reach and utility of content for its members, given the many languages spoken in Europe. It acknowledges the challenge of assembling constituent parts, each of which has advanced as a result of machine learning but have yet to be assembled into a coherent whole. That humble admission from Alibaba about how far the field still has to go after all applies most of all to speech translation.

The constituent parts are speech-to-text conversion, text-to-text translation and finally text-to-speech synthesis. Many consumers are familiar with each of these parts in isolation, with Microsoft Word for example enabling both speech recognition and text to speech conversion, while there are several popular text-to-text translation packages such as Google Translate. They all have limitations that EuroVOX will be working to alleviate, such as the need to enunciate clearly and ideally pause briefly between words for speech recognition, while there are numerous artefacts and off key affects in text translation systems. These would all undermine final speech-to-speech translation systems with errors in the constituent parts accumulating within the process.

With text-to-text translation, the complexity of the task varies with the nature of the input along a continuum. At the simple end is basic factual information as found say in data sheets or user manuals, moving up to more general business or technical prose as in company reports and then legal documents where accuracy is essential. Then comes creative writing, starting with novels or short stories and then at the highest level of complexity poetry where even the best human translators struggle to correctly render not just the words but also structure, rhyming, metaphor and aesthetic aspects of the text. To be completely successful EuroVOX will have to address all these levels because after all some programs involve readings from prose and poetry. In practice, however, the EBU will be content in the first instance translating basic news and entertainment content with reasonable fidelity and flow.

The greatest challenges lie at the text-to-text level because this is where the actual translation process occurs. While Google has been widely credited with popularizing text translation, in recent years equally huge efforts have been made both by the other members of GAFAM and in particular by the ecommerce platforms, including Alibaba as well as Amazon, because for them multilingual capabilities help drive sales.

Alibaba’s efforts have been particularly notable, even if occasionally its website lets the side down by some lapses in English which highlight room for further improvement. One good aspect of Alibaba’s work is recognition that in making progress it is important not to throw out the baby with the bathwater (itself an idiom that translation systems struggle with). By this Alibaba means retaining aspects of older technologies where appropriate rather than just ditching them in favor of neural based machine translation.

As Alibaba notes in an excellent paper by its senior algorithm expert for machine translation Chen Bo’xing, machine translation has undergone several development stages, starting with rule-based systems that governed the field for several decades dating back to the early 1970s with packages such as Systran. Given the duration of their reign, rule-based systems themselves evolved significantly during that time, starting with basic rather stilted dictionary look-up mapping input to output in so-called Direct Systems.

These naturally achieved limited success for only basic text and were then enhanced by morphology analysis, where individual structure of words or even whole sentences is dissected to help divine meaning and syntax, which allows more iteration and feedback. This was called Transfer Based Machine Translation (TBMT).

Further enhancement led to Interlingual RBMT (Rule Based MT) Systems, which in addition to syntactical rules about the source and target language incorporate further rules for linking the structures of the two together. This achieved advances but hit the problem of scale because a huge amount of human effort was required to generate the rule based for every single language pair, where covering just common combinations results in several hundred variants.

The next major step change after rule-based systems came with statistical MT (SMT) pioneered by IBM in the 1990s, although the original ideas date back to a famous paper by Claude Shannon on information theory in 1949.  It applies varies techniques, especially around Bayes Theorem of conditional probability, first finding various candidate strings of text in the target language and then determining which of those is most likely to be correct. Its advantage lies in using existing data sets and exploiting the full computational power available to improve accuracy.

To an extent, it is a forerunner of contemporary machine learning approaches but was limited in its ability to adapt and works best on languages that are similar, preferably where word order is much the same. It works less well also for language pairs where less data is available. SMT is also very computationally resource intensive, which imposes limitations on scale and speed. The main two benefits overrule based systems are scalability, since less human effort is involved, and fluency, because it works on strings of text rather than individual words.

Then in 2014 came the latest revolution that opened the door to projects like EuroVOX with the introduction of machine learning, to yield NMT (Neural Machine Translation). As is the case with machine learning in general, NMT does not really represent much fundamental advance on SMT. It is still statistically based, with Bayes still in there. But, again as with machine learning in other spheres, it harnesses available computational power and memory more effectively, while applying the statistical techniques much more intelligently.

Like SMT, NMT predicts the likelihood of a sequence of words being the optimal translation, but rather than focusing on phrases, can model entire sentences and even groups of sentences in a single integrated approach. While SMT systems were blocked within sentences and performed poorly on less closely related languages, NMT employs learning and feedback on an end to end basis so that accuracy can be refined and enhanced at different levels. It is also computationally more effective so that it has the prospect of picking up speed towards the real time level that will be required for example by EuroVOX to translate the audio of live programs.

But, and here is the rub, those older technologies still have their place for certain applications and Alibaba rightly condemns the practice of abandoning them just because something newer and shinier has come along. As Bo’xing wrote, “If you attend academic meetings, you will scarcely see articles about RBMT or SMT. Does it mean that these two models have already been made obsolete? Alibaba Translation believes that these models have their advantages in specific scenarios.”

This comes back to that continuum of complexity and Bo’xing argued that the original RBMT technology can actually yield the highest accuracy when configured with simple rules and used in concert with dictionaries to translate numbers, dates, addresses, and commodity-related information. This is valuable in the ecommerce context, but could also be for captions within video. For this reason, Alibaba has retained a rule-based component in its latest translation system, which some other major players have not done.

Alibaba does agree though that advanced techniques are essential to make progress towards human translation capabilities, especially between languages that are substantially different. Alibaba has a large number of consumer clients in Russia given the proximity and therefore a particular requirement for translation into Russian from both Chinese and English.

The first challenge was that Chinese characters lack singular or plural forms and also changes in tense, but this had already been addressed by other systems in the case of English as the world’s most prevalent target language.

However Russian has the relatively unusual property that many nouns have large numbers of different suffixes, that is a few letters at the end, that can completely change the meaning. Gender, concepts, names of professions and nationalities are examples of attributes changed in Russian by suffixes. Some of these occur in other languages, so that for example adding the suffix “ism” to “capital” in English yields “capitalism” with a subtly different meaning, with the same happening for the Russian equivalent. But Russian has far more cases so that adding different suffixes to the stem for “profession” can yield a word for a doctor, a student, a pilot and so on. Similarly, there is a stem for different nationalities such as American or Egyptian, as well as for concepts as in that capitalism example.

When Alibaba decided to tackle this problem of Russian suffixes no effective solution existed and so it developed a refinement of NMT it called neural inflection prediction, which involved firstly dividing words into their stems and suffixes. The stem is then predicted first, followed by the suffix, taking account of the relevant word and context in the source language. The key point was that the types of information are analyzed separately before integrating them, that is the source, stem of the current target word and the suffix of the previous target word, which yields a valuable clue to the correct one.

Such work will – we hope – inform EuroVOX, especially as many Slavic languages spoken in Europe also make extensive use of suffixes and for that matter prefixes. There are other aspects of Alibaba’s project that are also relevant, such as an emphasis on “smoothness” of translation to enhance readability in the ecommerce context. This is one aspect of MT that has improved enormously already as a result of machine learning.

The other aspect is speed in an era of concern over adding to latency, with ecommerce sites requiring translations of sentences within about 100 ms. This is being enhanced by dedicated hardware for the algorithms, with Alibaba itself in September 2019 unveiling its first AI inference chip optimized for translation.

Alibaba is increasingly competing with Amazon, which has also invested heavily in machine translation based on deep learning, but focusing more on offering it as a cloud service. The aim is exceeding the accuracy and smoothness of rivals such as Microsoft Translator and Google Translate, while confining itself to limited numbers of language pairs, with at least 12 currently supported, mostly involving English.

Like the EBU, Amazon has recognized the importance of simplifying access to advanced algorithms and supports just one API for its AWS translation service. One other aspect relevant to EuroVOX as well as for eCommerce and office productivity use cases is translation of visual objects, including graphs. On the surface this sounds like a simpler problem than speech translation but has various subtleties, such as identifying relevant characters or logos within the image that need translating and differentiating from those that stay the same. Again, machine learning combined with large data sets is bearing down on the problem.