Skip to main content
QUICK REVIEW

[Paper Review] Constrained Decoding for Neural NLG from Compositional Representations in Task-Oriented Dialogue

Anusha Balakrishnan, Jinfeng Rao|arXiv (Cornell University)|Jun 17, 2019
Topic ModelingComputer Science44 references7 citations
TL;DR

This paper proposes using tree-structured meaning representations to improve discourse-level control in neural text generation for task-oriented dialogue. By introducing a constrained decoding algorithm that enforces structural consistency with compositional inputs, the method achieves significantly higher semantic correctness, improved data efficiency, and better generalization on both E2E and a new weather-domain dataset compared to flat MR baselines.

ABSTRACT

Generating fluent natural language responses from structured semantic representations is a critical step in task-oriented conversational systems. Avenues like the E2E NLG Challenge have encouraged the development of neural approaches, particularly sequence-to-sequence (Seq2Seq) models for this problem. The semantic representations used, however, are often underspecified, which places a higher burden on the generation model for sentence planning, and also limits the extent to which generated responses can be controlled in a live system. In this paper, we (1) propose using tree-structured semantic representations, like those used in traditional rule-based NLG systems, for better discourse-level structuring and sentence-level planning; (2) introduce a challenging dataset using this representation for the weather domain; (3) introduce a constrained decoding approach for Seq2Seq models that leverages this representation to improve semantic correctness; and (4) demonstrate promising results on our dataset and the E2E dataset.

Motivation & Objective

  • To address the lack of discourse-level control in neural text generation for task-oriented dialogue systems.
  • To improve semantic correctness and reduce hallucinations in neural NLG by enriching input meaning representations with discourse relations.
  • To develop a constrained decoding method that leverages tree-structured MRs to ensure all required content is generated in correct structural order.
  • To evaluate the approach on both the E2E NLG benchmark and a newly released weather-domain dataset with compositional MRs.
  • To demonstrate improved data efficiency, generalizability, and diversity in generated responses.

Proposed method

  • The paper proposes using tree-structured meaning representations that encode discourse relations such as Contrast, Justify, and Join, instead of flat slot-value pairs.
  • It introduces a constrained decoding algorithm that tracks the generation of tree nodes and enforces structural constraints during beam search to preserve intended discourse structure.
  • The method uses a modified beam search that maintains a set of partial hypotheses, each tracking which nodes in the tree have been generated and in what order.
  • The decoding process ensures that all required content is included and that structural constraints (e.g., contrastive clauses must be generated in a specific order) are respected.
  • The model is trained on sequence-to-sequence frameworks but leverages tree-structured inputs and constraints during inference only.
  • The approach is evaluated on both the E2E NLG dataset and a new weather-domain dataset annotated with discourse relations.

Experimental results

Research questions

  • RQ1Can tree-structured meaning representations improve the semantic correctness and discourse coherence of neural text generation in task-oriented dialogue?
  • RQ2Can constrained decoding over tree-structured inputs outperform flat MR baselines in controlling discourse relations like Contrast and Join?
  • RQ3Does the use of compositional MRs enhance data efficiency and generalization to unseen compositional examples?
  • RQ4To what extent does the constrained decoding method reduce semantic errors and hallucinations in generated responses?
  • RQ5Can the proposed method improve diversity without sacrificing automatic metric scores like BLEU?

Key findings

  • The constrained decoding model achieved over 90% tree accuracy with only 2,000 training samples and over 95% with 5,000 samples on both the E2E and weather datasets, demonstrating high data efficiency.
  • On the E2E dataset, the method achieved significantly better control over Contrast relations than Reed et al.’s method, which only used control tokens.
  • The model trained on E2E and weather data achieved 76% tree accuracy on compositional E2E test examples when only 5% of compositional data was used, outperforming the E2E-only model (53.72% accuracy).
  • The S2S-Constr model achieved higher BLEU scores and better diversity metrics (e.g., 5.86 Shannon entropy, 1.71 conditional entropy) than standard baselines, indicating improved expressiveness.
  • The method improved semantic correctness without sacrificing automatic metric performance, unlike previous diversity-promoting approaches that often degrade BLEU scores.
  • The approach enabled better generalization to compositional semantics, showing that discourse structures learned from one domain (weather) can be transferred to another (E2E).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.