首页 > AI前沿 > Log-Depth Recurrent Language Modeling

Log-Depth Recurrent Language Modeling

arXiv机器学习 2026-09-23 22:47 5 阅读 查看原文

Language modeling using Transformers has become commonplace despite their fixed computational depth and quadratic runtime with respect to input tokens.

Recurrent models on the other hand offer linear depth but no parallel execution.

In this work, we extend balanced-tree recursive operators from sequence encoding to autoregressive prediction, enabling all prefix representations to be computed with logarithmic depth and linear runtime.

Our experiments provide an initial characterization of this model class, demonstrating robust length extrapolation and performance approaching that of ALiBi-based Transformers, highlighting its potential as an alternative architecture for language modeling.