paper-with-me

홈 › Papers

Tool-Call Dependency Structure is Linearly Decodable in LLM Agent Residual Streams

2026-05-25 · Tianda Sun, Dimitar Kazakov arxiv

Tool-using LLM agents produce trajectories whose calls form a directed dependency graph: earlier tool outputs supply arguments to later calls. Whether this execution structure is represented inside the model is unknown; prior structural probes have targeted static code or chain-of-thought text, not an agent's run-time call graph. A low-capacity edge probe on the residual stream of Qwen3-32B decodes the tool-call dependency graph well above both a Hewitt--Liang random-label control and a positional baseline. A counterfactual contrast between value corruption and structural perturbation indicates the signal tracks abstract topology rather than identifier values, and replicates under an independent, non-substring oracle. The non-positional component replicates on three further interactive multi-hop benchmarks and attenuates as call order alone becomes a sufficient proxy for dependency, vanishing in single-shot planning. Per-layer activation patching shifts the probe at a later, non-patched boundary, evidence that the representation propagates rather than passively reads out, though the realised tool call does not move. To our knowledge this is the first structural probe of an LLM agent's runtime tool-call dependency graph. Our claims concern representation, not behavioural control, and span two model families and one primary domain.

📄 PDF Abstract BibTeX arXiv:2605.25310

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Decodable but Not Corrected by Fixed Residual-Stream Linear Steering: Evidence from Medical LLM Failure Regimes

2026-05-07 · Ming Liu arxiv

Can linearly decodable failure signals in LLM hidden states be leveraged to correct those failures? We investigate this classification-correction gap via Overthinking (OT)--a stable behavioral regime (Jaccard >= 0.81, 94…

Steerable but Not Decodable: Function Vectors Operate Beyond the Logit Lens

2026-04-03 · Mohammed Suhail B Nadaf arxiv

Activation steering presupposes that task-relevant behaviors correspond to linear directions in activation space -- directions that should both steer the model and be readable along the unembedding. Function vectors (FVs…

How Much is Left? LLMs Linearly Encode Their Remaining Output Length

2026-07-06 · Mohamed Amine Merzouk, Dmitri Carpov, Mirko Bronzi, Damiano Fornasiere 외 arxiv

Large language models generate one token at a time, yet their responses show remarkably consistent length structure: step-by-step solutions converge in predictable token counts, retrievals stop after a few sentences, ret…

The Observer Effect in World Models: Invasive Adaptation Corrupts Latent Physics

2026-02-12 · Christian Internò, Jumpei Yamaguchi, Loren Amdahl-Culleton, Markus Olhofer 외 arxiv

Determining whether neural models internalize physical laws as world models, rather than exploiting statistical shortcuts, remains challenging, especially under out-of-distribution (OOD) shifts. Standard evaluations ofte…

Self-Supervised Learning

Encoded Early, Used Late: Where Transformers Begin to Act on an Inferred Partner's Expertise

2026-09-07 · Mika Okamoto, Gabriele Sarti hf

A transformer can make an attribute linearly decodable in its residual stream at a depth where that attribute does not yet influence the output. This gap between where information is readable and where it is used has bee…