Is Contrasting All You Need? Contrastive Learning for the Detection and Attribution of AI-generated Text

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: La Cava, Lucio, Costa, Davide, Tagarelli, Andrea
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910878368006144
author La Cava, Lucio
Costa, Davide
Tagarelli, Andrea
author_facet La Cava, Lucio
Costa, Davide
Tagarelli, Andrea
contents The significant progress in the development of Large Language Models has contributed to blurring the distinction between human and AI-generated text. The increasing pervasiveness of AI-generated text and the difficulty in detecting it poses new challenges for our society. In this paper, we tackle the problem of detecting and attributing AI-generated text by proposing WhosAI, a triplet-network contrastive learning framework designed to predict whether a given input text has been generated by humans or AI and to unveil the authorship of the text. Unlike most existing approaches, our proposed framework is conceived to learn semantic similarity representations from multiple generators at once, thus equally handling both detection and attribution tasks. Furthermore, WhosAI is model-agnostic and scalable to the release of new AI text-generation models by incorporating their generated instances into the embedding space learned by our framework. Experimental results on the TuringBench benchmark of 200K news articles show that our proposed framework achieves outstanding results in both the Turing Test and Authorship Attribution tasks, outperforming all the methods listed in the TuringBench benchmark leaderboards.
format Preprint
id arxiv_https___arxiv_org_abs_2407_09364
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Is Contrasting All You Need? Contrastive Learning for the Detection and Attribution of AI-generated Text
La Cava, Lucio
Costa, Davide
Tagarelli, Andrea
Computation and Language
Artificial Intelligence
Computers and Society
Human-Computer Interaction
Physics and Society
The significant progress in the development of Large Language Models has contributed to blurring the distinction between human and AI-generated text. The increasing pervasiveness of AI-generated text and the difficulty in detecting it poses new challenges for our society. In this paper, we tackle the problem of detecting and attributing AI-generated text by proposing WhosAI, a triplet-network contrastive learning framework designed to predict whether a given input text has been generated by humans or AI and to unveil the authorship of the text. Unlike most existing approaches, our proposed framework is conceived to learn semantic similarity representations from multiple generators at once, thus equally handling both detection and attribution tasks. Furthermore, WhosAI is model-agnostic and scalable to the release of new AI text-generation models by incorporating their generated instances into the embedding space learned by our framework. Experimental results on the TuringBench benchmark of 200K news articles show that our proposed framework achieves outstanding results in both the Turing Test and Authorship Attribution tasks, outperforming all the methods listed in the TuringBench benchmark leaderboards.
title Is Contrasting All You Need? Contrastive Learning for the Detection and Attribution of AI-generated Text
topic Computation and Language
Artificial Intelligence
Computers and Society
Human-Computer Interaction
Physics and Society
url https://arxiv.org/abs/2407.09364