Skip to content

Prompt Inversion Attack Against LLM Collaborative InferencePrompt Inversion Attack against Collaborative Inference of Large Language Models

arXiv· arXiv:2503.09022· IEEE S&P 2025· Wenjie Qu, Yuguang Zhou, Yongji Wu, Tingsong Xiao, Binhang Yuan, Yiming Li, Jiaheng Zhang·Indexed by this site · 25 days ago· Originally publishedAttacks
AI summary

Researchers propose a prompt inversion attack (PIA) against LLM collaborative inference, in which a malicious participant in collaborative inference can use the intermediate activations transmitted by the previous participant to reconstruct that participant's input prompt. Collaborative inference lets users each host part of the model layers and transmit intermediate activations to reduce deployment costs, and companies are already building such platforms to use users' underutilized GPUs. Experiments show that on the Llama-65B model and the Skytrax dataset, when inverting the maximum number of Transformer layers, the attack achieves 88.4% token accuracy, while the best baseline method achieves only 22.8%. The authors state that the results validate the effectiveness of the attack and highlight its real-world privacy threat to LLM collaborative inference systems.

Read originalIEEE S&P 2025