# Tri Dao Says Nonlinear RNNs Differ From Attention and Linear SSMs

> 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...

- Source: Tri Dao
- Published: 2026-03-19T18:19:25.000Z
- Bad Influence: https://badinfluence.news/items/w9xe9ri38hfcvyeq9cvdq1iy8
- Original: https://x.com/tri_dao/status/2034696258938708438

## Summary

Tri 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. The post quotes the M²RNN paper, which introduces non-linear RNNs with matrix-valued states for language modeling, with links to the paper, code, and models.

## Post

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!

## Quoted post @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

https://x.com/MayankMish98/status/2034681226217595333
