- Rating
- 4
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents a class subspace orthogonalization (CSO)-based approach for post-training backdoor detection and trigger inversion in LLMs deployed as classifiers with fixed single-token labels. The core contribution is an implicit semantic blacklist mechanism: by penalizing candidate trigger perturbations that align with the target class's intrinsic semantic direction in an internal layer, the method effectively distinguishes naturally class-indicative tokens from genuine backdoor triggers. Two detection schemes are provided—discrete token-space search and continuous embedding-space optimization—and validated on sentiment and topic classification tasks.
Strengths and weaknesses
This paper proposes a class subspace orthogonalization (CSO) approach to post-training backdoor detection and trigger inversion for LLMs used as classifiers with fixed single-token labels. The central idea—penalizing candidate trigger perturbations that align with the target class's intrinsic semantic direction in an internal layer—provides an implicit blacklist mechanism that separates ordinary class-semantic tokens from genuine backdoor triggers. The discrete token-space variant successfully recovers multi-token triggers in controlled classification settings, and a red-teaming procedure is introduced for hyperparameter selection.
Strengths:
- The CSO penalty effectively suppresses naturally class-indicative tokens while elevating innocuous trigger tokens, as demonstrated by the striking rank improvement of "seriously" from 830 to 2 under the margin-only baseline.
- The discrete search variant reliably reconstructs multi-token triggers such as "Tell me seriously," outperforming several prior trigger inversion methods in the considered classification tasks.
- The technical mechanism of using internal layer representations to penalize movement along the target class's semantic direction is clever and provides an explicit rationale for the implicit blacklist effect.
Weaknesses:
- The method is confined to LLMs used as classifiers with single-token label outputs, avoiding the central difficulty of open-ended generative LLM backdoors, which limits the generality of the claimed defense.
- Experimental validation is narrow, covering only two classification datasets and two model families, without evaluation on instruction-following, RAG, tool-use scenarios, or more recent instruction-tuned models.
- The discrete search variant incurs prohibitive computational cost—1400 minutes per model on a small Qwen3-0.6B for binary classification—and the reported timing excludes the additional red-teaming calibration overhead.
- Reproducibility is significantly hindered by the absence of code, data splits, poisoning seeds, and raw results at submission time, which is problematic given the method's complexity and adapted baselines.
Questions
1. Generality beyond single-token classification
The entire method assumes that the LLM functions as a classifier over a fixed, small set of single-token labels. This is a significant abstraction: in real LLM deployments, backdoors can trigger long-form unsafe generations, tool calls, or agent actions that cannot be reduced to comparing posterior probabilities of a few label tokens. The paper acknowledges this limitation as future work, but the framing throughout suggests a broader LLM backdoor defense.
Could the authors clarify the precise scope of the method and, ideally, discuss whether any component of the CSO penalty could be adapted to settings with multi-token or free-form outputs? If the method is genuinely limited to single-token classification, a substantial narrowing of the claims would be appropriate. Providing even a preliminary discussion of how the margin and penalty terms might be defined for a generative decoding setting—perhaps through sequence-level scoring or constrained decoding—would help assess the method's extensibility.
2. Experimental coverage and representativeness
The evaluation is limited to two text classification datasets (SST-2, Yahoo! Answers) and four models from two families (Flan-T5, Qwen3). This does not reflect the diversity of modern LLM deployments, where backdoors may appear in instruction-following, safety classification, retrieval-augmented generation, or code-related tasks.
What specific criteria guided the choice of these tasks and models? Are there practical reasons—beyond compute constraints—why experiments on more varied instruction-tuned models or at least one instruction-following task were not included? If the authors believe the current results generalize, it would strengthen the paper to articulate the rationale explicitly, or to add a small-scale experiment on a task that better represents how LLMs are used today.
3. Computational cost and the red-teaming overhead
The discrete CSO search requires approximately 1400 minutes per model on Qwen3-0.6B for a binary sentiment task. This is already substantial, and it is unclear whether this figure includes the red-teaming procedure used to select the intrinsic layer and λ. That procedure requires training multiple clean and poisoned model variants, which could add considerable cost.
Can the authors provide a breakdown of the wall-clock time spent on (a) red-teaming calibration versus (b) the actual detection/inversion stage? If the method is intended for practical certification, how would the cost scale to larger models or tasks with more classes? The paper would benefit from a discussion of the feasibility of deploying this approach outside of small-scale academic settings, or from an analysis of which components dominate the computational budget and might be optimized.
4. Reproducibility and comparison fairness
The paper does not release code, data splits, poisoning seeds, or raw detection logs at submission time. Given the complexity of the discrete search, internal layer extraction, and red-teaming calibration—and the fact that several baselines were reimplemented and adapted with modified hyperparameters—this makes it difficult to verify the reported improvements or assess whether baselines were treated fairly.
What is the plan for releasing these artifacts? If they cannot be released immediately, could the authors provide additional details in the rebuttal (e.g., exact prompt templates, tokenizer settings, search hyperparameters, baseline adaptation choices) to improve reproducibility? Clear evidence that the baseline methods received tuning comparable to that of CSO would also strengthen confidence in the comparisons.
5. Adaptive attack robustness and the implicit blacklist assumption
Could the authors clarify the precise conditions under which the anti-correlation property is expected to hold? What would a systematic adaptive evaluation look like—for example, optimizing a trigger to simultaneously maximize attack success and minimize CSO penalty? A discussion of the robustness boundaries would help readers understand when the implicit blacklist assumption can be trusted.
Overall, I would like the authors to scale their experiments to larger models, such as 7B or 14B. If this request is addressed, I will increase my score.
Limitations
yes
Paper formatting concerns
No concerns
Final justification
After considering the rebuttal and discussion, I recommend a score of 4. The additional results on multi-token outputs, instruction-following and safety tasks, BERT, and Qwen3-8B address much of my concern about evaluation scope and scalability. The runtime analysis and ablations also make the practical cost clearer. Some limitations remain. CSO still does not cover open-ended generation, and the adaptive attack presented in the rebuttal can evade CSO itself, although it can be detected by ONION. The calibration and search costs also remain substantial. Overall, the method is original and technically sound, and the new evidence is sufficient for a borderline accept.
Thanks for carefully reading and helpful comments.
Thank you.
Thank you.
Thank you.
We have extended for K variable-length, multi-token responses. This is achieved by: i) defining CSO on the hidden state of the final prompt token; ii) computing each response's joint log-posterior by the chain rule, dividing by the response length, and exponentiating to obtain an average posterior; iii) evaluating margin for 2 multi-token responses as difference between their average posteriors. Results given below. For fully generative LLMs, there are no post-training (PT) backdoor detection and inversion methods – our extension is a step towards this.
On Yahoo! Answers/Qwen3-0.6B, taking class names as the response set (K = 7, excluding classes 0, 3 and 6; lengths 1–4 tokens), target class "Politics & Government" with trigger "Tell me seriously", 2% poisoning rate, gives ASR of 99.6%. CSO detects 5 out of 5 attacked models, with 1 false positive on 5 clean models. On the attacked models, 11/15 true trigger tokens inverted.
We have (or will during phase 2) new experiments on: i) variable-length, multi-token responses (see above); ii) instruction-following; iii) BERT (see rev. Voh8); iv) AI safety; v) Chinese sentiment (see rev. Voh8). We also have ablated N and will on the clean set size. RAG and agentic AI use "fully generative" LLMs – there are no PT detectors for this case.
Several methods to greatly decrease complexity: 1) M parallel GPUs reduce computation by a factor ~M; 2) Use the continuous (low cost) method for detection + discrete inversion only for the detected target class. This reduces detection plus inversion time by factor ~K. Together, 1) and 2) reduce by a factor ~MK – for M = 5, K = 7, Qwen3-0.6B on Yahoo, computation time goes from ~23 hours to ~30 minutes. Also, N can be reduced from 20 to 15 with low accuracy loss (see rev. 5toY). We will report an ablation on the clean set size (linear complexity).
Thanks for pointing out this omission. Red-teaming needs: 1) fine-tuning to create L "clean" and L' poisoned models; 2) detection on these L + L' models for G different lambda candidates. Even using continuous-space detector, complexity of red-teaming is high – for L = L' = 10 and G = 5, time for Qwen3-0.6B/SST-2 is 1500 minutes. But using M = 20 GPUs, this reduces to 75 minutes. We will also perform an ablation on L = L'.
We have extended CSO for variable-length, multi-token response classes. Re: fully generative, that problem is beyond this paper's scope. One might treat each unique (prompt, response) pair as a "class" and seek to apply ~our framework for that case. But such an approach may be too costly because, for a given domain, the number of such "classes" of interest could be in the thousands or millions.
For phase 2, we will include safety classification and instruction following experiments. For the latter, we consider a movie domain and two instructions: "Give the sentiment" and "Predict the genre". A trigger inserted with the instruction "Give the sentiment" causes the LLM to predict the genre.
We also have experiments using a third family – BERT models (see Voh8 response).
Qwen is a quite popular and performant LLM, given its size. It is a modern (decoder-only) LLM, it is open-weight, and is used in much research work. So we believe this was a quite reasonable choice.
As indicated, we will add an instruction-following experiment. But RAG or code-related tasks in general use the LLM in fully generative fashion.
We reported red-teaming execution above. And we have demonstrated strategies for greatly reducing time for detection/inversion and red-teaming. Regarding complexity scaling, in Sec. 5.4, we stated complexity scales linearly with K. And complexity also scales linearly with the time to perform a forward pass through the model (so complexity grows ~linearly with the number of layers).
We used authors' code for all baseline implementations, and either used default hyperparameter settings or ones that improve detection for a given baseline. The exceptions to this were described previously.
Our novel red-teaming was used to set all CSO hyperparameters. There was no special "tuning" applied to favorably bias the results. We have now made coding artifacts available. For the final paper, we will also apply our novel red-teaming to set hyperparameters for the baseline methods.
Anti-correlation is not necessary for CSO to be effective – the backdoor trigger should just have significantly lower correlation with target-class samples than candidate triggers with target-class tokens. We have not developed conditions under which "innocuous" triggers will be anti-correlated with target classes. There is some related literature – if one considers one "prototype" per class, with the prototypes forming a simplex, then all class prototypes have negative pairwise cosine similarities ["Inducing neural collapse in imbalanced learning: do we really need a learnable classifier at the end of deep neural network?", NeurIPS, 2022].
An adaptive attacker would choose a trigger to maximize CSO (since our detector is hunting for triggers with low CSO). Maximizing CSO is equivalent to choosing triggers intrinsic to the target class ("fabulous magnificent" when target class is "positive"). As we show in Sec. 5.5, while such an attack defeats CSO it is easily detected operationally by ONION (positive-sentiment trigger inserted into a negative movie review has high perplexity, the basis of ONION's detections).
We are working to produce more experimental results during the phase 2 period to meet all the reviewers' requests.