mlsanityData to 7 Oct 2026

Cross-Architecture Transfer Learning for Linear-Cost Inference Transformers

arXiv 2404.02684 ↗First posted 3 Apr 2024cs.CL cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Recently, multiple architectures has been proposed to improve the efficiency of the Transformer Language Models through changing the design of the self-attention block to have a linear-cost inference (LCI). A notable approach in this realm is the State-Space Machines (SSMs) architecture, which showed on-par performance on language modeling tasks with the self-attention transformers. However, such an architectural change requires a full pretraining of the weights from scratch, which incurs a huge cost to researchers and practitioners who want to use the new architectures. In the more traditional linear attention works, it has been proposed to approximate full attention with linear attention by swap-and-finetune framework. Motivated by this approach, we propose Cross-Architecture Transfer Learning (XATL), in which the weights of the shared components between LCI and self-attention-based transformers, such as layernorms, MLPs, input/output embeddings, are directly transferred to the new architecture from already pre-trained model parameters. We experimented the efficacy of the method on varying sizes and alternative attention architectures and show that methodabbr significantly reduces the training time up to 2.5x times and converges to a better minimum with up to 2.6% stronger model on the LM benchmarks within the same compute budget.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 19 of its 28 references that are in the map. First posted on arXiv 3 Apr 2024.

Builds on

19 of 28 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  3. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  4. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  7. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  8. 2020Reformer: The Efficient Transformercited by 1,658
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  10. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  11. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  12. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
7 more
  1. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  2. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
  3. 2021An Attention Free Transformercited by 111
  4. 2022The Devil in Linear Transformercited by 98
  5. 2021Finetuning Pretrained Transformers into RNNscited by 94
  6. 2019Quick and (not so) Dirty: Unsupervised Selection of Justification Sentences for Multi-hop Question Answeringcited by 58
  7. 2023Weight subcloning: direct initialization of transformers using larger pretrained onescited by 30

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge
  2. 2026Turning the TIDE: Cross-Architecture Distillation for Diffusion Large Language Models
  3. 2024Cross-layer Attention Sharing for Pre-trained Large Language Models
  4. 2025CASA: Cross-Attention over Self-Attention for Efficient Vision-Language Fusion
  5. 2024Linearizing Large Language Models
  6. 2025LV-XAttn: Distributed Cross-Attention for Long Visual Inputs in Multimodal Large Language Models
  7. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length
  8. 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contexts