arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.06705cs.CLcs.AI
收藏

DivScore:专业领域中 LLM 生成文本的零样本检测

DivScore: Zero-Shot Detection of LLM-Generated Text in Specialized Domains

National University of Singapore(新加坡国立大学);Tencent(腾讯);The University of Hong Kong(香港大学)

Zhihui Chen, Kai He, Yucheng Huang, Yunxiao Zhu, Mengling Feng

AI总结:

针对专业领域零样本 LLM 文本检测受领域偏移影响的问题,提出结合归一化熵评分与领域知识蒸馏的 DivScore,并发布医学、法律基准,显著提升检测性能与对抗稳健性。

摘要:

在医学和法律等专业且高风险的领域中,检测 LLM 生成文本对于打击虚假信息和确保真实性至关重要。然而,当前的零样本检测器虽然在通用文本上有效,但由于领域偏移,在应用于专业内容时往往会失效。我们提供了一项理论分析,表明这种失效从根本上与人类文本、检测器文本和源文本分布之间的 KL 散度有关。为解决这一问题,我们提出了 DivScore,这是一个使用归一化基于熵的评分和领域知识蒸馏的零样本检测框架,用于稳健地识别专业领域中的 LLM 生成文本。我们还发布了一个面向医学和法律领域 LLM 生成文本检测的特定领域基准。在我们的基准上进行的实验表明,DivScore 始终优于最先进的检测器,AUROC 提高 14.4%,召回率提高 64.0%(在 0.1% 假阳性率阈值下)。在对抗性设置中,DivScore 展现出优于其他基线的稳健性,AUROC 平均取得 22.8% 的优势,召回率平均取得 29.5% 的优势。代码和数据均公开发布。

英文摘要:

Detecting LLM-generated text in specialized and high-stakes domains like medicine and law is crucial for combating misinformation and ensuring authenticity. However, current zero-shot detectors, while effective on general text, often fail when applied to specialized content due to domain shift. We provide a theoretical analysis showing this failure is fundamentally linked to the KL divergence between human, detector, and source text distributions. To address this, we propose DivScore, a zero-shot detection framework using normalized entropy-based scoring and domain knowledge distillation to robustly identify LLM-generated text in specialized domains. We also release a domain-specific benchmark for LLM-generated text detection in the medical and legal domains. Experiments on our benchmark show that DivScore consistently outperforms state-of-the-art detectors, with 14.4% higher AUROC and 64.0% higher recall (0.1% false positive rate threshold). In adversarial settings, DivScore demonstrates superior robustness than other baselines, achieving on average 22.8% advantage in AUROC and 29.5% in recall. Code and data are publicly available.

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

↑