Credit Assignment through Time: Alternatives to Backpropagation

Yoshua Bengio, Paolo Frasconi

This 1994 classic by Yoshua Bengio and Paolo Frasconi is a foundational text in understanding why training Recurrent Neural Networks (RNNs) is so difficult. The authors provide a mathematical proof for the "vanishing gradient problem" and propose a suite of alternative algorithms, ultimately finding that an Expectation-Maximization (EM) approach to "target propagation" can succeed where standard backpropagation fails.

The Challenge of Long-Term Dependencies

Recurrent Neural Networks are designed to process sequences by maintaining an internal "state" that acts as memory. However, researchers in the early 90s noticed a frustrating trend: RNNs were highly effective at recognizing short-term patterns but failed miserably when the desired output depended on an input from a long time ago.

The authors identify a fundamental conflict at the heart of this failure: the stability-trainability trade-off. To store a "bit" of information reliably in the presence of noise, the network's dynamics must be stable (using "attractors"). However, they mathematically prove that the very conditions required for this stability cause the gradients used for learning to vanish exponentially as they are propagated back through time. Essentially, if the network is stable enough to remember, it becomes too "stiff" to learn via standard gradient descent.

Exploring Alternatives to Backpropagation

To overcome the vanishing gradient problem, the authors explore four categories of alternatives to standard Backpropagation Through Time (BPTT):

  1. Global Search Methods: They tested Simulated Annealing and Multi-grid Random Search. While robust against local minima, these methods proved computationally expensive and often too slow for practical use.
  2. Time-Weighted Pseudo-Newton: This algorithm uses second-order derivatives (the Hessian) to try and "correct" the vanishing gradient by weighting updates based on curvature.
  3. Discrete Error Propagation: By replacing smooth sigmoid units with discrete threshold units, they attempted to propagate discrete "desired changes" backward, preventing the signal from shrinking as it does with continuous derivatives.
  4. The Expectation-Maximization (EM) Approach: This is the paper's primary contribution. The authors treat the RNN as a probabilistic system similar to a Hidden Markov Model (HMM). Instead of gradients, they propagate targets—discrete distributions over possible states. They use a modular architecture where small "subnetworks" compute transition probabilities, and the system is trained to maximize the likelihood of reaching the correct final state using the EM algorithm.
Probabilistic state network architecture used in the EM approach.

Benchmarking the Methods

The authors used two synthetic benchmarks designed specifically to isolate the challenge of long-term dependencies:

  • The 2-Sequence Problem: A classification task where the "answer" is determined only by the first three elements of a long sequence. The rest of the sequence is filled with uniform noise. To succeed, the network must "latch" onto the initial information and hold it for the duration of the sequence.
  • The Parity Problem: The network must output whether the number of "1s" in a sequence of 1s and -1s is even or odd. This is a classic "hard" problem because every single element in the sequence matters, and the target is only provided at the very end.

Key Results: Targets Over Gradients

The results demonstrated a clear advantage for the EM-based approach, proving that propagating idealized target states is vastly superior to pushing small continuous gradients back through time for long sequences.

  • 2-Sequence Problem: As sequence lengths increased, standard backpropagation's error rate climbed to roughly 50% (equivalent to random guessing) by length 100. In stark contrast, the EM algorithm maintained a 0% error rate regardless of the sequence length.
Error rates on the 2-Sequence problem, comparing backpropagation to alternative methods across increasing sequence lengths.
  • Parity Problem: Backpropagation and second-order methods failed completely once sequences exceeded 10-20 steps. The EM approach successfully solved the parity problem for sequences as long as 500 steps, though it required more training presentations as the length increased.
  • Second-Order Limitations: While the Time-Weighted Pseudo-Newton method performed better than standard backprop, it still suffered from performance degradation as sequences grew longer. This proved that second-order logic alone isn't a silver bullet for vanishing gradients.

Limitations and Future Directions

While groundbreaking, the authors noted several limitations. The EM approach was primarily evaluated on sequence classification, and extending it to general sequence-to-sequence production (like translation) would require further architectural changes. Furthermore, the model assumes we can define "correct" final states, suggesting that future work should explore supervision on outputs rather than internal states. Finally, while they provided a rigorous proof for why backpropagation fails, they noted that a similar theoretical analysis of credit propagation in these Markovian EM models was still needed.

Summary updated

BibTeX
@inproceedings{bengio1993credit,
  author = {Yoshua Bengio and Paolo Frasconi},
  title = {{Credit Assignment through Time: Alternatives to Backpropagation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1993},
}
Figure