Papers
Topics
Authors
Recent
Search
2000 character limit reached

Intention in Neural Dialogue Models

Updated 8 July 2026
  • Intention is a latent turn-level state defining the discourse purpose in multi-turn dialogue, distinct from word-level attention.
  • The architecture integrates a word-level encoder, a turn-level intention network, and an attention-based decoder to enhance dialogue coherence.
  • End-to-end training without explicit intention labels allows the model to learn natural response patterns and dialogue phase transitions.

Searching arXiv for the target paper and closely related dialogue-model references. “Attention with Intention for a Neural Network Conversation Model” introduces a neural conversation architecture in which intention and attention are treated as distinct but interacting processes in multi-turn dialogue (Yao et al., 2015). The model consists of three recurrent networks: a word-level encoder for the current user utterance, a turn-level intention network that persists across dialogue turns, and a word-level decoder with attention that generates the system response. In this formulation, intention is a latent continuous vector representing the discourse-relevant purpose of the current turn, while attention is a content-based alignment over source-side words during decoding. The paper’s central claim is that separating these two levels allows the model to capture dialogue coherence over turns while still attending flexibly to local lexical content, and that the resulting system can be trained end-to-end without intention labels and can generate natural responses (Yao et al., 2015).

1. Conceptualization of intention in dialogue

The paper adopts the discourse theory of Grosz (1986), distinguishing intentional structure from attentional state. In the simplified formulation used here, intention is the high-level, turn-level structure that explains coherence across multiple utterances, such as “communicate the problem,” “resolve the issue,” or “acknowledge/close,” whereas attention is the low-level, word- or token-level focus inside an utterance (Yao et al., 2015). This division is the defining conceptual move of the model.

Within the neural architecture, intention is modeled as a turn-level recurrent state that persists and evolves across dialogue turns, and attention is modeled as the familiar content-based alignment inside the decoder, focusing on particular encoder states when predicting each response token (Yao et al., 2015). The interaction is asymmetric but tight: the decoder RNN is initialized from the current intention state, so every decoding step is conditioned on intention; attention then operates using decoder states that already embed intention, meaning that intention influences which source words become salient and how they are interpreted in context (Yao et al., 2015).

Compared to classical dialogue systems, the paper positions this intention mechanism as a latent continuous alternative to explicit symbolic representations such as dialogue acts, plans, goals, subgoals, hand-crafted rules, or POMDP state representations (Yao et al., 2015). This implies a shift from manually specified discourse structure toward learned continuous state.

2. Three-network architecture

The overall architecture contains three recurrent components, unrolled over dialogue turns (Yao et al., 2015). The first is an encoder network, a word-level RNN that encodes the current source utterance xu(s)x_u^{(s)} into both a sequence of hidden states and a final summary vector. The second is an intention network, a turn-level recurrent model that maintains the dialogue intention state. The third is a decoder network, a word-level recurrent LLM with attention that generates the response yu(t)y_u^{(t)} conditioned on both the current intention state and the encoder states (Yao et al., 2015).

For a source utterance x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T), the encoder recurrence is given by

ht(enc)=f(xt,ht1(enc)),h_t^{(enc)} = f\bigl(x_t, h_{t-1}^{(enc)}\bigr),

with ff implemented as a depth-gated LSTM (Yao et al., 2015). The encoder state is coupled across turns: at the first word of the current turn, h0(enc)h_0^{(enc)} is set to the last hidden state of the decoder from the previous turn (Yao et al., 2015). The encoder yields a fixed-length summary

c(fix)=hT(enc)c^{(fix)} = h_T^{(enc)}

for the intention network, together with the full set {ht(enc)}t=1T\{h_t^{(enc)}\}_{t=1}^T used for attention (Yao et al., 2015).

The intention network updates one hidden state per turn. At turn kk, the intention state depends on the current encoder summary, the last decoder hidden state from the previous turn, and the previous intention state: hk(int)=f(int)(ck(fix),  hk1,last(dec),  hk1(int)).h_k^{(int)} = f^{(int)}\left(c_k^{(fix)},\; h_{k-1,\text{last}}^{(dec)},\; h_{k-1}^{(int)}\right). The paper also summarizes this schematically as yu(t)y_u^{(t)}0 (Yao et al., 2015). In effect, the intention vector aggregates what the user just said, how the system last responded, and the history of previous intentions.

The decoder is a conditional LLM: yu(t)y_u^{(t)}1 with hidden-state recurrence

yu(t)y_u^{(t)}2

The crucial design choice is that the decoder is initialized with the current intention state,

yu(t)y_u^{(t)}3

so intention enters as an initial condition rather than an explicit per-step input vector (Yao et al., 2015).

3. Attention mechanism and decoder conditioning

At each decoder step yu(t)y_u^{(t)}4, the model computes a context vector yu(t)y_u^{(t)}5 through attention over encoder states: yu(t)y_u^{(t)}6 The attention weights are

yu(t)y_u^{(t)}7

with alignment scores

yu(t)y_u^{(t)}8

where yu(t)y_u^{(t)}9, x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)0, and x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)1 (Yao et al., 2015).

Because the alignment model uses x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)2, and because the decoder state sequence is initialized from x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)3, the current intention state affects attention indirectly but pervasively (Yao et al., 2015). The model therefore does not merely combine a dialogue-state RNN and an attention mechanism in parallel; it uses intention-conditioned decoder dynamics to modulate token-level alignment.

The output distribution is described in standard sequence-to-sequence form as depending on the decoder hidden state and the attention context: x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)4 Here again, intention influences the output both through x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)5 and through the context vector x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)6, since the latter is computed from intention-conditioned decoder states (Yao et al., 2015).

