Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Models
Yang Bai, Ge Pei, Jindong Gu, Yong Yang, Xingjun Ma

TL;DR
This paper introduces the Special Characters Attack (SCA), a method exploiting special characters in training data to induce data leakage in large language models, revealing vulnerabilities and potential privacy risks.
Contribution
The paper demonstrates that special characters are potent triggers for data leakage in LLMs and proposes the SCA method to exploit this vulnerability, highlighting privacy concerns.
Findings
SCA effectively leaks diverse training data including code, web pages, and PII.
Special characters significantly increase the likelihood of data leakage.
Training data composition can be inferred from leaked outputs.
Abstract
Large language models (LLMs) have achieved remarkable performance on a wide range of tasks. However, recent studies have shown that LLMs can memorize training data and simple repeated tokens can trick the model to leak the data. In this paper, we take a step further and show that certain special characters or their combinations with English letters are stronger memory triggers, leading to more severe data leakage. The intuition is that, since LLMs are trained with massive data that contains a substantial amount of special characters (e.g. structural symbols {, } of JSON files, and @, # in emails and online posts), the model may memorize the co-occurrence between these special characters and the raw texts. This motivates us to propose a simple but effective Special Characters Attack (SCA) to induce training data leakage. Our experiments verify the high effectiveness of SCA against…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
MethodsSemantic Cross Attention
