AI相关内容与伪影的统一检测框架 A Unified Detection Framework for AI-Related Content and Artifacts 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-08
👁️ 预览文献
💡 AI 中文简介
人工智能是一把双刃剑,在带来便利的同时也需要监管。本文提出了一种基于马氏距离评分的统一检测框架,能同时检测大语言模型生成的文本、幻觉、水印和对抗样本。该方法通过准确刻画正类样本(如人类文本、事实陈述等)的深层特征分布,并利用稳健的协方差估计方法(包括联合的逐案例和逐单元最小协方差行列式估计器)来计算马氏距离。作者提供了高效的优化算法并证明了收敛性和高崩溃点性质。实验验证了该框架的有效性。
领域人工智能安全与检测
适合谁读需要一定专业背景
核心贡献["提出一个统一的检测框架,适用于多种AI相关检测任务(文本生成、幻觉、水印、对抗样本)", "开发了联合的逐案例和逐单元MCD估计器,并证明其收敛性和高崩溃点性质"]
关键数据暂无显著硬数据
推荐理由如果你想了解如何用一个框架同时检测多种AI造假内容,这篇论文提供了优雅的数学方案,值得一读。
关键词["人工智能监管", "大语言模型", "马氏距离评分", "稳健协方差估计", "最小协方差行列式", "联合估计"]

原文摘要

查看英文原文摘要

Artificial intelligence (AI) is a double-edged sword: while it has achieved remarkable success across a wide range of domains, its deployment also calls for effective oversight and regulation, for which the detection of AI-related content and artifacts is perhaps the most direct and cost-effective approach. To this end, we propose a unified detection framework based on Mahalanobis distance scores (MDS), applicable to several important settings, including the detection of large language model (LLM) generated text, hallucination, watermark, and adversarial examples. A key component of the proposed method is to accurately characterize the positive class--such as human-generated text, factual statements, unwatermarked text, or non-adversarial samples--which requires an efficient and robust estimator of the covariance matrix of deep representations of positive samples before computing the MDS. Since the positive samples typically consist of multiple classes, and these classes may exhibit both homogeneity and heterogeneity, we develop joint estimation methods for both the casewise and cellwise minimum covariance determinant (MCD) estimators. We provide efficient optimization algorithms for both estimators and prove their convergence. We provide a reasonable definition of the breakdown point for the joint estimators and prove their corresponding high breakdown point properties. Empirical evaluations confirm the effectiveness of the proposed detection framework.

📚 参考文献 (50 条)

