paper-with-me

Papers

RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patterns

2025-08-18 · Xin Chen, Junchao Wu, Shu Yang, Runzhe Zhan, Zeyu Wu, Ziyang Luo, Di Wang, Min Yang, Lidia S. Chao, Derek F. Wong arxiv

Detecting content generated by large language models (LLMs) is crucial for preventing misuse and building trustworthy AI systems. Although existing detection methods perform well, their robustness in out-of-distribution (OOD) scenarios is still lacking. In this paper, we hypothesize that, compared to features used by existing detection methods, the internal representations of LLMs contain more comprehensive and raw features that can more effectively capture and distinguish the statistical pattern differences between LLM-generated texts (LGT) and human-written texts (HWT). We validated this hypothesis across different LLMs and observed significant differences in neural activation patterns when processing these two types of texts. Based on this, we propose RepreGuard, an efficient statistics-based detection method. Specifically, we first employ a surrogate model to collect representation of LGT and HWT, and extract the distinct activation feature that can better identify LGT. We can classify the text by calculating the projection score of the text representations along this feature direction and comparing with a precomputed threshold. Experimental results show that RepreGuard outperforms all baselines with average 94.92% AUROC on both in-distribution (ID) and OOD scenarios, while also demonstrating robust resilience to various text sizes and mainstream attacks. Data and code are publicly available at: https://github.com/NLP2CT/RepreGuard

📄 PDF Abstract BibTeX arXiv:2508.13152

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hidden in Plain Sight: Where Developers Confess Self-Admitted Technical Debt

2025-11-03 · Murali Sridharan, Mikel Robredo, Leevi Rantala, Matteo Esposito 외 arxiv

Context. Detecting Self-Admitted Technical Debt (SATD) is crucial for proactive software maintenance. Previous research has primarily targeted detecting and prioritizing SATD, with little focus on the source code afflict…

Hidden in the Noise: Two-Stage Robust Watermarking for Images

2024-12-05 · Kasra Arabi, Benjamin Feuer, R. Teal Witter, Chinmay Hegde 외

As the quality of image generators continues to improve, deepfakes become a topic of considerable societal debate. Image watermarking allows responsible model owners to detect and label their AI-generated content, which …

Steer-to-Detect: Probing Hidden Representations for Detection of LLM-Generated Texts

2026-05-13 · Luxu Liang, Xiang Li arxiv

The rapid advancement of large language models (LLMs) has made machine-generated text increasingly difficult to distinguish from human-written text. While recent studies explore leveraging internal representations of lan…

Imitate Before Detect: Aligning Machine Stylistic Preference for Machine-Revised Text Detection

2024-12-11 · Jiaqi Chen, Xiaoye Zhu, Tianyang Liu, Ying Chen 외

Large Language Models (LLMs) have revolutionized text generation, making detecting machine-generated text increasingly challenging. Although past methods have achieved good performance on detecting pure machine-generated…

Text DetectionText Generation

Detecting AI-Generated Images via Distributional Deviations from Real Images

2026-01-07 · Yakun Niu, Yingjian Chen, Lei Zhang arxiv

The rapid advancement of generative models has significantly enhanced the quality of AI-generated images, raising concerns about misinformation and the erosion of public trust. Detecting AI-generated images has thus beco…