---
title: "Recent advances in deep learning based dialogue systems: a"
description: "This survey explains how deep learning systems carry on conversations, complete user tasks, and are evaluated against human expectations."
canonical: "https://research.elamur.ai/free/en/papers/ni-2022-recent-advances-deep-learning-based/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ni-2022-recent-advances-deep-learning-based/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Recent advances in deep learning based dialogue systems: a systematic survey

# Recent advances in deep learning based dialogue systems: a systematic survey

Paper · 2022 · Jinjie Ni, Tom Young, Vlad Pandelea et al.

**Authors:** [Jinjie Ni](https://md.research.elamur.ai/free/en/authors/jinjie-ni/), Tom Young, Vlad Pandelea, [Fuzhao Xue](https://md.research.elamur.ai/free/en/authors/fuzhao-xue/) and [Erik Cambria](https://md.research.elamur.ai/free/en/authors/erik-cambria/) · **Year:** 2022 · **Venue:** Artificial Intelligence Review · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **72** papers in our library of the 163,136 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/ni-2022-recent-advances-deep-learning-based/cited-by/) · Artificial Intelligence Review · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2105.04387)
- [DOI 10.1007/s10462-022-10248-8](https://doi.org/10.1007/s10462-022-10248-8)
- [arXiv 2105.04387](https://arxiv.org/abs/2105.04387)

## Summary

Booking a table and talking about a photograph both take conversation, but they ask different things of a computer. A booking assistant has to remember the user's requirements, check what is available, and convey the outcome accurately. An agent discussing a picture has more room to choose what to say, but its reply still has to fit what the speakers can see and what they have already said. This survey of deep learning for [dialogue systems](https://md.research.elamur.ai/free/en/topics/dialogue-systems/) explains how researchers address those different demands and why the same test cannot answer every question about conversational quality.

The authors organize the research by the purpose of the system and by the techniques it uses. For assistants that carry out tasks, they trace the progression from separate components for interpreting requests, tracking the user's goal, choosing an action, and wording the reply to designs that learn several of these functions together. For open-domain conversation, they examine systems that write new replies, systems that select existing ones, and systems that combine the two. Across both branches, they explain how recurrent networks represent sequences, how the [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) let systems use selected parts of an input, and how memory, copying, and external knowledge make particular details available when a reply is produced.

The paper finds a broad shift toward neural approaches in the literature it reviews. The work also shows why improvement is difficult to summarize with a single score. For a task assistant, researchers can frequently check whether the requirements were met and how many turns it took. In open conversation, several very different replies can be appropriate, so matching a recorded answer word for word is a weak guide to quality. The survey examines human judgments, learned scoring methods, user simulators, and the kinds of data needed to support those evaluations. It highlights persistent problems with carrying information across turns, adapting to new domains, finding relevant knowledge, and producing varied replies that stay consistent. The authors see opportunities in combining task assistance with open conversation, incorporating visual and audio information, learning from online dialogue, representing how users behave, and guiding exchanges towards longer-term goals.

## Deep dive: Recent advances in deep learning based dialogue systems: a systematic survey

This survey explains how deep learning systems carry on conversations, complete user tasks, and are evaluated against human expectations. · about 50 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A reply can be right in several different senses

The survey treats dialogue as a collection of related problems in [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/). Some decisions concern a single message. A system may have to recognize that an utterance is a request or identify the words that specify a venue. Other decisions concern an exchange. The meaning of a short answer may depend on a question the agent asked earlier, and a later request may replace a requirement the user initially gave. A fluent sentence can still fail if it carries forward the wrong information. Studying a conversation therefore involves examining what the system retains, what it uses to decide, and how it expresses that decision.

The authors distinguish task-oriented dialogue from open-domain dialogue by the purpose of the interaction. A task-oriented system serves a defined goal within an application, such as finding a film or reserving a table. A request of this sort can be broken down into constraints and questions. The opening time might be something the user wants to know, while the date might be something the user specifies to narrow the search. The agent may have to ask for a missing value, look up a suitable option, or offer another one. Those are different actions even when the sentences expressing them use similar language.

An open-domain agent is meant to sustain conversation without a fixed set of tasks or a prescribed subject. A sensible response might acknowledge a feeling, introduce a relevant fact, or ask a follow-up question. The space of suitable replies leaves room for choice. It also complicates learning from examples because a recorded reply represents one way the exchange continued. If a system learns to favor replies that are plausible almost everywhere, it can get through individual turns while contributing little to the conversation. Open-domain research accordingly asks how to make replies specific, how to keep them consistent with earlier turns, and how to pursue a topic without losing what the user just said.

The distinction concerns the intended interaction. It leaves many techniques available to both branches. A booking assistant can retrieve a response when a stock answer fits. An agent discussing a subject freely can consult structured facts or pursue a particular conversational goal. Systems in either branch can use a dialogue history and external information. This overlap is part of the reason the authors use techniques and applications as separate ways of organizing the literature. An architecture described under text generation can also appear in a state tracker, and a mechanism introduced for selecting a fact can inform how an evaluator scores a reply.

#### From rules and templates to learned representations

The paper describes earlier rule-based agents as attractive because a developer could write the expected exchange directly and compose natural responses for the situations the rules anticipated. This approach suited constrained applications. Its practical reach depended on which conversation paths had been designed. An exchange that departed from those paths could demand additional rules even when the user's underlying goal was familiar.

Non-neural statistical approaches offered more flexibility. The survey describes systems that learned to fill templates by extracting information from what a user said. A system could infer values from variable phrasings and use them within a pre-defined structure. Its set of slots and templates still governed what it could represent and say. The paper identifies both the quality of template filling, which can be assessed with F1, and limited coverage as problems for these earlier approaches. In dialogue state tracking, the authors also point to ambiguity and noisy inputs as difficulties for statistical methods, and to limited generalization across domains for hand-written rules.

Earlier approaches to sequence processing had a related bottleneck. In the survey's account of hidden Markov approaches, the number of possible hidden states affects the size of the transition representation and makes inference harder as the state space grows. Neural recurrence offers a different way to represent sequential information. It passes a learned vector from one position to the next. This permits a system to work with sequences of varying lengths and gives training a way to discover which features from previous positions matter.

The authors connect the uptake of deep learning to the ability of stacked neural layers to learn representations from examples. A representation is an internal numerical description of an input. A useful one can bring out patterns that a hand-written feature list would have to anticipate. The resulting systems still need choices about what information to collect, how to supply it, and what behavior to reward. Those choices appear throughout the survey in studies that define auxiliary training tasks, add a source of evidence, or constrain how a system writes.

Early data-driven open-domain work took inspiration from [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). An encoder could read a source message and a decoder could write the reply as a sequence, using machinery similar to the encoder–decoder approach reviewed in [Sequence to Sequence Learning](https://md.research.elamur.ai/free/en/papers/sutskever-2014-sequence-sequence-learning-neural-networks/). The analogy helped establish a learnable way to produce conversational text. Conversation puts extra pressure on it. A reply may depend on several earlier turns, on the speaker's role, or on an outside fact. The survey uses those demands to explain why subsequent work gives the decoder access to more than a single encoding of the current message.

The authors also situate their review against earlier surveys. They argue that earlier accounts missed emerging topics and that terms used in the literature had shifted. Their own scope includes domain adaptation and the cost of updating state in task assistants, as well as interaction, control, and visual grounding in open conversation. The decision to cover both the machinery and the applications gives the reader a way to follow a technical idea across tasks without assuming it serves the same purpose wherever it appears.

### The method, step by step

#### From a message to a conversational decision

The paper's method is a literature synthesis. It starts from a basic description of a conversation turn, examines the neural components used to implement it, and then follows those components into particular systems and evaluations. For a newcomer, the clearest entry point is a task assistant. A person supplies some information in a message. The assistant interprets it in light of the exchange, updates its record of the request, and decides what to do. If that decision depends on availability or another fact, it can consult a knowledge source before it phrases the reply. The following flow represents the modular architecture discussed in the survey.

How a task-oriented assistant handles a turn The steps in order.

The general notation is simpler than the modular example. The user message and agent reply are token sequences. A token is a unit the system reads or emits, and the tokens have positions within their sequence. The authors first express the transformation without an explicit external input.

```
R = φ(U)
```

Here U is the user message, R is the response, and φ is the mapping that produces the response. The argument in parentheses is the information passed to that mapping. The dialogue architectures described below can also condition their decisions on earlier turns.

```
R = φ(U, K)
```

Here R remains the response, φ denotes the mapping, U is the user message, and K is an external source of knowledge such as a task database or a source of commonsense facts. The comma indicates that the mapping receives both inputs. An inventory entry and a commonsense relation serve different purposes, but each can provide information whose usefulness depends on the current message.

#### What the task assistant has to learn

The [natural language understanding](https://md.research.elamur.ai/free/en/concepts/natural-language-understanding/) component interprets the incoming utterance. Domain classification identifies the relevant area, such as cinema. Intent detection identifies the kind of request, such as finding a film. Slot filling identifies particulars, such as a venue or time. A slot is a named field for one kind of information. A span is a sequence of adjacent tokens, so a venue's multiword name can occupy one span even though it covers more than one token. In the tagging arrangement described by the paper, labels distinguish the beginning of a span, its continuation, and tokens outside any relevant span. This is the same type of labeling convention the paper associates with [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The survey describes approaches that learn those understanding tasks separately and approaches that share a representation across them. If a request is classified as belonging to the film domain, its words can supply related evidence about the intent and the roles of particular phrases. Joint training gives the tasks an opportunity to share that evidence. Span-ConveRT approaches the slot problem from the other direction. It takes the requested field and an utterance and predicts the relevant span. A study of short utterances used context from earlier turns to supplement the current utterance for intent classification. In another application, researchers supplied audio directly to the understanding component, removing the intermediate speech-to-text step from that pipeline.

Dialogue state tracking assembles the information needed for the current decision. The tracker can carry forward a venue mentioned earlier even if the current utterance supplies only a time. The survey's discussion of DSTC2 distinguishes informable slots, which constrain a database search, from requestable slots, whose values the user wants the agent to supply. An unspecified field and an explicitly flexible preference must also stay distinct. `None` represents a value the user has yet to specify, and `Dontcare` represents a field on which the user has expressed indifference. The state description also distinguishes moves such as specifying constraints, asking for an alternative, and ending the exchange.

A tracker with a fixed inventory can classify the value of each slot. One design compares all possible values for a slot. Another judges each candidate pair in a separate prediction, which can simplify the individual decision while adding work as the candidate list grows. Trackers that can extract or generate values use the wording of the exchange more directly. Sequicity uses a belief span, a textual representation of information needed for the task. TRADE conditions generation on a domain and slot, then uses a gate and a copying mechanism to produce a value. MinTL uses changes to the previous belief state, expressed as insertions, deletions, or substitutions. That formulation matters in an exchange where a user changes one detail and the remaining constraints should carry forward.

Once the state is available, a policy chooses an action. The action can be a request for clarification, an offer based on a database result, or another available move. The authors express this decision as a mapping.

```
f : Sₜ → aᵢ ∈ A
```

Here f is the policy mapping, Sₜ is the dialogue state at turn t, and aᵢ is action i in the available action set A. The arrow indicates the mapping from state to action, and ∈ says that the selected action belongs to A. The action is a decision about what to do. The language generation component turns that decision into words.

In a supervised setup, example decisions can teach the policy what action to take in a given state. A reinforcement learning setup can supply a reward from interaction, allowing the policy to learn from how the exchange progresses. The paper discusses starting with expert demonstrations to narrow the initial search for actions. It also describes work that budgets scarce interactions with people, supplements them with simulated experience, or lets agents take user and assistant roles while learning together. These choices determine what behavior the learning process gets to observe. A policy trained through a simulator encounters the decisions that simulator is capable of making.

Natural language generation has to preserve the selected action and its fields. A movie recommendation needs to carry through the intended title and venue even if there are several natural ways to phrase it. The survey describes older generators that determined content, planned the sentence, and then produced its surface wording. Neural systems can learn those operations together. Some explicitly control which semantic details remain to be expressed. Others constrain search, check for missing or repeated slot values, or first produce a template-based response and then rework its wording.

#### What changes when the assistant is trained as a whole

A modular design can expose intermediate decisions. If the wrong venue appears in the reply, an engineer can inspect the stored state and the selected action. Separately trained stages can also pass mistakes downstream, and labels for every intermediate decision can be expensive. A user response or an example of a finished dialogue does not automatically supply a labeled state and action at every turn. The survey discusses approaches that let a training signal from later in the system influence earlier computations.

A database lookup is a telling example. A symbolic system can build a query with precise requirements and use it to obtain matching entries. A discrete lookup interrupts the ordinary gradient computation used to train neural components together. Some surveyed systems score the relevance of entries and form a weighted result. Attention to key–value memories is one implementation. It permits small changes in the representation of the request to change the contributions of candidate entries. Such a system can be optimized through that retrieval step using a signal from the subsequent prediction.

Another family unifies tasks within one neural architecture. There can still be explicit intermediate outputs. The paper describes neural pipelines that emit domain, state, action, or retrieval information so these results can be inspected or used by an external component. Other approaches represent state partly as a latent variable, meaning an internal quantity learned without a direct label for every instance. A discrete latent state can reduce dependence on annotated states by contributing to predictions for which training examples are available. The degree of integration and the visibility of the state are separate design choices.

Data scarcity also changes how the unified system is trained. The authors discuss learning across tasks before adapting to a target domain, using paraphrases to add training examples, and using a confidence threshold to decide when a human response should enter the interaction. In examples using [model-agnostic meta-learning](https://md.research.elamur.ai/free/en/papers/finn-2017-model-agnostic-meta-learning-fast/), the aim is to learn parameters from which the system can adapt with limited target experience. Teacher–student work divides the learning problem differently. Separate teachers can specialize in knowledge retrieval and human-like wording, then provide signals that a single student learns to imitate.

#### Encoding sequences at more than one scale

The survey works up from the computations that represent text. A fully connected feed-forward layer forms weighted combinations of its inputs and applies an activation. Stacking such layers lets later computations work with features learned by earlier ones.

```
y = σ(Wx + b)
```

Here x is the input vector and y the output vector. W is the trainable weight matrix, so Wx means matrix multiplication with x. The vector b adds a trainable bias, and σ is the activation function. A nonlinear activation allows a stack of layers to express more than a single linear transformation.

A convolutional layer uses a small set of weights repeatedly across positions. The paper gives the operation for a matrix. In dialogue applications, a convolution can find local patterns in text representations. It can also process a matrix of similarities between parts of the history and parts of a proposed reply.

```
G(m, n) = (f ∗ h)(m, n) = ∑ⱼ ∑ₖ h(j, k) f(m − j, n − k)
```

Here G is the output matrix and m and n specify its row and column. The symbol ∗ denotes convolution of the input f with the kernel h. The indices j and k run through offsets in the kernel, and the two sums combine their contributions. Each product multiplies a kernel value h(j, k) by the corresponding displaced input value f(m − j, n − k). Pooling can then summarize the resulting features at a coarser scale.

Recurrence carries information sequentially. The authors describe two early forms by distinguishing what is fed back into the next step. The Jordan form feeds back the preceding output.

```
hₜ = σₕ(Wₕxₜ + Uₕyₜ₋₁ + bₕ)
```

Here t is the current step, hₜ the current hidden state, xₜ the current input, and yₜ₋₁ the preceding output. The matrices Wₕ and Uₕ weight the input and feedback respectively. The term bₕ is the hidden-layer bias and σₕ its activation. Subscripts marked h identify quantities used to compute the hidden state.

```
yₜ = σᵧ(Wᵧhₜ + bᵧ)
```

Here yₜ is the output at step t and hₜ is the state at that step. The matrix Wᵧ projects that state, bᵧ is the output bias, and σᵧ is the output activation. This output rule also applies to the Elman form in the survey.

```
hₜ = σₕ(Wₕxₜ + Uₕhₜ₋₁ + bₕ)
```

Here hₜ is again the hidden state at step t. The current input xₜ is weighted by Wₕ, and Uₕ weights hₜ₋₁, the preceding hidden state. The bias bₕ and activation σₕ complete the state update. The difference between the two forms is where the feedback comes from.

During training, errors may need to influence computations many steps back. The survey explains that gradients in simple recurrent networks can grow or diminish over those steps, making long-range relationships hard to learn. Gated recurrence gives the network a direct way to retain some earlier contents. Long short-term memory, or LSTM, computes new candidate content and separately controls how much of the candidate and the previous memory to keep. In the equations below, superscripts identifying matrices label their roles, while superscripts in parentheses identify steps.

```
ĥ⁽ᵗ⁾ = tanh(W^{ĥx} x⁽ᵗ⁾ + W^{ĥh} h⁽ᵗ⁻¹⁾ + b_ĥ)
```

Here ĥ⁽ᵗ⁾ is the proposed memory content at step t, x⁽ᵗ⁾ the current input, and h⁽ᵗ⁻¹⁾ the preceding hidden output. The matrices W^{ĥx} and W^{ĥh} transform those inputs for the candidate calculation, b_ĥ is its bias, and tanh is the hyperbolic tangent activation.

```
i⁽ᵗ⁾ = σ(W^{ix} x⁽ᵗ⁾ + W^{ih} h⁽ᵗ⁻¹⁾ + bᵢ)
```

Here i⁽ᵗ⁾ is the input gate at step t. It uses the current input x⁽ᵗ⁾ and previous hidden output h⁽ᵗ⁻¹⁾, through the input-gate matrices W^{ix} and W^{ih} and bias bᵢ. The function σ is the gate activation. The resulting gate controls which parts of the candidate content are written.

```
f⁽ᵗ⁾ = σ(W^{fx} x⁽ᵗ⁾ + W^{fh} h⁽ᵗ⁻¹⁾ + b_f)
```

Here f⁽ᵗ⁾ is the forget gate at step t. The matrices W^{fx} and W^{fh} transform x⁽ᵗ⁾, the current input, and h⁽ᵗ⁻¹⁾, the previous hidden output. The term b_f is this gate's bias and σ its activation. The resulting values govern retention of the preceding memory.

```
o⁽ᵗ⁾ = σ(W^{ox} x⁽ᵗ⁾ + W^{oh} h⁽ᵗ⁻¹⁾ + bₒ)
```

Here o⁽ᵗ⁾ is the output gate at step t. Its input and feedback matrices are W^{ox} and W^{oh}, applied to x⁽ᵗ⁾ and h⁽ᵗ⁻¹⁾. Those vectors represent the current input and the preceding hidden output. The output-gate bias is bₒ and its activation is σ.

```
s⁽ᵗ⁾ = ĥ⁽ᵗ⁾ ⊙ i⁽ᵗ⁾ + s⁽ᵗ⁻¹⁾ ⊙ f⁽ᵗ⁾
```

Here s⁽ᵗ⁾ is the new memory and s⁽ᵗ⁻¹⁾ is the preceding memory. At step t the candidate ĥ⁽ᵗ⁾ is filtered by the input gate i⁽ᵗ⁾, and the previous memory is filtered by the forget gate f⁽ᵗ⁾. The operator ⊙ multiplies matching vector elements. The sum combines retained content with newly written content.

```
h⁽ᵗ⁾ = tanh(s⁽ᵗ⁾) ⊙ o⁽ᵗ⁾
```

Here h⁽ᵗ⁾ is the hidden output at step t, s⁽ᵗ⁾ is the updated memory, and o⁽ᵗ⁾ is the output gate. The tanh activation transforms the memory before element-by-element multiplication, indicated by ⊙, determines what is exposed to the next computation.

The gated recurrent unit, or GRU, uses a reset gate to control the past information entering its candidate and an update gate to mix that candidate with the previous state. The survey traces it to [Learning Phrase Representations Using an RNN Encoder–Decoder](https://md.research.elamur.ai/free/en/papers/cho-2014-learning-phrase-representations-rnn-encoder/).

```
z⁽ᵗ⁾ = σ(Wᶻx⁽ᵗ⁾ + Uᶻh⁽ᵗ⁻¹⁾ + b_z)
```

Here z⁽ᵗ⁾ is the update gate for step t, x⁽ᵗ⁾ the current input, and h⁽ᵗ⁻¹⁾ the preceding state. Wᶻ and Uᶻ are the respective input and recurrent weights, b_z is the gate bias, and σ is the gate activation.

```
r⁽ᵗ⁾ = σ(Wʳx⁽ᵗ⁾ + Uʳh⁽ᵗ⁻¹⁾ + bᵣ)
```

Here r⁽ᵗ⁾ is the reset gate for step t. Wʳ and Uʳ weight the current input x⁽ᵗ⁾ and previous state h⁽ᵗ⁻¹⁾. The reset-gate bias is bᵣ and σ is the activation.

```
ĥ⁽ᵗ⁾ = tanh(Wʰx⁽ᵗ⁾ + Uʰ(r⁽ᵗ⁾ ⊙ h⁽ᵗ⁻¹⁾) + bₕ)
```

Here ĥ⁽ᵗ⁾ is the candidate state at step t. Wʰ acts on the current input x⁽ᵗ⁾, while Uʰ acts on the preceding state h⁽ᵗ⁻¹⁾ after it has been filtered by the reset gate r⁽ᵗ⁾. The symbol ⊙ denotes element-wise multiplication, bₕ is the candidate bias, and tanh produces the candidate activation.

```
h⁽ᵗ⁾ = (1 − z⁽ᵗ⁾) ⊙ h⁽ᵗ⁻¹⁾ + z⁽ᵗ⁾ ⊙ ĥ⁽ᵗ⁾
```

Here h⁽ᵗ⁾ is the new state at step t, h⁽ᵗ⁻¹⁾ the previous state, and ĥ⁽ᵗ⁾ the candidate. The update gate z⁽ᵗ⁾ weights the candidate, and subtraction from 1 gives its complementary weights for the previous state. Each ⊙ applies weights element by element before the two contributions are added.

A bidirectional recurrent encoder reads an available input in both directions. That arrangement can enrich the representation of a word in a complete utterance, since words that come after it can contribute evidence. The paper gives a forward state, a backward state, and a prediction using both.

```
h⁽ᵗ⁾ = σ(W^{hx} x⁽ᵗ⁾ + W^{hh} h⁽ᵗ⁻¹⁾ + bₕ)
```

Here h⁽ᵗ⁾ is the forward state at position t, x⁽ᵗ⁾ the input there, and h⁽ᵗ⁻¹⁾ the state from the preceding position. W^{hx} and W^{hh} are the input and forward recurrent weight matrices, bₕ the forward bias, and σ the activation.

```
z⁽ᵗ⁾ = σ(W^{zx} x⁽ᵗ⁾ + W^{zz} z⁽ᵗ⁺¹⁾ + b_z)
```

Here z⁽ᵗ⁾ is the backward state at position t, x⁽ᵗ⁾ the input at that position, and z⁽ᵗ⁺¹⁾ the state from the next position in the original input order. W^{zx} and W^{zz} are the input and backward recurrent matrices, b_z is the bias, and σ is the activation.

```
ŷ⁽ᵗ⁾ = softmax(W^{yh} h⁽ᵗ⁾ + W^{yz} z⁽ᵗ⁾ + bᵧ)
```

Here ŷ⁽ᵗ⁾ is the prediction distribution at position t. W^{yh} maps the forward state h⁽ᵗ⁾ to output scores and W^{yz} maps the backward state z⁽ᵗ⁾ into the same score space. The term bᵧ is a bias and softmax turns the scores into non-negative weights that sum to one.

Sequence-to-sequence learning assigns different jobs to encoding and decoding. The encoder takes the message in, and the decoder produces a reply that can have a different length. The survey gives schematic updates for the two jobs.

```
hₜ = E(hₜ₋₁, xₜ)
```

Here E is the encoder's sequential cell, xₜ is the input at step t, hₜ₋₁ is the previous hidden vector, and hₜ is the updated vector. The final encoder state provides an intermediate representation that can initialize the decoder.

```
yₜ = D(hₜ, yₜ₋₁)
```

Here D is the decoder's sequential cell, yₜ is its output at step t, hₜ is the state it uses at that step, and yₜ₋₁ is the preceding output. These equations show the information flow. They allow the source and reply to have separate sequence lengths.

A conversation carries order at the level of turns as well as tokens. A hierarchical recurrent encoder–decoder, or HRED, encodes the words of each utterance, uses a separate recurrent network to update a summary across utterances, then initializes its reply decoder from the conversation summary. A variant, VHRED, samples a latent variable before generating a reply. Training uses a variational lower bound on the log-likelihood, an objective that allows the system to learn while accounting for an unobserved variable. In the survey, the variable gives the generator a way to represent different possible continuations of the same conversational history.

#### Selecting parts of an input, a memory, or a vocabulary

A decoder conditioned on one source summary has to draw whatever detail it needs from that representation. In the survey's description of the basic prediction, the preceding output and a hidden state determine the current output probabilities.

```
P(yᵢ | y₁, …, yᵢ₋₁, x) = g(yᵢ₋₁, hᵢ)
```

Here P is a conditional probability, with the vertical bar separating the output yᵢ from its conditioning information. The index i is the current output step, y₁ through yᵢ₋₁ are preceding output tokens, and x is the source sequence. The function g produces output probabilities using the previous output yᵢ₋₁ and the current hidden vector hᵢ. The ellipsis stands for intervening positions.

Attention makes an additional set of source representations available at each output position. In the translation work reviewed by the survey, the additional representation is computed afresh while writing the output. It is a weighted combination of source states. The weights can shift, for instance from evidence about a place to evidence about a date, as the decoder moves through an answer. [Bahdanau and colleagues' alignment method](https://md.research.elamur.ai/free/en/papers/bahdanau-2014-neural-machine-translation-jointly-learning/) supplies the equations used in the survey.

```
eᵢⱼ = a(sᵢ₋₁, hⱼ)
```

Here eᵢⱼ scores the relevance of source position j to output step i. The learned scoring function a compares sᵢ₋₁, the previous decoder state, with hⱼ, the encoder state at source position j.

```
αᵢⱼ = exp(eᵢⱼ) / ∑ₖ₌₁^Tₓ exp(eᵢₖ)
```

Here αᵢⱼ is the normalized weight for source position j at decoder step i, and exp is the exponential function. The denominator sums exponentiated scores eᵢₖ over source positions k from 1 through Tₓ, the source length. Dividing by this total makes the source weights sum to one for each output step.

```
cᵢ = ∑ⱼ₌₁^Tₓ αᵢⱼ hⱼ
```

Here cᵢ is the context vector for decoder step i, hⱼ is the encoder state at source position j, and αᵢⱼ is its weight. The sum ranges over the Tₓ source positions, starting at 1. The pointer-network discussion uses dᵢ for the same weighted source summary.

```
sᵢ = f(sᵢ₋₁, yᵢ₋₁, cᵢ)
```

Here sᵢ is the current decoder state and f is the decoder's state transition. Its arguments are the preceding state sᵢ₋₁, the preceding output yᵢ₋₁, and the source context cᵢ for output step i.

```
P(yᵢ | y₁, …, yᵢ₋₁, x) = g(yᵢ₋₁, sᵢ, cᵢ)
```

Here the conditional probability P assigns a value to output token yᵢ at step i, given the preceding outputs y₁ through yᵢ₋₁ and the source x. The function g uses the preceding token yᵢ₋₁, current state sᵢ, and attention-derived context cᵢ. The bar indicates conditioning, and the ellipsis denotes the remaining earlier tokens.

Memory networks do something related with individually represented facts. The end-to-end memory network in the survey embeds a memory entry xᵢ into a representation mᵢ using an encoder A. It embeds the query as u using an encoder B. There is a separate encoding cᵢ of the same entry for use when reading memory. The query is compared with the entries before their read representations are combined.

```
pᵢ = softmax(uᵀmᵢ)
```

Here pᵢ is the weight for the memory entry indexed by i, u is the query vector, and mᵢ is that entry's representation for matching. The transpose symbol ᵀ makes uᵀmᵢ an inner product. Softmax acts over the collection of memory scores, with pᵢ denoting the component for entry i.

```
o = ∑ᵢ pᵢcᵢ
```

Here o is the memory readout, pᵢ is the entry's weight, and cᵢ is its read representation supplied by encoder C. The sum covers the memory entries indexed by i. The result can combine information from several entries and can change smoothly as their weights change.

```
α̂ = softmax(W(o + u))
```

Here α̂ is the final prediction distribution, W is the output weight matrix, o is the memory readout, and u is the embedded query. The sum combines memory with the query before matrix multiplication forms scores and softmax converts them to probabilities. In dialogue, the memories can contain earlier messages, database entries, or both. Some systems reviewed in the paper keep separate memories for conversation history and database facts so that each can be retrieved and combined with its own weighting.

The Transformer described in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/) uses attention within sequences as well as between the encoder and decoder. Each input position has a query, a key, and a value. The query represents what the position seeks, the key participates in scoring, and the value carries the information that a position can contribute. Arranging them in matrices lets many positions be processed together. The decoder masks future output positions so that a prediction is made using information available up to that point.

```
Attention(Q, K, V) = softmax(QKᵀ / √dₖ) V
```

Here Q, K, and V are the query, key, and value matrices, with Kᵀ denoting the transposed key matrix. The product QKᵀ compares queries with keys. The square root of dₖ, the query and key dimension, scales those scores. Softmax normalizes the scores across the keys for each query, and multiplication by V combines the values using those weights. K in this equation refers to keys, while K in the general dialogue mapping denotes an external knowledge source.

```
headᵢ = Attention(Q Wᵢ^Q, K Wᵢ^K, V Wᵢ^V)
```

Here headᵢ is the result for attention head i. Q, K, and V are the three input matrices, and Wᵢ^Q, Wᵢ^K, and Wᵢ^V are the head's learned projections for queries, keys, and values respectively. The Attention operation is the scaled weighting calculation given above.

```
MultiHead(Q, K, V) = Concat(head₁, …, headₕ) Wᴼ
```

Here MultiHead is the combined attention operation on Q, K, and V. The function Concat joins the results from head₁ through headₕ, where h is the number of heads and the ellipsis denotes the intervening heads. Wᴼ projects the concatenated result into an output representation. Separate heads can build their weighted combinations in different projected spaces.

The architecture supplies positions explicitly. The survey describes sine and cosine values added to input representations. The paired coordinates vary with position at frequencies that depend on the dimension index.

```
PE(pos, 2i) = sin(pos / 10000^(2i / d_model))
```

Here PE is the positional encoding, pos is a token's position, and i specifies a frequency pair whose even coordinate is 2i. The symbol d_model is the representation dimension, 10,000 is the base in the frequency schedule, and ^ indicates exponentiation. The sine function sin gives the value for the even coordinate.

```
PE(pos, 2i + 1) = cos(pos / 10000^(2i / d_model))
```

Here PE again supplies the encoding for position pos, and cos is the cosine function. The coordinate 2i + 1 is the odd member of the pair indexed by i. The exponent 2i / d_model uses the same representation dimension d_model and the same base of 10,000, so the paired coordinates use the same frequency.

The review connects the Transformer to systems that learn general representations before adapting to dialogue. That process is pretraining followed by [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) on a target task. The authors discuss [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) for understanding, relevance scoring, and response selection. They also give examples in which GPT-2 generates replies using selected documents or conversation context. In a document-grounded system, the roles can be complementary. One component identifies evidence relevant to the exchange, and another writes a reply conditioned on it.

Copying uses some of the same scoring machinery to solve a different problem. A reply or a dialogue state may need an exact name. The name may already be present in the user's message or a retrieved record. The sequence probability underneath the comparison is written as a product of predictions at successive positions.

```
P(Cᴾ | P; θ) = ∏ᵢ₌₁^m(P) p(Cᵢ | C₁, …, Cᵢ₋₁, P; θ)
```

Here P on the left of the parentheses denotes probability and P as an argument denotes the source sequence. Cᴾ is that source's target sequence and Cᵢ is its item at target step i. The function m(P) gives the target length for the pair, and ∏ multiplies the token probabilities p from step 1 through that length. Each token probability depends on the prior target items C₁ through Cᵢ₋₁, the source P, and the decoder parameters θ. The bar means conditioning, the ellipsis stands for the intervening items, and the semicolon inside the formula separates the parameters from the sequence inputs.

```
P(Cᵢ | C₁, …, Cᵢ₋₁, P) = αᵢ
```

Here the left side is interpreted as a distribution over possible source positions for the output item Cᵢ at decoding step i. The conditions are earlier outputs C₁ through Cᵢ₋₁ and source sequence P. The vector αᵢ contains the attention weights indexed by the source positions. The pointer approach uses those weights as the output distribution. Its available choices grow or shrink with the input sequence and include repeated occurrences as distinct positions.

CopyNet extends that idea to ordinary vocabulary generation. A decoder can use vocabulary probabilities to produce words needed to phrase the answer and copy probabilities to preserve source details.

```
P(yₜ | sₜ, yₜ₋₁, cₜ, M) = P_g(yₜ | sₜ, yₜ₋₁, cₜ, M) + P_c(yₜ | sₜ, yₜ₋₁, cₜ, M)
```

Here P is the total probability for output token yₜ at step t. P_g is the contribution from generation and P_c is the contribution from copying. All are conditioned on the decoder state sₜ, the previous token yₜ₋₁, a weighted encoding cₜ of the source, and the collection M of encoder states. The plus sign combines the contributions. The survey also describes how the decoder retains information about where a copied item occurred, which gives it access to context around that position.

#### Learning through interaction and feedback

The survey uses a Markov decision process to describe dialogue policies trained with reinforcement learning. On a turn, the agent observes a state and takes an action. The user or simulator responds, the state changes, and the agent receives a reward. A policy is the rule for selecting actions, and its quality depends on their consequences over the exchange.

```
M = ⟨S, A, P, R, γ⟩
```

Here M represents the decision process and the angle brackets enclose its elements. S is the state space, A the available actions, P the transition probabilities, and R the expected rewards associated with actions in states. The factor γ discounts future rewards. These are the symbols of the reinforcement-learning framework, independent of their uses in earlier equations.

Deep Q-learning estimates a value for state–action pairs. The policy implied by those values chooses an action with the highest estimated return.

```
π*(s) = arg maxₐ Q*(s, a)
```

Here s is a state, a is a possible action, Q* is the optimal state–action value function, and π* is the corresponding policy. The asterisk marks the optimal quantities. The operator arg max selects an action attaining the maximum value.

```
θ ← θ + α [rₜ + γ maxₐₜ₊₁ Q(sₜ₊₁, aₜ₊₁; θ) − Q(sₜ, aₜ; θ)] ∇θ Q(sₜ, aₜ; θ)
```

Here θ contains the trainable weights, ← replaces them with the value on the right, and α sets the step size. At step t the state is sₜ, the chosen action is aₜ, and the observed reward is rₜ. The successor state and a candidate next action are sₜ₊₁ and aₜ₊₁. The operator max takes the largest estimated Q-value across those next actions and γ discounts it. Subtracting the current estimate Q gives the temporal difference, and ∇θ denotes differentiation with respect to θ. The semicolon marks which weights are used to evaluate Q.

The authors describe replaying stored experiences so they can contribute to training more than once and so updates draw on a broader set of encounters. A target network can also hold the next-state estimate steady across a span of training steps.

```
θ ← θ + α [rₜ + γ maxₐₜ₊₁ Q(sₜ₊₁, aₜ₊₁; θ_target) − Q(sₜ, aₜ; θ)] ∇θ Q(sₜ, aₜ; θ)
```

Here θ is the weight vector being updated, θ_target is the periodically refreshed set of target weights, and α is the step size. The observed reward at step t is rₜ, and γ weighs the next-state term. The maximization again ranges over the next actions aₜ₊₁ in successor state sₜ₊₁. The estimate for the actual state–action pair sₜ, aₜ and its gradient ∇θ use θ. The arrow denotes assignment, and Q estimates future return with the weights given after the semicolon.

REINFORCE learns the policy directly from observed trajectories. The policy supplies an action distribution, and a trajectory contributes a discounted return.

```
J(θ) = E[∑ₜ₌₁^H γ^(t−1) rₜ | aₜ ∼ π(sₜ; θ)]
```

Here J is the objective for policy weights θ and E denotes expectation. The sum covers steps t from 1 through the horizon H, with reward rₜ discounted by the power t−1 of γ. At each state sₜ, the action aₜ is drawn from the distribution π determined by sₜ and θ. The tilde means sampling from that distribution, and the vertical bar specifies the sampling condition for the expectation.

```
θ ← θ + α ∇θ J(θ)
```

Here θ is the policy weight vector, α the step size, and ∇θ J(θ) the gradient of the objective with respect to those weights. The arrow applies the update. Addition moves the parameters in the direction associated with increasing the objective.

```
∇θ J(θ) = ∑ₜ₌₁^(H−1) γ^(t−1) [∇θ log π(aₜ | sₜ; θ) ∑ₕ₌ₜ^H γ^(h−t) rₕ]
```

Here ∇θ J(θ) is the policy gradient in the survey's trajectory expression. The outer sum uses action steps t from 1 through H−1, where H is the trajectory horizon. The term log π(aₜ | sₜ; θ) is the log probability the policy with weights θ assigns to action aₜ in state sₜ. The inner index h ranges from t through H, and rₕ is the reward at step h. The discount γ weights both the action step and its subsequent rewards through the indicated powers.

```
∇θ J(θ) = ∑ₜ₌₁^(H−1) γ^(t−1) [∇θ log π(aₜ | sₜ; θ) Q̂(sₜ, aₜ, h)]
```

Here the objective J and weight vector θ retain their policy meanings. The gradient ∇θ is applied to the log probability assigned by π to action aₜ in state sₜ, and the sum discounts action steps t from 1 through H−1 with γ. The term Q̂ is a learned estimate of return for the state and action, replacing the sampled future-reward sum. The survey retains h as an argument of this estimate without defining a separate computation for it. The purpose of estimating return is to reduce variability in the training signal.

Adversarial training can use one component to generate examples and another to judge their resemblance to data. The survey presents a general adversarial setup in which the discriminator learns from real and generated inputs. Dialogue work can use that judgment as feedback for generation or train a discriminator to score responses.

```
L₁(D, G) = −E_{ω ∼ P_data}[log D(ω)] − E_{z ∼ N(0, I)}[log(1 − D(G(z)))]
```

Here L₁ is the discriminator loss, D is the discriminator, and G is the generator. The real example ω comes from the data distribution P_data, and z is noise drawn from the Gaussian distribution N with zero mean and identity covariance I. Each E averages over the indicated draws. The function log is the logarithm. D(ω) scores a real example, D(G(z)) scores a generated example, and 1 minus that score is the complementary probability used for the generated example.

```
L₂(D, G) = −E_{z ∼ N(0, I)}[log D(G(z))]
```

Here L₂ is the generator loss, G maps noise z to a generated example, and D gives that example a score. The expectation E averages over z drawn from the Gaussian N(0, I), with mean 0 and identity covariance I. The negative logarithm makes a higher discriminator score on generated examples reduce the loss. In the general setup, the two components learn from their different objectives. The dialogue applications reviewed in the paper use additional conversational inputs and signals to turn that setup into a response-writing or scoring procedure.

#### Producing an open-domain reply

An open-domain system may retrieve a candidate reply, write one, or combine retrieval and generation. In one combination, a scorer can compare proposals from both sources. In another, retrieved examples condition a generator that writes the final reply. The mechanisms reviewed above apply at different places in this decision. A context encoder represents the exchange, a retrieval score estimates which candidates fit, and a generative decoder predicts the wording. A system can learn the scoring stage from online feedback while keeping the number of available actions manageable.

One problem with ordinary likelihood is that frequent replies can do well across too many contexts. The paper describes a mutual-information objective that favors a response that is informative about the specific exchange. It gives equivalent forms of the ranking objective, associated with the earlier [diversity-promoting dialogue objective](https://md.research.elamur.ai/free/en/papers/li-2016-diversity-promoting-objective-function-neural/).

```
R̂ = arg max_R log(P(C, R) / (P(C) P(R)))
```

Here R̂ is the selected reply, R is a candidate reply, and C is the context. P(C, R) is their joint probability, while P(C) and P(R) are their individual probabilities. The log is the logarithm of the ratio, and arg max_R selects the reply that maximizes it.

```
R̂ = arg max_R [log P(R | C) − log P(R)]
```

Here R̂ is again the selected reply and the maximization ranges over candidates R. The term log P(R | C) measures the candidate's log probability given context C, as indicated by the vertical bar, and log P(R) measures its log probability without that context. Subtraction reduces the advantage of a reply that is common across conversations. Search can also increase variety by exploring different partial sequences or reranking a list of completed candidates.

Other approaches change which replies the system sees during learning. Researchers filter or downweight weak utterance pairs, collect multiple human replies for the same prompt, or add a learning signal when a generated reply is bland or inconsistent. With multiple suitable examples, a system can learn what the replies share and what makes each one distinctive. Human feedback can enter later in the process as well. The survey describes learners that ask for a correction when an exchange appears to have gone wrong, and systems that let the user choose among candidate responses before continuing.

A further choice is what external information can guide the response. A document provides passages that might be retrieved or quoted. A [knowledge graph](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/) represents facts as connected entities and relations. One can match the current context to relevant entities and traverse connections to find information or a topic for the next turn. In graph-grounded systems reviewed by the authors, attention can give weight to several possible paths, and a generation gate can balance ordinary vocabulary with words linked to the chosen concepts. A dialogue topic can consequently serve both as a clue for retrieving evidence and as a target the exchange approaches over time.

The same principle of conditioning applies to speakers and situations. A persona description can help keep statements about the agent consistent. Another component can review an initial draft for words that conflict with that persona and guide rewriting. Empathetic response work in the survey includes explicit emotional vocabulary, learned classifiers that guide the generator, and retrieval conditioned on speaker information. Visual dialogue adds images or video to the evidence used alongside the history. Some approaches jointly encode words and visual features, while others encode the modalities separately and use attention to exchange information between them. Video brings events over time into the input, so the agent may have to match a question to both a visual event and a reference made in an earlier turn.

### Experiments and results

#### What the survey's numerical evidence compares

The authors review experimental results from independent studies. They report no survey-wide training run, test split, or common baseline. The clearest numerical comparisons in the discussion concern dialogue state tracking. Quan and Xiong distinguished system utterances from user utterances with speaker markers when encoding a long context. The survey reports a 7.03% improvement over the baseline for the tracking comparison. Cheng and colleagues represented dialogue states and system acts as trees. The survey reports a 20% improvement for their tracking approach over prior trackers with flat representations. In these passages the authors do not give the dataset, split, underlying metric, or absolute scores for either number. The chart displays the reported improvements as stated, with the star identifying the larger reported figure across the two comparisons.

Reported relative gains in dialogue state tracking, datasets unspecified The tree-structured tracker has the larger reported gain against its study’s own baseline.

**The numbers**

| System or setting | Reported improvement over baseline % |
| --- | --- |
| Speaker-marked context vs study baseline | 7.03 |
| Tree-structured states vs flat representations (this paper) | 20 |

The first result concerns how the input is presented. Marking who spoke gives the tracker information that simple concatenation can obscure. In a task dialogue, an agent's offer and a user's requirement can refer to the same type of attribute and have different significance. The second result concerns what the tracker represents and predicts. A tree can express relationships within the state and across system actions that a flat representation leaves implicit. Because the baselines and experimental setups have their own definitions, the reported improvement in one study cannot be used to predict how either design would perform if evaluated head to head.

The survey also reports that slot attention with value normalization maintained high tracking accuracy with 30% of the ontology available. Here the percentage describes the fraction of the ontology supplied, not the achieved accuracy. The ontology specifies the slots and available domain knowledge the tracker can draw on. The method retrieves a supporting span and normalizes it into a state value. This result addresses what can happen when the available inventory is restricted. The review gives no absolute accuracy or split for that setting.

#### Data for task assistants and for conversation

The Dialogue State Tracking Challenges provide datasets and common evaluation procedures for individual tracking tasks. The paper explains the structure of a restaurant-booking example from DSTC2. At each turn, the evaluation can look at the original messages, alternative interpretations from the understanding component, the labeled state, and the tracker's prediction. This arrangement can expose a system that correctly interprets a new detail but loses a constraint from a preceding turn. It can also show that a tracker recovered the correct state in spite of ambiguity in the candidate interpretations. When recorded dialogues come with state labels, tracking itself is a measurable intermediate outcome.

The survey mentions ATIS and SNIPS-NLU in its account of joint slot and intent learning. It reports that the capsule-based joint approach improved intent and slot performance on those datasets. In other slot-tagging experiments reviewed by the authors, recurrent methods outperformed a conditional random field baseline. A conditional random field here is a statistical sequence tagger used as a comparison for predicting labels over an utterance. The paper describes promising tagging accuracy for an LSTM on ATIS and improved intent detection with TOD-BERT against strong baselines. These observations come from understanding experiments, so their outputs are tags or intent labels. A finished booking or a satisfied user would require other components to succeed as well.

Response selection provides a different benchmark. The survey describes a task-oriented retrieval study that pretrained on broad conversational data and adapted to smaller target datasets. This includes the setting where a useful answer can be chosen from a candidate set without filling in unusual database facts. In studies of multi-turn response selection, the Ubuntu IRC dataset provides a setting for testing whether the system can match a candidate reply to the preceding exchange. The paper reports improvement with linguistic context features but gives no absolute retrieval scores in that discussion. A retrieval benchmark depends on how appropriate and inappropriate candidates are defined. It measures the quality of the choice among those candidates.

The authors distinguish eliciting dialogue from observing it. Task-oriented conversations can be gathered by asking participants to role-play a specified goal or by recording real attempts to complete a service transaction. MultiWOZ and RiSAWOZ appear in the surveyed literature as multi-domain task collections built using Wizard-of-Oz arrangements, in which people can supply the behavior attributed to the assistant during collection. Data used for open conversation can come from interaction, social media, or a study designed around an additional requirement such as persona or empathy. Collection procedures affect what can be evaluated. A dataset that records only messages does not directly supply the evidence links needed to check grounded response generation.

For knowledge grounding, the survey describes a collection of more than 26,000 improvised dialogue turns that were grounded in a larger movie corpus. The number counts dialogue turns in that collection. It does not describe a test split or the performance of a system trained on it. The paper also discusses an approach using independently obtained dialogue and knowledge corpora, with the link between the two treated as latent during training. This addresses the expense of gathering triples that align an exchange, a source of knowledge, and a reply. The two data setups support different kinds of supervision and can expose different mistakes in knowledge selection.

For [vision and language](https://md.research.elamur.ai/free/en/topics/multimodal/), IMAGE-CHAT collects conversations in which people talk about an image while adopting a requested mood or style. Another collection described in the survey annotates eye gaze to help represent what the interlocutor attended to. Video-grounded dialogues introduce the need to use spatial and temporal evidence over several turns. The survey also considers using visual [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/) data when adapting to a dialogue task because it is costly to collect and annotate full exchanges. The transfer changes what examples are available before adaptation. Dialogue evaluation still has to test use of conversational history.

#### Task success, cost, and actual interaction

For a task-oriented agent, task completion rate counts successful attempts relative to all attempts. In fully specified tasks, success can mean that the dialogue meets all of the user's constraints. The survey mentions partial success as a separate choice that credits incomplete progress. Completion cost measures the resources required to reach the outcome. Turn count can serve as a measure of time efficiency when systems attempt the same task. Reading task success together with cost distinguishes a short exchange that fails from a short exchange that completes the request.

Human evaluation for task completion can use recruited participants working through pre-defined scenarios or actual users after deployment. The paper also describes simulated users as a lower-cost source of interactions. An agenda-based simulator supplies a user goal and moves through the exchange in a structured way. A simulator based on language generation can produce utterances from constraints. Either can offer repeated experiences for comparing policies, and the two exercise different parts of a system. A policy can be tested with structured user acts, while testing the language understanding component requires utterances.

These measurements can also guide learning. A policy that receives a success reward at the end of an interaction needs enough trial experience to discover which earlier actions lead to it. The survey discusses demonstrations and intermediate feedback in this context. A tracking score, a simulated completion rate, and human judgments of the deployed interaction each answer a different question about the assistant. Their scopes matter when a study reports that a change helped a system.

#### What an open-domain score can capture

An open-domain exchange usually lacks a defined terminal success event. Human evaluators can judge whether replies are understandable, relevant, interesting, or natural, and can assess an interaction as a whole. The survey notes that several studies it discusses had human evaluator groups usually of size 5-20. That figure describes the size of evaluator groups, instead of the number of examples rated or the agreement among them. The authors connect those group sizes to the cost of evaluation and the difficulty of obtaining judgments from a broad set of people.

Automatic metrics often start by comparing a generated answer with a reference. [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/) and [ROUGE](https://md.research.elamur.ai/free/en/papers/lin-2004-rouge-package-automatic-evaluation-summaries/) use matching sequences of words. [METEOR](https://md.research.elamur.ai/free/en/papers/banerjee-2005-meteor-automatic-metric-mt-evaluation/) can account for some synonym and paraphrase matches. The survey reports work finding weak agreement between word-overlap metrics and human judgments of dialogue. A reference might acknowledge a speaker's news, for example, while another suitable answer asks a question about it. Overlap has little to say about whether that question moves the conversation forward.

Learned scorers broaden the comparison. Ruber combines a component that measures similarity to a reference with one that scores the query and reply together. Other work trains evaluators to distinguish genuine and generated responses or to score coherence using utterance representations and a graph of conversational topics. USR exemplifies an evaluation that distinguishes aspects of quality. The paper gives separate annotation ranges for understandability and knowledge use at 0-1, context maintenance and naturalness at 1-3, interestingness at 1-3, and overall quality at 1-5. These are rating scales used for the annotation, rather than test scores. A system learns from the assessed dialogues to predict quality.

The paper also describes evaluation through selection and ranking. One study generated several alternatives for a user message, used human judgments to identify the highest-rated reply, and then tested whether a dialogue system could select it. This setup compares the system with the choice made by evaluators on that candidate set. A social-feedback approach learns to rank using replies, votes, and other available signals. Another study has different agents converse and asks people which responses seem human-like, then ranks agents using the resulting turn judgments. These designs make human expectations measurable in different ways. A rank derived from human-likeness need not capture whether a reply remains factually grounded or whether a series of turns maintains a consistent persona.

### What the ablations show

The survey reports no ablations of its own and instead compares analyses from the literature on context, response selection, and the validity of evaluation.

#### What happens when history is available

The discussion of visual dialogue presents two findings that can coexist. Takmaz and colleagues examine expressions that refer back to things already mentioned and report a benefit from grounding prediction in both the image and the dialogue history. The comparison shows that earlier turns can carry information needed to interpret at least some visual utterances. For instance, a subsequent mention can point to something that the speakers have already identified in the image. A system given the picture and current message alone has less direct evidence about which earlier mention is intended.

Agarwal and colleagues also observed higher scores with history, but their analysis found that only a small share of cases benefited. The survey further reports their conclusion that existing visual-dialogue measures favored generic answers. An aggregate score can therefore give a limited account of the behavior prompted by adding history. An improvement can reflect real gains on history-dependent items even when many examples are answerable from other cues. To understand what has changed, it matters whether the examples require a prior turn and whether the score rewards resolving that dependency.

Text dialogue studies raise a related question about the representation of history. HRED represents both word order within utterances and the order of the utterances themselves. ReCoSa adds a way to give different earlier turns different relevance when decoding. The survey also discusses organized thread representations for retrieval, which connect candidate responses with particular stretches of an exchange. These proposals address different meanings of context awareness. A system can have access to many utterances, organize them in a useful form, and still need a way to select which earlier material should matter for this prediction.

#### When an internal structure represents what its name suggests

Structured attention attempts to learn relations among parts of the context within the architecture. The authors discuss work combining structured attention with a variational recurrent network to induce dialogue structures without direct labels. They place it alongside Ferracane and colleagues' analysis of a learned discourse tree. That analysis found little or no recognizable discourse organization in the induced tree and reported settings where structured attention could be unhelpful or harmful. This result is about the behavior of the examined representation. A learned tree can be used as a computational device even when its branches do not express the discourse relations a reader might expect from the name.

The survey's discussion of input configurations in generation makes a similar distinction. Golovanov and colleagues compared single-input and multiple-input setups for pretrained generation. The paper reports that differing inputs affected the tendencies of the generated replies and that the researchers proposed using those differences to adapt the approach. A change in what the generator receives can influence which evidence it favors. An evaluation of output quality will therefore depend on whether those preferences suit the target conversation. The survey reports the qualitative conclusion without the separate effect sizes for the configurations.

#### How comparisons locate the source of improvement

Several tracking methods make the comparison about how much of the state a system recomputes. Kim and colleagues predict an operation for each slot and update memory selectively. MinTL represents edits to a previous state. Related work transfers a value from a connected slot when the same information is useful in a new domain. These are not interchangeable operations. A selective update asks which field has changed. An edit specifies how the stored information should change. A cross-slot copy supplies a value from another part of the state. The survey brings them together as evidence that tracking can exploit structure already present in the exchange and its state.

The discussion of response diversity likewise distinguishes several sources of change. A different decoding objective can demote generic candidates at selection time. More varied search can alter which candidates are found. Removing high-frequency generic pairs or collecting replies from participants who produce diverse responses can affect what the system learns in the first place. A reported diversity improvement under any one intervention says little about how the others would compare under the same data and evaluation. The studies are useful for locating where a particular system's behavior can be changed. The survey supplies no factorial comparison that varies search, training data, and objective under a shared setup.

### Limitations

#### Limits the authors identify

The authors describe an extensive review and acknowledge that relevant work can have been omitted. Their treatment emphasizes advances in neural approaches and the research topics they see gaining attention. Their conclusion that neural designs dominate the recent work they review is a description of that literature. Their forecast of future directions reflects where they see unresolved problems and opportunities, including dialogue that combines tasks, modalities, or longer-term aims.

They identify the shortage of appropriate data as a limit across the field. Dialogue is available in large quantities in some settings, but annotated goals, evidence, emotions, and visual references require additional collection. Knowledge-grounded training is particularly demanding when examples must align source facts with contexts and replies. The authors also note that access conditions and usage terms for social-media data affect reproducibility. Their proposal to make online conversational corpora easier to use in real time depends on access and legal arrangements they regard as unresolved.

Evaluation carries its own constraints. People bring different expectations to open conversations, and recruiting larger evaluator groups costs money. Word overlap can miss appropriate variation, and learned scoring adds a training problem. User simulation reduces the cost of obtaining interactions but introduces the difficulty of learning how a person decides and responds. The authors regard that as a problem in its own right, with challenges much like those of generating the assistant's replies. In control experiments, they also point out that assuming correct control values are always supplied leaves open how a system would obtain them during a real conversation.

Some limitations belong to particular designs. Retrieved replies depend on what the candidate inventory contains. Generated replies can be bland, inconsistent, or insufficiently grounded. A narrowly specified domain introduces assumptions about which fields and values exist, which can be costly to revise during transfer. Multimodal dialogue adds evidence sources and also the problem of relating them over time. The authors regard the multimodal systems they review as still developing, and they present combining open-domain conversation with task completion as a research direction.

#### Limits of the comparisons

The review describes how it organizes a body of literature, but it gives no reproducible search strategy with databases, selection criteria, screening steps, or an assessment of study quality. A reader can use the categories to trace mechanisms across applications. The organization alone cannot establish that the discussion covers every relevant result or represents the frequency of outcomes across the field. Statements about prevailing practice consequently have the scope of the authors' survey.

The cited results also differ in their units of analysis. An intent classification result can concern individual messages, a state tracking result can concern turns, and a completion result can concern entire conversations. Even scores with the same name can be measured against different requirements or candidate sets. The summaries of the tracking gains omit details needed for a numerical comparison beyond the figures as reported. Where a study bundles a representation, training procedure, and decoder, a favorable result by itself cannot assign credit to a single part.

The distinction between the response and its supporting evidence matters for knowledge grounding. A coherent reply can contain an unsupported detail, while a reply that copies a source phrase can use evidence irrelevant to the user's intent. A topic-based coherence measure and a knowledge-selection measure would expose different failures. Similarly, giving a system images, surrounding dialogue, or longer histories proves that the inputs are available to it. Dependence on those inputs calls for analyses of what changes when the evidence is needed or withheld. The visual-history comparisons are especially informative because they expose that difference within the literature the authors discuss.

Finally, conversational qualities can pull in different directions depending on the goal. A task response that preserves all required fields can reasonably repeat a standard phrasing. In open conversation the same degree of repetition can make an agent seem disengaged. A longer exchange can signal avoidable friction when booking a table, while it can reflect sustained conversation in another setting. The survey's division by purpose helps explain why its results support conclusions about particular tasks and conditions. They do not define a common scale for conversational competence.

### What came after

#### Conversation over many turns and after deployment

A later survey by Yi and colleagues focuses on dialogue over multiple turns using large pretrained systems. That scope takes up a question that Ni and colleagues encountered in both task assistance and open conversation. Earlier messages can determine what the latest utterance means, which facts still apply, and what reply will be useful. Ni and colleagues examine those issues through such mechanisms as hierarchical encoders, attention over turns, and state editing. The later survey makes multi-turn interaction the organizing subject. [Survey of LLM-based multi-turn dialogue](https://md.research.elamur.ai/free/en/papers/yi-2024-survey-recent-advances-llm-based/)

Shuster and colleagues' BlenderBot 3 centers on a deployed conversational agent and learning during continued use, with responsible engagement as part of the aim. It corresponds to the survey's discussion of interactive training, where conversations after deployment create possible learning signals. Deployment also connects that question to evaluation. An agent that continues to learn has to be understood through the exchanges it encounters over time. The connection is clearest at the level of the learning setting that Ni and colleagues discuss. [BlenderBot 3](https://md.research.elamur.ai/free/en/papers/shuster-2022-blenderbot-3-deployed-conversational-agent/)

The SMILE work uses ChatGPT to expand single-turn material into multi-turn dialogue for mental health support, with inclusivity part of the stated project. It brings together the survey's concern about scarce empathetic conversation data and its discussion of how turns depend on one another. Expanding an exchange into several turns makes it possible to represent how a response fits a developing conversation. The stated application also connects to earlier work reviewed by Ni and colleagues on empathy and on whether a counseling exchange should explore the present concern or move towards another topic. [SMILE](https://md.research.elamur.ai/free/en/papers/qiu-2024-smile-single-turn-multi-turn/)

#### Broader behavior, control, and evaluation

Kocoń and colleagues examine ChatGPT in terms of broad competence across tasks. As a follow-up topic, breadth gives practical significance to the survey's distinction between types of evidence. A flexible conversational interface can serve multiple purposes, each with its own demands on understanding or response quality. The later work's framing connects to the question of how to assess a system that is asked to do many different things. The citation and title give the scope of that inquiry without supplying task-level scores or a direct comparison with the earlier assistants. [ChatGPT across tasks](https://md.research.elamur.ai/free/en/papers/kocon-2023-chatgpt-jack-all-trades-master/)

Liu and colleagues empirically study how the phrasing of prompts can induce ChatGPT to depart from expected restrictions. Ni and colleagues discuss controllable generation as a way to shape what a system says, from word choice to style and content. Prompt-based attempts to override restrictions give control a different direction. They make the reliability of a constraint part of the behavior under study. That relationship concerns which instructions govern an answer when different pressures are present in the input. [Empirical study of ChatGPT jailbreaking](https://md.research.elamur.ai/free/en/papers/liu-2023-jailbreaking-chatgpt-prompt-engineering-empirical/)

Aghazadeh and colleagues investigate metaphor through probing and generalization across languages and datasets. This is adjacent to the survey's attention to what pretrained representations contribute to a downstream task. The later work takes a particular linguistic phenomenon as the object of inquiry and asks about transfer across data and language boundaries. That focus gives a specific counterpart to the broader transfer question in dialogue understanding, where the survey reviews whether learned distinctions carry into unfamiliar domains. [Metaphor probing and generalization](https://md.research.elamur.ai/free/en/papers/aghazadeh-2022-metaphors-pre-trained-language-models/)

Li and colleagues address long-sequence training through sequence parallelism. Their systems-oriented question relates to the earlier survey's distinction between a recurring need for long context and the mechanics of processing it. Dialogue research may ask which preceding turns help answer a user. Long-sequence training work concerns how to make extended sequences tractable during learning. The computational question can support investigations of longer histories, while the visual-history studies reviewed by Ni and colleagues show that the relevance of additional context remains an empirical question. [Sequence Parallelism](https://md.research.elamur.ai/free/en/papers/li-2023-sequence-parallelism-long-sequence-training/)

#### Beyond typed replies

Nguyen and colleagues study generative spoken dialogue. The subject connects directly to the survey's interest in systems that can use information beyond written exchanges. Ni and colleagues review speech at several points, including direct audio input to an understanding component. Generative spoken dialogue places the spoken exchange itself at the center. It thereby moves the question of how to represent conversational sequences into the domain of [speech and spoken language](https://md.research.elamur.ai/free/en/topics/speech/). [Generative Spoken Dialogue Language Modeling](https://md.research.elamur.ai/free/en/papers/nguyen-2023-generative-spoken-dialogue-language-modeling/)

Agrawal and colleagues bring persona and multiple modalities together in work on comic dialogue. The application connects two concerns of the survey that can affect the same reply. Visual information can help determine what is happening, and persona information can guide what a character would say. The later study's title places both sources of conditioning within a setting in which each utterance belongs to a particular character and visual context. [Multimodal persona-based comic dialogue](https://md.research.elamur.ai/free/en/papers/agrawal-2023-multimodal-persona-based-generation-comic/)

Michot and colleagues study speech recognition that preserves errors in the language of young English learners. That aim addresses the fidelity of the language reaching downstream analysis. In the survey's examples, researchers consider how errors can propagate when transcribed speech becomes input to another component. Error preservation makes a complementary distinction between errors made by the recognizer and features of the user's actual utterance that the transcript is intended to retain. It connects speech processing to the question of what the input must preserve for the application to work. [Error-preserving speech recognition](https://md.research.elamur.ai/free/en/papers/michot-2024-error-preserving-automatic-speech-recognition/)

DuIVRS-2 applies interactive voice response to gathering attributes of points of interest at large scale. Its aim connects the survey's interest in spoken interaction with the task-oriented tradition of tracking and obtaining particular values. An application designed to acquire attributes gives the conversation an externally defined purpose. That purpose makes the information obtained through the exchange central to evaluating it. Across the later works, this is an example of how a broader shift in conversational technology still leaves room for the distinctions on which the survey is built. An exchange can be assessed by the details it acquires, by how well it handles the evidence available on each turn, and by qualities of the interaction that call for their own measures. [DuIVRS-2](https://md.research.elamur.ai/free/en/papers/zhang-2026-duivrs-2-llm-based-interactive/)

## Cite

Cite as Jinjie Ni, Tom Young, Vlad Pandelea, Fuzhao Xue and Erik Cambria. 2022. Recent advances in deep learning based dialogue systems: a systematic survey. Artificial Intelligence Review.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/s10462-022-10248-8](https://doi.org/10.1007/s10462-022-10248-8) · [arXiv 2105.04387](https://arxiv.org/abs/2105.04387)

```bibtex
@article{ni2022recent,
  title = {{Recent advances in deep learning based dialogue systems: a systematic survey}},
  author = {Jinjie Ni, Tom Young, Vlad Pandelea, Fuzhao Xue and Erik Cambria},
  journal = {Artificial Intelligence Review},
  year = {2022},
  doi = {10.1007/s10462-022-10248-8},
  eprint = {2105.04387},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1007/s10462-022-10248-8}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
