PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 27, 2026ACM Transactions on Software Engineering and Methodology2 citations

LLMGuard : Safeguarding Real-Time Inference for Large Language Models on Edge Devices

View Full Paper
YSYu SunGXGaojian XiongJLJianhua Liu

Key Points

  • The research aims to enhance the security of large language models during real-time inference on edge devices, addressing vulnerabilities to model theft.
  • Developed a Bayesian theory framework for model stealing attacks.
  • Introduced Intrinsic Parameters Shielding to protect private model parameters.
  • Implemented Random Slices Composition to obfuscate intermediate distributions.
  • Conducted experimental validation on LLaMA-7B model.
  • Achieved a 43x increase in inference speed compared to fully-shielded methods.
  • Downgraded model to black-box inference with negligible accuracy loss.
  • Significantly reduced secure memory requirements for large language models.

Abstract

TEE-shielded secure inference offers an efficient solution to protect valuable edge-deployed models from potential thefts. Nevertheless, existing methods are lack of theoretical security analysis, failing to achieve the optimal security. Furthermore, while feasible for small models, existing methods are excessively heavyweight for Large Language Models (LLM). For LLaMA-7B, they introduce GB-level secure memory requirement and hundredfold inference latency, severely compromising real-time utility. To solve these problems, we first present a Bayesian theory framework of Model Stealing (MS) attacks, which decomposes MS into prior and posterior knowledge leakage. Based on this framework, LLMGuard is proposed, which presents two components: First, Intrinsic Parameters Shielding is designed to shield all private parameters, preventing prior knowledge leakage. This approach significantly decreases the secure memory usage and achieves inference speedup. Second, since OTP is not applicable to LLMs, Random Slices Composition is developed to obfuscate intermediate distributions with no computational overhead, minimizing posterior knowledge leakage efficiently. Experimental results demonstrate that LLMGuard downgrades model to black-box inference with negligible accuracy loss, while delivering \ (43\) inference speedup on LLaMA compared to fully-shielded methods. The proposed LLMGuard effectively addresses concerns related to intellectual property theft on edge, boosting the secure deployment of LLMs on untrusted devices.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Sun et al. (2026) studied this question.

synapsesocial.com/papers/69a13591ed1d949a99abf8ffhttps://doi.org/10.1145/3799230
Ask AI
Helpful
Bookmark
Share
View Full Paper