Lune

ACL Findings2023

Recipes for Sequential Pre-training of Multilingual Encoder and Seq2Seq Models

Saleh Soltan, Andy Rosenbaum, Tobias Falke, Qin Lu, Anna Rumshisky, Wael Hamza

Abstract

Pre-trained encoder-only and sequence-tosequence (seq2seq) models each have advantages, however training both model types from scratch is computationally expensive.We explore recipes to improve pre-training efficiency by initializing one model from the other.(1) Extracting the encoder from a seq2seq model, we show it under-performs a Masked Language Modeling (MLM) encoder, particularly on sequence labeling tasks.Variations of masking during seq2seq training, reducing the decoder size, and continuing with a small amount of MLM training do not close the gap.(2) Conversely, using an encoder to warm-start seq2seq training, we show that by unfreezing the encoder partway through training, we can match task performance of a from-scratch seq2seq model.Overall, this two-stage approach is an efficient recipe to obtain both a multilingual encoder and a seq2seq model, matching the performance of training each model from scratch while reducing the total compute cost by 27%.Classification Sequence Labeling Encoder XNLI (acc.)mATIS++ IC (acc.)mATIS++ SL (f1) WikiANN (f1) UDPOS (f1) en avg-0s en avg-0s en avg-0s en avg-0s en avg-0s Encoder Model From Scratch (MLM only) roberta-12e 84.5±0.5 75.8±0.297.8±0.1 87.2±4.1 95.7±0.1 61.6±0.6 83.0±0.1 61.1±0.4 95.8±0.0 73.5±0.2Encoder of Seq2Seq Models (de-noising only)

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Multitask Prompted Training Enables Zero-Shot Task Generalization cites Language Models are Few-Shot Learners
  • XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalisation cites Unsupervised Cross-lingual Representation Learning at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
  3. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng et al.ICML 2020 · 1,388 citations
  4. XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual GeneralisationJunjie Hu, Sebastian Ruder, Aditya Siddhant, Graham Neubig et al.ICML 2020 · 1,132 citations
  5. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations

Related papers

  1. Should We Still Pretrain Encoders with Masked Language Modeling?Hippolyte Gisserot-Boukhlef, Nicolas Boizard, Manuel Faysse, Duarte M. Alves et al.ICLR 2026 · 19 citations
  2. MosaicBERT: A Bidirectional Encoder Optimized for Fast PretrainingJacob P. Portes, Alexander Trott, Sam Havens, Daniel King et al.NeurIPS 2023 · 46 citations
  3. Breaking Down Multilingual Machine TranslationTing-Rui Chiang, Yi-Pei Chen, Yi-Ting Yeh, Graham NeubigACL Findings 2022 · 7 citations
  4. Universal Conditional Masked Language Pre-training for Neural Machine TranslationPengfei Li, Liangyou Li, Meng Zhang, Minghao Wu et al.ACL 2022 · 32 citations
  5. Statement-Tuning Enables Efficient Cross-lingual Generalization in Encoder-only ModelsAhmed Elshabrawy, Thanh-Nhi Nguyen, Yeeun Kang, Lihan Feng et al.ACL Findings 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines