arXiv:2611.09412cs.AINov 2026

Manuscript Offprint

arXiv:2611.09412

MIRA: Mitigating Pole Geometry Bias in Recurrent Language Models

Róisín Luo, Ihsan Ullah, Christian Gagné, Dong Li, Karyn Morrissey

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We show that the Transformer’s recurrent successors — such as selective state-space models (SSMs), Receptance Weighted Key Value (RWKV), and Retentive Network (RetNet) — can be characterized as infinite-impulse-response (IIR) systems. The zero-pole geometries of these IIR systems characterize the temporal modes they can represent. However, to trade parallelism, the algebraic structures of the parameterizations of these recurrent systems often give rise to poles constrained to the real axis, thereby inducing an architectural bias in their recurrent dynamics. To unify these recurrent architectures and eliminate their pole geometry bias, inspired by the lattice–ladder realization of general IIR systems, we present MIRA (Modal IIR Recurrent Architecture), a unified family of linear-time recurrent architectures for building large language models (LLMs) with a highly parallel algebraic structure. Each MIRA block realizes a higher-order IIR system that represents temporal modes from token streams through a lattice–ladder structure, followed by a feed-forward network (FFN). This realization enables the model to represent the temporal modes associated with both real and complex-conjugate poles. We pretrain MIRA-S, a 12-layer small-scale LLM with 0.14B parameters composed entirely of MIRA blocks. Throughout the pretraining, MIRA-S achieves lower perplexity than strong recurrent baselines, exhibits stronger context-window generalization beyond the training length, and attains higher throughput with a dedicated CUDA kernel.

1 INTRODUCTION

Large language models (LLMs) based on the Transformer architecture (Vaswani et al., 2017) have achieved remarkable performance across a wide range of natural language processing tasks, including language understanding, reasoning, question answering, and code generation. Since GPT-2 (Radford et al., 2019), the prevailing paradigm has converged on decoder-only architectures and has remained largely unchanged: LLMs are built from stacks of Transformer blocks or its variants that combine causal scaled dot-product attention (SDPA) with feed-forward network (FFN), and are pretrained through next-token prediction on large-scale corpora followed by instruction tuning (Christiano et al., 2017; Ouyang et al., 2022; Rafailov et al., 2023). Despite its success, SDPA incurs quadratic computational complexity O(T2)\mathcal{O}(T^2) with respect to the sequence length TT.

A growing body of work therefore explores linear-time architectures with computational complexity O(T)\mathcal{O}(T). Selective state-space models (SSMs), such as Mamba (Gu & Dao, 2024) and its variants, replace the attention mixing module with selective state-space recurrences, while recurrent linear-attention models, such as Receptance Weighted Key Value (RWKV) (Peng et al., 2023), employ re-

*Corresponding author: roisincrtai@gmail.com

Table 1: Transfer-Function Characterization. A(z)A(z) and B(z)B(z) denote the numerator (FIR) and denominator (IIR) polynomials of the transfer function H(z)=A(z)/B(z)H(z)=A(z)/B(z). The transfer functions are input-dependent. The roots of A(z)=0A(z)=0 are the zeros and the roots of B(z)=0B(z)=0 are the poles. We also verify the derived transfer functions numerically, comparing the sequence each predicts against the measured output of its recurrence, with a maximum discrepancy of 3.6×10−123.6 \times 10^{-12}; the pole ranges are verified formally, in Lean 4 (Moura & Ullrich, 2021) and Z3 (De Moura & Björner, 2008).

MethodA(z)A(z)B(z)B(z)ZeroesPoles
SDPA (Vaswani et al., 2017)∑r=0T−1αt,τz−r\sum_{r=0}^{T-1} \alpha_{t,\tau} z^{-r}1Complex-
Selective SSM (Mamba-1, S6) (Gu & Dao, 2024)C~adj⁡((I−Az−1)B+Ddet⁡(I−Az−1))\tilde{C} \operatorname{adj}((I-Az^{-1})B + D \det(I-Az^{-1}))det⁡(I−Az−1)\det(I-Az^{-1})ComplexReal (0, 1)
RWKV (v4-v6) (Peng et al., 2023)1I−Wz−1I-Wz^{-1}-Real (0, 1)
RetNet (v1) (Sun et al., 2023)11−γz−11-\gamma z^{-1}-Real [0.968, 1)
HGRN2 (v2) (Qin et al., 2024)BtB_tI−Gtz−1I-G_t z^{-1}-Real (0.125, 1)
Hyena (v1) (Poli et al., 2023)∑r=0T−1hrz−r\sum_{r=0}^{T-1} h_r z^{-r}1Complex-
DeltaNet (v1) (Yang et al., 2024b)BtB_tI−Atz−1I-A_t z^{-1}-Real (0, 1]
Gated DeltaNet (v1) (Yang et al., 2025)BtB_tI−A^tz−1I-\hat{A}_t z^{-1}-Real (0, 1)
MIRA∑m=0kam(xt)z−m\sum_{m=0}^{k} a_m (x_t) z^{-m}1+∑j=1kbj(xt)z−j1 + \sum_{j=1}^{k} b_j (x_t) z^{-j}ComplexComplex {∣z∣≤1}\{|z| \leq 1\}

