GMDRA: Optimizing Edge-Cloud LLM Security and Efficiency via Game-Theoretic Detection Resource Allocation
Large language models (LLMs) have made notable advancements across various dimensions of human experience, while prompt engineering has further refined their capability and efficiency in generating relevant, high-quality outputs. Nonetheless, the rise of prompt engineering has also led to an increase in prompt attacks, resulting in critical issues such as privacy breaches, increased latency, and inefficient resource utilization. Existing security mechanisms based on Reinforcement Learning from Human Feedback often fall short in addressing the complexities posed by these diverse prompt attacks, emphasizing the pressing need for effective prompt security mechanisms. The prompt detection model serves as an effective supplementary measure to ensure the safety of large model outputs. However, the current detection mechanism checks all prompts, which increases system resource consumption and user latency. In this paper, we present a holistic analysis of prompt security, service latency, and resource optimization within Edge-Cloud LLM (EC-LLM) systems confronted with various prompt attack scenarios. To strengthen prompt security, we introduce a novel, lightweight attack detection mechanism that uses vector databases. We conceptualize the intricate interplay between prompt detection, latency, and resource optimization within a 2-stage dynamic Bayesian game framework. A reproducible equilibrium strategy is derived by estimating the potential number of malicious tasks and updating beliefs iteratively at each stage using Bayesian methods. Our proposed solution has been rigorously evaluated in a practical EC-LLM system, yielding results that highlight significant enhancements in security, reductions in service latency for legitimate users, and decreased overall resource consumption compared to current leading algorithms.
- Link
- https://www.semanticscholar.org/paper/ac972aecf875ec71a515382b0e06d687ac9077a7
- Found by
- Semantic Scholar
- Authors
- Haiyang Huang, Jianxiong Guo, Tianhui Meng, Wenmian Yang, Tian Wang, Weijia Jia
- Categories
- evaluation
- Published
- 2026-09-01
- Last seen by the radar
- 2026-09-03
- Citations
- 0
- Influential citations
- 0
- Radar score
- 26.75 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1109/TMC.2026.3676410