Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow Extraction
Not on the map. Why?
Abstract (arXiv)
Efficiently deriving structured workflows from unannotated dialogs remains an underexplored and formidable challenge in computational linguistics. Automating this process could significantly accelerate the manual design of workflows in new domains and enable the grounding of large language models in domain-specific flowcharts, enhancing transparency and controllability. In this paper, we introduce Dialog2Flow (D2F) embeddings, which differ from conventional sentence embeddings by mapping utterances to a latent space where they are grouped according to their communicative and informative functions (i.e., the actions they represent). D2F allows for modeling dialogs as continuous trajectories in a latent space with distinct action-related regions. By clustering D2F embeddings, the latent space is quantized, and dialogs can be converted into sequences of region/action IDs, facilitating the extraction of the underlying workflow. To pre-train D2F, we build a comprehensive dataset by unifying twenty task-oriented dialog datasets with normalized per-turn action annotations. We also introduce a novel soft contrastive loss that leverages the semantic information of these actions to guide the representation learning process, showing superior performance compared to standard supervised contrastive loss. Evaluation against various sentence embeddings, including dialog-specific ones, demonstrates that D2F yields superior qualitative and quantitative results across diverse domains.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 50 of its 63 references that are in the map. First posted on arXiv 24 Oct 2024.
Builds on
50 of 63 references.
References · 50
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019Contrastive Multiview Codingcited by 1,297
38 more
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 760
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
- 2018Universal Sentence Encodercited by 485
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
- 2019Towards Scalable Multi-domain Conversational Agents: The Schema-Guided Dialogue Datasetcited by 426
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 358
- 2015Skip-Thought Vectorscited by 321
- 2020MultiWOZ 2.2 : A Dialogue Dataset with Additional Annotation Corrections and State Tracking Baselinescited by 201
- 2020TOD-BERT: Pre-trained Natural Language Understanding for Task-Oriented Dialoguecited by 185
- 2016Neural Belief Tracker: Data-Driven Dialogue State Trackingcited by 142
- 2019Taskmaster-1: Toward a Realistic and Diverse Dialog Datasetcited by 139
- 2017Frames: A Corpus for Adding Memory to Goal-Oriented Dialogue Systemscited by 84
- 2021Action-Based Conversations Dataset: A Corpus for Building More In-Depth Task-Oriented Dialogue Systemscited by 73
- 2023SpokenWOZ: A Large-Scale Speech-Text Benchmark for Spoken Task-Oriented Dialogue Agentscited by 71
- 2021BiToD: A Bilingual Multi-Domain Dataset For Task-Oriented Dialogue Modelingcited by 55
- 2018Microsoft Dialogue Challenge: Building End-to-End Task-Completion Dialogue Systemscited by 46
- 2019Semantically Conditioned Dialog Response Generation via Hierarchical Disentangled Self-Attentioncited by 43
- 2019GECOR: An End-to-End Generative Ellipsis and Co-reference Resolution Model for Task-Oriented Dialoguecited by 32
- 2021Pairwise Supervised Contrastive Learning of Sentence Representationscited by 31
- 2022SPACE-2: Tree-Structured Semi-Supervised Contrastive Pre-training for Task-Oriented Dialog Understandingcited by 28
- 2021Virtual Augmentation Supported Contrastive Learning of Sentence Representationscited by 21
- 2023DialogStudio: Towards Richest and Most Diverse Unified Dataset Collection for Conversational AIcited by 21
- 2020Structured Attention for Unsupervised Dialogue Structure Inductioncited by 19
- 2021End-to-End Learning of Flowchart Grounded Task-Oriented Dialogscited by 19
- 2021DialogueCSE: Dialogue-based Contrastive Learning of Sentence Embeddingscited by 19
- 2022Learning Dialogue Representations from Consecutive Utterancescited by 17
- 2022Workflow Discovery from Dialogues in the Low Data Regimecited by 12
- 2023Intent Induction from Conversations for Task-Oriented Dialogue Track at DSTC 11cited by 10
- 2021Database Search Results Disambiguation for Task-Oriented Dialog Systemscited by 9
- 2022Structure Extraction in Task-Oriented Dialogues with Slot Clusteringcited by 8
- 2023TOD-Flow: Modeling the Structure of Task-Oriented Dialoguescited by 4
- 2024Unsupervised Extraction of Dialogue Policies from Conversationscited by 3
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025Turning Conversations into Workflows: A Framework to Extract and Evaluate Dialog Workflows for Service AI Agentscited by 5
- 2025SDialog: A Python Toolkit for End-to-End Agent Building, User Simulation, Dialog Generation, and Evaluationcited by 3
- 2026METRO: Towards Strategy Induction from Expert Dialogue Transcripts for Non-collaborative Dialoguescited by 2
- 2025Text-to-SQL Task-oriented Dialogue Ontology Constructioncited by 1
- 2026PrefixGuard: From LLM-Agent Traces to Online Failure-Warning Monitorscited by 1
- 2025Factors affecting the in-context learning abilities of LLMs for dialogue state trackingcited by 0
- 2025SDialog: A Python Toolkit for End-to-End Agent Building, User Simulation, Dialog Generation, and Evaluationcited by 0
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agentscited by 0
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agents8 Jul 2026
- 2026PrefixGuard: From LLM-Agent Traces to Online Failure-Warning Monitors7 May 2026
- 2026METRO: Towards Strategy Induction from Expert Dialogue Transcripts for Non-collaborative Dialogues13 Apr 2026
- 2025SDialog: A Python Toolkit for End-to-End Agent Building, User Simulation, Dialog Generation, and Evaluation9 Dec 2025
- 2025Text-to-SQL Task-oriented Dialogue Ontology Construction31 Jul 2025
- 2025SDialog: A Python Toolkit for End-to-End Agent Building, User Simulation, Dialog Generation, and Evaluation12 Jun 2025
- 2025Factors affecting the in-context learning abilities of LLMs for dialogue state tracking10 Jun 2025
- 2025Turning Conversations into Workflows: A Framework to Extract and Evaluate Dialog Workflows for Service AI Agents24 Feb 2025