current weighted key-value mechanisms. Other approaches preserve attention-like algebra while replacing the softmax operator: the Linear Transformer (Katharopoulos et al., 2020) factorizes kernelized attention through feature maps and associativity, Retentive Network (RetNet) (Sun et al., 2023) introduces a multi-scale retention mechanism with parallel, recurrent, and chunkwise-recurrent formulations, and Gated Linear Attention (GLA) (Yang et al., 2024a) incorporates data-dependent decay gates with efficient chunkwise computation. DeltaNet (Schlag et al., 2021; Yang et al., 2024b) introduces delta-rule updates to recurrent fast-weight states, while Gated DeltaNet (Yang et al., 2025) further augments the delta-rule recurrence with data-dependent gating. HGRN2 (Qin et al., 2024) develops hierarchical gated recurrent dynamics for linear-time sequence modeling, whereas Hyena (Poli et al., 2023) replaces recurrent state updates with implicitly parameterized long convolutions for efficient long-range sequence mixing.

In the theory of digital signal processing (DSP) (Oppenheim & Schafer, 2010), representations of language sequences are discrete temporal signals. A system that maps an input sequence to an output sequence is a transfer operator. Its input–output response can be characterized by its transfer function. Let x1:n=(x1,⋯ ,xn)x_{1:n} = (x_1, \cdots, x_n) be a finite temporal sequence of length nn. Let Z{⋅}\mathcal{Z}\{\cdot\} be z-transform operator, and Z−1{⋅}\mathcal{Z}^{-1}\{\cdot\} be inverse z-transform operator, defined as

Xn(z)=Z{x1:n}:=∑j=1nxjz−j,xj=Z−1{Xn(z)}=12πi∮ΓXn(z)zj−1dz,X_{n}(z)=\mathcal{Z}\{x_{1:n}\}:=\sum_{j=1}^{n} x_{j} z^{-j},\qquad x_{j}=\mathcal{Z}^{-1}\{X_{n}(z)\}=\frac{1}{2\pi i}\oint_{\Gamma} X_{n}(z) z^{j-1} \mathrm{d}z,

respectively, where the counter-clockwise closed integral contour Γ\Gamma on complex plane encloses all poles of the polynomial Xn(z)X_n(z) for ensuring causal condition and z∈Cz \in \mathbb{C} is complex variable (Oppenheim & Schafer, 2010). Let x1:tx_{1:t} and y1:ty_{1:t} be input and output sequences of tt tokens. Let Xt(z):=Z{x1:t}X_t(z):=\mathcal{Z}\{x_{1:t}\} and Yt(z):=Z{y1:t}Y_t(z):=\mathcal{Z}\{y_{1:t}\} denote the z-transforms of the input sequence x1:tx_{1:t} and output sequence y1:ty_{1:t}, respectively. The ratio of the output to the input in the z-domain H(z;xt)=Yt(z)Xt(z)H(z;x_t)=\frac{Y_t(z)}{X_t(z)} is referred to as the transfer function (Oppenheim & Schafer, 2010). We show that recurrent dynamical systems — such as SDPA, SSM, RWKV, RetNet, HGRN2, Hyena, and DeltaNet — admit following input-conditioned transfer operator,

H(z;xt)=A(z;xt)B(z;xt)=a0(xt)+∑i=1mai(xt)z−i1+∑j=1nbj(xt)z−j,a0,ai,bj∈R,(1)H(z;x_t)=\frac{A(z;x_t)}{B(z;x_t)}=\frac{a_0(x_t)+\sum_{i=1}^m a_i(x_t)z^{-i}}{1+\sum_{j=1}^n b_j(x_t)z^{-j}},\qquad a_0,a_i,b_j\in\mathbb{R}, \tag{1}

where A(z;xt)A(z;x_t) defines an order-mm finite-impulse-response (FIR) system, and B(z;xt)B(z;x_t) defines an order-nn infinite-impulse-response (IIR) system. This transfer function H(z;xt)H(z;x_t) is uniquely characterized by the roots of its numerator and denominator polynomials, where the roots of the numerator polynomial A(z;xt)A(z;x_t) are referred to as zeros, and the roots of the denominator polynomial B(z;xt)B(z;x_t) are referred to as poles. The zero-pole geometry of H(z;xt)H(z;x_t) governs how temporal modes are retrieved from input sequences: zeros attenuate or cancel specific modes, whereas poles determine persistent or resonant temporal modes. Table 1 summarizes the transfer-function and zero-pole

