paper-with-me

홈 › Papers

Zero-Shot Detection of LLM-Generated Text using Token Cohesiveness

2024-09-25 · Shixuan Ma, Quan Wang

The increasing capability and widespread usage of large language models (LLMs) highlight the desirability of automatic detection of LLM-generated text. Zero-shot detectors, due to their training-free nature, have received considerable attention and notable success. In this paper, we identify a new feature, token cohesiveness, that is useful for zero-shot detection, and we demonstrate that LLM-generated text tends to exhibit higher token cohesiveness than human-written text. Based on this observation, we devise TOCSIN, a generic dual-channel detection paradigm that uses token cohesiveness as a plug-and-play module to improve existing zero-shot detectors. To calculate token cohesiveness, TOCSIN only requires a few rounds of random token deletion and semantic difference measurement, making it particularly suitable for a practical black-box setting where the source model used for generation is not accessible. Extensive experiments with four state-of-the-art base detectors on various datasets, source models, and evaluation settings demonstrate the effectiveness and generality of the proposed approach. Code available at: \url{https://github.com/Shixuan-Ma/TOCSIN}.

📄 PDF Abstract BibTeX arXiv:2409.16914

Code (1)

shixuan-ma/tocsin 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

Zero-Shot Detection of Machine-Generated Codes

2023-10-08 · Xianjun Yang, Kexun Zhang, Haifeng Chen, Linda Petzold 외

This work proposes a training-free approach for the detection of LLMs-generated codes, mitigating the risks associated with their indiscriminate usage. To the best of our knowledge, our research is the first to investiga…

Language ModellingText Detection

Telescope: Improving Zero Shot Detection of LLM Generated Content By Measuring Token Repetition Probability

2026-07-05 · Christopher Nassif, Josh F. Cooper arxiv

Distinguishing Large Language Model (LLM) generated text from human writing is a critical and difficult challenge. While LLMs are trained to write like humans, we hypothesize that this training leaves an indelible mark. …

Zero-Shot Video Captioning with Evolving Pseudo-Tokens

2022-07-22 · Yoad Tewel, Yoav Shalev, Roy Nadler, Idan Schwartz 외

We introduce a zero-shot video captioning method that employs two frozen networks: the GPT-2 language model and the CLIP image-text matching model. The matching score is used to steer the language model toward generating…

Image CaptioningImage-text matchingLanguage ModelingLanguage Modelling+5

Short-PHD: Detecting Short LLM-generated Text with Topological Data Analysis After Off-topic Content Insertion

2025-04-01 · Dongjun Wei, Minjia Mao, Xiao Fang, Michael Chau

The malicious usage of large language models (LLMs) has motivated the detection of LLM-generated texts. Previous work in topological data analysis shows that the persistent homology dimension (PHD) of text embeddings can…

LLM-generated Text DetectionText DetectionTopological Data Analysis

The Impact of Prompts on Zero-Shot Detection of AI-Generated Text

2024-03-29 · Kaito Taguchi, Yujie Gu, Kouichi Sakurai

In recent years, there have been significant advancements in the development of Large Language Models (LLMs). While their practical applications are now widespread, their potential for misuse, such as generating fake new…

Text Generation