Abstract
This paper introduces a novel approach to task-oriented dialogue where dialogue state is represented as a dynamic dataflow graph. Instead of traditional slot-filling, a dialogue agent maps user utterances to programs that extend this graph. These programs utilize explicit metacomputation operators for reference and revision, allowing the system to reuse dataflow fragments from previous turns. Experiments on a new complex dataset, SMCalFlow, and the standard MultiWOZ dataset demonstrate that this representation significantly improves the ability of models to handle complex, multi-turn conversational logic.
The Problem with Slot-Filling
Most modern virtual assistants rely on "slot-filling" models, which track state as a flat list of attribute-value pairs (e.g., time=2pm). While effective for simple requests, this paradigm struggles with the nuances of natural human conversation, such as anaphora ("What about the meeting before that?"), ellipsis ("And for Megan, too"), and revisions ("Actually, make that 3 PM"). Traditional systems often fail to represent the dependencies between these turns because their state representation lacks the necessary structure to "reach back" into the history of the computation.
Dialogue as Interactive Program Synthesis
The authors propose treating dialogue as a process of growing a dataflow graph. Each node in the graph represents an entity or a computation. When a user speaks, the agent predicts a program that adds new nodes to the graph, potentially referencing or modifying existing ones.
Metacomputation Operators
To handle the complexities of context, the system introduces two key operators:
refer(): This operator searches the graph for a salient entity. For example, if a user refers to "that meeting," the model generates arefercall that points to the relevant node in the previous dialogue state.revise(): This allows the agent to modify a previous computation non-destructively. It creates a modified copy of a previous graph fragment, enabling the system to update specific parameters while keeping the rest of the context intact.
By making these operations explicit, the learning task for the neural model becomes much simpler. Rather than needing to implicitly learn how to attend to the correct part of a long history, the model simply learns to output a refer or revise function call when appropriate.
Evaluation and Results
The researchers evaluated their approach using two primary benchmarks:
- SMCalFlow: A new, large-scale dataset of ~40,000 natural dialogues involving calendars, weather, and places. The dataflow approach with explicit metacomputation reduced error rates by 10.9% on turns involving cross-turn references compared to baselines.
- MultiWOZ 2.1: By converting this standard slot-filling dataset into the dataflow format, the authors showed that a generic sequence-to-sequence model could match or exceed the performance of highly specialized, state-of-the-art tracking models like TRADE, achieving a Joint Goal Accuracy of 46.7%.
Conclusion
Representing dialogue state as a dataflow graph provides a powerful middle ground between rigid symbolic systems and purely neural end-to-end models. By treating the conversation as a trace of computations rather than just a set of final values, agents can more accurately track and manipulate complex user intents across multiple turns of interaction.
Summary updated