arXiv Machine Learning

KeHoSu: Keyed Homoglyph Substitution for Authenticated Text Provenance over Copy-Paste Channels

KeHoSu is a method that embeds a keyed identifier into text by selecting confusable Unicode characters during copy‑paste, allowing attribution of the text’s origin to a specific platform and user. The technique remains robust even when text is quoted in fragments or reordered, as it depends only on the retained length and a constant boundary layer. Experiments show that the embedded mark survives copy‑paste across 18 common platforms, correctly attributing most excerpts after as few as 167–178 characters.

arXiv AI
Sep 1

Disappearing Ink: Obfuscation Breaks N-gram Code Watermarks in Theory and Practice

The paper demonstrates that N‑gram based code watermarking schemes, widely used to identify machine‑generated code, are ineffective when faced with realistic code obfuscation. By modeling semantics‑preserving transformations as a Markov random walk and introducing the assumption of distribution consistency, the authors prove that obfuscation can drive the failure rate of any detector to nearly 1 minus its false‑positive rate. Extensive experiments across multiple watermarking methods, LLMs, languages, benchmarks, and obfuscators confirm that detectors collapse to near‑random performance (AUROC ≈ 0.5) after obfuscation.

By Gehao Zhang, Mingzhe Li, Eugene Bagdasarian, Shiqing Ma, Juan Zhai
arXiv Machine Learning
Sep 2

CopyShield: A Cross-Level Benchmark of Copyright Defenses in LLMs

CopyShield is a benchmark that compares three copyright‑defense methods—contrastive decoding, Direct Preference Optimization (DPO), and activation intervention—across two large language models (LLaMA‑3.1‑8B and Mistral‑7B‑v0.3). The study uses controlled memorization of five public‑domain books to measure literal leakage, calibrated non‑literal leakage, utility, and degeneracy, finding that each intervention level yields distinct compliance‑utility trade‑offs. Results show contrastive decoding limits degeneracy but hits a suppression floor, DPO nearly eliminates literal leakage yet causes paraphrase‑loop degeneracy, and activation intervention blocks most non‑literal queries before generation, with human evaluation highlighting coherence and perceived copyright risk differences.

By Maryam Alshehyari, Dushyant Singh Chauhan, Samuele Poppi, Martin Takac, Salem Lahlou, Nils Lukas
arXiv Computation and Language
Oct 23

Protection Is Not One Event: A Survey of RAG Protection Research by Measured Endpoint

The paper surveys 118 retrieval‑augmented generation (RAG) defense studies, categorizing them by the specific protection endpoint rather than the claimed goal or mechanism. It introduces a seven‑family taxonomy covering content disclosure, privacy proxies, access control, corpus‑use detection, and pipeline integrity, and reports high inter‑annotator agreement (kappa = 0.867). The survey highlights gaps: most studies target non‑primary endpoints, rely on generic QA datasets and non‑adaptive attacks, and fail to prevent private‑fact recovery even when verbatim copying is blocked.

By Peiyang Liu, Xi Wang, Di Liang, Youru Li, Zhi Cai, Wei Ye
arXiv Computation and Language
Sep 15

Beyond Surface Forms: A Comprehensive, Mechanism-Oriented Taxonomy of Indirect Linguistic Encoding for LLM-Based Coded Language Detection

arXiv:2606.27314v2 Announce Type: replace Abstract: To avoid moderation and surveillance on social media, some users routinely invent indirect linguistic expressions (ILE) that camouflage sensitive m...

By Hamid Reza Firoozfar, Mohammadsadegh Abolhasani, Reza Mousavi, Paul Jen-Hwa Hu
arXiv AI
Oct 31

Understanding and Mitigating Role Spoofing in LLMs

The paper investigates how large language models (LLMs) can be tricked into attributing text to the wrong role, a phenomenon called role spoofing. It shows that LLMs rely on both content cues (semantics and style) and structural cues (control tokens, formatting) to track who said what, making them vulnerable to attacks that combine fake structure and content. The authors demonstrate that adversarial training can mitigate content-based attacks but not structure-based ones, and propose a linear-probe method to detect role spoofing across settings.

By Ezra Edelman, Benjamin Edelman, Surbhi Goel, Eran Malach