Manuscript Offprint
arXiv:2611.01097The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
Siu Wai Shi
Shanghai Jiao Tong University
Shanghai, China
Keke Huang
Huazhong University of Science and Technology
Wuhan, Hubei, China
Xiaochen Zhu
Massachusetts Institute of Technology
Cambridge, Massachusetts, USA
Bingxue Zhang
University of Shanghai for Science and Technology
Shanghai, China
Xinjian Luo
Shanghai Jiao Tong University
Shanghai, China
Xiaofeng Gao
Shanghai Jiao Tong University
Shanghai, China
Abstract
Decentralizing large language model (LLM) inference across untrusted Web nodes requires robust verification to ensure computational integrity. Existing activation-based verification and detection mechanisms validate intermediate outputs against reference values, permitting bounded numerical deviations to accommodate benign cross-hardware discrepancies. However, a critical security question remains: what can a malicious worker achieve while operating within these tolerance bounds?
In this work, we introduce HUSH-Up, a stealthy availability attack against distributed LLM inference, where a single malicious worker halts generation while evading attribution. The attacker first profiles its local execution to model an empirical bound of benign hardware errors. Using this error bound as a feasibility constraint, the attacker optimizes an adversarial perturbation on its output activations to maximize the final-layer probability of the end-of-sequence (EOS) token, i.e., to hush up the model. Across diverse models and benchmarks, HUSH-Up effectively forces premature generation termination and collapses model capabilities. Furthermore, the attack hushes up the watchdogs themselves: existing defenses often fail to detect the sabotage entirely or falsely attribute the amplified downstream anomalies to honest workers. Our findings expose a fundamental gap between local numerical verification and end-to-end accountability: perturbations too small to indict a worker locally can nevertheless be powerful enough to break distributed inference globally.
Keywords
Distributed Inference, Adversarial Perturbations, Attack Attribution
In principle, cryptographic proofs of correct execution provide strong integrity guarantees [3, 11, 16], but their substantial overhead is prohibitive at the scale of modern LLMs [22, 24, 30]. Practical verification and detection mechanisms, which we call watchdogs, therefore take a lighter-weight approach. They validate the intermediate activations, or compact fingerprints of them, against reference values that are typically obtained by re-executing the prescribed computation or established in advance [6, 8, 17, 22, 39]. These checks cannot require exact matches: because of floating-point rounding, honest executions of the same model on the same input produce slightly different activations across heterogeneous hardware [37, 41, 43]. Therefore, every activation-based watchdog must tolerate small numerical deviations and accept them as benign.
This necessary tolerance, however, leaves room for a malicious worker and raises a crucial question: if a deviation is too small to blame, is it also too small to matter? There are two reasons to suspect not. First, deep networks can amplify small perturbations: Zamir [42] shows that locally tolerated deviations can, in theory, steer a network's final output toward an arbitrary target. Second, even when such a deviation is eventually caught, the blame may land on the wrong worker. As honest downstream workers faithfully propagate the perturbed activations, the discrepancy can compound across stages until it triggers an alert later in the pipeline. The watchdog may then blame an honest downstream worker, while the malicious worker that actually injected the perturbation goes unidentified. Yet the extent to which such bounded perturbations can degrade an LLM's real-world capabilities, and evade detection or attribution by existing watchdogs, remains largely unexplored.
In this paper, we fill this gap and show that both happen in practice. Specifically, we consider distributed LLM inference with a single malicious worker. This worker manipulates the intermediate activations it passes downstream, while all other workers execute the prescribed computation honestly. The attacker aims to tamper with the inference and degrade the model's capabilities without being identified. Blindly shifting the predicted token probabilities, however, does not necessarily make the model any less capable.

Figure 1: Overview of HUSH-Up, illustrating an attribution-failure scenario. A malicious worker injects a bounded perturbation into its prefill activations. The perturbation passes the local check but disrupts downstream computation and prematurely terminates generation, while the malicious worker escapes correct attribution.
We therefore focus on the most unambiguous form of degradation: terminating generation before any substantive response is produced, which fails any task under any metric. On the open Web, this amounts to an unaccountable denial of service where clients receive no useful responses. Because the culprit is not identified, it cannot be excluded and remains free to sabotage further requests.
To induce this failure, we develop HUSH-Up, an adversarial perturbation attack designed to hush up the model. The malicious worker first measures how much honest executions of its stage differ across GPUs and adopts this benign discrepancy as its perturbation budget. Within this budget, it then optimizes a one-time perturbation of the prefill activations and sends the perturbed ones to the downstream worker. The perturbation maximizes the probability that the model emits an end-of-sequence (EOS) token, either as the first generated token or immediately after the model-specific header that opens its response. Figure 1 illustrates the attack and a representative attribution-failure scenario.
Our evaluation reveals that these optimized perturbations reliably silence recent open-weight LLMs. Across three model families (Qwen, Muse, and Gemma) and three task domains (math, code, and instruction following), HUSH-Up reduces task success from 70.83–98.33% under honest execution to an average of 2.96%, with 92.31% of attacked generations terminating within the first 30 tokens. By contrast, random perturbations of the same magnitude leave generation and task performance essentially intact. This indicates that a deviation of benign scale is harmless unless it is adversarially chosen. Moreover, HUSH-Up is robust across deployment settings. It remains effective regardless of where the malicious worker sits in the pipeline. It is likewise effective across three hardware configurations, and perturbations optimized on one configuration transfer to the others without re-optimization.
Existing watchdogs, in turn, fail to hold the malicious worker accountable. We evaluate four recent activation-based watchdogs
spanning fingerprint-based, statistical, and operator-level verification approaches. In 10 of the 12 model-watchdog configurations in our main experiments, the watchdog never correctly identifies the malicious worker. This failure takes two forms. In some cases, the watchdog accepts the corrupted execution outright; in others, it detects that something went wrong but is unable to correctly locate its source. In the latter case, the deviation becomes visible only downstream of where it was injected, so the blame falls on honest workers or on no one. HUSH-Up thus hushes up not only the language model, but also the watchdogs meant to guard it.
These results expose a gap between local numerical verification and end-to-end accountability: a deviation too small to blame where it is injected can still be large enough to break the inference as a whole. Left unaddressed, this gap undermines the promise of distributed inference on the Web: anyone can contribute compute, yet a single participant can sabotage the service without consequence. Watchdogs must therefore reason about how deviations propagate across workers, rather than judge each stage in isolation. We discuss the implications for watchdog design in Section 6.
Our main contributions can be summarized as follows:
(1) Exposing a security gap in distributed LLM inference. We show that the numerical tolerance that activation-based watchdogs must grant to honest execution is itself an attack surface: perturbations within this tolerance can still break LLM inference without being attributed. This reveals that local activation-based verification is insufficient to secure distributed inference.
(2) Designing HUSH-Up. We develop a watchdog-agnostic attack in which a single malicious worker, using a budget calibrated from benign cross-hardware variation, perturbs its output activations to force premature termination, without modifying model weights or controlling any other worker.
(3) Evaluating task degradation and accountability. We systematically evaluate HUSH-Up across multiple model families, tasks,
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference

