paper-with-me

Papers

Mitigating Adaptive Attacks against Reasoning Models with Activation Consistency Training

2026-05-27 · Avidan Shah, Jannik Brinkmann, Rico Angell arxiv

As LLMs gain stronger reasoning capabilities, their extended chain-of-thought introduces new degrees of complexity for defending against adversarial jailbreaks and prompt injection. We study consistency training, a family of fine-tuning objectives that enforce identical behavior on clean prompts and adversarial rewrites, and evaluate its two main variants, output-level (BCT) and activation-level (ACT), across five reasoning models. We formulate both methods as a prompt injection defense and find ACT to be competitive with other training-based defenses while requiring only self-supervised pairs of clean and wrapped prompts. Our experiments also generalize both techniques within the jailbreak setting, demonstrating that ACT remains more robust to adaptive attacks. We also provide mechanistic evidence that ACT's defense against jailbreaks is encoded as a roughly linear shift in activation space at the assistant-turn boundary. After ACT training, we can recover a single steering direction that controls refusal on reasoning models with minimal effect on benign inputs. We find that ACT remains robust even when the model's chain-of-thought is replaced with a compliant trace from the undefended base model, pivoting to refuse prefilled jailbreaks. Together, these results suggest that supervising internal representations is a surprisingly effective and interpretable approach to various forms of safety training in reasoning models.

📄 PDF Abstract BibTeX arXiv:2605.28467

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Steering Away from Harm: An Adaptive Approach to Defending Vision Language Model Against Jailbreaks

2024-11-23 · CVPR 2025 1 · Han Wang, Gang Wang, huan zhang

Vision Language Models (VLMs) can produce unintended and harmful content when exposed to adversarial attacks, particularly because their vision capabilities create new vulnerabilities. Existing defenses, such as input pr…

Language ModelingLanguage Modelling

Securing Federated Learning against Backdoor Threats with Foundation Model Integration

2024-10-23 · Xiaohuan Bi, Xi Li

Federated Learning (FL) enables decentralized model training while preserving privacy. Recently, the integration of Foundation Models (FMs) into FL has enhanced performance but introduced a novel backdoor attack mechanis…

Backdoor AttackFederated Learning

MAED: Mathematical Activation Error Detection for Mitigating Physical Fault Attacks in DNN Inference

2026-03-18 · Kasra Ahmadi, Saeed Aghapour, Mehran Mozaffari Kermani, Reza Azarderakhsh arxiv

The inference phase of deep neural networks (DNNs) in embedded systems is increasingly vulnerable to fault attacks and failures, which can result in incorrect predictions. These vulnerabilities can potentially lead to ca…

Improved Activation Clipping for Universal Backdoor Mitigation and Test-Time Detection

2023-08-08 · Hang Wang, Zhen Xiang, David J. Miller, George Kesidis

Deep neural networks are vulnerable to backdoor attacks (Trojans), where an attacker poisons the training set with backdoor triggers so that the neural network learns to classify test-time triggers to the attacker's desi…

image-classificationImage Classification

Mitigating Backdoor Attacks in Federated Learning via Flipping Weight Updates of Low-Activation Input Neurons

2024-08-16 · Binbin Ding, Penghui Yang, Zeqing Ge, Shengjun Huang

Federated learning enables multiple clients to collaboratively train machine learning models under the overall planning of the server while adhering to privacy requirements. However, the server cannot directly oversee th…

Federated Learning