Building Task-Oriented Visual Dialog Systems Through Alternative Optimization Between Dialog Policy and Language Generation

Mingyang Zhou, Josh Arnold, Zhou Yu

Introduction

Task-oriented visual dialog systems, such as those used in the game "20 Questions," require agents to identify a target image through a series of strategic questions and answers. While Reinforcement Learning (RL) is the standard approach for optimizing these strategies, it often leads to "language degeneration." This phenomenon occurs when an agent develops a non-human "code-speak" to maximize task rewards, sacrificing linguistic fluency and naturalness. This paper presents a novel training curriculum that decouples goal-oriented strategy from natural language generation to solve this trade-off.

The Challenge: Language Degeneration in RL

In traditional RL frameworks for dialog, every word in a large vocabulary is treated as a potential action. This massive action space makes optimization difficult. Agents frequently learn to exploit reward functions by generating repetitive or ungrammatical sequences that, while effective for identifying an image in a simulation, are unintelligible to humans. The core challenge is achieving high task completion without compromising language quality.

Methodology

The authors propose a framework that separates the "thinking" (policy) from the "speaking" (generation). The system is composed of three primary modules: a Response Encoder to track dialog history, a Question Decoder for text generation, and an Image Guesser to rank candidate images.

The proposed architecture featuring a Response Encoder, Question Decoder, and Image Guesser.

Reduced Action Space

Instead of applying RL to every word generated by the decoder, the authors apply RL to the Image Guesser. The "action" is defined as selecting the target image from the top-K nearest neighbors in a feature space. This significantly reduces the complexity of the RL optimization and provides a cleaner reward signal.

Alternative Optimization

The model is trained using a curriculum that alternates between two phases:

  1. RL Epochs: These optimize the image retrieval policy to improve task success.
  2. SL Epochs: These use Supervised Learning on ground-truth human dialogs to ensure the agent continues to speak naturally, acting as a powerful anchor against linguistic drift.

Experimental Results

The researchers evaluated their model, RL-Q-IG, using the GuessWhich task (based on the VisDial dataset). The model was tested in both AI-AI simulations and Human-AI experiments.

Task Success and Linguistic Quality

In AI-AI games, RL-Q-IG achieved a 96.88% Percentile Mean Rank (PMR), a significant improvement over the standard Supervised Learning baseline of 90.07%. Crucially, while standard word-level RL models saw their perplexity (a measure of language poorness) skyrocket to 544.97, the proposed model maintained a perplexity of 54.66, indicating high-quality, human-like language.

Qualitative comparison of dialogs generated by different models. RL-Q-IG maintains natural language while successfully identifying the target.

Human Evaluation

In trials with real human users, the RL-Q-IG model won 67.5% of games, compared to 59.6% for the baseline. Human raters also gave the model higher scores for fluency, relevance, and diversity, confirming that the alternative optimization successfully avoided the pitfalls of "robot-speak."

Conclusion and Future Work

By decoupling the dialog policy from language generation and employing an alternative optimization strategy, the authors demonstrated that it is possible to build agents that are both strategically effective and linguistically natural.

Future research will focus on applying this framework to more challenging image pools with visually similar candidates (e.g., fine-grained product retrieval) and extending the "alternative optimization" approach to other multi-modal tasks like fashion recommendation or complex visual navigation.

Summary updated

BibTeX
@inproceedings{zhou2019building,
  author = {Mingyang Zhou and Josh Arnold and Zhou Yu},
  title = {{Building Task-Oriented Visual Dialog Systems Through Alternative Optimization Between Dialog Policy and Language Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1014},
}
Figure