AI Engineer NYC 2026 Online Talks

Your GPU Neighbor Can Hear Your Model — Branislav Brzak, Stealthium

Loading slides…

Read the talk

Your GPU Neighbor Can Hear Your Model

Branislav Brzak traces an H100 timing side channel from reads of an attacker’s own memory to model and workload fingerprints, then shows what changes across NVLink and what operators can observe.

From a talk by Branislav Brzak

At a glance

Ideas worth remembering

  • MIG partitions compute and memory, but GPU-wide memory barriers can still change the latency of another tenant’s reads of its own memory.

  • Token tempo reveals decoding speed; within-token timing structure adds architectural information when similar speeds make models hard to distinguish.

  • The demonstrated workload inference depends on speculative decoding: differing draft acceptance changes step timing without exposing the actual generated text.

  • The separate-GPU NVLink experiment preserves enough tempo information for a useful model fingerprint, although layer detail falls below the noise.

  • Tenant placement, inter-GPU communication requirements and monitoring of repeated GPU probes are separate operator decisions.

Separate memory still leaves a shared clock

A model can keep its prompts and answers inside its own GPU memory and still reveal something to a neighboring tenant. In Branislav Brzak’s H100 experiments at Stealthium, the neighbor watches timing: when inference runs, how quickly tokens arrive and which patterns repeat within their generation. The attacker needs neither root access nor a traditional software exploit.

The opening demonstration places the victim’s inference dashboard beside the attacker’s inferred model and workload. Brzak reports 97% accuracy for identifying model architecture and depth, and 99.3% accuracy for decoding speed. Timing also exposes busy periods and supports estimates of token counts and response length. These are reported results from the tested configurations, rather than guarantees for arbitrary shared deployments. The important limit is explicit: the attack does not recover the actual prompts, answers or their contents.

The first setup uses NVIDIA’s Multi-Instance GPU, or MIG, to divide an H100. Each slice has physical compute resources and dedicated VRAM. The victim receives a larger slice with 40 GB of VRAM; the attacker uses a smaller one with 10 GB. That division makes the experiment a test of what survives hardware isolation, rather than an attempt to read another tenant’s allocated memory.

0:010:31
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:01 · section reference included

A GPU-wide barrier slows reads in another slice

MIG isolates compute resources, memory capacity, bandwidth quotas and faults. It also partitions the L2 cache: one instance cannot evict another instance’s cache entries. The remaining connection is a GPU-wide memory barrier, or membar. A barrier issued by one instance affects every L2 partition on the card. Consequently, a tenant can experience slightly slower reads of its own memory while another tenant is busy.

The probe turns that slowdown into a repeated measurement: load from a small buffer owned by the attacker, time the load, and repeat every five microseconds. No step requires a read from the victim’s memory. Brzak credits the researchers behind Behind Bars at USENIX Security for both this probing primitive and the underlying MIG memory-barrier leak.

How much does the neighboring workload change the measurement? The slide shows medians of 715.9 ns idle and 719.1 ns while serving Qwen3-8B, labeling the gap about 3 ns; the spoken account says microseconds. That small shift is useful because the attacker records a time series, preserving when slowdowns occur and how they repeat. The signal comes from the structure of those measurements, beyond the difference between two medians.

The idle and Qwen3-8B traces have medians of 715.9 ns and 719.1 ns, about 3 ns apart; the traces show the time-varying measurements behind that small median shift.Open full source frame
The idle and Qwen3-8B traces have medians of 715.9 ns and 719.1 ns, about 3 ns apart; the traces show the time-varying measurements behind that small median shift.
2:333:03
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:33 · section reference included

Token rhythm gives speed; peaks within tokens give structure

With an eight-billion-parameter model running on the victim slice, the trace shows one burst of GPU activity per generated token. Frequency analysis of the attacker’s latency measurements finds a fundamental at 81 Hz: the recurring token-generation cycle corresponds to 81 tokens per second. Harmonics accompany it because the work inside each token has its own structure, rather than forming one smooth pulse.

What does that structure look like inside a token? The demonstrated time-domain trace contains 39 bumps. Green peaks mark layer invocations; orange peaks mark additional processing between layers. The distinction matters: counting every visible bump as a model layer would overestimate depth. The trace connects two scales of observation—the spacing between tokens and the repeated work within each token.

Token rate is useful but ambiguous. Two eight-billion-parameter models in the comparison decode only 1.6% apart in speed. A tempo measurement can narrow the possibilities while leaving those models nearly indistinguishable. The next step therefore looks for the layer-related structure within the timing signal.

A fold-and-average procedure brings out recurring peaks. Across 22 traces, the resulting count lies a mean distance of only 0.028 from an integer. Brzak uses this near-integer result as evidence that the pattern follows discrete model operations: a fixed hardware frequency divided by varying token rates would not generally land so close to whole numbers. The observed counts correspond to model depth plus one to three extra peaks, retaining the distinction between layers and other processing.

4:064:33
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:06 · section reference included

Fit candidate depths without a labeled training set

The depth estimator is a small best-fit procedure, described as fewer than 30 lines of code. It checks candidate depths from 16 through 48, measures how strongly each candidate’s expected signature appears in the recorded trace, and selects the strongest fit. It needs no labeled training set. Tempo and harmonic structure supply the evidence used to compare candidates.

How decisive is that comparison? In the presented eight-billion-parameter example, the 36-layer candidate wins clearly over competing depths. Because the procedure fits a structural signature rather than looking up a previously labeled trace, Brzak proposes that it can estimate depth for unseen models, including proprietary or unreleased ones. Recovering depth alone does not supply the name of an unknown model; it reveals an architectural property that can help fingerprint it.

The candidate-depth comparison highlights 36 layers as a much stronger fit than the other tested depths.Open full source frame
The candidate-depth comparison highlights 36 layers as a much stronger fit than the other tested depths.

The estimator also produces a confidence value. In the reported testing, the only two incorrect answers were the two least confident ones. Confidence therefore helped identify the uncertain fits in that test, although the recording does not establish a confidence threshold that operators could apply universally.

Related models make the task harder. The comparison includes Llama 3 8B, Llama 3.1 8B and DeepSeek’s R1-Distill Llama 8B, all sharing a 32-layer backbone. Their common architecture preserves much of the timing signature, so depth alone cannot separate them. Brzak reports a median per-layer latency shift of only 1.6 nanoseconds and says the classifier nevertheless distinguishes the models. This is the demanding case: the broad structural fingerprint stays similar while the distinguishing timing differences become very small.

6:036:32
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:03 · section reference included

Speculative decoding makes text categories affect timing

The next experiment keeps the timing channel and changes the question: is the model producing prose, code, JSON or a retrieval response? It issues a verdict every half second using the preceding five seconds of measurements. Of 40 verdicts, 31 are correct; majority voting correctly identifies all four complete responses in the demonstration. Comparing the predictions with the actual workload would show both the short-window mistakes and why a response-level vote can still succeed.

The rows show prose and code classified correctly, JSON and retrieval misclassified, while the summary reports 31 of 40 short-window verdicts and all four complete responses named correctly.Open full source frame
The rows show prose and code classified correctly, JSON and retrieval misclassified, while the summary reports 31 of 40 short-window verdicts and all four complete responses named correctly.

This result depends on speculative decoding, enabled for the experiment and described here as an opt-in feature in vLLM. Speculative decoding drafts tokens and accepts some number of them at each step. Text predictability changes how many drafts are accepted; that changes step timing. The probe observes this timing consequence and uses it to infer a workload category. It still does not read the generated text.

The tests span 11 configurations, including dense and mixture-of-experts models, with BF16 and FP8 precision. The workload-dependent signature appears throughout, but its strength varies sharply: the reported spread ranges from 70.2% in one configuration to 0.9% in another. Prose runs fastest in 10 of the 11 configurations. That repeated ordering helps explain why category inference can work, while the wide variation cautions against expecting the same separation everywhere.

The inference thus has two useful conditions: an attacker already has information about the model, and speculative decoding is active. Under those conditions, acceptance behavior adds another source of timing variation. The demonstrated workload classification should not be extended to ordinary decoding configurations without that mechanism.

7:358:05
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

7:35 · section reference included

The probing workload has a GPU-visible signature

The attack is quiet in transferred data but conspicuous in its execution pattern. In Brzak’s demonstration, Stealthium’s kernel monitoring catches a single kernel relaunched about 3,000 times, repeatedly accessing the same 40 KB of memory. Only 1 KB returns to the CPU. Those observations fit the probe’s purpose: repeated access creates timing measurements, so a large conventional output is unnecessary.

Brzak reports detection in under 600 milliseconds, with fewer than 50 tokens of the response produced. That is a result for Stealthium’s demonstrated monitoring and alert pipeline, not an established detection guarantee for every variant. The useful operational detail is the combination of repeated kernel launches, a fixed small memory region and little CPU-bound output: GPU execution behavior exposes activity that output-volume monitoring alone could miss.

The closing recommendations address three distinct decisions:

  • Tenant placement. Avoid placing an untrusted tenant’s MIG slice beside a sensitive model. Placement controls whether the attacker gains the proximity used by the first experiment.
  • Communication needs. MIG rules out peer-to-peer communication in the arrangement discussed, while tensor parallel inference uses inter-GPU communication. The tested NVLink arrangement retains a timing fingerprint but loses usable layer detail; that tradeoff does not make it free of leakage.
  • GPU observation. Monitor workloads where the probe runs. Kernel launches and memory-access behavior provide evidence of repeated timing probes even when very little data returns to the CPU.

The recording ends by returning credit to Behind Bars. Its memory-barrier primitive supplies the starting point; these experiments develop what model-serving activity can reveal through it and through a separate NVLink probe. Physical memory isolation remains useful, but the timing of shared hardware operations needs its own examination.

10:5711:27
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:57 · section reference included

Transcript download
Full transcript

Loading transcript…