---
title: "A Clockwork RNN — paper by Koutník et al. (2014)"
description: "Clockwork RNN divides recurrent memory across fixed update rates, improving audio generation and spoken word classification in small…"
canonical: "https://research.elamur.ai/free/en/papers/koutnik-2014-clockwork-rnn/"
---
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/koutnik-2014-clockwork-rnn/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2014](https://md.research.elamur.ai/free/en/papers/2014/) / A Clockwork RNN

# A Clockwork RNN

Paper · 2014 · Jan Koutník, Klaus Greff, Faustino J. Gomez et al.

**Authors:** [Jan Koutník](https://md.research.elamur.ai/free/en/authors/jan-koutnik/), [Klaus Greff](https://md.research.elamur.ai/free/en/authors/klaus-greff/), Faustino J. Gomez and [Jürgen Schmidhuber](https://md.research.elamur.ai/free/en/authors/jurgen-schmidhuber/) · **Year:** 2014 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

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

- [arXiv 1402.3511](https://arxiv.org/abs/1402.3511)
- [OpenAlex](https://openalex.org/W4394663752)

## Deep dive: A Clockwork RNN

Clockwork RNN divides recurrent memory across fixed update rates, improving audio generation and spoken word classification in small experiments. · about 36 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 sequence can contain changes that matter at very different speeds. In speech, a brief acoustic detail belongs to a longer word; in a musical signal, rapidly changing samples form a larger pattern. A recurrent neural network must preserve useful context while continuing to process new observations. The difficulty is that updating its entire memory at every step can make information from earlier inputs hard to retain and hard to learn from. Clockwork RNN addresses this problem by giving different parts of recurrent memory different update schedules.

The architecture divides the hidden layer into modules. Each module has a fixed clock period: some update frequently, while others keep their previous state through longer stretches of the sequence. Connections between modules follow a particular direction. A faster module can read the state of a slower module, allowing local processing to use more persistent context. A slower module does not receive recurrent input from a faster module. All modules can receive external input when their clocks permit an update. The intended effect is to separate rapidly changing information from information that should remain available for longer.

This arrangement changes both memory behavior and computational cost. An inactive module retains its activation rather than recalculating it. Its incoming weights therefore require no evaluation at that step. The restricted recurrent connections also remove parameters compared with a fully connected recurrent layer containing the same number of hidden neurons. With the exponential clock schedule used in the experiments, the paper derives a conservative computational speedup bound of g/4, where g is the number of modules. This is an operation-count argument against a standard recurrent network with the same hidden width, rather than a measured runtime comparison against every experimental baseline.

The authors test the architecture on audio sequence generation and a small spoken-word classification task drawn from TIMIT. They compare Clockwork RNN with a simple recurrent network and an LSTM, choosing hidden sizes to make parameter budgets approximately comparable. For generation, the network receives no input and learns to reproduce a particular signal. For classification, it receives acoustic features and must distinguish words whose similar endings make earlier information useful. Both experiments favor Clockwork RNN. The paper reports that the best large generation system is 5.7× better than the corresponding LSTM according to its error comparison, while the spoken-word result is described as more than 2× better.

These findings support a specific architectural idea: recurrent memory can benefit from fixed differences in update frequency, even without adding the gates used by LSTM. They do not establish that Clockwork RNN is generally superior across sequence tasks. The experiments are explicitly preliminary, the speech dataset is small, and the paper does not isolate every architectural choice through ablation. Its main contribution is a simple, inspectable way to organize temporal computation, supported by encouraging comparisons and a separate analysis of computational savings.

### Ideas worth borrowing

Fixed schedules as an architectural prior. A system need not discover every useful distinction through training. Clockwork RNN reserves different parts of its state for different update frequencies before learning begins. This reduces the burden on optimization: learning determines what each module stores, while the architecture already specifies how often that storage may change. The idea applies wherever inputs contain both short-lived detail and more persistent context. Its value depends on choosing schedules that fit the task reasonably well; the paper does not show that any arbitrary collection of periods will work equally well.

Preserve state by skipping computation. An inactive module does not disappear, reset, or produce a missing value. It continues to expose its stored activation while avoiding another transformation. This couples a memory mechanism with a computational saving. The same principle can guide other stateful systems: retaining an existing representation can be a deliberate operation when fresh computation would add cost or unwanted variation. The important distinction is between keeping a value available and repeatedly recomputing a value that is supposed to remain stable.

Let persistent context guide local processing. The recurrent connections allow faster modules to consult slower ones. This gives often updated state access to information that changes less often. Meanwhile, the slower state is protected from recurrent input arriving through the faster modules. That asymmetric design is reusable when a system needs a relatively stable context to inform detailed decisions. It also exposes a clear tradeoff: protecting slow state limits what it can learn directly from fast recurrent processing, so the direction of communication deserves evaluation rather than automatic acceptance.

Compare budgets, then inspect what a budget buys. The experiments approximately match parameter counts across the competing architectures rather than matching hidden-neuron counts. This is useful because different recurrent designs spend their parameters differently. A hidden cell in LSTM and a hidden neuron in a simple recurrent network do not imply comparable parameter costs. Clockwork RNN also changes connectivity, so equal hidden widths would answer a different question. Researchers can borrow this distinction whenever an architectural change alters both representation size and the number of adjustable weights.

Treat initialization as part of the comparison. The authors report that LSTM needed a high initial forget-gate bias to perform well in these experiments. Including that detail matters: a baseline can look weak because its training setup is unsuitable rather than because its architecture lacks the required capacity. The broader lesson is to document choices that materially affect whether a comparison is credible. Clockwork RNN’s results are more informative because the paper describes an effort to make LSTM retain information, rather than leaving that behavior entirely to an unhelpful initialization.

Separate computational arguments from predictive evidence. The appendix counts parameters and operations, while the experiments measure generation and classification error. These are related but distinct sources of evidence. A design can require fewer operations without producing better predictions, and a lower error does not on its own prove a practical speed advantage. Keeping the arguments separate makes the contribution easier to assess. It also helps engineers decide which part is relevant to their own constraints: representational quality, parameter storage, or repeated evaluation cost.

Expose the temporal assumptions. Clockwork RNN makes its assumptions unusually visible. Module periods, module sizes, and the direction of recurrent communication can all be inspected directly. That transparency is useful even if a different architecture ultimately performs better. It turns vague claims about “long-term memory” into concrete questions about when state changes, which information can reach it, and how often it influences output. For work concerned with [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/), this provides a practical starting point for analysis, although the paper itself leaves detailed study of the learned internal dynamics to future work.

### How Mova uses it

For Mova, a small transparent language system implemented in Rust, Clockwork RNN offers a possible design principle for managing context at different rates. The paper does not document an integration with Mova, and there is no basis for claiming that such a mechanism is already implemented. The useful connection is prospective: a language system could divide its persistent state into components whose update schedules are explicit, then examine whether that organization improves useful memory under a limited computational budget.

A concrete experiment would separate frequently changing local state from state intended to persist across a longer stretch of input. The local component could update whenever the system processes another input element. Other components could update according to declared periods and otherwise retain their values. This would borrow the paper’s mechanism directly, rather than merely using “multiple timescales” as a loose description. Whether the resulting components actually capture useful linguistic distinctions would remain an empirical question.

The most important constraint is that an update schedule does not assign meaning. Calling a component slow would not make it a discourse representation, a grammatical state, or a semantic memory. Clockwork RNN specifies when a module may change, not what its activation must represent. For Mova, any claim that a slow component stores a particular kind of linguistic information would need evidence from its behavior or internal analysis. The paper’s own proposed investigation of resource allocation underlines that distinction.

The architecture could also support transparent execution. A Rust implementation could make the current clock phase, active modules, retained state, and permitted recurrent connections explicit in its data structures and execution trace. Such visibility would help explain why a component changed on a particular input and why another component remained fixed. This is an engineering possibility suggested by the design. It is not a result demonstrated by the paper, and it would not make the learned numerical contents of a recurrent state automatically understandable.

Its computational argument is relevant to a small system because much of the hidden state can remain available without being recalculated at every step. The persistent components still influence faster components when those faster components update. This creates a useful possibility: computation can be concentrated on the state that currently needs to change while previously computed context remains accessible. The actual benefit for Mova would depend on implementation overhead, module sizes, output processing, and the cost of other parts of the system. The paper’s operation-count bound cannot simply be transferred into a promised runtime gain.

The restricted direction of communication would deserve particular scrutiny in a language setting. A slowly updated component receives external input when active, but it cannot read recurrent state from faster modules. That may preserve stable context, yet it could also prevent useful local processing from being incorporated into slower memory. A Mova experiment should therefore distinguish the benefit of retaining state from the effect of this communication restriction. The original paper combines them; it does not establish which arrangement would be best for language.

A disciplined first use would consequently be a bounded comparison instead of a wholesale architectural commitment. Mova could compare its existing state update procedure with a version that uses fixed module clocks, under a clearly stated parameter or computation budget. It could record whether retained context improves the target behavior and whether the skipped updates reduce actual evaluation cost. These are proposed tests. The paper supplies an implementable hypothesis, not evidence that Mova already benefits from it.

The broader connection is methodological. A transparent system benefits from mechanisms whose assumptions can be stated plainly. Clockwork RNN says exactly which state may change and when, and exactly which modules may communicate recurrently. Even if Mova eventually needs a different arrangement, that level of explicitness is worth borrowing. It makes a temporal design reviewable and gives an experiment a precise object to test.

### The problem and its context

#### Why recurrent memory is difficult to train

A recurrent neural network processes a sequence while maintaining an internal state. At each step, it combines the current input with information carried from earlier steps. This makes recurrence a natural mechanism for sequence prediction, generation, and recognition. The state can, in principle, allow an earlier observation to affect a much later decision.

The practical difficulty lies in learning that influence. Training must determine which earlier events matter and adjust the relevant weights accordingly. The paper describes the familiar vanishing-gradient problem: an error signal propagated backward through a long sequence can become too weak to train the dependencies that produced it. Its introduction identifies dependencies extending beyond 10 time-steps as difficult for standard recurrent networks trained with stochastic gradient descent.

This is not a claim that recurrence cannot represent distant dependencies. It is a claim about the gap between representational possibility and successful optimization. A network may possess feedback connections and still fail to learn how to use them over the required interval. Clockwork RNN tackles that gap by changing the pattern of state updates and recurrent connections.

The paper’s examples make the problem tangible. Reproducing a signal requires a network to follow a trajectory that remains organized over time. Recognizing a word with an ending shared by other candidate words requires useful evidence from earlier in the sequence to remain available. In each case, treating every hidden neuron as equally fast may be an unnecessarily difficult arrangement.

#### Earlier approaches that changed memory

The paper discusses LSTM as a prominent response to this problem. LSTM uses a specialized cell containing a linear storage component, together with multiplicative gates that regulate writing, exposure, and forgetting. The purpose is to preserve an effective path for the error signal and allow information to remain stored until the network has reason to change or reveal it.

Clockwork RNN takes a different architectural route. Its modules use ordinary hidden activations but do not all recompute them at every step. Persistence comes partly from holding a state unchanged between scheduled updates. The comparison is therefore between different ways of organizing memory, rather than between a recurrent system and a system without recurrence.

The authors also discuss stacked LSTM arrangements. In their account, stacking recurrent layers supports hierarchical sequence processing, and combining such a hierarchy with Connectionist Temporal Classification allows segmentation and recognition to be handled together. They identify a deep version as holding the leading TIMIT phoneme-recognition result at the time of writing. That earlier result supplies context for recurrent speech processing; it is not the same task as the paper’s isolated-word experiment.

Other earlier approaches made state change more gradually. Reduced Description Networks used leaky neurons whose activations respond only partially to their inputs. The paper connects this idea with Echo State Networks. Gradual change and infrequent change can both support persistence, but they are different operations. A leaky activation can move at every step, whereas an inactive clockwork module retains exactly its previous value.

Temporal-Kernel RNNs are another related example in the authors’ discussion. They add a self-connection whose influence decays exponentially over time, implemented so that the computation remains efficient. The paper reports that this approach had been used for serial recall tasks but remained below LSTM in the comparison it cites. Clockwork RNN’s clocks instead impose discrete occasions for state transformation.

#### Earlier approaches that changed connections or hierarchy

NARX recurrent networks address long lags by adding recurrent connections with explicit delays. In the paper’s description, delays of 2, 3, and onward up to k provide routes across larger temporal distances. The cost is extra parameters and slower execution. Clockwork RNN aims for the opposite parameter trend: it removes recurrent connections and skips evaluations.

Temporal Transition Hierarchy grows higher-order neurons to resolve ambiguity in the current input using history. The authors explain that it can span long intervals at the expense of increasing network size. They also describe a later recurrent extension that reuses higher-level nodes, reducing the pressure for continued growth. This places Clockwork RNN among approaches that structure memory, while highlighting its fixed module organization.

The most direct conceptual neighbor in the related-work discussion is a hierarchy of recurrent networks whose higher levels receive input only when lower levels fail to predict it. The paper discusses this under the names Sequence Chunker, Neural History Compressor, and Hierarchical Temporal Memory. Such a hierarchy can operate at different effective timescales, but its update rate depends on the predictability of the input.

Clockwork RNN removes that dependence. Its slower modules do not wait for a surprise detector or an unsupervised predictor to request an update. Their clocks run according to a fixed schedule. This simplifies the mechanism, while also removing the ability to accelerate or delay a higher-level update in response to the content of a sequence.

The distinction matters for interpreting the contribution. The paper does not claim to invent the general idea that temporal processing can be hierarchical or multiscale. Its particular proposal is a recurrent hidden layer partitioned into modules with fixed periods, combined with an asymmetric recurrent connectivity pattern and a corresponding training procedure.

#### Earlier approaches that changed optimization

The related-work section also emphasizes that architecture is not the only source of difficulty. Hessian-free optimization uses second-order information to improve recurrent training. According to the paper, it allowed simple recurrent networks to solve certain long-lag problems that ordinary stochastic gradient descent had failed to solve.

This is an important qualification to the experimental comparison. Clockwork RNN is tested using stochastic gradient descent with momentum. Its advantage under that procedure does not establish that every alternative optimizer would preserve the same ranking. The authors explicitly treat second-order training as compatible with both Clockwork RNN and LSTM.

They also discuss multiplicative recurrent networks trained with Hessian-free optimization. These introduce multiplicative interactions represented through a factored tensor to control parameter cost. In the paper’s account, extensive training produced notable text-generation behavior. This is background on other ways to improve recurrent sequence processing, instead of a baseline evaluated in the Clockwork experiments.

Evolino combines a recurrent system with an analytically determined linear output mapping and uses evolutionary training for the recurrent component. The authors present it as another way around the difficulties of gradient propagation. They also mention Kalman-filter training, which had advantages for long temporal dependencies but became computationally impractical for larger networks.

Taken together, this context frames Clockwork RNN as a deliberately modest architectural intervention. Earlier work had added specialized cells, delayed connections, adaptive hierarchies, or stronger optimization procedures. Clockwork RNN asks how much can be gained by controlling update frequency inside a comparatively simple recurrent layer.

### The method, step by step

#### Begin with an ordinary recurrent computation

The starting point is a recurrent network with input, hidden, and output layers. The hidden layer receives the current input and the previous hidden state. Its activation becomes the state carried to the next step. The output layer reads the current hidden activation.

The hidden update can be written as:

```
y_H⁽ᵗ⁾ = f_H(W_H · y_H⁽ᵗ⁻¹⁾ + W_I · x⁽ᵗ⁾)
```

Here, t is the current sequence step. The vector x⁽ᵗ⁾ contains the input at that step. The vectors y_H⁽ᵗ⁾ and y_H⁽ᵗ⁻¹⁾ contain the current and previous hidden activations. W_H is the recurrent weight matrix, and W_I maps the input into the hidden layer. The dot denotes matrix–vector multiplication. The function f_H applies the hidden activation function. As in the paper’s presentation, biases are omitted from this equation.

The output computation is:

```
y_O⁽ᵗ⁾ = f_O(W_O · y_H⁽ᵗ⁾)
```

The vector y_O⁽ᵗ⁾ is the output at step t. W_O maps the hidden state into the output layer, and f_O is the output activation function. Its choice depends on the task: the generation experiment uses a linear output, whereas the classification experiment uses softmax outputs.

These equations describe the whole hidden layer as if every component were updated together. Clockwork RNN changes that assumption. It keeps the general input–state–output structure while controlling which hidden components are recalculated.

How a clockwork recurrent step works The steps in order.

#### Partition the hidden layer

The architecture divides its hidden neurons into g modules, each containing k neurons in the equal-sized arrangement analyzed by the paper. The total hidden width is:

```
n = k g
```

The symbol n denotes the total number of hidden neurons, g the number of modules, and k the number of neurons in each module. Equal module sizes are a design choice used in the experiments and the appendix, rather than an essential requirement of clocked updating.

Each module receives a period T_i. The subscript i identifies a module. A small period means frequent updates; a large period means that the module retains its state across longer intervals. The period is fixed during the reported training procedure.

Within a module, recurrent connectivity is complete. Across modules, connectivity is restricted. When modules are ordered from shorter to longer periods, a destination module can receive recurrent input from itself and from modules with longer periods. It cannot receive recurrent input from a module with a shorter period.

This direction deserves careful attention because connection descriptions can be ambiguous when source and destination are not stated. The operative architecture allows slower state to influence faster state. The formal discussion and block-matrix description make that arrangement explicit. A fast module can use persistent context supplied by a slow one; the slow module does not read the fast module’s recurrent activation.

External input is different from recurrent communication. A slow module can still receive the current external input when it is scheduled to update. The restriction does not isolate it from the incoming sequence altogether.

#### Choose the clock periods

A module updates only when the current step is divisible by its period:

```
t mod T_i = 0
```

Here, mod is the remainder operation. The condition holds when dividing the step index t by the period T_i leaves no remainder. It determines whether module i is active at that step.

The experiments use an exponential schedule:

```
T_i = 2⁽ⁱ⁻¹⁾
```

The symbol T_i is the period of module i, with module indexing beginning at the first module in this formula. The schedule gives increasingly separated update intervals. The generation experiment extends its periods through 256, while the classification experiment extends them through 64.

The paper illustrates the rule at t=6. Modules with T_1=1 and T_2=2 update at that step. Modules whose periods do not divide the current step retain their previous activations. This example shows that the clock controls actual execution, rather than merely multiplying an otherwise fully computed hidden update by a mask afterwards.

With exponential periods and modules ordered by period, the active block rows are contiguous. That structural property can simplify the organization of the computation. The paper identifies it in the matrix illustration; it does not provide a separate implementation benchmark quantifying its practical effect.

#### Organize the weights into module blocks

Partitioning the hidden state also partitions the incoming weight matrices into block rows:

```
W_H = [W_H₁; …; W_Hg]
```

W_H is the complete recurrent matrix. Each W_Hi is the block row containing recurrent weights that feed module i. The semicolons indicate vertical stacking of those block rows.

The input matrix is partitioned in the same way:

```
W_I = [W_I₁; …; W_Ig]
```

W_I is the full input-to-hidden matrix, and W_Ii contains the input weights for module i. Again, the block rows are stacked vertically.

The recurrent matrix has a block upper-triangular structure. In a row belonging to a particular module, the blocks corresponding to faster source modules are zero. Blocks corresponding to the destination module itself and slower source modules can contain learned weights.

This structure is independent of whether the destination module happens to be active on a particular step. Some recurrent connections do not exist at all; other connections exist but are evaluated only when their destination module updates. The architecture therefore combines permanent sparsity with scheduled execution.

The paper expresses the scheduling of a recurrent block row as:

```
active(W_Hi, t) = W_Hi if t mod T_i = 0; otherwise 0
```

The notation active(W_Hi, t) denotes the block row selected for recurrent computation at step t. W_Hi is the learned recurrent block for destination module i, and T_i is its period. The zero denotes an inactive block in the computation.

That notation needs a verbal qualification. An inactive block does not make its module’s activation zero. It means that the module is not recomputed. Its activation remains the one stored from the previous step. The corresponding input block is likewise not evaluated for that inactive update.

#### Retain state between clock events

Holding state is the central memory operation. During an inactive interval, a module’s numerical activation remains available to the output layer and to faster modules that are allowed to read it. It is persistent state, not an absent contribution.

This explains the intended division of labor. Frequently updated modules can respond to local variation while consulting a more slowly changing context. Infrequently updated modules encounter fewer state transformations across the same stretch of input. They are also protected from recurrent influence originating in the faster modules.

The authors interpret the slow modules as carrying longer-term information and the fast modules as handling higher-frequency detail. That is a plausible account of the architectural pressure, but it should not be confused with a direct measurement of every module’s learned role. The paper does not decode module contents or establish a semantic assignment for each clock rate.

Nor does a slow period guarantee indefinite memory. When a slow module becomes active, it applies a learned recurrent transformation and incorporates current input. Information can still be changed or lost. The architecture creates intervals of exact retention, rather than proving that all relevant information survives every scheduled update.

#### Backpropagate through both updates and retention

Training follows back-propagation through time, adjusted to match the execution schedule. This procedure traces how earlier states and weights contribute to later outputs and propagates error information backward through the sequence.

When a module was active, error passes through the computation performed at that step. When a module was inactive, its forward behavior was to retain its previous activation. The corresponding backward behavior is to pass error back through that retained-state connection. The paper describes this as copying the inactive module’s error backward in time and adding it to other error contributions.

The distinction is necessary for correctness. Skipping a forward update does not justify discarding the relationship between the retained state and future output. A module can remain unchanged for an interval and still influence a loss incurred later. Training must account for that influence across the interval.

This mechanism also explains why the architecture is relevant to long temporal dependencies. Some backward paths cross retained-state steps instead of passing through another newly applied hidden transformation at every position. The paper’s experiments support the usefulness of the resulting architecture, although they do not separately measure gradient behavior along these paths.

All reported systems use stochastic gradient descent with Nesterov-style momentum. The weights begin with Gaussian random values having mean zero and standard deviation 0.1. Internal state variables begin at 0. Each configuration is trained from 100 separate random initializations, allowing the comparisons to show sensitivity to starting conditions as well as typical performance.

#### Count the recurrent parameters

The appendix analyzes a network with equal-sized modules. Its recurrent parameter count is:

```
N_H = ∑ᵍᵢ₌₁ ∑ᵏⱼ₌₁ k(g − i + 1) = k² ∑ᵍ⁻¹ᵢ₌₀ (g − i) = n²/2 + nk/2
```

N_H is the number of weights in the recurrent matrix. The symbols g, k, and n retain their meanings as module count, module size, and total hidden width. The summations count the allowed recurrent inputs to the neurons in each module. The index j ranges over neurons within a module; the index i ranges over module positions.

The connection restriction removes weights that a fully connected recurrent layer would otherwise contain. Relative to the n² recurrent weights of a standard network with the same hidden width, the paper obtains:

```
N_H/n² = (n + k)/(2n) = (g + 1)/(2g) ≈ 1/2
```

The ratio N_H/n² compares recurrent parameter counts at equal total hidden width. The approximation expresses the paper’s characterization of the clockwork recurrent matrix as having roughly half the parameters of its fully connected counterpart.

This is a statement about recurrent weights, not necessarily the entire network’s parameter count. Input and output connections still contribute parameters. Their importance depends on the input dimension, output dimension, and hidden width.

#### Count the scheduled operations

The recurrent operation count also depends on how often each destination module updates:

```
O_H = k² ∑ᵍ⁻¹ᵢ₌₀ (g − i)/T_i
```

O_H denotes the recurrent computation averaged according to module update frequencies. Here the appendix uses module indexing beginning at 0, so T_i refers to the period associated with that indexing. The factor 1/T_i expresses that a module is evaluated only on its scheduled steps.

For the exponential schedule used in the appendix, the periods are expressed as:

```
T_i = 2ⁱ
```

This is the same schedule as the earlier formula under the appendix’s shifted indexing. The change is in the module index convention, not in the update periods themselves.

The appendix derives the following upper bound:

```
O_H ≤ k²(2g − 2) ≤ 2nk
```

O_H is the scheduled recurrent operation count, and the remaining symbols describe the network dimensions. The bound uses properties of the exponential schedule to limit the cumulative work performed by modules with increasingly long periods.

There is a typesetting inconsistency in the intermediate expansion printed in the appendix: a displayed plus sign conflicts with the preceding summand’s subtraction. The result is best read through the original operation sum and the bound the authors state, rather than treating every printed intermediate equality as independently reliable.

For input connections, the corresponding expression is:

```
O_I = ∑ᵍ⁻¹ᵢ₌₀ km/T_i = km ∑ᵍ⁻¹ᵢ₌₀ 1/T_i ≤ 2km
```

O_I denotes the scheduled input-weight operations, and m is the input dimension. Each module has k neurons receiving an m-dimensional input, but those weights are evaluated only when that module is active.

The overall comparison in the appendix is summarized by:

```
(n² + nm + n)/(O_R + O_I + 2n) = g(kg + m + 1)/(2(k(g − 1) + m + g)) ≥ g/4
```

The numerator represents the standard recurrent network’s counted work. O_R denotes the clockwork recurrent contribution in this speedup expression, corresponding to the recurrent work discussed as O_H earlier; O_I is the input contribution. The terms involving n account for additional per-neuron work under the appendix’s accounting. The right-hand side gives the conservative lower bound.

This analysis supports a claim about scheduled arithmetic relative to a standard recurrent network with the same number of hidden neurons. It does not report elapsed training time, establish a speed ratio against LSTM, or include every cost that a particular implementation may incur.

### Experiments and results

#### How the comparisons were organized

The experiments compare Clockwork RNN, a simple recurrent network, and LSTM. Each has a single hidden layer. Hidden sizes are chosen to make total parameter counts roughly equal across architectures, and the clock periods are included in the Clockwork RNN count.

This choice changes the interpretation of hidden width. Because the architectures use parameters differently, a budget-matched system need not have the same number of hidden neurons or cells as another system. The comparisons ask which architecture performs better under the stated parameter budget and training setup.

Every configuration is run with 100 random initializations. This is important because recurrent training can depend strongly on the initial weights. The paper’s result figures show distributions rather than only a selected successful run.

The numerical error entries of the summary tables are not available in the paper’s rendered table text. Their captions identify the statistics being summarized, and the surrounding prose supplies relative comparisons. Accordingly, the chart below records an explicit experimental resource setting. It does not substitute estimated values for the missing error entries.

Audio generation, largest nominal parameter budget by architecture The generation comparison uses approximately matched parameter budgets across the recurrent architectures.

**The numbers**

| System or setting | nominal parameters |
| --- | --- |
| Simple RNN | 1000 |
| LSTM | 1000 |
| Clockwork RNN (this paper) | 1000 |

The chart’s resource metric describes the comparison’s setup. Predictive quality must be assessed from the reported error comparisons and qualitative output analysis, rather than from the budget itself.

#### Audio sequence generation

The generation task asks a network to reproduce a target signal without receiving external input. Its recurrent dynamics must produce the trajectory. The authors describe the trained weights as a potentially lossy encoding of the sequence: the signal is represented through parameters and the behavior they induce.

The targets are five short sequences taken from a piece of music. Each contains 320 samples, scaled into the interval [-1,1]. The paper associates these sequences with 7 ms of audio and states a sampling frequency of 44.1 Hz. Those acquisition details contain an apparent unit inconsistency with the stated sequence length and duration, so they should not be silently repaired into a different sampling specification.

Every network has no input units, a hidden layer, and a linear output neuron. The nominal parameter budgets are 100, 250, 500, and 1000. Training runs for 2000 epochs, using mean squared error as the objective. The authors state that further training no longer produced a noticeable decline in error.

Momentum is 0.95. The learning rate is selected separately for each architecture but held constant across its network sizes. Simple RNN and Clockwork RNN use 3×10⁻⁴, while LSTM uses 3×10⁻⁵. LSTM’s forget-gate bias is initialized to 5, which the authors identify as important for obtaining good results.

Clockwork RNN uses nine equally sized modules. Their periods follow the exponential schedule from 1 through 256. This places often updated and infrequently updated recurrent components within the same hidden layer.

The reported ordering is clear. The simple recurrent network performs poorly and does not show a useful improvement as its size grows. LSTM reproduces the targets more successfully and benefits from larger budgets. Clockwork RNN performs best across the comparison described by the authors.

The size comparison is especially informative. The smallest Clockwork RNN is described as approximately comparable to the second-largest LSTM. The authors also report lower variability for every Clockwork configuration except the smallest one, relative to the competing systems. That suggests that the benefit is not confined to a rare favorable initialization, although the paper does not provide a separate statistical account of all pairwise differences.

The output plots help explain what the error measurements mean. The best simple recurrent outputs tend to follow the beginning of a target and then settle near the average of the remainder. LSTM captures more structure, but its output resembles a smoothed version of the signal. Clockwork RNN follows the target variation more closely.

These are reconstructions of the sequences used for training. The experiment tests the ability to encode and regenerate a particular temporal pattern. It does not test prediction on an unseen musical passage or show general-purpose audio generation.

For the largest systems, the summary-table caption describes Clockwork RNN as 5.7× better than LSTM on the generation task. The result figure uses normalized mean squared error, while the training objective is mean squared error. The text does not supply the numerical normalization procedure or the table’s underlying mean errors, so the relative statement should remain tied to the authors’ reported comparison.

#### Spoken-word classification

The classification experiment uses a small collection of isolated words from TIMIT. It contains 25 classes organized into 5 groups according to similar endings. The grouping is intended to make earlier evidence important: an ending shared by several candidates cannot by itself determine the correct word.

One group includes words such as “making” and “walking.” Another includes “biblical” and “technical.” Other groups bring together endings found in words such as “tradition” and “competition,” or “subway” and “highway.” These examples explain the task’s temporal motivation without implying that suffix similarity is the only acoustic difficulty.

Each word has 7 recordings from different speakers. For each class, 5 recordings are assigned to training and 2 to testing. The complete dataset has 175 sequences, with 125 in training and 50 in testing. This is a tightly scoped classification problem rather than a full transcription benchmark.

The input representation contains a 12-dimensional vector of Mel-frequency cepstral coefficients, or MFCCs, together with an energy feature. These are acoustic features extracted from short windows of speech. The resulting input has 13 channels.

Features are sampled every 10 ms using a 25 ms window, with pre-emphasis set to 0.97. Each channel is normalized using the training data so that its training-set mean is zero and its variance is unit scale. This preprocessing makes the channels more comparable numerically before they enter the recurrent network.

All systems have 13 input units, a hidden layer, and a softmax output layer containing 25 units. Softmax assigns a normalized score across the candidate word classes. The nominal total parameter budgets are 0.5k, 1k, 2.5k, 5k, and 10k.

Training minimizes multinomial cross-entropy, an objective that penalizes assigning insufficient probability to the correct class. The learning rate is 3×10⁻⁴ and momentum is 0.9. As in generation, each experimental configuration is repeated from 100 initializations.

Because the training set is small, the authors add Gaussian noise to the inputs during training. Its standard deviation is 0.6. The stopping rule monitors error on the training set without added noise and ends training when that error has failed to decline for 5 epochs.

LSTM again receives a forget-gate bias initialization of 5. Clockwork RNN uses 7 equally sized modules with periods 1, 2, 4, 8, 16, 32, and 64. The different schedule range reflects the configuration chosen for this task.

The reported ranking again favors Clockwork RNN, followed by LSTM, with the simple recurrent network performing worst. LSTM improves substantially at larger parameter budgets. The authors describe Clockwork RNN as outperforming both alternatives across all tested budgets, reporting an average margin of 8–20%.

That margin should be kept in the form the paper gives it. The surrounding prose does not make sufficiently clear whether the percentage is intended as a relative error change or a difference in percentage points. Converting it into either interpretation would add precision that the text does not establish.

For the largest systems, the summary caption describes the Clockwork result as more than 2× better than LSTM. The table is said to contain mean error and standard deviation over 100 runs, but the actual numerical entries are absent from the rendered table text. Exact test-error values therefore cannot be recovered responsibly from the captions alone.

The experiment demonstrates successful direct classification of complete word sequences from acoustic features. It does not evaluate continuous speech transcription, phoneme recognition, or a large vocabulary. Its relevance to [speech processing](https://md.research.elamur.ai/free/en/topics/speech/) lies in the controlled question of whether recurrent timing helps preserve discriminative information across a word.

### What the ablations show

The paper contains no systematic ablation that removes or independently varies the main Clockwork RNN components.

It does, however, offer several controlled comparisons and diagnostic observations. These help establish the usefulness of the full architecture while leaving the contribution of individual mechanisms unresolved.

#### Increasing the parameter budget

Both tasks evaluate several network sizes under approximately matched budgets. This checks whether the advantage is merely an artifact of comparing a larger Clockwork system with a smaller alternative. The repeated ordering across budgets makes that explanation less persuasive.

The generation results also distinguish the systems’ responses to greater capacity. The simple recurrent network does not improve meaningfully with the tested size increases, while LSTM does. Clockwork RNN performs strongly even at its smallest budget. This suggests that architecture and trainability matter alongside the number of parameters.

The comparison does not identify whether Clockwork RNN benefits most from its clocks, its restricted recurrent matrix, or the hidden width made possible by its parameter allocation. Those features change together when the architecture changes.

#### Repeating random initializations

The 100 runs per configuration reveal variability that a best-run comparison would hide. The generation analysis reports reduced spread for the larger Clockwork configurations. This is evidence that performance is more consistent under the tested initialization procedure.

Consistency across starts is relevant to engineering because a system that occasionally succeeds can still be difficult to train reliably. Yet the repetition does not eliminate every source of experimental uncertainty. The paper does not report repeated construction of the speech split or a separate sweep over alternative clock schedules.

#### Inspecting the generated trajectories

The generation figures compare the best output of each architecture with the target signal. This analysis connects a scalar error to visible behavior. Settling towards a mean, smoothing a sequence, and following its detailed changes are different failure patterns even when all can be summarized by squared error.

The trajectories support the interpretation that Clockwork RNN handles the signal’s temporal variation more effectively in this setting. They do not show which module represents which part of the signal. No module-specific frequency analysis or intervention is reported.

That distinction limits the mechanistic conclusion. The figures show what the whole network produces. They do not establish that a particular slow module encodes a particular low-frequency component.

#### Adjusting the LSTM baseline

The authors report that a forget-gate bias of 5 is crucial for useful LSTM behavior on these tasks. They also choose a different generation learning rate for LSTM. These observations show that the comparison includes architecture-specific training care.

They are not presented as full ablations with numerical curves for each alternative initialization. Accordingly, the paper supports the claim that these settings mattered in the authors’ experiments, but not a detailed quantitative account of how much each setting changed the outcome.

The appropriate inference is that the LSTM baseline was not simply run under every setting used by the simple recurrent architecture. The training procedure acknowledges that different recurrent designs can require different conditions.

#### Proposed and unreported variations

The discussion considers linear, Fibonacci, logarithmic, and random period choices. It does not test them. The exponential schedule worked well enough in the preliminary experiments that the authors left those alternatives unexplored.

The same applies to learning clock periods and choosing unequal module sizes. These are proposed extensions, not validated improvements. The paper therefore supplies no evidence that its chosen schedule or equal-sized grouping is optimal.

The authors also mention preliminary work in which individual weights have separate clocks. They report training difficulties and poor results, but do not include those experiments. This is a useful caution against assuming that finer-grained scheduling must be better. It remains an informal observation rather than a documented comparison.

The combined evidence favors the complete clockwork design under the reported setups. It does not determine a minimal necessary mechanism. A clearer causal account would require comparisons that separate retained-state timing, asymmetric connectivity, module size, and clock-period choice.

### Limitations

#### Limits stated by the authors

The authors describe the experiments as preliminary. They propose further evaluation on other kinds of sequential problems and comparison with a wider range of recurrent approaches. Reinforcement learning is named as a future application, not demonstrated as an existing result.

They also identify internal dynamics as an open question. Understanding how the network assigns its resources to different aspects of an input remains future work. This matters because the architecture gives a strong intuition about slow and fast information, but the experiments do not directly verify that interpretation inside the trained hidden layer.

Clock choice is another acknowledged open issue. The reported systems use fixed exponential periods. Other schedules are discussed without evaluation. Learning the periods would require a way to optimize discrete triggering decisions, such as a differentiable replacement for the modulo-based rule or an evolutionary procedure.

Module size is likewise left open. The authors suggest allocating different numbers of neurons according to properties of the input, potentially informed by frequency analysis. No experiment establishes how that allocation should be done or whether it improves the reported tasks.

The discussion also considers a smallest period greater than 1. In such a system, the output would not be able to change at every step through hidden-state updates. The authors suggest that this could be useful for filtering noise. It remains a proposed behavior rather than a tested application.

#### Limits visible in the experimental design

The generation task measures reproduction of a known sequence. Because the system trains on the signal it must regenerate, success is evidence about fitting and storing a temporal trajectory. It is not evidence about generalization to unseen music or the quality of generated audio beyond those targets.

The speech dataset is very small. Its 125 training sequences and 50 test sequences support a focused comparison, but leave substantial uncertainty about broader behavior. The experiment’s 25 word classes and suffix-based organization are deliberately chosen for a temporal discrimination problem. Results on that collection do not establish performance on unrestricted speech.

Repeating optimization from 100 initializations strengthens the account of training variability. It does not create additional independent speakers or test sequences. The same finite dataset remains the basis of the generalization claim.

The paper does not describe an independently selected validation set for the speech task. Its stopping criterion uses the training error measured without added noise. That is a clearly stated procedure, but it provides a different form of control from stopping based on held-out validation performance.

The approximate budget matching is useful but incomplete as a universal fairness criterion. Equal parameter counts do not imply equal hidden width, equal arithmetic cost, equal optimization difficulty, or equal implementation overhead. The result is most accurately read as a comparison under the authors’ chosen resource and training conditions.

There is also no direct comparison with the broader collection of approaches surveyed in related work. Hessian-free training, adaptive temporal hierarchies, and other recurrent designs are contextual alternatives. Their absence from the experiments prevents a conclusion that fixed clocks outperform all available methods for long dependencies.

#### Limits of the efficiency claim

The computational analysis compares Clockwork RNN with a standard recurrent network having the same hidden-neuron count. The predictive experiments approximately match parameter counts instead. These are different comparison conditions, so the speed bound and the error results should not be combined into an unstated universal tradeoff.

The appendix counts arithmetic associated with the recurrent and input computations under the exponential schedule. It does not present measured wall-clock timings. Actual evaluation speed can depend on how modules are represented, how inactive computation is skipped, and how much time other operations require.

The paper’s abstract and discussion describe faster evaluation, and the schedule provides a clear mechanism for reducing work. The evidence nonetheless supports an analytical efficiency argument more directly than an implementation-specific runtime promise.

#### Limits of the mechanistic explanation

The architecture encourages persistent and rapidly changing components, but the experiments do not prove a clean division into interpretable temporal roles. A slow module might store useful context, redundant information, or a mixture of effects. Its period alone does not reveal the content of its activation.

The restricted recurrent direction also imposes a real representational choice. Slow modules do not read fast-module state. That protection may help retain context, yet it can prevent slow memory from incorporating useful processing performed in the fast modules. The paper does not isolate the benefits and costs of that restriction.

Fixed clocks are insensitive to content. An informative event arriving between a slow module’s scheduled updates does not itself trigger that module. The current architecture does not include an event detector that changes the schedule. This is a consequence of its design, instead of a failure measured by the experiments.

Finally, the reported audio acquisition units and the appendix’s intermediate algebra contain inconsistencies that limit literal reconstruction of those details. They do not erase the architectural proposal, but they argue for care when reproducing the setup or relying on a printed derivation without checking its notation.

### What came after

The later works identified as citing Clockwork RNN indicate that the paper continued to matter in several discussions of sequence processing. The citation information establishes that connection, but it does not specify how each later paper used the architecture or whether it adopted any of its mechanisms. A responsible account therefore distinguishes the direction suggested by a work’s title from a documented technical extension.

The clearest thematic neighbor is [Hierarchical Multiscale Recurrent Neural Networks](https://md.research.elamur.ai/free/en/papers/chung-2016-hierarchical-multiscale-recurrent-neural-networks/), listed in 2016. Its title places it in the same broad area of recurrent computation organized across temporal scales. That makes it a natural continuation for a reader interested in the problem Clockwork RNN exposes: how different parts of a sequential system should operate over different spans of time. The citation alone does not establish whether its updates are fixed, learned, event-driven, or otherwise related to clockwork periods.

[Hierarchically Gated Recurrent Neural Network for Sequence Modeling](https://md.research.elamur.ai/free/en/papers/qin-2023-hierarchically-gated-recurrent-neural-network/) is listed in 2023. Its title connects hierarchical organization, gating, and recurrent sequence processing. Those terms raise a useful comparison with Clockwork RNN, whose update decisions are prescribed by clocks rather than by the content-sensitive gates described for LSTM in the original paper. The available citation information does not establish how the later work combines these ingredients or which Clockwork claims it discusses.

[Recurrent Neural Network Regularization](https://md.research.elamur.ai/free/en/papers/zaremba-2014-recurrent-neural-network-regularization/), listed in 2014, belongs to the training side of recurrent sequence processing. Clockwork RNN primarily changes architecture, while regularization concerns the conditions under which a trained system generalizes. The later title therefore points towards a complementary question: organizing memory effectively and controlling overfitting need not be the same intervention. The citation list does not provide a specific regularization method or a result involving Clockwork RNN.

[Learning to Execute](https://md.research.elamur.ai/free/en/papers/zaremba-2014-learning-execute/), also listed in 2014, indicates a different application direction. Its title brings sequential processing into contact with execution, where the relationship between an earlier input and a later outcome can be central. That makes it relevant to the broader motivation for recurrent memory. However, the title and citation relationship do not justify a claim that it uses clocked modules or validates Clockwork RNN’s design on execution tasks.

The speech connection continues through [End-to-end attention-based large vocabulary speech recognition](https://md.research.elamur.ai/free/en/papers/bahdanau-2016-end-end-attention-based-large/), listed in 2016. Its title identifies a speech-recognition setting involving attention and a large vocabulary. Clockwork RNN’s own speech evidence concerns a small collection of isolated words classified directly from acoustic features. The later citation places it within a broader speech research conversation, but does not show that its architecture was carried over into that later system.

[Generating Long Sequences with Sparse Transformers](https://md.research.elamur.ai/free/en/papers/child-2019-generating-long-sequences-sparse-transformers/), listed in 2019, points to another architectural family and another formulation of efficient sequence processing. Clockwork RNN reduces recurrent connectivity and skips scheduled updates; the later title concerns sparse Transformers and long-sequence generation. Their appearance in the same citation trail is relevant to the continuing question of where to spend computation across a sequence. It is not evidence that the later work implements clockwork recurrence or derives its sparsity pattern from it.

[Human-level performance in 3D multiplayer games with population-based reinforcement learning](https://md.research.elamur.ai/free/en/papers/jaderberg-2019-human-level-performance-3d-multiplayer/), listed in 2019, broadens the application context further. The Clockwork authors explicitly proposed reinforcement learning as future work. The later citation is therefore noteworthy as part of the paper’s connection to research in that area. It does not, on its own, establish that the proposed Clockwork experiment was carried out or that clocked memory was responsible for the later work’s performance.

[Neural Lattice Language Models](https://md.research.elamur.ai/free/en/papers/buckman-2018-neural-lattice-language-models/), listed in 2018, connects the citation trail to language processing organized around a lattice. The available information names the work and its relationship as a citation, without describing a transferred mechanism. It would be unwarranted to infer that a lattice corresponds to clockwork modules, or that the later system shares the original architecture’s timing rules.

Finally, [Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLP](https://md.research.elamur.ai/free/en/papers/mielke-2021-between-words-characters-brief-history/), listed in 2021, places Clockwork RNN in a broader historical discussion associated with [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/). The title suggests attention to the units through which language is represented. Clockwork RNN concerns the timing of hidden-state computation, which is a separate design axis. The citation record does not specify how the historical account connects those axes.

Across these later citations, the durable question is easy to identify even where the exact technical relationship is unavailable. A sequence processor must decide what state to retain, how frequently to transform it, and how information at different temporal scales should interact. Clockwork RNN offers a particularly explicit answer: fixed module periods, retained activations between updates, and recurrent communication from slower state into faster processing. Its experiments make that answer worth examining; its unresolved analyses leave room for later work to ask when a fixed clock is sufficient and when a sequence needs a more adaptive allocation of computation.

## Cite

Cite as Jan Koutník, Klaus Greff, Faustino J. Gomez and Jürgen Schmidhuber. 2014. A Clockwork RNN. arXiv (Cornell University).

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

```bibtex
@misc{koutnik2014clockwork,
  title = {{A Clockwork RNN}},
  author = {Jan Koutník, Klaus Greff, Faustino J. Gomez and Jürgen Schmidhuber},
  year = {2014},
  doi = {10.48550/arxiv.1402.3511},
  eprint = {1402.3511},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1402.3511}
}
```

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