chapter four
4 Deep learning accelerates
This chapter covers
- The resurgence of recurrent neural networks after AlexNet
- How Karpathy’s blog made recurrent neural networks accessible, inspiring experimentation
- How Chris Olah clarified long short-term memory with vivid visuals and metaphors
- How selective dropout enabled deeper recurrent networks
- How Deep Speech 2 proved the real-world potential of recurrent neural networks
- The engineering shift in AI
Recurrent neural networks (RNNs) are sequence models. Sequence models process ordered data such as text, speech, or time series, where the position of each element matters. n-grams are sequence models. They capture short-range dependencies by looking at a fixed window of prior tokens. RNNs extended this idea by carrying forward a compressed representation of the entire sequence history. Yet, despite their theoretical promise, practical problems such as vanishing or exploding gradients, poor handling of long-range temporal dependencies, and inefficient training limit their effectiveness. These challenges persisted until a dropout method was introduced, specifically designed for recurrent architectures.