TL;DR
This paper introduces Densely Connected Recurrent Neural Networks, a novel architecture that links every layer in a stacked LSTM directly to every other layer. By ensuring that higher layers have direct access to the original input embeddings, the authors achieve competitive language modeling performance using six times fewer parameters than traditional stacked models.
What Problem Does This Paper Address?
In Natural Language Processing (NLP), language modeling—predicting the next word in a sequence—is a foundational task. The standard approach involves stacking multiple Long Short-Term Memory (LSTM) layers. However, as these stacks grow, two problems emerge:
- Information Dilution: The original input (the word embedding) must pass through every intermediate layer to reach the top. There is a risk that this crucial signal gets "lost" or distorted along the way.
- Parameter Inefficiency: To improve performance, researchers often increase the size of the hidden states, leading to massive models (e.g., 66 million parameters) that are computationally expensive to train and deploy.
While deep convolutional networks in computer vision use "skip connections" to solve similar gradient flow issues, this paper investigates whether a "dense" connection strategy can make shallower LSTM stacks (2–5 layers) significantly more efficient.
Methods
The authors contrast the standard Stacked RNN with their proposed Densely Connected RNN.
- Standard Stacked RNN: As shown in Figure 1a, the hidden state of layer $l-1$ serves as the sole input for layer $l$.
- Densely Connected RNN: As shown in Figure 1b, the input to layer $l$ is a concatenation of the hidden states of all previous layers, plus the original word embedding ($e_t$).
Mathematically, the input $x_{l,t}$ to the $l$-th layer at time $t$ becomes: $$x_{l,t} = [h_{l-1,t}; ...; h_{1,t}; e_t]$$
Crucially, the final classification layer also receives this concatenated vector, giving it direct access to the raw input and every intermediate representation simultaneously.
Datasets
The models were evaluated on the Penn Treebank (PTB) corpus, a gold-standard benchmark for language modeling. The authors used the standard splits:
- Training: 930k words
- Validation: 74k words
- Test: 82k words
- Vocabulary: Limited to the top 10,000 words, with others replaced by an
<UNK>token.
Key Insights and Ideas
- The "Information Highway": The primary "aha" moment is that higher layers shouldn't have to rely on a "game of telephone" through lower layers to understand the input. By providing a direct path for the embeddings, the model preserves the original context much better.
- Efficiency over Scale: Instead of making layers "wider" (increasing hidden state size), making them "better connected" is a more effective way to lower perplexity.
- Direct Access for Softmax: Allowing the final softmax layer to see the embedding layer directly was found to be a significant advantage, likely because it allows the model to easily learn identity-like relationships or simple word-to-word patterns that don't require deep abstraction.
Key Results
The results, summarized in Table 1 and Table 2, demonstrate a massive leap in parameter efficiency:
- Matching Performance with 1/6th the Size: A 3-layer Densely Connected LSTM with only 11M parameters achieved a test perplexity of 78.5, matching the performance of a standard 2-layer stacked LSTM from Zaremba et al. (2014) that required 66M parameters.
- Superiority at Equal Scale: When comparing models with roughly the same number of parameters (~9M), the densely connected version reduced perplexity by 9% compared to the stacked version.
- Depth Matters: Adding a 4th layer to the dense model further reduced perplexity to 76.8 (with only 14M parameters), outperforming much larger medium-sized models using advanced regularization like Variational Dropout.
Limitations and Future Work
- Regularization Challenges: The authors noted that while dense connections improve information flow, increasing the hidden state size of these models and applying standard regularization (like Variational Dropout) did not yield the same level of improvement seen in standard LSTMs.
- Embedding Tying: A popular technique called "weight tying" (sharing weights between input and output embeddings) is not directly applicable to this architecture because the input to the final layer is a concatenation of multiple layers, creating a dimensionality mismatch.
- Future Directions: The researchers suggest exploring better regularization strategies specifically tailored for larger densely connected models to see if they can push perplexity even lower.
Summary updated