查看全部 50 条
  1. [1] R. Bommasani, D. A. Hudson, E. Adeli, R. Altman, S. Arora, S. von Arx, M. S. Bernstein, J. Bohg, A. Bosselut, E. Brunskill, et al., On the opportunities and risks of foundation models, 2021. ArXiv:2108.07258.
  2. [2] S. Bubeck, V. Chandrasekaran, R. Eldan, J. Gehrke, E. Horvitz, E. Kamar, P. Lee, Y. T. Lee, Y. Li, S. Lundberg, et al., Sparks of artificial general intelligence: Early experiments with GPT-4, 2023. ArXiv:2303.12712.
  3. [3] I. J. Goodfellow, J. Shlens, C. Szegedy, Explaining and harnessing adversarial examples, in: International Conference on Learning Representations, 2015.
  4. [4] N. Carlini, D. A. Wagner, Towards evaluating the robustness of neural networks, in: 2017 IEEE Symposium on Security and Privacy, IEEE, 2017, pp. 39–57.
  5. [5] J. Kirchenbauer, J. Geiping, Y. Wen, J. Katz, I. Miers, T. Goldstein, A watermark for large language models, in: Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, PMLR, 2023, pp. 17061–17084.
  6. [6] P. Manakul, A. Liusie, M. J. F. Gales, SelfCheckGPT: Zero-resource black-box hallucina- tion detection for generative large language models, in: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023, pp. 9004–9017.
  7. [7] S. Gehrmann, H. Strobelt, A. M. Rush, GLTR: Statistical detection and visualization of generated text, in: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 2019, pp. 111–116.
  8. [8] E. Mitchell, Y. Lee, A. Khazatsky, C. D. Manning, C. Finn, DetectGPT: Zero-shot machine-generated text detection using probability curvature, in: Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, PMLR, 2023, pp. 24950–24962.
  9. [9] Z. Ji, N. Lee, R. Frieske, T. Yu, D. Su, Y. Xu, E. Ishii, Y. Bang, A. Madotto, P. Fung, Survey of hallucination in natural language generation, ACM Computing Surveys 55 (2023) 1–38.
  10. [10] J. H. Metzen, T. Genewein, V. Fischer, B. Bischoff, On detecting adversarial perturbations, in: International Conference on Learning Representations, 2017.
  11. [11] W. Tian, L. Zhang, H. Cui, Abnormal sample detection based on robust Mahalanobis distance estimation in adversarial machine learning, Statistics and Its Interface 17 (2024) 91–106.
  12. [12] I. Solaiman, M. Brundage, J. Clark, A. Askell, A. Herbert-Voss, J. Wu, A. Radford, G. Krueger, J. W. Kim, S. Kreps, et al., Release strategies and the social impacts of language models, 2019. ArXiv:1908.09203.
  13. [13] M. Hubert, M. Debruyne, Minimum covariance determinant, Wiley Interdisciplinary Reviews: Computational Statistics 2 (2010) 36–43.
  14. [14] J. Raymaekers, P. J. Rousseeuw, The cellwise minimum covariance determinant estimator, Journal of the American Statistical Association 119 (2024) 2610–2621. 43
  15. [15] K. Lee, K. Lee, H. Lee, J. Shin, A simple unified framework for detecting out-of-distribution samples and adversarial attacks, in: Advances in Neural Information Processing Systems, volume 31, 2018.
  16. [16] P. J. Rousseeuw, K. Van Driessen, A fast algorithm for the minimum covariance determi- nant estimator, Technometrics 41 (1999) 212–223.
  17. [17] J. Guo, E. Levina, G. Michailidis, J. Zhu, Joint estimation of multiple graphical models, Biometrika 98 (2011) 1–15.
  18. [18] A. P. Dempster, N. M. Laird, D. B. Rubin, Maximum likelihood from incomplete data via the EM algorithm, Journal of the Royal Statistical Society: Series B (Methodological) 39 (1977) 1–22.
  19. [19] B. Guo, X. Zhang, Z. Wang, M. Jiang, J. Nie, Y. Ding, J. Yue, Y. Wu, How close is ChatGPT to human experts? comparison corpus, evaluation, and detection, 2023. ArXiv:2301.07597.
  20. [20] L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agar- wal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, R. Lowe, Training language models to follow in- structions with human feedback, in: Advances in Neural Information Processing Systems, volume 35, 2022, pp. 27730–27744.
  21. [21] OpenAI, Introducing ChatGPT, OpenAI, 2022. Accessed April 27, 2026.
  22. [22] OpenAI, GPT-5.4 Thinking system card, OpenAI, 2026. Accessed April 27, 2026.
  23. [23] OpenAI, Introducing GPT-5.4, OpenAI, 2026. Accessed April 27, 2026.
  24. [24] OpenAI, Introducing GPT-5.4 mini and nano, OpenAI, 2026. Accessed April 27, 2026.
  25. [25] Gemini Team, Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context, 2024. ArXiv:2403.05530.
  26. [26] Google, Gemini 3 Flash preview, Google AI for Developers, 2026. Accessed April 27, 2026.
  27. [27] Google, Gemini 3.1 Flash-Lite preview, Google AI for Developers, 2026. Accessed April 27, 2026.
  28. [28] Google, Gemini 3.1 Pro preview, Google Cloud Vertex AI documentation, 2026. Accessed April 27, 2026.
  29. [29] Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettle- moyer, V. Stoyanov, RoBERTa: A robustly optimized BERT pretraining approach, 2019. ArXiv:1907.11692.
  30. [30] D. Ippolito, D. Duckworth, C. Callison-Burch, D. Eck, Automatic detection of generated text is easiest when humans are fooled, in: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020, pp. 1808–1822.
  31. [31] X. Li, F. Ruan, H. Wang, Q. Long, W. J. Su, A statistical framework of watermarks for large language models: Pivot, detection efficiency and optimal rules, Annals of Statistics 53 (2025) 322–351. 44
  32. [32] S. Zhang, S. Roller, N. Goyal, M. Artetxe, M. Chen, S. Chen, C. Dewan, M. Diab, X. Li, X. V. Lin, T. Mihaylov, M. Ott, S. Shleifer, K. Shuster, D. Simig, P. S. Koura, A. Sridhar, T. Wang, L. Zettlemoyer, OPT: Open pre-trained transformer language models, 2022. ArXiv:2205.01068.
  33. [33] J. Li, X. Cheng, X. Zhao, J.-Y. Nie, J.-R. Wen, HaluEval: A large-scale hallucination evaluation benchmark for large language models, in: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics, Singapore, 2023, pp. 6449–6464.
  34. [34] X. Ma, B. Li, Y. Wang, S. M. Erfani, S. Wijewickrema, G. Schoenebeck, M. E. Houle, D. Song, J. Bailey, Characterizing adversarial subspaces using local intrinsic dimensional- ity, in: International Conference on Learning Representations, 2018.
  35. [35] A. Krizhevsky, G. Hinton, Learning multiple layers of features from tiny images, Technical Report, University of Toronto, Toronto, 2009.
  36. [36] A. Kurakin, I. J. Goodfellow, S. Bengio, Adversarial examples in the physical world, in: Artificial Intelligence Safety and Security, Chapman and Hall/CRC, 2018, pp. 99–112.
  37. [37] S.-M. Moosavi-Dezfooli, A. Fawzi, P. Frossard, DeepFool: A simple and accurate method to fool deep neural networks, in: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 2574–2582.
  38. [38] J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, L. Fei-Fei, ImageNet: A large-scale hierar- chical image database, in: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2009, pp. 248–255.
  39. [39] H. Xue, A. Araujo, B. Hu, Y. Chen, Diffusion-based adversarial sample generation for improved stealthiness and controllability, in: Advances in Neural Information Processing Systems, volume 36, 2023, pp. 2894–2921.
  40. [40] K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recognition, in: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 770–778.
  41. [41] G. Huang, Z. Liu, L. van der Maaten, K. Q. Weinberger, Densely connected convolutional networks, in: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017, pp. 4700–4708.
  42. [42] B. Iglewicz, D. C. Hoaglin, How to Detect and Handle Outliers, ASQC Quality Press, Milwaukee, WI, 1993.
  43. [43] A. Beck, M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM Journal on Imaging Sciences 2 (2009) 183–202.
  44. [44] Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, 1st ed., Springer, New York, 2004.
  45. [45] A. Beck, First-Order Methods in Optimization, Society for Industrial and Applied Math- ematics, Philadelphia, PA, 2017.
  46. [46] R. G. Bartle, D. R. Sherbert, Introduction to Real Analysis, 4th ed., Wiley, New York, 2018. 45
  47. [47] R. A. Horn, C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, Cam- bridge, 2012.
  48. [48] C. Agostinelli, A. Leung, V. J. Yohai, R. H. Zamar, Robust estimation of multivariate location and scatter in the presence of cellwise and casewise contamination, TEST 24 (2015) 441–461.
  49. [49] M. Maechler, P. Rousseeuw, C. Croux, V. Todorov, A. Ruckstuhl, M. Salibian-Barrera, T. Verbeke, M. Koller, E. L. T. Conceicao, M. A. di Palma, robustbase: Basic Robust Statistics, 2026. R package version 0.99-7.
  50. [50] V. Todorov, P. Filzmoser, An object-oriented framework for robust multivariate analysis, Journal of Statistical Software 32 (2009) 1–47. 46