Skip to content

PrivacyXray: Detecting Privacy Leakage in Large Language Models via Semantic Coherence and Probabilistic CertaintyPrivacyXray: Detecting Privacy Breaches in LLMs through Semantic Consistency and Probability Certainty

arXiv· arXiv:2506.19563· USENIX Security 2025· Jinwen He, Yiyang Lu, Zijin Lin, Kai Chen, Yue Zhao·Indexed by this site · 20 days ago· Originally publishedDefenses
AI summary

PrivacyXray detects privacy leakage in reasoning by analyzing the internal states of large language models, achieving an average accuracy of 92.69% across five LLMs. The method is based on the fact that when a model outputs correct private information, semantic coherence and probabilistic certainty are higher; it makes judgments using four metrics—intra-layer and inter-layer semantic similarity, and token-level and sentence-level probability distributions—and uses synthetic privacy data to eliminate dependence on external validation data. Compared with state-of-the-art methods, average accuracy improves by 20.06%.

Read originalUSENIX Security 2025