Intrinsic Dimension Estimation for Robust Detection of AI-Generated Texts
Authors:
Preprint
Abstract
Rapidly increasing quality of AI-generated content makes it difficult to distinguish between human and AI-generated texts, which may lead to undesirable consequences for society. Therefore, it becomes increasingly important to study the properties of human texts that are invariant over different text domains and varying proficiency of human writers, can be easily calculated for any language, and can robustly separate natural and AI-generated texts regardless of the generation model and sampling method. In this work, we propose such an invariant for human-written texts, namely the intrinsic dimensionality of the manifold underlying the set of embeddings for a given text sample. We show that the average intrinsic dimensionality of fluent texts in a natural language is hovering around the value $9$ for several alphabet-based languages and around $7$ for Chinese, while the average intrinsic dimensionality of AI-generated texts for each language is $\approx 1.5$ lower, with a clear statistical separation between human-generated and AI-generated distributions. This property allows us to build a score-based artificial text detector. The proposed detector's accuracy is stable over text domains, generator models, and human writer proficiency levels, outperforming SOTA detectors in model-agnostic and cross-domain scenarios by a significant margin.
Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden UnitsIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2021
- Ripser: efficient computation of Vietoris–Rips persistence barcodesJournal of Applied and Computational Topology, 2021
- Fractal dimension estimation with persistent homology: A comparative studyCommunications in Nonlinear Science and Numerical Simulation, 2019
- Persistent Homology and the Upper Box DimensionDiscrete & Computational Geometry, 2019
- Estimating the effective dimension of large biological datasets using Fisher separability analysis2019
- Extreme-value-theoretic estimation of local intrinsic dimensionalityData Mining and Knowledge Discovery, 2018
- LDMNet: Low Dimensional Manifold Regularized Neural Networks2018
- Machine Learning in Appearance-Based Robot Self-Localization2017
- Estimating the intrinsic dimension of datasets by a minimal neighborhood informationScientific Reports, 2017
- The framed Morse complex and its invariants1994