potentialpaper

FloatDoor: Platform triggered Backdoors in LLMs

Nils Loose, Jonas Sander, Felix Mächtle, Thomas Eisenbarth

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Large language models (LLMs) are increasingly deployed in sensitive settings such as software engineering, where their outputs directly shape downstream artifacts. Recent work has shown that an identical model can produce measurably different outputs depending on the deployment platform, a consequence of non-associative floating-point arithmetic and divergent kernel implementations. We study the security implications of this platform-dependent variability and uncover a novel attack surface on LLM deployments. We introduce FloatDoor, the first input-independent, platform-triggered backdoor attack against generative LLMs. The compromised model exhibits adversary-chosen behavior when served on a target platform and is otherwise benign. FloatDoor is realized through two lightweight LoRA adapters, one that amplifies inter-platform numerical divergence and one that binds the resulting platform signature to a malicious downstream task, while leaving aggregate model utility largely intact. FloatDoor exploits a pronounced time-of-check, time-of-use gap between model auditing and serving. We demonstrate FloatDoor on Qwen3-4B across a broad range of deployment targets, including NVIDIA GPUs, Google TPUs, AWS Graviton, and Alibaba Yitian-710. As a final case study, we show that FloatDoor reliably induces exploitable code vulnerabilities on a chosen target platform. Our results establish a new class of attacks on LLM deployments and underscore the pressing need for trusted model supply chains in sensitive, LLM-powered applications.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper introduces a platform-conditioned backdoor attack on LLM. Such attacks were previously shown on smaller and simpler models and FloatDoor extends it to LLMs. Attack is presented in the paper as training LoRA adapters that are used to amplify platform-specific numerical divergence. I think the paper is good and it convinces reviewers that it is indeed possible to launch such attacks. I think the paper would benefit from expanding in three directions: 1) expansion of evaluation setups to cover more devices; 2) evolution of deployment robustness under different deployment differences -- covering compiler setups, different batch sizes, parallelisms; and 3) expand the mitigations to cover more device families and tasks.

Final justification

The authors have addresses majority of my and reviewer's concerns with their rebuttal. Please do update the paper with the new results and analysis.

Area Chair dUec · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper introduces a platform-conditioned backdoor attack on LLM. Such attacks were previously shown on smaller and simpler models and FloatDoor extends it to LLMs. Attack is presented in the paper as training LoRA adapters that are used to amplify platform-specific numerical divergence. I think the paper is good and it convinces reviewers that it is indeed possible to launch such attacks. I think the paper would benefit from expanding in three directions: 1) expansion of evaluation setups to cover more devices; 2) evolution of deployment robustness under different deployment differences -- covering compiler setups, different batch sizes, parallelisms; and 3) expand the mitigations to cover more device families and tasks.

Final justification

The authors have addresses majority of my and reviewer's concerns with their rebuttal. Please do update the paper with the new results and analysis.

4 comments
Authors · CommentOpenReview ↗

General Comment [1/2]

General Comment

In the following we address concerns raised by several reviewers. The first three points are highlighted in the meta-review.

(I) Expanded evaluation

We will extend the code-backdoor evaluation (Table 4) to all five scenarios of Tables 2 and 3. We started with S3S_3 (H200 - H100), the hardest case, as it has the smallest divergence at the probe layer (Table 2). The routing survives, the model is 2.8×2.8\times more likely to emit vulnerable code on the target platform, against 3.1×3.1\times for S2S_2, with the 1010 pp drop in ASR$_A$ tracking the reduced separability of the trigger adapter. The remaining scenarios will be posted when experiments conclude.

Scenario ASR$_A$ (%) ASR$_B$ (%)
S2S_2 (Table 4) 49.0±9.049.0 \pm 9.0 15.7±3.315.7 \pm 3.3
S3S_3 39.0±7.439.0 \pm 7.4 13.7±2.713.7 \pm 2.7

(II) Deployment sensitivity/ robustness

Conceptually, any change to the deployment that alters the inference compute-path produces a unique floating-point fingerprint. This sensitivity is what allows very targeted attacks, but it also means the attacker either has to know the deployment configuration or has to cover several configurations during training. We quantify both directions on S2S_2 (H200, A100).

Quantization

The models presented in the paper are trained on BF16 and their marker accuracy drops to chance level under quantization, as the change in the fingerprint is larger than the divergence between the two platforms. Training over the quantized fingerprints recovers this, both per quantization level and for a single model (Union) that separates H200 from A100 across all four quantization levels.

Quantization BF16 FP8 NF4 INT8-W8A16 Union
Marker acc 0.99 1.00 1.00 0.94 0.94

We consider representative quantizations computed by the target host from our BF16 weights. AWQ and GPTQ are calibration-based, so the quantized weights follow from activation statistics rather than the weights alone. This requires an attacker that ships the quantized checkpoint directly which would also be possible but is not suitable for the unified case above.

Batch-size

Increasing the vLLM max batch size (--max-num-seq) does not change the selected kernels enough to affect the existing S2S_2 model, so no retraining is required. Other configurations that do change kernel selection may require targeted training as above.

Batch size 1 2 4 8 16 32 64 128 256
Marker acc 0.999 0.999 0.998 0.989 0.932 0.999 0.999 0.998 0.999

Other configuration options

