Result Details

Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow Extraction

BURDISSO, S.; MADIKERI, S.; MOTLÍČEK, P. Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow Extraction. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Stroudsburg, PA, USA: Association for Computational Linguistics, 2024. p. 5421-5440. ISBN: 9798891761643.
Type
conference paper
Language
English
Authors
Burdisso Sergio
Madikeri Srikanth
Motlíček Petr, doc. Ing., Ph.D., DCGM (FIT)
Abstract

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.

Keywords

conversational modeling, sentence embeddings, spoken dialogue systems, task-oriented dialog

URL
Published
2024
Pages
5421–5440
Proceedings
Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing
Conference
The 2024 Conference on Empirical Methods in Natural Language Processing
ISBN
9798891761643
Publisher
Association for Computational Linguistics
Place
Stroudsburg, PA, USA
DOI
UT WoS
001431695500310
EID Scopus
BibTeX
@inproceedings{BUT201421,
  author="{} and  {} and Petr {Motlíček}",
  title="Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow Extraction",
  booktitle="Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
  year="2024",
  pages="5421--5440",
  publisher="Association for Computational Linguistics",
  address="Stroudsburg, PA, USA",
  doi="10.18653/v1/2024.emnlp-main.310",
  isbn="9798891761643",
  url="https://aclanthology.org/2024.emnlp-main.310/"
}
Files
Projects
Research groups
Departments
Back to top