Alexa Teacher Model: Pretraining and Distilling Multi-Billion-Parameter Encoders for Natural Language Understanding Systems
Not on the map. Why?
Abstract (arXiv)
We present results from a large-scale experiment on pretraining encoders with non-embedding parameter counts ranging from 700M to 9.3B, their subsequent distillation into smaller models ranging from 17M-170M parameters, and their application to the Natural Language Understanding (NLU) component of a virtual assistant system. Though we train using 70% spoken-form data, our teacher models perform comparably to XLM-R and mT5 when evaluated on the written-form Cross-lingual Natural Language Inference (XNLI) corpus. We perform a second stage of pretraining on our teacher models using in-domain data from our system, improving error rates by 3.86% relative for intent classification and 7.01% relative for slot filling. We find that even a 170M-parameter model distilled from our Stage 2 teacher model has 2.88% better intent classification and 7.69% better slot filling error rates when compared to the 2.3B-parameter teacher trained only on public data (Stage 1), emphasizing the importance of in-domain data for pretraining. When evaluated offline using labeled NLU data, our 17M-parameter Stage 2 distilled model outperforms both XLM-R Base (85M params) and DistillBERT (42M params) by 4.23% to 6.14%, respectively. Finally, we present results from a full virtual assistant experimentation platform, where we find that models trained using our pretraining and distillation pipeline outperform models distilled from 85M-parameter teachers by 3.74%-4.91% on an automatic measurement of full-system user dissatisfaction.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 41 of its 55 references that are in the map. First posted on arXiv 15 Jun 2022.
Builds on
41 of 55 references.
References · 41
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
29 more
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2019Cross-lingual Language Model Pretrainingcited by 1,088
- 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 567
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2013Do Deep Nets Really Need to be Deep?cited by 466
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2019On the Efficacy of Knowledge Distillationcited by 377
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 262
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227
- 2019BERT for Joint Intent Classification and Slot Fillingcited by 195
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
- 2020TOD-BERT: Pre-trained Natural Language Understanding for Task-Oriented Dialoguecited by 185
- 2020The Multilingual Amazon Reviews Corpuscited by 142
- 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 142
- 2019ConveRT: Efficient and Accurate Conversational Representations from Transformerscited by 95
- 2020End-to-End Slot Alignment and Recognition for Cross-Lingual NLUcited by 82
- 2021Scalable and Efficient MoE Training for Multitask Multilingual Modelscited by 76
- 2021Do as I mean, not as I say: Sequence Loss Training for Spoken Language Understandingcited by 9
- 2021Multilingual Neural Semantic Parsing for Low-Resourced Languagescited by 7
- 2020Style Attuned Pre-training and Parameter Efficient Fine-tuning for Spoken Language Understandingcited by 2
- 2020Using multiple ASR hypotheses to boost i18n NLU performancecited by 2
Built on by
Citing papers per year: 2022: 4; 2023: 6; 2024: 4; 2025: 1.
15 papers.
Sort:
By area:
- 2022AlexaTM 20B: Few-Shot Learning Using a Large-Scale Multilingual Seq2Seq Modelcited by 57
- 2023A Survey on Knowledge Editing of Neural Networkscited by 34
- 2022LINGUIST: Language Model Instruction Tuning to Generate Annotated Utterances for Intent Classification and Slot Taggingcited by 29
- 2023Data-Efficient Alignment of Large Language Models with Human Feedback Through Natural Languagecited by 22
- 2025Knowledge Graph-extended Retrieval Augmented Generation for Question Answeringcited by 14
- 2022Domain-Specific Text Generation for Machine Translationcited by 12
- 2023Honey, I Shrunk the Language: Language Model Behavior at Reduced Scalecited by 10
- 2022Knowledge Distillation Transfer Sets and their Impact on Downstream NLU Taskscited by 4
- 2024KAUCUS: Knowledge Augmented User Simulators for Training Language Model Assistantscited by 4
- 2024Need a Small Specialized Language Model? Plan Early!cited by 4
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsingcited by 2
- 2023Recipes for Sequential Pre-training of Multilingual Encoder and Seq2Seq Modelscited by 1
- 2025Knowledge Graph-extended Retrieval Augmented Generation for Question Answering11 Apr 2025
- 2024CALICO: Conversational Agent Localization via Synthetic Data Generation6 Dec 2024
- 2024Leveraging Interesting Facts to Enhance User Engagement with Conversational Interfaces9 Apr 2024
- 2024Need a Small Specialized Language Model? Plan Early!2 Feb 2024
- 2024KAUCUS: Knowledge Augmented User Simulators for Training Language Model Assistants29 Jan 2024
- 2023Data-Efficient Alignment of Large Language Models with Human Feedback Through Natural Language24 Nov 2023
- 2023A Survey on Knowledge Editing of Neural Networks30 Oct 2023
- 2023Test-takers have a say: understanding the implications of the use of AI in language tests19 Jul 2023
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsing9 Jul 2023
- 2023Recipes for Sequential Pre-training of Multilingual Encoder and Seq2Seq Models14 Jun 2023
- 2023Honey, I Shrunk the Language: Language Model Behavior at Reduced Scale26 May 2023
- 2022Knowledge Distillation Transfer Sets and their Impact on Downstream NLU Tasks10 Oct 2022
3 more
- 2022AlexaTM 20B: Few-Shot Learning Using a Large-Scale Multilingual Seq2Seq Modelcited by 57
- 2023A Survey on Knowledge Editing of Neural Networkscited by 34
- 2022LINGUIST: Language Model Instruction Tuning to Generate Annotated Utterances for Intent Classification and Slot Taggingcited by 29
- 2022Domain-Specific Text Generation for Machine Translationcited by 12
- 2023Honey, I Shrunk the Language: Language Model Behavior at Reduced Scalecited by 10
- 2022Knowledge Distillation Transfer Sets and their Impact on Downstream NLU Taskscited by 4
- 2024KAUCUS: Knowledge Augmented User Simulators for Training Language Model Assistantscited by 4
- 2024Need a Small Specialized Language Model? Plan Early!cited by 4
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsingcited by 2
- 2023Recipes for Sequential Pre-training of Multilingual Encoder and Seq2Seq Modelscited by 1
- 2023Test-takers have a say: understanding the implications of the use of AI in language testscited by 1
- 2024Leveraging Interesting Facts to Enhance User Engagement with Conversational Interfacescited by 1
- 2024Leveraging Interesting Facts to Enhance User Engagement with Conversational Interfaces9 Apr 2024
- 2024Need a Small Specialized Language Model? Plan Early!2 Feb 2024
- 2024KAUCUS: Knowledge Augmented User Simulators for Training Language Model Assistants29 Jan 2024
- 2023A Survey on Knowledge Editing of Neural Networks30 Oct 2023
- 2023Test-takers have a say: understanding the implications of the use of AI in language tests19 Jul 2023
- 2023Optimal Transport Posterior Alignment for Cross-lingual Semantic Parsing9 Jul 2023
- 2023Recipes for Sequential Pre-training of Multilingual Encoder and Seq2Seq Models14 Jun 2023
- 2023Honey, I Shrunk the Language: Language Model Behavior at Reduced Scale26 May 2023
- 2022Knowledge Distillation Transfer Sets and their Impact on Downstream NLU Tasks10 Oct 2022
- 2022LINGUIST: Language Model Instruction Tuning to Generate Annotated Utterances for Intent Classification and Slot Tagging20 Sep 2022
- 2022Domain-Specific Text Generation for Machine Translation11 Aug 2022
- 2022AlexaTM 20B: Few-Shot Learning Using a Large-Scale Multilingual Seq2Seq Model2 Aug 2022