The serving framework is already visible as part of the fingerprint in Figure 3, where the same GPU separates cleanly under vLLM and under Transformers. Tensor-parallel size, driver, CUDA and library versions, and further frameworks such as SGLang remain untested, and we are happy to add any of these during the discussion period if required. Overall, covering a deployment configuration is an engineering step at training time rather than a conceptual limit, as long as the combination of model, configuration and hardware produces a measurable divergence. This supports the paper's argument that only weights from a trusted supply chain should be deployed and that the deployment platform has to be part of a security evaluation.

(III) Extended mitigation evaluation

We will extend the mitigation analysis to all five scenarios and to the code backdoor and post the results once they complete.

The interventions randomize the routing rather than remove the payload, the task adapter is untouched and each platform unpredictably keeps or flips its marker, as we also observe on untrained platforms. For the code backdoor we therefore obtain a model that is no longer targeted but still backdoored where the fingerprint after pruning can still collapse towards the vulnerable path. Additionally, as noted in Section 6, LayerCast and pruning are effective but are not part of the default inference path or commonly applied as security hardening, and a defender would only apply them defensively once platform-conditioned behavior is known to be possible.

(IV) Extended utility evaluation

We ran the base Qwen3-8B and the code-backdoored models on HumanEval. The base model achieves 0.83±0.030.83\pm0.03 and the backdoored models retain 0.78±0.030.78\pm0.03, so the vulnerable completions remain functional code. The trigger adapter alone leaves HumanEval unchanged (0.820.82 against 0.820.82 on Qwen3-4B), so the reusable part of the attack carries no coding cost. We will report HumanEval alongside MMLU and HellaSwag for all scenarios in the paper.

Authors · CommentOpenReview ↗

General Comment [2/2]

(V) Additional Model Families

The attack is not model specific, but we agree that showing this empirically strengthens the generalization. We repeated divergence amplification and fingerprinting for Llama-3-8B and Gemma-2-9B on S2S_2 (H200 - A100), using the same recipe and hyperparameters used for Qwen3-4B.

Model Marker acc. MMLU HellaSwag Train time
Qwen3-4B (ref.) 0.99±0.010.99 \pm 0.01 68.2968.29 67.8367.83 84.584.5s
Llama-3-8B 0.99±0.010.99 \pm 0.01 57.9857.98 70.7270.72 71.271.2s
gemma-2-9b 0.96±0.070.96 \pm 0.07 68.5668.56 77.3077.30 106.6106.6s

(VI) Unseen Platforms

FloatDoor is constructed as a closed-world attack. The trigger loss separates only the platforms it is trained on and provides neither an abstention mechanism nor a null class, so an unseen platform is mapped onto one of the trained targets. This does not weaken the attack itself, as success requires only that the target platform AA is identified correctly. A misrouted platform costs stealth on untargeted users rather than attack success. Extending the probe to an open-world setting is conceptually possible, but we consider this outside the scope of this work and will state the closed-world assumption explicitly in the limitations section. If the reviewers deem a open-world formulation necessary to convey the papers arguments will attempt this.

(VII) Threat Model

We will clarify the following aspects in the final version of the paper.

Adversary capabilities and victim knowledge. The attacker (i) knows the exact model of the victim, (ii) has write access to the victim model, (iii) has access to an instance of the target platform AA that activates the backdoor, and (iv) has access to at least one further platform B≠AB \ne A, which may be the platform of an auditor or of untargeted users. We do not assume that the victim is unaware of their own deployment platform, only that they do not test for platform-conditioned behavior.

Limits of victim-side testing. First, auditing and serving are typically separated, and our threat model mirrors this time-of-check, time-of-use gap. Second, the payload survives functional testing. Our task adapter is trained on paired safe and vulnerable implementations of the same task, so the malicious output is a working implementation that differs only in its security properties. Uncovering it requires static security analysis of the generated code, CodeQL in our case, on the exact deployment platform. Third, without knowledge of the threat the test is never run. The victim can test their model, but following the classical motivation of offensive security research ours is the first work to show that input-independent, platform-triggered backdoors against generative LLMs are possible. Our results give auditors a concrete reason to align their test platforms with those of their end users.

Detectability. Our threat model does not require FloatDoor to be stealthy once the model runs on the target platform, for the same reason as above.

Real-world settings. We follow the classical threat model of attacks targeting the model supply chain, e.g., previous work on dormant backdoors. Public model hubs are an obvious entry point: Hugging Face hosts more than two million public models that anyone can download, many of them fine-tuned for specialized tasks. An attacker can upload a malicious model and advertise it broadly while narrowly targeting the intended victim through FloatDoor. A more powerful adversary, such as a nation-state attacker, may even embed backdoors into widely used open-source models, which then inject exploitable vulnerabilities into the generated code once the model is served on another nation's AI platform.

(VIII) Limitations Section

We will add an explicit limitations section covering:

  • The preconditions of the threat model, in particular the supply-chain position and access to an instance of the target platform.
  • The specificity of the attack to a given deployment configuration, and the resulting need to cover the intended configurations during training.
  • The closed-world assumption on the set of deployment platforms.
Authors · CommentOpenReview ↗

Extended experiments for sensitivity/ robustness

(II.I) Extended experiments for sensitivity/ robustness

As suggested, to give an intuition for the sensitivity of the attack and the number of configurations it covers, we ran additional experiments on one existing model. As in (II) above, we use the S2S_2 (H200 – A100) scenario and trained a model on the following configuration:

  • Inference engine: vLLM
  • vLLM version: 0.26.0
  • Attention backend: FLASH_ATTN (default)
  • Optimization level: -O2 (default)
  • CUDA driver: 580
  • CUDA library: 13.0

Starting from this configuration, we swept one axis at a time while holding the others fixed. Marker accuracy is reported below, 0.50.5 corresponds to chance, i.e. the routing has collapsed and the marker is no longer bound to the platform. We also recorded the base-model divergence for each configuration and will add these as heat-maps analogous to Figure 3 in the appendix.

Inference engine. Each engine was run with its respective default settings. The attack does not transfer across engines.

Inference engine vLLM Transformers SGLang TensorRT-LLM
Marker acc 0.997 0.44 0.50 0.50

vLLM version. We tested all versions from 0.15.0 upwards that we were able to build. Accuracy degrades only on the two oldest tested versions.

vLLM version 0.15.0 / 0.15.1 0.17.0 … 0.19.0 0.19.1 … 0.23.0 0.24.0 … 0.26.0
Marker acc 0.815 0.997 0.997 0.997

Attention backend. Changing the attention backend produces measurable differences in floating-point behavior, which in this instance do not degrade the trigger adapter.

Attention backend FLASH_ATTN FLASHINFER TRITON_ATTN FLEX_ATTENTION
Marker acc 0.997 0.997 0.999 0.999

Compiler settings. To test the impact of compilation we varied the optimization levels vLLM provides. -O0 runs the model without compilation and breaks the attack, while it remains functional under -O1 and -O2. The aggressive setting -O3 currently falls back to -O2 and therefore has no separate effect.

Optimization level -O0 -O1 -O2 / -O3
Marker acc 0.50 0.997 0.996

CUDA driver and library. We varied driver and library versions independently and observed no impact on marker accuracy in the tested configurations.

CUDA driver 580 595 610
Marker acc 0.997 0.997 0.997
CUDA library 12.6 12.8 12.9 13.0
Marker acc 0.997 0.997 0.997 0.997

Tensor-parallel size. We cannot test this axis fully within the rebuttal period, as parallel cards are only available to us on the H200 side. On that platform, marker accuracy collapses at both 2 and 4 parallel tensors.

Authors · CommentOpenReview ↗

Extended experiments for mitigation

We sincerely thank the reviewers for their engagement and helpful discussions throughout the review and rebuttal period. Before the discussion window closes, we want to share the current state of our extended evaluation on the mitigation experiments. The runs for S1S_1 (H200 / Yitian-710) and M1M_1 (H200 / Graviton / TPU), as well as the additional code-backdoor scenarios, are not yet complete due to resource limitations. We will include them in the final version. The completed results are below.

(III.I) Extended Mitigation results

Results for S2S_2 (H200 / A100) and M2M_2 (H200 / A100 / DGX Spark) are generally in line with existing numbers:

Joint marker accuracy (%)

Intervention S2S_2 M2M_2
Baseline (unperturbed) 99.4 94.2
LayerCast (float32) 0.0 0.0
Noise σ=10−5\sigma=10^{-5} 40.0 ±\pm 36.8 33.3 ±\pm 33.8
Noise σ=10−4\sigma=10^{-4} 38.2 ±\pm 33.9 25.4 ±\pm 34.9
Noise σ=3×10−4\sigma=3\times10^{-4} 54.4 ±\pm 25.4 36.3 ±\pm 29.7
Noise σ=10−3\sigma=10^{-3} 1.3 ±\pm 1.8 0.0 ±\pm 0.0
Noise σ=3×10−3\sigma=3\times10^{-3} 0.5 ±\pm 0.5 0.0 ±\pm 0.0
Noise σ=10−2\sigma=10^{-2} 0.0 ±\pm 0.0 0.0 ±\pm 0.0
Magnitude prune s=0.10s=0.10 0.0 0.0
Magnitude prune s=0.30s=0.30 0.6 0.0
Magnitude prune s=0.50s=0.50 0.0 0.0
Magnitude prune s=0.70s=0.70 0.0 0.0
Magnitude prune s=0.90s=0.90 0.0 0.0
Wanda prune s=0.10s=0.10 0.1 1.2
Wanda prune s=0.30s=0.30 0.0 0.0
Wanda prune s=0.50s=0.50 0.1 0.0
Wanda prune s=0.70s=0.70 0.0 0.0
Wanda prune s=0.90s=0.90 0.0 0.0

Utility deltas (pp)

