🤖 AI Summary
This study addresses the security–efficiency paradox arising when deploying large language models (LLMs) at the edge under resource constraints, where efficiency-oriented optimizations—such as quantization and pruning—introduce significant security and privacy vulnerabilities. The work presents the first systematic characterization of this inherent trade-off, introducing a deployment taxonomy grounded in memory walls, compute walls, and secondary walls. It formulates a unified constraint model to quantify the critical thresholds beyond which optimizations become unsafe and proposes a Security-Operational Efficiency Score (SOES) to guide deployment configurations. Through integrated analyses of model compression, threat modeling, privacy attack simulations, and multi-objective optimization, the framework jointly evaluates model accuracy, jailbreak resistance, and privacy preservation, delivering actionable guidelines and mitigation strategies for secure edge deployment of LLMs.
📝 Abstract
Large Language Models (LLMs) are rapidly moving from research settings into the wild, deployed on enterprise infrastructure, personal devices, and edge platforms. While cloud deployments offer scalable compute, concerns over data sovereignty, compliance, latency, and third-party dependence are driving organizations toward edge and on-premise LLMs. This shift introduces new security and privacy challenges: limited compute and memory force aggressive optimizations, including quantization, pruning, model partitioning, and parameter-efficient adaptation, each of which can introduce vulnerabilities and reshape the threat landscape. We describe this tension as the Security-Efficiency Paradox, mechanisms that improve efficiency may weaken robustness, expose new attack surfaces, or increase privacy risks. We examine how compression can degrade safety alignment, how partitioned inference enables reconstruction attacks, and how continuous local adaptation may cause privacy leakage and model drift. To analyze these risks, we introduce a deployment-centric taxonomy organized around three architectural constraints: the Memory Wall, the Quadratic Wall, and the Compute Wall. We derive a unified constraint model that quantifies when unsafe optimizations become unavoidable, linking each wall to specific attack surfaces. Building on this model, we propose the Secure Operational Efficiency Score (SOES), a holistic metric balancing task accuracy, jailbreak resistance, and privacy against energy, memory, and latency, enabling practitioners to configure edge LLMs under real-world hardware limits. We further present a practical decision procedure and targeted mitigations for each optimization-induced vulnerability. Together, these contributions provide a co-designed framework for jointly evaluating security, privacy, and efficiency, laying a foundation for securing edge-native intelligent systems.