[Paper Review] A Generative Parser with a Discriminative Recognition Algorithm
This paper proposes a unified framework that combines a generative Recurrent Neural Network Grammar (RNNG) with a discriminative recognition model in an encoder-decoder setup, enabling joint training for parsing and language modeling. The method achieves state-of-the-art single-model language modeling performance on the Penn Treebank while maintaining competitive constituency parsing results through variational inference and expectation maximization interpretations.
Generative models defining joint distributions over parse trees and sentences are useful for parsing and language modeling, but impose restrictions on the scope of features and are often outperformed by discriminative models. We propose a framework for parsing and language modeling which marries a generative model with a discriminative recognition model in an encoder-decoder setting. We provide interpretations of the framework based on expectation maximization and variational inference, and show that it enables parsing and language modeling within a single implementation. On the English Penn Treen-bank, our framework obtains competitive performance on constituency parsing while matching the state-of-the-art single-model language modeling score.
Motivation & Objective
- To overcome the limitations of purely generative models in parsing, which impose restrictive feature assumptions and suffer from indirect training objectives.
- To integrate a discriminative recognition model with a generative parser to improve parsing accuracy while retaining generative modeling capabilities.
- To unify grammar induction, parsing, and language modeling within a single, end-to-end trainable framework.
- To provide a principled training objective based on variational inference and expectation maximization, enabling unsupervised and weakly supervised learning.
- To achieve competitive performance in constituency parsing and state-of-the-art language modeling scores using a single model architecture.
Proposed method
- The framework uses a generative RNNG to model the joint probability $ p(x, a) $, where $ x $ is the sentence and $ a $ is the sequence of transition actions forming the parse tree.
- A discriminative recognition model $ q(a|x) $ is introduced as a variational approximation to the true posterior $ p(a|x) $, enabling efficient inference and improved parsing accuracy.
- The training objective is derived from the evidence lower bound (ELBO), which jointly optimizes the generative model $ p(x,a) $ and the discriminative recognition model $ q(a|x) $.
- The model is trained using backpropagation through the recognition model, allowing end-to-end optimization with gradient descent.
- The framework supports both supervised and unsupervised learning by incorporating supervised signals into the ELBO objective, following Kingma et al. (2014) and Miao and Blunsom (2016).
- The method enables language modeling by directly assigning probability to full sentences via the generative model, while parsing is performed through posterior inference using the discriminative recognition model.
Experimental results
Research questions
- RQ1Can a unified framework combining generative and discriminative models improve parsing and language modeling performance compared to standalone models?
- RQ2How can variational inference and expectation maximization be used to interpret the joint training of generative and discriminative components in parsing?
- RQ3Can the proposed framework achieve state-of-the-art language modeling performance while maintaining competitive parsing accuracy?
- RQ4Does the integration of a discriminative recognition model significantly improve parsing performance over purely generative RNNGs?
- RQ5Can the framework support unsupervised grammar induction using gradient-based optimization and posterior regularization?
Key findings
- The framework achieves a language modeling perplexity of 99.8 on the English Penn Treebank, matching the state-of-the-art single-model performance.
- The model obtains competitive results on constituency parsing, outperforming standard generative RNNGs and matching the performance of discriminative models in a unified setup.
- The integration of a discriminative recognition model significantly improves parsing accuracy over the purely generative RNNG baseline.
- The framework supports both supervised and unsupervised training, with the potential for grammar induction using posterior regularization techniques.
- The variational inference-based objective enables effective joint optimization of generative and discriminative components, providing a principled alternative to importance sampling with a discriminative proposal.
- The method outperforms Dyer et al. (2016) in language modeling by directly optimizing the marginal likelihood via ELBO, avoiding reliance on importance sampling with suboptimal proposals.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.