Intervention Δ\DeltaMMLU S2S_2 Δ\DeltaHS S2S_2 Δ\DeltaMMLU M2M_2 Δ\DeltaHS M2M_2
LayerCast (float32) +0.0+0.0 −0.0-0.0 +0.0+0.0 −0.0-0.0
Noise σ=10−5\sigma=10^{-5} +0.0+0.0 +0.1+0.1 +0.1+0.1 +0.0+0.0
Noise σ=10−4\sigma=10^{-4} −0.1-0.1 +0.1+0.1 +0.0+0.0 −0.1-0.1
Noise σ=3×10−4\sigma=3\times10^{-4} −0.0-0.0 +0.1+0.1 +0.1+0.1 −0.1-0.1
Noise σ=10−3\sigma=10^{-3} −0.3-0.3 −0.4-0.4 −0.3-0.3 −0.6-0.6
Noise σ=3×10−3\sigma=3\times10^{-3} −4.6-4.6 −4.4-4.4 −4.0-4.0 −4.7-4.7
Noise σ=10−2\sigma=10^{-2} −42.2-42.2 −42.2-42.2 −44.2-44.2 −42.0-42.0
Magnitude prune s=0.10s=0.10 −0.4-0.4 +0.4+0.4 −0.2-0.2 +0.2+0.2
Magnitude prune s=0.30s=0.30 −4.1-4.1 −3.5-3.5 −4.3-4.3 −3.8-3.8
Magnitude prune s=0.50s=0.50 −40.3-40.3 −33.9-33.9 −41.2-41.2 −33.1-33.1
Magnitude prune s=0.70s=0.70 −42.7-42.7 −42.9-42.9 −43.9-43.9 −42.3-42.3
Magnitude prune s=0.90s=0.90 −43.3-43.3 −42.8-42.8 −43.7-43.7 −42.3-42.3
Wanda prune s=0.10s=0.10 −0.1-0.1 −0.1-0.1 −0.1-0.1 −0.3-0.3
Wanda prune s=0.30s=0.30 −0.8-0.8 −1.6-1.6 −1.3-1.3 −2.0-2.0
Wanda prune s=0.50s=0.50 −8.0-8.0 −10.8-10.8 −8.5-8.5 −11.3-11.3
Wanda prune s=0.70s=0.70 −43.4-43.4 −36.6-36.6 −44.6-44.6 −36.0-36.0
Wanda prune s=0.90s=0.90 −44.1-44.1 −42.7-42.7 −44.4-44.4 −42.3-42.3
Reviewer 2Hb2OpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a platform-conditioned attack named FloatDoor. The method involves two LoRA adapters. One that actively amplifies the numerical divergence between platforms, and the other that injects targeted malicious behavior only for the targeted platform (with the help of the first adapter). Across two attack scenarios (fingerprinting and vulnerable code generation), the method achieves strong attack successes with minimal drop in utility.

Strengths and weaknesses

Strength

  • The paper is very well organized. The motivation, practical implications, and comparison with prior work are all clearly articulated.
  • The proposed method is intuitive and minimal, and all of its components appear to be necessary.
  • The paper demonstrates strong success rates in both the fingerprinting and vulnerable code generation scenarios (Tables 3 and 4). The code generation setting seems practically relevant in particular.
  • The evaluation covers a wide range of platforms (Table 1).
  • The paper also provides a holistic analysis of potential defense methods (noising, pruning, and LayerCast)

Weakness

  • They explain Hong et al., Ma et al, and Tian et al as examples of LLM-based quantization-conditioned attack (line 37-40 and line 311). All of them are not about LLMs but about the vision domain. It should instead point to e.g., [1-4].
  • The attack is only tested with Qwen3. It would be more convincing if the authors test their method across multiple model families.
  • They do not have an explicit section/paragraph to discuss limitations.

[1] https://arxiv.org/abs/2405.18137

[2] https://openreview.net/forum?id=41uZB8bDFh

[3] https://arxiv.org/abs/2505.23786

[4] https://arxiv.org/abs/2601.02680

Questions
  • Regarding Equations 2-5, is it correct to understand that the gradient update w.r.t. dkd_k is performed on platform dkd_k (i.e., the model moves back and forth between platforms)?
  • How robust/sensitive is the attack against differences other than platform differences (e.g., quantization, how they are served (vLLM vs. Transformers vs. SGLang etc), different library version)?
  • How does it behave on platforms that are not explicitly optimized for? (e.g, in S3 setting with H200 and H100, how does the model behave on A100, TPU etc?)
  • The tested benchmarks both consist of multiple-choice questions. I would be interested in seeing other benchmark scores, such as HumanEval (or something more relevant to code generation setup)
  • I noticed H200 is always included in every setup (Table 1). Is there any reason behind this design?

Generally, I think the paper is well written and solid. If all my concerns are addressed, I am positive about further increasing my score.

Limitations

Not precisely. In the checklist, the authors explain limitations are provided in the form of "preconditions for the attack in the threat model section (section 3.1) and at the beginning of section 4." I encourage authors to be more explicit about their limitations.

Final justification

The scope of the paper is sufficiently novel and interesting, the results are strong, and the paper is well written. The new experimental results presented in the rebuttal addressed all my concerns, and I do not see any critical issues warranting rejection.

Formatting concerns

N/A

5 comments
Authors · CommentOpenReview ↗

Rebuttal Response

We sincerely thank the reviewer for the careful review and the concrete suggestions, and apologize for the delayed response caused by compute access for the initial experiments. We have summarized the points raised on the meta-review and by multiple reviewers above in the general comment and attempt to address each point raised in this review below.

Corrected citations. Thank you for the hint and concrete corrections, we have updated the citations to incorporate quantization triggered attacks targeting LLMs.

Additional Model Families. We agree that this strengthens the generalization. We added an ablation for Llama-3-8B and gemma-2-9b, both of which successfully train the fingerprinting task on S2S_2, see Point (V).

Limitation Section. We agree this is a valuable addition and will add an explicit section, see Point (VIII) for the aspects it will cover.

Does the attack require moving models between platforms? No, we record the hidden states at the boundary layers once on each considered platform and transfer only these caches to a single training machine, where they are injected at the corresponding layer during the training forward pass. The divergent behavior therefore enters training as data. This is described at the beginning of Section 4.1 and we will make it more explicit.

Robustness. Please see Point (II), where we quantify the effect of quantization and batch size on S2S_2 and show that robustness follows from including the intended configurations as separate fingerprints during training. On serving frameworks, Figure 3 already shows the same GPU separating under vLLM and under Transformers, so the framework is part of the fingerprint. Library versions, tensor-parallel size and further frameworks such as SGLang are not yet covered, and we are glad to add them during the discussion period if you believe that this would further strengthen the argument on training based robustness.

Unseen Platforms. Our trigger loss is closed-world and has no null class, so an unseen platform is mapped onto one of the trained targets, see Point (VI). This does not affect success on the target platform, but it does mean untargeted platforms may inherit the payload. If you deem an open world formulation necessary to demonstrate the risk floating-point behavior can present we will consider a formulation of the loss including an explicit null class.

Code generation utility - HumanEval. Thank you for the suggestion, this should have been part of the original evaluation. See Point (IV) for the initial results.

Why is the H200 included in every setup (Table 1)? This was not a deliberate design decision. Our main experiment server holds four H200 cards, which made it the most readily available platform. It does have the side effect that all scenarios share a common anchor platform, which makes the CPRSD magnitudes in Table 2 comparable across scenarios.

We hope these additions address your concerns and are happy to run further experiments or provide more details during the discussion period if anything remains open.

Reviewer 2Hb2 · CommentOpenReview ↗

Thanks for the rebuttal! I have checked the general comment and the comment to my review. For most of the points, the authors fully addressed my concern.

Regarding Robustness/Unseen Platforms, I appreciate the responses including discussions (II) and (VI). As in (II), I understand that whenever the configuration the adversary wants to attack is determined, it is only about an engineering step.

My high-level interest, which was common to both points, however, was not only those results, but also in getting an intuition about understanding how large the set of compromised configurations is (given the current attack algorithm); based on the discussion in (II), I find that the attack does not transfer to quantization without an explicit optimization, whereas it does transfer to a more subtle hyperparameter change (e.g., --max-num-seq). I would like to see a few more examples of those transferability discussions.

Additional experiments with open-world formulation would add more value to the paper, but it was personally not my initial intention, and is not necessary to confirm my positive score.

Authors · CommentOpenReview ↗

Thank you for the fast response. We just started the requested experiments and will follow up as soon as we have the results.

Reviewer FDp6OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper propsoes a platform triggered backdoor for LLMs. The mechanism exploits cross-platform residual-stream discrepancy caused by non-associative floating-point arithmetic and divergent kernels. Two LoRA adapters are trained, one trigger adapter (ψ¹) amplifies the per-platform numerical signature, and a task adapter (ψ²) reads that signature to route platform-conditioned generation. They demonstrate on Qwen3-4B/8B across different hardware platforms with two payloads: hardware fingerprint marker and vulnerable code generation. The results demonstrate the effectivenes of the propsoed method.

Strengths and weaknesses

Strengths

  1. The paper provides a strong empirical characterization of the underlying phenomenon. In particular, Figure 2 effectively illustrates and explains the key observation that motivates the work.

  2. The paper explores a novel attack surface. While prior work has investigated floating-point inconsistencies and exploited them to manipulate classifier predictions (e.g., flipping a single label), this work extends the threat model to the LLM setting, which is both interesting and timely. That said, the authors should more clearly articulate how their attack differs from existing work "Hardware-Triggered Backdoors".

  3. Beyond demonstrating the attack, the paper also discusses potential mitigation strategies, which increases the practical value of the work.

Weaknesses

  1. The writing is difficult to follow in several places. I strongly encourage the authors to provide a clearer problem formulation and improve the presentation of the methodology and results. Some experimental findings are currently difficult to interpret.

  2. The threat model appears relatively strong. The attack seems to assume that the adversary knows the victim's exact deployment platform in advance, while the victim does not. However, if the deployment platform is known to the victim, it is unclear why the victim could not simply test the model on that platform before deployment. The authors should provide stronger justification for this assumption and discuss its practicality in real-world settings.

  3. Table 4 presents what appears to be the paper's primary evaluation, yet the experiments are conducted on only a single hardware pair (A100 vs. H200) using Qwen3-8B. This is in contrast to the trigger and fingerprint experiments, which are evaluated across five deployment scenarios. It would strengthen the paper if the authors could demonstrate the effectiveness and generality of the attack across a broader range of hardware configurations and models.

Questions
  1. what is the difference between this work and "Hardware-Triggered Backdoors"?

  2. Can you provide an ablation of the three loss terms?

  3. Does the trigger survive a change in tensor-parallel size or batch size at serving time relative to training?

  4. Post-training quantization is near-universal in real LLM serving, yet it is not tested.

  5. Can you justify the realisticism of the threat model?

