Abstract
Natural Language Generation (NLG) has traditionally relied on handcrafted cores, creating a significant bottleneck for scaling to new domains. This paper introduces BAGEL (Bayesian networks for generation using active learning), a fully statistical language generator. BAGEL utilizes Dynamic Bayesian Networks (DBNs) to model generation as a two-phase process: semantic decoding and realization. By integrating certainty-based active learning, the system achieves human-level performance in naturalness and informativeness while drastically reducing the required amount of annotated training data.
Introduction
While many areas of computational linguistics have transitioned to fully statistical methods, Natural Language Generation (NLG) has lagged. Most "trainable" generators still depend on manual engineering to define decision spaces or generate candidate sets. This dependency limits portability and scalability. BAGEL addresses this by learning directly from semantically-aligned data provided by non-experts, making the generation process entirely data-driven and accessible.
The BAGEL Architecture
BAGEL's design is centered on three core components: a stack-based semantic representation, a two-phase DBN generation model, and an active learning framework.
Stack-based Semantic Representation
To bridge the gap between complex semantic structures and human-readable text, BAGEL uses a "stack" of semantic concepts (e.g., inform(area(centre))). This representation is intuitive for untrained annotators while providing enough structure to guide the probabilistic generation process.
Two-Phase DBN Generation
The generation process is decomposed into two distinct phases modeled by Dynamic Bayesian Networks:
- Semantic Decoding: This phase determines the optimal sequence and ordering of semantic stacks.
- Realization: This phase maps the chosen sequence of stacks into a corresponding sequence of natural language phrases.
By modeling generation at the phrase level rather than word-by-word, BAGEL captures long-range dependencies and domain-specific idioms more effectively, requiring fewer parameters than word-based models.
Generalization and Active Learning
A key challenge in data-driven NLG is handling sparse data and unseen semantic combinations. BAGEL addresses this through robust smoothing and strategic data acquisition.
Backoff Smoothing
To ensure the model can generate phrases for semantic contexts not encountered during training, BAGEL employs factored language models with Witten-Bell backoff. This allows the system to "back off" to more general parts of the semantic stack when specific combinations are unknown.
Certainty-Based Active Learning
To minimize the human effort required for annotation, BAGEL uses active learning. The system identifies semantic inputs where its output probability is lowest (indicating high uncertainty) and prioritizes these for human labeling. This targeted approach ensures that the most informative data is added to the training set first.
Experimental Evaluation
The system was evaluated in the Cambridge restaurant information domain. Data was collected from 42 untrained annotators via Amazon Mechanical Turk, resulting in 404 semantically-aligned utterances across 202 unique dialogue acts. Performance was assessed using BLEU scores and human judgments on a 5-point Likert scale for naturalness and informativeness.
Key Results
The evaluation demonstrated that BAGEL can reach human-level quality with remarkably little data:
- Quality: Models trained on 100+ utterances produced outputs indistinguishable from human "gold standard" utterances in terms of naturalness and informativeness.
- Active Learning Efficiency: Active learning provided significant gains over random sampling. With just 20 utterances, naturalness scores increased by 0.49 and informativeness by 0.37 compared to random selection.
- Scalability: The system successfully learned to generate complex utterances (averaging 8.35 phrases) from a small set of semantic stacks and realization phrases.
Conclusion and Future Work
BAGEL represents a significant step toward fully automated, data-driven NLG. While highly effective in dialogue domains, future work will focus on addressing length bias in decoding and extending the model to handle the deep nesting found in more complex syntactic domains. Additionally, integrating BAGEL with HMM-based speech synthesis could lead to a fully probabilistic "concept-to-speech" pipeline.
Summary updated