AdaDetectGPT:具有统计保证的自适应检测LLM生成文本
AdaDetectGPT: Adaptive Detection of LLM-Generated Text with Statistical Guarantees
AI总结:
AdaDetectGPT通过自适应学习见证函数,提高LLM生成文本检测的性能,改进幅度可达37%。
摘要:
我们研究了确定一段文本是否由人类或大型语言模型(LLM)生成的问题。现有最先进的基于日志的检测器利用从观察到的文本的对数概率统计信息,该信息基于给定源LLM的分布函数计算得出。然而,仅依赖对数概率可能效果不佳。为此,我们引入了AdaDetectGPT——一种新的分类器,它从训练数据中自适应地学习一个见证函数,以提高基于日志的检测器的性能。我们为真阳性率、假阳性率、真阴性率和假阴性率提供了统计保证。广泛的研究表明,AdaDetectGPT在各种数据集和LLM的组合中几乎普遍提高了最先进方法的性能,改进幅度可高达37%。我们的方法的Python实现可在https://github.com/Mamba413/AdaDetectGPT上获得。
英文摘要:
We study the problem of determining whether a piece of text has been authored by a human or by a large language model (LLM). Existing state of the art logits-based detectors make use of statistics derived from the log-probability of the observed text evaluated using the distribution function of a given source LLM. However, relying solely on log probabilities can be sub-optimal. In response, we introduce AdaDetectGPT -- a novel classifier that adaptively learns a witness function from training data to enhance the performance of logits-based detectors. We provide statistical guarantees on its true positive rate, false positive rate, true negative rate and false negative rate. Extensive numerical studies show AdaDetectGPT nearly uniformly improves the state-of-the-art method in various combination of datasets and LLMs, and the improvement can reach up to 37\%. A python implementation of our method is available at https://github.com/Mamba413/AdaDetectGPT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。