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

Jonathan Pan, Yidi Yuan, Xin Wei Chia, Xinhui Su, Vincent Tan +1 more
11/13/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pan2026from,
  title  = {From Bytes to Behavior: Request-Level Attribution from Live GPU Hidden States},
  author = {Jonathan Pan and Yidi Yuan and Xin Wei Chia and Xinhui Su and Vincent Tan and Brenda Ong},
  year   = {2026},
  eprint = {2611.18272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.18272v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.18272.svg)](https://codeofpaper.com/paper/2611.18272)

Discussion