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

Gabriel Lindenmaier, Sean Papay, Sebastian Padó
2/2/2025
cs.CL

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lindenmaier2025efficient,
  title  = {Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures},
  author = {Gabriel Lindenmaier and Sean Papay and Sebastian Padó},
  year   = {2025},
  eprint = {2502.00617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00617v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.00617.svg)](https://codeofpaper.com/paper/2502.00617)

Discussion