This separation of turn-level intention and token-level attention is the paper’s key architectural distinction. By contrast, standard single-turn encoder-decoder dialogue models typically map a single input utterance to a single response and do not explicitly model multi-turn dynamics (Vinyals et al., 2015), while context-RNN models use an additional recurrent layer over sentences or turns but generally do not combine it with decoder-side attention over encoder states (Sordoni et al., 2015).

4. Turn-level dynamics and discourse coherence

The intention network is designed to capture how the system’s goals and conversational stance evolve over turns (Yao et al., 2015). The update sequence is structurally simple: the user utterance is encoded; the intention state is updated from the encoder summary, prior decoder state, and prior intention; the updated intention initializes the response decoder (Yao et al., 2015). Graphically, the paper describes a three-layer unrolling over turns: encoder on top, intention chain in the middle, decoder with upward attention links at the bottom (Yao et al., 2015).

The intention state therefore acts as a turn-level summary of three information sources: the current user input, previous system behavior, and intention history (Yao et al., 2015). The paper interprets this as enabling coherent shifts in dialogue phase, such as early turns devoted to problem description, middle turns devoted to diagnosis and resolution, and final turns devoted to closing or acknowledgments (Yao et al., 2015).

A plausible implication is that the architecture functions as a minimal hierarchical dialogue model: token-level sequence modeling is nested inside turn-level recurrent state propagation. Unlike hierarchical variants that treat utterance representations as fixed sentence vectors (Sordoni et al., 2015), this formulation preserves word-level attentional access within each turn while maintaining dialogue-level recurrence across turns.

5. Training and latent intention learning

The model is trained end-to-end as a conditional LLM over response tokens, with no explicit intention annotations (Yao et al., 2015). The objective is standard maximum likelihood, equivalently negative log-likelihood: x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)7 The paper states that minimizing this objective is equivalent to minimizing perplexity: x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)8 No additional supervision, classification loss, reconstruction term, or intention-specific regularizer is imposed on the intention state (Yao et al., 2015).

The learning signal for intention is purely indirect. Gradients from response prediction backpropagate through the decoder, into the initial decoder state x=(xt:t=1,,T)x = (x_t : t = 1,\dots,T)9, through the intention RNN across turns, and further into the encoder that produced ht(enc)=f(xt,ht1(enc)),h_t^{(enc)} = f\bigl(x_t, h_{t-1}^{(enc)}\bigr),0 (Yao et al., 2015). This forces the latent intention states to encode whatever turn-level information is useful for predicting future responses.

The paper argues that the architecture itself encourages meaningful intention representations because every decoder time step depends indirectly on intention, and intention is the only channel carrying turn-level context from prior turns into the current decoder, aside from the previous-turn decoder state used to initialize the next encoder (Yao et al., 2015). All three recurrent networks use depth-gated LSTMs, which the authors motivate as support for long-range dependencies across both tokens and turns (Yao et al., 2015).

6. Experimental evidence

The experiments use in-house helpdesk chat logs for computer-related issues (Yao et al., 2015). The reported data split is 10,000 training dialogues comprising 96,913 turns, 1,000 development dialogues comprising 9,971 turns, and 500 test dialogues comprising 5,232 turns (Yao et al., 2015). The training set contains 2,215,047 source tokens and 2,378,950 target tokens, with a shared source/target vocabulary of 9,085 types (Yao et al., 2015).

Training uses sentence-level SGD with initial learning rate 0.1, halving the learning rate when development-set perplexity increases (Yao et al., 2015). Dialogues are shuffled per epoch, but turn order is preserved within each dialogue so that the intention RNN retains conversational context (Yao et al., 2015).

The paper reports perplexity for two hidden sizes of the Attention with Intention model:

Hidden dim PPL
50 30.8
200 22.1

These are internal model comparisons rather than ablations against no-intention or no-attention baselines (Yao et al., 2015). The paper explicitly does not isolate the quantitative contribution of intention alone.

The qualitative examples are more central to the paper’s argument. The generated conversations show sustained troubleshooting context and a progression of responses such as problem acknowledgment, information gathering, diagnosis/recommendation, and closing/survey language (Yao et al., 2015). The authors state that the “flow of intentions is clearly seen” in these examples, which suggests that the turn-level intention RNN is capturing something like dialogue phase or goal state rather than merely local lexical continuation (Yao et al., 2015).

7. Position within dialogue modeling and limitations

The paper situates itself against two nearby neural dialogue paradigms. Relative to standard single-turn encoder-decoder systems, it adds explicit multi-turn dynamics and a separate dialogue-state recurrence (Vinyals et al., 2015). Relative to context-RNN models, it emphasizes the explicit separation between intention and attention, and the fact that intention-conditioned decoder states determine attention scores (Sordoni et al., 2015). This yields two claimed advantages: better structural modeling of conversation through a distinct intention process, and end-to-end learning of discourse-theoretic notions without hand-labeled intentions (Yao et al., 2015).

At the same time, the limitations are clear in the paper’s own framing. There is no direct empirical ablation of intention versus no-intention, so the contribution of the intention state is not isolated quantitatively (Yao et al., 2015). The intention vector is latent and not interpretable in a human-labeled sense (Yao et al., 2015). The formulation is also deliberately simple: one intention state per turn, with no hierarchical sub-intentions, no explicit goal supervision, and no task-success signals (Yao et al., 2015).

The paper’s broader significance lies in making intention a first-class recurrent variable in neural dialogue generation rather than collapsing all contextual structure into either a fixed utterance embedding or a decoder hidden state. This suggests a line of development in which long-range conversational context is carried by a turn-level goal-oriented state, while word-level attention remains the mechanism for local linguistic grounding (Yao et al., 2015).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to INTENTION.