Skip to main content
QUICK REVIEW

[Paper Review] Attention with Intention for a Neural Network Conversation Model

Kaisheng Yao, Geoffrey Zweig|arXiv (Cornell University)|Oct 29, 2015
Topic ModelingComputer Science15 references96 citations
TL;DR

This paper proposes the Attention with Intention (AWI) model, a neural sequence-to-sequence framework that integrates intention and attention mechanisms using three recurrent networks: an encoder for input encoding, an intention RNN to model discourse-level goals, and a decoder with attention conditioned on intention to generate contextually coherent responses. The model achieves end-to-end training without manual labeling and generates natural, coherent dialogue responses.

ABSTRACT

In a conversation or a dialogue process, attention and intention play intrinsic roles. This paper proposes a neural network based approach that models the attention and intention processes. It essentially consists of three recurrent networks. The encoder network is a word-level model representing source side sentences. The intention network is a recurrent network that models the dynamics of the intention process. The decoder network is a recurrent network produces responses to the input from the source side. It is a language model that is dependent on the intention and has an attention mechanism to attend to particular source side words, when predicting a symbol in the response. The model is trained end-to-end without labeling data. Experiments show that this model generates natural responses to user inputs.

Motivation & Objective

  • To develop a neural dialogue model that captures discourse-level intention and attention dynamics in conversation.
  • To enable end-to-end training without manual labeling, reducing reliance on costly human-annotated data.
  • To improve response coherence and naturalness by explicitly modeling intention as a dynamic state influencing attention.
  • To integrate theoretical discourse structures—intention and attention—into a deep learning framework for dialogue.

Proposed method

  • The model uses a bidirectional LSTM encoder to encode the input utterance into a context vector.
  • An intention RNN processes the dialogue history and generates a dynamic intention state representing the current discourse goal.
  • The decoder LSTM generates responses autoregressively, with attention over the source input conditioned on the intention state.
  • Attention weights are computed using a dot-product mechanism between the decoder hidden state and the encoder states, modulated by the intention vector.
  • The entire model is trained end-to-end using stochastic gradient descent with cross-entropy loss on response generation.
  • Hyperparameters include 50 or 200 hidden units, 25 alignment dimensions, and one-layer LSTMs, with learning rate decay based on development set perplexity.

Experimental results

Research questions

  • RQ1Can modeling intention and attention as separate but interacting components improve dialogue response quality?
  • RQ2Can a neural dialogue model generate coherent, natural responses without manual labeling or external knowledge?
  • RQ3How does conditioning attention on an intention state affect response relevance and fluency?
  • RQ4Does incorporating discourse-level structure (intention) lead to better performance than fixed-context models?

Key findings

  • The AWI model with 200 hidden units achieved a perplexity of 22.1 on the test set, significantly lower than the 50-unit model (30.8), indicating better language modeling performance.
  • The model generated fluent and contextually relevant responses, as demonstrated in qualitative examples where intention flow (e.g., problem description, resolution, acknowledgment) was clearly reflected.
  • The attention mechanism, conditioned on the intention RNN output, allowed the decoder to selectively attend to relevant source words, such as 'virus' during troubleshooting.
  • The model outperformed baseline sequence-to-sequence models without intention or attention mechanisms, as shown by qualitative coherence and perplexity improvements.
  • End-to-end training without manual labeling was successfully achieved, supporting the feasibility of self-supervised dialogue learning.

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.