Decoupling Logic from Persona: Structural Immunity of Edge LLM Agents to Context Pollution
On the map: LLM agents and tool use → Social simulation and multi-agent debate also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
Small language-model agents on edge devices must hold a persona and reason correctly at once, inside one context window that fills with conversational history and persona instructions. We study what happens to the logical part of such an agent when that history is long, misleading and persona-heavy (persona-logic interference), and present a Decoupling Architecture (AO-DA) that separates logical inference ("What") from persona expression ("How") into two inference paths on one INT4 base model with hot-swappable LoRA adapters. The logic path receives only the core turn and emits a verifiable structured state (Micro-State); the persona path renders it in character with the full history. In same-base-model ablations on an Apple M2 laptop (Llama-3.1-8B-Instruct and Gemma-3-4B-it, 4-bit; 480 runs over 4 pollution levels x 3 arms x 2 tasks x 2 personas x 5 seeds) we find: (i) the decoupled logic path is structurally invariant to pollution: its prompt stays at 180 (Llama) or 167 (Gemma) tokens while the mixed single-pass prompt grows from 242 to 1,203, and its outputs are byte-identical across levels (40/40); (ii) the mixed single pass degrades monotonically (composite logic score 0.669 to 0.150 on Llama, 0.487 to 0.150 on Gemma), mostly by failing to emit the required structured output (80-95% of runs on Llama, 100% on Gemma at the two highest levels); (iii) with the same pollution fed into the decoupled logic path, the dedicated-adapter, dedicated-format path is still more robust than the single pass on the 8B model (failure 0-20% vs 80-95%; paired Delta +0.30 to +0.50, Cliff's δ 0.50-0.85, Holm-adjusted p ≤ 0.03) but not on the 4B model, where both collapse. Separation costs one extra decode on a topic's first turn (28.2 s vs 18.2 s on Llama) and buys persona hot-swapping in 1.7 ms without re-running the logic path. Code, rubric, fixtures, adapters and logs are released.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. First posted on arXiv 7 Oct 2026.
Builds on
0 of 0 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Do LLMs Experience an Internal Polylogue? Investigating Reasoning through the Lens of Personas
- 2025CHOIR: Collaborative Harmonization fOr Inference Robustness
- 2026PICon: A Multi-Turn Interrogation Framework for Evaluating Persona Agent Consistency
- 2026PersonaTree: Structured Lifecycle Memory for Person Understanding in LLM Agents
- 2026Project Ariadne: A Structural Causal Framework for Auditing Faithfulness in LLM Agents
- 2026Closed-World Resolution Against Tool Hallucination in LLM Agents
- 2026Expert Personas Improve LLM Alignment but Damage Accuracy: Bootstrapping Intent-Based Persona Routing with PRISM
- 2026Verify Before You Commit: Towards Faithful Reasoning in LLM Agents via Self-Auditing