CRCLSep 2, 2024

Membership Inference Attacks Against In-Context Learning

arXiv:2409.01380v155 citationsh-index: 17
Originality Incremental advance
AI Analysis

This addresses privacy risks for users of large language models in real-world applications, though it is incremental as it builds on existing attack frameworks.

The paper tackles the vulnerability of In-Context Learning (LLMs) to privacy attacks by developing the first membership inference attack using only generated texts, achieving up to 95% accuracy advantage over existing methods and proposing defenses that reduce privacy leakage.

Adapting Large Language Models (LLMs) to specific tasks introduces concerns about computational efficiency, prompting an exploration of efficient methods such as In-Context Learning (ICL). However, the vulnerability of ICL to privacy attacks under realistic assumptions remains largely unexplored. In this work, we present the first membership inference attack tailored for ICL, relying solely on generated texts without their associated probabilities. We propose four attack strategies tailored to various constrained scenarios and conduct extensive experiments on four popular large language models. Empirical results show that our attacks can accurately determine membership status in most cases, e.g., 95\% accuracy advantage against LLaMA, indicating that the associated risks are much higher than those shown by existing probability-based attacks. Additionally, we propose a hybrid attack that synthesizes the strengths of the aforementioned strategies, achieving an accuracy advantage of over 95\% in most cases. Furthermore, we investigate three potential defenses targeting data, instruction, and output. Results demonstrate combining defenses from orthogonal dimensions significantly reduces privacy leakage and offers enhanced privacy assurances.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes