Privacy leakage from recurrent state in LLM inferencePrivacy Leakage from Recurrent State in LLM Inference
The authors say the recurrent state of hybrid-architecture LLMs leaks private information: partial state observation can infer private facts and rules, and on an A100 a non-privileged account inferred age from parent power with an MAE of 7.778 years.
The attacker knows the model, uses labeled histories for profiling, and then reads only one restricted signal: a small number of noisy recurrent state coordinates, device power during one complete recurrent read, or whole-machine power (parent power) of a shared GPU (the victim runs in a MIG partition). The attacker obtains no private text, responses or model tensors; success is counted when predictions for the held-out population exceed a baseline fitted using only training labels.
- Personalized LLM services write private facts and instructions into the prompt, and hybrid architectures then compress them into a fixed-size recurrent state that is retained across requests. The authors explore whether a restricted observer can recover private information from that state and its subsequent computation.
- Tracked at three layers: at the software layer, partial-state coordinates are used to fit task heads to measure recoverable information, and states transplanted across histories are used to measure causal influence on subsequent decisions; at the hardware layer, CW305 power is used to measure complete-read leakage under a fixed schedule, and A100 parent power is used to measure power leakage dependent on MoE routing.
- On Qwen, 8,192 coordinates (0.174% of the state) support inferring private facts and three response rules; inference remains possible after 24 rounds of public conversation; state transplantation shifts the decision margin across 384/384 pairs. CW305 power recovers private facts; on A100, a non-privileged account infers age via parent power with MAE 7.778 years, better than the 11.333-year baseline.
- The authors say the conclusions are limited to two released model families and synthetic corpora, and the degree of leakage in real deployments was not directly measured; the physical path requires conditions such as repeated public requests, public anchors, and same-session calibration. There are 3 models tested in total, and the corpus personas and authors are all synthetic.
- Evaluated models
- Granite-4.0-H-350MQwen3.5-2BGranite-4.0-H-Tiny
- Benchmarks
- Granite corpus(128 名合成人物)Qwen corpus(384 训练 / 128 测试人物)SynthPAI(300 名合成作者、7,823 条评论)
- Metrics
- accuracyage MAEdecision margin shift (logits)Spearman ρ
The paper shows that the recurrent state retained during inference in hybrid-architecture LLMs leaks private information from personalized prompts, which a restricted observer can recover without access to the private text or responses. Software experiments on Granite-4.0-H-350M and Qwen3.5-2B show that observing only 8192 state coordinates suffices to predict private facts and response rules, and the information remains inferable after 24 rounds of public conversation and affects subsequent decisions; age inference on SynthPAI authors has an MAE of 6.56 years (baseline 11.30 years). In physical experiments, under a fixed execution schedule, reading the full state's power consumption on an FPGA suffices to recover private facts; on an A100 with MIG partitioning enabled, an unprivileged account reading whole-card power consumption via NVML can infer age during public requests (state isolation experiment MAE 7.778 years, baseline 11.333 years). The authors accordingly propose that serving systems should extend prompt protection to state access and lifecycle, GPU operators should restrict telemetry, and accelerators need to address data-dependent power leakage.
Why it was selectedThe paper extends the prompt confidentiality boundary to the recurrent state of hybrid architectures and gives two leakage paths, software and power consumption, so that shared GPU and personalized LLM service operators can inspect state access and telemetry exposure accordingly.
Paper analysis
What problem does this paper attempt to solve?
The authors study whether the recurrent state of latent-state LLMs leaks retained private information under restricted observation.
Core question: hybrid-architecture LLMs compress private context into a fixed-size recurrent state retained across requests—can a restricted observer recover private information from it?
- Problem scenario: Personalized services (such as ChatGPT memory) write users' private facts and application response rules into the prompt; hybrid architectures (Mamba, Gated DeltaNet interleaved with attention, MoE) compress part of the history into a recurrent state. The authors state that the state's contents are implicit, have no per-token counterpart, and deleting a fact from the visible prompt does not delete its contribution to the state.
- Insufficient existing protection: The authors state that existing work protects prompt text, responses and the attention KV cache, but the recurrent state is a different representation whose contents are implicit and whose use can be physically observed, and existing access controls do not cover it.
- Core observation: A single observation of the recurrent state may simultaneously expose user secrets, attached conditions, response rules and personal attributes; when computation reads that state, both the numeric operands and the MoE routing choices may produce data-dependent power signals.
- The paper proposes: A methodology that separately measures recoverable information, persistence across public conversation, causal influence on subsequent decisions, and power leakage; software probing and two physical-path experiments are conducted on released hybrid model implementations.
- Threat model:
- Target: recover private facts, response rules, or the author's personal attributes (such as age).
- Knowledge: the attacker knows the model and uses labeled histories for profiling.
- Capability: read-only access to one restricted signal—a small number of noisy state coordinates, device power during a complete read, or parent power of a shared GPU; no private text, responses or tensors.
- Victim system: a service that retains and reuses the recurrent state; in the GPU path the victim runs in a MIG partition and the attacker is a non-privileged account.
What related research exists?
Related work covers three categories: prompt and representation leakage, recurrent state security research, and GPU physical side channels.
Prompt and KV cache leakage
- PromptPeek (Wu et al., NDSS 2025)—detects whether a request reuses another's KV cache with ordinary-user capabilities to reconstruct the prompt. KV-Cloak (Luo et al., NDSS 2026)—an inference provider holding the KV cache can recover the user prompt, with a single-layer cache. PRSA (Yang et al., USENIX Security 2025)—infers prompt intent from limited input-output examples.
- The paper notes that these works target prompt text or the KV cache, whereas this paper's target is the recurrent state, whose contents are implicit and have no per-token counterpart.
Embedding and activation leakage, attribute inference
- Song and Raghunathan (CCS 2020) study attribute, membership and inversion leakage of embeddings; Morris et al. (EMNLP 2023) reconstruct the original text from embeddings; Qu et al. (SP 2025) reconstruct the prompt from activations in collaborative inference. Staab et al. (ICLR 2024) show that LLMs can infer attributes such as age from user text.
- The paper notes that this paper's observer obtains neither text nor responses, seeing only partial noisy state left by earlier private turns.
Recurrent state security and behavior research
- Hidden-state poisoning (Mercier et al., 2026)—a short input phrase can overwrite information retained by a Mamba model, targeting integrity. Afendulev et al. (EMNLP 2026 Findings)—swap the attention cache and recurrent state of contexts and find that recurrence governs language and persona. Ramesh (2026)—masking in delta attention can exactly delete records.
- The paper notes that this paper uses component interventions to predict the recurrent contribution to subsequent decisions, and studies recovering unknown private content from partial state and power.
GPU physical side channels
- Energon (ICCAD 2025)—unprivileged reading of NVML power and temperature identifies the model; Veiled Pathways (MICRO 2024)—identifies the victim model across MIG via the PCIe link; MoEcho (CCS 2025)—infers prompt attributes from MoE expert load observations; PLATYPUS (SP 2021)—recovers AES keys via an unprivileged power interface.
- The paper notes that these channels recover model architecture or workload identity, whereas this paper's target is the private content of users of a known model; this paper's A100 receiver uses the same access assumptions as Energon.
Baselines and benchmarks: Controlled tasks use a binomial reference and training-label majority/median baselines; the author-attribute experiments use the SynthPAI corpus (300 synthetic authors). The authors position this paper as extending context confidentiality to the lifecycle and execution of the retained state.
How does the paper address this problem?
Divided into two layers, software probing and physical observation: four paths—partial state inference, persistence and transplant intervention, complete-read power, and routing-dependent power.
The overall approach splits confidentiality into three relations: private history→recurrent state, retained state→subsequent computation, and computation→observer signal, measured respectively with software probing and two physical paths. The method has no single name and is organized around partial-state probing and physical observation.
Problem setting and attack flow
- Target: private facts, assigned response rules, or attribute labels associated with the author's text; the attribute labels themselves do not appear in the text.
- Three stages: profiling (using others' labeled histories to select observations and fit the receiver and task heads) → acquisition (recording the permitted signals for held-out people) → inference (predicting with the frozen receiver and task heads; test labels are used only for scoring).
- Success criterion: predictions for held-out people exceed a baseline fitted using only training labels and pass the statistical tests specified in the paper.
Software probing
- Partial-state inference: observation restricts the number and precision of coordinates; coordinates are stored as 16-bit floats and quantized to E4M3FN, then the Hamming weight of the 8-bit encoding is taken (an integer 0–8). A standardized ridge classifier (ridge parameter 1) predicts labels; the coordinate budget and Gaussian noise are varied to measure recoverability under restricted access.
- Persistence: the receiver is fitted at the initial checkpoint and applied unchanged after 4, 12 and 24 rounds of public conversation; matched histories keep the public text unchanged and change only the private condition, ruling out the public conversation itself as an explanation.
- Causal contribution: before a future query, the recurrent state is transplanted between matched histories, with attention KV retained from the source history; the decision margin is defined as the donor-label logit minus the source-label logit. Intervention arms include all recurrent matrices, the last six layers of recurrent, and recurrent plus convolution state; same-source self-copy is the control.
Complete-read power
- Purpose: measure whether state values leak under a fixed execution schedule. For one head of Gated DeltaNet, the update and read are S′ = α(I − β kkT)S + β kvT, oT = qT S′; the FPGA computes the old-state contribution term oold,r = cT S[:, r], with each selected column containing all 128 terms.
- Two arms: the victim-matched arm uses each person's own state and coefficients; the fixed-coefficient arm fixes one coefficient vector and changes only the private state, and the sham replaces the external input with public bytes, to attribute leakage to the confidential operand rather than the read schedule.
- Collection: CW305, 10 MHz FPGA clock, 40 MS/s; state in E4M3FN, coefficients int16, 48-bit accumulation; recording order randomized.
Routing-dependent power
- Purpose: measure whether retained private context changes MoE expert execution during public requests. Granite-4.0-H-Tiny is used; the batch contains 15 identical anchor lanes and 1 target lane, and the batch routing workload is Zij = ∑ℓ=140∑t=18 |Riℓ t ∖ Ajℓ t|, i.e., the number of expert groups by which the target exceeds the anchor; the all-anchor sham executes exactly 1,920 groups.
- Two variants: in the state-isolation variant, only the target's recurrent matrix comes from the private history (attention KV and convolution state come from the public prefix); in the natural-session variant, the service retains the full cache, measuring the full request→power path under the service interface.
- Receiver: estimates execution duration from change points in parent power, maps it via calibration to routing distances to four public anchors, and feeds it to a frozen age head; the receiver uses timing rather than power level as the state value.
What experiments did the paper conduct?
Four experiment groups—software probing, attribute generalization, CW305 power, and A100 passive power—all report inference capability above baseline.
Experimental setup
- Models tested: Granite-4.0-H-350M, Qwen3.5-2B (extracted recurrent states contain 5,505,024 and 4,718,592 elements respectively); routing experiments use Granite-4.0-H-Tiny.
- Data: Granite corpus with 128 synthetic personas (96 train / 32 test); Qwen corpus with 384 train / 128 test personas; SynthPAI all 300 authors, 7,823 comments, five-fold author-level split.
- Metrics: four-class task accuracy (random guessing 25%), age MAE, decision margin shift (logits), Spearman correlation.
- Evaluation method: no LLM judge; controlled tasks use a binomial reference and Holm correction, paired comparisons use sign-flip tests and permutation tests.
- Hardware: CW305 (ChipWhisperer 6.0.0, 10 MHz clock, 40 MS/s); A100 80GB PCIe, victim in a 3g.40gb MIG instance, NVML reads parent power every 20 ms.
- Replication: Granite two independent corpora and coordinate seeds; CW305 four independent averaged test blocks; A100 state-isolation uses 336 target/sham pairs, 672 records.
Main results
Swipe horizontally to read the table
Experiment Condition Result Baseline/control Source Qwen shared observation private condition 83.6% / 89.1% (Seed 1/2) 25% Table 2 Qwen shared observation private vault word 43.0% / 33.6% 25% Table 2 Qwen shared observation all three rules correct 7.8% / 10.2% 1.5625% Table 2 Qwen persistence condition after 24 rounds of public conversation 42.2% matched control 21.1% Figure 3 Qwen transplant all recurrent matrices +1.811 logits, 384/384 pairs positive same-source self-copy 0 Table 3 SynthPAI age MAE 6.56 years fold-training median 11.30 years Section 5.3 CW305 victim-matched condition (paired receiver) 51/64 sham 11/64 Table 4 A100 state-isolation age MAE (physical) 7.778 years training median 11.333 years Section 5.5 - The authors say a small state observation supports multiple predictions of private facts and response rules, and that personal attributes generalize to unseen authors.
- The authors say information can still be inferred after public conversation and is linked to subsequent decision changes via state transplantation.
- The authors say complete-read power recovers private facts under a fixed execution schedule, and that on an A100 a non-privileged account can infer age from whole-machine power during public requests.
Persistence and causal intervention
- What was measured: the performance of a receiver fitted on the initial checkpoint after public conversation, and the effect of pre-query state transplantation on the decision margin.
- Results: after 24 rounds, condition 42.2% vs. control 21.1% (p = 3.47 × 10⁻⁶), response rule 45.3% vs. 25.8% (p = 4.17 × 10⁻⁷); transplanting all recurrent matrices gives an average shift of +1.811 logits, the last six layers +1.756, adding convolution state still +1.811; +2.275 at 0 rounds, +1.587 after 24 rounds (Table 3). Granite intervention 96 pairs, recurrent shift +7.47 logits, +9.56 with convolution.
- Authors' interpretation: the checkpoint curve is non-monotonic but the endpoint is still above the matched control; the authors say what is measured is the persistence of historical content under public conversation, and transplantation links information retention to subsequent computation.
Complete-read power (CW305)
- What was measured: whether the power of a complete recurrent read under a fixed schedule leaks private facts, with 64 unseen personas each in the victim-matched and fixed-coefficient arms.
- Results: in the victim-matched arm the paired receiver recovers condition 51/64, vault 49/64, both 40/64 (sham 11/64, 25/64, 5/64 respectively); in the fixed-coefficient arm condition 51/64, vault 42/64 (Table 4). Condition counts across the four test blocks are 50–52/64. Quantized output correlates .99426 with the floating-point reference.
- Authors' interpretation: the actual-only receiver shows no paired traces are needed at inference time; the fixed-coefficient arm attributes the gain to the confidential state under constant coefficients.
A100 passive age inference
- What was measured: under the state-isolation and natural-session variants, recovering the anchor routing distance from the parent power change point and inferring age, with 60 held-out authors.
- Results: state-isolation physical MAE 7.778 years (clean software distance 7.559 years, median baseline 11.333 years, p = 4.000 × 10⁻⁵; sham-only 11.346 years); routing workload correlates with change-point shift ρ = .845. natural-session physical MAE 9.64 years (baseline 11.33 years, p = .0245; sham-only 11.02 years).
- Authors' interpretation: state-isolation attributes the signal to the recurrent state rather than the attention cache or convolution state; natural-session shows the same non-privileged account can complete the request and the observation.
Other ablations and analyses
- Granite 8,192 random coordinates (0.149% of state): condition 68.8%/82.8%, rule 100.0%/100.0% (two runs, Figure 2).
- Hamming-weight noise sd 1: condition 49.4%–55.2%, rule 88.6%–90.9%; sd 2: 36.9%–41.7% and 68.8%–71.1% (Figure 2).
- 32 coordinates selected by training: condition 75.0%; with about 300 coordinates per layer in the last two recurrent layers, rule 85.9%–89.1%.
- Qwen collection freeze experiment: after freezing the 8,192-coordinate budget, STATUS 47/128, VERIFY 45/128 (Holm-corrected p = .00647, .0133).
- Mechanism validation: routing workload vs. paired victim duration ρ = .8571, change point vs. victim duration ρ = .9615, sham-only comparison p = .8557 consistent with the no-association prior (Table 6).
- Exceptions: Qwen joint task "all three rules correct" only 7.8%/10.2% (reference 1.5625%, Table 2); natural-session physical MAE 9.64 years is higher than state-isolation's 7.778 years, and the authors give no reason.
What are some points that can be further explored?
The authors have no dedicated limitations section; the experiments are limited to two model families, synthetic corpora and specific access conditions.
Limitations and future directions noted by the authors
- The paper has no Limitations or Future Work section and does not list shortcomings under the wording "limitations."
- In Section 6, the authors state that as such designs become widespread, the confidentiality of personalized sessions will depend on the recurrent state, its lifecycle and power consumption, with serving systems, GPU operators and accelerator designers each controlling part of it.
- In Section 5.6, the authors give deployment recommendations: serving systems should give the recurrent state the same level of access control as the prompt and clear or recompute it at session boundaries; GPU operators should treat parent power as tenant data; accelerator designers should note that constant-schedule datapaths cannot protect confidential state.
Experimental coverage
- The models tested are Granite-4.0-H-350M, Qwen3.5-2B and Granite-4.0-H-Tiny, 3 in total; the authors state this covers two released model families (Section 4.1).
- The corpus personas and authors are all synthetic: 128 people in the Granite corpus, at most 384 training / 128 test in the Qwen corpus, and 300 synthetic authors in SynthPAI; the paper states "Custom histories and SynthPAI profiles are synthetic" (Section 4.6).
- The physical path requires repeated public requests, public anchors and same-session calibration; state-isolation collection used 7.47 hours, 320 seconds per terminal author (Section 5.5).
- All victim workloads tested are the authors' own; when other tenants appear they are only background activity, not a data source or target (Section 4.6).
- The paper reports no end-to-end leakage evaluation on a real deployed service, and no evaluation of defenses against this leakage.
Summarize the main content of the paper
The authors say the recurrent state is a new confidentiality boundary: partial observation, after public conversation, and power channels can all leak private information.
An attack paper on privacy leakage in hybrid-architecture LLMs, studying the problem of recurrent state retained by latent-state LLMs leaking private context under restricted observation.
- Problem: Personalized services write private facts and response rules into the prompt, and hybrid architectures compress them into a fixed-size recurrent state that is reused across requests; the authors state that the state's contents are implicit, have no per-token counterpart, and existing prompt and KV cache protections do not cover it.
- Method: Measurement at three layers—partial-state coordinates fitted with task heads to measure recoverable information; states transplanted across matched histories to measure causal contribution to subsequent decisions; two physical paths, CW305 complete-read power and A100 parent power, to measure execution leakage, with a threat model in which the attacker has no private text, responses or tensors.
- Software results: On Qwen, 8,192 coordinates (0.174% of the state) support inferring the private condition (83.6%/89.1%), vault words and three response rules (Table 2); after 24 rounds of public conversation, condition accuracy is 42.2% versus 21.1% for the matched control (Figure 3); transplanting the recurrent matrix shifts the decision margin by an average of +1.811 logits across 384/384 pairs (Table 3).
- Attribute generalization: On 300 SynthPAI authors, age MAE is 6.56 years, better than the 11.30-year baseline, and gender, relationship status and education level all exceed the fold-training majority and pass Holm correction.
- Physical results: CW305 complete-read power recovers condition 51/64 and vault 49/64 (paired receiver, Table 4); during the A100 state-isolation run, physical observation gives age MAE 7.778 years versus an 11.333-year baseline, and under natural-session serving a non-privileged account reaches 9.64 years.
- Authors' conclusion: Retained recurrent state constitutes the confidentiality boundary of personalized services; serving systems should give it the same level of access control as the prompt, GPU operators should restrict parent power telemetry, and accelerator designers should note that data-dependent switching activity leaks even under a fixed schedule.