Skip to content

SecPE: Secure Prompt Ensembling for Privacy-Preserving and Robust Large Language ModelsSecPE: Secure Prompt Ensembling for Private and Robust Large Language Models

arXiv· arXiv:2502.00847· ECAI· Jiawen Zhang, Kejia Chen, Zunlei Feng, Jian Lou, Mingli Song, Jian Liu, Xiaohu Yang·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

Researchers propose SecPE, which combines private inference with prompt ensembling to enhance adversarial robustness by aggregating large language model responses under multiple prompts while encrypting and protecting users' inference data. To address the inefficiency of directly combining the two techniques, SecPE designs an efficient fully homomorphic encryption (FHE) implementation for the core algorithmic module of prompt ensembling. Experiments on 8 tasks show that SecPE maintains high clean accuracy and, compared with baseline private inference methods, achieves better robustness at only 2.5% efficiency overhead; for the encrypted Argmax operation that causes the main slowdown, SecPE is 35.4 times faster than state-of-the-art comparable schemes.

Read originalECAI