Skip to content
View original post on X: Tri Dao
Published

Tri Dao Says Nonlinear RNNs Differ From Attention and Linear SSMs

AITri Dao says nonlinear RNNs seem to do something genuinely different from attention and linear RNNs or SSMs. He reports they already perform well with the right parametrization, and adding just one nonlinear RNN layer substantially improves a transformer-Mamba/DeltaNet hybrid.
@tri_dao
View on X

Nonlinear RNNs seem to do sth genuinely different from attn and linear RNNs/SSMs. By themselves they already do quite well w the right parametrization, but just one nonlinear RNN layers substantially improve transformer-mamba/deltanet hybrid!

Mayank Mishra@MayankMish98
Introducing M²RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling We bring back non-linear recurrence to language modeling and show it's been held back by small state sizes, not by non-linearity itself. 📄 Paper: https://arxiv.org/abs/2603.14360 💻 Code: http://github.com/open-lm-engine/lm-engine 🤗 Models: http://huggingface.co/collections/open-lm-engine/m2rnn
View quoted post on X
Source details

Tri Dao · x.comPublished · added here

Original title: Nonlinear RNNs seem to do sth genuinely different from attn and linear RNNs/SSMs. By themselves they already do quite well w the right pa...