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

DALD:在无法获得黑盒 LLM logits 的情况下改进基于 logits 的检测器

DALD: Improving Logits-based Detector without Logits from Black-box LLMs

MBZUAI(Mohamed bin Zayed 人工智能大学);University of California, Santa Barbara(加州大学圣巴巴拉分校);University of California, Los Angeles(加州大学洛杉矶分校);NEC Labs America(美国 NEC 实验室);University of North Carolina, Chapel Hill(北卡罗来纳大学教堂山分校);NC State University(北卡罗来纳州立大学)

Cong Zeng, Shengkun Tang, Xianjun Yang, Yuanzhou Chen, Yiyou Sun, zhiqiang xu, Yao Li, Haifeng Chen, Wei Cheng, Dongkuan Xu

AI总结:

针对黑盒 LLM 无 logits、模型版本未知及多源输出导致检测退化的问题,本文提出 DALD,利用公开生成语料微调代理模型以对齐未知目标分布,提升黑盒文本检测性能与迭代韧性。

摘要:

大语言模型(LLM)的出现彻底改变了文本生成,所产生的输出能够高度模仿人类写作。机器生成文本与人类撰写文本之间界限的模糊,给区分二者带来了新的挑战;主流专有 LLM 的频繁更新及其封闭性又使这一任务更加复杂。当无法从黑盒 LLM 获取确切 logits 时,传统的基于 logits 的检测方法借助代理模型识别 LLM 生成内容。然而,这些方法受到代理模型与通常未公开的目标模型之间分布不匹配的困扰,导致性能下降,尤其是在引入新的闭源模型时。此外,尽管现有方法在源模型已被识别时通常有效,但在模型版本未知,或测试集包含来自多种源模型输出的场景中,它们会表现不佳。为解决这些局限,我们提出 Distribution-Aligned LLMs Detection(DALD,分布对齐的 LLM 检测),这是一个创新框架,即使没有源 LLM 的 logits,也重新定义了黑盒文本检测的最先进性能。DALD 旨在使代理模型的分布与未知目标 LLM 的分布对齐,从而以最少的训练投入增强检测能力以及对快速模型迭代的韧性。通过利用 ChatGPT、GPT-4 和 Claude-3 等先进模型公开可访问输出中的语料样本,DALD 对代理模型进行微调,以有效同步未知源模型的分布。

英文摘要:

The advent of Large Language Models (LLMs) has revolutionized text generation, producing outputs that closely mimic human writing. This blurring of lines between machine- and human-written text presents new challenges in distinguishing one from the other a task further complicated by the frequent updates and closed nature of leading proprietary LLMs. Traditional logits-based detection methods leverage surrogate models for identifying LLM-generated content when the exact logits are unavailable from black-box LLMs. However, these methods grapple with the misalignment between the distributions of the surrogate and the often undisclosed target models, leading to performance degradation, particularly with the introduction of new, closed-source models. Furthermore, while current methodologies are generally effective when the source model is identified, they falter in scenarios where the model version remains unknown, or the test set comprises outputs from various source models. To address these limitations, we present Distribution-Aligned LLMs Detection (DALD), an innovative framework that redefines the state-of-the-art performance in black-box text detection even without logits from source LLMs. DALD is designed to align the surrogate model's distribution with that of unknown target LLMs, ensuring enhanced detection capability and resilience against rapid model iterations with minimal training investment. By leveraging corpus samples from publicly accessible outputs of advanced models such as ChatGPT, GPT-4 and Claude-3, DALD fine-tunes surrogate models to synchronize with unknown source model distributions effectively.

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

↑