arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.07894cs.SE
收藏

DD-GEPA:面向对话解缠的任务指令与话语表示提示优化

APO-DD: Dialogue Disentanglement via Reflective Optimization of Multi-Component Prompts

Yokohama National University(横滨国立大学)

Naoki Takada, Tomohiro Okatsu, Yin Min Pa Pa, Katsunari Yoshioka, Tatsunori Mori

AI总结:

针对多轮对话中话题交织导致的解缠难题,提出基于GEPA的自动提示优化方法,通过分解并优化任务指令、话语表示和输出指令三部分,显著提升大语言模型的对话解缠准确率。

摘要:

多方聊天通常包含交织的对话,因为多个参与者可以同时讨论不同的话题。对话解缠通过将纠缠的话语序列分离成连贯的对话来解决这个问题。虽然大语言模型(LLMs)在此任务上具有潜力,但它们仍然难以处理对话解缠,准确率较低。本文提出了一种基于LLM的对话解缠的自动提示优化方法。我们将提示分解为三个组成部分:任务指令、话语表示和输出指令,并使用GEPA(一种用于复合AI系统的优化方法)对它们进行优化。在基准数据集上的实验表明,优化后的提示相比原始提示提高了对话解缠的准确率,并且可以超越手工制作的提示。

英文摘要:

In multi-party chat, interleaved dialogues make it difficult to identify the context of each utterance. Dialogue disentanglement separates these dialogues to support dialogue analysis and response generation. Prompt refinement can improve large language models' (LLMs') accuracy on this task, but manually finding effective prompts for each LLM requires extensive trial and error. We propose APO-DD, which adapts GEPA to optimize prompts using execution traces and reflections on failed decisions. It updates task instructions directly and chat representations through automatically generated formatting functions. We compare optimizing either component alone or both. With Qwen3.5-9B, the best optimized prompt achieves an average score of 68.7 across seven evaluation metrics on Ubuntu IRC, compared with 57.5 for the best manually refined prompt. It also outperforms manually refined prompts on other chat domains without further optimization. For this model, optimizing task instructions alone does not always improve accuracy over the initial prompts. Our results suggest that exploring chat representation as an optimization target may yield higher accuracy than optimizing task instructions alone. Our code is available at https://anonymous.4open.science/r/DB6B.

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

↑