Publication Type

Conference Proceeding Article

Version

publishedVersion

Publication Date

4-2026

Abstract

Safety-aligned large language models (LLMs) remain vulnerable to backdoor attacks. Recent model-editing-based approaches enable efficient backdoor injection by directly modifying a small set of parameters to map triggers to attacker-desired behaviours. However, we find that existing editing-based attacks are often unstable under safety alignment: the edited model may begin with an affirmative prefix but later revert to refusals during generation. We term this phenomenon safety fallback.To mitigate it, we propose DualEdit, a dual-objective model-editing framework that simultaneously promotes affirmative tokens and suppresses refusal tokens. DualEdit further addresses two key challenges, objective imbalance and refusal diversity, through two complementary techniques: (1) dynamic loss weighting, which calibrates the relative scales of the two objectives using the pre-edited model to stabilise optimisation; and (2) value anchoring, which clusters representative attention value vectors to form compact anchors, reducing conflicts arising from overly diverse token sets and improving generalisation.Experiments on safety-aligned LLMs show that DualEdit improves attack success by 10% and reduces the safety fallback rate by 11% compared with baseline methods.

Keywords

Large language models, backdoor attacks, model editing, safety alignment, safety fallback, dual-objective optimisation, dynamic loss weighting, value anchoring

Discipline

Artificial Intelligence and Robotics | Computer Engineering | Data Storage Systems

Research Areas

Data Science and Engineering; Intelligent Systems and Optimization

Areas of Excellence

Digital transformation

Publication

Proceedings of the Fourteenth International Conference on Learning Representations (ICLR 2026), Rio de Janeiro, Brazil, April 23-27

First Page

1

Last Page

20

ISBN

9798331339678

Publisher

International Conference on Learning Representations (ICLR)

City or Country

Rio De Janeiro, Brazil

Share

COinS