Limitations
  1. Untested robustness to software-stack and hardware drift. This paper never tests robustness to driver/CUDA version, vLLM/Transformers version, or tensor-parallel size changes.

  2. Quantization is not evaluated. Real LLM serving almost always involves int8/int4/AWQ/GPTQ quantization, but the mitigation study did not consider the effectiveness of quantization.

  3. Table 4 is only evaluated on one scenario, which raise concerns about its generalizeability.

  4. Strong threat-model assumptions about attacker, It seems that the attacker must know the victim's exact deployment platform in advance and have hands-on access to an instance of it, and the victim will not test the backdoor model on the deployment platform.

Formatting concerns

NA

5 comments
Authors · CommentOpenReview ↗

Rebuttal Response

We thank the reviewer for the detailed feedback and concrete suggestions to improve the work. We apologize for the delay of the rebuttal response caused by resource constraints pushing back the initial experiments. We have summarized the points raised on the meta-review and by multiple reviewers above in the general comment and attempt to address each point raised in this review below.

Unclear writing. We will rework the problem formulation and the presentation of the results. If there are specific sections you found hardest to follow, we would be glad to prioritize those

Threat model strengths and realism. Please see Point (VII) in the general comment, where we restate the adversary's capabilities, discuss the limits of victim-side testing, and describe concrete real-world settings.

Extended evaluation. We agree and will extend the code backdoor to all five scenarios, see Point (I) for the initial results.

Difference between this work and ``Hardware-Triggered Backdoors''.

Thank you for the suggestion, we will clarify the differences between the two works in the final version of the paper. The main conceptual differences are summarized below.

  • Passive versus active use of the divergence. Möller et al. take the platform signal as given and search for a parameter configuration in which the existing deviation happens to straddle a decision boundary. FloatDoor trains the divergence itself, inflating ∥ΔA,Bhia(x)(l(t))(x)∥\|\Delta^{A,B} h^{(l^{(t)})}_{i_a(x)}(x)\| along a learned direction until platform identity is a separable residual-stream feature reusable by any task adapter. They explicitly dismiss a gradient-based route in their Section 3.2 as ``infeasible'', because the deviations and their gradients are hardware-specific and non-differentiable. Our two-stage design removes both obstacles: freezing the first l(f)l^{(f)} layers keeps the fingerprint stable under parameter updates, so the per-platform residual streams are recorded once and injected as constants. The numerics enter the objective as data rather than as a path that has to be differentiated through, and gradients flow only on a single machine.

  • Classifier label flip versus generative payload. Their attack flips one label of one preselected input in a vision classifier, and since the two largest logits are first driven into a near-tie, the divergence only has to tip a single comparison. FloatDoor has no target input: the trigger fires on arbitrary prompts and must steer every token on which the two platforms are meant to disagree, while the rest of the response stays identical on both (Table 4). The payload is a behavior rather than a flipped label.

- Platform coverage. They restrict the evaluation to five NVIDIA GPUs and hold the software backend fixed. We span NVIDIA GPUs, Google TPUs, and CPUs from AMD, Intel, AWS, Alibaba, and Apple. Further, our trigger loss generalizes to NN platforms rather than one target against the rest.

Trigger loss term ablation. We agree that this is an important missing ablation, the results are shown below and will be discussed in the appendix of the paper.

Ablation Probe acc ∥h∥(14)\lVert h \rVert^{(14)} MMLU HSwag HEval
Base (no adapter) 0.690.69 53.0 (1.0×)53.0\ (1.0\times) 0.680.68 0.690.69 0.820.82
Reference (all three terms) 1.001.00 81.1 (1.5×)81.1\ (1.5\times) 0.680.68 0.680.68 0.820.82
No probe (λp=0\lambda_p{=}0) 0.54\mathbf{0.54} 51.1 (1.0×)51.1\ (1.0\times) 0.680.68 0.680.68 0.820.82
No KL (λKL=0\lambda_{\mathrm{KL}}{=}0) 1.001.00 74.3 (1.4×)74.3\ (1.4\times) 0.66\mathbf{0.66} 0.67\mathbf{0.67} 0.76\mathbf{0.76}
No norm (λn=0\lambda_n{=}0) 1.001.00 789.7 (14.9×)\mathbf{789.7\ (14.9\times)} 0.680.68 0.680.68 0.820.82
Probe only (λn=λKL=0\lambda_n{=}\lambda_{\mathrm{KL}}{=}0) 1.001.00 752.0 (14.2×)\mathbf{752.0\ (14.2\times)} 0.680.68 0.680.68 0.790.79

Overall the probe loss is obviously required to achieve the desired separation, the removal of the KL term negatively influences utility and the removal of the normalization causes an uncontrolled inflation of the hidden state size.

Robustness. Please see Point (II), where we quantify the effect of quantization and batch size and show that robustness follows from treating each configuration as a fingerprint included during training. Tensor-parallel size and library versions are not yet covered and we are glad to add them during the discussion period if you believe this is required to further strengthen the argument.

We hope these additions address your concerns and are happy to run further experiments or provide more details during the discussion period if anything remains open.

Reviewer FDp6 · CommentOpenReview ↗

Thanks to the authors for their response. However, some of the responses refer to points that I was unable to locate in either the paper or the rebuttal. Thus, my primary concerns have not been adequately addressed.

Authors · CommentOpenReview ↗

Thank you for following up, and we apologise for the inconvenience.

We believe the missing material is Point (I), Point (II) and Point (VII), which our reply referenced. Our intention was to avoid repeating content across four threads. We placed the points raised by several reviewers in a general comment posted under the meta-review rather than in the individual replies.

We reproduce the relevant points in full below. If we have misunderstood which parts were missing, or if concerns remain open after this, we apologise and are happy to address them specifically.

Reviewer XjWTOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces FloatDoor, a platform dependent backdoor attack against LLMs. By exploiting small numerical deviations across platforms, the attack aims to display attacker-chosen behavior on a target platform, but remains benign otherwise. The authors train two adapters: the first one amplifies the platform dependent numerical divergence signal, while the second utilizes this signal to realize malicious downstream behavior. The results across different platforms and configurations show that FloatDoor is able to reliably fingerprint specific platforms using a non-rendered token as well as generating vulnerable code 3-times more likely on the target platform. The authors further evaluate utility loss in addition to several mitigations.

Strengths and weaknesses

Strengths

  • Broad evaluation across platforms and configurations (cross-vendor, cross-generation, same-generation, heterogeneous 3-way, and NVIDIA-only settings).
  • Core idea is creative and technically interesting. Implementation appears thoughtful.
  • Testing multiple mitigations.
  • Paper is well written and well structured.
  • Results seem promising

Weaknesses

  • Stealthiness: Since the paper uses LoRA adapters for the attack, these may be detectable by comparing the checkpoint to a known clean base model, especially because the construction is low-rank, layer-localized, and uses a relatively high amount of parameters. The authors should mention the detectability of these adapters and maybe test/discuss whether full fine-tuning can realize the same attack more stealthily.
  • Generalization to unseen platforms: The paper evaluates prompts on the platforms used to train the trigger, but it is unclear what happends on an unseen platform. A real deployment platform might differ from the chosen attacker platforms. A useful baseline would be to evaluate utility and malicious behavior on additional platforms not used during trigger training.
  • Mitigations: The mitigation results limit the practical significance of the attack even using simple post-processing defenses. Low-sparsity pruning eliminate the fingerprinting with little utility loss and no loss in efficiency. Furthermore, the authors should also discuss whether the code-vulnerability backdoor is also removed by these mitigations.
  • Utility evaluation: In addition to MMLU and HellaSwag, the paper should evaluate coding utility. This establish if the model remains a good code model. It is important to know whether the vulnerable outputs remains functional, not just vulnerable.
  • Less Focus on Backdoor Behavior: The authors substantially focus on the platform signal, for example through fingerprinting, but the only downstream attack is insecure code generation. Since the target-platform ASR is far from 100%, it would be useful to test additional malicious payloads to support the claim that the method enables general platform-conditioned behavior.
  • Task-adapter objective: The method description in Section 3.4 assumes token-aligned responses of equal length with localized attack positions. This is a significant restriction for many realistic backdoors. The authors should clarify whether this is only a training convenience or a real limitation, and should include experiments with non-token aligned, general platform-conditioned outputs.

Minor Weaknesses

  • The paper does not clearly explain why the code-generation attack is only evaluated in one scenario (S2S_2) and why mitigations are only evaluated in another (S3S_3). Some justification for this would be helpful.
  • The authors state that hidden-state extraction changes the compiled graph and introduces residual divergence. Some quantification/statistics of this would be helpful and how sensitive the trigger is to this mismatch.
  • It would be helpful to report how long the training takes and how the cost scales with model size and number of target platforms.
  • The main experiments use Qwen3 models. It would be interesting to see if the attack transfers to other model families.
  • The setups fixes batch size to one and mostly uses vllm/huggingface default settings. Real deployments often use batching and optimizations. These could change the platform signal. An ablation on this would be interesting or atleast a discussion should be included.
Questions
  • Is the token-aligned task-adapter objective a fundamental limitation or only a training convenience?
  • Are the trained LoRA adapters easily detectable by a user?
  • Do the proposed mitigations also remove the vulnerable-code backdoor, or only the fingerprinting marker?
  • How would the attack perform on other malicious backdoor behaviors?
Limitations
  • The paper should clarify how robust the attack is to unseen plaforms, batching, optimizations, or other deployment details.
  • The authors should be clearer about whether the task-adapter setup is limited to token-aligned payloads.
  • The mitigation results should be discussed more. If pruning or other simple post-processing can reliably destroy the backdoor with little utility loss, this affects the significance of the attack.
Final justification

The core idea of the paper is very interesting and the methodology is creative and nontrivial. The authors provide extensive experiments in the paper and during the rebuttal/discussion phase that strengthen the conclusion. During the rebuttal, the authors also resolved my concerns about the stealthiness, utility evaluation, and the task-adapter objective.
Two concerns remain, however:

  • Simple mitigations seem to break the backdoor. During the rebuttal, the authors argue that these are non standard and somewhat unrealistic for the victim to use. I agree with that statement, but these limitations still remain. I do not want to penalize the authors for being upfront with these, so I do not view this as a major issue.
  • The threat model is somewhat unrealistic. The attacker needs to have several assumptions about the victims deployment configuration. While it is easy to train for these, knowing them is quite unpractical. The authors bring up some good points during the rebuttal, but this limitation remains.

Overall, this is a strong paper with good results. The rebuttal by the authors is also very detailed and the new results strengthen the conclusions. Based on this, I would recommend acceptance and I am increasing my score.

Formatting concerns

No major paper formatting issues.

2 comments
Authors · CommentOpenReview ↗

Rebuttal Response

