Condensing Law of Security Information
Abstract
Scaling laws indicate that the generalization error of a large language model (LLM) decreases monotonically with model size once data is sufficient, and the corollary that larger models outperform smaller ones is now widely accepted. We argue that this corollary fails in security: decisions there hinge on anomalous inputs, which are long-tailed (e.g., zero-day attacks) and therefore poorly served by likelihood fitting. Worse still, the capability brought about by scale (e.g., inferring the intended whole from a corrupted part) leads a LLM silently \emph{repair} the anomaly before any downstream security head ever sees it. We formalize this as a tradeoff between two quantities: the cognitive capability that a model holds about the world distribution, and the security-information retention that survives in its intermediate representation. We derive three information-theoretic bounds to connect them: an upper bound on restoration accuracy in terms of , an upper bound on in terms of the restoration error, and a Fano lower bound on security-task error in terms of . These theorems approximately imply that usable security information is a product of how much security information survives and how well it can be extracted, indicating that optimal usable security information can be achieved at a certain model size. We state this as the \emph{condensing law of security information}: usable security information is unimodal in model size, so security generalization error is U-shaped and is minimized at a finite rather than decreasing without bound. The experiments on various real-world LLMs validate the condensing law, indicating that there is an optimal model size to solve security issues.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.LG
Related papers
Information Security Risk Preparedness in Electronic Data Interchange: A Comparative Assessment of General IT and Healthcare Environments
Shared title terminologycs.CRNaresh Kshetri, Bishwo Prakash Pokharel, Arati Bastakoti et al.
Harvesting Apple's Orchard: A Security Analysis of On-Device CoreML Models Across the Apple Ecosystem
Shared title terminologycs.CRJustice Owusu Agyemang, Winifred Harriet Asante, Kwame Opuni-Boachie Obour Agyekum et al.
Evaluating LLM Security Review Agents with Operationally Sourced Ground Truth
Shared title terminologycs.CRMudita Khurana, Karim Liman-Tinguiri
Trustworthy Edge AI: Security, Privacy, and Resilience for Distributed Intelligence
Shared title terminologycs.CRJaydip Sen, Subhasis Dasgupta
Scoring Recovery-Time Agent Security: Proposals, Effects, and Retry Instructions
Shared title terminologycs.CRPaul Deepakraj Retinraj
Attributing Security Outcomes in LLM-Agent Evaluations: The Role of Content-Free State
Shared title terminologycs.CRAbdelmonaim Bounite, Zangir Iklassov