Dialogue Acts and Conversation Structure › Dialogue State Tracking

Michael BrenndoerferNovember 17, 20264 min read
Language AI HandbookAll chapters
Part 9 of 67Coreference, Discourse, Pragmatics, and Dialogue
Chapter 59Dialogue Acts and Conversation Structure › Dialogue State Tracking
Reading section 5 of 11 · Dialogue State Tracking · 4 minSection 5 of 11 · 4 min

Section 5 of 11 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A dialogue state stores information relevant to choosing the next move. Here we store four slots with associated values. They are day, time, size, and candidate room. A frame can group related slots. This example's room slot records the active candidate even before Ana accepts the offer. A booking procedure needs separate evidence of acceptance, authorization, and a successful reservation.

The history records turns in order. The state stores values selected from that history for a specific purpose. The same state can arise from different histories. When Ben replaces room 204 with 205, his earlier offer remains in the history while the candidate room changes.

A state can be represented as a dictionary of current value predictions or as a distribution over possible assignments. The example uses a dictionary mapping each slot to one concrete value or an absent marker. A probabilistic tracker could keep competing candidate values and represent their probabilities.

The state update combines the previous state with the current turn and its context.

St=update(St−1,at,ut,ct)S_t = \text{update}(S_{t-1}, a_t, u_t, c_t)

The index tt denotes the current turn.

  • StS_t is the state after turn tt. Before the first turn, S0S_0 marks every tracked slot as absent.
  • St−1S_{t-1} is the state before turn tt.
  • ata_t is the dialogue act of turn tt.
  • utu_t is the observed utterance content for turn tt.
  • ctc_t is context available when turn tt is processed. In the example it includes the current reply link, its earlier target, and the membership decision.
  • update\text{update} maps these inputs to the new state.

An engineer can specify the function or estimate it from data. The worked example supplies the act label and the reply link. A deployed system that predicts those fields can propagate their errors into the state. The update reads the previous state and current turn with that context. An ineligible turn leaves St=St−1S_t=S_{t-1}.

This formula is deliberately simple, but it hides several hard questions:

  • Which parts of utu_t should be extracted?
  • Should a new value overwrite an old value, or should both be kept?
  • How should the system handle negation, hypotheticals, and comparisons?
  • How should it know whether a turn is even relevant to the current task?

Different trackers answer these questions differently. The formula is a teaching abstraction for an incremental update. A tracker can also reconstruct a candidate state directly from all available turns.

Annotation challenges

Eric and colleagues report a reannotation of dialogue states and utterances for MultiWOZ 2.1. They describe noisy state annotations and normalize some surface values to match dataset conventions. The examples below illustrate choices an annotator or evaluator has to make. Eric et al. (2020), §§1–3

  • Value normalization: "3pm", "15:00", and "three in the afternoon" may all refer to the same time, but annotators may transcribe them differently.
  • Implicit values: a user may say "the same as before" or "the other one", requiring the annotator to resolve the reference.
  • Conflicting values: a user may change their mind, and the annotator must decide whether the new value replaces the old one or coexists with it.
  • Absent values. An unmentioned slot can be marked absent. Record an explicit statement that any value is acceptable separately.

These choices affect the evaluated target. A value can have several surface forms. An absent field, a carried value, and an explicit waiver of a constraint require separate interpretation.

Within the same day and time zone, "3pm" and "15:00" can denote the same time. A booking still needs the day and any relevant location or time zone to identify an appointment. A reference such as "the same as before" also needs a prior value to point to.

Special state markers

An ontology should say what the state stores and what an update operation expresses. The following conventions are useful examples.

  • ABSENT indicates that the state currently has no value for the slot.
  • UNCHANGED can label an update that leaves the prior slot value in place. It describes an operation on a state and can apply when the old value is absent.
  • DONT_CARE can store an explicit statement that any value is acceptable.
  • CONFLICT can represent incompatible candidate values whose conflict is still unresolved.

For example, "any room is fine" releases the room preference under this convention. An unanswered room question leaves the value absent. The executable demonstration uses only concrete values and ABSENT in the stored state. Updating an empty set of fields preserves its prior values.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy