# From Bytes to Behavior: Request-Level Attribution from Live GPU Hidden States

arXiv: https://arxiv.org/abs/2611.18272 · HTML: https://mlsanity.com/paper/2611.18272/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 7 of its 17 references that are in the map.
- Submitted 13 Nov 2026.

## Builds on (most cited first, 7 of 7)

- [Universal and Transferable Adversarial Attacks on Aligned Language Models](https://mlsanity.com/paper/2307.15043/) (2023)
- [Understanding intermediate layers using linear classifier probes](https://mlsanity.com/paper/1610.01644/) (2016)
- [Refusal in Language Models Is Mediated by a Single Direction](https://mlsanity.com/paper/2406.11717/) (2024)
- [JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models](https://mlsanity.com/paper/2404.01318/) (2024)
- [Forensic Implications of Localized AI: Artifact Analysis of Ollama, LM Studio, and llama.cpp](https://mlsanity.com/paper/2603.23996/) (2026)
- [Refusal Before Decoding: Detecting and Exploiting Refusal Signals in Intermediate LLM Activations](https://mlsanity.com/paper/2605.28553/) (2026)
- [DeepFreeze: Cold Boot Attacks and High Fidelity Model Recovery on Commercial EdgeML Device](https://mlsanity.com/paper/2108.01281/) (2021)

## Abstract (arXiv)

Existing memory forensics for machine learning systems typically targets static artifacts, such as model weights or prompt logs, rather than the transient computational states of a live inference process. This gap limits an examiner's ability to analyze the specific behavior of a running large language model (LLM) service that cannot be restarted or modified. We present a method for acquiring per-layer residual-stream activations from a live GPU process using a non-modifying debugger, without requiring prior knowledge of the model's architecture parameters or weights. The approach employs a general six-stage process with platform-specific adapters, utilizing either a PyTorch allocator clock or a kernel-launch clock to identify and read tensor allocations from video memory. We validate this acquisition on 33 open-source decoder-only models across nine architecture classes, demonstrating that the recovered bytes are byte-exact and usable for downstream analysis. As a use case, we apply linear probes trained on standard framework activations to the recovered states, successfully distinguishing refusal from compliance with an AUROC of 0.88 on held-out prompts. This work establishes that live, observational access to intermediate hidden states is feasible on named inference platforms, providing a new source of evidence for examining the operational behavior of deployed AI systems.
