Adaptive Computation Time for Recurrent Neural Networks
Paper · 2016 · Alex Graves
Summary
A fixed-size input can describe a calculation that takes several steps. An ordinary recurrent neural network gets another opportunity to update when the next input arrives, so its schedule can be a poor fit when the input already contains everything it needs. Adaptive Computation Time, or ACT, gives the network a way to keep working on the current input. The network learns to decide when to advance based on the input and the state it has reached. It can therefore do different amounts of work at different positions in the same sequence.
ACT adds a halting unit to the recurrent network. After each internal update, the unit contributes a value to a running total. Once that total reaches a threshold, ACT uses the contributions to form weighted averages of the intermediate states and outputs. The output goes to the task, and the state goes on to the next input. The averages are deterministic, so the halting mechanism adds no sampling noise to the gradients. Training charges for computation as well as prediction errors, and an optional cap limits long runs. The update count still changes abruptly at the threshold. The gradient calculation holds that count fixed and differentiates the quantities that can vary within it.
The largest gains come on generated problems. For parity, where the network must decide whether a vector contains an odd number of ones, mean error is almost 40% without ACT and below 5% with a time penalty of 0.03 or less. A recurrent logic task reaches virtually error-free performance with sufficiently low penalties, and ACT solves cumulative addition at every penalty tested. Sorting already presents the values one at a time, so the baseline has a chance to work as they arrive. The best ACT setting lowers sorting sequence error from around 12% to around 6%, with roughly 9 times the computation of the baseline. The penalty is set by hand, and its value can change both what the network learns and how long it takes to produce an answer.
On raw Wikipedia text, the predictor receives and predicts bytes. Its training-set losses are similar with and without ACT, though the learning curves suggest that ACT makes somewhat better use of the data it sees. The timing is more revealing than the loss. Extra updates cluster at spaces, punctuation, and opening brackets of markup tags, with little corresponding increase over the hard-to-predict identifiers shown in the paper. The contrast suggests that a pause can mark a point where processing the current symbol matters for what comes later. It gives a qualitative reason to investigate learned timing as a signal for segmentation.
Deep dive: Adaptive Computation Time for Recurrent Neural Networks
Adaptive Computation Time lets recurrent networks learn when to stop updating, improving several synthetic tasks while offering little gain on Wikipedia. · about 40 minutes to read
The problem and its context
The input clock and the calculation
The paper starts from the observation that the effort needed to describe a problem gives a poor indication of the effort needed to solve it. In a recurrent network, however, the arrival of inputs ordinarily dictates the schedule of state updates. The state is the information the network carries forward. Every update can revise that information using the latest input, and every new input supplies another opportunity to revise it. This is a useful arrangement when the order in which evidence arrives also gives the network a convenient order in which to work on it.
A difficulty arises when several operations are implicit in a single input. Imagine receiving the identities of a series of logic gates together, with each operation depending on results from earlier operations. The full specification is available immediately. Processing it may still benefit from a succession of transformations. With an ordinary recurrent schedule, the experimenter can rearrange the input into a longer sequence or pad the sequence to give the network additional updates. In either case the schedule comes from a decision about how to present the problem, made before the network sees the particular example.
The paper considers computation in terms of transformations between layers. In a feedforward network, the stack of layers determines how many such transformations the input passes through. A recurrent network can also build a chain of transformations by applying its transition repeatedly. The introduction cites earlier speech and image research as evidence that depth can help, and cites work on extending sequences as another demonstration that additional steps can be valuable. These results make extra transformations worth having. They leave open how to assign them to an individual input. Speech recognition with deep recurrent neural networks and Order Matters
One response is to make the chain long for every example. The paper discusses this in connection with vanishing gradients, where the training signal reaching earlier parts of a long chain becomes weak. Architectures designed to support long chains can ease that difficulty. The paper also asks whether every input needs to pass through the whole chain in the first place. The two questions concern different parts of the design. One concerns whether extended processing can be trained successfully. The other concerns which examples should receive it.
ACT gives the recurrent network a separate internal clock. The input position can stay fixed while the state changes repeatedly. The resulting length of the calculation depends on the input history, since that history influences the state from which the new calculation starts. This is a finer decision than setting the length of a padded sequence. A network can continue working at one position, advance immediately at another, and revise its choices as it learns.
Learning to stop
The paper situates ACT within conditional computation, in which a learned policy controls which operations the network carries out. It describes self-delimiting neural networks as one precedent. In that approach, a halting neuron terminates an update within a larger network whose parts are selectively active. A threshold determines when the update ends, and the training procedure does not propagate a gradient for halting time. ACT also uses a threshold to end computation, then uses the intermediate halting signals to influence the answer and the state. That gives those signals paths through which to receive training feedback.
Another precedent is recurrent scene understanding with sampled halting decisions. A system can sample whether to continue and use whichever state results from the sampled sequence of decisions. The training issue is especially apparent for a recurrent system. An early decision influences the state, which influences subsequent decisions and predictions. The paper argues that noise from sampled choices can accumulate along this chain. It constructs a deterministic calculation in which the intermediate candidates contribute in proportions set by the halting unit.
There is a second problem once the network can choose how long to work. The prediction objective gives it a reason to obtain a good answer, with little reason to furnish that answer promptly. Finding the least computation necessary for arbitrary data would take the problem into questions of description complexity and halting. The paper takes a practical route by charging for the amount of work. The training objective can then favor a short calculation if its prediction is good enough and tolerate a longer calculation if it improves the prediction sufficiently.
This arrangement delegates a decision about each input to the network while keeping the relative price of time and error under the experimenter’s control. It also makes the unit of cost important. The method counts recurrent updates. It therefore addresses how often the network applies a transition under a given architecture. The definition does not require a conversion between an update and elapsed time, or a common unit of elapsed time across different architectures.
The problem reaches beyond obtaining an answer at the current position. A recurrent network must also leave behind a state from which later inputs can be processed. If its timing policy helps with the current target but damages the state that is carried forward, subsequent errors matter to the same training objective. ACT consequently applies the halting mechanism to both the visible output and the continuing state. That choice is central to understanding why the paper tests tasks that require memory as well as tasks that need more calculation.
The method, step by step
What happens while the input stays in place
The ordinary recurrent network consumes the current input, updates its state, and makes an output. ACT begins the same way. After the first update, the network has an intermediate state and an intermediate output, and the halting unit supplies an activation. If the running total of activations is still short of the stopping threshold, the network applies its transition again to the intermediate state with the current input still available. A flag in the input distinguishes the arrival of a fresh input from another pass over the current one.
The final internal update supplies one more candidate state and output. ACT then forms a weighted combination of all the candidates at that input position. The mixture of outputs is used for prediction. The mixture of states becomes the starting state for the next input. The intermediate states used during the calculation and the combined state used between input positions therefore serve different roles. While the calculation continues, each internal update starts from the state just produced.
How ACT processes an input position
The steps in order.
The ordinary recurrence and the repeated transition
The paper describes the ordinary recurrent step using an input projection and a state transition.
sₜ = S(sₜ₋₁, Wₓ xₜ)
The index t denotes a position along the input sequence. The vector xₜ is the input at that position, and Wₓ is the matrix that projects it for the transition. S is the learned state transition. It takes the preceding state sₜ₋₁ and the projected input and produces the new state sₜ.
yₜ = Wᵧ sₜ + bᵧ
Here yₜ is the output vector at position t. The state sₜ supplies the values read by the output matrix Wᵧ, and bᵧ is the output bias. The task determines how this output becomes a prediction. For example, a task with a discrete choice can turn the output scores into probabilities.
The state includes whatever dynamic information the recurrent transition needs. In a simple recurrent network it consists of hidden activations. In Long Short-Term Memory, or LSTM, it includes memory-cell activations as well. In the paper’s more general formulation it can also include the contents of a separate memory. The output can be restricted to selected components of that state by fixing the relevant columns of its weight matrix at zero. The paper gives Neural Turing Machines as a case where state and the portion exposed to output units can differ substantially.
ACT assigns an internal index to each candidate. The first input to the transition at an external position uses the arrival flag. Subsequent passes use the same data with the flag cleared.
xₜⁿ = xₜ + δₙ,₁
Here xₜⁿ is the augmented input for internal update n at external position t, and xₜ is the underlying input vector. The plus sign denotes appending the flag δₙ,₁. This flag is 1 when the internal index n is 1, and 0 otherwise. Two consecutive positions could carry the same input vector, so the flag makes the start of a new position recognizable even in that case.
sₜⁿ = { S(sₜ₋₁, xₜ¹) if n = 1
{ S(sₜⁿ⁻¹, xₜⁿ) otherwise
The candidate state sₜⁿ is the result after internal update n at position t. The transition S starts from sₜ₋₁, the state carried from the preceding external position, when n is 1. Otherwise it starts from sₜⁿ⁻¹, the candidate from the preceding internal update. The inputs xₜ¹ and xₜⁿ carry the data and the appropriate arrival flag. In this equation the paper writes the augmented input directly as the input argument of S.
yₜⁿ = Wᵧ sₜⁿ + bᵧ
The candidate output yₜⁿ reads the candidate state sₜⁿ using the output matrix Wᵧ and bias bᵧ. The same output parameters and transition are used on each pass. Consequently a network can run a longer calculation without equipping each internal position with its own learned transformation. The paper leaves separately parameterized internal positions for future work because adding those parameters would complicate the comparison between longer computation and greater parameter capacity.
Where the calculation ends
The halting unit reads each new candidate state and produces a scalar. Its sigmoid keeps that scalar in the range needed for accumulating weights.
hₜⁿ = σ(Wₕ sₜⁿ + bₕ)
The activation hₜⁿ belongs to update n at external position t. The halting weights Wₕ project the state sₜⁿ, bₕ is the halting bias, and σ is the sigmoid. As with the output readout, selected columns of Wₕ can be fixed at zero if certain state components should be inaccessible to the halting unit.
N(t) = min{n′ : Σ[n = 1…n′] hₜⁿ ≥ 1 − ε}
The internal update count is N(t). The index n′ is a candidate stopping position, and the sum accumulates the activations hₜⁿ from the first update through n′. The minimum selects the earliest candidate meeting the inequality. The tolerance ε sets the threshold slightly below 1. The experiments use ε equal to 0.01, permitting an immediate halt when the first sigmoid activation is high enough. A threshold at 1 would require more than one sigmoid activation.
N(t) = min{M, min{n′ : Σ[n = 1…n′] hₜⁿ ≥ 1 − ε}}
The cap M limits the number of executed updates at position t. The inner minimum is the first threshold crossing as before, using candidate index n′, internal index n, activations hₜⁿ and tolerance ε. The outer minimum ends the calculation at M if no qualifying crossing has happened by that update. The paper also proposes a positive initial halting bias so that early calculations tend to accumulate stopping mass more readily. Both measures address the period when the halting unit is still learning to allocate work.
The stopping calculation and the weighting calculation use the same activations with different roles for the last update. Its activation helps determine whether the threshold has been crossed. Its weight in the average is whatever remains after accounting for the earlier activations.
R(t) = 1 − Σ[n = 1…N(t) − 1] hₜⁿ
The remainder R(t) is the unused weight at external position t. The sum runs over the internal index n through the update immediately preceding the stopping index N(t). The values hₜⁿ for those earlier updates are subtracted from 1. If the network stops on its first update, there are no earlier contributions and the remainder takes the full weight.
pₜⁿ = { R(t) if n = N(t)
{ hₜⁿ otherwise
The weight pₜⁿ belongs to candidate n at position t. On a nonfinal update, that weight is simply hₜⁿ. At the stopping index N(t) the weight is R(t), which gives the final candidate a contribution even when the cap ended the calculation. Before the last update the running total is below the threshold, so the earlier contributions leave a positive remainder.
Σ[n = 1…N(t)] pₜⁿ = 1
The sum covers the entire executed calculation at position t, from internal index n equal to 1 through N(t). The weights pₜⁿ are non-negative and their sum is 1 by construction. They can be interpreted as a distribution over the possible candidate positions. The forward calculation uses that distribution to combine candidates.
What the next position receives
The combined state is a weighted average of the candidate states. This is the state that will influence the next external position and every subsequent prediction that depends on it.
sₜ = Σ[n = 1…N(t)] pₜⁿ sₜⁿ
Here sₜ is the state carried forward from external position t. The sum multiplies each intermediate state sₜⁿ by its weight pₜⁿ, with n ranging over the N(t) executed updates.
yₜ = Σ[n = 1…N(t)] pₜⁿ yₜⁿ
Here yₜ is the output at external position t, and yₜⁿ is the output candidate associated with internal update n. The same pₜⁿ weights apply, over the same N(t) updates. A short calculation ending on arrival uses the first state and output in full. A longer calculation can produce an answer and a continuing state with contributions from several updates.
The paper calls this a mean-field update. A sampled version would pick a candidate from the distribution for each position. Using the average makes the state and output depend directly on the weights. For a fixed set of candidates, shifting weight from one to another changes these vectors continuously. The recurrent chain can pass the consequences of that shift to the loss at later positions without introducing randomness from a draw.
This design assumes that interpolation between vectors can produce useful states. A state can contain information about the immediate calculation and memory for later use, so the assumption matters even where the current answer is correct. The paper motivates it with earlier work on the behavior of learned representations and the ability of neural networks to train under constraints such as randomly masked units. It also argues that a distribution concentrated on one candidate makes interpolation less important, since the mixture then behaves much like that candidate. These are reasons for trying the design. They do not specify what will happen to the distribution in every task. Sequence to Sequence Learning with Neural Networks · Dropout
Charging for another update
The cost combines the actual count and the remainder. The integer part responds to how many updates were executed, and the remainder provides a quantity that changes as the earlier halting activations change.
ρₜ = N(t) + R(t)
The value ρₜ is the ponder quantity assigned to external position t. The count N(t) measures the executed updates, and R(t) is the final candidate’s weight. The addition makes ρₜ an upper bound on the count. Holding the count fixed still leaves room to lower the penalty by increasing the earlier activations and reducing the remainder.
P(x) = Σ[t = 1…T] ρₜ
The function P is the total ponder cost for the input sequence x. The sum covers external positions t from 1 through the sequence length T, and each term ρₜ is the ponder quantity at that position.
L̂(x, y) = L(x, y) + τ P(x)
The training objective L̂ adds the ponder charge to the task loss L. The input sequence is x, and y is the corresponding output sequence used to evaluate the task loss. P gives the charge for computation on x. The coefficient τ states how heavily to weight it relative to the loss on predictions. A high coefficient gives the network a stronger reason to find a shorter calculation.
The paper discusses another way to define the cost, motivated by a stochastic halting scheme. In that scheme an activation indicates the chance of stopping at the current position given that the calculation has reached it.
pₜⁿ = hₜⁿ ∏[n′ = 1…n − 1] (1 − hₜⁿ′)
In this alternative, the weight pₜⁿ is the probability of reaching internal update n and stopping at that update of position t. The activation hₜⁿ supplies the conditional chance of stopping there. The product runs over earlier internal indices n′ and multiplies their continuation probabilities, each written as 1 minus hₜⁿ′. This is a different use of the halting activations from the additive construction used in ACT.
ρₜ = Σ[n = 1…N(t)] n pₜⁿ
In the expected-time alternative, ρₜ represents an average stopping index at input position t. The stopping index n multiplies its corresponding probability weight pₜⁿ in the sum, which includes the internal positions up to N(t). A large early weight can keep this average low even when the calculation has executed many updates.
The paper reports a concrete failure of training against expected stopping time. The network could put the first activation just short of the threshold, keep the intervening activations at zero, and halt much later. This leaves the last candidate with little weight. If the last state and output have large enough magnitudes, their contributions can still dominate the weighted vectors. The network can thus obtain the benefit of a late calculation while paying a small expected-time charge. Counting executed updates in the cost removes that particular way of making an expensive computation look cheap.
What the gradient can see
The stopping index creates a discontinuity. A small change in an activation can move a cumulative total across the threshold and add or remove an update. On a stretch where the stopping index stays fixed, the remainder varies linearly with earlier activations. The paper uses this local relationship for training and ignores the jumps in the count. With that convention it can derive the gradient of the computation cost first, then add the contribution from the task.
∂P(x)/∂hₜⁿ = { 0 if n = N(t)
{ −1 otherwise
The symbol ∂ denotes a partial derivative. P(x) is the sequence ponder cost, and hₜⁿ is the halting activation at update n of position t. The stopping index N(t) is held fixed. An increase in an earlier activation lowers the remainder by the same amount, giving the derivative −1. The final activation does not enter the remainder, giving a derivative of 0 there.
∂L̂/∂hₜⁿ = ∂L/∂hₜⁿ − { 0 if n = N(t)
{ τ otherwise
The objective L̂ and task loss L are evaluated on the same input and output sequences. The derivative on the left measures the local effect of hₜⁿ on the full training objective. The term ∂L/∂hₜⁿ accounts for the effect on the task. The subtracted quantity is the time penalty τ for a nonfinal update n, or 0 if n is the stopping index N(t).
The task part of the derivative follows the change in the mixture. Within the executed calculation, a halting activation changes the task loss through its effect on the mixture weights.
∂L/∂hₜⁿ = Σ[n′ = 1…N(t)] (∂L/∂pₜⁿ′)(∂pₜⁿ′/∂hₜⁿ)
Here L is the task loss and hₜⁿ is the activation whose effect is being measured. The index n′ ranges over all executed updates at position t. Each term follows the effect through the weight pₜⁿ′, multiplying the derivative of the loss with respect to that weight by the derivative of the weight with respect to the activation. N(t) is the fixed last index in this calculation.
∂L/∂pₜⁿ = (∂L/∂yₜ) · yₜⁿ + (∂L/∂sₜ) · sₜⁿ
The derivative on the left measures the task loss L’s sensitivity to the weight pₜⁿ. The output gradient ∂L/∂yₜ is paired with candidate output yₜⁿ, and the state gradient ∂L/∂sₜ is paired with candidate state sₜⁿ. The centered dot denotes the scalar product of the gradient with the candidate vector. The state term can reflect errors at later positions because sₜ is passed along the sequence. A halting signal can thus receive feedback for what it caused the network to remember.
∂pₜⁿ′/∂hₜⁿ = { δₙ,ₙ′ if n′ < N(t) and n < N(t)
{ −1 if n′ = N(t) and n < N(t)
{ 0 if n = N(t)
The formula differentiates weight pₜⁿ′ with respect to activation hₜⁿ at the same external position t. The symbol δₙ,ₙ′ is 1 for equal internal indices and 0 otherwise. Increasing a nonfinal activation adds to its own weight and takes the same amount away from the weight at N(t). When the activation being varied is itself the final activation, every weight stays fixed in the local calculation.
∂L̂/∂hₜⁿ = (∂L/∂yₜ) · (yₜⁿ − yₜᴺ⁽ᵗ⁾)
+ (∂L/∂sₜ) · (sₜⁿ − sₜᴺ⁽ᵗ⁾) − τ, for n < N(t)
This is the combined gradient of the objective L̂ for a nonfinal activation hₜⁿ. The output gradient of L is paired with the difference between candidate yₜⁿ and final candidate yₜᴺ⁽ᵗ⁾. The state gradient of L is paired with the corresponding difference between sₜⁿ and sₜᴺ⁽ᵗ⁾. The scalar products express the task effect of shifting weight away from the last candidate toward the earlier one. The subtraction of τ captures the computation incentive for making that shift.
∂L̂/∂hₜᴺ⁽ᵗ⁾ = 0
Here L̂ is the full training objective and hₜᴺ⁽ᵗ⁾ is the halting activation on the last executed update at external position t. Its direct derivative is zero with the stopping index fixed. This says nothing about whether the candidate state and candidate output at that update receive gradients. They still contribute to the combined vectors. A change large enough to switch the stopping index also falls outside this derivative calculation.
Having derived these terms, the paper trains the network by back-propagation through time. That procedure sends the gradient through the executed recurrent transitions, including across external input positions. The prediction and computation terms therefore train the same transitions and halting readout together. The procedure differentiates the weighted calculations on the path that ran. The threshold continues to govern which path is executed on the next forward pass.
Shared training conditions
All experiments use supervised targets from discrete categories and cross-entropy, which penalizes the network for assigning too little probability to the observed target. The learning rate for Adam is 10⁻⁴, with asynchronous Hogwild! training on 16 threads. The initial halting bias is 1, and the threshold tolerance is 0.01. The synthetic experiments run for 1M iterations and Wikipedia runs for 10K. The iteration axis counts weight updates for an individual thread. Early stopping is unused throughout. Adam
The time penalty is chosen from a logarithmic grid. At each value the paper trains 20 randomly initialized networks, making it possible to see whether a particular result is typical across initializations. The grid uses the following form.
τ = i × 10⁻ʲ
The value τ is the coefficient of ponder cost. The integer i is the multiplier, and j is the exponent that controls the order of magnitude through the negative power of 10. The multiplier spans 1–10. The exponent j spans 1–4 on the synthetic tasks and 1–3 on Wikipedia. The paper limits the latter search because the experiment takes many days. Letting the network ponder longer can increase the amount learned from the data while reducing the rate at which examples can be processed in elapsed time.
The ordinary update cap is 100. Addition uses 20 after some initial runs took especially long to halt early in training. The paper reports that learned update counts settle far below their caps. The cap is therefore primarily a bound on early behavior in these runs. The time penalty remains relevant after that protection stops binding because it still changes the cost of a longer calculation.
Experiments and results
How the trials are scored
The central comparison is between the recurrent network trained with ACT and its ordinary counterpart on the same task. Most experiments use LSTM. The parity test uses a simpler recurrent network. The generated problems have online data generation, so the results describe performance on examples from specified generators. The paper does not use a cross-validation split for those tasks.
The metric on generated tasks is sequence error. A sequence counts as wrong if any required prediction in it is wrong. On parity, the sequence has just an input and its answer, so this is also the classification error. On sorting, a sequence can contain many output indices, and even a mistake confined to a small part of the order counts as a failed example. The metric tests complete correctness and leaves the number of mistakes within an unsuccessful sequence unspecified.
Wikipedia uses average log-loss, reported in bits per character. In this task the processing unit is a byte. The result credits the probability assigned to the actual next byte, so it can distinguish predictions that make the same most likely choice with different confidence. The reported measurements are on the training data. The paper gives a qualitative comparison of the losses in its discussion, without stating exact numerical loss values there.
Parity from a vector presented all at once
For a stream of bits, a recurrent solution to parity can toggle an internal state each time a one appears. At the end, that state indicates whether the count of ones is odd or even. The experiment folds all the bits into a single vector. The same mathematical problem now arrives in a form that gives the ordinary recurrent network only its arrival update. This setup tests whether ACT can learn a useful succession of operations from a static presentation.
Each vector has 64 elements. A randomly chosen number of positions, ranging from 1 to 64, is filled with values of 1 or −1. The other positions contain 0. The binary target is 1 for an odd count of ones and 0 for an even count. The number of filled positions varies, so the experiment can later measure how the network’s computation responds to difficulty even though every vector has the same width.
The network has a hidden layer of 128 units with a hyperbolic tangent activation and one sigmoid output unit. It trains with binary cross-entropy in minibatches of 128. Without ACT there is no in-example succession of inputs over which the recurrent connection can be used, and the calculation is equivalent to a feedforward pass with one hidden layer. ACT makes the recurrent transition useful within the example.
At the end of training, mean error without ACT is nearly 40%. The paper gives 50% for random guessing. At penalties of 0.03 and below, mean error is below 5%. The learning plots also show that lower penalties are associated with learning the problem more quickly and accurately. That use of speed concerns progress along the training-iteration axis. It can coexist with individual predictions that take more internal updates.
The plots show substantial variation in how long successful low-penalty calculations run. Replicating the training from different initial states can produce networks that are similarly good at parity and quite different in runtime. In this experiment ACT makes repeated calculation available, and the comparison shows a large benefit from doing so. Which repeated calculation emerges is a separate empirical question.
Logic with a previous result hidden in the state
The logic experiment combines work within an input with memory across inputs. A sequence contains 1 to 10 vectors, each of size 102. The first two positions are reserved for initial bits. The remaining positions are divided into 10 chunks of size 10. A randomly chosen number B, from 1 to 10, determines how many gate instructions are active. Each of the first B chunks uses a one-hot encoding, in which the active entry identifies one of the available truth tables. The unused chunks are all zero.
The target for a vector requires applying the indicated truth tables in succession. Each gate receives the latest pair of values produced or supplied so far.
bᵢ₊₁ = Tᵢ(bᵢ, bᵢ₋₁)
The index i runs over the B active instructions, beginning at 1. The truth table Tᵢ is the binary operation selected by chunk i. The bits bᵢ and bᵢ₋₁ are its arguments, and bᵢ₊₁ is the resulting bit. The first computation uses the initial bits b₁ and b₀, and the last produces the target bᵦ₊₁, with the subscript β here denoting B.
At the first external position, both initial bits are random and given to the network. At each later position, only b₁ is newly sampled. The target calculation uses the preceding vector’s answer as b₀, but the corresponding input slot is always zero. This makes the remembered bit essential. The gate instructions can be processed correctly in isolation and the answer can still be wrong if the network carried a corrupted result from the preceding position.
The network is a single-layer LSTM with 128 cells. It uses a sigmoid output, binary cross-entropy, and minibatches of 16. The ordinary network reaches sequence error around 0.2, with 0.5 given as the guessing comparison. ACT reaches virtually zero sequence error at penalties of 0.01 or below. At low penalties the learning curves show the problem being solved after about 10,000 training iterations.
At the other end of the grid, the penalty can be large enough that the network uses only 1 update per input. The computation then behaves like the ordinary recurrent network. In this setting the presence of a halting readout is insufficient to change the task computation. The success observed at lower penalties shows what the architecture can do when it can use the intermediate transitions, while preserving a state that supports further gate sequences.
Cumulative addition with digit-wise outputs
Addition also requires a persistent state, this time to retain a running sum. A sequence contains 1 to 5 inputs of size 50. Each input encodes an integer with D digits, with D drawn from 1 to 5 and each digit drawn from 0 to 9. A digit occupies a group of entries with one active position. The groups belonging to the actual number occupy the first 10D entries. Remaining entries are zero, allowing the network to distinguish an unused digit position from an encoded digit zero.
The output gives the cumulative total after the current input has been incorporated. The first position has no supervised output. It establishes the number to which subsequent numbers will be added. The network predicts the result with 6 simultaneous classifications. Each has a softmax of size 11, assigning probabilities to the 10 digit categories and an additional category used beyond the end of the number. Thus the number of output heads stays fixed while the written length of the sum can change.
The single-layer LSTM has 512 memory cells, and the minibatch size is 32. At positions with targets, the task loss combines the cross-entropies from all 6 classifications. Addition uses the reduced cap of 20 because some networks took many internal steps early in training. The objective still supplies a separate reason to stop early whenever a calculation ends before that cap.
The paper reports that ACT solves addition perfectly across the entire tested penalty grid. It describes this result without giving a numerical ordinary-network error in the accompanying discussion. Unlike parity, addition shows faster learning in terms of training examples when the time penalty is higher. A stronger pressure to conserve updates can therefore coincide with easier learning of this task.
For most ACT settings, computation grows roughly linearly with the number of digits in the input. For the most economical settings, the reported slope is close to 1 on this digit-count analysis. A procedure that advances through digits in successive updates could produce that pattern. The metric and the traces capture how the network’s work scales over the tested lengths, leaving the contents of the state during a digit calculation open.
Sorting individually presented values
The sorting experiment uses a different organization of the input. A sequence of 2 to 15 values drawn from a standard normal distribution is presented one value at a time. The network returns the input positions in ascending order of their values. The required answer is therefore an ordering of original positions. A successful predictor must preserve enough information about the values it has seen to emit that ordering later.
Each input vector has size 2, with a real value and a binary indicator for the end of the list to be sorted. The inputs following that list are set to zero. The target indices begin after the values have been presented. The single-layer LSTM uses 512 cells, and the output is a softmax of size 15 trained with cross-entropy. The minibatch size is 16.
The ordinary network already has a sequence of updates while it receives the list and while it supplies its answers. ACT can put more computation at positions where an additional pass is useful. The chart uses the approximate sequence-error values stated for the generated sorting task.
Approximate sequence error on generated Gaussian sorting examples
The best ACT setting produces fewer incorrect output sequences than the ordinary LSTM.
The numbers
| System or setting | sequence error % |
|---|---|
| LSTM without ACT | 12 |
| Best ACT setting (this paper) | 6 |
The gain comes with roughly 9 times the computation for the best networks compared with those without ACT. Sequence error increases rapidly with list length across the settings. The experiment therefore provides evidence that more flexible processing can help even on sequentially presented data, alongside a case where the accuracy gain is computationally expensive. It also exposes a separate source of errors. Sampled real values can lie very close together, so deciding their order can be difficult in its own right.
Predicting the next byte on Wikipedia
The Hutter prize Wikipedia dataset changes both the kind of input and the aim of the experiment. The predictor receives raw text as bytes and predicts the next byte. It sees the XML tags and other markup in addition to ordinary text. The authors follow the earlier use of this dataset in Generating Sequences With Recurrent Neural Networks.
A training sequence is a randomly selected stretch of 500 consecutive bytes. Each stretch begins with the network’s state reset to zero. The predictor is a single-layer LSTM with 1500 cells and a softmax of size 256. Training and evaluation under these conditions concern next-byte prediction within sampled stretches of the dataset. The reported log-loss is measured on training data, and there is no validation set used to decide when to stop training.
Across the penalties tested, loss values are fairly similar whether or not ACT is used. The learning curves suggest some gain in data efficiency, in the sense that the ACT runs appear to make somewhat better use of the examples encountered during training. The amount of internal work added per input is also much lower than on the synthetic tasks. Together the observations point to a modest predictive payoff from repeated updates in this setting.
The position-by-position results are more distinctive. The networks pause at spaces between words and tend to pause longer at commas and full stops. The opening of an XML tag also attracts extra updates in the sequence shown. The trace through identifiers shows that high uncertainty can coexist with little extra calculation. These observations invite a different use of the timing measure. It may help locate changes in the input that are worth incorporating into the state, even where the next byte is easy to predict.
What the ablations show
Removing adaptive computation and varying its price
The paper compares the full ACT mechanism with ordinary recurrent computation and varies the time penalty systematically, without a component-by-component removal study of the arrival flag, remainder, or state and output mixtures. The ordinary baseline addresses whether the package helps at all. The penalty sweep addresses how training responds when the package is available but its use has a different price. The difficulty curves and individual traces add information about where that computation goes.
Parity is the clearest comparison because the ordinary network gets no chance to use recurrence within the example. In logic, high-penalty ACT also illustrates what happens when extra internal updates disappear. The single-update computation behaves like the ordinary recurrence. Taken with the large gains under more permissive penalties, this ties the result to the ability to extend the computation. The comparison leaves open how much of the gain would survive if the number of internal updates were set to a fixed value greater than one.
The sweeps also show that time cost can influence the learning trajectory. In parity, permissive settings make accurate solutions easier to reach, and the successful runs can have widely different update counts. Moreover, the stronger penalties lead to solving the task with fewer examples. A single interpretation of τ as an adjustment to the length of an otherwise established procedure would miss these differences. Changing τ changes the objective from the beginning, when the network is still learning what to do with extra updates.
The expected-time alternative discussed in the method supplies a more focused comparison of objectives. Its failure shows that an average calculated from the candidate weights can understate the work actually used by the network. The reported strategy depends on the product of a candidate’s weight and its magnitude. A late vector can have a large effect on the result despite a small weight. The paper gives this as a behavioral observation about that cost choice, without a quantitative sweep comparing it with the adopted cost.
Varying the workload inside the input
For parity, the difficulty curves hold vector width constant and vary how many positions contain the bits of interest. Each plotted difficulty value is averaged over 1,000 random vectors, and the bold curves show averages over 20 networks at each setting. Ordinary networks and ACT networks with high penalties show increasing error as difficulty rises, with relatively little change in the amount of computation. Successful intermediate-penalty networks show a roughly linear rise in computation. The typical slope gets steeper as the penalty decreases.
In some of the lowest-penalty parity runs, computation rises sharply after about 32 bits. The paper reads this as a sign that a successful solution can be inefficient. It suggests that stronger penalties might induce a network to calculate parity over larger groups of bits at each update before combining the partial results. The measurable quantities are the error and the update count for each difficulty. They support the possibility of different procedures without identifying what groups, if any, the state represents.
In the logic difficulty analysis, the sequence length is held at 5, while the number of gates in each input varies. That controls for the effect of changing the number of external positions on sequence error. The computation rises gradually from 5 to 10 gates, and the ordinary and high-penalty networks show an abrupt increase in error after 5 gates. The paper proposes that a network might be able to learn a composite operation over a limited succession of gates before iteration becomes necessary.
The behavior at the easy end complicates that explanation. Some networks take more than 10 updates to process an input specifying a single gate. There is also a cluster around 5–6 updates among the lowest-penalty logic networks, which the paper compares with the typical gate workload in discussing a procedure that handles gates individually. These patterns motivate the possibility that different cases elicit different computations. They give little support to reading each additional update as the application of a particular gate.
In the addition difficulty analysis, external sequence length is held at 3 and the digit count varies. The roughly linear increase in computation, especially for economical settings, fits the demands of long addition. The paper also shows traces from a network trained with τ set to 9e⁻⁴. Along these examples it compares the pondering trace with the total digit count of the operands being combined at each position. The operand measure approximately tracks the amount of work, which is more informative than treating every input with the same digit count as an identical computation. The running total can also affect the work required at that position.
Where sorting concentrates work
The sorting difficulty curves aggregate computation per input position. The paper reports sublinear growth in this quantity with list length for the better networks. A second analysis plots computation along individual sequences from a network trained with τ of 10⁻³. These traces reveal a pronounced spike close to the end of the arriving list. Its placement is near the end marker, with some variation in where the peak occurs. The paper suggests that many of the comparisons may be taking place there.
The largest pauses in these examples are on the longer lists. Much of the rest of each sequence sees little pondering, and the paper notes that the longer examples shown can have a lower average per timestep in spite of the higher peak. The difficulty curve and the traces therefore measure different aspects of the workload. One aggregates across inputs and examples within a length condition. The other can expose a concentrated calculation that contributes modestly to an average spread over many positions.
The paper frames the scaling question using the cost of efficient sorting.
O(N log N)
Here N refers to the number of values being sorted, distinct from ACT’s per-position stopping index N(t). The notation O describes an upper order of growth, and log is the logarithm. ACT’s plots report recurrent updates, including averages per input position, over the tested range. They do not identify the number of primitive comparisons carried out by a recurrent transition. The paper leaves the connection between the observed scaling and an efficient sorting algorithm unresolved.
Comparing learned pauses with prediction difficulty
The Wikipedia traces place pondering beside prediction loss and predictive entropy. Loss depends on the probability assigned to the target that actually occurs. Entropy depends on how diffuse the prediction is across possible next bytes. Both relate to the immediate prediction. The amount of internal computation depends on the halting unit’s reading of the state, which was trained under an objective that also accounts for consequences later in the sequence.
Punctuation makes the difference concrete. A comma or full stop can mark a transition in the text while allowing a confident prediction that the next character is a space. A loss or entropy spike would therefore be an unreliable way to locate that transition. Additional updates at the punctuation could change what the network is prepared to predict after the space. The authors suggest that the network could be doing work in anticipation of the next word, clause, or sentence.
The markup example shows the complementary pattern. There is additional pondering at the opening brackets of XML tags. In the same analysis, identifier strings that are hard to predict do not attract comparable extra work even though they produce high loss and entropy. Both traces come from a network trained with τ of 6e⁻³. This makes the contrast between transition markers and identifiers a comparison within the behavior of the same predictor, under the same time penalty.
The paper interprets this as a possible distinction between useful processing and irreducible uncertainty from the network’s point of view. More work on a transition can change how later data are handled. More work on a segment whose next symbols are fundamentally unpredictable can cost time with little benefit. The observation gives the timing signal a role in interpretability while leaving the proposed boundary detection to a direct evaluation.
Limitations
Limits the paper identifies
The paper singles out the choice of time penalty as a weakness. The network adapts its processing to the price it is given, and the experimenter has to set that price. The grid searches expose a broad range of learning behavior, accuracy, and computation. They do not supply a general rule for choosing a value for a new problem. The authors suggest that a principled choice would be easier if computation and prediction errors had a common meaningful cost. They also identify automatic adjustment of the speed and accuracy tradeoff as a direction for further work.
The gradient restriction is explicit. The ponder cost jumps when a different number of updates is selected. Holding the count fixed gives a usable training derivative through the remainder and the mixture weights, while a change that alters the executed path falls outside that calculation. The absence of sampled halting decisions is a distinct property. It removes a source of noise in the gradient estimate without making the threshold globally differentiable. The paper acknowledges that an earlier version had incorrectly described the ponder cost as smooth.
The method also relies on the usefulness of averaging candidate states. The paper argues that vectors learned by neural networks can have helpful interpolation properties and that concentrated weights can reduce reliance on those properties. Whether complete states can be averaged usefully is particularly consequential for architectures with more elaborate memory. The method is formulated to accommodate them, while the tested networks are a simple recurrent network and LSTMs. The paper presents recurrent architectures with soft attention as promising applications for choosing the number of internal operations. It leaves that application to future work. Neural Machine Translation by Jointly Learning to Align and Translate · DRAW
Sorting has a task-specific limitation that the paper calls out. Closely spaced numbers can be hard to order. Imposing a minimum separation is suggested as a possible change to the generator. Since this is a proposal, the experiment provides no estimate of how much of the error would disappear if the values were separated. The comparison establishes the sorting result under the distribution that was used.
What the comparisons leave open
The input formats of the first synthetic tasks give ACT a particularly favorable opportunity to help. A problem that admits successive operations is encoded within a fixed-size vector, and the ordinary network gets just one update at that position. This demonstrates that extra internal work can recover a capability a particular input schedule makes difficult. It leaves open the size of the gain against an ordinary recurrence with a representation that exposes the same operations across external time. The paper itself points out this asymmetry and uses the sequential sorting setup to investigate a different case.
A closely related question concerns the benefit of adaptation as distinct from access to additional updates. The baseline comparison and the penalty sweep show that extra updates can matter, and the within-setting precision and timing plots show that the number of updates varies with input and history. The experiments do not match an adaptive network’s resource budget against a fixed-computation network given comparable opportunity to work. The observed behaviors support the claim that ACT learns to vary its effort. Establishing that this is the most accurate or economical allocation under a shared budget would require that additional comparison.
There is also a distinction among recurrent work, sample efficiency, and elapsed time. An update count is a direct measure of repeated transitions, and the learning curves show progress as the asynchronous workers train. These quantities are insufficient to infer a wall-clock saving. A network can learn from fewer examples and spend more time processing each example. Sorting gives a concrete reason to keep cost and accuracy visible together. It is possible to prefer the lower sequence error while recognizing the substantial increase in executed work.
The synthetic difficulty analyses cover the ranges defined by their generators. Length-dependent timing within those ranges is compatible with learned iteration. It does not determine what happens on longer sequences or whether the learned procedure can scale indefinitely. Even within the ranges, some interpretations remain ambiguous. A roughly linear relation between work and input digits is consistent with digit-wise addition, and a sorting spike is consistent with comparisons concentrated near the end of the input. Neither measurement reveals the operations or stored quantities that would be needed to reconstruct the algorithm from the trace.
What the text experiment can establish
The Wikipedia comparison measures performance on training data. The authors explain that the networks were unable to overfit under the experimental conditions. The evaluation nevertheless concerns the samples and context regime used for training. State resets at the start of the sampled stretches also limit the context that can influence a particular prediction. The observed similarity of losses applies to this byte-prediction setup. It gives little basis for general claims about the predictive effect of ACT on other text tasks.
The timing observations also concern a proposed interpretation, with no formal test of segmentation. A space, comma, or opening markup bracket is an observable character that can provide evidence of a transition. A pause near such a character shows that the trained network assigned additional work to it. How reliably pauses would recover boundaries across the dataset, including cases with no overt marker, is unmeasured. The paper presents the comparison with self-paced reading as an analogy about when work might occur. It does not test whether the network and a reader perform the same kind of processing.
The examples with identifiers likewise motivate a hypothesis about useful work. They show that extra computation is not an automatic function of the loss or entropy in the illustrated sequences. They leave open which structures the learned policy would recognize elsewhere and which other kinds of unpredictable input it would treat the same way. The narrow result is valuable precisely because the additional measurement can vary while immediate prediction difficulty is held in view. It shows an observable difference between prediction uncertainty and the allocation of work in a trained recurrent system.
What came after
Learning how much work to allocate
Later papers that cite ACT take up the allocation question at different levels. PonderNet makes learning to ponder its explicit subject. That is the most direct continuation of the problem posed here. ACT turns a pause into a learned decision about further recurrent transitions, with a training charge for delaying the output. The connection to PonderNet is the decision to make the duration of a calculation something learned in its own right. The citation and title establish that shared problem without specifying which equations the later work carries forward.
Learning How Hard to Think takes up input-adaptive allocation in language computation. Its framing puts the variation among inputs at the center of the problem. ACT’s synthetic tasks demonstrate how this variation can arise even among inputs of equal size, as when parity vectors contain different amounts of relevant material. The later work poses the allocation question for language, where the Wikipedia experiment had already shown that learned timing could change markedly across positions even with a modest difference in aggregate loss.
Mixture-of-Depths places dynamic computation in a transformer architecture. ACT’s version of effective depth is the number of times a recurrent transition is used at an input position. The later work’s title situates dynamic depth within the different architecture named in the paper. Both use depth as a dimension along which computation can vary with the data. The citation does not by itself establish a shared halting rule or a shared cost function.
Adaptive inference and recurrent depth
FastBERT puts adaptive inference time together with self-distillation in BERT. Adaptive inference time is the clearest link to ACT. A prediction may warrant a different amount of computation from another prediction under the same system. ACT studies this at the level of the current recurrent input. FastBERT names a different setting and a different training ingredient for pursuing variable inference time.
The Right Tool for the Job frames the problem as matching system complexity to instance complexity. ACT changes the amount of work done inside the same recurrent network by repeating shared operations. Complexity matching broadens the way the problem can be posed. A choice about effort can be associated with the complexity of the system applied to an instance as well as with how long a single recurrent calculation runs.
Scaling up Test-Time Compute with Latent Reasoning explicitly revisits recurrent depth as an approach to computation at prediction time. In ACT, additional transformations deepen the executed computation while reusing the transition parameters. That architectural distinction helps explain the later connection. A recurrent-depth approach can investigate extra internal work as a test-time resource. The claim that this resource can be expanded addresses a different part of the question from whether a learned stopping policy can allocate it economically.
Intermediate computation and overthinking
Show Your Work names scratchpads as a means of supplying intermediate computation. The link is the opportunity to do useful work between receiving a problem and returning its answer. ACT’s intermediate candidates are part of a recurrent state calculation. The scratchpad framing directs attention to the form in which intermediate work is represented. That question complements the one ACT makes explicit about the amount of such work.
End-to-end Algorithm Synthesis with Recurrent Networks connects recurrence to logical extrapolation and avoiding excessive calculation. ACT’s parity results show why these are separable issues. Accurate behavior on the generated examples can arise with widely different runtimes, and a sudden increase in update count at higher difficulty can occur in a successful network. The later paper’s framing brings extrapolation and computational restraint together as subjects for recurrent algorithm learning.
These connections are strongest at the level of the questions the later titles identify. The citation record establishes that the papers refer to ACT, while their titles locate their particular interests in learned pondering, dynamic depth, adaptive inference, or intermediate calculation. The original paper supplies an experimental distinction that matters across those directions. Having more computation available, learning where to use it, and demonstrating that it pays for itself are separate accomplishments. Parity, sorting, and Wikipedia provide different evidence for each.
Cite
Cite as Alex Graves. 2016. Adaptive Computation Time for Recurrent Neural Networks. arXiv:1603.08983.
@misc{graves2016adaptive,
title = {{Adaptive Computation Time for Recurrent Neural Networks}},
author = {Alex Graves},
year = {2016},
doi = {10.48550/arxiv.1603.08983},
eprint = {1603.08983},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1603.08983}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/graves-2016-adaptive-computation-time-recurrent-neural/
References
- G. An. The effects of adding noise during backpropagation training on a generalization performance. Neural Computation, 8(3):643–674, 1996. OpenAlex ↗ · Scholar ↗
- D. Bahdanau, K. Cho, and Y. Bengio. Neural machine translation by jointly learning to align and translate. abs/1409.0473, 2014. our card
- E. Bengio, P.-L. Bacon, J. Pineau, and D. Precup. Conditional computation in neural networks for faster models. arXiv preprint arXiv:1511.06297, 2015. OpenAlex ↗ · Scholar ↗
- D. C. Ciresan, U. Meier, and J. Schmidhuber. Multi-column deep neural networks for image classification. In arXiv:1202.2745v1 [cs.CV], 2012. our card
- G. Dahl, D. Yu, L. Deng, and A. Acero. Context-dependent pre-trained deep neural networks for large-vocabulary speech recognition. Audio, Speech, and Language Processing, IEEE Transactions on, 20(1):30 –42, jan. 2012. OpenAlex ↗ · Scholar ↗
- L. Denoyer and P. Gallinari. Deep sequential neural network. arXiv preprint arXiv:1410.0510, 2014. OpenAlex ↗ · Scholar ↗
- S. Eslami, N. Heess, T. Weber, Y. Tassa, K. Kavukcuoglu, and G. E. Hinton. Attend, infer, repeat: Fast scene understanding with generative models. arXiv preprint arXiv:1603.08575, 2016. OpenAlex ↗ · Scholar ↗
- A. Graves. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013. our card
- A. Graves, A. Mohamed, and G. Hinton. Speech recognition with deep recurrent neural networks. In Acoustics, Speech and Signal Processing (ICASSP), 2013 IEEE International Conference on, pages 6645–6649. IEEE, 2013. our card
- A. Graves, G. Wayne, and I. Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014. OpenAlex ↗ · Scholar ↗
- E. Grefenstette, K. M. Hermann, M. Suleyman, and P. Blunsom. Learning to transduce with unbounded memory. In Advances in Neural Information Processing Systems, pages 1819–1827, 2015. OpenAlex ↗ · Scholar ↗
- K. Gregor, I. Danihelka, A. Graves, and D. Wierstra. Draw: A recurrent neural network for image generation. arXiv preprint arXiv:1502.04623, 2015. our card
- S. Hochreiter, Y. Bengio, P. Frasconi, and J. Schmidhuber. Gradient flow in recurrent nets: the difficulty of learning long-term dependencies, 2001. OpenAlex ↗ · Scholar ↗
- S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997. OpenAlex ↗ · Scholar ↗
- M. Hutter. Universal artificial intelligence. Springer, 2005. OpenAlex ↗ · Scholar ↗
- M. A. Just, P. A. Carpenter, and J. D. Woolley. Paradigms and processes in reading comprehension. Journal of experimental psychology: General, 111(2):228, 1982. OpenAlex ↗ · Scholar ↗
- N. Kalchbrenner, I. Danihelka, and A. Graves. Grid long short-term memory. arXiv preprint arXiv:1507.01526, 2015. OpenAlex ↗ · Scholar ↗
- D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. our card
- Q. V. Le and T. Mikolov. Distributed representations of sentences and documents. arXiv preprint arXiv:1405.4053, 2014. our card
- M. Li and P. Vitányi. An introduction to Kolmogorov complexity and its applications. Springer Science & Business Media, 2013. OpenAlex ↗ · Scholar ↗
- T. Mikolov, I. Sutskever, K. Chen, G. S. Corrado, and J. Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pages 3111–3119, 2013. our card
- B. A. Olshausen et al. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, 1996. OpenAlex ↗ · Scholar ↗
- B. Recht, C. Re, S. Wright, and F. Niu. Hogwild: A lock-free approach to parallelizing stochastic gradient descent. In Advances in Neural Information Processing Systems, pages 693–701, 2011. OpenAlex ↗ · Scholar ↗
- S. Reed and N. de Freitas. Neural programmer-interpreters. Technical Report arXiv:1511.06279, 2015. OpenAlex ↗ · Scholar ↗
- J. Schmidhuber. Self-delimiting neural networks. arXiv preprint arXiv:1210.0118, 2012. OpenAlex ↗ · Scholar ↗
- J. Schmidhuber and S. Hochreiter. Guessing can outperform many long time lag algorithms. Technical report, 1996. OpenAlex ↗ · Scholar ↗
- N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 15(1):1929–1958, 2014. our card
- R. K. Srivastava, K. Greff, and J. Schmidhuber. Training very deep networks. In Advances in Neural Information Processing Systems, pages 2368–2376, 2015. OpenAlex ↗ · Scholar ↗
- R. K. Srivastava, B. R. Steunebrink, and J. Schmidhuber. First experiments with powerplay. Neural Networks, 41:130–136, 2013. OpenAlex ↗ · Scholar ↗
- S. Sukhbaatar, J. Weston, R. Fergus, et al. End-to-end memory networks. In Advances in Neural Information Processing Systems, pages 2431–2439, 2015. OpenAlex ↗ · Scholar ↗
- I. Sutskever, O. Vinyals, and Q. V. Le. Sequence to sequence learning with neural networks. arXiv preprint arXiv:1409.3215, 2014. our card
- O. Vinyals, S. Bengio, and M. Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015. our card
- O. Vinyals, M. Fortunato, and N. Jaitly. Pointer networks. In Advances in Neural Information Processing Systems, pages 2674–2682, 2015. OpenAlex ↗ · Scholar ↗
- A. J. Wiles. Modular elliptic curves and fermat’s last theorem. ANNALS OF MATH, 141:141, 1995. OpenAlex ↗ · Scholar ↗
- R. J. Williams and D. Zipser. Gradient-based learning algorithms for recurrent networks and their computational complexity. Back-propagation: Theory, architectures and applications, pages 433–486, 1995. OpenAlex ↗ · Scholar ↗