Doctoral thesis
Cite …

Continually learning new languages

Ngoc Quan Pham 1
1 Institute for Anthropomatics and Robotics (IAR), Karlsruhe Institute of Technology (KIT)
Abstract

Speech recognition is the task of automatically generating transcriptions of given speech utterances. This research area is widely applied in our daily lives such as helping foreign students in lectures or controlling intelligent devices such as smart TVs or cars with speech commands.

The 7000 languages being spoken in the world poses a challenge to speech recognition system. Traditionally speech recognition methods using Hidden Markov Model are not practically applicable for many languages simultaneously due to the requirement of pronunciation dictionaries together with a pipeline of separated components. The neural end-to-end approach relaxed both of these requirements by using a single neural network to learn a direct mapping from speech signal inputs to word surface outputs, and all components in the network are directly optimized for this learning objective. This nature enables training one model to recognize many languages at the same time.

The desiderata of a multilingual recognition system includes the following factors:

The training procedure with a combined dataset of multiple languages should not be overly complicated than dealing with one single language, and is much more industrially efficient than constructing multiple monolingual recognition system.

The recognition quality of the multilingual system should be competitive or better than the monolingual individual systems. Since many languages share similar acoustic features, the architecture of the recognizers should reflect this nature, while having room to model each language's unique traits.

It is crucial for the system to be expandable, by being able to continually learn new languages. The intervention of new languages should not affect the performance for the previously learned languages. Meanwhile, the quality of these new languages must be competitive compared to the ideal scenario of having all languages at once. This factor is important when scaling recognition systems in a world-wide setting, in which acquiring data for new languages is difficult and data storing is not eternal due to storage requirement and privacy issues.

The goals of the thesis are designed to further develop speech recognition towards such desiderata. The first objective was achieved by constructing a neural end-to-end speech recognition model. The motivation here was that, due to the high level of abstraction compared to traditional methods, such as the removal of dictionaries and concrete alignment learning, the performance of neural end-to-end models was still inferior to traditional system. By using very deep Transformer networks with stochastic layers and enhanced with relative position self attention mechanism, it is possible to reach a competitive level performance in standard benchmark of conversational English, which was the state-of-the-art result achieved with end-to-end models.

Having achieved a strong neural end-to-end model, the next objective is to apply it for large scale multilingual recognition. Because this approach is not limited by the language specific pronunciation dictionaries, it is trivial to create a multilingual system of dozens of languages, that satisfied the first desiderata objective. In order to have a clear learning strategy that separates language dependent and independent features, we proposed weight factorization as a technique that factorizes each weight matrix in the network into language dependent and independent factors. The language dependent weights are further factorized to encourage the network to learn universal features. Furthermore, this technique can be combined with transfer learning, as a result reducing the word error rate for 32 languages by 33% compared to a competitive Transformer baseline.

With weight factorization, continual learning new languages is now enabled. The networks can allocate new weights for new languages without interfering the logic of old languages, thus completely avoiding catastrophic forgetting, the major problem of losing knowledge of previous languages when training on new ones. Weight factorization, a form of progressive neural networks, can be also combined with Elastic Weight Consolidation, a regularization method to prevent catastrophic forgetting. This combination makes the whole network architecture more flexible, by finding empty space in the network to learn new knowledge. By doing so, it is possible to learn new languages with the same quality of having all languages initially, without severely compromising in terms of catastrophic forgetting.

The last contribution of the thesis is the application in direct speech translation. For many languages, it is more convenient to collect the translation instead of transcript for speech utterances. The same neural architecture can be applied in this situation without any modification. The contribution is hightlighted by showing that, a neural model is now powerful enough to outperform cascaded approaches, in either large scale speech translation or resource-limited multilingual speech translation scenarios.