Figure 2: Distributed LLM inference. The client retains the embedding layer and output head, while workers execute consecutive stages of transformer blocks. Generated tokens are fed back into the pipeline for autoregressive decoding.
worker positions, and hardware configurations, and demonstrate substantial task degradation. We further evaluate HUSH-Up against existing activation-based watchdogs, characterizing their ability to detect and attribute malicious deviations in distributed inference.
2 Preliminaries
2.1 Distributed LLM Inference
An LLM maps a sequence of input tokens over a vocabulary to a probability distribution over the next token. It consists of an embedding layer, a stack of transformer blocks, and an output head, i.e., a final normalization layer and a linear projection followed by a softmax over [34].
In distributed inference [1, 2], the transformer blocks are partitioned into consecutive stages , and each stage is hosted by a different worker . The client that issues the request retains the embedding layer and the output head , so the model can be written as . To serve a request, the client computes and sends it to . Each worker then computes its output activation and sends it to , or back to the client if . Each activation holds one -dimensional hidden state per input position, and the client obtains . Figure 2 illustrates this execution pipeline and the autoregressive feedback loop.
The response is generated autoregressively in two phases. In the prefill phase, a single forward pass processes the entire prompt, and the client samples the first token . In the subsequent decoding phase, the client feeds each generated token back into the pipeline and samples , until the model emits a designated EOS token or a length limit is reached. Each decoding pass processes only the newly generated token, so the workers exchange a single -dimensional hidden state per step; to attend to earlier positions, each worker reuses the keys and values cached in its attention layers (i.e., the KV cache). As a result, the activations exchanged during prefill influence every generated token.
2.2 Numerical Variation across Hardware
Honest executions of the same model on the same input do not necessarily produce identical activations [12, 41]. Floating-point arithmetic has finite precision, and floating-point addition is not associative: for some values of , and , , where denotes floating-point evaluation. GPU architectures
and kernel implementations differ in how they order reductions, tile computations, and fuse operations in matrix multiplications and normalizations, so the same computation is rounded differently on different hardware [41]. These rounding errors are larger under lower precision [41], such as BF16, in which LLM activations are typically represented [21]. Figure 3 visualizes intermediate activations produced by three GPUs at matched token positions.
To quantify this variation at the output of stage , consider two executions of the model on the same input under environments and (e.g., two GPU types) with identical weights, numerical precision, and inference configuration, producing activations and . We measure their discrepancy by the relative distance
where denotes the Frobenius norm, i.e., the norm of the flattened activation tensor.
2.3 Activation-Based Watchdogs
A watchdog verifies distributed inference by examining the intermediate activations. We model it as a function
where is the evidence submitted by worker . This evidence is derived from activations associated with over the course of the inference, during both prefill and decoding. Depending on the specific watchdog design, it may take many forms, such as the activations themselves, selected features of them, compact fingerprints or commitments. compares the evidence against reference information that it obtains independently of the workers, e.g., by re-executing stages or from statistics established in advance. It then either accepts the execution, rejects it and blames a worker , or rejects it without blaming any worker (). We describe the four watchdogs evaluated in this paper in Section 5.
Ideally, a watchdog should satisfy two properties. Completeness: if all workers execute their stages faithfully, outputs accept with high probability. Soundness: if a worker deviates from its prescribed computation, rejects the execution and correctly attributes the deviation to , i.e., outputs . Both properties are essential, but they can be in tension. When a malicious worker perturbs its activation within the range of honest hardware variation (cf. Section 2.2), completeness favors acceptance, whereas soundness requires it to reject. Existing watchdogs usually resolve this tension in favor of completeness, treating deviations within honest variation as benign [17, 22, 39].
3 Problem Statement
System Model. We consider the distributed inference setting of Section 2, with workers that may use heterogeneous hardware and a watchdog . To distinguish what a worker should compute from what it actually sends, let denote the prefill activation that transmits (with ), and let denote the faithful activation that would obtain on its received input. An honest worker transmits , up to benign numerical variation. Given a malicious worker , the output of falls into one of three outcomes: a detection failure if it is accept, an attribution success
Qwen | 20% Depth | Explained Variance: 40.2%

Figure 3: PCA projection of intermediate activations at 425 matched token positions. Corresponding activations cluster closely but exhibit small numerical differences.
if it is , and an attribution failure otherwise, i.e., if rejects the execution but blames an honest worker or no worker at all.
Threat Model. We assume that the adversary controls exactly one worker (), while all other parties operate as prescribed. That is, the client, the other workers, and the watchdog all follow the protocol faithfully. We further assume an authenticated channel between every pair of parties, so that no party can tamper with the activations or evidence transmitted by another.
The adversary may manipulate the activations that sends to the next worker, without modifying the underlying model weights. Other than this, follows the protocol. In particular, it submits evidence computed from the activations it actually transmits, so that the watchdog observes the same activations as the next worker.
The adversary has white-box access to the model, including the architecture and weights of all stages and the output head. This is realistic in practice, since distributed inference primarily serves open-weight LLMs. The adversary also knows the partition configuration, i.e., how the model is split into stages and which stage it hosts. However, it does not know the watchdog's algorithm, reference information, or thresholds. Finally, the adversary has sufficient computational resources and can run its own stage on different types of hardware. The adversary observes only the incoming activations and does not have access to the original input tokens.
The adversary aims to degrade the model's capabilities. Specifically, it seeks to silence the model by inducing an EOS token immediately or shortly after generation begins, so that the model fails to complete the requested task. Meanwhile, it seeks to avoid being identified for its malicious behavior, i.e., such that , which results in either a detection failure or an attribution failure.
4 The Hush-Up Attack
4.1 Attack Overview
HUSH-Up casts the adversary's goal as a constrained optimization problem. After computing its faithful prefill activation , the adversary transmits
Algorithm 1 HUSH-Up Attack Workflow
Require: Assigned stage ; received activation ; calibrated budget ; synthetic prompt ; header ; threshold
Ensure: Transmitted activation and evidence
1: Faithful prefill computation
2:
3:
4: if and the model generates and then
5: Simulated header activations
6:
7: Evaluated on
8: Perturb prefill positions only
9: Apply to the native faithful activation
10:
11: Transmit to the next worker and submit to the watchdog
where the perturbation maximizes an EOS-promoting objective subject to a budget on the relative deviation from the faithful activation:
The budget limits the perturbation magnitude to the numerical variation observed across faithful executions on different hardware, while the objective steers the perturbation toward immediate or near-immediate termination of generation. Section 4.2 describes how the adversary calibrates and defines , and Section 4.3 describes how it solves Equation (4). Algorithm 1 summarizes the attack, and Figure 1 illustrates a representative execution.
4.2 Constraints and Objectives
Benign Variation Profiling. The adversary calibrates a stage-specific budget offline, independently of any inference request. It collects a set of prompts and, for each , executes the model under two hardware environments and with identical weights, numerical precision, and inference configuration. Using Equation (1), it collects the discrepancies at the output of its stage,
and sets the budget in Equation (4) to their -quantile:
Three considerations motivate this budget. First, it is measured on faithful executions: deviations of this magnitude arise routinely across heterogeneous hardware, so a complete watchdog must accept them from honest workers. Second, it is relative, which makes it comparable across prompts and stages whose activations differ widely in norm. Third, it is calibrated separately for each stage boundary, since benign variation differs across depths.
EOS Promoting. Within the calibrated budget, the adversary seeks a perturbation that induces immediate or near-immediate termination. Let denote the next-token distribution that the client
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
obtains when transmits and all downstream stages execute faithfully. The primary objective promotes EOS as the first generated token:
Some models, however, open every response with a model-specific header , such as a reasoning-channel marker, that they generate autoregressively before any content (Figure 1). Such a model may resist emitting EOS as its very first token, while being more susceptible to EOS promotion immediately after the header. Targeting this position requires the header's activations at the adversary's input boundary, so that the header can be processed together with the received activations. For the first worker, these are simply the header's embeddings, which do not depend on the prompt. For a deeper worker, however, these activations depend on the original prompt through attention in the preceding stages, and thus cannot be reconstructed exactly without it. HUSH-Up therefore approximates them using a synthetic prompt , built from the model's public chat template with a fixed generic system message ("You are a helpful AI assistant.") and a user message padded so that has the same length as the observed prefill sequence. The adversary appends to , executes the stages preceding its own on this sequence, and extracts the activations at the header positions.
It then concatenates simulated header activations with the received activations along the token dimension and executes its stage:
where denotes the outputs at the original prefill positions in this augmented forward pass. Under causal attention, these outputs equal in exact arithmetic, although finite-precision execution may introduce small numerical differences.
The surrogate objective evaluates the downstream stages on
and promotes EOS after the appended header:
where is the next-token distribution at the end of the augmented sequence. Only the original prefill positions are perturbed; the synthetic header activations remain unperturbed. Figure 4 illustrates the surrogate optimization.
4.3 Adversarial Perturbation Optimization
White-box access to the model allows the adversary to evaluate the downstream stages and differentiate the EOS objective with respect to the perturbation. For , gradients propagate from the first-token prediction through the downstream stages to the perturbed prefill activation. For , the appended header positions attend to the perturbed prefill positions in the downstream stages, which makes the post-header prediction depend on even though the header positions themselves are not perturbed.
We optimize unit-norm perturbation directions by gradient ascent with backtracking, subject to Equation (4). A realization operator constructs a feasible perturbation from a direction , ensuring that the transmitted activation satisfies the prescribed budget. For both objectives, the budget is enforced relative to the faithful activation , while the objective is evaluated on for

Figure 4: Optimization of the surrogate objective . Synthetic header activations are only used for perturbation optimization; the resulting perturbation is applied to the native prefill activation during distributed inference.
and on for . Algorithm 2 in Appendix A provides the full optimization procedure.
The attack first optimizes to promote EOS as the first generated token. It switches to only when three conditions hold: the resulting EOS probability remains below , the model generates autoregressively before its response, and at least one downstream stage remains (i.e., ). Both objectives (i.e., and ) use the same perturbation budget, and the perturbation is always restricted to the original prefill positions.
The last condition matters at the final boundary (), where only the output head remains downstream. There, remains optimizable because the perturbation directly changes the hidden state used for the first-token prediction. However, the output head operates position-wise and cannot propagate changes from the prefill positions to the unperturbed header positions, so does not depend on . The attack therefore uses only at this boundary.
5 Evaluation
5.1 Experimental Setup
Models and Benchmarks. We evaluate three recent open-weight LLMs: Qwen3.8-27B [26], Muse-Glimmer-30B [32], and Gemma-4-31B-IT [10]. All models use BF16 weights and activations. We use each model's native inference template; reasoning configurations and generation-boundary details are provided in Appendix D.
We consider three benchmarks: GSM8K [7] for mathematical reasoning, HumanEval+ [5, 19] for code generation, and IFEval [45] for instruction following. For each benchmark, we use a fixed set of 30 problems shared across all models and perturbation methods. GSM8K problems are drawn from its test split. We evaluate GSM8K by extracting the final numerical answer and comparing it against the ground truth, HumanEval+ using EvalPlus, and IFEval using the official strict prompt-level accuracy metric.
Distributed Inference Setting. We partition each model's transformer blocks into five stages, each assigned to one worker. In the main experiments, the first worker is designated as malicious, while the others execute honestly. We further vary the malicious worker's position while keeping the remaining setting fixed.
Attack Configuration. We conduct our main experiments on NVIDIA A100 GPUs and use H100 for profiling benign cross-hardware numerical variation. We further evaluate hardware generalization and transferability using A100, A6000, and L40 GPUs.
For each model and injection boundary, we calibrate at the 90th percentile of benign distances using 160 inputs, with 40 additional inputs held out for validation. Model weights, numerical precision, and inference configuration are held constant across environments. At the first worker boundary (20% depth), the resulting budgets are for Qwen, 0.8813% for Muse, and 0.3767% for Gemma. These budgets remain fixed across prompts and optimization objectives. We optimize perturbations in FP32 and enforce the budget on the activation difference realized after BF16 rounding. Detailed configurations are provided in Appendix D.
Watchdogs. We evaluate four recent watchdogs. TopLoc [22] constructs locality-sensitive fingerprints of intermediate activations and compares them with those obtained from reference computations. Activation-DiFR [17] projects activations into lower-dimensional representations and detects discrepancies from trusted references using calibrated detectors. TAO [39] verifies intermediate computations against operator-level tolerance bounds, with discrepancies handled through recursive localization. SENTINEL [8] compares activations against historical exponential moving average (EMA) references using multiple distance metrics and flags deviations exceeding calibrated thresholds. In our experiments, we replace pipeline localization with an oracle-assisted attribution test. This gives the watchdogs additional advantages by removing localization uncertainty while retaining each watchdog's discrepancy test. We collect paired clean and perturbed activations and use the clean activations as verification references when reference re-execution is required. Implementation details appear in Appendix D.
Metrics. We measure premature termination using Stop1 and Stop30: the fraction of generation trials that terminate within the first 1 and 30 generated tokens, respectively. Token counts begin at the native generation boundary, including generated header tokens and the terminating token. We measure task performance using answer accuracy for GSM8K, pass@1 for HumanEval+, and strict prompt-level accuracy for IFEval. All task and termination metrics are averaged over the evaluated problems and decoding trials.
To measure whether HUSH-Up can evade watchdog identification, we report the three mutually exclusive outcomes of Section 3: detection failure (DF), when the watchdog accepts the attacked execution; attribution success (AS), when it rejects the execution and also rejects at the oracle-provided malicious worker's location; and attribution failure (AF), when it rejects the execution without successful attribution, either by identifying an honest worker as responsible, or by failing to identify any responsible worker.
5.2 Experimental Results
Attack Effectiveness. We compare HUSH-Up against honest execution (Clean) and two random perturbation baselines, Gaussian and Uniform. These random perturbations are sampled element-wise from a standard normal distribution and from , respectively, and scaled to match the same relative perturbation budget as HUSH-Up. We perform four independently seeded decoding trials per problem, yielding 120 trials per model-benchmark-method combination. For HUSH-Up, the optimized perturbation is reused across the four trials; random baselines use independently sampled perturbation directions for each trial.
HUSH-Up effectively halts generation across models and tasks, whereas same-budget random perturbations largely preserve normal behavior. Table 1 reports premature termination rates and task performance. Task success falls from 70.83–98.33% under clean execution to at most 10% across all nine attacked model-benchmark combinations, reaching zero in four. Neither random baseline produces termination within 30 tokens. This contrast shows that perturbation magnitude alone does not determine behavioral impact; the direction of the perturbation is critical.
Qwen terminates at the first generated token across all three benchmarks. Muse exhibits predominantly immediate termination on HumanEval+ and IFEval, while on GSM8K it terminates immediately after generating its protocol header. Gemma exhibits more varied behavior, but still terminates within 30 tokens in most trials. Moreover, we observe nonsensical outputs, such as repetitive text, showing that HUSH-Up's task-level impact extends beyond premature termination (Appendix F).
Watchdog Effectiveness. We further evaluate the effectiveness of watchdogs under our attack. Table 2 reports detection and attribution outcomes under our oracle-assisted evaluation protocol for four watchdogs. HUSH-Up effectively evades attribution, even when the watchdog has oracle knowledge of the adversary's position. Attribution success is zero in ten of the twelve configurations. Complete results are deferred to Appendix B.
TopLoc accepts all attacked Muse executions and over half of attacked Qwen executions. Although it rejects every attacked Gemma execution, none is correctly attributed. Activation-DiFR rejects almost all attacked executions across the three models, yet achieves zero attribution success. Thus, execution rejection does not ensure correct attribution. SENTINEL accepts 97.78% of attacked Muse executions, matching its clean acceptance rate. For Qwen and Gemma, its clean acceptance rates are only 12.22% and 28.89%, respectively, so its high rejection rates under attack must be interpreted alongside substantial false-alarm rates. Its attribution success for Gemma is only 5.56%, matching that under random perturbations.
TAO achieves zero attribution success for Qwen and Muse. Gemma-TAO is the sole configuration with 100% attribution success in Table 2, which is analyzed in Appendix B. However, this does not extend uniformly across injection depths (Table 3).
Effects of Attacker Configuration. To examine HUSH-Up's effectiveness across malicious-worker positions, we vary the injection boundary from 20% to 100% of model depth, corresponding to the output boundaries of the five workers. At 100% depth, the injection and final boundaries coincide. For each boundary, we independently
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
Table 1: Task degradation under HUSH-Up (Ours), with the first worker as the malicious worker. Each cell aggregates 120 trials. Arrows indicate the attacker's preferred direction. All values are percentages.
| Model | Perturbation | GSM8K | HumanEval+ | IFEval | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Stop≤1 ↑ | Stop≤30 ↑ | Acc. ↓ | Stop≤1 ↑ | Stop≤30 ↑ | Pass@1 ↓ | Stop≤1 ↑ | Stop≤30 ↑ | Acc. ↓ | ||
| Qwen3.8-27B | Clean | 0 | 0 | 98.33 | 0 | 0 | 84.17 | 0 | 0 | 80 |
| Gaussian | 0 | 0 | 99.17 | 0 | 0 | 79.17 | 0 | 0 | 80 | |
| Uniform | 0 | 0 | 98.33 | 0 | 0 | 84.17 | 0 | 0 | 83.33 | |
| Ours | 100 | 100 | 0 | 100 | 100 | 0 | 100 | 100 | 0 | |
| Muse-Glimmer-30B | Clean | 0 | 0 | 93.33 | 0 | 0 | 95 | 0 | 0 | 95.83 |
| Gaussian | 0 | 0 | 93.33 | 0 | 0 | 92.50 | 0 | 0 | 96.67 | |
| Uniform | 0 | 0 | 93.33 | 0 | 0 | 92.50 | 0 | 0 | 95 | |
| Ours | 0 | 96.67 | 3.33 | 100 | 100 | 0 | 96.67 | 96.67 | 3.33 | |
| Gemma-4-31B-IT | Clean | 0 | 0 | 92.50 | 0 | 0 | 70.83 | 0 | 0 | 85 |
| Gaussian | 0 | 0 | 93.33 | 0 | 0 | 75.83 | 0 | 0 | 85 | |
| Uniform | 0 | 0 | 91.67 | 0 | 0 | 70 | 0 | 0 | 84.17 | |
| Ours | 34.17 | 79.17 | 7.50 | 76.67 | 90 | 2.50 | 16.67 | 68.33 | 10 | |
Table 2: Watchdog outcomes under HUSH-Up across three benchmarks, with the first worker as the malicious worker. DF: detection failure; AS: attribution success; AF: attribution failure. All values are percentages.
| Model | TopLoc | SENTINEL | Activation-DiFR | TAO | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DF ↑ | AS ↓ | AF ↑ | DF ↑ | AS ↓ | AF ↑ | DF ↑ | AS ↓ | AF ↑ | DF ↑ | AS ↓ | AF ↑ | |
| Qwen3.8-27B | 52.22 | 0.00 | 47.78 | 4.44 | 0.00 | 95.56 | 1.11 | 0.00 | 98.89 | 4.44 | 0.00 | 95.56 |
| Muse-Glimmer-30B | 100.00 | 0.00 | 0.00 | 97.78 | 0.00 | 2.22 | 1.11 | 0.00 | 98.89 | 52.22 | 0.00 | 47.78 |
| Gemma-4-31B-IT | 0.00 | 0.00 | 100.00 | 32.22 | 5.56 | 62.22 | 0.00 | 0.00 | 100.00 | 0.00 | 100.00 | 0.00 |
Table 3: Effect of attacker configuration on GSM8K accuracy and TAO attribution success (AS). All values are percentages.
| Depth | Qwen3.8-27B | Muse-Glimmer-30B | Gemma-4-31B-IT | |||
|---|---|---|---|---|---|---|
| Acc. ↓ | AS ↓ | Acc. ↓ | AS ↓ | Acc. ↓ | AS ↓ | |
| 20% | 0.00 | 0.00 | 3.33 | 0.00 | 6.67 | 100.00 |
| 40% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 46.67 |
| 60% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 30.00 |
| 80% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 80.00 |
| 100% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 100.00 |
calibrate the perturbation budget and optimize the perturbation, while fixing the problems and optimization configuration. Each setting uses 30 GSM8K problems with one decoding trial per problem.
HUSH-Up remains effective across malicious-worker positions, including the final worker boundary. As reported in Table 3, task accuracy remains at or below 6.67% across all injection depths, showing that the attack remains effective regardless of the malicious worker's position. Moreover, alone suffices at every boundary beyond the first worker, without switching to . We therefore additionally evaluate at these boundaries in Appendix E.
Attribution failures also persist across worker positions. TAO achieves zero attribution success for Qwen and Muse at every depth, as does TopLoc for all three models (Appendix C). For Gemma, TAO's attribution success varies non-monotonically with depth, showing that its perfect attribution at the first worker boundary does not extend uniformly to other positions.
Effects of Hardware Configuration. To examine whether HUSH-Up remains effective across hardware configurations and whether
Table 4: Hardware generalization on GSM8K. Perturbations are independently constructed and evaluated on each hardware configuration. Each model uses the same 30 problems with one decoding trial per problem. All values are percentages.
| Model | Hardware | Stop≤1 ↑ | Stop≤30 ↑ | Acc. ↓ |
|---|---|---|---|---|
| Qwen3.8-27B | A100 | 100.00 | 100.00 | 0.00 |
| 2× L40 | 100.00 | 100.00 | 0.00 | |
| 2× RTX A6000 | 100.00 | 100.00 | 0.00 | |
| Muse-Glimmer-30B | A100 | 0.00 | 96.67 | 3.33 |
| 2× L40 | 16.67 | 100.00 | 0.00 | |
| 2× RTX A6000 | 10.00 | 100.00 | 0.00 | |
| Gemma-4-31B-IT | A100 | 50.00 | 90.00 | 3.33 |
| 2× L40 | 46.67 | 96.67 | 0.00 | |
| 2× RTX A6000 | 53.33 | 86.67 | 3.33 |
perturbations constructed on one configuration transfer to another, we evaluate all three models on the same 30 GSM8K problems, using one decoding trial per problem. We consider three hardware configurations: a single NVIDIA A100, two NVIDIA L40 GPUs, and two NVIDIA RTX A6000 GPUs. For hardware generalization, we independently calibrate the perturbation budget against the H100 reference and construct perturbations on each configuration. For cross-hardware transferability, we evaluate all source-target combinations, reusing the source perturbations without re-optimization.
Our results show that HUSH-Up remains effective across hardware configurations, and its perturbations transfer without re-optimization. Table 4 reports consistent generation suppression across all three
Table 5: Cross-hardware transferability on GSM8K. Each cell reports Stop≤30 / Acc. (%). Rows and columns denote source and target hardware, respectively. A6000 and L40 use dual-GPU configurations.
| Model | Source | Target | ||
|---|---|---|---|---|
| A100 | A6000 | L40 | ||
| Qwen | A100 | 100.00 / 0.00 | 100.00 / 0.00 | 100.00 / 0.00 |
| A6000 | 100.00 / 0.00 | 100.00 / 0.00 | 100.00 / 0.00 | |
| L40 | 100.00 / 0.00 | 100.00 / 0.00 | 100.00 / 0.00 | |
| Muse | A100 | 96.67 / 3.33 | 96.67 / 3.33 | 96.67 / 3.33 |
| A6000 | 100.00 / 0.00 | 100.00 / 0.00 | 100.00 / 0.00 | |
| L40 | 100.00 / 0.00 | 100.00 / 0.00 | 100.00 / 0.00 | |
| Gemma | A100 | 90.00 / 3.33 | 90.00 / 3.33 | 90.00 / 3.33 |
| A6000 | 86.67 / 3.33 | 86.67 / 3.33 | 86.67 / 3.33 | |
| L40 | 96.67 / 0.00 | 96.67 / 3.33 | 96.67 / 0.00 | |
models and hardware configurations, while Table 5 demonstrates that transferred perturbations retain effectiveness comparable to their source-hardware performance.
6 Discussion
Limitations of Local Verification. Our findings highlight a gap between local numerical verification and end-to-end accountability. A perturbation that remains within a watchdog's tolerance at its source can propagate through subsequent, faithfully executed stages and cause substantial task failures. Although the resulting deviations may eventually trigger detection, the worker at which a discrepancy becomes observable need not be the one that introduced it. Consequently, detecting an anomalous execution does not necessarily imply correctly attributing it to the malicious worker.
Possible Mitigation. One mitigation is to verify local computations using their actual inputs rather than independently reconstructed reference inputs [35, 39]. By accounting for perturbations introduced upstream, this approach may reduce false attribution to honest downstream workers. However, it does not by itself identify the malicious worker if the injected perturbation remains within the watchdog's tolerance at its source. Moreover, retaining full boundary activations for replay introduces storage overhead relative to compact activation fingerprints [22].
Scope and Limitations. Our study focuses on premature termination through EOS promotion; we do not systematically evaluate adversarial objectives targeting other forms of task failure. Although our perturbation budgets are calibrated against benign cross-hardware numerical variation, they constrain the magnitude of deviations rather than their distributional structure. Our experiments primarily use BF16 inference; other numerical precisions and quantization schemes may exhibit different numerical variation and attack opportunities.
7 Related Work
Distributed LLM Inference Frameworks. LLMs impose substantial memory and computational demands, making local deployment difficult on consumer-grade GPUs. Offloading model weights to CPU memory or disk can incur substantial inference latency [27, 28],
while commercial inference APIs typically provide limited access to model internals [1]. Pipeline-parallel distributed LLM inference alleviates these challenges by partitioning models into consecutive stages and assigning each stage to a participating worker. Petals [1, 2] distributes transformer blocks across collaborative servers, while LinguaLinked [44] enables mobile inference using ring-structured communication. HexGen [14] supports asymmetric partitioning across heterogeneous GPUs, with HexGen-2 [15] and HexGen-3 [13] introducing prefill-decoding and attention-FFN disaggregation, respectively. Parallax [33] optimizes model allocation and request-time pipeline selection across heterogeneous GPUs.
These frameworks focus on pooling computing resources across participating devices for efficient LLM inference, while the integrity of those contributions remains a separate challenge. Our work instead investigates how malicious workers can induce task failures.
Attacks against Distributed Inference. Workers in distributed inference have direct access to intermediate activations. Prior attacks have shown that this access can enable reconstruction of private prompts [20, 25]. This access also raises concerns beyond privacy, since modifying LLM activations during inference can steer model outputs and behaviors [9, 18, 36]. ActivationBackdoor [29] demonstrates inference-time integrity attacks through conditional activation steering. However, its optimization does not explicitly minimize perturbation magnitude, while its detection evaluation focuses on statistical activation anomalies through BadActs [40], rather than verification of computational correctness.
In contrast, we study perturbations constrained to a benign numerical scale and evaluate their impact on task performance, as well as their detection and attribution by execution-integrity watchdogs.
Defenses. Cryptographic verification provides strong correctness guarantees [16, 24, 30], but incurs substantial overhead, limiting its applicability to large-scale LLM inference [22].
Lighter-weight approaches offer an alternative by checking intermediate activations or evidence derived from them. SVIP [31] uses a secret-based protocol built on processed hidden representations to detect substitution of the requested model. TopLoc [22] constructs locality-sensitive fingerprints of intermediate activations for efficient verification while tolerating benign numerical variation. TopLoc v2 [23] extends TopLoc to distributed inference, using stage-by-stage replay upon verification failure to identify the first faulty worker. TAO [39] combines theoretical floating-point error bounds with empirically calibrated tolerances and employs an interactive dispute protocol to localize incorrect computations. Activation-DiFR [17] uses random orthogonal projections to compress intermediate activations into fingerprints for comparison with trusted reference computations. SENTINEL [8] uses EMA-based activation monitoring for stagewise integrity verification in decentralized training. VeriLLM [35] uses game-theoretic incentives to support decentralized LLM inference verification without relying on a single trusted verifier.
Building on prior efforts toward fault localization and attribution [6, 8, 23, 39], we examine whether these mechanisms can correctly attribute deviations induced by benign-scale adversarial perturbations. Our evaluation distinguishes detecting an anomalous execution from identifying the malicious worker that introduces the deviation.
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
8 Conclusion
We presented HUSH-Up, which induces immediate or near-immediate generation termination through constrained activation perturbations in distributed LLM inference.
Across multiple model families and hardware configurations, these optimized perturbations at the scale of benign numerical variation substantially degrade task performance. Meanwhile, existing activation-based execution-integrity watchdogs often accept attacked executions or reject them without correctly attributing the deviation to the malicious worker, even with oracle knowledge of the injection boundary. These findings expose a gap between local activation verification and end-to-end accountability: the numerical tolerance needed to accommodate honest executions creates an attack surface that malicious workers can exploit to evade attribution. Existing activation-based watchdogs therefore do not reliably ensure accountability for adversarial deviations in distributed LLM inference.
References
[1] Alexander Borzunov, Dmitry Baranchuk, Tim Dettmers, Maksim Riabinin, Younes Belkada, Artem Chumachenko, Pavel Samygin, and Colin Raffel. 2023. Petals: Collaborative inference and fine-tuning of large models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations). 558–568.
[2] Alexander Borzunov, Max Ryabinin, Artem Chumachenko, Dmitry Baranchuk, Tim Dettmers, Younes Belkada, Pavel Samygin, and Colin Raffel. 2023. Distributed inference and fine-tuning of large language models over the internet. Advances in neural information processing systems 36 (2023), 12312–12331.
[3] Bing-Jyue Chen, Suppakit Waiwitlikhit, Ion Stoica, and Daniel Kang. 2024. ZKML: An Optimizing System for ML Inference in Zero-Knowledge Proofs. In Proceedings of the Nineteenth European Conference on Computer Systems (Athens, Greece) (EuroSys '24). Association for Computing Machinery, New York, NY, USA, 560–574. doi:10.1145/3627703.3650088
[4] Jiu Chen, Shuangyan Yang, Xu Xiong, Hexiao Duan, Xinran Zhang, Jie Ren, and Dong Li. 2026. Distributed Generative Inference of LLM at Internet Scales with Multi-Dimensional Communication Optimization. arXiv:2604.21072 [cs.DC] https://arxiv.org/abs/2604.21072
[5] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Greg, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sainry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Futos Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebegn Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating Large Language Models Trained on Code. arXiv:2107.03374 [cs.LG] https://arxiv.org/abs/2107.03374
[6] Mert Cihangiroglu and Antonino Nocera. 2026. Integrity of peer-to-peer distributed LLM inference under malicious nodes. arXiv:2607.19490 [cs.CR] https://arxiv.org/abs/2607.19490
[7] Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training Verifiers to Solve Math Word Problems. arXiv:2110.14168 [cs.LG] https://arxiv.org/abs/2110.14168
[8] Hadi Mohaghegh Dolatabadi, Thalaiyasingam Ajanthan, Sameera Ramasinghe, Chamin P Hewa Koneputugodage, Gil Avraham, Yan Zuo, Violetta Shevchenko, and Alexander Long. 2026. SENTINEL: Stagewise Integrity Verification for Pipeline Parallel Decentralized Learning. arXiv preprint arXiv:2603.03592 (2026).
[9] Stanislav Fort. 2023. Scaling Laws for Adversarial Attacks on Language Model Activations. arXiv:2312.02780 [cs.LG] https://arxiv.org/abs/2312.02780
[10] Gemma Team. 2026. Gemma 4 Technical Report. arXiv:2607.02770 [cs.CL] https://arxiv.org/abs/2607.02770
[11] Zahra Ghodsi, Tianyu Gu, and Siddharth Garg. 2017. SafetyNets: Verifiable Execution of Deep Neural Networks on an Untrusted Cloud. In Advances in Neural Information Processing Systems, I. Guyon, U. Von Luxburg, S. Bengio,
H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (Eds.), Vol. 30. Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2017/file/6048ff4e8cb07aa0b6777b6f7384d52-Paper.pdf
[12] Raja Gond, Aditya K Kamath, Ramachandran Ramjee, and Ashish Panwar. 2026. LLM-42: Enabling Determinism in LLM Inference with Verified Speculation. arXiv:2601.17768 [cs.LG] https://arxiv.org/abs/2601.17768
[13] Youhe Jiang, Wenshuang Li, You Peng, Jintao Zhang, Ran Yan, Jianfei Chen, Xu Han, Fangcheng Fu, and Binhang Yuan. 2026. HexGen-3: A Fully Disaggregated LLM Serving Framework with Fine-Grained Heterogeneous Resource Autoscaling. In Forty-third International Conference on Machine Learning. https://openreview.net/forum?id=fVG57FKBnP
[14] Youhe Jiang, Ran Yan, Xiaozhe Yao, Yang Zhou, Beidi Chen, and Binhang Yuan. 2024. HexGen: Generative Inference of Large Language Model over Heterogeneous Environment. In Proceedings of the 41st International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 235), Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp (Eds.). PMLR, 21946–21961. https://proceedings.mlr.press/v235/gang24f.html
[15] YOUHE JIANG, Ran Yan, and Binhang Yuan. 2025. HexGen-2: Disaggregated Generative Inference of LLMs in Heterogeneous Environment. In International Conference on Learning Representations, Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu (Eds.), Vol. 2025. 3985–4002. https://proceedings.icscl paper_files/paper/2025/file/0b941a1e5fbcce23fe46b049999d04ed0-Paper-Conference.pdf
[16] Daniel Kang, Tatsunori Hashimoto, Ion Stoica, and Yi Sun. 2022. Scaling up Trustless DNN Inference with Zero-Knowledge Proofs. arXiv:2210.08674 [cs.CR] https://arxiv.org/abs/2210.08674
[17] Adam Karvonen, Daniel Reuter, Roy Rinberg, Luke Marks, Adrià Garriga-Alonso, and Keri Warr. 2025. DiFR: Inference verification despite nondeterminism. arXiv preprint arXiv:2511.20621 (2025).
[18] Bruce W. Lee, Inkit Padhi, Karthikeyan Natesan Ramamurthy, Erik Miehleng, Pierre Dognin, Manish Nagireddy, and Amit Dhurandhar. 2025. Programming Refusal with Conditional Activation Steering. arXiv:2409.05907 [cs.LG] https://arxiv.org/abs/2409.05907
[19] Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. 2023. Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation. arXiv:2305.01210 [cs.SE] https://arxiv.org/abs/2305.01210
[20] Xinjian Luo, Ting Yu, and Xiaokui Xiao. 2025. Prompt Inference Attack on Distributed Large Language Model Inference Frameworks. arXiv:2503.09291 [cs.CR] https://arxiv.org/abs/2503.09291
[21] NVIDIA. 2023. NVIDIA TensorRT-LLM Supercharges Large Language Model Inference on NVIDIA H100 GPUs. NVIDIA Technical Blog. https://developer.nvidia.com/blog/nvidia-tensorft-llm-supercharges-large-language-model-inference-on-nvidia-h100-gpus/
[22] Jack Min Ong, Matthew Di Ferrante, Aaron Pazdera, Ryan Garner, Sami Jaghour, Manveer Basra, Max Ryabinin, and Johannes Hagemann. 2025. TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inference. In Forty-second International Conference on Machine Learning.
[23] Prime Intellect. 2025. SYNTHETIC-2 Release: Four Million Collaboratively Generated Reasoning Traces. https://www.primeintellect.ai/blog/synthetic-2-release. Official blog post.
[24] Wenjie Qu, Yijun Sun, Xuanming Liu, Tao Lu, Yanpei Guo, Kai Chen, and Jiaheng Zhang. 2025. zkGPT: An Efficient Non-interactive Zero-knowledge Proof Framework for LLM Inference. In 34th USENIX Security Symposium (USENIX Security 25). 2045–2063.
[25] Wenjie Qu, Yuguang Zhou, Yongji Wu, Tingsong Xiao, Binhang Yuan, Yiming Li, and Jiaheng Zhang. 2025. Prompt Inversion Attack against Collaborative Inference of Large Language Models. arXiv:2503.09022 [cs.CR] https://arxiv.org/abs/2503.09022
[26] Qwen Team. 2026. Qwen3.8-Max: A New Bar for Coding and Cowork. https://qwen.ai/blog?id=qwen3.8
[27] Ying Sheng, Liannin Zheng, Binhang Yuan, Zhuohan Li, Max Ryabinin, Beidi Chen, Percy Liang, Christopher Re, Ion Stoica, and Ce Zhang. 2023. FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research, Vol. 202). PMLR, 31094–31116.
[28] Yixin Song, Zeyu Mi, Haotong Xie, and Haibo Chen. 2024. PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPU. arXiv:2312.12456 [cs.LG] https://arxiv.org/abs/2312.12456
[29] Zichun Su, Mi Zhang, Xiaohan Zhang, Geng Hong, Xiaoyu You, and Min Yang. 2026. ActivationBackdoor: Backdooring Large Language Models in Collaborative Inference via Intermediate Activations. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 (Jieju Island, Republic of Korea) (KDD '26). Association for Computing Machinery, New York, NY, USA, 4429–4440. doi:10.1145/3770855.3818136
[30] Haochen Sun, Jason Li, and Hongyang Zhang. 2024. zkllm: Zero knowledge proofs for large language models. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security. 4405–4419.
[31] Yifan Sun, Yuhang Li, Yue Zhang, Yuchen Jin, and Huan Zhang. 2026. SVIP: Towards Verifiable Inference of Open-source Large Language Models. arXiv:2410.22307 [cs.LG] https://arxiv.org/abs/2410.22307
[32] Muse Glimmer team. 2026. Muse Glimmer 30B: An On-Device Agentic Model. arXiv:2610.24628 [cs.CL] https://arxiv.org/abs/2610.24628
[33] Chris Tong, Youhe Jiang, Gufeng Chen, Tianyi Zhao, Sibian Lu, Wenjie Qu, Eric Yang, Lynn Ai, and Binhang Yuan. 2025. Parallax: Efficient LLM Inference Service over Decentralized Environment. arXiv:2509.26182 [cs.DC] https://arxiv.org/abs/2509.26182
[34] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2023. Attention Is All You Need. arXiv:1706.03762 [cs.CL] https://arxiv.org/abs/1706.03762
[35] Ke Wang, Zishuo Zhao, Xinyuan Song, Zelin Li, Libin Xia, Chris Tong, Bill Shi, Wenjie Qu, Eric Yang, and Lynn Ai. 2026. VeriLLM: A Lightweight Framework for Publicly Verifiable Decentralized Inference. arXiv:2509.24257 [cs.CR] https://arxiv.org/abs/2509.24257
[36] Tianlong Wang, Xianfeng Jiao, Yinghao Zhu, Zhongzhi Chen, Yifan He, Xu Chu, Junyi Gao, Yasha Wang, and Liantao Ma. 2025. Adaptive Activation Steering: A Tuning-Free LLM Truthfulness Improvement Method for Diverse Hallucinations Categories. In Proceedings of the ACM on Web Conference 2025 (Sydney NSW, Australia) (WWW '25). Association for Computing Machinery, New York, NY, USA, 2562–2578. doi:10.1145/3696410.3714640
[37] Anna Wimbauer, Jonas Möller, Erik Imgrund, and Konrad Rieck. 2026. Finger-printing Inference Systems of Large Language Models. arXiv:2605.29979 [cs.CR] https://arxiv.org/abs/2605.29979
[38] Linyu Wu, Xiaoyuan Liu, Tianneng Shi, Zhe Ye, and Dawn Song. 2025. DeServe: Towards Affordable Offline LLM Inference via Decentralization. arXiv:2501.14784 [cs.DC] https://arxiv.org/abs/2501.14784
[39] Jianzhu Yao, Hongxu Su, Taobo Liao, Zerui Cheng, Huan Zhang, Xuechao Wang, and Pramod Viswanath. 2026. TAO: Tolerance-Aware Optimistic Verification for Floating-Point Neural Networks. In Proceedings of the 21st European Conference on Computer Systems. 1515–1532.
[40] Biao Yi, Sishuo Chen, Yiming Li, Tong Li, Baolei Zhang, and Zheli Liu. 2024. BadActs: A Universal Backdoor Defense in the Activation Space. In Findings of the Association for Computational Linguistics: ACL 2024, Lun-Wei Ku, Andre Martins, and Vivek Srikumar (Eds.). Association for Computational Linguistics, Bangkok, Thailand, 5339–5352. doi:10.18653/v1/2024.findings-acl.317
[41] Jiayi Yuan, Hao Li, Xinheng Ding, Wenya Xie, Yu-Jhe Li, Wentian Zhao, Kun Wan, Jing Shi, Xia Hu, and Zirui Liu. 2025. Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
[42] Or Zamir. 2026. A Note on Non-Composability of Layerwise Approximate Verification for Neural Inference. arXiv:2602.15756 doi:10.48550/arXiv:2602.15756
[43] Cheng Zhang, Hanna Foerster, Robert D. Mullins, Yiren Zhao, and Ilia Shumailov. 2025. Hardware and Software Platform Inference. arXiv:2411.05197 [cs.LG] https://arxiv.org/abs/2411.05197
[44] Junchen Zhao, Yurun Song, Simeng Liu, Ian G. Harris, and Sangeetha Abdu Jyothi. 2023. LinguaLinked: A Distributed Large Language Model Inference System for Mobile Devices. arXiv:2312.00388 [cs.LG] https://arxiv.org/abs/2312.00388
[45] Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou. 2023. Instruction-Following Evaluation for Large Language Models. arXiv:2311.07911 [cs.CL] https://arxiv.org/abs/2311.07911
A Optimization Algorithm
Algorithm 2 details the constrained optimizer used for both and . We distinguish the native faithful activation , used for final budget enforcement, from the prefix activation , used for candidate realization and objective evaluation. For , both equal . For , and , with the surrogate header activations supplied as fixed context.
Here, ActivationGradient() denotes the gradient obtained by backpropagating the EOS objective through the BF16 cast to the FP32 pre-cast prefix activation FP32() + , without differentiating through the realization operator .
The realization operator returns an FP32 additive perturbation from a unit-norm direction . It checks feasibility by adding the perturbation to the FP32-converted activation , casting the result to BF16, and measuring the resulting relative activation difference. If necessary, it reduces the perturbation magnitude and
Algorithm 2 Constrained EOS Optimizer
Require: Reference activation , objective prefix , budget , objective , restart count , iterations , backtracking limit , tolerance
Ensure: Feasible perturbation
1:
2: for do
3: Sample a random unit direction
4:
5:
6:
7: if then
8:
9: for do
10:
11:
12: Gradient at the FP32 pre-cast prefix
13:
14: if or then
15: continue
16:
17: for do
18:
19:
20:
21:
22: if then
23:
24: if then
25:
26: break
27:
28: return
retries. During search, candidates are realized using . The optimizer retains the highest-scoring direction across all restarts and iterations. Before returning, it realizes this direction again using to obtain the final perturbation . The budget in Equation (4) is additionally checked on the actual transmitted activation during evaluation.
B Complete Verification Outcomes
Table 6 reports verification outcomes for clean execution, random perturbation baselines, and HUSH-UP, using identical watchdog configurations across conditions. For Qwen, four of the 360 records in each condition exceed SENTINEL's supported reference length. We count these records as accepted rather than successfully verified.
Gemma Error Concentration and TAO Outcomes. To characterize TAO's model-dependent attribution outcomes, we analyze benign A100–H100 discrepancies across hidden dimensions using 50 inputs. The top 1% of hidden dimensions account for a median of 86.6% of the squared discrepancy in Gemma, compared with 36.6% in Qwen and 14.7% in Muse. The two largest-error dimensions alone
The Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM Inference
Table 6: Complete verification outcomes across three benchmarks. All values are percentages. AS is inapplicable to clean executions; clean AF denotes false alarms. Arrows indicate the attacker's preferred direction for perturbed executions.
| Model | Perturbation | TopLoc | SENTINEL | Activation-DiFR | TAO | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Accept ↑ | Reject | Accept ↑ | Reject | Accept ↑ | Reject | Accept ↑ | Reject | ||||||
| AS ↓ | AF ↑ | AS ↓ | AF ↑ | AS ↓ | AF ↑ | AS ↓ | AF ↑ | ||||||
| Qwen3.8-27B | Clean | 100.00 | — | 0.00 | 12.22 | — | 87.78 | 100.00 | — | 0.00 | 100.00 | — | 0.00 |
| Gaussian | 100.00 | 0.00 | 0.00 | 11.94 | 0.00 | 88.06 | 100.00 | 0.00 | 0.00 | 100.00 | 0.00 | 0.00 | |
| Uniform | 100.00 | 0.00 | 0.00 | 12.22 | 0.00 | 87.78 | 100.00 | 0.00 | 0.00 | 100.00 | 0.00 | 0.00 | |
| Ours | 52.22 | 0.00 | 47.78 | 4.44 | 0.00 | 95.56 | 1.11 | 0.00 | 98.89 | 4.44 | 0.00 | 95.56 | |
| Muse-Glimmer-30B | Clean | 100.00 | — | 0.00 | 97.78 | — | 2.22 | 100.00 | — | 0.00 | 100.00 | — | 0.00 |
| Gaussian | 100.00 | 0.00 | 0.00 | 97.78 | 0.00 | 2.22 | 99.72 | 0.00 | 0.28 | 99.72 | 0.00 | 0.28 | |
| Uniform | 100.00 | 0.00 | 0.00 | 97.78 | 0.00 | 2.22 | 100.00 | 0.00 | 0.00 | 100.00 | 0.00 | 0.00 | |
| Ours | 100.00 | 0.00 | 0.00 | 97.78 | 0.00 | 2.22 | 1.11 | 0.00 | 98.89 | 52.22 | 0.00 | 47.78 | |
| Gemma-4-31B-IT | Clean | 100.00 | — | 0.00 | 28.89 | — | 71.11 | 100.00 | — | 0.00 | 100.00 | — | 0.00 |
| Gaussian | 100.00 | 0.00 | 0.00 | 30.56 | 5.56 | 63.89 | 1.67 | 32.50 | 65.83 | 53.06 | 46.94 | 0.00 | |
| Uniform | 100.00 | 0.00 | 0.00 | 28.61 | 5.56 | 65.83 | 1.11 | 36.67 | 62.22 | 48.89 | 51.11 | 0.00 | |
| Ours | 0.00 | 0.00 | 100.00 | 32.22 | 5.56 | 62.22 | 0.00 | 0.00 | 100.00 | 0.00 | 100.00 | 0.00 | |
account for 79.2% in Gemma, compared with 31.9% in Qwen and 2.0% in Muse.
This concentration highlights a distinction between the global relative budget and TAO's distributional checks. The budget constrains aggregate perturbation magnitude without requiring the error distribution to remain within TAO's absolute- and relative-error percentile envelopes. All optimized Gemma perturbations satisfy the budget but trigger rejection at the true injection boundary, yielding 100% attribution success in the main experiments. Same-budget random perturbations are also rejected in a substantial fraction of cases despite their limited effect on task accuracy, consistent with sensitivity to error distribution beyond aggregate magnitude.
C Complete Injection-Depth Results
Table 7 reports task accuracy and attribution success for TAO and TopLoc across all evaluated injection depths. TopLoc achieves zero attribution success for every model and depth.
D Additional Experimental Details
Inference Templates. We use each model's native inference template. We set the reasoning effort to low for Qwen and Muse and enable reasoning mode for Gemma. Qwen's opening <think> marker is included in the prefill, whereas Muse and Gemma generate their reasoning headers autoregressively.
Budget Calibration. We use 200 fixed inputs from the GSM8K training set to profile benign cross-hardware numerical variation, with 160 used for calibration and 40 held out for validation.
Decoding Configuration. We use a sampling temperature of 0.7 and top- sampling with for autoregressive generation. The maximum generation length is 1,024 tokens for GSM8K and HumanEval+, and 2,048 tokens for IFEval.
Optimization Configuration. For HUSH-Up, we use . For the EOS optimizer, we use random restarts, optimization iterations per restart, and at most backtracking steps per iteration. The optimization objective is computed at temperature 1. We construct the perturbation in FP32 and enforce the budget on the activation difference realized after BF16 rounding. We set the tangent-gradient norm tolerance to .
Watchdog Implementation. For TopLoc, Activation-DiFR, and TAO, we first check the final boundary and, upon rejection, apply the discrepancy test at the known injection boundary. For SENTINEL, we preserve its upstream-first order: we check the injection boundary first, followed by the final boundary if the first check accepts. We use TopLoc's official proof-generation and verification API. For Activation-DiFR, we train detectors using the official framework and prescribed procedure. We independently implement TAO's discrepancy tests as specified in the original work. For SENTINEL, we retain its four distance metrics and IQR-based threshold calibration, adapting its training-oriented mechanism to variable-length inference using a position-wise EMA. The EMA references and thresholds are frozen during evaluation.
E Separate Evaluation of the Surrogate Objective
We separately evaluate at the applicable boundaries of the injection-depth experiment (Section 5.2), using the same problems, decoding configuration, perturbation budgets, and optimization hyperparameters. We evaluate Muse and Gemma, excluding Qwen because its opening header is included in the prefill rather than generated autoregressively. The synthetic prompt preserves the public chat template and a fixed generic system message, with its user message filled with repetitions of the token for “the” so that the total prompt length matches the observed prefill length. Table 8 reports the results on GSM8K.
For Muse, achieves 100% Stop30 and zero task accuracy at the 40%, 60%, and 80% boundaries. For Gemma, it achieves the same
Table 7: Complete results for the effect of injection depth on GSM8K task accuracy and attribution success (AS). Each setting uses 30 problems with one decoding trial per problem and a separately calibrated perturbation budget for the corresponding injection boundary. All values are percentages.
| Depth | Qwen3.8-27B | Muse-Glimmer-30B | Gemma-4-31B-IT | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc. ↓ | TAO AS ↓ | TopLoc AS ↓ | Acc. ↓ | TAO AS ↓ | TopLoc AS ↓ | Acc. ↓ | TAO AS ↓ | TopLoc AS ↓ | |
| 20% | 0.00 | 0.00 | 0.00 | 3.33 | 0.00 | 0.00 | 6.67 | 100.00 | 0.00 |
| 40% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 46.67 | 0.00 |
| 60% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 30.00 | 0.00 |
| 80% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 80.00 | 0.00 |
| 100% | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 100.00 | 0.00 |
Table 9: Representative generation traces under Hush-Up. Non-English spans are replaced with language labels, and ellipses indicate omissions. [EOS] denotes a model-specific terminating token. Token counts include generated headers and terminating tokens, when present.
| Model | Outcome | Representative generation |
|---|---|---|
| Qwen | Immediate termination | [EOS]1 token; no answer. |
| Muse | Post-header termination | to=self<|message|>[EOS]4 tokens; no answer. |
| Gemma | Short-output termination | <|channel|>thought* Topic: [EOS]8 tokens; fails strict prompt-level evaluation. |
| Gemma | Repetitive generation | // own own own own own . . .1,024 tokens; length limit reached, no valid answer. |
| Gemma | Abnormal generation followed by recovery | io[Chinese] [Japanese] [Chinese][Portuguese] [Korean] 1a 1a 1a [Thai]... [Mixed] ...Wait, I see the [Mixed] of a glitch. Let me restart....Final Answer: 5198 tokens; correct answer. |
| Gemma | Persistent abnormal generation | C&A:...[Arabic] ... [Korean]...**the** **the** **the** . . .[Thai] [Thai] [Thai] ...1,024 tokens; length limit reached, no valid answer. |
| Gemma | Attempted recovery followed by termination | [Mixed]...Actually, let '[Korean]'s calculate:**[EOS]55 tokens; no answer. |
| Gemma | Recovery followed by repetitive generation | [Mixed]...Let me start over. I need to solve the problem provided by the [Chinese] user....Final answer: 45...Final answer: 45<channel|>To find the total amount of money in the [Burmese] [Burmese] [Burmese] ...1,024 tokens; correct answer, but generation reaches the length limit. |
Table 8: Separate evaluation of on GSM8K. All values are percentages. Depth denotes the injection boundary. All settings match the injection-depth experiment. The 100% boundary is inapplicable to .
| Depth | Muse-Glimmer-30B | Gemma-4-31B | ||
|---|---|---|---|---|
| Stop≤30 ↑ | Acc. ↓ | Stop≤30 ↑ | Acc. ↓ | |
| Clean | 0.0 | 93.3 | 0.0 | 93.3 |
| 40% | 100.0 | 0.0 | 100.0 | 0.0 |
| 60% | 100.0 | 0.0 | 100.0 | 0.0 |
| 80% | 100.0 | 0.0 | 63.3 | 16.7 |
results at the 40% and 60% boundaries, while Stop≤30 decreases to 63.33% and accuracy rises to 16.67% at the 80% boundary. The 16.67% accuracy at Gemma's 80% boundary does not imply uniformly intact responses. Some correct responses contain garbled text or malformed channel markers, or continue repetitively until the generation limit despite containing the correct answer. Thus, answer accuracy alone does not capture the degradation in response quality. These results show that the surrogate objective can induce premature termination at deeper worker boundaries, although its effectiveness varies with the model and injection depth. We omit the 100% boundary because no downstream stage remains there, making independent of the perturbation (Section 4.3).
F Qualitative Generation Examples
Table 9 presents eight representative generation traces under Hush-Up. The first four are drawn from the main experiments, while the remaining four come from the separate evaluation at 80% depth. The examples illustrate diverse behaviors, including premature termination, persistent abnormal generation, and recovery with or without successful task completion.