Figure

Figure

Figure 1: Provable Failure of Causal Mode Retrieval. We synthesize 4-dimensional continuous input tokens x1:200x_{1:200} and target tokens y1:200y_{1:200} of a length 200. The ground-truth transfer function contains poles that are not on the real axis. We use parameter-matched single-layer models trained to predict next-token yt+1y_{t+1} from input sequence x1:tx_{1:t} by using MSE (mean squared error) loss. Each model is optimized for 1000 steps using AdamW (Loshchilov & Hutter, 2019) with a learning rate of 10−210^{-2}. Left: synthetic temporal signals of length 200. Middle: pole geometries of MIRA, Mamba-S6, RWKV-7, and SDPA. Right: next-token prediction error with logarithmic scale. The results show that MIRA admits complex poles and more accurately retrieves the temporal modes associated with complex poles. The provable failure signal synthesis is provided in Appendix A.6.

characterizations of SDPA, the selective SSM of Mamba-1, RWKV v4–v6, RetNet, HGRN2, Hyena, DeltaNet, and Gated DeltaNet. The proofs are provided in Appendix A.9. To trade parallelism, the algebraic structures of the parameterizations of these methods, such as a diagonal-matrix parameterization in SSM that preserves channel-wise parallelism, often constrain their poles to lie on the real axis.

This pole geometry constrained on real axis therefore induces an architectural bias in recurrent dynamics and delimits the modes that they can represent. To demonstrate this bias, we construct an experiment as shown in Figure 1, using a synthesized token sequence x1:200x_{1:200} and target sequence y1:200y_{1:200} with a dimension four, where the true transfer function Z{y1:200}/Z{x1:200}\mathcal{Z}\{y_{1:200}\}/\mathcal{Z}\{x_{1:200}\} has poles not constrained on real axis. We train single-layer MIRA, SDPA, Mamba-S6, and RWKV-7 models to perform next-token prediction for predicting the target token sequence using MSE (mean squared error) loss. The experiment demonstrates the provable failure of causal mode retrieval: models with poles constrained to the real axis fail to retrieve modes associated with complex-conjugate poles.

To unify the recurrent architectures and eliminate the pole geometric bias, inspired by general adaptive IIR filters in the form of equation (1), we present MIRA (Modal IIR Recurrent Architecture), pronounced “mee-ruh”, a unified architectural family with linear time complexity for building LLMs with a highly parallel algebraic structure (see Figure 5). As illustrated in Figure 2, for each block, MIRA realizes a higher-order IIR system through a lattice-ladder structure (Oppenheim & Schafer, 2010), followed by a FFN. This structure enables the model to provably represent the feature modes associated with both real and complex-conjugate poles. Its recurrent dynamics inherently encode temporal order, eliminating the need for explicit positional encoding. The contributions are summarized as follows:

• A Unified Architectural Family. We introduce MIRA (Modal IIR Recurrent Architecture), a unified, positional-encoding-free, linear-time architectural family that realizes higher-order IIR dynamics through an adaptive lattice-ladder topology, enabling the representation of temporal modes associated with both real and complex-conjugate poles.

• Dedicated CUDA Kernel. We show that the algebraic structure of the MIRA realization admits computational associativity despite its higher-order recurrent form. We exploit this associativity to parallelize state propagation in our dedicated CUDA kernel, admitting a minimal critical path of O(T)\mathcal{O}(\sqrt{T}) where T is sequence length.

• Experimental Validation. Controlled experiments on language corpora show that enabling complex poles improves language-modeling performance, while inference measurements with dedicated CUDA kernel show that the MIRA block achieves higher throughput than strong baselines. We further build and pretrain MIRA-S, a small-scale 0.14B-parameter LLM composed entirely of MIRA blocks, which achieves the highest next-token prediction accuracy and the lowest perplexity among strong baselines.

Figure

Figure 2: MIRA Block & Reference LLM. The diagram illustrates lattice circuit at stage kk (top left), an order-KK lattice module (bottom left), a MIRA block (top right), and a reference implementation of the MIRA LLM composed entirely of MIRA blocks (bottom right). In the order-KK lattice module, a rank-one signal mixer forms the input representations through channel-wise signal mixing, the dynamical-modulation signal modulates the lattice-ladder dynamics, the lattice module implements the order-KK lattice dynamics, and the ladder readout produces the output representations.

References (44)