paper-with-me

홈 › Papers

LegoNN: Building Modular Encoder-Decoder Models

2022-06-07 · Siddharth Dalmia, Dmytro Okhonko, Mike Lewis, Sergey Edunov, Shinji Watanabe, Florian Metze, Luke Zettlemoyer, Abdelrahman Mohamed

State-of-the-art encoder-decoder models (e.g. for machine translation (MT) or automatic speech recognition (ASR)) are constructed and trained end-to-end as an atomic unit. No component of the model can be (re-)used without the others, making it impossible to share parts, e.g. a high resourced decoder, across tasks. We describe LegoNN, a procedure for building encoder-decoder architectures in a way so that its parts can be applied to other tasks without the need for any fine-tuning. To achieve this reusability, the interface between encoder and decoder modules is grounded to a sequence of marginal distributions over a pre-defined discrete vocabulary. We present two approaches for ingesting these marginals; one is differentiable, allowing the flow of gradients across the entire network, and the other is gradient-isolating. To enable the portability of decoder modules between MT tasks for different source languages and across other tasks like ASR, we introduce a modality agnostic encoder which consists of a length control mechanism to dynamically adapt encoders' output lengths in order to match the expected input length range of pre-trained decoders. We present several experiments to demonstrate the effectiveness of LegoNN models: a trained language generation LegoNN decoder module from German-English (De-En) MT task can be reused without any fine-tuning for the Europarl English ASR and the Romanian-English (Ro-En) MT tasks, matching or beating the performance of baseline. After fine-tuning, LegoNN models improve the Ro-En MT task by 1.5 BLEU points and achieve 12.5% relative WER reduction on the Europarl ASR task. To show how the approach generalizes, we compose a LegoNN ASR model from three modules -- each has been learned within different end-to-end trained models on three different datasets -- achieving an overall WER reduction of 19.5%.

📄 PDF Abstract BibTeX arXiv:2206.03318

Code (0)

등록된 구현이 없습니다.

Tasks

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Decoderde-enMachine Translationspeech-recognitionSpeech RecognitionText Generation

Similar Papers 제목 키워드 기반

Lego-Features: Exporting modular encoder features for streaming and deliberation ASR

2023-03-31 · Rami Botros, Rohit Prabhavalkar, Johan Schalkwyk, Ciprian Chelba 외

In end-to-end (E2E) speech recognition models, a representational tight-coupling inevitably emerges between the encoder and the decoder. We build upon recent work that has begun to explore building encoders with modular …

Decoderspeech-recognitionSpeech Recognition

Enforcing Encoder-Decoder Modularity in Sequence-to-Sequence Models

2019-11-09 · Siddharth Dalmia, Abdel-rahman Mohamed, Mike Lewis, Florian Metze 외

Inspired by modular software design principles of independence, interchangeability, and clarity of interface, we introduce a method for enforcing encoder-decoder modularity in seq2seq models without sacrificing the overa…

Decoder

Multi-task Federated Learning with Encoder-Decoder Structure: Enabling Collaborative Learning Across Different Tasks

2025-04-14 · Jingxuan Zhou, Weidong Bao, Ji Wang, Dayu Zhang 외

Federated learning has been extensively studied and applied due to its ability to ensure data security in distributed environments while building better models. However, clients participating in federated learning still …

DecoderFederated LearningGeneral Knowledge

Resurrecting Submodularity for Neural Text Generation

2019-11-08 · Simeng Han, Xiang Lin, Shafiq Joty

Submodularity is desirable for a variety of objectives in content selection where the current neural encoder-decoder framework is inadequate. However, it has so far not been explored in the neural encoder-decoder system …

Abstractive Text SummarizationDecoderText Generation

Training Multilingual Machine Translation by Alternately Freezing Language-Specific Encoders-Decoders

2020-05-29 · Carlos Escolano, Marta R. Costa-jussà, José A. R. Fonollosa, Mikel Artetxe

We propose a modular architecture of language-specific encoder-decoders that constitutes a multilingual machine translation system that can be incrementally extended to new languages without the need for retraining the e…

DecoderMachine TranslationNatural Language InferenceSentence+1