针对 AI 生成文本检测泛化不足的问题,提出 DeTeCtive 多层级对比学习框架,结合多任务辅助与稠密检索,显著提升多编码器的 OOD 零样本检测性能。
摘要:
当前用于检测 AI 生成文本的技术在很大程度上局限于人工特征构造和监督式二分类范式。这些方法通常会导致性能瓶颈和不尽如人意的泛化能力。因此,这些方法往往不适用于分布外(OOD)数据以及新出现的大型语言模型(LLM)。本文重新审视了 AI 生成文本检测任务。我们认为,完成该任务的关键在于区分不同作者的写作风格,而不是简单地将文本分类为人类撰写或 AI 生成。为此,我们提出了 DeTeCtive,这是一个多任务辅助的多层级对比学习框架。DeTeCtive 旨在促进对不同写作风格的学习,并结合用于 AI 生成文本检测的稠密信息检索流水线。我们的方法兼容一系列文本编码器。大量实验表明,在多个基准测试中,我们的方法增强了各种文本编码器检测 AI 生成文本的能力,并取得了最先进的结果。值得注意的是,在 OOD 零样本评估中,我们的方法大幅优于现有方法。此外,我们发现本方法对 OOD 数据具备免训练增量适应(TFIA)能力,进一步提升了其在 OOD 检测场景中的有效性。我们将开源代码和模型,希望本工作能激发 AI 生成文本检测领域的新思路,保障 LLM 的安全应用并提升合规性。代码可在 https://github.com/heyongxin233/DeTeCtive 获取。
英文摘要:
Current techniques for detecting AI-generated text are largely confined to manual feature crafting and supervised binary classification paradigms. These methodologies typically lead to performance bottlenecks and unsatisfactory generalizability. Consequently, these methods are often inapplicable for out-of-distribution (OOD) data and newly emerged large language models (LLMs). In this paper, we revisit the task of AI-generated text detection. We argue that the key to accomplishing this task lies in distinguishing writing styles of different authors, rather than simply classifying the text into human-written or AI-generated text. To this end, we propose DeTeCtive, a multi-task auxiliary, multi-level contrastive learning framework. DeTeCtive is designed to facilitate the learning of distinct writing styles, combined with a dense information retrieval pipeline for AI-generated text detection. Our method is compatible with a range of text encoders. Extensive experiments demonstrate that our method enhances the ability of various text encoders in detecting AI-generated text across multiple benchmarks and achieves state-of-the-art results. Notably, in OOD zero-shot evaluation, our method outperforms existing approaches by a large margin. Moreover, we find our method boasts a Training-Free Incremental Adaptation (TFIA) capability towards OOD data, further enhancing its efficacy in OOD detection scenarios. We will open-source our code and models in hopes that our work will spark new thoughts in the field of AI-generated text detection, ensuring safe application of LLMs and enhancing compliance. Our code is available at https://github.com/heyongxin233/DeTeCtive.
Copyright Detective: A Forensic System to Evidence LLMs Flickering Copyright Leakage Risks
Pine AI;The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学);University of Michigan(密歇根大学);Stevens Institute of Technology(史蒂文斯理工学院);Johns Hopkins University(约翰霍普金斯大学);University of Notre Dame(圣母大学);The Pennsylvania State University(宾夕法尼亚州立大学)
Con-ReCall: Detecting Pre-training Data in LLMs via Contrastive Decoding
National University of Singapore(新加坡国立大学);University of California, Merced(加州大学默塞德分校);University of California, Los Angeles(加州大学洛杉矶分校);University of Queensland(昆士兰大学)
Detecting Multilevel Manipulation from Limit Order Book via Cascaded Contrastive Representation Learning
Guangdong Provincial Key Laboratory of Brain-inspired Intelligent Computation, Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China(广东省脑启发智能计算重点实验室,计算机科学与工程系,南方科技大学,深圳518055,中国);Department of Statistics and Data Science, Southern University of Science and Technology, Shenzhen 518055, China(统计与数据科学系,南方科技大学,深圳518055,中国)
Unveil Multi-Picture Descriptions for Multilingual Mild Cognitive Impairment Detection via Contrastive Learning
Computer Science, University of Massachusetts, Boston, MA, USA(马萨诸塞大学计算机科学系,波士顿分校);Computer Science, University of Massachusetts, Lowell, MA, USA(马萨诸塞大学计算机科学系,洛厄尔分校)
Melody or Machine: Detecting Synthetic Music with Dual-Stream Contrastive Learning
Indraprastha Institute of Information Technology Delhi (IIIT-Delhi)(印度理工学院德里分校);Manipal University Jaipur(曼海姆大学斋普尔);Netaji Subhas University of Technology (NSUT)(尼赫鲁大学技术学院)
Are LLMs Rational Investors? A Study on Detecting and Reducing the Financial Bias in LLMs
School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Institute of Fintech, Fudan University(复旦大学金融科技研究院);School of Electronics and Information Engineering, Tongji University(同济大学电子与信息工程学院);Tandon School of Engineering, New York University(纽约大学坦登工程学院);DataGrand Inc.(数据堂公司)
Tsinghua University(清华大学);Renmin University of China(中国人民大学);Mininglamp Technology(明略科技);Bosch Center for Artificial Intelligence(博世人工智能中心);University of Oslo(奥斯陆大学)
MCLPD:Multi-view Contrastive Learning for EEG-based PD Detection Across Datasets
Key Laboratory of Smart Manufacturing in Energy Chemical Process, Ministry of Education, Shanghai, P. R. China(能源化学过程智能制造重点实验室,教育部,上海,中华人民共和国);East China University of Science and Technology, Shanghai, P. R. China(东华大学)
Revealing the Truth with ConLLM for Detecting Multi-Modal Deepfakes
Macquarie University(麦考瑞大学);Bharati Vidyapeeth’s College Of Engineering(巴里蒂大学工程学院);Vivekananda Institute of Professional Studies (VIPS)(维维kananda专业研究学院);DSEU-Okhla;Center for SDGC(SDGC研究中心);Stanford University(斯坦福大学);Cornell University(康奈尔大学)
Span-level Detection of AI-generated Scientific Text via Contrastive Learning and Structural Calibration
Beijing Renhe Information Technology Co., Ltd.(北京润和信息技术有限公司);Key Laboratory of Digital Publishing and Total Process Management of Scientific and Technical Journals(科技期刊数字出版与全流程管理重点实验室)
Unsupervised Wildfire Change Detection based on Contrastive Learning
University of Nebraska-Lincoln(内布拉斯加大学林肯分校);University of California, Berkeley(加州大学伯克利分校);Boston University(波士顿大学);Lisbon University(里斯本大学);Northwest Nazarene University(西北拿撒勒大学);University of Oxford(牛津大学)
Focus Your Distribution: Coarse-to-Fine Non-Contrastive Learning for Anomaly Detection and Localization
SenseTime Research(商汤科技研究院);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);University of California, Los Angeles(加州大学洛杉矶分校)
Robust Smart Contract Vulnerability Detection via Contrastive Learning-Enhanced Granular-ball Training
Chongqing Key Laboratory of Computational Intelligence(重庆计算智能重点实验室);Key Laboratory of Cyberspace Big Data Intelligent Security, Ministry of Education(教育部网络空间大数据智能安全重点实验室);Key Laboratory of Big Data Intelligent Computing(大数据智能计算重点实验室);Chongqing University of Posts and Telecommunications(重庆邮电大学);School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间安全学院);School of Computer Science and Artificial Intelligence, Zhengzhou University(郑州大学计算机与人工智能学院);College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院)