Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems
Paper · 2015 · Colin Raffel and Daniel P. W. Ellis
Summary
Remembering a sequence and finding useful content inside it are different computational problems. A system may need to know which event preceded another, or it may only need to collect relevant observations from among many distractions. This paper investigates the latter case. It shows that certain synthetic tests associated with long-term memory can be solved by a network that never passes a hidden state from one input position to the next. The essential addition is attention: a learned calculation that controls how strongly each position contributes to an overall representation.
The architecture first converts every input vector into a hidden vector independently. It then assigns each hidden vector an importance score, normalizes those scores across the input, and combines the vectors using the resulting weights. The combined representation has a constant dimensionality even when the sequence contains a different number of positions. Subsequent transformations turn that representation into a scalar prediction. Because the initial transformations do not depend on preceding positions, the architecture permits parallel calculation across the sequence. Its attention operation supplies the integration that recurrence would otherwise help provide.
The experiments concern synthetic addition and multiplication tasks. In the narrow-range experiments, the authors test reference lengths reaching 10,000 and report successful solutions throughout the tested settings. They also conduct a more demanding experiment in which training examples have lengths sampled uniformly between 50 and 10,000. After 100 epochs, the attention variant obtains addition accuracy of 99.9% and multiplication accuracy of 99.4%. Replacing attention with equal-weight averaging produces 77.4% and 55.5%, respectively. These percentages use a tolerance criterion: an answer is counted as correct when its absolute numerical error is below .04.
The paper also connects its computational argument to a measured workload. Processing an epoch containing 100,000 sequences at the reference length 10,000 takes the attention network 254 seconds on an NVIDIA GTX 980 Ti. A vanilla recurrent network with a comparable parameter count takes 917 seconds on that hardware. This establishes a practical advantage under the reported conditions, alongside the architectural opportunity for parallel execution.
The boundary of the result is especially important. Addition and multiplication are commutative, so exchanging operands does not alter their answer. The proposed aggregation likewise ignores the arrangement of the input representations. The authors explicitly acknowledge that this makes the tasks favorable to their approach. Their finding concerns selective integration across lengthy inputs, rather than a general replacement for temporal memory. When the answer depends on which event came first, the same architecture can erase the distinction needed to produce it.
Interesting ideas
Separate description from importance. An observation can have a useful representation without every component of that representation also expressing its relevance to the final task. The paper assigns these responsibilities to different learned functions: one creates hidden features, while another produces a scalar score. This separation can help when designing systems that collect evidence from documents, recordings, or other variable-sized inputs. It gives the aggregation stage an explicit mechanism for changing contributions while allowing the representation stage to concentrate on describing local content.
Use an elementary pooling control. Equal-weight averaging already accepts inputs of varying lengths and produces a constant-sized result. Comparing attention with that baseline asks whether learning unequal contributions provides additional value. This is more informative than comparing a complete attention architecture with an unrelated system and attributing every improvement to attention. The same principle applies to machine learning experiments involving evidence fusion, feature aggregation, or document representations: establish what a simple combination rule achieves before explaining the value of a more elaborate one.
Identify which rearrangements should preserve an answer. The architecture succeeds on tasks whose targets do not depend on operand order, and the authors use an order-sensitive example to explain its failure boundary. This suggests a general design question: what changes to the input should leave the required output unchanged? A suitable architecture can build those invariances into its computation. An unsuitable invariance can instead remove essential evidence. The practical lesson extends beyond sequences to any representation that intentionally collapses distinctions among its inputs.
Test mixed conditions within a shared training regime. Success after specialization to a narrow length range does not establish success when short and long examples occur together. The paper therefore supplements its length-specific settings with a broad mixture of sequence lengths. This distinction is reusable in evaluation: a system adapted separately to each operating condition may behave differently when those conditions vary within deployment. Mixing conditions tests whether the same learned computation can accommodate that variation.
Explain the dependency structure behind a timing result. The efficiency argument begins with a concrete computational property: a positionwise transformation does not need a preceding hidden state. The authors then report runtime on a specified workload and device. Together, the explanation and measurement make the claim assessable. This is useful in parallel computing, where a short runtime alone does not reveal which operations can run concurrently or which dependencies remain unavoidable.
Distinguish a benchmark’s name from its actual requirements. A task described as testing memory may reward access to scattered content without requiring the preservation of chronology. The paper makes this distinction explicit instead of treating benchmark success as evidence for every interpretation of memory. Researchers can borrow that habit when assessing retrieval, reasoning, or language understanding. Asking what information determines the target frequently reveals both a simpler solution and a more precise description of the capability demonstrated.
Keep the optimization objective separate from the reporting rule. The network is trained using squared numerical error, but its reported accuracy depends on an absolute-error threshold. These measures answer related yet different questions. A change can improve the continuous objective without changing which examples satisfy the threshold, or alter threshold accuracy without revealing the full error distribution. Making both definitions explicit helps readers interpret results in regression tasks, approximate computation, and any evaluation that converts continuous outputs into categorical successes.
Deep dive: Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems
Feed-forward attention combines evidence across long sequences without recurrence; its arithmetic results reveal both its value and its limits. · about 36 minutes to read
How Mova uses it
Mova is a small language system implemented in Rust, with explicit linguistic structures, rules, statistics, and bounded operational interfaces. Its documented language pipeline already separates parsing, frame interpretation, and state tracking. The paper does not establish that its neural aggregation mechanism belongs in that pipeline, nor does the current evidence establish an implementation of this particular scorer and pooling arrangement. The connections below are proposed transfers assessed against the documented mechanisms. The status marks describe that assessment; they are neither application receipts nor measured improvements.
For Mova’s present emphasis on logic, rules, statistics, and dictionary development, the most direct transfers concern experimental design and evidence handling. Learned numerical pooling is a narrower possibility. It would need a task that benefits from a compact representation without requiring the original ordering of the evidence. Existing source identities, grammatical roles, and logical obligations would still need their own representation rather than being treated as properties guaranteed by an attention weight.
Idea: Give representation and relevance different interfaces. Where: Feed-Forward Attention; Model Details. Area: evidence representation. Mova: частково є (the en → prag → world pipeline separates structural representations from later interpretation). Mova could describe an evidence item through its typed frame and provenance, then evaluate relevance in a separate bounded component. That would adapt the paper’s division of responsibilities without requiring a neural implementation. Why Mova: a relevance decision could change without silently changing the underlying statement or its grammatical analysis. The proposed interface and its effect on downstream answers remain unverified.
Idea: Compare selective combination with an ordinary average. Where: Feed-Forward Attention; Fixed-Length Experiment; Variable-length Experiment. Area: evaluation. Mova: частково є (school reports include controls, and development uses held-out comparisons). A proposed evidence-ranking component should be tested against a simpler aggregation using the same input representations and decision stage. If arithmetic averaging is inappropriate for typed logical evidence, the analogous control should be an explicitly defined uniform contribution rule. Why Mova: this would help determine whether a ranking mechanism adds useful discrimination instead of merely benefiting from surrounding changes.
Idea: Declare whether an interface may discard order. Where: Discussion. Area: semantics and interface contracts. Mova: частково є (world records event order, while groupants describe assumptions and observations). An aggregation capability could state whether exchanging its inputs must preserve its result. A consumer requiring chronology would then reject an order-insensitive representation unless the relevant temporal relations were already retained inside its items. Why Mova: a clear contract would prevent a convenient compression from being mistaken for a sufficient account of a story. No such paper-specific admission rule is established by the available evidence.
Idea: Evaluate a shared configuration across input sizes. Where: Variable-length Experiment. Area: evaluation. Mova: нове. As a proposed evaluation extension, a reader or dictionary evidence selector could receive a mixture of short and long evidence collections while retaining the same rules and parameters. The digest documents bounded readers and index queries, but does not establish this exact mixed-size protocol. Why Mova: a mechanism that works after separate tuning for each corpus size may be unreliable when the amount of retrieved evidence changes during ordinary use. Its novelty and benefit would require verification.
Idea: Connect runtime claims to dependencies. Where: Feed-Forward Attention; Fixed-Length Experiment. Area: performance analysis. Mova: частково є (CPU and GPU execution stages have declared boundaries, and worker tools retain measured resource information). A proposed optimization could identify which operations are independent before measuring their execution together. Shared parsing and parallel specialist observations in the mice mechanism provide a relevant existing setting. Why Mova: this would explain where concurrency can help and where a shared reduction or state transition still limits progress. The paper’s timing cannot predict a Mova speed gain.
Idea: Audit what an assessment actually demands. Where: Toy Long-Term Memory Problems; Discussion. Area: evaluation design. Mova: вже є (school controls, negative controls, and task-specific assessment boundaries). Mova could apply this existing discipline to any new claim about memory, reasoning, or document reading. For instance, an item might depend on locating a fact, preserving ownership changes, or following event order; those are different requirements. Why Mova: naming the requirement would keep a successful score from being interpreted as broader understanding. The paper offers a clear example of why such distinctions matter.
Idea: Record both continuous error and the success criterion. Where: Toy Long-Term Memory Problems; Model Details. Area: metrics and statistics. Mova: частково є (measured approximants declare agreement with the CPU reference, and exact mathematics has a separate role). Where an approximate numerical component is evaluated, its report could retain the numerical error alongside the rule used to count success. Why Mova: a thresholded score alone can conceal changes within the accepted region or among failures. This is an evaluation proposal, not evidence that Mova uses the paper’s arithmetic tolerance.
Idea: Explore compact numerical summaries only for bounded tasks. Where: Feed-Forward Attention; Model Details. Area: evidence compression. Mova: нове. A possible experimental adapter could reduce a variable collection of already structured observations to a fixed-dimensional numerical representation for a declared classification or retrieval task. This would be a separate capability instead of a replacement for retained facts. Why Mova: some consumers may benefit from a compact input even when the source collection grows. The present evidence does not establish a corresponding attention implementation, and a prototype would need to justify its cost against rule-based alternatives.
Idea: Retain sources alongside the aggregate. Where: Feed-Forward Attention; attention schematic. Area: provenance and interpretability. Mova: частково є (dictionary postings carry exact source credit, and conclusions retain reasons). The paper’s weighted sum could inspire an inspection record showing the contributing evidence items, their scores, and their normalized contributions. That record should remain distinct from a logical justification. Why Mova: developers could inspect which sources entered a numerical summary while preserving the stronger provenance already attached to the original evidence. The paper itself does not demonstrate a provenance-preserving storage scheme.
Idea: Keep local scoring distinct from contextual inference. Where: Attention; Feed-Forward Attention. Area: pragmatics and relevance. Mova: частково є (prag supplies frames and context-sensitive interpretation, while dictionary queries expose local structural features). The simplified scorer sees only an item’s own representation. A Mova design should explicitly say whether relevance is intrinsic to that item or depends on the current question, speaker, or task. Why Mova: otherwise a local feature score could be mistaken for a contextual judgment. The paper’s simplification is useful precisely because its restricted dependency is visible.
Idea: Treat normalization as a declared mathematical operation. Where: Feed-Forward Attention. Area: mathematics and statistics. Mova: нове. If a proposed component converts independent scores into relative contributions, its contract could specify the normalization and the collection over which it operates. The documented mechanisms do not establish this particular use of softmax pooling. Why Mova: adding unrelated candidates can change normalized weights even when an existing item’s raw score is unchanged. Making that dependency explicit would help distinguish a relative ranking from an absolute confidence claim. Whether such normalization is useful for Mova remains open.
Idea: Test dilution by irrelevant evidence. Where: Feed-Forward Attention; Variable-length Experiment. Area: retrieval evaluation. Mova: частково є (dictindex retrieves bounded evidence collections, and fast reading compares answers with prepared evidence). A proposed stress test could preserve useful source items while adding admissible but irrelevant observations, then examine the final decision. This is motivated by the contrast between uniform and selective aggregation, not directly measured in the paper. Why Mova: dictionary examples and document frames can grow without increasing useful evidence for a particular question. A dilution test would measure whether retrieval breadth harms decisions.
Idea: Use rearrangement as a negative control. Where: Discussion. Area: semantic evaluation. Mova: частково є (development already requires negative controls and tracks story state). For a capability claiming order-sensitive interpretation, evaluation could exchange the order of relevant events while keeping their local contents available. Conversely, a genuinely order-insensitive consumer should preserve its result under a permitted rearrangement. Why Mova: this would test whether a claimed temporal distinction reaches the answer. The paper’s symbol example supplies the reasoning behind the control, while a concrete Mova test remains to be designed.
Idea: Keep exact arithmetic separate from learned estimation. Where: Toy Long-Term Memory Problems; Model Details. Area: mathematics. Mova: вже є (math provides exact rationals, expressions, and dimensional units). The paper’s tolerance-based arithmetic success can help clarify why a learned output is a different kind of result from an exact calculation. Mova could preserve that distinction in reports that involve both approximate selection and exact solving. Why Mova: a high rate of acceptable numerical predictions should never be presented as an exact arithmetic guarantee. This transfer strengthens an existing boundary instead of proposing a neural arithmetic replacement.
Idea: Make resource limits part of the aggregation contract. Where: Feed-Forward Attention; Fixed-Length Experiment. Area: data processing and execution. Mova: частково є (bounded worker protocols, job estimates, and specialist stopping limits). A fixed-dimensional result does not imply that processing its source is free. A proposed aggregator should retain limits on input size, representation storage, and reduction work. Why Mova: this would prevent the compact output interface from concealing substantial work on a large evidence collection. The paper motivates parallelism but provides no universal resource bound for Mova’s workloads.
Idea: Preserve a single shared representation where possible. Where: Feed-Forward Attention; attention schematic. Area: data processing. Mova: частково є (mice share a document parse and retained graph). The paper separates a reusable sequence of hidden vectors from the weighting that consumes it. Mova could similarly examine whether several bounded relevance profiles can read the same structural evidence instead of reparsing or duplicating it. Why Mova: shared representations could reduce repeated preparation while keeping each consumer’s selection policy explicit. The existing mice mechanism supports part of this pattern, but the paper does not measure such a transfer.
Idea: Separate engineering observations from controlled findings. Where: Model Details. Area: experimental reporting. Mova: вже є (experiment journals retain successful and unsuccessful trials, and improvements require gates). The authors mention better early convergence with leaky rectifiers without presenting a numerical activation comparison. Mova can apply its existing evidence discipline by recording similar observations as motivations for experiments rather than treating them as established causes. Why Mova: this keeps implementation notes useful without allowing an unmeasured explanation to become accepted knowledge about why a system improved.
Idea: Distinguish training range from extrapolation. Where: Fixed-Length Experiment; Variable-length Experiment. Area: generalization assessment. Mova: частково є (assessments distinguish held-out questions and retained-state evaluation). A report about varying document length should state which lengths or evidence sizes occurred during development and which were genuinely outside it. Why Mova: strong performance across a broad familiar range does not establish behavior beyond that range. The paper’s variable-length experiment supports simultaneous handling of diverse lengths, while a separate extrapolation protocol for Mova would remain a proposal.
Idea: Keep stopping decisions separate from final assessment. Where: Model Details. Area: evaluation governance. Mova: вже є (release tests are opened once, and frozen assessment material stays outside training). The paper evaluates held-out performance repeatedly and uses it to decide when training ends. Mova’s existing separation offers a useful contrast: adaptation and stopping can use development evidence while final claims use a distinct assessment boundary. Why Mova: this preserves the meaning of a final score when a system repeatedly proposes changes to its own rules or parameters.
Idea: Inspect the aggregate together with its downstream consumer. Where: Model Details. Area: diagnosis and interpretability. Mova: частково є (recursive self-use can inspect intermediate results through explicit interfaces). The paper’s prediction depends on both attention pooling and later nonlinear transformations. A Mova inspection should likewise avoid treating a relevance score as a complete explanation of a later answer. Why Mova: diagnosis becomes more precise when it identifies whether an error arose in selection, representation, inference, or the final decision. The fast-reader miss categories already support part of this separation.
Idea: Compare capability gains with the added mechanism. Where: Fixed-Length Experiment. Area: efficiency and architecture evaluation. Mova: частково є (changes require measurements, and prospective cost estimates are compared with runs). The paper reports parameter counts beside the pooling comparison. For a rule-oriented Mova extension, the analogous report could describe added tables, rules, memory, or execution stages together with the measured benefit. Why Mova: this would help determine whether a more complicated selector earns its operational cost. Parameter count alone is not the right currency for every Rust component.
The problem and its context
Different meanings of long-term dependence
The paper begins with sequential data: inputs whose positions are naturally arranged in an order. Many tasks require information from separated positions to affect a common decision. A difficulty arises when the relevant positions are far apart, because the system must either preserve earlier information as processing continues or provide a way to revisit it.
A recurrent network maintains a changing hidden state. The next state depends on the current observation and the previous state, so earlier observations can influence later decisions through a chain of updates. This gives recurrence an obvious role in sequence processing. The hidden state can accumulate information as the sequence unfolds.
That same chain creates difficulties. The authors identify vanishing and exploding gradients as obstacles to training through time. A gradient carries information about how parameters should change to reduce an error. Repeated transformations can make that learning signal too weak or excessively large. The paper presents these issues as reasons that practical recurrent applications frequently restrict the span of dependencies they attempt to learn.
The computational problem is related but distinct. A recurrent state cannot generally be evaluated before the state on which it depends. Long sequences therefore create a chain of calculations that cannot all be executed independently. Improving optimization does not automatically remove this dependency.
The paper asks whether some sequence tasks need that chain at all. If the desired output depends on selected content rather than chronology, there may be another route: represent observations locally and combine them directly. The central question is whether such a route can remain accurate when the input becomes long or its length varies substantially.
Attention as a route to stored representations
The background discussion follows Bahdanau and colleagues’ translation work. That attention formulation makes a collection of hidden representations available to a later sequence of computations. Instead of forcing every relevant detail through a continuing state alone, the system constructs a context vector from weighted contributions across the input.
The weights depend on what the output-side process currently needs. A representation receives a score in relation to a preceding output-side state, and the scores are normalized. Different output steps can therefore draw different mixtures from the same input representations.
This is an access mechanism. The input representations remain available, and attention determines their relative contributions to a particular context. The paper associates this approach with successful applications in machine translation, visual description, and speech recognition. Its visual example is the work represented by Show, Attend and Tell.
The authors also compare attention with soft addressing in Neural Turing Machines and End-to-End Memory Networks. The relevant connection is graded access to represented information. The paper does not claim that its compact architecture reproduces the wider behavior of those systems.
This context matters because attention was already more than a speculative idea. The new question concerns simplification. Which dependencies can be removed if the output is an aggregate representation rather than another sequence?
Removing the changing query
The proposed attention calculation produces a single context for the entire input. There is no succession of output-side states asking for different information. The score for an input representation therefore depends only on that representation.
Once attention can integrate information across positions, the encoder itself need not be recurrent. Each input can be transformed independently, leaving the pooling operation to combine the results. This is the key architectural step: temporal integration is assigned to aggregation rather than being built entirely into the representation at each position.
The authors mention a related simplified attention mechanism in previous protein-sequence work. That comparison involved recurrent processing augmented with attention. The present investigation asks what happens when the positionwise representations also lose their recurrent dependency.
Equal-weight averaging provides an obvious comparison. It too turns a variable number of vectors into a fixed-dimensional context. The paper notes earlier use of such averaging in audio and document processing. Attention therefore competes with an already workable integration rule, rather than introducing the very possibility of variable-length aggregation.
Why the arithmetic tests are revealing
The synthetic arithmetic tasks come from earlier long-term-memory research. The authors focus on addition and multiplication and refer readers to earlier publications for their detailed generation procedure. They use these tasks to test whether relevant content can influence a prediction even when it occurs within a very long input.
The historical comparison is broad. Earlier recurrent approaches used different training methods, regularization schemes, and architectures, with reported successful reference lengths ranging from hundreds to thousands. The paper cites, among other work, Unitary Evolution Recurrent Neural Networks. It does not reproduce every earlier system under a common experimental setup.
The arithmetic tasks reveal something important precisely because they allow a simpler architecture. Their outputs do not require operand order. A system may therefore succeed through selective collection rather than through a temporally organized memory.
The authors acknowledge that this weakens any broad interpretation of the tests. They nonetheless argue that the experiments demonstrate useful access across input positions. That distinction is the paper’s conceptual contribution alongside its architecture: benchmark success becomes more informative when the required information is separated from the traditional machinery used to obtain it.
The method, step by step
Start with the dependency being removed
A recurrent state is described by the following relationship:
hₜ = f(xₜ, hₜ₋₁)
The index t identifies a position. The vector xₜ is the observation at that position, hₜ is the newly calculated hidden state, and hₜ₋₁ is its predecessor. The learned function f uses both arguments. Its dependency on the preceding state permits accumulated information to affect the current representation.
The feed-forward alternative is simpler:
hₜ = f(xₜ)
Here, f receives only the current input vector. The hidden representation hₜ can therefore be calculated without first calculating another hidden state. The same learned function is applied throughout the sequence.
This change does not eliminate the need to combine information. It relocates that responsibility. Individual hidden vectors describe local inputs; a later operation must create the representation used for prediction.
Understand the earlier conditional attention
The background attention mechanism forms a context for an output step:
cₜ = ∑ⱼ₌₁ᵀ αₜⱼ hⱼ
The vector cₜ is the context associated with step t of the output-side process. The input contains T hidden vectors, with j identifying a particular one. The coefficient αₜⱼ determines how strongly hⱼ contributes to that context.
Its importance score depends on an output-side state:
eₜⱼ = a(sₜ₋₁, hⱼ)
The scalar eₜⱼ is an unnormalized score. The learned function a examines the candidate representation hⱼ together with the preceding output-side state sₜ₋₁. The output-side process can consequently change its selection as it progresses.
Normalization produces the actual coefficients:
αₜⱼ = exp(eₜⱼ) / ∑ₖ₌₁ᵀ exp(eₜₖ)
The function exp is exponentiation with the natural exponential base. The index k visits every input position in the denominator. This softmax operation makes the coefficients positive and allocates the total contribution across the available hidden vectors.
The context then participates in producing another output-side state, together with information from the preceding output step. The proposed architecture removes that continuing output-side process because its intended result is a single aggregate.
Score local representations
The simplified importance calculation is:
eₜ = a(hₜ)
The scalar eₜ is the score assigned to hₜ. The function a no longer receives a preceding output-side state. It evaluates the representation using a shared learned rule.
The normalized weight is:
αₜ = exp(eₜ) / ∑ₖ₌₁ᵀ exp(eₖ)
The symbol αₜ denotes the contribution assigned to position t. The denominator includes every position, so the weights remain relative to the whole collection even though each unnormalized score is calculated locally.
The context is then obtained by weighted combination:
c = ∑ₜ₌₁ᵀ αₜ hₜ
The vector c represents the complete input for the subsequent prediction stage. Its dimensionality follows that of each hₜ, not the number of positions. Longer inputs add terms to the combination without changing the shape expected by the next transformation.
Independent encoding followed by selective integration
The steps in order.
The distinction between local scoring and global normalization is worth preserving. A score can remain unchanged while its normalized weight changes because the surrounding collection changes. Attention here measures contribution within an aggregate; it is not automatically an absolute confidence estimate about an individual observation.
Specify the local feature calculation
For the arithmetic experiments, the encoder is an affine transformation followed by an activation:
hₜ = LReLU(Wₓₕxₜ + bₓₕ)
The input vector xₜ has dimensionality 2. The matrix Wₓₕ has shape D × 2, and bₓₕ is a bias vector with D components. The output hₜ consequently also has D components. An affine transformation combines weighted input values and an additive bias before applying the activation.
The activation is the leaky rectifier:
LReLU(x) = max(x, .01x)
The scalar x is the activation’s input, and max selects the larger argument. Positive inputs retain their value, while negative inputs retain a reduced slope rather than being set to zero. For a vector, this calculation applies to its components separately.
The authors report that this activation improved early convergence and use it throughout the experiments. They do not provide a numerical comparison showing how much improvement came from that choice. Its role is an implementation decision supported by a reported observation.
The hidden dimensionality is fixed at D = 100. The architecture comparisons therefore do not rely on changing the size of the hidden representation between pooling variants.
Define the attention scorer
The experimental score function is:
a(hₜ) = tanh(Wₕ꜀hₜ + bₕ꜀)
The matrix Wₕ꜀ has shape 1 × D, which maps a hidden vector to a scalar. The bias bₕ꜀ is scalar, and tanh is the hyperbolic tangent. Its result becomes eₜ in the normalization calculation.
The scoring stage is small. It does not construct a separate learned interaction for every pair of positions, nor does it receive a changing question vector. Its shared parameters learn which kinds of local hidden representations should receive greater contribution.
The hyperbolic tangent also constrains the score before normalization. The paper specifies this choice but does not compare it with an unbounded score or alternative scoring architecture. Accordingly, the experiments establish the effectiveness of this particular arrangement without isolating the necessity of each scoring detail.
Define the equal-weight alternative
For the comparison system, the context is formed without a learned scorer:
c = (1/T) ∑ₜ₌₁ᵀ hₜ
The symbol T is the sequence length, and each hₜ contributes with the same coefficient. The result c has the same dimensionality as in the attention variant.
The encoder can still learn different hidden vectors for different observations. Equal coefficients do not imply that the complete system has no ability to distinguish input contents. They mean that the pooling operation itself provides no separate learned importance calculation.
This makes the comparison specific. Both variants solve the interface problem of accepting different input lengths. Their difference concerns the way local representations influence the shared context.
Convert the context into the output
The context passes through an intermediate transformation:
s = LReLU(W꜀ₛc + b꜀ₛ)
The vector s has dimensionality D. The matrix W꜀ₛ has shape D × D, and the bias b꜀ₛ has D components. The context is therefore transformed nonlinearly before the final output is calculated.
The scalar prediction is:
y = LReLU(Wₛᵧs + bₛᵧ)
The matrix Wₛᵧ has shape 1 × D, and bₛᵧ is a scalar bias. The symbol y denotes the numerical prediction evaluated against the arithmetic target.
These stages matter when interpreting what attention accomplishes. The pooling operation supplies information to a learned prediction function. The experimental result concerns the complete sequence of encoding, weighting, aggregation, and output transformations. It does not show that the weights alone perform addition or multiplication.
Initialize and optimize the parameters
The objective is squared error between the predicted scalar and its target. Training therefore rewards increasingly close numerical predictions. The accuracy measure later converts those predictions into successes or failures using a tolerance.
Optimization uses Adam, with β₁ set to .9 and β₂ set to .999. The authors follow the settings recommended by the cited optimization work.
Weight entries are sampled from a Gaussian distribution centered at zero. The stated standard deviation is:
σ = 1/√N
The symbol σ denotes the standard deviation. For a matrix with shape M × N, N is its number of columns and M its number of rows. All biases are initialized to zero.
Each mini-batch contains 100 sequences. An epoch is defined as 1000 parameter updates. The authors assess a held-out set containing 1000 sequences after every epoch and stop when accuracy reaches 100% or training reaches 100 epochs.
The implementation uses Lasagne, which runs on Theano. The paper cites Theano’s framework work and states that the experiment code was released. The reported software arrangement is part of the implementation context, especially for interpreting the runtime comparison.
What the calculation necessarily removes
Every position uses the same independent encoder and scorer. If the input vectors are rearranged, their hidden representations and raw scores are rearranged with them. The normalization still sees the same collection of scores, and the weighted combination still contains the same contributions.
The final context consequently cannot distinguish inputs that differ only by such a rearrangement. No later prediction stage can reconstruct a distinction that this context has removed.
This is a structural property instead of an optimization failure. It explains both why commutative arithmetic is a suitable demonstration and why the architecture cannot be assumed to handle arbitrary temporal dependencies. Attention changes the relative influence of content; this version does not represent the arrangement of that content.
Experiments and results
Tasks and the meaning of accuracy
The empirical study uses the synthetic addition and multiplication problems from earlier long-term-memory research. The authors do not restate the complete generation procedure. They direct readers to the earlier task descriptions, so claims about the precise placement of markers or the full input sampling rules would go beyond the account given here.
The explicit evaluation rule is an absolute-error tolerance of less than .04. A reported success therefore means that the scalar prediction lies sufficiently close to its target. It does not mean that the network returns an exact arithmetic result.
The continuous training objective and this thresholded evaluation serve different purposes. Squared error guides parameter changes, whereas accuracy counts examples satisfying the tolerance. Without a reported error distribution, accuracy alone does not show how close successful predictions are or how severe unsuccessful predictions become.
The main baseline replaces learned weighting with equal-weight averaging while keeping the surrounding architecture consistent. The runtime experiment adds a vanilla recurrent comparison. Earlier recurrent studies provide historical motivation, but the paper does not rerun all of them as a common benchmark suite.
The experiment called fixed-length
The first experiment follows a conventional narrow-band length setup. For each reference value T₀, lengths are sampled uniformly from the interval extending from T₀ to 1.1T₀. Thus “fixed-length” identifies a restricted scale of input sizes rather than an identical length for every example.
The tested reference values are 50, 100, 500, 1000, 5000, and 10,000. Increasing T₀ increases the input span over which useful content must remain accessible. A separate experimental setting is used for each reference scale.
For each aggregation choice and task, the authors report the strongest result among learning rates .0003, .001, .003, and .01. Their table records either the epoch at which perfect accuracy is reached or accuracy at the training limit.
The paper’s narrative states that attention solves the tasks at every tested scale and does so quickly. The individual numerical cells of the convergence table are not stated in the accompanying account. A precise list of convergence epochs for each task and reference length therefore cannot be reconstructed responsibly.
The overall finding remains clear: the attention architecture succeeds throughout the tested reference settings. What remains unavailable is a detailed numerical comparison of how convergence changes from one setting to another.
The narrow-band design also has an interpretive boundary. It tests whether training can find a successful solution at each scale. It does not by itself show that a network trained around one scale works at every other scale.
Mixing short and long examples
The second experiment removes that separation among narrow bands. Training lengths are drawn uniformly between 50 and 10,000. The architecture is unchanged, but a shared set of parameters must cope with a much wider variation in the number of positions being combined.
The addition results after 100 epochs are:
Mixed-length addition, held-out accuracy after 100 epochs
Learned weighting substantially improves accuracy over equal-weight pooling.
The numbers
| System or setting | accuracy % |
|---|---|
| Equal-weight mean | 77.4 |
| Feed-forward attention (this paper) | 99.9 |
The multiplication results use the same training duration and evaluation definition:
Mixed-length multiplication, held-out accuracy after 100 epochs
Attention remains accurate where uniform averaging is much less reliable.
The numbers
| System or setting | accuracy % |
|---|---|
| Equal-weight mean | 55.5 |
| Feed-forward attention (this paper) | 99.4 |
The held-out sets contain 1000 sequences. The attention outcomes show that broad length variation does not prevent the architecture from learning a highly successful numerical mapping under these conditions.
This is a distinct result from successful specialization. A context built from a short input and one built from a long input must both be usable by the same downstream transformations. The attention variant handles that requirement much more successfully than the reported uniform-mean alternative.
The paper does not give separate accuracies for different portions of the sampled length range. The aggregate result therefore cannot establish that performance is identical at every length. It shows high overall success across the mixed evaluation setting.
Nor is this an experiment in unrestricted length extrapolation. The training distribution already covers the broad interval being investigated. The important result is simultaneous operation across diverse lengths, rather than demonstrated behavior beyond the training range.
Processing time on the reported device
For the efficiency comparison, an epoch contains 100,000 sequences and uses T₀ = 10,000. Both systems are measured on an NVIDIA GTX 980 Ti.
Epoch processing time at T₀ = 10,000
The attention architecture completes the specified workload sooner than the recurrent comparison.
The numbers
| System or setting | seconds |
|---|---|
| Vanilla recurrent network | 917 |
| Feed-forward attention (this paper) | 254 |
The recurrent system has a single layer and hidden dimensionality 100. The authors describe its parameter count as comparable to that of the feed-forward attention architecture.
This comparison supports the paper’s computational motivation. Removing dependencies between successive hidden states creates an opportunity to evaluate local transformations together. The measured workload shows that the opportunity produces a practical advantage in the reported implementation.
The timing is not an accuracy comparison between all possible recurrent and feed-forward alternatives. It concerns a particular vanilla recurrent system, device, and workload. Different implementation choices or recurrent architectures would require their own measurements.
How much machinery attention adds
The attention variant contains 10,602 parameters, while the mean variant contains 10,501. The authors characterize this increase as less than 1%.
These counts help explain the intended contribution. The additional component is a small scoring transformation, not a much larger encoder. The reported gain accompanies a targeted change in aggregation.
Parameter count does not fully describe computation or memory requirements, however. The scorer operates over every input position, and normalization must include the whole sequence. The counts show architectural modesty in trainable values; the runtime experiment supplies a separate observation about execution.
What the ablations show
The central intervention changes pooling
The paper’s strongest controlled comparison is attention against an ordinary mean. The local transformation and the prediction stages retain the same general design. Changing the aggregation rule therefore asks a focused question: does it help to learn how strongly hidden vectors contribute?
The mixed-length results answer that question positively for these arithmetic tasks. Uniform averaging already accommodates variable-sized input, yet it produces much weaker accuracy. Merely returning a fixed-dimensional vector is insufficient to explain the attention variant’s success.
This is important because it distinguishes an interface property from a learned capability. Both pooling rules solve the problem of changing input length at the level of tensor shape. Attention is more successful at preserving a representation from which the target can be predicted.
The experiment does not establish a unique internal strategy. The authors do not display learned weight patterns, trace the contribution of selected positions, or remove individual high-weight inputs. The evidence concerns the usefulness of the mechanism within the complete architecture.
Capacity is close, but not identical
Attention adds parameters, so the comparison is not strictly matched in trainable capacity. The reported counts show that the increase is modest and associated directly with the scoring function.
A different control could have expanded the mean architecture without adding attention. That would help assess whether unrelated additional capacity could reproduce the benefit. The paper does not report such a comparison.
The supported conclusion is therefore specific: this small learned weighting component improves the tested architecture relative to the stated mean alternative. The evidence does not exclude every other possible modification that might also help.
This qualification does not undermine the practical result. A mechanism can be useful without being uniquely necessary. It clarifies the difference between demonstrating an effective design and proving that only that design explains successful performance.
Length mixing changes the demand on the representation
The comparison between narrow-band and broadly varying lengths tests robustness to a changing aggregation size. A network specialized to a restricted band can adapt its transformations to relatively predictable input sizes. The mixed setting requires a common representation and prediction function to remain useful across much greater variation.
The attention results show that the architecture can meet this demand. The weaker mean results indicate that length compatibility at the interface does not guarantee equivalent predictive behavior.
The paper does not fully decompose the cause. It provides no systematic comparison of alternative normalizations, vector magnitudes, or pooling functions beyond the mean. Those would be further analyses rather than findings established by this study.
The broad-length experiment is consequently best understood as a capability test. It shows that learned integration works under a demanding variation in input size, while leaving the exact learned numerical strategy incompletely characterized.
The temporal-order example supplies a structural control
The discussion examines sequences involving symbols X and Y. The target distinctions include repeated symbols and opposing arrangements of different symbols.
The architecture can separate the repeated-symbol cases because their contents differ. It cannot distinguish the mixed case with X preceding Y from the mixed case with Y preceding X when the difference is only their arrangement.
This analysis is stronger than an unexplained failed training run. The aggregation makes the inputs indistinguishable before prediction. A later stage therefore has no representation of the distinction it would need.
The example also prevents an overly broad reading of the arithmetic success. It shows that content selection and temporal discrimination can come apart. Attention improves access to represented items without necessarily preserving relations among their positions.
Other choices receive limited analysis
The reported benefit of leaky rectifiers is qualitative. No numerical activation ablation accompanies it. Hidden dimensionality remains fixed, and the paper does not explore a range of scoring networks.
Likewise, there is no reported intervention removing the intermediate prediction transformation or adding explicit positional information. The experiments should therefore be read as a targeted architecture study rather than an exhaustive decomposition.
The most secure explanatory result is the attention-versus-mean comparison. The remaining implementation details identify a successful configuration, but their individual necessity is not established.
Limitations
Authors’ stated limit: arrangement-dependent targets
The authors identify the loss of temporal order as the architecture’s defining restriction. A pointwise encoder followed by this pooling rule cannot distinguish a rearranged collection of the same inputs.
This failure is not merely a tendency to confuse similar examples. It is an invariance of the calculation. The context presented to the output stage is identical for inputs differing only in a permitted rearrangement.
The qualification concerns the information available in each input representation. If an application supplies richer local vectors, those vectors may contain information absent from the arithmetic setup. The paper does not investigate positional additions or prove results for such modifications.
For the architecture actually studied, however, a task requiring the system to infer precedence from the sequence arrangement lies outside its capability. The symbol-order discussion demonstrates that boundary directly.
Authors’ stated limit: favorable synthetic tasks
The authors acknowledge that addition and multiplication favor an order-insensitive approach. Operand order does not determine the target, so preserving chronology would impose work that these tasks do not require.
The resulting success cannot establish a general account of long-term memory. It establishes that relevant information can be accessed and combined across long inputs without a recurrent history under the tested conditions.
That remains a substantive result. It challenges the assumption that every benchmark associated with long-term dependence necessarily requires a temporally organized state. The limitation concerns the breadth of the claim, not whether the demonstrated capability matters.
A careful description should therefore retain both sides: the architecture handles extensive input spans effectively, and the chosen targets permit the removal of order.
Authors’ stated direction: broader applications need investigation
The discussion motivates text classification as a potential application. It refers to Joachims’ categorization study and to later document-processing work described as using order-insensitive integration.
These references explain why the authors consider the simplification practically interesting. They do not turn the arithmetic evaluation into a document-classification experiment.
The paper also mentions parallel research using attention-based embeddings to prune subsequence retrieval searches. It reports that connection as supporting context, without presenting the retrieval study’s measurements within this experiment.
The broader claim is consequently a research direction: some real tasks may benefit when selective access to a large input matters more than preserving its full arrangement. The authors call for further investigation rather than treating that possibility as comprehensively validated.
Careful-reader limit: the task specification is delegated
The detailed synthetic data procedure is not restated. This leaves the architecture and training account more explicit than the complete description of how inputs and targets are generated.
Such details matter. The way relevant positions are designated and the way numerical values are sampled can shape what a successful system must learn. They should not be supplied from memory of another implementation and treated as facts about this experiment.
The safe interpretation follows the named tasks, explicit dimensions, length conditions, objective, and accuracy rule. A complete replication would also require consulting the earlier task definitions and the released implementation.
This is a reporting boundary instead of a reason to reject the results. It identifies which parts of the experimental claim can be reconstructed directly and which depend on the referenced specifications.
Careful-reader limit: repeated use of held-out performance
The authors evaluate held-out accuracy after every epoch and stop if it reaches 100%. The held-out result therefore participates in a training decision.
For the narrow-band experiments, the strongest outcome across the listed learning rates is reported. The paper does not describe a separate validation arrangement that isolates all selection decisions from a final untouched evaluation.
This affects how the numbers should be interpreted. They are not simply the result of a predetermined run followed by a single final inspection. The procedure allows assessment feedback to influence stopping and reports selected learning-rate outcomes.
The paper still demonstrates successful trained systems under its procedure. A stronger claim about independently selected performance would need a clearer separation among optimization, selection, and final evaluation.
Careful-reader limit: variability is not quantified
The account does not provide uncertainty intervals or distributions over repeated random initializations. It therefore gives successful reported outcomes without quantifying how consistently independent runs reproduce them.
That omission is especially relevant to claims about rapid convergence. A setting may reach the threshold quickly in a reported run without having the same behavior under every initialization.
The aggregate mixed-length accuracies also leave error location unresolved. They do not show whether residual failures cluster at particular lengths or arise from other properties of the inputs.
These are limits on the resolution of the evidence. They do not erase the large contrast between the reported attention and mean outcomes, but they restrict claims about reliability and the detailed source of errors.
Careful-reader limit: timing is conditional
The runtime comparison uses a specified device, workload, implementation framework, and recurrent baseline. Its result is useful precisely because these conditions are concrete.
It does not establish a universal processing-time relationship. The paper does not compare every recurrent architecture, optimize every alternative implementation, or measure every hardware setting.
Parallelism also does not eliminate work. Every input position still needs processing, and the normalization and aggregation operate across the sequence. A fixed-dimensional output should not be confused with a fixed cost for producing it.
The architectural explanation supports an opportunity for efficiency. The reported timing confirms that opportunity in a particular experiment. Broader efficiency claims require additional measurements.
Careful-reader limit: the context is a compression
The downstream prediction stages receive a context with dimensionality D = 100 regardless of sequence length. This stable interface is useful, but it also concentrates the available information into a bounded representation.
The arithmetic results show that this representation can be sufficient for the tested targets. They do not show that it preserves every property of the original input or supports arbitrary later questions.
This distinction matters for applications that might reuse the context. A representation trained to predict a particular scalar need not retain information useful for an unrelated decision.
The paper’s output is task-oriented. Treating its context as a general-purpose memory of the sequence would go beyond the experiments.
Careful-reader limit: weights are not complete explanations
Attention exposes contribution coefficients, but the final prediction also depends on hidden-vector contents and later nonlinear transformations. A large coefficient does not independently identify the full reason for an answer.
The paper offers no intervention-based demonstration that its weights provide a complete explanation of the prediction. Its contribution is an effective selection-and-combination mechanism.
For interpretability, those intermediate quantities may be useful inspection material. They should still be distinguished from a proof, a causal account, or a complete semantic justification.
That distinction is particularly important when transferring the idea into systems with explicit reasoning. Numerical contribution and logical support are different relationships, even when both can be displayed to a reader.
What came after
The later citation record includes work on sentiment judgments and news tagging. These applications are thematically related to the original discussion of collecting useful evidence for an overall classification. The available descriptions establish the citation relationships and research subjects, but do not identify the exact technical component borrowed from the earlier architecture.
The DataStories sentiment study, published in 2017, concerns message-level and topic-based sentiment analysis. Its title identifies deep LSTM processing with attention. That places the cited idea in a language-classification setting while retaining recurrent machinery.
The distinction matters. The earlier paper’s distinctive experiment makes local representations independent of previous hidden states. An LSTM-based architecture does not, merely by including attention, demonstrate the same removal of recurrence. The citation supports a connection to attention-based representation and selection, but it does not establish an identical scorer, pooling equation, or experimental result.
The Arabic news tagging study, published in 2019, concerns automatic tagging of Arabic news articles using an ensemble deep-learning approach. Its task is close to the document-categorization motivation offered in the earlier discussion.
The listed information does not specify how attention is used there, whether the feed-forward arrangement is reproduced, or what measured improvement is attributable to it. Those details cannot be inferred from the citation or title. The connection establishes that the earlier work was referenced in research on a different language task, not that its arithmetic findings were independently reproduced in news tagging.
The original paper also identifies a related retrieval direction through its parallel work on pruning subsequence searches with attention-based embeddings. That application follows the same broad motivation: compress information from extensive inputs in a way that remains useful for a downstream decision. Its retrieval measurements are not part of the arithmetic evidence considered here.
Across these connections, the durable research question is precise: when does a task benefit more from selective integration of content than from preserving the complete temporal arrangement? The paper supplies a compact architecture, a strong arithmetic demonstration, and a structural counterexample. The later citations show interest beyond that synthetic setting, while leaving their particular technical debts to be established from their own accounts.
Cite
Cite as Colin Raffel and Daniel P. W. Ellis. 2015. Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems. arXiv (Cornell University).
@misc{raffel2015feed,
title = {{Feed-Forward Networks with Attention Can Solve Some Long-Term Memory Problems}},
author = {Colin Raffel and Daniel P. W. Ellis},
year = {2015},
doi = {10.48550/arxiv.1512.08756},
eprint = {1512.08756},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1512.08756}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/raffel-2015-feed-forward-networks-attention-can/
References
- Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. arXiv:1511.06464, 2015. our card
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv:1409.0473, 2014. our card
- Dzmitry Bahdanau, Jan Chorowski, Dmitriy Serdyuk, Philemon Brakel, and Yoshua Bengio. End-to-end attention-based large vocabulary speech recognition. arXiv:1508.04395, 2015. our card
- Frédéric Bastien, Pascal Lamblin, Razvan Pascanu, James Bergstra, Ian Goodfellow, Arnaud Bergeron, Nicolas Bouchard, David Warde-Farley, and Yoshua Bengio. Theano: new features and speed improvements. In Deep Learning and Unsupervised Feature Learning NIPS 2012 Workshop, 2012. our card
- Yoshua Bengio, Patrice Simard, and Paolo Frasconi. Learning long-term dependencies with gradient descent is difficult. IEEE Transactions on Neural Networks, 50 (2):0 157–166, 1994. OpenAlex ↗ · Scholar ↗
- James Bergstra, Olivier Breuleux, Frédéric Bastien, Pascal Lamblin, Razvan Pascanu, Guillaume Desjardins, Joseph Turian, David Warde-Farley, and Yoshua Bengio. Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for scientific computing conference (SciPy), 2010. OpenAlex ↗ · Scholar ↗
- William Chan, Navdeep Jaitly, Quoc V. Le, and Oriol Vinyals. Listen, attend and spell. arXiv:1508.01211, 2015. our card
- Kyunghyun Cho. Introduction to neural machine translation with GPUs (part 3). http://devblogs.nvidia.com/ parallelforall/ introduction- neural- machine- translation- gpus- part -3/ (http://devblogs.nvidia.com/parallelforall/introduction-neural-machine-translation-gpus-part-3/), 2015. OpenAlex ↗ · Scholar ↗
- Sander Dieleman. Recommending music on Spotify with deep learning. http://benanne.github.io/ 2014/ 08/ 05/ spotify-cnns.html (http://benanne.github.io/2014/08/05/spotify-cnns.html), 2014. OpenAlex ↗ · Scholar ↗
- Sander Dieleman, Jan Schlüter, Colin Raffel, Eben Olson, and Soren Kaae Sonderby. Lasagne: First release. https:// github.com/ Lasagne/ Lasagne (https://github.com/Lasagne/Lasagne), 2015. OpenAlex ↗ · Scholar ↗
- Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv:1410.5401, 2014. OpenAlex ↗ · Scholar ↗
- Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 90 (8):0 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
- Herbert Jaeger. Long short-term memory in echo state networks: Details of a simulation study. Technical Report 27, Jacobs University, 2012. OpenAlex ↗ · Scholar ↗
- Thorsten Joachims. Text categorization with support vector machines: Learning with many relevant features. Springer, 1998. our card
- Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv:1412.6980, 2014. our card
- David Krueger and Roland Memisevic. Regularizing RNNs by stabilizing activations. arXiv:1511.08400, 2015. OpenAlex ↗ · Scholar ↗
- Quoc V. Le, Navdeep Jaitly, and Geoffrey E. Hinton. A simple way to initialize recurrent networks of rectified linear units. arXiv:1504.00941, 2015. OpenAlex ↗ · Scholar ↗
- Tao Lei, Regina Barzilay, and Tommi Jaakkola. Molding CNNs for text: non-linear, non-consecutive convolutions. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1565–1575, 2015. OpenAlex ↗ · Scholar ↗
- Andrew L. Maas, Awni Y. Hannun, and Andrew Y. Ng. Rectifier nonlinearities improve neural network acoustic models. In ICML Workshop on Deep Learning for Audio, Speech, and Language Processing, 2013. OpenAlex ↗ · Scholar ↗
- James Martens and Ilya Sutskever. Learning recurrent neural networks with hessian-free optimization. In Proceedings of the 28th International Conference on Machine Learning, pp. 1033–1040, 2011. OpenAlex ↗ · Scholar ↗
- Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. arXiv:1211.5063, 2012. OpenAlex ↗ · Scholar ↗
- Colin Raffel and Daniel P. W. Ellis. Pruning subsequence search with attention-based embedding. In Proceedings of the 41st IEEE International Conference on Acoustics, Speech, and Signal Processing, 2016. OpenAlex ↗ · Scholar ↗
- Søren Kaae Sønderby, Casper Kaae Sønderby, Henrik Nielsen, and Ole Winther. Convolutional lstm networks for subcellular localization of proteins. arXiv:1503.01919, 2015. OpenAlex ↗ · Scholar ↗
- Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. arXiv:1503.08895, 2015. OpenAlex ↗ · Scholar ↗
- Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In Proceedings of the 30th International Conference on Machine Learning, pp. 1139–1147, 2013. OpenAlex ↗ · Scholar ↗
- Paul J. Werbos. Backpropagation through time: what it does and how to do it. Proceedings of the IEEE, 780 (10):0 1550–1560, 1990. OpenAlex ↗ · Scholar ↗
- Kelvin Xu, Jimmy Ba, Ryan Kiros, Aaron Courville, Ruslan Salakhutdinov, Richard Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. arXiv:1502.03044, 2015. our card