xLSTM Scaling Laws: Competitive Performance with Linear Time-Complexity

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Beck, Maximilian, Schweighofer, Kajetan, Böck, Sebastian, Lehner, Sebastian, Hochreiter, Sepp
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917284285513728
author Beck, Maximilian
Schweighofer, Kajetan
Böck, Sebastian
Lehner, Sebastian
Hochreiter, Sepp
author_facet Beck, Maximilian
Schweighofer, Kajetan
Böck, Sebastian
Lehner, Sebastian
Hochreiter, Sepp
contents Scaling laws play a central role in the success of Large Language Models (LLMs), enabling the prediction of model performance relative to compute budgets prior to training. While Transformers have been the dominant architecture, recent alternatives such as xLSTM offer linear complexity with respect to context length while remaining competitive in the billion-parameter regime. We conduct a comparative investigation on the scaling behavior of Transformers and xLSTM along the following lines, providing insights to guide future model design and deployment. First, we study the scaling behavior for xLSTM in compute-optimal and over-training regimes using both IsoFLOP and parametric fit approaches on a wide range of model sizes (80M-7B) and number of training tokens (2B-2T). Second, we examine the dependence of optimal model sizes on context length, a pivotal aspect that was largely ignored in previous work. Finally, we analyze inference-time scaling characteristics. Our findings reveal that in typical LLM training and inference scenarios, xLSTM scales favorably compared to Transformers. Notably, xLSTM models consistently Pareto-dominate Transformer models, delivering lower cross-entropy loss for the same compute budget.
format Preprint
id arxiv_https___arxiv_org_abs_2510_02228
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle xLSTM Scaling Laws: Competitive Performance with Linear Time-Complexity
Beck, Maximilian
Schweighofer, Kajetan
Böck, Sebastian
Lehner, Sebastian
Hochreiter, Sepp
Machine Learning
Scaling laws play a central role in the success of Large Language Models (LLMs), enabling the prediction of model performance relative to compute budgets prior to training. While Transformers have been the dominant architecture, recent alternatives such as xLSTM offer linear complexity with respect to context length while remaining competitive in the billion-parameter regime. We conduct a comparative investigation on the scaling behavior of Transformers and xLSTM along the following lines, providing insights to guide future model design and deployment. First, we study the scaling behavior for xLSTM in compute-optimal and over-training regimes using both IsoFLOP and parametric fit approaches on a wide range of model sizes (80M-7B) and number of training tokens (2B-2T). Second, we examine the dependence of optimal model sizes on context length, a pivotal aspect that was largely ignored in previous work. Finally, we analyze inference-time scaling characteristics. Our findings reveal that in typical LLM training and inference scenarios, xLSTM scales favorably compared to Transformers. Notably, xLSTM models consistently Pareto-dominate Transformer models, delivering lower cross-entropy loss for the same compute budget.
title xLSTM Scaling Laws: Competitive Performance with Linear Time-Complexity
topic Machine Learning
url https://arxiv.org/abs/2510.02228