Target-Guided Dialogue Response Generation Using Commonsense and Data Augmentation

Prakhar Gupta, Harsh Jhamtani, Jeffrey P. Bigham

Introduction

Most open-domain conversational AI systems are "passive," responding reactively to user input. However, many real-world applications require "proactive" systems capable of making non-obtrusive recommendations or steering conversations away from toxic topics. This paper introduces CODA (Commonsense Path and Data Augmentation), a framework designed to bridge the gap between a conversation's current context and a desired target topic using structured knowledge.

The Challenge of Target-Guided Dialogue

Transitioning smoothly between disparate topics is difficult for neural models due to three primary factors:

  1. Smooth Transitions: Moving from a context like "I enjoy swimming" to a target like "I like to travel to new places" requires a logical middle ground.
  2. Data Scarcity: Specialized datasets for target-guided dialogue, such as Otters, are relatively small (fewer than 2,000 instances), hindering robust training.
  3. Evaluation Gap: Standard metrics like BLEU often fail to capture the "smoothness" of a transition, sometimes rewarding jarring responses that simply repeat target keywords.

The CODA Framework

CODA addresses these challenges through a multi-pillared approach that combines explicit knowledge paths with automated data augmentation.

Figure 1: Example of a bridging path connecting the context 'enjoy swimming' to the target 'travel' via intermediate concepts like 'beach' and 'vacation'.

1. Knowledge Path Generation (KPG)

Instead of a direct jump, the system identifies a "bridging path" of concepts from ConceptNet. For instance, to link swim to travel, the model might generate the path: swim → (at location) → beach → (has prerequisite) → go on vacation → (motivates) → travel. This provides an explicit, interpretable logic for the transition.

2. Commonsense Response Generator (CRG)

At the core of the system is a GPT-2 based model that generates the final response conditioned on the context, the target, and the identified bridging path. This ensures the output is both relevant to the current conversation and aligned with the intended target.

Figure 3: The training and inference pipeline for the Commonsense Response Generator (CRG), showing how knowledge paths are integrated into the response generation process.

3. Data Augmentation via Semantic Role Labeling (SRL)

To overcome data scarcity, the authors re-purposed the large DailyDialog dataset. By using Semantic Role Labeling (SRL) to identify "target clauses" in existing natural responses, they reverse-engineered training examples where speakers naturally transitioned to new points, significantly expanding the available training signal.

4. TARGET-COHERENCE (TC) Metric

The authors introduced a novel, reference-less evaluation metric called TARGET-COHERENCE. This BERT-based classifier is trained to distinguish between smooth transitions and negative examples (where context or targets are randomly swapped). TC showed a much higher correlation with human judgment (0.47) compared to BLEU (-0.11).

Key Results

CODA significantly outperformed baselines like vanilla GPT-2 and Multigen. On the Out-Of-Domain (OOD) Otters dataset, CODA achieved a TARGET-COHERENCE score of 37.9, compared to 29.7 for GPT-2. Human evaluators also preferred CODA’s responses for smoothness 37.5% vs 31.6% of the time in side-by-side comparisons.

Ablation studies confirmed that the "bridging" logic provided by commonsense paths was the primary driver of performance, as removing the paths led to a significant drop in coherence scores.

Conclusion and Future Work

CODA demonstrates that explicit commonsense paths make dialogue steering more smooth and interpretable. While the model is currently sensitive to keyword extraction quality, future work aims to integrate this approach with higher-level dialogue planning for multi-turn transitions and incorporate moral dimensions into knowledge graphs to ensure safe steering.

Summary updated

BibTeX
@inproceedings{gupta2022target,
  author = {Prakhar Gupta and Harsh Jhamtani and Jeffrey P. Bigham},
  title = {{Target-Guided Dialogue Response Generation Using Commonsense and Data Augmentation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-naacl.97},
}
Figure