Colluding LoRA: A Compositional Vulnerability in Safety Alignment of Large Language ModelsColluding LoRA: A Compositional Vulnerability in LLM Safety Alignment
The authors propose CoLoRA: after merging, Qwen2.5-7B achieves an ASR of 100.0% on AdvBench with LlamaGuard3.
Under open weights, the adversary has white-box access to the base W0, can optimize and upload adapters offline, without modifying scanning, the base, or inference code. Users combine LoRAs with standard linear merging. The trigger is the composed state: individually, refusal should be near the base; after merging, broad refusal suppression appears for unmodified harmful requests. Verification is assumed to be unit-centric.
- LoRAs in public repositories will be linearly merged onto safety-aligned bases. The authors argue that existing checks mostly look at individual adapters, and combined safety may be invisible in individual checks, while exhaustive combination is infeasible at repository scale.
- CoLoRA splits refusal suppression across multiple low-rank adapters. When loaded individually, it is anchored with utility tasks and refusal responses; harmful responses are optimized only when loaded together, with benign-data regularization; the trigger is the composed state, not special tokens in the input.
- On three Instruct models, single-adapter AdvBench ASR is 0.0%; after merging, Qwen2.5-7B with LlamaGuard3 is 100.0%. HarmBench is lower. Mismatched merging with a benign adapter did not trigger the same refusal suppression.
- The Conclusion calls for future defenses to address adapter interactions and high-risk merges, not just single-component static inspection. The experiments specify 3 open-weight Instruct models; the paper does not report the number of evaluation examples, repetitions, or training steps.
- Evaluated models
- Gemma2-2B-ItQwen2.5-7B-InstructLlama3-8B-Instruct
- Benchmarks
- AdvBenchHarmBenchAlpacaMMLUWikitext-2GSM8KShakespeare-DollyCodeAlpaca
- Metrics
- ASRFRRMMLU (5-shot)Perplexity
The paper proposes Colluding LoRA (CoLoRA), a compositional vulnerability of modular large language models: LoRA adapters that appear harmless and functional when evaluated individually, when merged through standard linear combination, suppress refusal and make the model comply with harmful requests under ordinary prompts. The authors validate on Llama3-8B-Instruct, Qwen2.5-7B-Instruct, and Gemma2-2B-It: the attack success rate of a single adapter on AdvBench is close to 0, while after merging, Qwen2.5-7B reaches 100% (LlamaGuard3) and 91.1% (HarmBenchCLS), Llama3-8B reaches 98.2%, while the false refusal rate on benign prompts remains at 0.4%–3.0%. The authors state that scanning adapters one by one takes only linear time, but verifying all combinations is combinatorial explosion, infeasible at repository scale, thus requiring composition-aware defenses; SafeLoRA's weight-space projection cannot clearly distinguish colluding adapters, and PEFTGuard also judges a single colluding adapter as benign.
Why it was selectedThe paper provides compositional attack constructions reproduced on multiple open-weight models, showing that scanning adapters one by one cannot cover the safety risks after composition.
Related events and news
2 events · 7 news mentions
News that mentions this paper
CrowdStrike称LoRA适配器可植入后门
- CSA Labs Researchcites the paper's id or link藏在适配器里:供应链中的 LoRA 后门模型
[7] Ding, S. “Colluding LoRA: A Compositional Vulnerability in LLM Safety Alignment.” arXiv:2603.12681 (preprint), March 2026.
Anthropic实验:Claude生成数据绕过训练监控
- TechTimescites the paper's id or linkAnthropic 研究:Claude 能自行设计骗过类生产训练数据监控器的训练数据
at ICLR 2026 by Sihao Ding and colleagues demonstrated colluding LoRA attacks: multiple fine-tuning adapters, each of which passes safety review individually, that collectively strip a model's
- Failure-Firstcites the paper's id or link安全机制作为攻击面:AI 安全的医源性伤害
Kyoto University (arXiv:2603.04904), Mercedes-Benz R&D (arXiv:2603.12681), and HK PolyU/Cambridge (arXiv:2603.01414).
Show 4 more news items
- Failure-Firstcites the paper's id or link具身 AI 失败的统一理论
Ding (2026). “Colluding LoRA.” arXiv:2603.12681.
- Failure-Firstcites the paper's id or link安全不可组合:一项形式化证明对机器人安全意味着什么
Last week, Ding (arXiv:2603.12681) demonstrated that individually benign LoRA adapters compose to suppress safety alignment — what they call CoLoRA.
- Failure-Firstcites the paper's id or link攻击机器人的 30 种方式:对抗攻击实战手册
Ding (2026). “Colluding LoRA.” arXiv:2603.12681.
- Failure-Firstcites the paper's id or link具身 AI 安全现状:2026 年第一季度
CoLoRA (Ding et al., arXiv:2603.12681): Per-component safety verification certifies individual LoRA adapters as safe.
Paper analysis
What problem does this paper attempt to solve?
In modular LLMs, individually benign LoRAs can, after linear merging, exhibit composition-triggered broad refusal suppression.
Safety alignment can fail only when adapters are combined: individually seemingly benign and usable LoRAs, after standard linear merging, jointly cause broad refusal suppression.
- Scenario: The authors state that beyond monolithic checkpoints, LLMs are increasingly deployed in composable ways; users take LoRAs from public repositories and linearly merge them onto a frozen safety-aligned base. The authors argue that harmful behavior can emerge from interactions of seemingly benign modules, not only from individual components.
- Existing limitations: The authors state that platform defenses are largely unit-centric, isolating clearly harmful behavior, anomalous weights, or standalone utility, and generally cannot certify composed systems. The authors also state that individual scanning is O(N), k-way collusion is O(N^k); with N=10000 all subsets are 2^N, making exhaustive pre-scanning computationally infeasible.
- Observation: Activation comes from the composed state, not from adversarial suffixes or input-side triggers. Harmful behavior lies dormant under single-module inspection and only appears for standard, unmodified harmful requests after the target adapter set is merged.
- Construction: The authors propose Colluding LoRA (CoLoRA), distributing safety degradation across multiple adapter updates, and using utility anchoring and refusal constraints on individual states as plausibility camouflage.
- Threat model:
- Goal: After entering a specific merged state, the model is more likely to comply with harmful requests that the base and single adapters would refuse, without requiring special suffixes, rare tokens, or other input triggers.
- Knowledge: open-weight setting, white-box access to base parameters W0, adapters can be optimized offline before upload.
- Capability: can upload adapters to the same public repository; does not modify the scanning pipeline, base weights, or user inference code. In practice, can be written as complementary tools, or jointly recommended in the model card.
- Victim system: frozen safety-aligned base plus third-party LoRAs, with users performing standard linear merging. The authors assume deployment-time verification is mainly unit-centric, not exhaustively evaluating combinations.
What related research exists?
Related work covers merging, jailbreaks and fine-tuning, and composite backdoors; the authors place the activation point in the composed state rather than an input trigger.
The introduction and Related Work divide the comparison into modular merging, inference/training-time attacks, and backdoors that distribute payloads across multiple components. Appendix A's Table 6 further distinguishes them with four columns: injection point, trigger, whether benign alone, and whether a specific prompt is required.
- Modular adaptation and merging
- LoRA (Hu et al., 2022): Low-rank updates for efficient adaptation, allowing users to retrieve and combine modules from public repositories (also citing Wolf et al., 2020; Udandarao et al., 2024).
- Task arithmetic and TIES (Ilharco et al., 2023; Yadav et al., 2023): Weight updates from different tasks can be linearly combined to merge capabilities. The authors state that their main motivation is constructive transfer.
- Merging and safety behavior (Gallego, 2024; Zhang et al., 2024): The authors state that recent work has observed that merging can also degrade safety behavior, including safety forgetting under combination.
- Jailbreaks, fine-tuning attacks, and detection
- GCG (Zou et al., 2023) and AutoDAN (Liu et al., 2024b): Optimize prompts at inference time to bypass RLHF alignment (Ouyang et al., 2022; Bai et al., 2022).
- Fine-tuning attacks (Qi et al., 2024; Yang et al., 2023): Additional training can break alignment and often produces artifacts that are themselves unsafe.
- SafeLoRA (Hsu et al., 2024), PEFTGuard (Sun et al., 2025), LlamaGuard 3 (Inan et al., 2023): Projection, detection, and guardrails for unsafe adapters, fine-tuned models, or conversational inputs/outputs.
- Composite backdoors and supply chains
- Backdoors distributed across components (Lin et al., 2020; Huang et al., 2024; Dong et al., 2025): Harmful behavior is not concentrated in a single model artifact. The introduction lists BadNets (Gu et al., 2017) and LoRATK (Liu et al., 2024a) as single-artifact, input-conditioned backdoors.
- BadMerging (Zhang et al., 2024) and MergeBackdoor (Wang et al., 2025): Merged models can carry hidden harmful behavior. The authors state that they typically still retain input triggers.
- Supply chain inspection (Hu et al., 2025): Used by the authors to support the claim that existing modular defenses are largely unit-centric.
- Experimental controls and benchmarks: The paper does not rerun GCG or AutoDAN. Controls are the base model, single adapters A1/A2, combination A1+A2, encoding utility adapter B, and single-adapter harmful baseline Â1; static probing uses SafeLoRA and PEFTGuard trained on PADBench. Harmful data uses AdvBench, with additional ASR measurement on HarmBench; benign false rejection uses Alpaca. Utility uses MMLU, Wikitext-2, and anchor tasks GSM8K, Shakespeare-Dolly, and CodeAlpaca.
The authors position the paper after "merging can harm safety": degradation can occur only in specific combinations, individual adapters can remain benign in isolated evaluation, and no special input trigger is required.
- Modular adaptation and merging
How does the paper address this problem?
CoLoRA uses interleaved individual anchoring and composition losses, keeping refusal suppression dormant until the two adapters are loaded together.
CoLoRA trains a set of low-rank adapters so that harmful behavior appears only when a specified set is merged via standard linear combination; when loaded individually, each adapter is constrained to refusal and utility tasks.
States and Updates
The frozen safety-aligned base is W0. Each adapter's update is a low-rank matrix, ΔWn = (α/r) Wup^(n) Wdown^(n). The individual state is W0+ΔWn; when two adapters are loaded simultaneously, the updates add.
W(collude)=W0+ΔW1+ΔW2
This is the colluding state: safety failure is defined after both updates are added, not when one adapter is loaded alone. The forward pass remains a causal language model; cross-entropy LCE is computed only on target response tokens, with prompt tokens masked.
Data and Compositional Loss
Four types of paired data have different roles. Dutil^(n) is the benign utility anchor for that adapter; Dsafe is harmful queries paired with fixed refusal responses; Dharm is harmful queries paired with harmful responses; Dbenign is general instruction data used to suppress catastrophic forgetting and maintain language coherence in the combined state.
The individual step opens only one adapter, with loss being utility cross-entropy plus λsafe times refusal cross-entropy. The combination step opens both adapters simultaneously:
Lcollude=λharm LCE(W(collude); Dharm)+λreg LCE(W(collude); Dbenign)
This pulls the combined state toward both harmful responses and benign regularization. Safety and utility gradients are computed in their respective individual activation states and are not mixed with the combined objective in the same forward pass.
Interleaved Accumulation and Warm-up
The authors state that if losses are simply summed, or if alternating updates are done without explicitly constraining individual states, optimization tends to collapse because harmful objectives are easier to learn than fine-grained safety constraints. Therefore, each global step performs three forward and backward passes, accumulates gradients, and then makes one update: first only A1, then only A2, and finally both open together to compute the combined loss.
Before joint optimization, there is a functional warm-up: each adapter is first trained individually on its specified utility task for several steps to place ΔWn in a benign manifold, before introducing conflicting colluding gradients. The paper only says "a certain amount of steps," without specifying the number.
Choices in the Main Experiments
The colluding pair in the main results is a style-transfer adapter and a math adapter. Dutil uses GSM8K, Shakespeare-Dolly, and CodeAlpaca; Dbenign uses Alpaca; Dharm and Dsafe use the AdvBench training set. LoRA has r=32, α=32, applied to attention query, key, value, and output projections. Appendix B gives trainable parameters: Gemma2-2B-It has 12.8M (0.49%), Qwen2.5-7B-Instruct has 20.2M (0.27%), and Llama3-8B-Instruct has 27.3M (0.34%). The optimizer is AdamW with learning rate 2e-5 and cosine decay; λsafe=1.0, λharm=1.0, λreg=1.5.
Individual and Combined Adjudication
Individual states should approximate baseline refusal on harmful prompts and remain usable on benign tasks. The combined state should increase compliance on unmodified harmful prompts while not massively rejecting benign prompts. The paper defines the compositional trigger by contrasting these two states, rather than a single module being always harmful or triggered by input tokens.
What experiments did the paper conduct?
On three models, single-adapter AdvBench ASR is 0.0%; after merging, Qwen2.5-7B with LlamaGuard3 reaches 100.0%.
Experimental setup
- Tested models: Gemma2-2B-It, Qwen2.5-7B-Instruct, Llama3-8B-Instruct. Table 1 abbreviates them as Gemma2-2B, Qwen2.5-7B, Llama3-8B. The authors state they chose Instruct variants because they have RLHF safety alignment baselines.
- Adapters: all experiments use r=32, α=32, target layers are attention Q/K/V/O. In Table 1, A1 and A2 are the style-transfer and math adapters.
- Data: harmful behavior is trained on the AdvBench training set; ASR is measured on the AdvBench test split and HarmBench. FRR is on the Alpaca test split. The paper does not report the number of samples per split.
- Metrics and judges: FRR is the proportion of benign prompts refused, using keyword filtering and DistilRoBERTa-Rejection-Classifier. ASR is the proportion of harmful prompts eliciting unsafe responses, using LlamaGuard3 and HarmBench-Llama-2-13B-CLS (HarmB.CLS in tables). The paper does not state judge thresholds, number of repetitions, or agreement with humans.
- Training: AdamW, learning rate 2e-5, cosine decay; λsafe=1.0, λharm=1.0, λreg=1.5. Total steps or epochs are not reported.
Main results
From Table 1 ASR (%). Single-adapter rows are not listed in the table below.
Swipe horizontally to read the table
Model Configuration AdvBench LG3 AdvBench CLS HarmBench LG3 HarmBench CLS Gemma2-2B Base 1.8 0.0 25.0 3.1 Gemma2-2B A1+A2 98.2 80.4 90.4 47.8 Qwen2.5-7B Base 0.0 0.0 31.5 11.5 Qwen2.5-7B A1+A2 100.0 91.1 95.3 68.6 Llama3-8B Base 0.0 0.0 26.4 5.6 Llama3-8B A1+A2 98.2 83.9 90.4 60.5 - False refusals: The authors state that FRR is low for all configurations on Alpaca, and write 0.4%–3.0%. The keyword column in Table 1 is 0.4%–3.0%; the DistilRoBERTa column is 1.0%–3.4%, with the highest being 3.4% for Llama3-8B with A1. The authors state that neither single adapters nor combinations substantially increase false refusals.
- Individual states: The authors state that single adapters are close to the base, often 0.0% ASR on AdvBench. In Table 1, A1 and A2 for all three models are 0.0% on AdvBench under both judges. The base is not all 0.0%: Gemma2-2B, AdvBench, LlamaGuard3 is 1.8%.
- HarmBench: The authors state that absolute ASR is lower, and suggest this may be because training used AdvBench; qualitatively, degradation still mainly appears under composition. Appendix D compares single-adapter refusal with post-composition compliance; prompts or responses are not reproduced here.
Utility camouflage and mismatched merging
- General metrics: Table 2 compares MMLU (5-shot) and Wikitext-2 perplexity for the base, A1, A2, and A1+A2. Llama3-8B-Instruct MMLU goes from 67.76 to 67.40 for the composition, perplexity from 7.57 to 7.10; Qwen2.5-7B-Instruct composition is 74.23 and 6.63, base is 73.42 and 6.79. The authors state that safety degradation does not come from broad utility or coherence loss.
- Task perplexity: Table 3 reports on Llama3-8B; A1 reduces Shakespeare-Dolly perplexity from 15.91 to 5.64, A2 reduces GSM8K from 3.49 to 2.03; after composition they are 5.86 and 2.26. The authors state these gains are largely preserved in the composed state.
- Mismatch: Table 4 merges A1 and A2 separately with an independent coding utility adapter B. ASR is base 5.6%, B 16.0%, B+A1 16.4%, B+A2 4.3%; FRR is 1.3, 2.1, 1.4, 1.7; perplexity is 7.57, 7.28, 7.05, 7.17. The authors state that mismatch does not trigger refusal suppression, and degradation depends on specific interactions. The table does not specify the model, dataset, or judge; the base row matches Table 1's Llama3-8B DistilRoBERTa FRR (1.3), HarmBench HarmB.CLS (5.6), and Table 2's Wikitext-2 perplexity (7.57).
Weight signatures, loss landscape, and number of adapters
- SafeLoRA: Figure 1 axes are Score and Layer Index, faceted by Q/K/V/O Projection, legend is A1, A2, Benign, Harmful. The authors state that benign adapters have the highest scores and the harmful baseline the lowest, with colluding adapters mostly falling between them with no large gap, so they cannot be separated by geometry alone. The caption states they cannot be cleanly separated by a weight-space signature. Per-layer curve values are not readable in the text. The paper does not report statistical tests.
- Loss landscape: Section 4.6 interpolates along W0+s1·ΔW1+s2·ΔW2; Figure 2 left is Harm Compliance Loss, right is Harm Refusal Loss. The authors state that the base is in a region of high compliance loss and low refusal loss; the composed state (⋆) is in a low-loss basin for compliance loss and at a high point for refusal loss. The authors state that the local scope means the effect persists under small coefficient perturbations or weighted merging. The figure does not specify which model the base is, and pointwise values are not readable.
- Count: Table 5 varies N on Llama3-8B. The single-adapter harmful baseline Â1 has individual average ASR and Colluding ASR both 52.5%, not satisfying individual benignity. N=2 is 1.3% and 60.5%, N=3 is 0.6% and 65.4%, N=4 is 0.5% and 65.1%, and the base is 5.6% in both columns. The authors state that N=2 brings the individual average down to the base level while maintaining high composed ASR, N=4 shows diminishing returns, and they argue N=2 or N=3 is more appropriate between attack effectiveness and deployment complexity. The table does not specify the dataset or judge; 5.6 and 60.5 match Table 1's Llama3-8B, HarmBench, HarmB.CLS base and A1+A2.
Other ablations and analyses
- PEFTGuard (Appendix C): An off-the-shelf classifier trained on PADBench consistently judges Llama3-8B's A1 and A2 as benign. The authors hypothesize that the weights look more like standard fine-tuning; and write that PADBench's official training data does not contain CoLoRA-like samples. Classification scores are not reported.
- HarmBench single adapters (Table 1): LlamaGuard3 is 16.0%–34.6%, HarmB.CLS is 0.9%–10.5%. Qwen2.5-7B's A1 with LlamaGuard3 is 34.6%, base is 31.5%. The authors do not explain this cell separately.
- B itself (Table 4): ASR 16.0%, higher than the same table's base 5.6%. The authors only use it as a mismatch control and do not interpret this increase as collusion.
- Parameters: The paper does not report numerical ablations of λ, rank, learning rate, or warmup steps.
What are some points that can be further explored?
The paper does not have a dedicated limitations section; the Conclusion places future directions in composition-aware verification rather than single-component static inspection.
Limitations and future directions noted by the authors
The paper has no dedicated Limitations, Discussion, or Future Work section. Text that can correspond to "what can be done next" appears in the Conclusion:
- Composition-aware defenses (Conclusion): The authors write that future defenses should consider risk interactions between adapters, prioritize high-risk merge patterns, and develop verification protocols more consistent with modular deployment, rather than only static checks of single components.
- System-level composed behavior (Conclusion): The authors argue that as deployment becomes more modular, safety evaluation needs to go beyond component-level guarantees to address system-level behavior under composition.
The Ethics Statement states that the research is limited to controlled offline experiments and did not place harmful adapters in public repositories. This is a research practice, not a method limitation listed in the paper.
Experimental coverage
- Models and access: The tested models are Gemma2-2B-It, Qwen2.5-7B-Instruct, and Llama3-8B-Instruct, a total of 3 open-weight Instruct models. The threat model states that the adversary has white-box access to W0 and can optimize adapters offline before upload.
- Main protocol: FRR on Alpaca using keywords and DistilRoBERTa; ASR on the AdvBench test split and HarmBench using LlamaGuard3 and HarmBench-Llama-2-13B-CLS. Harmful behavior is trained on the AdvBench training set.
- Adapters: LoRA r=32, α=32, attention Q/K/V/O. The main colluding pair is the style and math adapters. The count experiment on Llama3-8B includes Â1 and N=2, 3, 4 (Section 4.7, Table 5).
- Other measurements: MMLU (5-shot) and Wikitext-2 perplexity for three models (Table 2); task perplexity for Llama3-8B (Table 3); mismatched merging with coding adapter B (Table 4, model and judge not specified); SafeLoRA scores (Figure 1); PEFTGuard on Llama3-8B for A1, A2 (Appendix C).
- Not reported in the paper: number of samples per evaluation split, number of repetitions, warmup and total training steps, judge thresholds, and agreement between judges and human evaluation.
Summarize the main content of the paper
The authors report with CoLoRA that individual adapters can maintain refusal, and compliance on standard harmful prompts increases after specific merges.
This work presents a compositional failure in a supply chain scenario: LoRAs that appear benign individually and also refuse requests can, after the user loads them together via standard linear merging, lose refusal on unmodified harmful requests.
- Problem: Safety-aligned base weights are frozen, and third-party adapters come from public repositories. The authors argue that checking only individual uploads cannot stop collusive combinations; individual scanning is linear, k-way combinations are O(N^k), and with N=10000 all subsets are 2^N.
- Construction: The adversary has white-box access and trains adapters offline. When activated alone, they fit utility anchors and fixed refusals; when activated in combination, they fit harmful responses with benign regularization; gradients for the three states are computed separately and then updated once. The main experiments use style and math adapters, r=32, α=32, optimizer AdamW, learning rate 2e-5.
- Main numbers: In Table 1, for Gemma2-2B-It, Qwen2.5-7B-Instruct, and Llama3-8B-Instruct, A1 and A2 have ASR of 0.0% on AdvBench with both LlamaGuard3 and HarmB.CLS. After A1+A2, Qwen2.5-7B is 100.0% and 91.1%, Llama3-8B is 98.2% and 83.9%, and Gemma2-2B is 98.2% and 80.4%. In the same table, Alpaca keyword FRR is 0.4%–3.0%.
- Other measurements: On HarmBench, the merged ASR is lower than on AdvBench; Qwen2.5-7B with HarmB.CLS is 68.6%, which the authors attribute to training data being AdvBench. The mismatched pairs in Table 4 do not achieve compliance for effective colluding pairs. In Table 5, on Llama3-8B, Colluding ASR for N=3 is 65.4% and for N=4 is 65.1%. Neither SafeLoRA nor PEFTGuard separates individual adapters from benign updates.
- Authors' conclusion: Safety at the single-adapter level generally does not imply safety after combination. The authors argue that modular supply chains need composition-aware verification and should prioritize high-risk merges rather than certifying only individual components.
Related papers
- Exploiting LLM QuantizationAttacksarXiv