paper-with-me

Papers

Depth Gives a False Sense of Privacy: LLM Internal States Inversion

2025-07-22 · Tian Dong, Yan Meng, Shaofeng Li, Guoxing Chen, Zhen Liu, Haojin Zhu arxiv

Large Language Models (LLMs) are increasingly integrated into daily routines, yet they raise significant privacy and safety concerns. Recent research proposes collaborative inference, which outsources the early-layer inference to ensure data locality, and introduces model safety auditing based on inner neuron patterns. Both techniques expose the LLM's Internal States (ISs), which are traditionally considered irreversible to inputs due to optimization challenges and the highly abstract representations in deep layers. In this work, we challenge this assumption by proposing four inversion attacks that significantly improve the semantic similarity and token matching rate of inverted inputs. Specifically, we first develop two white-box optimization-based attacks tailored for low-depth and high-depth ISs. These attacks avoid local minima convergence, a limitation observed in prior work, through a two-phase inversion process. Then, we extend our optimization attack under more practical black-box weight access by leveraging the transferability between the source and the derived LLMs. Additionally, we introduce a generation-based attack that treats inversion as a translation task, employing an inversion model to reconstruct inputs. Extensive evaluation of short and long prompts from medical consulting and coding assistance datasets and 6 LLMs validates the effectiveness of our inversion attacks. Notably, a 4,112-token long medical consulting prompt can be nearly perfectly inverted with 86.88 F1 token matching from the middle layer of Llama-3 model. Finally, we evaluate four practical defenses that we found cannot perfectly prevent ISs inversion and draw conclusions for future mitigation design.

📄 PDF Abstract BibTeX arXiv:2507.16372

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Similarity

Similar Papers 제목 키워드 기반

Textual Unlearning Gives a False Sense of Unlearning

2024-06-19 · Jiacheng Du, Zhibo Wang, Jie Zhang, Xiaoyi Pang 외

Language Models (LMs) are prone to ''memorizing'' training data, including substantial sensitive user information. To mitigate privacy risks and safeguard the right to be forgotten, machine unlearning has emerged as a pr…

Machine Unlearning

Gradient Obfuscation Gives a False Sense of Security in Federated Learning

2022-06-08 · Kai Yue, Richeng Jin, Chau-Wai Wong, Dror Baron 외

Federated learning has been proposed as a privacy-preserving machine learning framework that enables multiple clients to collaborate without sharing raw data. However, client privacy protection is not guaranteed by desig…

Federated Learningimage-classificationImage ClassificationPrivacy Preserving+2

Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacy

2022-10-31 · Daphne Ippolito, Florian Tramèr, Milad Nasr, Chiyuan Zhang 외

Studying data memorization in neural language models helps us understand the risks (e.g., to privacy or copyright) associated with models regurgitating training data and aids in the development of countermeasures. Many p…

MemorizationOpen-Ended Question AnsweringStyle Transfer

A False Sense of Privacy: Evaluating Textual Data Sanitization Beyond Surface-level Privacy Leakage

2025-04-28 · Rui Xin, Niloofar Mireshghallah, Shuyue Stella Li, Michael Duan 외

Sanitizing sensitive text data typically involves removing personally identifiable information (PII) or generating synthetic data under the assumption that these methods adequately protect privacy; however, their effecti…

MedQA

When Safety Blocks Sense: Measuring Semantic Confusion in LLM Refusals

2025-11-30 · Riad Ahmed Anonto, Md Labid Al Nahiyan, Md Tanvir Hassan arxiv

Safety-aligned language models often refuse prompts that are actually harmless. Current evaluations mostly report global rates such as false rejection or compliance. These scores treat each prompt alone and miss local in…