Abstract
Traditional Structured Language Models (SLMs) often struggle with data sparseness when incorporating complex syntactic features. This research introduces a connectionist approach to SLMs, replacing n-gram-based components with neural networks. By leveraging distributed word representations and sub-linear parameter scaling, the model captures long-range syntactic dependencies more effectively. Evaluations on the Wall Street Journal corpus demonstrate that the neural-enhanced SLM achieves a 118.4 perplexity score, representing an 8.7% relative improvement over previous state-of-the-art smoothed structured models.
Introduction
Language modeling is a fundamental task in natural language processing, essential for systems like speech recognition and machine translation. While standard n-gram models are widely used, they are limited by their inability to account for the hierarchical structure of language and the "curse of dimensionality." As context length increases, the number of possible word combinations grows exponentially, leading to severe data sparseness.
Structured Language Models (SLMs) address this by using partial parse trees to inform word prediction. However, as more syntactic features are added to improve the model, the data sparseness problem persists. This paper explores whether the generalizing power of neural networks can make SLMs more robust and context-aware.
Methodology
The researchers replaced the three core components of the SLM—the Word-Predictor, the Tagger, and the Constructor—with probabilistic neural networks.
Neural Network Architecture
Instead of treating words as discrete symbols, the model maps them to continuous-valued feature vectors (embeddings). This allows the model to generalize from seen sequences to unseen ones by recognizing functional similarities between words. Unlike n-grams, the neural network's parameter count grows only sub-linearly with context, allowing for the inclusion of richer syntactic information.
Training Procedure
The authors employed an N-best Expectation-Maximization (EM) training algorithm. In the E-step, the model generates the $N$ most likely parses for a sentence. In the M-step, the neural networks are updated via back-propagation to maximize the likelihood of these "hidden" syntactic structures. The study utilized the UPenn Treebank portion of the Wall Street Journal (WSJ) corpus, with sections 00-20 for training, 21-22 for tuning, and 23-24 for testing.
Key Insights
- Overcoming Sparseness: Neural networks fundamentally change context representation. By using vectors, the model interpolates between similar histories more effectively than traditional Kneser-Ney smoothing.
- Complementary Models: The errors produced by the neural SLM are less correlated with standard trigram models. Consequently, interpolating the two yields a higher performance boost than combining two different n-gram models.
- Scalability: As syntactic context increases, traditional models tend to overfit. Neural models remain stable, demonstrating superior efficiency in handling complex features.
Results
The performance was measured using Perplexity (PPL), where lower values indicate better predictive accuracy. The neural-enhanced SLM significantly outperformed both the baseline trigram and the traditional Kneser-Ney smoothed SLM.
As shown in the experimental data, the best neural configuration (NN-3H-1OP interpolated with a trigram) achieved a PPL of 118.4. This marks a 21% relative reduction in perplexity over the baseline trigram (~149.6 PPL) and an 8.7% improvement over the best traditional SLM (128.8 PPL).
Conclusion and Future Work
While the connectionist SLM provides substantial gains in perplexity, it comes with increased computational costs during training. Future research will focus on optimizing stochastic gradient descent for faster convergence. Additionally, the authors aim to evaluate these gains in downstream tasks like speech recognition to determine if lower perplexity translates directly to reduced Word Error Rates (WER) and to explore the interpretability of the learned word representations.
Summary updated