$\texttt{lrnnx}$: A library for Linear RNNs

📅 2026-02-09
📈 Citations: 0
Influential: 0
📄 PDF

career value

187K/year
🤖 AI Summary
This work addresses the fragmentation in current linear recurrent neural network (LRNN) research, which is hindered by scattered implementations, strong framework dependencies, and a lack of standardized interfaces—impeding reproducibility, comparison, and extension. To bridge this gap, we introduce lrnnx, the first unified open-source library that integrates multiple modern LRNN architectures. Built on mainstream deep learning frameworks, lrnnx supports diverse parameterizations and discretization schemes without requiring custom CUDA kernels. The library offers a multi-level modular interface, ranging from low-level components to high-level models, substantially lowering the barrier to both usage and development. This design enables flexible control, facilitates fair benchmarking, and establishes a much-needed standardized toolkit for the LRNN community.

Technology Category

Application Category

📝 Abstract
Linear recurrent neural networks (LRNNs) provide a structured approach to sequence modeling that bridges classical linear dynamical systems and modern deep learning, offering both expressive power and theoretical guarantees on stability and trainability. In recent years, multiple LRNN-based architectures have been proposed, each introducing distinct parameterizations, discretization schemes, and implementation constraints. However, existing implementations are fragmented across different software frameworks, often rely on framework-specific optimizations, and in some cases require custom CUDA kernels or lack publicly available code altogether. As a result, using, comparing, or extending LRNNs requires substantial implementation effort. To address this, we introduce $\texttt{lrnnx}$, a unified software library that implements several modern LRNN architectures under a common interface. The library exposes multiple levels of control, allowing users to work directly with core components or higher-level model abstractions. $\texttt{lrnnx}$ aims to improve accessibility, reproducibility, and extensibility of LRNN research and applications. We make our code available under a permissive MIT license.
Problem

Research questions and friction points this paper is trying to address.

Linear RNNs
software library
implementation fragmentation
reproducibility
extensibility
Innovation

Methods, ideas, or system contributions that make the work stand out.

Linear RNNs
unified library
software framework
reproducibility
extensibility
🔎 Similar Papers
No similar papers found.
K
Karan Bania
Carnegie Mellon University
S
Soham Kalburgi
BITS Pilani, K. K. Birla Goa Campus
M
Manit Tanwar
BITS Pilani, K. K. Birla Goa Campus
D
Dhruthi Kiran
BITS Pilani, K. K. Birla Goa Campus
A
Aditya Nagarsekar
BITS Pilani, K. K. Birla Goa Campus
H
Harshvardhan Mestha
BITS Pilani, K. K. Birla Goa Campus
N
Naman Chibber
BITS Pilani, K. K. Birla Goa Campus
A
Anish Sathyanarayanan
BITS Pilani, K. K. Birla Goa Campus
A
Aarush Rathore
BITS Pilani, K. K. Birla Goa Campus
R
Raj Deshmukh
BITS Pilani, K. K. Birla Goa Campus
P
Pratham Chheda
BITS Pilani, K. K. Birla Goa Campus