AI Security ·
Limits of Semantic Monitoring in LLMs and Capability-Based Control
Why safety in agentic systems cannot depend on interpreting every internal representation or emergent protocol a model produces.
The central question regarding non-human languages in large language models is not whether an AI can invent its own code, but what happens when that code carries decisions we can no longer inspect.
In practice, the problem breaks down into four points:
- One physical limit: the context window is finite.
- Three distinct phenomena: interference degradation, contextual jailbreaks, and emergent communication.
- Two levels of defense: interpreting messages versus restricting effects.
- One design principle: a safe system does not rely on reading the model’s mind.
Disabling compaction does not create infinite memory
In tools such as Claude Code, automatic compaction triggers as the session approaches the context limit, clearing older tool outputs and summarizing prior history. Disabling that mechanism does not yield an infinite sliding memory.
The system simply continues accumulating tokens until the request exceeds the maximum input capacity. Before hitting that hard limit, contextual interference increases: stale instructions compete with recent information, contradictions emerge, and the model’s attention drifts toward irrelevant details. Once capacity is exceeded, execution fails with a prompt-too-long error. The official Claude Code documentation describes this behavior and recommends compacting or starting a clean session when context becomes unmanageable (how context works and prompt-too-long errors).
The model does not lose coherence arbitrarily; its output reflects degraded attention distributed across too many competing signals.
Safety and execution capability do not degrade together
It is tempting to assume that if a model degrades to the point of forgetting its safety constraints, it will also be too degraded to execute anything dangerous. That assumption does not hold.
Risk recognition, global planning, and local execution are separable capabilities. A model can lose track of a task’s overall purpose while retaining enough local competence to write a valid function, invoke a tool, or follow a concrete operational sequence:
reduced global comprehension
+ reduced risk recognition
+ intact local execution
= unpredictable behavior with real side effects
Language as an attack surface
Safety alignment does not generalize uniformly across languages, particularly when safety training and evaluation were concentrated on high-resource languages.
This is not about discovering a secret passphrase that unlocks a guardrail. It is uneven generalization: the same intent can activate different internal representations and refusal rates depending on the language, translation, or code-switching used. Research on multilingual jailbreaks shows that this gap is measurable. Similarly, Anthropic documented many-shot jailbreaking, demonstrating that placing a large number of examples inside a long context can push a model toward behavior that contradicts its safety training.
Can a non-human language emerge?
If we define language broadly, an LLM’s internal representations are already non-human: they are vectors and activation patterns, not silent sentences in English or Spanish. Talking about a shared language between agents, however, requires a more specific structure:
symbols + regularities + shared meaning + interpreters
Two agents required to collaborate over a bandwidth-constrained channel could converge on abbreviations or encodings that no human designed. This requires neither consciousness nor an intent to deceive; rewarding communication efficiency during optimization is sufficient. Such a protocol can be functional without being cleanly translatable—knowing how to use a signal does not imply being able to explain it in natural language.
When an opaque protocol becomes a risk
A language is not dangerous because it looks unfamiliar. It becomes a risk when it obscures intent or bypasses controls built only for standard human text. A seemingly benign message could function as:
- a compressed instruction;
- a signal whose meaning drifted between agents;
- a way to evade text classifiers;
- a covert channel encoded via punctuation, ordering, timing, or token selection.
The decisive factor is what the receiver is permitted to do. If the receiver can only output text, the primary risk is informational. If it controls files, code, money, or infrastructure, an opaque signal translates directly into material actions.
Defense means controlling capabilities, not decoding every language
Attempting to inspect and translate every representation a model might invent is an asymmetric race. A more resilient architecture governs capabilities and external consequences:
potentially opaque message
↓
fallible model
↓
structured action request
↓
external validation of identity, scope, and permissions
↓
authorized effect
Even if two agents communicate through an unintelligible code, the system can enforce strict external invariants:
- no irreversible action without explicit authorization;
- no writes outside the permitted scope;
- secrets isolated except for explicitly declared operations;
- strict resource and tool limits;
- a verifiable audit log of every side effect.
Semantic monitoring asks what the model meant. Capability-based control asks what can happen even if we misunderstood it. The latter survives contextual degradation, ambiguity, and emergent protocols far better.
What is confirmed versus what remains speculation
Confirmed
- Long contexts induce interference and enable specific attacks.
- Model safety varies across languages and phrasings.
- Numerous in-context examples alter refusal probabilities.
- Models operate internally on non-linguistic representations.
Reasonable inference
- Agents optimized for collaboration can develop custom compressed protocols.
- Such protocols would be difficult to audit using purely textual filters.
Open speculation
- That current LLMs spontaneously develop an autonomous, rich, and stable language without training conditions that incentivize it.
- That an emergent protocol implies independent intent or evidence of consciousness.
An experimental setup to test the hypothesis
To investigate this responsibly, I would not try to provoke a clandestine language in a live environment. I would build an isolated sandbox with agents stripped of external tools and measure three things:
- whether a stable protocol emerges under channel constraints;
- whether that protocol can be externally translated or audited;
- whether effect controls maintain their invariants even when the protocol is entirely opaque.
The goal is not to prove that models conspire, but to verify which guarantees remain intact when we stop understanding every symbol emitted. We do not need to assume malice or hidden intent to take emergent communication seriously: we only need to recognize that optimizing communication creates new representations, and that security relying solely on interpreting words will always be more fragile than security built on bounding effects.