English

Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures

Computation and Language 2025-02-04 v1

Abstract

Transformer-based language models have recently been at the forefront of active research in text generation. However, these models' advances come at the price of prohibitive training costs, with parameter counts in the billions and compute requirements measured in petaflop/s-decades. In this paper, we investigate transformer-based architectures for improving model performance in a low-data regime by selectively replacing attention layers with feed-forward and quasi-recurrent neural network layers. We test these architectures on the standard Enwik8 and Wikitext-103 corpora. Our results show that our reduced architectures outperform existing models with a comparable number of parameters, and obtain comparable performance to larger models while significantly reducing the number of parameters.

Keywords

Cite

@article{arxiv.2502.00617,
  title  = {Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures},
  author = {Gabriel Lindenmaier and Sean Papay and Sebastian Padó},
  journal= {arXiv preprint arXiv:2502.00617},
  year   = {2025}
}

Comments

PDF has 12 pages total, 7 without references and abstract; 10 individual graphics combined to 3 figures; 5 tables

R2 v1 2026-06-28T21:29:16.193Z