先采样Schema记录再生成对话:提升合成对话多样性与抽取模型字段准确率
Generating Schema-Aligned Synthetic Dialogues and Measuring Their Diversity
研究提出先生成符合Schema的结构化记录、再据此写对话的合成方法,无需人工标注即可获得对话与记录的配对数据。加入采样变化配置、persona和主题规划后,嵌入方差参与比为23.3,明显高于无配置时的9.2。8B抽取模型在该方法生成的对话上微调后字段准确率达64.8%,高于朴素生成的57.5%,并开源生成库与德语临床对话语料。
arXiv:2611.32631v1 Announce Type: new Abstract: Training or evaluating a model that turns a conversation into a structured record requires paired data, meaning a transcript together with the exact record it should be converted into. Such pairs are expensive to annotate, and in sensitive domains they are also difficult to obtain at all. We therefore build them in the opposite order by sampling a schema-valid record first, then writing a dialogue from it, and optionally synthesizing speech from the dialogue, so the label exists before the text and we need no annotation step. Naively prompting a language model for such dialogues yields small variations of a single conversation, so we add a sampled variation configuration, personas, and a topic plan that orders the fields of the record as explicit mechanisms for variation. We measure the variation that reaches the output through embedding space, where the embedding variance spreads over about two and a half times as many independent directions with our full configuration compared to without (participation ratio 23.3 against 9.2). Two corpora of medical dialogue give values of the same order, with sample size, text length and language being additional factors there. We also show the positive effect of our method in a downstream test, where an 8B extraction model reaches 64.8% field accuracy when fine-tuned on dialogues from our method, against 57.5% from naive generation. We release the generation library and the generated corpus of German clinical dialogues with aligned records.
来源:arXiv (AI + Vision + Imaging) · arxiv.org