arXiv:2611.04315cs.AINov 2026

Manuscript Offprint

arXiv:2611.04315

Drift No More: Spectral Locking for Long-Horizon Open-Weight Multi-Agent AI

Vishal Pramanik, Maisha Maliha, Susmit Jha, Sumit Kumar Jha

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Long-horizon multi-agent systems suffer from three tightly coupled failures: task drift, role drift, and state staleness. We test the hypothesis that these share a common representational cause: agent hidden states move away from the directions encoding the active task, assigned role, and current shared state. A pilot study over 14,832 annotated turns supports this: drifted turns collapse near-uniformly across all three anchor subspaces (pairwise r=0.72–0.78r=0.72–0.78). Existing methods address these failures separately, operating at the surface-text level or treating control directions independently. We introduce ATLAS (Algebraic Task–role Locking with Adaptive Spectral Memory), a training-free intervention acting on hidden states before a token is generated. ATLAS builds a positive-semidefinite anchor kernel over task, role, and state subspaces and steers hidden states toward their shared high-coherence eigendirections; a low-rank Gram decomposition keeps this tractable. Across long-horizon memory, state maintenance, tool use, least-privilege coordination, and embodied stress tests, ATLAS outperforms prompting, retrieval, memory, and activation-steering baselines. Against A-MEM it improves memory macro-average accuracy by up to 5.7 points and reduces write/read failures by up to 31.7%/24.8%; against MemoryArena-Agent it gains up to 4.8 points. It gains 10.7–12.1 points under perturbation, reaches 93.5% role consistency, and transfers to a 72B backbone (macro-average 61.0 vs. 56.2). Ablating the joint task–role–state span costs 7.2 points against 0.8 for a matched-rank random span, indicating these directions are functionally implicated, not incidental; supplying them by prompt or retrieval recovers 4.3 points less. ATLAS is therefore a representation-level controller for open-weight multi-agent systems, complementary to output-level protocols for black-box agents.¹

Figure

Figure 1: Anchor alignment at layer ℓ∗\ell^* over 14,832 annotated turns (200 ten-agent Qwen3-8B conversations). Drifted turns collapse from ~0.80 to ~0.43, near-uniformly across all three anchors.

1 Introduction

Large language model agents are increasingly deployed as collaborative systems in which multiple specialized agents plan, retrieve, write memory, call tools, verify outputs, and coordinate over long interaction traces (Li et al., 2023a; Wu et al., 2023; Park et al., 2023). This decomposition is useful when a task requires persistent memory, role specialization, and tool-mediated execution rather than a single monolithic response. It also creates a failure mode that ordinary single-turn accuracy does not capture: as an interaction lengthens, an agent may continue to produce fluent, locally plausible text while its internal representation moves away from the active task, its assigned role, or the latest shared state. We refer to these three coupled failures as task drift, role drift, and state staleness. Recent memory and agent benchmarks show that long-term conversational memory, on-policy state maintenance, and multi-session memory use remain difficult even for strong LLM systems (Hu et al., 2026; Jiayang et al., 2026; He et al., 2026). In a long-horizon multi-agent workflow, a single stale write, role-inappropriate assertion, or unauthorized tool action can propagate across many downstream

¹Code: https://github.com/VishalPramanik/ATLAS

Figure

Figure 2: Overview of ATLAS. ATLAS constructs task, role, and state anchor subspaces at layer ℓ∗\ell^*, combines them into an agent-specific low-rank PSD kernel F(t)(F(t))⊤F^{(t)}(F^{(t)})^\top, and steers hidden states toward coherent high-eigenvalue directions. The state component is updated by uniformly decaying existing state eigenvalues and appending a novel residual direction when ν>ρ\nu > \rho, after which the corrected hidden state is passed to downstream layers.

turns.

Existing approaches address parts of this problem, but at different control surfaces. Role prompts and structured-agent frameworks specify agent responsibilities, yet a prompt-level schema does not itself maintain the model's internal task–role–state representation over a long trajectory (Li et al., 2023a). Retrieval-augmented and agentic-memory systems improve access to past information, but they do not directly correct a hidden state that is already using stale or role-inappropriate information (Park et al., 2023; Xu et al., 2025). Scoped-context methods enforce access boundaries rather than repairing representational drift (Agostino and D'Souza, 2026). Activation-steering methods do intervene inside the model, but commonly construct control directions independently, whereas task, role, and state constraints in collaborative work are coupled (Turner et al., 2023). Each therefore improves one isolated aspect of coordination—prompt discipline, retrieval, memory organization, or activation control—without jointly stabilizing task, role, and state. The question addressed here is specifically representation-level: when intermediate model states are accessible, can a single intervention preserve the shared geometry of task, role, and evolving state over a long interaction?

We introduce ATLAS, an anchor-kernel inter-

vention for this setting. For each agent, ATLAS represents the active task, assigned role, and current shared state as subspaces at an intervention layer, and combines them into a single positive-semidefinite kernel that retains their overlap. Hidden states are then steered toward directions that are jointly supported by these anchors, and the state component is refreshed as the conversation evolves. This places ATLAS at a different control surface from output-level role enforcement, which inspects or revises a message at the agent boundary and therefore needs no access to internal activations: ATLAS instead requires hidden-state access and corrects the representation during generation, before a token is emitted.

Our contributions are threefold. First, we formulate task drift, role drift, and state staleness as coupled representational failures in long-horizon multi-agent systems, and support this with a pilot study over 14,832 annotated turns. Second, we develop a low-rank spectral anchor kernel with adaptive state refresh for inference-time hidden-state correction. Third, we evaluate the method across homogeneous, expanded, and heterogeneous teams on long-horizon memory, interactive state maintenance, tool use, least-privilege coordination, and appendix-only embodied stress tests, and probe the functional role of the learned anchor geometry through targeted subspace removal. The resulting evidence establishes when a representation-level controller helps, and where its access assumptions limit deployment.

References (14)