acceptodds
Published as a conference paper at NeurIPS 2026

FloatDoor: Platform triggered Backdoors in LLMs

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

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.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_2Hb2OpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
4
Quality
3
Significance
4
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.

Paper formatting concerns

N/A

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.

Reviewer_FDp6OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
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.

Paper formatting concerns

NA

Reviewer_XjWTOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
3
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.
Paper formatting concerns

No major paper formatting issues.

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.

Comments on the paper

1 comment
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.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.