Summary: An update was released for the Matrix Recurrent Units (MRU) algorithm, a linear-time sequence architecture designed as an alternative to traditional attention. The algorithm transforms embeddings into input state matrices, cumulatively multiplies them across the sequence dimension to produce an output state matrix, and projects them back into vectors. To ensure efficiency on modern deep learning hardware, the implementation utilizes a parallel scan that exploits the associativity of the matrix multiplication.
Why it matters: This architecture provides a potential alternative to attention mechanisms that scales linearly with sequence length while maintaining hardware compatibility. Builders should evaluate the implementation to see if it offers training or inference advantages over state-space models and standard transformers.