mlsanityData to 14 Oct 2026

Joint Optimization of Prompt Security and System Performance in Edge-Cloud LLM Systems

arXiv 2501.18663 ↗First posted 30 Jan 2025cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have significantly facilitated human life, and prompt engineering has improved the efficiency of these models. However, recent years have witnessed a rise in prompt engineering-empowered attacks, leading to issues such as privacy leaks, increased latency, and system resource wastage. Though safety fine-tuning based methods with Reinforcement Learning from Human Feedback (RLHF) are proposed to align the LLMs, existing security mechanisms fail to cope with fickle prompt attacks, highlighting the necessity of performing security detection on prompts. In this paper, we jointly consider prompt security, service latency, and system resource optimization in Edge-Cloud LLM (EC-LLM) systems under various prompt attacks. To enhance prompt security, a vector-database-enabled lightweight attack detector is proposed. We formalize the problem of joint prompt detection, latency, and resource optimization into a multi-stage dynamic Bayesian game model. The equilibrium strategy is determined by predicting the number of malicious tasks and updating beliefs at each stage through Bayesian updates. The proposed scheme is evaluated on a real implemented EC-LLM system, and the results demonstrate that our approach offers enhanced security, reduces the service latency for benign users, and decreases system resource consumption compared to state-of-the-art algorithms.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). First posted on arXiv 30 Jan 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Are My Optimized Prompts Compromised? Exploring Vulnerabilities of LLM-based Optimizers
  2. 2025Beyond the Benchmark: Innovative Defenses Against Prompt Injection Attacks
  3. 2024Recent advancements in LLM Red-Teaming: Techniques, Defenses, and Ethical Considerations
  4. 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Services
  5. 2025Prompt Optimization and Evaluation for LLM Automated Red Teaming
  6. 2024System-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspective
  7. 2024Exploring Vulnerabilities and Protections in Large Language Models: A Survey
  8. 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge