Skip to content

Spectral locking for multi-agent drift: what ATLAS fixes and what it needs

THE ARGUMENT

Task drift, role drift and state staleness are one geometric displacement inside an open-weight model, and ATLAS pulls the hidden state back toward the directions all three constraints share before each token is emitted, which beats prompting, retrieval, memory and activation-steering baselines at the cost of requiring hidden-state access.

On this page

A buyer holds a 12-agent pilot contract and one question — will the team still hold its role at turn 500? — but the demo only shows twenty turns. The usual advice is to read more transcripts, or to add a line to the system prompt reminding each agent who it is. Both only inspect what the model says, never where it was already leaning before it said it. This paper [1] splits drifting into three measurable displacements, then offers a correction that requires no retraining and no new weights.

Task drift, role drift, state staleness: the paper says one cause

The paper names three failures. Task drift: the conversation lengthens, the text stays fluent, but the agent is no longer doing the original job. Role drift: it starts asserting what its post should not assert, or deciding what its post should not decide. State staleness: the newest entry in shared memory is not used, an older version is. In the paper these are task drift, role drift and state staleness [1].

Four existing families each hold down one corner. Role prompts and structured agent frameworks specify duties in text. Retrieval and agentic memory improve whether old information can be fetched. Scoped-context methods fence off who may read what. Activation steering does reach inside the model, but builds control directions one at a time. The trouble is that collaboration entangles all three: a planner's next step is task-specific, constrained by its role, and conditioned on the latest memory, so a single internal direction can carry all three constraints at once.

Hence the hypothesis: the three drifts share one representational cause, namely that the hidden state — the vector a model computes internally before emitting a token — has moved away from the directions that encode task, role and current shared state. If that holds, one intervention repairing all three should beat three separate repairs. The rest of the paper tests the claim and maps where it breaks.

A 14,832-turn pilot: the three drifts collapse together

The evidence starts with a labelled pilot: 200 ten-agent Qwen3-8B conversations, 14,832 turns, each turn marked coherent or drifted by a frontier model as judge, with GPT-5.5 as primary evaluator and the full protocol in Appendix A8. For every turn the authors measure cosine similarity between the hidden state and three anchor subspaces — the direction sets spanned by task, role and current state.

Coherent turns stay strongly aligned with all three. Drifted turns drop across all three at once, near-uniformly, from about 0.80 to about 0.43. The drifts are also tightly coupled: task–role r = 0.78, task–state r = 0.74, role–state r = 0.72. The onset of one reliably predicts the others.

MeasurementCoherent turnsDrifted turns
Task anchor similarityabout 0.80about 0.43
Role anchor similarityabout 0.80about 0.43
State anchor similarityabout 0.80about 0.43
Pairwise rtask–role 0.78; task–state 0.74; role–state 0.72

That coupling explains why older methods recover so little: prompt-level schemas and retrieval recover at most +0.03 over prompt-only, activation steering reaches +0.06, while ATLAS recovers +0.31, more than five times the strongest alternative. The first two change the input, not the internal geometry.

How ATLAS folds three constraints into one direction

ATLAS trains nothing. It edits hidden states at inference time, in five stages:

  • Build anchors: pass task, role and state descriptions through the frozen model, stack hidden states at the intervention layer, take a thin SVD, and keep the smallest number of directions k_c that explain variance fraction τ. With hidden dimension d = 4096, k_c is typically 5 to 30.
  • Do not orthogonalize: the three bases keep their overlap on purpose. Forcing orthogonality costs 3.8 points on EverMemBench (50.3 versus 54.1), because the discarded part is exactly the shared structure.
  • Compose a positive-semidefinite kernel: three weights summing to 1, two fixed anchors plus a per-turn state term. A direction supported by both task and state collects weight from both terms and therefore matters more.
  • Factor it low-rank: the d×d matrix is never formed. It is written as F times F transpose and eigendecomposed through a small p×p Gram matrix, cutting cost from cubic in d to O(d p² + p³).
  • Score and steer: coherence is a Rayleigh quotient, the state is pushed along high-eigenvalue directions via h ← (I + α_eff K) h with the gain capped by ξ = 0.15, and after each turn only the state term is refreshed — decay first, then append a novel direction when novelty exceeds threshold ρ.

One access assumption follows directly: the model's hidden states must be readable and writable at inference time. ATLAS acts before the token exists, so it is a different control surface from protocols that inspect or repair a finished message at the agent boundary, not a replacement for them.

Where it wins and by how much: A-MEM, MemoryArena-Agent, ToolACE, ALARA, LIBERO

Evaluation spans five settings: long-horizon memory (EverMemBench, AMemGym, an adapted MemoryArena-Agent), tool use (ToolACE), least-privilege coordination (ALARA, including an ALARA-Scoped baseline), and a multimodal embodied stress test (LIBERO). Three team shapes are used: T1, a homogeneous ten-agent role team; T2, a homogeneous twelve-agent A-MEM-expanded memory team; T3, a heterogeneous twelve-agent, six-model team.

Compared againstMetricChange
A-MEMmemory macro-average accuracyup to +5.7 points
A-MEMwrite / read failuresup to -31.7% / -24.8%
MemoryArena-Agentscoreup to +4.8 points
Under perturbationscore+10.7 to +12.1 points
Role consistencysame93.5%
72B backbone transfermacro-average61.0 versus 56.2

Two cautions when reading the table. These are increments over baselines, not absolute scores, and the paper's own wording is “up to”, so the size depends on team configuration. The baselines beaten span prompting, retrieval, memory and activation steering together, so this is not a win against the weakest option only. Role consistency at 93.5% and the 61.0 versus 56.2 on a 72B backbone are the two signals that the effect is not small-model-only.

Ablation: removing the joint span costs 7.2 points, a random span costs 0.8

The sharpest result is the ablation. Removing the joint task–role–state span costs 7.2 points; removing a matched-rank random span costs 0.8. Same rank, different directions — so those directions are functionally implicated, not incidental. Separately, supplying the same anchor information through prompts or retrieval recovers 4.3 points less than ATLAS does: same information, delivered from context rather than from inside the representation.

When this method does not apply

First and hardest: it fails when hidden states are inaccessible. For black-box agents behind an input/output interface the method is out of scope, and the paper itself calls output-level protocols complementary rather than superseded. Second, layer choice matters: the intervention layer is picked by a linear probe in the middle third of the model, and if that probe cannot separate on-topic from off-topic continuations, the steering has no reference point. Third, scope of evidence: the pilot is 200 conversations with one backbone and one primary judge; the heterogeneous team and the 72B transfer are each a single experiment, and most reported gains are “up to” figures.

So the title should be read narrowly: it holds the drift it can measure on the layer it selects, inside the three anchor subspaces it builds. Failures outside that geometry — a wrong tool return, a task the humans changed mid-episode — are not its business. The transferable lesson for anyone buying data or running evaluations is narrower and more useful: long-horizon stability should be accepted against a measured internal quantity, not against a handful of transcripts that still read well [1].

References

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

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…