Manuscript Offprint

arXiv:2609.02852

The Implications of Linguistic Illegibility for LLM Security

James Mickens

Abstract

LLMs are trained to generate natural language. However, various strands of evidence indicate that an LLM's externalized linguistic outputs and mechanically-extracted linguistic features can be an unreliable lens for understanding internal model computation. We introduce the term linguistic illegibility to broadly refer to scenarios in which an LLM's externalized or mechanically-probed language artifacts fail to represent how the model actually thinks. We argue that the specter of linguistic illegibility is unavoidable for LLMs whose internal computations are not directly expressed via language, but rather math over activation spaces (with lossy translations between activation spaces and natural language happening at the bookends). If linguistic illegibility is always possible, then security mechanisms that rely on a model's linguistic self-reporting (e.g., chain-of-thought monitoring, constitutional self-critique, activation probing for linguistically-defined feature vectors) can never be completely sound; the model sandbox will always need isolation techniques whose guarantees do not depend on reading a model's linguistic state at all. We argue that observing a model's outputs using taint tracking is a promising approach for an effective sandbox: regardless of how a model linguistically self-reports, a taint tracking policy can define, a priori, various pieces of system state that should never be influenced by model-produced data. We also discuss several additional sandboxing mechanisms (e.g., robust virtualization, third-party auditing of sandboxing configurations) which collectively provide a critical floor beneath linguistic monitoring, and would have mitigated recent sandbox exploits by frontier models.

1 Introduction

Large language models (LLMs) are increasingly entrusted with sensitive data, and increasingly empowered to autonomously interact with the physical world. Two critical security challenges arise. The first involves detection of misaligned intent: how can we detect when LLMs are planning to carry out behavior with harmful consequences? The second challenge is disruption of misaligned action: in situations where misaligned planning cannot be detected and derailed, how can we prevent a model from actually engaging with the external world in malicious ways?

In the classic literature on systems security, the disruption of misaligned action is called “sandboxing.” A sandbox ensures that code which tries to do harm cannot. Classic sandboxing techniques like system call filtering [20, 48], hardware virtualization [47, 72, 75], and network firewalling [32, 42, 64] are now employed in the LLM context too. For example, best practice dictates that an inference-as-a-service deployment should be decomposed using least privilege [61], such that each component (e.g., the inference engine, the RAG database, and the execution environment for model-generated code) is placed in a tightly-restricted container or VM [43, 44].

Preprint.

Detection of misaligned intent is also a goal of classic systems security. In the ideal world, harmful code would announce its goals using natural language that could be analyzed in straightforward ways. However, traditional programs (e.g., web browsers and video games) plan via code and externalize intent via system calls, managed runtime interactions, or other non-lingual means; as a result, intent detection traditionally relied on static code analysis [36, 52, 65] or dynamic observation of environmental interactions [7, 23, 83].

Unlike a traditional program, an LLM uses natural language as a primary interface with humans. Thus, a popular approach for detecting misaligned LLM intent is to treat a model's own language outputs as a diagnostic signal. Chain-of-thought traces are examined for signs of reward hacking or deception [7, 40]; constitutional self-critique asks a model to evaluate its own outputs against principles formulated in natural language [6, 13]; activation probes are trained to detect linguistically-framed concepts such as truthfulness, harmfulness, or planned deception [10, 50, 51]. These approaches have an obvious intuitive appeal: a model trained to receive natural-language inputs and generate natural-language outputs should have internal behaviors that are legible via linguistic analyses.

However, the robustness of these approaches is tied to whether the linguistically-decodable aspects of an LLM's state actually reflect the model's true intent. We use the phrase "linguistically decodable" by way of analogy to the phrase "linearly decodable" that is often used in the mechanistic interpretability literature. A linearly-decodable feature of model cognition is one that can be detected via a linear function applied to a hidden layer's activations. A linguistically-decodable feature is one that is defined in terms of natural language, and is extracted directly from a model's natural-language outputs or indirectly via mechanistic probes like sparse autoencoders [9] or logit lenses [57] which map language-level concepts like "happy" or "conflicted" to functions of activation vectors.

So, are an LLM's linguistically-decodable features guaranteed to reflect a model's internal computations? A growing body of empirical work says "no," and we argue that the problem is intrinsic to how LLMs are constructed (§2): there is no way to eliminate the possibility of semantic divergence between a model's natural-language outputs and its true planning goals. This lingering threat is particularly alarming given the rapid increase in model capabilities. As those capabilities continue to improve, we argue that the AI safety community must pay more attention to isolation mechanisms that do not rely the extraction of natural-language observations from increasingly byzantine models.

In Section 3, we propose some concrete design principles for a systems-level, non-linguistic sandbox for misaligned frontier models. A core idea is to aggressively track how model-generated outputs are used to derive new data and influence critical pieces of system state. Such taint tracking is critical because in many cases we can define, a priori, system state that models should not influence regardless of the model's ostensible or true planning process. For example, if a model should be isolated from the public internet, there is never a reason that model-influenced bytes should appear in an outbound network packet.

References (71)