---
title: "Unitary Evolution Recurrent Neural Networks — Arjovsky 2015"
description: "How unitary recurrent networks preserve information, learn long dependencies efficiently, and compare with LSTMs on memory tasks and…"
canonical: "https://research.elamur.ai/free/en/papers/arjovsky-2015-unitary-evolution-recurrent-neural-networks/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/arjovsky-2015-unitary-evolution-recurrent-neural-networks/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/) / Unitary Evolution Recurrent Neural Networks

# Unitary Evolution Recurrent Neural Networks

Paper · 2015 · Martín Arjovsky, Amar Shah and Yoshua Bengio

**Authors:** [Martín Arjovsky](https://md.research.elamur.ai/free/en/authors/martin-arjovsky/), [Shah](https://md.research.elamur.ai/free/en/authors/shah/), Amar and [Yoshua Bengio](https://md.research.elamur.ai/free/en/authors/yoshua-bengio/) · **Year:** 2015 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**210** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2175402905) · arXiv (Cornell University) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [arXiv 1511.06464](https://arxiv.org/abs/1511.06464)
- [OpenAlex](https://openalex.org/W2175402905)

## Deep dive: Unitary Evolution Recurrent Neural Networks

How unitary recurrent networks preserve information, learn long dependencies efficiently, and compare with LSTMs on memory tasks and sequential MNIST. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A recurrent network must keep changing its internal state as new inputs arrive while retaining information that may matter much later. Those demands can conflict. The repeated transformations that make the state useful can also erase the influence of earlier inputs or amplify small changes until training becomes unstable. This paper investigates whether a carefully constrained recurrent transformation can make long sequences easier to learn. Its central proposal is a unitary evolution recurrent neural network, or uRNN: a network whose learned transformation between hidden states preserves vector length.

The difficulty is maintaining that constraint during learning without making every update expensive. An ordinary gradient update can move a unitary matrix outside the permitted set, while restoring the constraint through a general matrix decomposition can be costly. The authors instead assemble the recurrent transformation from inexpensive components that are individually unitary. Their product remains unitary as the component parameters change. The construction combines learned phase changes and reflections with a fixed permutation and Fourier transforms. For a hidden state of dimension n, applying the recurrent transformation requires O(n log n) computation and O(n) storage, instead of the O(n²) computation and memory associated with a general dense matrix.

The hidden state is complex valued, but the implementation represents its real and imaginary components using ordinary real numbers. The architecture also introduces modReLU, a nonlinear activation that changes a complex value’s magnitude while retaining its direction in the complex plane whenever the value remains active. This choice follows an important distinction in the paper: preserving the norm through the recurrent matrix is useful, but the activation function also determines what happens to information and gradients. The mathematical analysis gives an upper bound on gradient growth for orthogonal transformations combined with ordinary ReLU. The experiments then investigate how the proposed complex architecture behaves in practice.

The strongest results concern deliberately difficult memory tasks. On a copying problem, the uRNN retrieves an earlier categorical sequence after delays reaching 500 timesteps, while the tested LSTM and ordinary recurrent network often remain near a strategy that uses no stored content. On an adding problem, the uRNN and LSTM both substantially outperform a constant prediction baseline, although neither approaches zero error at the longest reported sequence length. For pixel sequences from MNIST, the result depends on the ordering. The LSTM reaches 98.2 % test accuracy on the original ordering, compared with 95.1% for the uRNN. With a fixed random pixel permutation, the uRNN reaches 91.4%, compared with 88% for the LSTM.

The paper therefore supports a specific conclusion: an efficiently parameterized, norm-preserving recurrent transformation can provide a useful foundation for learning long dependencies, especially when paired with an activation designed for complex states. It does not establish perfect memory under arbitrary nonlinear processing or universal superiority over gated recurrence. Its exploratory analyses show that gradient decay still appears during training, although less strongly in the uRNN, and that its hidden states continue changing over long inputs more readily than the tested LSTM’s states. The contribution combines an architectural constraint, an efficient implementation, and evidence from controlled sequence problems.

### Ideas worth borrowing

Preserve a useful invariant by construction. The authors do not learn an unrestricted recurrent matrix and repeatedly repair it. They choose components whose composition automatically satisfies the desired constraint. This makes the invariant part of the parameterization itself. The broader design principle applies whenever a learned operation must maintain a mathematical property: first look for inexpensive operations that already possess it, then learn how to combine them. The useful question is whether the permitted composition is expressive enough for the task. This paper shows why that question should be considered alongside optimization cost, rather than after an unrestricted design has already been chosen.

Separate information movement from information removal. A unitary transformation redistributes the hidden state without changing its norm. The activation and incoming inputs then determine how the state changes beyond that redistribution. This separation makes the architecture easier to reason about: contraction caused by the recurrent matrix is no longer mixed together with every other source of information loss. The same habit is useful in other sequential systems. When several components can discard information, isolating their roles helps identify which operation actually limits memory. The paper’s gradient analysis demonstrates the value of examining the linear transformation and the activation separately.

Use structure to make capacity affordable. The recurrent transformation has an nearly linear resource cost in the hidden dimension because it is applied through structured factors. That allows the uRNN to use a larger hidden state while retaining a relatively small parameter count. The reusable idea is to distinguish the size of a representation from the cost of an unrestricted transformation over it. A large state need not imply a dense learned interaction between every pair of coordinates. This matters for [efficient systems](https://md.research.elamur.ai/free/en/topics/efficient-models/), where a restricted but useful transformation may make a much larger working representation feasible.

Respect the geometry of the representation. Applying ordinary ReLU separately to a complex value’s real and imaginary components performed poorly in the authors’ preliminary experiments. Their explanation is that this operation disrupts phase, while modReLU retains phase for active values and changes magnitude instead. The broader lesson is to choose nonlinear operations with the representation’s structure in mind. A familiar activation can have an unintended effect when coordinates carry a different meaning. Here, moving to complex states was accompanied by reconsidering the activation, instead of treating the new representation as an interchangeable container.

Choose baselines that expose missing information. The copying experiment includes a strategy that knows when output is required but remembers none of the original categories. The adding experiment includes a constant prediction whose expected error is known. These baselines make learning curves interpretable. Reaching them can mean that a network has learned the easy organization of the task while failing to use the crucial input content. This principle carries over to [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/): a useful baseline should represent a plausible shortcut or failure mode, so that improvement has a clear informational meaning.

Inspect internal behavior alongside final scores. The authors examine gradients across time, hidden-state norms, distances between states, and a correlation between predictions and a selected input. These analyses help distinguish an apparent memory failure from a more specific failure to incorporate later information. The transferable idea is to turn a suspected mechanism into an observable diagnostic. Such measurements do not automatically prove a causal explanation, but they can show whether that explanation fits the behavior and identify questions that final accuracy alone cannot answer.

### How Mova uses it

For Mova, the small transparent language system in Rust, this paper offers a possible design for a compact sequential state. Its relevance begins with a concrete question: if the system carries information forward through an input stream, can that state evolve without repeatedly shrinking or amplifying the information already present? The uRNN supplies a mathematical way to constrain that evolution. It does not, by itself, supply a language architecture, a linguistic representation, or a rule for deciding which earlier information remains relevant.

No implemented use of unitary recurrence in Mova is established here. The connection is therefore a development possibility, instead of a claim about an existing component. A faithful experimental adaptation would represent the recurrent state through real and imaginary parts, apply the paper’s structured unitary transformation, and distinguish that operation from the mechanisms that introduce inputs or produce outputs. The Rust implementation would be an engineering choice for Mova; the paper’s reported implementation uses Theano.

The most direct attraction is transparent state evolution. Each learned phase factor and reflection has an explicit mathematical role, and the full recurrent transformation has a stated norm-preservation property. That makes it possible to explain what the transition guarantees before examining any task result. Such transparency remains limited, however. Knowing that the state’s norm is preserved does not explain what a coordinate represents, which linguistic distinction is retained, or why an output is correct. Algebraic transparency and semantic [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) would still need to be evaluated separately.

The structured computation also fits a plausible resource constraint. A compact language system might benefit from a state large enough to retain several kinds of contextual information without paying for a general dense recurrent matrix. The paper offers a candidate tradeoff between state size, parameter count, and recurrent computation. Its complexity claims concern the structured hidden-to-hidden transformation. They should not be turned into a claim that an entire language system, including its input representation and output mechanisms, has the same resource requirements.

A useful Mova experiment would begin with the paper’s diagnostic questions. Does information remain accessible after an extended interval? Does new input continue to alter the state? Do gradients still reach earlier states after training has started? The copying and adding tasks provide controlled ways to separate these questions from the many uncertainties of language processing. Success on those tasks would establish that an implementation reproduces the intended memory behavior under simple conditions. It would still leave open whether the same mechanism improves Mova’s actual language tasks.

The paper also suggests caution about promising reversible training. A unitary transition has an efficient inverse, which makes reconstructing earlier states an appealing possibility. The authors present reduced storage during back-propagation as a future direction that would additionally require an invertible activation. Mova could investigate that direction, but it should remain a separate proposal. The architecture tested in the paper does not establish the complete reversible training procedure or its practical memory savings.

### The problem and its context

#### Why remembering is also an optimization problem

A recurrent network processes a sequence by repeatedly updating a hidden state. Each update depends on the existing state and the current input. At the end, or at intermediate positions, an output is computed from that state. If an early input affects a much later prediction, learning must determine how the intervening updates should change so that the earlier information becomes useful.

The training signal for that determination is a gradient. Informally, it measures how a small change in an earlier state would affect the objective being optimized. When that signal becomes extremely small, training has little basis for adjusting the earlier computation. When it becomes extremely large, small parameter changes can produce difficult-to-control changes in the objective. These are the vanishing and exploding gradient problems.

The paper’s explanation emphasizes repetition. A transformation that modestly contracts or expands some directions can have a much larger effect when applied throughout a long sequence. The resulting difficulty is therefore closely tied to depth through time. A task can look simple when described at the input and output level, yet demand a long chain of trainable operations between the relevant evidence and the prediction.

The authors place their work within the earlier analysis of long-term dependency learning by Hochreiter and by Bengio, Simard, and Frasconi. As the paper describes it, the underlying problem is not merely an unfortunate initialization in an otherwise easy optimization task. Reliably storing discrete information in a parameterized dynamical system creates a fundamental difficulty for gradient-based learning. The proposed architecture aims to reduce that difficulty in useful settings rather than remove every aspect of it.

#### Earlier approaches in the paper’s account

The paper identifies self-connections and gates as important existing responses. LSTM and GRU architectures use mechanisms that help regulate the passage of information through time. Their inclusion matters because the proposed uRNN is not compared only with a plainly unprotected recurrent network. The authors test it against an LSTM, a design specifically associated with learning longer dependencies.

Another line of work concerns orthogonal transformations and favorable initialization. Research cited in the paper supports using orthogonal weights to help with optimization. It also considers the IRNN, a recurrent network with ReLU activations whose recurrent matrix begins as the identity. Identity initialization gives the transformation a particularly simple starting behavior, but it differs from constraining the learned transformation to remain norm preserving throughout training.

That distinction motivates much of the paper. A useful initial matrix can cease to have its original property after learning updates. The uRNN instead restricts the recurrent matrix through its parameterization. Whatever values the permitted parameters take, the structured product remains unitary. The comparison therefore concerns an ongoing architectural constraint as well as a favorable starting point.

The authors also acknowledge earlier neural work with complex-valued representations. They describe its adoption and success as limited, while pointing to established uses of complex mathematics in signal processing. Their contribution is not the first appearance of complex numbers in a neural network. It is a particular combination of complex recurrence, efficient unitary factors, and a suitable activation, evaluated on demanding memory problems.

The structured-matrix construction also has precedents in the paper’s account. Fastfood and work on compact compositions for convolutional networks suggest that a succession of simple transformations can remain expressive while using relatively few parameters. The uRNN adapts that general strategy to a different constraint. Here, the factors are chosen so that their composition preserves norm, making the structure relevant both to efficiency and to the dynamics of learning.

#### What norm preservation changes

An orthogonal real matrix preserves the Euclidean length of any vector it transforms. A unitary complex matrix has the corresponding property for complex vectors. Repeated application of such a matrix does not shrink or enlarge a vector merely because the matrix is applied again.

This property addresses an identifiable contributor to unstable gradients. It prevents the recurrent linear transformation from supplying a repeated scaling factor above or below the norm-preserving value. The activation remains important, as do the input and output operations. The architecture therefore has to be understood as a complete recurrence, rather than as a matrix property that automatically settles the behavior of the network.

The paper connects larger hidden states with the possibility of retaining more information from long sequences. A fixed-size state must compress the history it has encountered. If the state is small, more distinctions may have to be discarded. Efficient recurrent computation can therefore help memory in another way: it can make a larger state affordable.

These are related but distinct motivations. A large hidden state increases the available representation space. A norm-preserving transition controls how that state is transformed over time. Neither alone guarantees that training will discover the right representation or that the task’s relevant information will remain recoverable.

The benchmarks are chosen to make these distinctions visible. Copying requires exact retention of categorical content across a delay. Adding requires selectively using marked values spread through a sequence. Sequential MNIST asks the network to classify an image after receiving its pixels as a stream. Together, they test whether the proposed dynamics help under different demands, without establishing a general result across all [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/) tasks.

### The method, step by step

The method begins with a standard recurrent update and changes the structure of its hidden-to-hidden transformation. The authors first analyze why orthogonal weights can control one source of gradient growth. They then construct an efficiently learnable complex counterpart, choose an activation for the resulting state geometry, and connect that state to ordinary real-valued inputs and outputs.

Constructing and training a unitary recurrent network The steps in order.

#### Start from the recurrent update

The paper writes the pre-activation at a new position as follows:

```
zₜ₊₁ = Wₜhₜ + Vₜxₜ₊₁
```

Here, t indexes positions in the sequence. The vector hₜ is the current hidden state, xₜ₊₁ is the next input, Wₜ transforms the hidden state, and Vₜ transforms the input. Their sum is the pre-activation zₜ₊₁, meaning the value before the nonlinear activation is applied.

The new state is then obtained through a pointwise function:

```
hₜ₊₁ = σ(zₜ₊₁)
```

The symbol σ denotes the activation, applied separately to each coordinate. In the recurrent architecture used for the experiments, Wₜ is the same learned matrix W at every position, and Vₜ is likewise shared as V. The time-indexed form is useful for the analysis because it displays the sequence of transformations explicitly.

Let C be the objective being minimized, and let h_T be a later hidden state. The derivative of C with respect to an earlier state depends on the intervening updates. The paper expresses that chain through a product:

```
∂C/∂hₜ = (∂C/∂h_T) ∏ₖ₌ₜᵀ⁻¹ Dₖ₊₁Wₖᵀ
```

The notation ∂C/∂hₜ means the gradient with respect to hₜ. The product symbol ∏ collects the transformations between positions t and T. Each Wₖᵀ is a transposed state transformation. Each Dₖ₊₁ is the diagonal Jacobian of the activation at that position: a matrix containing the activation’s coordinatewise derivatives.

The significance is the repeated multiplication. Even if the individual factors look harmless in isolation, their combined effect can become severe over a long interval. The authors therefore ask what happens when the linear factors preserve norm.

#### Establish the orthogonal case

For a real square matrix, orthogonality is expressed by:

```
WᵀW = WWᵀ = I
```

The superscript ᵀ denotes transpose, and I is the identity matrix. Under this condition, multiplying by W preserves Euclidean vector length. The paper uses the operator 2-norm for matrices and the Euclidean norm for vectors in its argument.

With orthogonal Wₖ, the gradient norm has the following upper bound:

```
‖∂C/∂hₜ‖ ≤ ‖∂C/∂h_T‖ ∏ₖ₌ₜᵀ⁻¹ ‖Dₖ₊₁‖
```

The double bars indicate the relevant norm. The recurrent matrices no longer contribute an expanding factor to this upper bound. What remains is the product of activation-Jacobian norms.

For a pointwise activation, the diagonal Jacobian has norm:

```
‖Dₖ‖ = maxⱼ |σ′(zₖ⁽ʲ⁾)|
```

The index j ranges over hidden coordinates. The expression zₖ⁽ʲ⁾ denotes the pre-activation at coordinate j and position k. The prime in σ′ denotes a derivative, and the vertical bars indicate absolute value. The largest derivative magnitude determines the operator norm of this diagonal matrix.

This makes the choice of activation central. If its derivative magnitude can exceed 1, the bound permits growth through repeated activation factors. If the derivative is uniformly bounded below 1 in magnitude, the argument instead implies exponential gradient decay as the interval grows. A norm-preserving matrix cannot compensate for contraction introduced at every activation.

Ordinary ReLU offers an attractive case for the upper bound. Its active coordinates have derivative 1, while inactive coordinates do not pass a derivative through. The resulting statement is:

```
‖∂C/∂hₜ‖ ≤ ‖∂C/∂h_T‖
```

The symbols retain their earlier meanings. This is a bound against growth in the analyzed hidden-state gradient. It is not a positive lower bound guaranteeing that gradients remain large. Inactive coordinates can still remove gradient information. That distinction is essential when interpreting the paper’s stronger language about avoiding gradient explosion.

#### Move from orthogonal to unitary transformations

For the complex-valued architecture, the corresponding constraint is unitarity:

```
W*W = WW* = I
```

Here, W* is the conjugate transpose: transpose the matrix and conjugate its complex entries. The identity I plays the same role as before. A unitary matrix preserves the norm of complex vectors.

The paper explains the construction through the spectral form of a unitary matrix:

```
W = VDV*
```

In this expression, V is a unitary matrix whose columns supply an eigenvector basis, D is diagonal, and V* is V’s conjugate transpose. Every diagonal entry of D has absolute value 1. In this subsection, V denotes the eigenvector basis, rather than the input matrix used in the recurrent update.

The diagonal entries can be written through real angles:

```
λⱼ = eⁱʷⱼ
```

The symbol λⱼ is an eigenvalue, wⱼ is a real-valued angle, i is the imaginary unit, and e is the exponential base. Varying wⱼ moves the eigenvalue around the complex unit circle without changing its magnitude.

A direct implementation with a fixed dense eigenvector basis would still require O(n²) storage and computation for a state of dimension n. Making that basis the identity would be cheaper, but would leave only a diagonal transformation and restrict how coordinates interact. Requiring the resulting matrix to be real also introduces conjugate-pair conditions on eigenvalues and eigenvectors. The authors use these considerations to motivate a different route.

The central move is to compose simple unitary transformations. Since each factor is unitary, their product is unitary. Learning can then change the parameters inside the factors without requiring a general projection back onto the unitary set.

#### Build the recurrent transformation from inexpensive factors

The first factor type is diagonal:

```
Dⱼ,ⱼ = eⁱʷⱼ
```

Dⱼ,ⱼ is the diagonal entry at coordinate j, and wⱼ is its learned real angle. Multiplication changes that coordinate’s complex phase while preserving its magnitude. The diagonal structure makes both storage and application inexpensive.

The second factor type is a complex reflection:

```
R = I − 2vv*/‖v‖²
```

Here, v is a learned complex vector, v* is its conjugate transpose, and ‖v‖² is its squared norm. The outer product vv* appears in the mathematical definition, but the factor can be applied without storing a general dense matrix. Its parameterization uses the vector v.

The remaining ingredients are a fixed random permutation Π and the Fourier transform ℱ together with its inverse ℱ⁻¹. The permutation rearranges coordinates. The Fourier operations provide structured mixing that can be applied with a fast Fourier transform algorithm.

The diagonal factors, reflections, and permutation require O(n) computation for a matrix–vector operation and O(n) storage. The Fourier operations require O(n log n) computation and do not require storing a dense transform matrix. The benefit depends on applying the factors directly. Materializing their full product as an unrestricted matrix would abandon the structured computation that motivates the design.

The selected composition is:

```
W = D₃R₂ℱ⁻¹D₂ΠR₁ℱD₁
```

W is the recurrent transformation. D₁, D₂, and D₃ are learned diagonal unitary factors; R₁ and R₂ are learned reflections; Π is the fixed permutation; and ℱ and ℱ⁻¹ are the Fourier operations. When W multiplies a state, the rightmost factor acts first.

The authors say that they experimented with different structures before choosing this arrangement. They do not provide a systematic factor-by-factor comparison. The exact ordering should therefore be understood as the architecture they evaluated, rather than as an experimentally established optimum among all possible unitary compositions.

#### Represent complex computation through real quantities

A complex hidden state does not require the implementation to store a special kind of scalar. The authors split every complex quantity into real and imaginary components. For a matrix W and state h, write:

```
W = A + iB
```

A is the real part of W, B is its imaginary part, and i is the imaginary unit.

The state can similarly be written as:

```
h = x + iy
```

Here, x and y are the state’s real and imaginary vectors. They are local notation for this explanation, instead of the input sequence x used elsewhere in the paper.

Complex multiplication then becomes:

```
Wh = (Ax − By) + i(Ay + Bx)
```

The terms Ax − By form the result’s real component, and Ay + Bx form its imaginary component. Every operation on the right is real valued.

Equivalently, the paper presents a real block-matrix representation:

```
[Re(Wh); Im(Wh)] = [A, −B; B, A] [Re(h); Im(h)]
```

Re and Im select real and imaginary parts. The semicolon indicates vertical stacking, and the block matrix contains A and B in the displayed arrangement. This identity explains how complex linear computation can be represented with real arrays.

The same approach extends to the nonlinear operations by expressing their real and imaginary outputs as functions of real inputs. The authors use Theano for implementation and differentiation, and state that the experimental code was made available online. The important implementation point is that the mathematical complex representation remains compatible with real-valued automatic differentiation.

#### Choose an activation that retains phase

The input transformation is complex valued, and the initial hidden state h₀ is learned. The remaining architectural question is how to apply a nonlinearity to a complex pre-activation.

The authors first tried independent ReLU operations on the real and imaginary components. They report poor performance and suggest that changing the components separately interferes with phase. Their preferred activation, modReLU, instead changes magnitude while preserving the complex direction of active values:

```
modReLU(z) = (|z| + b)z/|z| if |z| + b ≥ 0; otherwise 0
```

The scalar z is a complex pre-activation, |z| is its magnitude, and b is a learned real bias. The factor z/|z| specifies direction in the complex plane. There is a separate bias for every hidden coordinate.

The activation can also be expressed through ordinary ReLU:

```
modReLU(z) = ReLU(|z| + b)z/|z|
```

ReLU acts on the real-valued shifted magnitude, while z/|z| carries the phase. This separates the activation’s magnitude decision from its treatment of direction.

The distinction matters operationally. A coordinate can be switched off when its shifted magnitude falls below the threshold. Otherwise, its magnitude changes without independently clipping its real and imaginary components. The paper interprets this as a better match to complex representations that may use phase to carry information.

The displayed definition includes division by |z|. The architecture description does not give a detailed numerical convention for every singular case. More generally, the earlier proof for real orthogonal recurrence with ordinary ReLU should not be treated as a complete proof about the trained complex architecture. The paper’s experiments are needed to assess how the chosen activation behaves in that setting.

#### Map the state to a real prediction

The output transformation uses the stacked real representation of the hidden state:

```
oₜ = U[Re(hₜ); Im(hₜ)] + bₒ
```

The vector oₜ is the real-valued output at position t. U is a real learned output matrix, and bₒ is a real output bias. The hidden state hₜ is split into its real and imaginary components before the output transformation.

The output can then be used with an ordinary task objective. For classification, the paper describes applying softmax and using cross-entropy. For the adding task, the prediction is evaluated with mean squared error. Complex recurrence therefore does not require complex-valued targets or losses.

This output step also clarifies the scope of the unitary constraint. It applies to the hidden-to-hidden matrix. The input transformation and output transformation are learned for their respective roles, and the complete network is not described as a sequence of norm-preserving operations from input to prediction.

#### Initialize and train

The authors report that initialization was not especially sensitive in their experiments, but give the choices used. Input and output weights follow the cited Glorot-style uniform initialization:

```
w ∼ 𝒰[−√6/√(n_in + n_out), √6/√(n_in + n_out)]
```

The scalar w is an initialized weight, 𝒰 denotes a uniform distribution, and n_in and n_out are the incoming and outgoing dimensions of the relevant transformation. This initialization is used for the input and output matrices.

The activation and output biases begin at 0. In the authors’ description, the recurrent computation therefore starts with a linear, unitary behavior, which may help early optimization. The reflection-vector coordinates are sampled from 𝒰[−1, 1]. Since scaling a reflection vector does not change the resulting reflection, the authors regard the width of that initialization distribution as unimportant.

The learned angles in the diagonal factors are sampled from 𝒰[−π, π]. This spreads the corresponding complex diagonal entries uniformly around the unit circle.

The initial hidden-state coordinates use:

```
h₀ ∼ 𝒰[−√(3/(2n_h)), √(3/(2n_h))]
```

Here, h₀ is the learned initial state and n_h is the complex hidden dimension; the initialization is applied through the real-valued representation. The paper states the resulting expectation as:

```
𝔼[‖h₀‖²] = 1
```

The symbol 𝔼 denotes expectation, and ‖h₀‖² is the initial state’s squared norm. The intention is to keep the scale of the initial state comparable with the inputs and outputs.

For optimization, the authors tried several algorithms and selected RMSProp because it converged fastest in their experiments. The reported learning rate is 10⁻³, with decay rate 0.9. The ordinary recurrent network and LSTM required gradient clipping at 1. The uRNN did not require clipping in these experiments. The identity-initialized recurrent network was particularly unstable, requiring small learning rates and clipping to run without diverging.

### Experiments and results

The experiments ask whether the proposed recurrence helps on tasks whose difficulty comes largely from carrying information across many updates. They compare a tanh recurrent network, an identity-initialized ReLU recurrent network called IRNN, an LSTM, and the uRNN. The tasks are intentionally demanding memory benchmarks, rather than a broad sample of practical applications.

The reported comparisons use shared optimization choices where described, but they do not make every architectural quantity equal. Some experiments approximately match parameter counts, while others give the uRNN a much larger hidden state with fewer parameters. This is part of the paper’s efficiency argument, but it is also relevant when interpreting which architectural feature explains a result.

#### Copying a categorical sequence after a delay

The copying task separates retaining content from recognizing when to produce it. The input uses 10 categories, labeled from a₀ through a₉. An initial sequence of 10 categories is sampled independently, with replacement, from a₀ through a₇. Those are the categories the network must remember.

The initial content is followed by T−1 blank entries using a₈. A delimiter a₉ then indicates that reproduction should begin, and the input ends with 10 more blanks. The total input length is T+20. The target output is blank for T+10 positions and then reproduces the original 10 categories in their original order.

The objective is the average categorical cross-entropy over the sequence. This metric rewards correct predictions at every position, which makes a carefully chosen baseline important. A system can learn the blank portion and the output schedule while retaining none of the original content.

The paper’s memoryless strategy does exactly that. It predicts blanks at the appropriate positions and then distributes its prediction uniformly over the possible content categories. Its average cross-entropy is:

```
C_memoryless = 10 log(8)/(T + 20)
```

C_memoryless denotes the baseline cross-entropy, T controls the delay, and log is the logarithm used in the expression. The numerator accounts for uncertain content predictions, while the denominator averages the loss across the sequence.

For this experiment, the tanh network and IRNN each use 80 hidden units, the LSTM uses 40, and the uRNN uses 128. The authors describe the resulting networks as having roughly 6500 parameters each. This makes the comparison approximately matched by parameter count, while allowing different state sizes.

The tested delays are 100, 200, 300, and 500. The uRNN solves the task across these settings and does not linger near the memoryless baseline. The LSTM beats that baseline only at the 100-step delay. At the longer delays, the LSTM and ordinary tanh network behave approximately like the baseline, despite having access to the original categories.

The important observation is the learning pattern as well as the eventual outcome. The uRNN learns to exploit the stored content, while the unsuccessful systems settle on behavior that handles the predictable parts of the sequence. The paper does not supply exact final numerical losses in the prose, so the learning-curve observations should remain qualitative.

#### Adding marked values in a long sequence

The adding problem requires selective use of input content. Each example contains a random numerical sequence and an accompanying indicator sequence, both of length T. The numerical entries are sampled from 𝒰[0,1]. The indicator contains exactly two entries equal to 1, with the remaining entries equal to 0.

One marked position is sampled in the first half of the sequence and the other in the second half. The target is the sum of the numerical values at those positions. The network must therefore identify relevant inputs, retain the earlier selected value, and incorporate the later one.

A constant prediction of 1 has expected mean squared error 0.167. This provides the baseline. Improving on it requires useful dependence on the selected input values, rather than simply predicting the typical target.

The tanh network, IRNN, and LSTM use 128 hidden units. The uRNN uses 512. The parameter counts are given as about 16K each for the tanh network and IRNN, approximately 60K for the LSTM, and almost 9K for the uRNN. The larger uRNN state is therefore accompanied by a smaller parameter count in this comparison.

The authors try batch sizes of 20 and 50 and report the better results. They evaluate sequence lengths 100, 200, 400, and 750. The uRNN and LSTM clearly surpass the constant baseline through T=400. Both still perform usefully at T=750, but their mean squared errors do not approach 0. The uRNN has lower test error in the reported comparison, although its learning curve is noisier.

The tanh network and IRNN do not outperform the baseline at the tested lengths under the authors’ training conditions. The paper contrasts this with earlier reported success for those architectures after much longer training. Its proposed explanation concerns optimization: the experiments use RMSProp and a learning rate of 10⁻³, whereas the earlier work used momentum-based SGD with a reported learning rate of 10⁻⁸.

That explanation also limits the comparison. The result concerns the architectures under the training settings actually used. It does not establish that an identity-initialized network cannot learn the task under another optimizer or schedule. The authors explicitly connect the discrepancy with prior results to those choices.

#### Classifying MNIST from a pixel stream

For sequential MNIST, the network receives image pixels one at a time and predicts the class after processing the sequence. The paper considers the original ordering and a fixed random permutation shared across examples. In the original setting, pixels are read from left to right and from bottom to top.

The same network architectures used for adding are retained, with a softmax output for classification. The authors run optimization until the test categorical cross-entropy converges and report test accuracy. This procedure makes clear that the reported convergence decision uses test data, an issue that matters when assessing the evaluation protocol.

With the original pixel order, the LSTM achieves the better final accuracy. The authors nevertheless report that the uRNN converges with fewer training iterations.

Original-order sequential MNIST test accuracy The LSTM achieves higher final accuracy with the original pixel order.

**The numbers**

| System or setting | test accuracy % |
| --- | --- |
| LSTM | 98.2 |
| uRNN (this paper) | 95.1 |

The ordering changes the outcome. When the same random permutation is applied to the pixels of every example, the uRNN achieves the higher test accuracy.

Permuted sequential MNIST test accuracy The unitary recurrence performs better when the fixed permutation disrupts pixel locality.

**The numbers**

| System or setting | test accuracy % |
| --- | --- |
| LSTM | 88 |
| uRNN (this paper) | 91.4 |

The paper interprets the permutation as increasing the need to capture dependencies across more distant positions. The original order retains substantial local structure, whereas permutation distributes related image information across the sequence. This interpretation is consistent with the uRNN’s advantage on the other long-memory experiments, although it does not isolate the reason for the classification improvement.

The authors contrast the permuted result with an earlier report in which the IRNN achieved almost 82% accuracy after 1 million training iterations. They also report that the uRNN converges in fewer than 20 thousand iterations, while the LSTM needs from 5 to 10 times as many iterations to finish learning. These are iteration comparisons, not measurements of elapsed training time.

The mixed result is informative. Unitary recurrence is helpful under the harder ordering, but the LSTM retains an advantage when pixels arrive with their original local organization. The experiments therefore support a relationship between architectural behavior and sequence structure, instead of an unconditional ranking.

### What the ablations show

The paper does not report a systematic component-removal ablation; it offers preliminary activation comparisons and exploratory measurements of gradients and hidden-state behavior.

#### The activation comparison motivates modReLU

The closest thing to an architectural ablation is the authors’ account of trying ReLU independently on the real and imaginary state components. They report that this usually worked poorly and then describe the motivation for modReLU.

This comparison supports treating the activation as an important design choice. It does not establish the size of its contribution with a numerical comparison, nor does it show that phase preservation alone explains the improvement. There is no reported table holding the remaining architecture fixed and measuring the performance change between these activation choices.

The same caution applies to the structured recurrent product. The authors state that they explored different arrangements before settling on the reported composition. They do not show what happens when a Fourier transform, reflection, diagonal factor, or permutation is removed. The experiments evaluate the complete chosen design.

#### Gradient measurements separate initialization from training

To examine the proposed learning mechanism, the authors measure the norm of the objective’s gradient with respect to hidden states at different positions. They do this on the adding task at initialization and again after 100 training iterations.

At initialization, the uRNN transmits gradient information across the sequence without the decay seen in the other tested architectures. This agrees with the intended starting behavior: the activation biases are initially 0, and the recurrent transformation is unitary.

After 100 iterations, the situation changes. Every architecture shows vanishing gradients, including the uRNN. The uRNN’s decay is substantially weaker in the displayed analysis, so the finding is a comparative improvement rather than the disappearance of the problem.

This observation is particularly valuable because it prevents an overly broad reading of the mathematical motivation. A norm-preserving recurrent matrix can improve the conditions for learning while the trained nonlinear system still loses gradient information. The paper’s empirical diagnostics reveal that difference directly.

#### Longer forward passes expose state saturation

The authors also test how trained states behave when the input stream continues beyond the length used during training. They take networks trained on the adding task with T=200 and perform forward passes on newly generated examples with T=1000.

They measure hidden-state norms and the Euclidean distance from each state to the final state. These quantities address different questions. The norm shows how the state’s overall magnitude evolves. The distance to the final state indicates whether later inputs continue to produce a substantially different representation.

The LSTM state norm rises quickly and then becomes roughly constant after about 500 positions. Its state at t=500 is also close to its state at t=1000. The uRNN’s state norm changes more steadily, and its earlier states remain more distinct from the final state.

The authors interpret this as evidence that the LSTM is becoming less able to incorporate additional information. The uRNN appears less affected in this experiment. The interpretation is plausible, but the measurements do not establish a universal criterion for useful memory. A changing state could reflect irrelevant input effects, while a stable state could sometimes represent successful retention. Here, the measurements matter because they accompany a task where later selected inputs should affect the answer.

#### Prediction correlation identifies a specific failure

A further analysis concerns the adding task with T=750. The authors measure the relationship between the LSTM prediction and the first selected numerical value. They report a Pearson correlation of ρ=0.991.

Pearson correlation measures the strength of a linear association between the quantities being compared. In this setting, the target requires both selected values. A prediction so strongly associated with the first value supports the authors’ explanation that the network has retained the earlier contribution while failing to incorporate the later one effectively.

This is more informative than saying only that the final error remains high. It suggests a particular asymmetry in what the network learned. The result fits the saturation analysis, in which later inputs have diminishing influence on the state.

Together, these exploratory measurements support the proposed mechanism without fully isolating it. They show that the uRNN retains stronger gradients and continues changing its state under conditions where the tested LSTM struggles. They do not determine how much of the advantage comes from unitarity, complex representation, activation choice, hidden-state size, or their interaction.

### Limitations

#### Limits acknowledged or directly demonstrated by the authors

The authors’ central aim is to mitigate difficult long-term dynamics, and their own measurements show that the difficulty remains. After training has begun, the uRNN also exhibits vanishing gradients. Its advantage is reduced decay relative to the alternatives in the reported analysis. Any claim that the architecture guarantees indefinitely useful gradients would go beyond that evidence.

The adding experiment provides a related practical limit. At T=750, neither the uRNN nor the LSTM achieves mean squared error close to 0. The uRNN’s favorable behavior on copying therefore does not transfer into perfect performance on every long-sequence task. Retaining an exact categorical sequence and selectively accumulating marked numerical values impose different demands.

The original-order MNIST result also limits the scope of the performance claim. The LSTM reaches higher test accuracy in that setting. The authors themselves interpret the contrast between original and permuted ordering as evidence that the architectures favor different kinds of sequential structure.

The discussion identifies training memory as an unresolved issue. Back-propagation through a long sequence ordinarily requires storing hidden states, which can become expensive. The authors propose exploiting the efficient inverse of a unitary matrix, together with an invertible activation, to reconstruct states during the backward pass. This is a future possibility, not an implemented result in the experiments.

The paper also presents its phase-based explanation partly as a hypothesis. Separate real and imaginary ReLU operations performed poorly, and modReLU worked better in the authors’ development process. The idea that phase supports persistent information is a motivating interpretation, rather than a complete account of what the trained coordinates encode.

#### Limits visible in the experimental design

A careful reading must distinguish the proven orthogonal-ReLU bound from the complete uRNN. The proof controls hidden-state gradient growth under its stated conditions. The evaluated architecture uses complex states, modReLU, learned input and output transformations, and a task-dependent loss. The paper does not provide an equivalent comprehensive proof for every derivative in that full system.

There is also no lower-bound guarantee ensuring that a useful gradient survives. An upper bound can rule out one kind of growth without ensuring that relevant directions remain informative. The empirical finding of gradient decay after training is consistent with this distinction.

The structured parameterization is efficient, but the paper does not show that its particular product can express every unitary matrix. Its argument is that the composition is expressive and useful, supported by the reported tasks. Expressiveness relative to an unrestricted unitary matrix remains a separate question from preservation of the unitary constraint.

The benchmark scope is narrow. Copying and adding deliberately isolate memory demands. Sequential MNIST introduces real image content, but presents it through a specialized streaming interface. The paper does not evaluate language generation, linguistic analysis, speech recognition, or a broad application suite. Its introduction mentions areas where deep networks have succeeded; those references should not be mistaken for evaluations of the uRNN.

The later comparison settings also do not isolate one variable. On adding and sequential MNIST, the uRNN uses a larger hidden state and fewer parameters than the LSTM. That demonstrates an attractive architectural tradeoff, but it does not establish what would happen with equal state dimensions, equal parameter counts, or equal computational budgets across every system.

Optimization affects the baseline results. The authors report instability for the IRNN and explain differences from earlier findings through optimizer and learning-rate choices. Its omitted learning curves therefore should not be read as a complete investigation of its best achievable behavior. The paper compares the configurations it ran.

The MNIST protocol uses convergence of test cross-entropy to decide when optimization has finished. The reported accuracies remain the paper’s test results, but test information also participates in that stopping decision. The text does not establish an independently selected stopping point from a separate validation split.

The results are not accompanied by reported uncertainty ranges or a detailed account of variation across repeated runs. Consequently, the precise robustness of the accuracy differences cannot be assessed from the stated values alone. The qualitative consistency across several tasks is useful evidence, but it does not replace a measurement of run-to-run variability.

Finally, iteration counts do not establish wall-clock efficiency. The structured recurrence has favorable asymptotic costs, and the uRNN reaches convergence in fewer updates in the reported MNIST comparisons. Actual elapsed time also depends on implementation and the operations performed per update. The paper does not provide enough timing evidence to turn the iteration advantage into a specific training-time speedup.

### What came after

The later citing works show that the paper remained relevant to discussions of recurrent learning, attention, and long-sequence architectures. The citation relationship is established, but the available descriptions do not specify how each work used the uRNN construction. It is therefore important to distinguish a later work’s stated subject from a demonstrated technical inheritance. A citation alone does not show that its authors adopted complex states, reproduced the structured matrix product, or validated the same explanation for improved memory.

#### Recurrent learning and alternative routes to memory

[Regularizing and Optimizing LSTM Language Models](https://md.research.elamur.ai/free/en/papers/merity-2017-regularizing-optimizing-lstm-language-models/) concerns the training of LSTM-based language systems. Its connection to this paper is relevant because LSTM is both an important predecessor in the problem setting and a central experimental comparator. The uRNN results show that a constrained alternative can outperform the tested LSTM on some long-memory tasks. The later title points toward a complementary question: how far the existing gated architecture can be improved through regularization and optimization. The citation does not establish that the later work uses unitary recurrence.

[Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems](https://md.research.elamur.ai/free/en/papers/raffel-2015-feed-forward-networks-attention-can/) places another architectural possibility beside recurrent memory. Its title identifies attention in a feed-forward network as a route to solving some problems that require access to earlier information. This matters conceptually because the uRNN paper locates its intervention inside the recurrent state transition. The citing work’s stated subject raises the broader question of whether a task requires better state evolution or another way to access relevant inputs. The available citation information does not identify which experiments or arguments it draws from the uRNN paper.

[Character-Level Language Modeling with Deeper Self-Attention](https://md.research.elamur.ai/free/en/papers/al-rfou-2018-character-level-language-modeling-deeper/) moves the discussion towards character sequences and self-attention. The title establishes a different application and architectural emphasis, but not a use of the unitary factorization. Its presence among the citing works situates the paper within a broader conversation about processing extended sequences. The uRNN’s contribution to that conversation is specific: it offers efficient, constrained recurrence. It should not be credited with later attention mechanisms merely because a work discussing them cites it.

#### Later interest in recurrent sequence architectures

[Resurrecting Recurrent Neural Networks for Long Sequences](https://md.research.elamur.ai/free/en/papers/orvieto-2023-resurrecting-recurrent-neural-networks-long/) returns explicitly to recurrence and long inputs. That stated subject closely matches the original motivation: a recurrent state can be an attractive representation of sequence history if its dynamics remain trainable. The citation establishes the uRNN as part of the relevant earlier literature. The available description does not establish which constraints, parameterizations, or experimental lessons the later work retains, so a more specific claim of adoption would be unwarranted.

[Hierarchically Gated Recurrent Neural Network for Sequence Modeling](https://md.research.elamur.ai/free/en/papers/qin-2023-hierarchically-gated-recurrent-neural-network/) identifies gating and hierarchy as its architectural focus. This is another useful point of contact with the earlier paper’s framing. The uRNN authors discuss gates as an existing response to long-term learning difficulties, while exploring norm-preserving recurrence as their own intervention. The later title indicates continued work on the organization of recurrent updates. It does not establish whether the proposed gates accompany unitary transformations or use an entirely different transition.

[Subgroups of U(d) and Natural RNN and Transformer Architectures](https://md.research.elamur.ai/free/en/papers/nunley-2026-subgroups-u-d-induce-natural/) has the most direct mathematical connection in its title. It explicitly concerns subgroups of the unitary group and their relationship to recurrent and Transformer architectures. The original uRNN paper provides a concrete reason that unitary structure matters computationally: it constrains state evolution while allowing efficient learned transformations. The later title suggests a broader structural investigation, but the available information does not specify its constructions or conclusions.

These connections preserve an important distinction in the original contribution. The paper offers a particular answer to long-sequence learning through structured unitary recurrence, while the citing works address a wider range of training methods and architectures. What remains reusable across that range is the question the uRNN makes precise: how can a system transform a growing history without allowing its repeated internal updates to destroy the information or learning signal that later decisions need?

## Cite

Cite as Martín Arjovsky, Amar Shah and Yoshua Bengio. 2015. Unitary Evolution Recurrent Neural Networks. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1511.06464](https://doi.org/10.48550/arxiv.1511.06464) · [arXiv 1511.06464](https://arxiv.org/abs/1511.06464)

```bibtex
@misc{arjovsky2015unitary,
  title = {{Unitary Evolution Recurrent Neural Networks}},
  author = {Martín Arjovsky, Amar Shah and Yoshua Bengio},
  year = {2015},
  doi = {10.48550/arxiv.1511.06464},
  eprint = {1511.06464},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1511.06464}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
