arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2410.18481cs.CLcs.AIcs.LG

Dialog2Flow:预训练软对比动作驱动句子嵌入用于自动对话流程提取

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

Idiap Research Institute(伊迪亚普研究所);University of Zurich(苏黎世大学);Brno University of Technology(布尔诺理工大学)

Sergio Burdisso, Srikanth Madikeri, Petr Motlicek

AI总结:

本文提出Dialog2Flow嵌入,通过软对比预训练将对话话语按动作功能映射到潜在空间并聚类量化,从而自动提取对话工作流,在多个领域上优于现有句子嵌入方法。

摘要:

从无标注对话中高效地推导结构化工作流,在计算语言学中仍是一个探索不足且极具挑战性的问题。将该过程自动化可以显著加速新领域中工作流的人工设计,并使大语言模型能够基于特定领域的流程图进行落地,从而提升透明度和可控性。本文提出了Dialog2Flow(D2F)嵌入,其不同于传统句子嵌入之处在于:将话语映射到一个潜在空间,在该空间中话语根据其交际功能和信息功能(即其所代表的动作)进行分组。D2F能够将对话建模为潜在空间中具有不同动作相关区域的连续轨迹。通过对D2F嵌入进行聚类,潜在空间被量化,对话可被转换为区域/动作ID序列,从而便于提取底层工作流。为预训练D2F,我们通过统一二十个任务型对话数据集并规范化每轮动作标注,构建了一个综合数据集。我们还提出了一种新颖的软对比损失,利用这些动作的语义信息来引导表示学习过程,并展示出其性能优于标准监督对比损失。针对多种句子嵌入(包括对话专用嵌入)的评估表明,D2F在不同领域上均取得了更优的定性和定量结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