Abstract
This paper introduces a tree-structured semantic encoder for Natural Language Generation (NLG) in spoken dialogue systems, designed to drastically improve domain adaptation when training data is scarce. By modeling the inherent hierarchy of dialogue semantics (Domain $\rightarrow$ Act $\rightarrow$ Slot) using a Tree-LSTM and a layer-wise attention mechanism, the model effectively shares structural knowledge across domains, reducing slot error rates by up to 50% compared to flat-encoding baselines.
Introduction
In task-oriented dialogue systems, the Natural Language Generation (NLG) module translates machine-readable Semantic Representations (SR)—such as inform(name=Clowns, food=English)—into natural, human-readable sentences. A significant bottleneck in developing open-domain systems is domain adaptation. Collecting annotated data for every new domain is expensive. Prior NLG models often encode SRs as flat binary vectors, failing to capture the hierarchical ontology (Domain > Dialogue Act > Slot > Value) inherent in dialogue semantics. This lack of structural awareness makes them data-hungry and poor at adapting to new domains with limited examples.
Methodology
To address these limitations, the authors propose a novel architecture that captures the internal structure of complex semantics through two primary components:
- Tree-Structured Semantic Encoder: The input SR is mapped to a tree reflecting the ontology. Leaf nodes (properties) feed into slot nodes, then dialogue act nodes, and finally a root domain node. A Tree-LSTM processes this bottom-up, creating a semantic embedding that understands the relationships between different information levels.
- LSTM Decoder with Layer-wise Attention: The decoder generates sentences using delexicalized tokens (e.g.,
@restaurant-inform-area). A layer-wise attention mechanism allows the decoder to attend to specific layers of the Tree-LSTM (domain, act, and slot layers) at each time step, guiding the prediction of the next piece of information.
The decoder also employs reading and writing gates to track generated information, preventing repetitions or omissions.
Experimental Setup
The model was evaluated on the Multi-Domain Wizard-of-Oz (MultiWOZ) dataset. MultiWOZ is a rigorous benchmark spanning 7 domains with over 10,000 dialogues. Unlike simpler datasets like SFX or E2E, MultiWOZ features complex turns that often mix multiple dialogue acts and domains in a single response.
Key Insights
- Structural Knowledge Sharing: By explicitly modeling the ontology's hierarchy, the model recognizes structural parallels across domains. For example, an
informact about anareain the Restaurant domain shares structural similarities with the same act in the Attraction domain, allowing the model to reuse learned grammatical patterns. - Interpretable Attention: The layer-wise attention mechanism acts as a routing system. By forcing the model to predict domain, act, and slot distributions separately, it reduces hallucinations of incorrect dialogue acts, even with limited target-domain data.
- Generalization to Unseen Semantics: The tree structure enables the model to generalize to novel combinations of slots and acts by leveraging structural patterns learned in the source domain.
Results
The proposed model (Tree+Att) demonstrated significant performance gains, particularly in low-data regimes. In few-shot adaptation scenarios (e.g., Restaurant to Hotel using only 1.25% of target data), the model reduced the Slot Error Rate (SER) from over 75% in baselines to approximately 25%.
Furthermore, when tested on "unseen" semantics under the 1.25% data setting, the Tree+Att model failed only 14.8% of the time, compared to an 80.5% failure rate for the SCLSTM baseline. Human evaluations via Amazon Mechanical Turk also rated the model higher in both informativeness and naturalness.
Conclusion
While highly effective, the model's reliance on delexicalization requires rigid pre- and post-processing, which may be challenging for morphologically rich languages. Future work aims to extend the tree encoder to incorporate broader dialogue context history, moving toward fully end-to-end dialogue systems.
Summary updated