Copied and Perturbed: A String-Based Likelihood-Ratio Membership Inference Attack on LLM In-Context Table Synthesis
Joshua WardHaoyuan ChengYue ZhangGuang Cheng
Dec 2026
Machine LearningCybersecurityData Science
Abstract
Large Language Models (LLMs) have recently been shown to be excellent generators of tabular synthetic data for small training datasets through in-context learning. Privacy audits of tabular synthetic data, however, largely rely on Membership Inference Attacks (MIAs) that search for overly dense regions of the feature space. LLMs instead generate a table as text: they memorize the categorical values and digit patterns of their context and often reproduce them with small numeric perturbations, a signal that feature-space attacks can miss. We propose the String Likelihood Ratio Attack (String-LRA), a no-box MIA that targets string memorization and perturbation in LLM-generated tabular data. String-LRA uses character and digit Witten-Bell Character Tries fit on a reference sample to estimate a likelihood ratio that weighs whether the values of a synthetic row were reproduced from a target record, exactly or within a neighborhood of its numeric strings, or drawn from the population by chance. In a benchmark of nine generators and 34 datasets, String-LRA outperforms existing string-space attacks and the strongest corresponding baseline among ten feature-space attacks for AUC on every generator. In ablations, we find that String-LRA is insensitive to hyperparameters, needs only a small reference sample to achieve most of its advantage and runs in about a second of CPU time, is model agnostic, and, at the shadow budget we test, matches shadow-model attacks that assume generator access and a much greater computational budget. We further use String-LRA to show that LLMs behaviorally differ in whether they copy values exactly or perturb them, and that many common defenses offer little protection against the attack.
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.
P. Abrahamsson, O. Salo, Jussi Ronkainen et al.· arXiv.org· 727 citations· ⚡54
The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.
M. Pikkarainen, Jukka Haikara, O. Salo et al.· Empirical Software Engineeri...· 401 citations· ⚡48
The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.
Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al.· Information and Software Tec...· 394 citations· ⚡54
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduNov 6, 2026
A machine-learning approach called CheMeleon provides a practical way to develop new drugs or other molecules with much less detailed, expensive experimentation.
Research Manager Mike Walker reflects on a career spanning hacker culture, cybersecurity, and AI, sharing lessons about trust, teamwork, leadership, and why solving difficult problems requires curiosity, judgment, agility—and an understanding of the rules. The post Learn the rules: The hacker mindset appeared first on Microsoft Research.
Learn how Google DeepMind and GovTech Singapore uses lightweight on-device Gemma models to intercept conversational scams in private chats with zero cloud data egress.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.