Skip to content

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

arXiv· arXiv:2507.16372· USENIX Security 2025· Tian Dong, Yan Meng, Shaofeng Li, Guoxing Chen, Zhen Liu, Haojin Zhu·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The researchers propose four LLM internal state inversion attacks, challenging the assumption that deep internal states are irreversible. Two white-box optimization attacks target low-depth and high-depth internal states respectively, using two-stage inversion to avoid falling into local optima; the black-box version exploits transferability between source and derived models, and there is also a generative attack that treats inversion as a translation task. Evaluated on long and short prompts from medical consultation and coding assistance datasets across 6 LLMs, a 4,112-token medical consultation prompt at the middle layer of Llama-3 can be nearly perfectly reconstructed, with a token matching F1 of 86.88. The authors also evaluate four practical defenses and find that none can fully prevent internal state inversion.

Read originalUSENIX Security 2025