Artificial Text Detection via Examining the Topology of Attention Maps
Laida Kushnareva, Daniil Cherniavskii, Vladislav Mikhailov, Ekaterina, Artemova, Serguei Barannikov, Alexander Bernstein, Irina Piontkovskaya,, Dmitri Piontkovski, Evgeny Burnaev

TL;DR
This paper introduces topological data analysis features for detecting AI-generated text, demonstrating improved robustness and interpretability over existing methods, especially against unseen generative models.
Contribution
It proposes three novel topological features based on TDA for artificial text detection, showing superior performance and robustness compared to baseline methods.
Findings
Topological features outperform baselines by up to 10% on key datasets.
Features are more robust against unseen GPT-style models.
TDA features are sensitive to surface and syntactic properties.
Abstract
The impressive capabilities of recent generative models to create texts that are challenging to distinguish from the human-written ones can be misused for generating fake news, product reviews, and even abusive content. Despite the prominent performance of existing methods for artificial text detection, they still lack interpretability and robustness towards unseen models. To this end, we propose three novel types of interpretable topological features for this task based on Topological Data Analysis (TDA) which is currently understudied in the field of NLP. We empirically show that the features derived from the BERT model outperform count- and neural-based baselines up to 10\% on three common datasets, and tend to be the most robust towards unseen GPT-style generation models as opposed to existing methods. The probing analysis of the features reveals their sensitivity to the surface and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopological and Geometric Data Analysis · Misinformation and Its Impacts · Advanced Graph Neural Networks
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Linear Warmup With Linear Decay · Softmax · Attention Dropout · Dense Connections · Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Adam
