---
title: "Rotational Unit of Memory — paper by Dangovski et al. (2019)"
description: "The Rotational Unit of Memory uses input-dependent rotations in recurrent networks and tests their value for recall, prediction, and summarization."
canonical: "https://research.elamur.ai/free/en/papers/dangovski-2019-rotational-unit-memory-novel-representation/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **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/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/dangovski-2019-rotational-unit-memory-novel-representation/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Rotational Unit of Memory: A Novel Representation Unit for RNNs with Scalable Applications

# Rotational Unit of Memory: A Novel Representation Unit for RNNs with Scalable Applications

Paper · 2019 · Rumen Dangovski, Li Jing, Preslav Nakov et al.

**Authors:** [Rumen Dangovski](https://md.research.elamur.ai/free/en/authors/rumen-dangovski/), [Li Jing](https://md.research.elamur.ai/free/en/authors/li-jing/), [Preslav Nakov](https://md.research.elamur.ai/free/en/authors/preslav-nakov/), Mićo Tatalović and [Marin Soljačić](https://md.research.elamur.ai/free/en/authors/marin-soljacic/) · **Year:** 2019 · **Venue:** Transactions of the Association for Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **5** papers in our library of more than 163,000 papers whose bibliographies we read · Transactions of the Association for Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/Q19-1008/)
- [PDF](https://aclanthology.org/Q19-1008.pdf)
- [DOI 10.1162/tacl_a_00258](https://doi.org/10.1162/tacl_a_00258)

## Summary

A recurrent neural network reads a sequence by updating a hidden state, a vector that carries information forward from one step to the next. If a cue arrives long after the information it refers to, the network must still have something it can use to respond. Long short-term memory (LSTM) and gated recurrent units (GRUs) were designed to make this easier, yet the authors show that both can struggle even when the job is as simple as copying a short string after a long pause. Their Rotational Unit of Memory, or RUM, changes how the recurrent state is carried forward. It learns a rotation from the current input and the preceding state. The rotation changes the direction of a vector while preserving its length. RUM can also keep a running product of these rotations, giving it a second state in which to retain a record of earlier transformations.

The clearest results come from the synthetic tests. RUM reached 100% accuracy on the copying task with a delay of T = 500. Several other orthogonal recurrent units also solved that task. The difference was more pronounced when a query at the end of a string asked the network to recover the value associated with a particular key. On the associative recall test at input length T = 50, RUM with accumulated rotations and without time normalization reached 100.0% accuracy using 13k parameters. WeiNet also reached 100.0%, using 22k parameters. RUM without accumulated rotations performed much more like the conventional gated baselines on this test.

The language experiments show where the same cell helped in larger systems. On bAbI [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/), RUM improved on the recurrent baselines without attention, while dedicated memory systems scored much higher overall. For character prediction on the Penn Treebank, a hybrid with fast LSTM cells and a slow RUM cell achieved 1.189 bits per character on the test split, close to the best results in the paper’s comparison. In [text summarization](https://md.research.elamur.ai/free/en/concepts/text-summarization/), the best RUM configuration for CNN / Daily Mail kept an LSTM encoder and used RUM in the decoder. That pairing also improved all reported overlap scores when trained on CNN / Daily Mail and tested on Science Daily. The outcomes depend on where RUM is used and which of its options are enabled. Accumulating rotations helped with associative recall, while the best character prediction configuration used only the current rotation and needed an additional normalization step to train stably.

## Deep dive: Rotational Unit of Memory: A Novel Representation Unit for RNNs with Scalable Applications

The Rotational Unit of Memory uses input-dependent rotations in recurrent networks and tests their value for recall, prediction, and summarization. · about 40 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a recurrent state must carry

A recurrent neural network, or RNN, processes a sequence by applying the same update rule at successive positions. At each position it has access to a new input and to a hidden state computed from earlier inputs. The hidden state has a fixed number of coordinates. A long sequence can therefore demand more from that state than a short one even when the final answer is equally small. In the paper’s associative recall task, for example, the answer is a single digit. The challenge is to retain enough about all the letter–digit associations to produce the right digit when the query letter eventually arrives.

The act of remembering also has a counterpart during training. An error on a late output must provide a learning signal to the computations that processed the relevant early inputs. Back-propagation through time traces that signal through the sequence of recurrent updates. Along the way it repeatedly applies derivatives of those updates. If they keep shrinking the signal, the network has little basis for changing its early decisions. If they keep amplifying it, the resulting updates can become difficult to control. These are the vanishing and exploding gradient problems. They concern the learning signal, while loss of information in the hidden state concerns the forward computation. The paper treats both as reasons to examine how the recurrent transition moves the state.

LSTM and GRU address retention with gates. A gate calculates coefficients that control how much of a value to carry, suppress, or replace. A coordinate that already holds useful information can pass forward mostly unchanged. A coordinate that needs updating can take on more of a newly computed value. The gated recurrent unit described in [Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation](https://md.research.elamur.ai/free/en/papers/cho-2014-learning-phrase-representations-rnn-encoder/) provides the immediate starting point for RUM. The authors keep the GRU’s mechanism for mixing old and new states and change the operation used to construct the new candidate.

The paper identifies two pressures on a recurrent system. The hidden vector has to represent a potentially complicated history, and the operations that update it must leave useful information available. Adding storage addresses the first pressure. Changing the transition addresses the second. RUM makes those choices related. The same operation used to transform the hidden vector can be accumulated in a matrix that travels alongside it. The two states then carry different kinds of information. The vector is the current recurrent representation, while the matrix describes a transformation influenced by earlier inputs.

#### Earlier ways to control the transition

The paper traces one line of work through unitary learning. A unitary matrix preserves length in a complex vector space, and an orthogonal matrix is the counterpart for real vectors. The recurrent computation in RUM uses real vectors. For intuition, consider applying a length-preserving matrix many times to a vector. The direction can change at each application, but the operation itself contributes no growth or decay in length. When a transpose of such a matrix occurs in a backward computation, it has the same length-preserving property. This makes orthogonality attractive for a recurrent transition that may be applied across a long span.

Earlier recurrent architectures enforced or encouraged this property in several ways. The unitary RNN and efficient unitary RNN built the required structure into their parameterizations. Other work projected gradient updates onto the space of unitary matrices or used a penalty to keep a learned matrix close to the desired structure. Those approaches concern the form of a learned transition. RUM learns vectors from which the transition is constructed at each step. The geometry of the construction makes the result orthogonal, so the weights that produce those vectors can be trained as ordinary affine maps.

The authors also point to a tension between preserving information and discarding it. A transition that keeps length is attractive when the task asks a network to hold a piece of information through a delay. A language task can require the network to move on from earlier context as the sequence changes. The gated orthogonal recurrent unit, or GORU, combines an explicitly parameterized orthogonal operation with gates to provide that ability to forget. It is the closest predecessor in the authors’ comparison. Both cells adapt a gated recurrent design, and both use an orthogonal transformation. In GORU the angles of the transformation are parameters. In RUM the vectors produced for a particular input and history determine the angle and the plane.

The paper also distinguishes its use of rotations from the vision work it cites. There, rotations can describe the orientation of an object or help define a representation that behaves predictably when an image is rotated. In RUM the input need have no physical orientation. The plane and angle exist in the learned hidden space. Rotating a hidden vector is a way of changing its representation during recurrence, including when the external input is a character or a word.

#### Earlier ways to give a network more memory

A second line of work looked for ways to keep more information available than a single recurrent vector ordinarily provides. Attention can give a system access to previously computed representations and let a query assign different weights to them. The work reported in [Teaching Machines to Read and Comprehend](https://md.research.elamur.ai/free/en/papers/hermann-2015-teaching-machines-read-comprehend/) is among the examples the paper cites in connection with attention. [Neural Turing Machines](https://md.research.elamur.ai/free/en/papers/graves-2014-neural-turing-machines/) are another example of a network coupled with additional memory. The authors point out that these mechanisms can enlarge the system and make training more difficult.

The associative-memory work they discuss offers another option. A network can update a matrix as it reads its inputs and later use that matrix in its computations. The learned parameters determine how to make the updates. The updated matrix itself is sequence-dependent state. The work by Zhang and Zhou is especially relevant because its recurrent weights change with the sequence. A network can thereby devote a larger state to a particular input without training a separate set of independent parameters for each position or each sequence.

RUM applies this principle to rotations. A product of rotations is another rotation, so the accumulated state can incorporate new transformations while retaining the geometric property that motivated the design. This gives the paper two questions to test. The first is whether that representation makes a difference when the desired memory behavior can be specified exactly. The second is whether replacing a conventional cell with RUM helps when success requires more than remembering a designated symbol, as it does in character prediction and summary generation.

### The method, step by step

#### From the input to a candidate state

The input to a RUM step is a vector at the current position. The cell also receives the hidden vector from the preceding position. It projects the input into the hidden space, so the two can participate in the same operations. A separate computation combines the input and preceding hidden vector to produce a target vector. The embedded input and the target define the geometry of the step. Their directions identify the plane in which to rotate and the angle through which to turn.

The target serves as a geometrical reference. Its coordinates are learned through the task loss, and the training data supply no explicit target angles. The rotation is chosen to carry the direction of the embedded input towards the direction of the target. The vector that actually undergoes the transformation is the preceding hidden state. Its part outside the chosen plane carries through unchanged. Its part in the plane turns according to the angle defined by the other two vectors.

The cell can apply the rotation for the current step directly, or compose it with the rotational state accumulated so far. After transforming the old hidden vector, RUM adds the embedded input and applies an activation function. The result is a candidate for the next hidden vector. The update gate then chooses, coordinate by coordinate, how much to retain from the preceding hidden state and how much to take from the candidate. An optional final normalization sets the length of the resulting vector before it goes to the next step.

How a RUM cell updates its recurrent state The steps in order.

#### Constructing the rotation

The paper describes the hidden vector in a real Euclidean space, where the length of a vector and the angle between two directions are both defined. Its use of *phase* refers to direction in this geometry, as measured relative to a reference. There is no single fixed reference direction throughout the sequence. The embedded input and memory target provide references that can change from one step to the next.

```
θ = arccos((a · b) / (‖a‖ ‖b‖))
```

Here `a` and `b` are the two non-zero column vectors used to specify the rotation. The dot denotes their inner product, and the paired bars denote Euclidean length. Division by the two lengths gives the cosine of the angle between the vectors. `arccos` is the inverse cosine, which returns that angle as `θ`. Changing the length of either vector while keeping its direction leaves this angle the same.

```
u = a / ‖a‖
```

In this rotation construction, `u` is the unit vector pointing in the direction of `a`, and `‖a‖` is the length of `a`. This `u` belongs to the plane basis. The cell’s update gate below has a time subscript and is a separate quantity.

```
v = (b − (u · b)u) / ‖b − (u · b)u‖
```

Here `v` is the second unit vector of the plane basis. `b` is the target direction vector, and `u · b` gives its component along the unit vector `u`. Subtracting `(u · b)u` leaves the part of `b` perpendicular to `u`. Dividing by the length of this remainder gives `v`. The construction uses the part of `b` that points away from `a` to choose which way to turn within the plane.

```
R̃(θ) = [ cos θ  −sin θ
          sin θ   cos θ ]
```

`R̃(θ)` is the rotation matrix in the coordinates of the plane. `cos` and `sin` are the cosine and sine of the angle `θ`. The rows of the bracketed array give the new plane coordinates from the old ones. In the ordered basis given by `u` and `v`, the first column specifies where the direction `u` goes. The paper specifies the identity transformation when `a` and `b` already have the same orientation.

```
R = (I − uuᵀ − vvᵀ) + (u, v) R̃(θ) (u, v)ᵀ
```

`R` is the rotation in the full hidden space, and `I` is the identity matrix in that space. The superscript `ᵀ` denotes transpose. The products `uuᵀ` and `vvᵀ` project a vector onto the respective unit directions. Subtracting both projections from `I` gives the part perpendicular to the rotation plane. The matrix `(u, v)` has `u` and `v` as columns. Its transpose extracts the plane coordinates, `R̃(θ)` turns them, and `(u, v)` maps them back into the hidden space. Adding the two terms reassembles the vector with its perpendicular component intact.

```
Rotation(a, b) = R
```

`Rotation` names this construction, `a` and `b` are its two vector arguments, and `R` is the resulting matrix. The directions of `a` and `b` specify the turn, so their lengths can differ. The action of `R` preserves the length of whatever hidden vector it transforms, including a hidden vector that lies partly outside the plane.

The plane decomposition also matters for implementation. To apply a single rotation, the paper avoids forming all the entries of `R` explicitly and instead works from the projections and the plane operation. For the implementation it describes, it reports linear memory in the hidden dimension and time quadratic in that dimension. The separate accumulated rotation, when used, is specified as a state with a row and a column for every hidden coordinate. The shortcut for the plane operation and the definition of the accumulated state describe different parts of the computation.

#### The maps learned by the cell

The RUM algorithm takes a sequence of input vectors and an initial hidden state. Let `Nₓ` be the dimension of each input vector, `Nₕ` the hidden dimension, and `T` the number of recurrent steps. The paper initializes the kernels orthogonally with gain 1.0. The gain is the scale applied at initialization. The maps are written below by their action on column vectors, with each kernel understood to map from the dimension of its argument to the dimension required by its output.

```
τₜ = Wₓₕ^τ xₜ + Wₕₕ^τ hₜ₋₁ + bₜ^τ
```

`τₜ` is the memory target at step `t`. `xₜ` is the current input, and `hₜ₋₁` is the preceding hidden state. `Wₓₕ^τ` maps the input to the hidden space, `Wₕₕ^τ` maps from the hidden space to itself, and `bₜ^τ` denotes the target bias in the algorithm. The superscript `τ` identifies the affine computation that generates the target. Since the previous hidden vector is an argument, the same input can induce a different target after a different history.

```
u′ₜ = Wₓₕ^u′ xₜ + Wₕₕ^u′ hₜ₋₁ + bₜ^u′
```

`u′ₜ` is the vector of gate scores before activation at step `t`. `Wₓₕ^u′` projects `xₜ`, the current input, into the hidden space used by the gate. `Wₕₕ^u′` acts on `hₜ₋₁`, the preceding state, and `bₜ^u′` is the gate bias. The prime marks the scores before they become gate coefficients. The gate and the target use separate kernels, so the direction of the turn and the amount of the candidate admitted can respond differently to the same input.

```
uₜ = sigmoid(u′ₜ)
```

`uₜ` is the update gate at step `t`, `u′ₜ` is the score vector, and `sigmoid` applies the sigmoid function to each score. Each output is a mixing coefficient between zero and one. Large values favor retaining the old hidden coordinate. Small values favor the corresponding candidate coordinate.

```
ε̃ₜ = W̃ₓₕ xₜ + b̃ₜ
```

`ε̃ₜ` is the input embedded in the hidden space at step `t`. `W̃ₓₕ` is the embedding kernel acting on the current vector `xₜ`, and `b̃ₜ` is the embedding bias. The tildes distinguish this map and its output from the maps for the target and the gate. The embedded input is used twice, once in defining the rotation and once as an additive contribution to the candidate.

The cell therefore has two routes for the new input to affect the candidate. It can add a vector directly, and it can change what happens to the state carried forward from the past. The old state also affects its own transition through the memory target. This dependence is important when interpreting the gradient argument. A rotation with fixed arguments preserves length, while the full computation also has derivatives through the arguments that selected that rotation.

#### Carrying a rotation through time

```
Rₜ = (Rₜ₋₁)^λ Rotation(ε̃ₜ, τₜ)
```

`Rₜ` is the rotational state at step `t`, and `Rₜ₋₁` is that state at the preceding step. The initial rotational state is the identity. `λ` is the switch for using the preceding rotational state. `Rotation(ε̃ₜ, τₜ)` is the new turn constructed from the embedded input `ε̃ₜ` and target `τₜ`. The juxtaposition denotes matrix multiplication in the order shown. When `λ` is zero, the older factor is the identity, so the cell applies the rotation chosen for the current step. When `λ` is one, the older factor remains, so the transformation carries the composition forward.

Multiplication preserves the class of rotations. The accumulated matrix can thus change at every step and still preserve lengths when it acts on a vector. It has no separate set of trainable weights for storing an example’s history. The affine maps that produce the arguments to `Rotation` are reused throughout the sequence. Accumulation adds a state to the computation, while the learned rule for updating that state is shared. In discussing memory, it matters whether a figure counts stored activations or trainable parameters. A parameter count measures the latter.

The order of multiplication specifies a sequence of transformations. Each turn may be chosen in a different plane, so storing this product has a different effect from storing a running sum of angles. In the copying task the same output positions are used to recover the string regardless of the input symbols. In associative recall the query content determines which association must be recovered. The proposal is that a history-dependent transformation gives the cell a way to represent the input useful for that more selective operation. Which associations it can actually recover is tested by the experiments.

```
h̃ₜ = f(ε̃ₜ + Rₜ hₜ₋₁)
```

`h̃ₜ` is the candidate hidden vector at step `t`. `Rₜ hₜ₋₁` applies the current rotational state to the previous hidden vector. `ε̃ₜ` adds the embedded input, and `f` is the activation applied coordinate by coordinate. The candidates considered in the paper include the rectified linear unit, or ReLU, which passes positive values and suppresses negative ones, and tanh, which smoothly bounds the output. The addition and activation can change the candidate’s length even though the transformation inside the sum preserves length.

```
h′ₜ = uₜ ⊙ hₜ₋₁ + (1 − uₜ) ⊙ h̃ₜ
```

`h′ₜ` is the new hidden vector before optional normalization. `uₜ` is the update gate, `hₜ₋₁` is the preceding state, and `h̃ₜ` is the candidate. The symbol `⊙` denotes elementwise multiplication, and `1 − uₜ` denotes the complement of the gate in each coordinate. A part of the old hidden state can therefore pass through the update without undergoing the rotation, depending on what the gate has learned to retain.

```
hₜ = η h′ₜ / ‖h′ₜ‖
```

`hₜ` is the hidden vector passed to the next step when the optional time normalization is enabled. `h′ₜ` is the vector before normalization, `‖h′ₜ‖` is its Euclidean length, and `η` is the desired length. When normalization is omitted, the cell carries forward `h′ₜ`. The paper calls this time normalization because the constraint is imposed on the hidden vector at successive sequence positions in a batch. It reports that values around η = 1.0 helped when a fixed scale was needed. Such normalization controls the recurrent state itself, while gradient clipping, used in some of the training setups, restricts the gradients used to update the weights.

#### Why the authors examine the activation

The mathematical motivation uses a simplified recurrent transition to isolate the role of an orthogonal linear operation. The total derivative from a later position to an earlier one is formed by composing consecutive derivatives. Written with row gradients, the chain rule is

```
∂C/∂hₜ = (∂C/∂h_T) (∂h_T/∂h_{T−1}) ⋯ (∂h_{t+1}/∂hₜ)
```

`C` is the cost, `hₜ` is the state at the earlier step `t`, and `h_T` is the terminal state at step `T`. Each ratio beginning with `∂h` denotes the Jacobian of one state with respect to the preceding state. The centered dots stand for the intervening factors. The weights affecting an early state receive a signal that depends on this whole chain.

```
D⁽ᵏ⁾ = diag(f′(W hₖ₋₁ + A xₖ + b))
```

`D⁽ᵏ⁾` is the diagonal matrix of derivatives of the pointwise activation at step `k` in the simplified recurrence. `diag` places the entries of its vector argument on the diagonal. `f′` is the derivative of the activation `f`, `W` acts on the preceding hidden vector `hₖ₋₁`, `A` acts on input `xₖ`, and `b` is the bias. The transposed Jacobian for that step has a factor from `W` and a factor from `D⁽ᵏ⁾`. Using spectral norms for matrices, the paper’s bound after taking the recurrent operation to be orthogonal can be written as

```
‖∂C/∂hₜ‖ ≤ ‖∂C/∂h_T‖ ∏ₖ₌ₜ₊₁ᵀ ‖D⁽ᵏ⁾‖
```

The bars on the gradients denote Euclidean length, and those on `D⁽ᵏ⁾` denote spectral norm, the largest factor by which the matrix can stretch a vector. `C`, `t`, `T`, `hₜ`, and `h_T` have the meanings above. The product sign `∏` joins the activation factors for the steps from just after `t` through `T`. The transpose of the orthogonal weight has spectral norm one and so contributes no extra factor to this bound. Persistent contraction in the activation factors can still cause the bound to shrink across a long span.

The paper compares the derivatives of ReLU, tanh, sigmoid, and softsign. When at least one preactivation is positive, the corresponding ReLU derivative is one and the diagonal matrix can have spectral norm one. That gives the authors a reason to try ReLU. The bound concerns the largest attainable factor, so its value alone cannot tell whether a particular gradient stays in directions that retain their magnitude. The argument also omits the derivatives through the gate and through the input-dependent rotation construction. The empirical comparisons therefore matter even after the simplified geometry has been established.

#### Training from task losses

The rotation, target, embedding, and gate participate in the recurrent computation trained by back-propagation through time. A task supplies a desired output, such as a copied symbol or a reference summary, and the learning signal reaches the kernels through each step’s computations. The synthetic experiments generate their own inputs and use RMSProp. The bAbI and Penn Treebank experiments use [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/), while the pointer-generator experiments use Adagrad. The paper reports a TensorFlow implementation and a project repository containing the code, visualizations, and generated summaries.

The studies vary which sequences receive supervision. For copying, the recurrent output includes the period before the marker and the subsequent reproduction of the symbols. For recall and bAbI, the prediction asked of the network comes after a query. On the Penn Treebank the output is a distribution over characters. In summarization an encoder reads the source and a decoder generates the answer a word at a time. These differences determine where the learning signal comes from, and where an optional memory mechanism can contribute.

### Experiments and results

#### Copying symbols after a delay

The copying experiment begins with a short string drawn from a data alphabet of n = 8 symbols. The sequence also has a blank symbol and a marker, each with a separate role. The first 10 input symbols are the payload. The network must emit blanks across the delay of T = 500 and then reproduce the payload, in order, following the marker. The train/test split was 50,000/500 examples. Because the blanks and marker expose the schedule of the task, a network can get much of the output right by learning when to predict blanks. The useful test is whether its behavior at the copying positions depends on the particular string it saw.

The paper gives the expected cross-entropy for a strategy that handles the blanks and guesses uniformly at the positions that require memory.

```
C = (M log n) / (T + 2M)
```

`C` is cross-entropy averaged over the output sequence. `M` is the memorized string length, n is the number of candidate data symbols, and `T` is the delay. The `log` of `n` is the loss for a uniform guess at a copying position. The numerator counts the loss across the memorized symbols and the denominator is the number of positions used for the average in the paper’s setup. The benchmark thus has a characteristic memoryless loss even though most positions can be predicted from the task structure.

The authors trained with batch size 128 and RMSProp with decay rate 0.9. They tried learning rates of 0.01, 0.001, and 0.0001. LSTM and GRU failed to learn the copy behavior across these rates. The efficient unitary recurrent network, EURNN, was unstable at the larger rates. RUM was stable across the tried rates. The plotted comparison used 0.001 for the units other than EURNN, which used 0.0001.

LSTM and GRU approached the memoryless cross-entropy baseline. RUM moved below it and reached 100% copying accuracy. The unitary baselines uRNN and EURNN also solved the problem quickly, and GORU converged slightly earlier than RUM. The outcome shows that the new construction can support long-delayed copying. The existence of several successful orthogonal baselines makes this experiment more informative about the viability of the construction than about any unique advantage of using an input-dependent plane.

#### Finding a digit from its key

The associative recall task changes what must be retrieved. An input contains consecutive letter–digit pairs, a separator, and a query letter. No letter appears twice among the pairs. The digits come from 0 to 9, and the letter set is tied to half the sequence length. When the query asks for a particular letter, the network must output the digit that followed that letter. The target may be attached to a pair encountered early or late, and the network encounters the instruction about which pair matters only after reading all the pairs. The train/dev/test split was 100k/10k/20k examples.

The recurrent comparisons used hidden size Nₕ = 50. The stated training setup used RMSProp at learning rate 0.001 and batch size 128. The paper compares the gated recurrent baselines with EURNN and GORU, then with FW-LN and WeiNet, the stronger associative-memory comparisons. At T = 30, FW-LN, WeiNet, and both RUM configurations with accumulation scored 100.0% in the reported recall results. LSTM reached 25.6% and GORU reached 21.8% at that input length. The longer setting distinguished FW-LN from the strongest configurations of WeiNet and RUM.

Associative recall test accuracy at input length T = 50 RUM with accumulated rotations and no time normalization matches WeiNet at the top of the comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| GRU | 17.6 |
| GORU | 18.9 |
| EURNN | 18.5 |
| LSTM | 20.5 |
| FW-LN | 20.8 |
| WeiNet | 100.0 |
| RUM without accumulation or time normalization | 18.5 |
| RUM with accumulation and time normalization | 83.7 |
| RUM with accumulation and no time normalization (this paper) | 100.0 |

At T = 50, the successful unnormalized RUM uses 13k trainable parameters, compared with 22k for WeiNet. The paper describes this as achieving 100% recall accuracy with 40% fewer parameters. FW-LN has 9k parameters and EURNN 4k, and their test accuracies at that length are 20.8% and 18.5%. The parameter comparison is most meaningful among systems attaining the same accuracy. It also indicates why holding the recurrent vector size fixed leaves room for substantial differences in total weights and in the internal state used to solve the task.

The normalized RUM result of 83.7% at T = 50 refers to the comparison as reported. The authors add that the same configuration can master the longer task with more than 100k training steps. The difference between the two normalized settings is therefore evidence about how readily each learns under the reported training conditions. It would be inaccurate to treat the lower number as a ceiling on what normalization permits.

#### Answering questions about stories

The bAbI dataset contains 20 subtasks, with 9k/1k/1k train/dev/test examples per subtask. The authors train a separate network for each and report accuracy averaged across the 20 test subtasks. An example contains a story followed by a question. The network predicts the answer at the end of that sequence through a softmax layer, which turns its output scores into a probability distribution over answer choices.

The experiment compares two input granularities. In the word setting, each word of the story and question supplies a separate embedded input. In the sentence setting, the words of a sentence are represented by the average of their embeddings. The story is presented as a sequence of sentence vectors followed by a question vector. Both setups use 64-dimensional embeddings. Training uses batch size 32 and Adam at learning rate 0.001, with convergence determined on the development data. The authors specify no other regularization for this experiment and omit time normalization from the RUM variants.

For a sentence-level network with attention, the question state can be compared with the stored story states. The authors use the simple dot-product mechanism described in [Effective Approaches to Attention-based Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/luong-2015-effective-approaches-attention-based-neural/).

```
pₜ = softmax({h⁽q⁾ · hⱼ⁽s⁾}ⱼ₌₀ⁿ)ₜ
```

`pₜ` is the attention weight for story position `t`. `h⁽q⁾` is the question state and `hⱼ⁽s⁾` is the story state at position `j`. The dot denotes the inner product. The braces collect the scores over the paper’s indexing from `0` to `n`, where `n` denotes the story length in sentences. `softmax` normalizes these scores jointly into weights, and the final subscript selects the weight for position `t`.

```
c = ∑ₜ₌₀ⁿ pₜ hₜ⁽s⁾
```

`c` is the context vector, `pₜ` is the weight for story state `hₜ⁽s⁾`, and `∑` adds the weighted states across the indexed story. The system combines this context with the question representation in a dense layer for prediction. The attention condition can thus recover information from intermediate story states after the full question has been read.

Without attention, word-level RUM with accumulation switched off reached 73.2% average test accuracy. The authors’ LSTM and GRU reached 56.0% and 58.2%, while the reported GORU score was 60.4%. The word-level DNC comparison reached 96.2%. The gain over recurrent baselines consequently answers a narrower question than the comparison with the strongest dedicated memory system.

At sentence level without attention, RUM reached 75.1% with accumulation off and 79.0% with it on, against 67.2% for LSTM, 70.4% for GRU, and 71.3% for GORU. With attention, the accumulated RUM and the attention-equipped LSTM both reached 80.1% on the test average. In the comparisons with dedicated question-answering systems, MemN2N scored 95.8%, DMN+ scored 97.2%, and QRN scored 99.7%. The experiment establishes that how the recurrent state is updated matters in a comparatively simple reader. It also shows how much headroom that reader leaves on the benchmark.

#### Predicting the next character

The character prediction experiment uses [the Penn Treebank](https://md.research.elamur.ai/free/en/papers/marcus-1993-building-large-annotated-corpus-english/) material drawn from *The Wall Street Journal*. The version used has a vocabulary of 10k words represented using 50 different characters, and the paper gives the train/dev/test sizes as 5.1M/400k/450k tokens. Rare words are replaced by an unknown token. The training setup presents 150 tokens at a time in batches of 128. Success is measured in bits per character, or BPC, on the test split. This is cross-entropy with a binary logarithm, so lower values indicate that the predicted distributions assign more probability to the actual characters.

RUM is tested as a stand-alone recurrent cell and as part of a Fast-Slow RNN. The Fast-Slow design has a chain of recurrent cells in its fast layer and a single slow cell. The first fast cell receives the input and passes its state to the slow cell. The slow cell passes its state on to the next fast cell, and the final fast cell supplies the output used to predict characters. The authors use RUM in the slow position, where a cell with better retention might complement the fast cells’ processing.

In FS-RUM-2, the fast cells are LSTMs of hidden size 700. The slow RUM cell has size 1000, uses η = 1.0, and applies the current rotation with λ = 0. The authors also tried putting EURNN and GORU in the slow position. Those alternatives used slow hidden sizes of 2000 and 800, respectively. All hyper-parameters for the RUM configuration were selected on the development split. The test compares complete systems, including the choices that made each train effectively.

The architecture embeds characters in 128 dimensions using embeddings learned during training. The authors apply layer normalization to the states and to selected internal quantities, including the RUM gate and the target memory. Recurrent connections use zoneout, a regularizer that can preserve selected previous activations. The setup also uses [dropout](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/), and gradients are clipped to a maximum norm of 1.0. The best FS-RUM-2 training schedule uses Adam for 180 epochs at 0.002, followed by 60 epochs at 0.0001 and 120 epochs at 0.00001. For the stand-alone versions the authors also report a training schedule of 100 epochs at 0.002.

Recurrent systems on Penn Treebank character prediction, test bits per character The slow RUM cell gives the best Fast-Slow result, while other recurrent systems achieve lower loss overall.

**The numbers**

| System or setting | bits per character |
| --- | --- |
| RUM 1000 | 1.302 |
| LSTM 1000 | 1.240 |
| FS-EURNN-2 | 1.662 |
| FS-GORU-2 | 1.559 |
| FS-LSTM-4 | 1.193 |
| FS-LSTM-2 | 1.190 |
| FS-RUM-2 (this paper) | 1.189 |
| 6lyr-QRNN | 1.187 |
| 3lyr-LSTM | 1.175 |

The paper reports a test improvement of 0.001 BPC over the best Fast-Slow LSTM result in its table. FS-RUM-2 has 11.2M parameters, and FS-LSTM-2 has 7.2M. The authors also report a reduction of 0.002 BPC on the validation split for an FS-RUM-2 using a slow cell of size 800 and fast cells of size 1100. That is a development result for a different configuration. The stand-alone comparison gives useful context. RUM 1000 scores 1.302 BPC, while the authors’ LSTM 1000 achieves 1.240. The small improvement inside the Fast-Slow framework accompanies a change in which computation the RUM cell is asked to perform.

#### Generating news summaries

The main summarization benchmark uses CNN / Daily Mail, a collection of news stories paired with reference summaries. The average story has 781 tokens and the average summary has 56. The train/dev/test splits contain 287,226/13,368/11,490 pairs. The system is a pointer-generator network. An encoder reads the source, and an autoregressive decoder produces the summary. Attention gives the decoder access to representations of source positions. A pointer lets it copy a source word, while the generator can instead select a word from its vocabulary. The arrangement can therefore preserve specific details from the source and still generate new phrasing.

The comparison starts from the authors’ LEAD implementation of the pointer-generator system. Here LEAD names the recurrent baseline in their experiments. Its bidirectional LSTM encoder reads up to 400 steps. The LSTM decoder operates with a limit of 100 steps in training and 120 in the baseline test setup. Hidden states have 256 dimensions and the word embeddings have 128. The baseline uses cross-entropy, Adagrad at learning rate 0.15 with accumulator 0.1, and batch size 16. At inference it uses beam search of size 4, retaining several candidate continuations while generating the output.

The authors modify where the recurrent cell sits. In encRUM it is the bidirectional encoder cell. In decRUM it is the decoder cell. In allRUM it is used throughout. The shared pointer-generator framework also offers coverage, a training mechanism that penalizes repeated attention and helps discourage repetition in the output. LEAD trains for 270k iterations before about 3k more with coverage for the corresponding baseline. The RUM encoder and all-RUM substitutions converged in about 100k training steps, while the decoder substitution took about 270k. The authors select the coverage duration on development ROUGE, ultimately using 2k steps for the RUM experiments. They tried hidden sizes of 256, 360, 400, and 512 and found that 256 performed best overall on development data.

The paper reports test ROUGE F scores. ROUGE compares the generated text with the reference through textual overlap. ROUGE-1 measures overlap of individual words, and ROUGE-2 looks at adjacent word pairs. ROUGE-L draws on a longest common subsequence, so it reflects shared ordering without requiring that all matched words be adjacent. Reporting these views together helps identify cases where a system better matches individual words, multiword phrasing, or the reference sequence.

Pointer-generator configurations on CNN / Daily Mail test ROUGE-L F score The strongest RUM configuration uses it in the decoder and retains the LSTM encoder.

**The numbers**

| System or setting | ROUGE-L F score |
| --- | --- |
| LEAD | 33.65 |
| decRUM 256 | 34.07 |
| allRUM 360 with coverage | 32.02 |
| encRUM 360 with coverage | 33.16 |
| decRUM 360 with coverage | 34.23 |
| LEAD with coverage | 35.86 |
| decRUM 256 with coverage (this paper) | 36.21 |

On the CNN / Daily Mail test split without coverage, LEAD gets 36.89 on ROUGE-1 and 15.92 on ROUGE-2. The corresponding decRUM 256 scores are 37.07 and 16.17. With coverage, the decRUM 256 scores are 39.54, 16.92, and 36.21 for ROUGE-1, ROUGE-2, and ROUGE-L. LEAD with coverage gives 39.11, 16.86, and 35.86. The paper notes that the tests of decRUM 256 with and without coverage use a decoder limit of 100 steps. It reports a 95% confidence interval for the ROUGE scores ranging within ±0.25 points absolute. Some of the differences between close configurations are small at that scale.

Against the prior pointer-generator result with coverage, decRUM improves the reported ROUGE-1 score. The earlier system scores 39.53 on that measure, 17.28 on ROUGE-2, and 36.38 on ROUGE-L. Other published comparisons in the table use different conditions, including anonymized data or reinforcement learning. For example, the [deep communicating agents system](https://md.research.elamur.ai/free/en/papers/celikyilmaz-2018-deep-communicating-agents-abstractive-summarization/) scores 41.69 on ROUGE-1, 19.47 on ROUGE-2, and 37.92 on ROUGE-L. The strongest comparison for isolating the recurrent substitution is the authors’ own pointer-generator baseline. The other results show where the substitution sits among systems trained with a wider range of methods.

The article about raccoon roundworm in the paper illustrates what can differ between individual outputs. The LSTM output returns to the same description of the disease and its consequences. The RUM output draws on separate parts of the story, including the survey finding and the prevalence among raccoons in Santa Barbara. This gives a concrete example of repetition and selection that an aggregate overlap score can obscure. The systematic evidence for performance comes from the test comparisons across stories.

#### Changing the source or the target

The authors also collected 60,900 pages from Science Daily, extracting a story, a short summary, and a title per page. They report the length of the input story as 488.42 ± 219.47, the target summary as 45.21 ± 18.60, and the title as 9.35 ± 2.84. Their Science Daily experiments use a vocabulary of 50k. The paired fields let them compare conventional summary generation with paragraph shuffling and title generation. They also train on CNN / Daily Mail and use Science Daily only at test time for an out-of-domain comparison.

The systems are trained from scratch for the in-domain tasks. On the story-to-summary test, LEAD is ahead on all the measures, with ROUGE-1 of 68.83 against 65.56 for decRUM. The authors characterize this as a comparatively easy task in which the first sentences already supply much of the reference content. After shuffling the paragraphs, the corresponding ROUGE-1 scores are 56.63 and 56.13. ROUGE-2 and ROUGE-L also favor LEAD on that shuffled test. The results show that changing the article order changes the size of its lead over the decoder substitution.

The title test asks for a short phrase that can require more abstraction from the story. LEAD records 27.33 on ROUGE-1 against 27.18 for decRUM. DecRUM is ahead on ROUGE-2, at 10.56 compared with 10.33, and ROUGE-L, at 24.97 compared with 24.81. The directions differ by metric. In the out-of-domain story-to-summary test, decRUM is ahead on all three. Its Science Daily test results are 37.01 for ROUGE-1, 22.36 for ROUGE-2, and 31.11 for ROUGE-L. The corresponding LEAD results are 32.91, 16.67, and 26.75. Here both systems were trained on CNN / Daily Mail, using the configurations without coverage from the corresponding news test.

The paper explores a related but distinct science journalism task. The source is now a research article, and the target is a popular highlight associated with its Science Daily coverage. The authors developed parsers for a group of publishers and obtained 50,308 full-text articles paired with Science Daily posts. The system takes the article title, abstract, and available article text as input instead of using a preliminary heuristic to extract a short description. It encodes up to 1,000 words and decodes for 100 steps. The paper illustrates outputs from decRUM trained for 35k steps and LEAD trained for 50k steps.

In the illustrated example, the reference emphasizes collecting enzymes while preserving their activity and mentions a possible connection to cancer research. The baseline produces a broad description of prospects for drugs and vaccines. The RUM decoder includes details about nanoparticles and enzymes, and also mentions disease. The article points out that the disease terms were absent from the source title and abstract and from the entire first page. The example shows how an input extending beyond the first page can supply vocabulary and material for the output. The paper presents this as a demonstration of producing highlights with a popular style, with the pointer allowing technical expressions to be copied where needed.

### What the ablations show

#### Learning a turn and remembering earlier turns

The copying experiments distinguish having a rotation from learning useful rotations. In a variant called RUM 0, the kernels that produce the embedded input and the memory target are held fixed. This variant still has a geometrical operation, but training cannot adapt the way those two vectors choose the rotation. It converges extremely slowly. The comparison supports a functional role for learning the input and target maps. Both the direction of the plane and the size of the turn emerge from those maps, so the ablation concerns their joint flexibility.

Accumulation also helps in the copying comparison. A RUM with λ = 1 and hidden size Nₕ = 100 learns faster than the plotted RUM with λ = 0, even though its hidden vector is smaller. Since the configurations differ in hidden size as well as accumulation, the curves do not isolate the speed effect of the switch alone. The associative recall comparison supplies a closer match. At the same hidden size and without time normalization, turning accumulation off takes the result from 100.0% to 18.5% at T = 50. The two variants share the instantaneous rotation construction. Their different ability to perform the task points to the state carried in the product of rotations.

The authors examine the learned weights that turn the preceding state into the memory target. In the successful associative recall configuration this kernel shows a strong diagonal pattern, which they report was absent in the baselines they inspected. A large diagonal coefficient makes a target coordinate depend strongly on the corresponding hidden coordinate. The pattern is consistent with the system learning a target tied to how its current history is represented. The visualization cannot identify which coordinates encode individual keys or values.

A separate analysis follows the rotation angle across training. The paper takes the cosine of the angle at each sequence position, averages that value across the minibatch, and examines the distribution of those position averages across 53 timesteps. In a configuration that fails to learn recall, the cosines cluster around 0.2. In the configuration with accumulation that learns the task, the cosines are spread more broadly. Some are close to 1.0, corresponding to turns near zero. The learned policy thus includes steps with little rotation as well as steps with larger turns. The result associates varied rotational behavior with successful training. The experiment does not assign a retrieval function to each turn.

#### Where the gate, activation, and normalization matter

The synthetic experiments can succeed without the update gate. In the strongest associative recall row, the authors report that removing it or varying the activation leaves the result unchanged. In copying, tanh or softsign can also work, and the paper specifically notes that the bounded tanh variant can reach 100% accuracy. These comparisons show that ReLU and gating, useful as they can be in other settings, are expendable in the tested configurations that recover a prescribed string or an associated digit.

On bAbI, those choices matter more. In the sentence-level RUM setting with accumulation off, the ReLU version reaches 75.1% without attention and 74.3% with it. With tanh the same comparison is 70.5% and 72.9%. The paper reports a drop of 1.7% from the sentence-level result when the update gate is removed from the RUM 150 variant with accumulation off. The effect of adding access to earlier states also depends on the cell. LSTM moves from 67.2% to 80.1% with attention, while RUM with accumulation moves from 79.0% to 80.1%. RUM with accumulation off performs a little worse with attention. The dot-product mechanism therefore helps some recurrent settings substantially and supplies a smaller or negative change in others.

For Penn Treebank character prediction, replacing ReLU with tanh in RUM 1000 lowers test BPC from 1.302 to 1.299. The ungated RUM 1400 scores 1.326. The paper interprets the latter result as evidence of the update gate’s value on this task, but the table changes the stated hidden size when comparing that row with RUM 1000. The strongest evidence for the need to control state scale in this architecture comes from training behavior. The authors encountered early exploding losses when they enabled rotation accumulation or removed time normalization in their Fast-Slow setup. That experience led to the selected configuration with normalization and only the current rotation.

In the Science Daily title condition, the paper reports that switching the decRUM activation from ReLU to tanh drops test ROUGE-1, ROUGE-2, and ROUGE-L by 0.01/0.09/0.25 points absolute. Removing the gate drops those same measures by 0.36/0.39/0.42 points absolute. The changes are measured for that specific decoder test. Taken with the synthetic experiments and bAbI, they show that a gate or activation can have different consequences depending on the output the state must support.

The copying curves show a further tradeoff in normalization. Omitting it allows faster convergence and larger spikes in cross-entropy. Fixing η = 1.0 slows convergence but offers control over the hidden state magnitude. The same direction appears in associative recall, where the normalized configuration took longer to master the longer inputs. In the Fast-Slow experiment the stability benefit was decisive for the reported run. Time normalization is consequently an option whose experimental justification varies with the surrounding architecture.

#### Where in a larger network to put the cell

The encoder and decoder substitutions in the pointer-generator system are a direct test of placement. Among the 360-dimensional coverage configurations, using RUM only in the decoder gives 37.44 on CNN / Daily Mail test ROUGE-1 and 34.23 on ROUGE-L. Using it only in the encoder gives 36.34 and 33.16. Using it throughout gives 35.01 and 32.02. These comparisons hold the stated hidden size and use of coverage fixed. The best overall variant uses a different size, 256, and preserves the same division of labor between encoder and decoder.

The authors conjecture that encoder attention reduces the importance of keeping all the relevant story information in a single encoder state. The decoder still has to generate a coherent sequence and remember aspects of its own output history. The difference in placement is consistent with that explanation. The Fast-Slow comparison also finds the best RUM result in a hybrid, with RUM responsible for the slow recurrence. Neither architecture independently measures the amount of long-range information the respective cells retain, so the division of labor is inferred from where replacing the cell helped.

The summarization study measures gradients and hidden-state norms as well as final ROUGE. The overall gradient norm was higher for the RUM substitutions than for LEAD, whose gradients reached a baseline of 1.0 while clipping was set at 2.0. The final state of the RUM decoder also had a larger norm over training. This is compatible with the unbounded activation and additive inputs in the decoder. Recall that the length preservation applies to the rotation alone. The other operations in the cell can change the scale of its state and of the gradients propagated through it.

The authors separately inspect gradient contributions at individual encoder and decoder positions after convergence, using a specific batch. The LSTM encoder in LEAD and decRUM gives slightly larger encoder gradient updates in that comparison. At the end of the decoder trace the RUM contributions drop to zero, while the LSTM contributions remain slightly above zero. The target summaries in that batch ended before the decoder’s 100-step limit. The authors interpret the trace as consistent with the RUM decoder identifying that its target has ended. The observation establishes the behavior of the measured gradients on that batch. It leaves open how frequently the same pattern occurs across examples or whether it accounts for output quality.

#### Comparing the loss landscapes

The discussion also compares how the associative recall loss changes when the weights involved in phase coding are perturbed. The authors fix the first training batch and leave weights outside the rotations alone. They then vary the relevant weights along selected directions and visualize slices of the resulting loss. In the displayed slices, RUM has fewer local minima than GORU.

The explanation offered turns on where the angles come from. A GORU angle parameter appears directly inside sine and cosine, so that part of its dependence on the weights has the same phase across the examples in a batch. A RUM angle is calculated from vectors that depend on the example. Varying the same weights can therefore change angles differently across examples. When the loss contributions are added together, their periodic components need not line up.

```
L(W, B) = ∑ⱼ F(W, bⱼ)
```

`L(W, B)` is the loss summed over the fixed batch `B`. `W` denotes the weights, `bⱼ` is example `j` in the batch, and `F(W, bⱼ)` is the contribution of that example to the loss. `∑ⱼ` adds the contributions over examples. The authors’ intuition concerns how the dependence of these terms on `W` combines in the sum. The plotted comparison supplies evidence along the directions actually sampled. It does not characterize the full landscape encountered throughout optimization.

### Limitations

#### Limits identified by the authors

The authors warn that orthogonality inside a recurrent cell gives only partial control over training in a larger network. In a stack or an encoder–decoder with attention, activations can grow through several routes. Unbounded ReLU is one such route. The best character-level configuration uses time normalization, and some alternative versions suffered exploding loss early in training in spite of the rotation. This is an observed limitation of transferring the cell, not a contradiction in the geometry. A length-preserving transformation is one factor inside a computation that also includes learned projections, additions, nonlinearities, and gates.

The experiments also limit the authors’ account of attention. The sentence-level bAbI implementation uses a conventional dot-product mechanism. Its modest effect on the strongest RUM configuration motivates their proposal to investigate attention based on phase. The paper does not test such an attention mechanism. Similarly, the suggestion that the decoder needs long memory more than the encoder is an interpretation of the placement results. The tested encoder and decoder differ in their inputs, their function, and their use of past representations, so a placement result does not specify which of those differences explains the gain.

The authors use the Science Daily transfer result to suggest that input-dependent recurrent transformations could help outside the training domain. Their argument applies even when the learned parameters stay fixed, because a new input can provide new arguments to the rotation. Accumulating rotations is a separate choice. The paper’s recommended summarization setting uses λ = 0. In that case the transformation still changes with the input, but the inference result does not demonstrate a benefit from multiplying earlier rotations into the current one. The authors frame transfer as a direction for future study.

The science journalism dataset also reflects a limit in what the authors could collect. Full research articles often had to be converted from PDF, and usable parsers were developed for selected publishers. The paired articles therefore come from a subset of the work covered by Science Daily. The demonstration uses the first 1,000 input words, even though the collection contains full articles. It supports the possibility of drawing on a longer passage than the abstract and title, with the extent of actual access set by the encoding limit.

#### Limits visible in the evidence

The strongest synthetic results concern specific training and test distributions. Copying fixes the position of the payload and uses T = 500 as the reported delay. The associative recall table tests T = 30 and T = 50 under a rule that avoids repeating keys. Success on these settings leaves open how the same trained system behaves on longer unseen sequences or on sequences with repeated keys whose values must be updated. Such cases would change what information must be retained and how it should be interpreted at query time.

The strongest bAbI result is an average over separately trained subtasks. An average can improve because a system gains on particular tasks even when it makes little progress on others. The table gives the overall comparison and shows large gaps to specialized systems. It does not establish that the same recurrent representation transfers across subtasks or that one network trained to carry out all of them would show the same ordering. The setup also compares word-level and sentence-level processing that differ in sequence length and how much combination of the input occurs before the recurrence.

The Penn Treebank test result measures an entire tuned Fast-Slow system. The best RUM hybrid uses more parameters than the strongest Fast-Slow LSTM in the comparison, and the stand-alone RUM variants do not establish an independent gain over the authors’ LSTM. The absolute improvement reported for the hybrid is 0.001 BPC. The table gives point estimates, leaving the repeatability of a difference of this size across training runs open. It includes systems with lower test loss overall, so the strength of the result is specific to the Fast-Slow comparison.

For summarization, the recurrent substitutions are most informative within the authors’ pointer-generator runs. The comparisons across publications involve different objectives or representations of the data. Differences also exist among the named settings in the paper itself, including decoder limits and training durations. The ROUGE results measure reference overlap. They cannot by themselves determine whether a summary preserves causal claims correctly, whether its individual statements are supported by the source, or whether the output is useful to a reader. The science journalism demonstration adds examples, without a corresponding corpus-level factuality measure or human comparison.

Some numerical and procedural details deserve particular care. The Science Daily title scores favor decRUM on two of the reported overlap measures and LEAD on the remaining one. The shuffled Science Daily results still favor LEAD on all the reported measures. Also, the associative recall training description refers to epochs while the table qualifies a normalized run in training steps. The paper gives the latter qualification for the slower run and reports the table accuracies, but those terms leave the precise alignment of the training budgets unclear. These details matter when comparing learning speed or constructing an exact replication.

The formula for the rotation basis specifies the identity for matching orientations, and the general formula needs non-zero vectors and a perpendicular component that can be normalized. It leaves the treatment of zero vectors and opposite collinear directions unspecified in the mathematical description. The optional hidden-state normalization likewise divides by a length. These are relevant implementation details when reconstructing the cell, especially in systems where an activation can produce an all-zero state. They are separate from the empirical claim that the implementations used in the paper trained on the reported tasks.

Finally, the demonstrations concern accuracy, loss, convergence behavior, and parameter counts more directly than computation at deployment. The parameter advantage in associative recall is a comparison with WeiNet at the same reported accuracy. It does not measure storage for recurrent states, inference latency, or energy use. The authors’ interest in specialized accelerator dataflows reflects an open engineering question about executing the sequence-dependent transformations efficiently.

### What came after

The paper closes with proposed extensions to the cell. It outlines a way to let the rotational memory retain an intermediate amount of the previous transformation by replacing the binary switch with a real exponent. In the proposed construction, the logarithm of the accumulated rotation is taken in a skew-symmetric form, and exponentiating a scaled version yields another orthogonal transformation.

```
R^λ := (e^A)^λ = e^(λA)
```

`R` is a rotation written as a matrix exponential, `A` is the skew-symmetric matrix logarithm chosen for it, and `λ` is the proposed real-valued exponent. `e` with a matrix exponent denotes the matrix exponential. `:=` introduces the paper’s definition of the real power. Multiplying `A` by a real scalar preserves skew-symmetry, which is the reason the resulting exponential keeps the orthogonal structure.

```
e^(λA) = ∑ₖ₌₀^∞ (λA)^k / k!
```

`e^(λA)` denotes the same matrix exponential. `∑` adds the series terms indexed by `k` from zero to infinity. `(λA)^k` is the matrix power for term `k`, and `k!` is the factorial of that index. The authors suggest truncating the series in a computational implementation. The experiments use the binary setting of `λ`, leaving the accuracy and cost of the real-valued version to be established.

The conclusion also proposes investigating phase-based attention, transfer learning with rotations driven by the current input, and accelerator dataflows suited to those transformations. These are directions set out by the authors at the close of the study. A documented follow-on result for any of them remains open in this account.

## Cite

Cite as Rumen Dangovski, Li Jing, Preslav Nakov, Mićo Tatalović and Marin Soljačić. 2019. Rotational Unit of Memory: A Novel Representation Unit for RNNs with Scalable Applications. Transactions of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1162/tacl_a_00258](https://doi.org/10.1162/tacl_a_00258)

```bibtex
@article{dangovski2019rotational,
  title = {{Rotational Unit of Memory: A Novel Representation Unit for RNNs with Scalable Applications}},
  author = {Rumen Dangovski, Li Jing, Preslav Nakov, Mićo Tatalović and Marin Soljačić},
  journal = {Transactions of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.1162/tacl\_a\_00258},
  url = {https://doi.org/10.1162/tacl_a_00258}
}
```

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