We sincerely thank the reviewer for the detailed and constructive feedback, and apologize for the delayed response caused by the compute access limitations for the initial experiments. We have summarized the points raised on the meta-review and by multiple reviewers above in the general comment and attempt to address each point raised in this review below.

Stealthiness and LoRA adapter detectability. We will add a discussion of detectability to the threat model and limitations. Two aspects are relevant. First, the attacker distributes a single merged checkpoint, so no separate adapter artifact is visible, and a comparison against a clean base model presupposes a published canonical base, which does not exist for the many fine-tuned derivative models hosted on public hubs. Second, the low-rank, layer-localized structure is a matter of training convenience rather than a requirement of the attack. We ran a full-finetuning experiment on S2S_2 that reproduces the trigger adapter and fingerprinting results for S2S_2 within 0.010.01 pp, so an attacker can drop this structural signature without losing effectiveness. This ablation will be added to the appendix.

Unseen Platforms. This is outside the scope of our current training objective, please see Point (VI) in the general comment.

Expanded mitigation evaluation. We will expand the mitigation discussion and scope. For more details please see Point (III) in the general comment. Additionally we discuss our view on the impact the mitigations have on the significance in the general discussion on the threat model (Point (VII)).

Extended utility evaluation. Thank you for the suggestion. On HumanEval the backdoored model stays within 0.050.05 of the base model and the vulnerable completions remain functional code, see Point (IV) in the general comment.

Additional backdoor. We have not tested further payloads. The two-stage design decouples the payload from the platform fingerprint, so the trigger adapter is payload-agnostic and the task adapter is what a new payload replaces. The two payloads we report span the difficulty range, a single-token marker as a minimal demonstration that the routing channel carries arbitrary tokens, and code vulnerability injection as a hard and realistic case, code generation being one of the most widely deployed and most sensitive LLM workloads. Are there any specific backdoor payloads supporting the evaluation of the generalizability we should evaluate?

Task-adapter objective. Token alignment and equal length are a training convenience, not a limitation. They hold for the fingerprinting task because its payload is a single prepended marker, i.e. a one-position attack set, which is what the description in (3.4) formalizes. The restriction is already lifted for the code backdoor (4.3), which is trained exclusively with the disagreement-masked CE loss applied only to the divergent positions of the paired targets, regardless of their length or alignment. We will loosen the conceptual description in (3.4) accordingly and clarify this in (4.3).

Hidden state extraction impact. We measured the perturbation our extraction introduces at the output layer relative to unmodified vLLM inference.

Extraction Mean KL divergence Mean log-props difference
Naive extraction 2.64×10−42.64\times10^{-4} 1.53×10−31.53\times10^{-3}
Our extraction 1.55×10−81.55\times10^{-8} 1.47×10−31.47\times10^{-3}

The sensitivity of the trigger to the remaining mismatch is approximable by the evaluation setup itself. The trigger adapter is trained on states cached through the modified hook, while all reported results are obtained natively on unmodified inference.

Attack Training time. We will add a full table of training times for all scenarios and models. Training is comparatively cheap and runs on a single machine rather than on all target platforms. The trigger adapter took at most 22 minutes and the fingerprinting task adapter under three minutes. The code backdoor took 25 minutes for the trigger adapter and 2.4h for the task adapter.

Why one scenario for the code backdoor and another for the mitigations. There was no principled reason for this split, it reflects the order in which compute became available. Both are being extended to all five scenarios, see Points (I) and (III).

Additional model families. We have added an ablation showing that the same training recipe also works for Gemma-2-9B and Llama-3-8B. Please see Point (V) in the general comment for more details.

Robustness/ sensitivity to deployment configurations. Please see Point (II). We quantify the impact on S2S_2 and show that robustness is obtained by treating each configuration as a fingerprint to be included during training.

We hope these additions address your concerns and are happy to run further experiments or provide more details during the discussion period if anything remains open.

Reviewer XjWT · CommentOpenReview ↗

Thank you for your detailed response and the additional experiments.
The full-finetuning result addresses my concern about the detectability of the LoRA adapters. The HumanEval results, training-time measurements, and experiments on additional model families are also useful additions.
The clarification that token alignment and equal response length are not required for the code backdoor resolves my concern about the task-adapter, but this should be made more clear in the paper.
My remaining concern is the behavior on unseen platforms. My original question was not whether an unseen platform can itself be targeted, but whether the model remains benign on platforms that were not included during training. Results on a few available unseen platforms would still be informative, even without developing an open-world method.
The new deployment-sensitivity results are helpful, but they also show a practical limitation. Quantization can break the routing unless that configuration is included during training. Real deployment also variy in engine and version, CUDA and driver versions, parallelism, kernel choice, and other settings. The attack therefore seems to require fairly detailed knowledge of, or training coverage over, the victim’s inference stack. I do not think more experiments are strictly required, but this dependency should be emphasized in the threat model and limitations.
I also appreciate the planned mitigation experiments. However, the existing result that simple pruning or LayerCast destroys reliable routing with little utility loss still reduces the practical significance of the attack. I agree that these interventions are not currently standard and that an adaptive attack may behave differently, so I view this as an important limitation rather than a major issue.
Overall, the rebuttal addresses several of my main concerns. The remaining issue mostly concern the practical assumptions of the threat model. However, I think this is a strong paper with good results and I would recommend acceptance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…