arXiv:2610.40543cs.CROct 2026

Manuscript Offprint

arXiv:2610.40543

The Privacy and Security Risks of Edge LLM Optimization

Mingchen Li, Ren-Yi Huang, Dumindu Samaraweera, Prashant Shekhar, J. Morris Chang

Mingchen Li ID^{ID}

University of South Florida

Tampa, FL, USA

Ren-Yi Huang ID^{ID}

University of South Florida

Tampa, FL, USA

Prashant Shekhar ID^{ID}

Embry-Riddle Aeronautical University

Daytona Beach, FL, USA

Dumindu Samaraweera ID^{ID}

Embry-Riddle Aeronautical University

Daytona Beach, FL, USA

J. Morris Chang ID^{ID}

University of South Florida

Tampa, FL, USA

Abstract—Edge deployment of Large Language Models requires optimization techniques that reduce memory, computation, and energy costs. However, preserving task performance does not necessarily preserve security. We argue that optimization is an information transformation that can alter representations, decision pathways, and trust boundaries, creating security drift and optimization-induced attack surfaces.

INTRODUCTION

Large Language Models (LLMs) are rapidly moving beyond cloud-hosted services to edge platforms such as enterprise workstations, autonomous vehicles, industrial gateways, mobile devices, and tactical computing systems. Deploying intelligence closer to data sources offers compelling advantages, including reduced latency, improved privacy, greater operational resilience, and compliance with increasingly stringent data sovereignty requirements. These benefits have accelerated the adoption of edge AI across safety-critical domains, including healthcare, manufacturing, transportation, defense, and critical infrastructure.

However, edge platforms operate under strict memory, compute, and energy budgets. While quantization, pruning, model partitioning, parameter-efficient fine-tuning (PEFT), and emerging architectures (e.g., MoE, SSMs) make deployment feasible, they challenge a core AI security assumption: that an optimized model remains security-equivalent to its uncompressed baseline. The problem is that optimization does not simply make a model smaller or faster. It changes how information is represented, processed, distributed, or exposed. For instance, quantization changes numerical precision; pruning removes computational pathways; PEFT concentrates adaptation into a small set of parameters; and model partitioning moves intermediate representations across trust boundaries. Architectural approaches can similarly change routing, state representation, and execution pathways. Thus, an optimization that preserves average task utility can nevertheless alter properties that matter for security, including robustness margins, refusal behavior, activation separability, fault sensitivity, or the amount of information available to an observer.

We therefore argue that edge optimization should be viewed as an information transformation, rather than merely an engineering optimization. Let (T)(\mathcal{T}) represent a deployment operator that transforms an original model into an optimized representation. Conceptually, the process can be viewed as

Original model information

→T\xrightarrow{T} Distorted or redistributed

representation

→ Changed decision geometry or information exposure

→ Security drift.

The key observation is that optimization is usually guided by a task- or systems-oriented objective: preserve accuracy, reduce latency, minimize memory, or lower energy consumption. The information needed to satisfy these objectives, however, is not necessarily the same information that supports security. Compression and representation-learning perspectives provide a useful theoretical basis for this distinction: an optimization process selectively preserves information according to its objective and discards, restructures, or concentrates other information. Consequently, small changes in task utility do not imply equally small changes in security properties.

We term this phenomenon security drift: a shift in a model's security characteristics caused by an efficiency transformation. Security drift does not mean optimization always degrades safety, but rather that it alters the conditions under which security properties hold. An optimization may preserve benchmark accuracy while shifting responses near safety boundaries, increasing perturbation sensitivity, or exposing intermediate computations. Security must therefore be evaluated on the deployed representation. This perspective fundamentally expands the attack surface of edge LLMs beyond conventional threats like malicious prompts or API exploitation. Optimized deployments introduce new security-relevant assets: low-precision states, sparse structures, adaptation modules, intermediate activations, dynamic routing choices, and hardware execution pathways. Attackers exploit these properties because optimization changes where information resides, how it flows, and what becomes observable. We call these deployment-conditioned vulnerabilities optimization-induced attack surfaces (OIAS). Whether through numerical distortion, parameter removal, information concentration, or activation exposure, OIAS stem from a single origin: efficiency transformations reshape the model's security-relevant information structure.

This article examines this relationship across widely used and emerging approaches to efficient edge LLM deployment. We first establish the information-distortion perspective and explain how optimization can produce security drift. We then examine optimization-induced attack surfaces associated with quantization, pruning, model partitioning, and PEFT, followed by emerging security considerations in efficient architectures such as MoE and SSM-based models. Finally, with a case study, we discuss security-aware optimization and argue for deployment workflows that evaluate efficiency and security jointly rather than treating security as a post-optimization validation step. Our central message is simple: making an LLM smaller, faster, or more efficient can also change what information the system retains, where that information resides, and what an adversary can observe or manipulate. Trustworthy edge AI therefore requires optimizing not only for efficiency, but also for the preservation of security properties.