arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08113cs.CLcs.AIcs.ITmath.IT
收藏

通过受限嵌入实现鲁棒的AI生成文本检测

Robust AI-Generated Text Detection by Restricted Embeddings

AI Foundation and Algorithm Lab(人工智能基金会与算法实验室);HSE University(高等经济大学);Noeon Research(诺昂研究所);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所);CNRS(法国国家科学研究中心);Université Paris Cité(巴黎城市大学);ISP RAS Research Center for Trusted Artificial Intelligence(俄罗斯科学院信息学研究所可信人工智能研究中心);St. Petersburg Department of the Steklov Institute of Mathematics(斯捷克洛夫数学研究所圣彼得堡分所)

Kristian Kuznetsov, Eduard Tulchinskii, Laida Kushnareva, German Magai, Serguei Barannikov, Sergey Nikolenko, Irina Piontkovskaya

AI总结:

针对未知生成器与领域下的AI生成文本检测问题,提出移除Transformer嵌入中有害线性子空间的受限表示方法,显著提升跨域和跨生成器OOD检测性能。

摘要:

AI生成文本的数量和质量不断提升,使得检测此类内容变得更加困难。在大多数真实场景中,生成数据的领域(风格和主题)以及生成器模型事先都是未知的。在本研究中,我们关注基于分类器的AI生成文本检测器的鲁棒性,即它们迁移到未见过的生成器或语义领域的能力。我们研究了基于Transformer的文本编码器的嵌入空间几何结构,并表明清除有害线性子空间有助于训练鲁棒分类器,使其忽略特定领域的虚假特征。我们研究了多种子空间分解和特征选择策略,并在跨领域和跨生成器迁移方面相较最先进方法取得显著提升。我们用于按头和按坐标的子空间移除的最佳方法,在特定设置下分别使RoBERTa和BERT嵌入的分布外(OOD)平均分类分数最高提升9%和14%。我们公开了代码和数据:https://github.com/SilverSolver/RobustATD

英文摘要:

Growing amount and quality of AI-generated texts makes detecting such content more difficult. In most real-world scenarios, the domain (style and topic) of generated data and the generator model are not known in advance. In this work, we focus on the robustness of classifier-based detectors of AI-generated text, namely their ability to transfer to unseen generators or semantic domains. We investigate the geometry of the embedding space of Transformer-based text encoders and show that clearing out harmful linear subspaces helps to train a robust classifier, ignoring domain-specific spurious features. We investigate several subspace decomposition and feature selection strategies and achieve significant improvements over state of the art methods in cross-domain and cross-generator transfer. Our best approaches for head-wise and coordinate-based subspace removal increase the mean out-of-distribution (OOD) classification score by up to 9% and 14% in particular setups for RoBERTa and BERT embeddings respectively. We release our code and data: https://github.com/SilverSolver/RobustATD

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

↑