[KongchangAI]
PaperHoS / Heads of Security

Heads of Security (HoS)

An architecture-level defense method against LLM prompt injection attacks that introduces a learnable gating mechanism for each attention head to enforce separation between instructions and data, dynamically regulating attention allocation between trusted and untrusted tokens without altering the main model weights.

Timeline (last 90 days)

Oct 28

The paper proposes Heads of Security (HoS), which enforces instruction-data separation through a set of learnable per-head attention gates.

Unverified50%
Oct 28

HoS does not change the model's main weights; instead, it introduces a small gating module for each attention head that learns to reallocate attention weights over trusted and untrusted tokens.

Unverified50%
Oct 28

HoS's gates are learned rather than hard-coded rules; defenses such as ASIDE instead adopt architectural-level instruction-data separation.

Unverified50%
Oct 28

HoS's gating parameters are very small in scale and do not touch the main weights, making training cost far lower than full-parameter fine-tuning and avoiding catastrophic forgetting.

Unverified50%
Oct 28

The paper evaluates HoS on Llama-3.3-70B-Instruct and GPT-OSS-20B, with baselines including the fine-tuning-based defense SecAlign++ and the architecture-based defense ASIDE.

Unverified50%
Oct 28

Under the black-box RL-Hammer attack, HoS's attack success rate (ASR) is only 10%, compared with 97% for the original GPT-OSS-20B model and 85% for SecAlign.

Unverified50%
Oct 28

Against the white-box attack Claudini, attackers need to consume about 3 times the FLOPs to reach the same ASR on HoS as on the baselines.

Unverified50%
Oct 28

HoS maintains the base model's performance on standard multiple-choice benchmarks and prompt settings, whereas SecAlign and ASIDE degrade in few-shot scenarios.

Unverified50%
Oct 28

On agent benchmarks of static attacks, HoS and SecAlign perform similarly and substantially outperform the safety-utility trade-off of base models.

Unverified50%
Oct 28

HoS is currently still validated on specific models, and the gating module's training cost and cross-model generalization ability remain to be further observed.

Unverified50%

All Facts (10)

Unverified

The paper proposes Heads of Security (HoS), which enforces instruction-data separation through a set of learnable per-head attention gates.

50%
Unverified

HoS does not change the model's main weights; instead, it introduces a small gating module for each attention head that learns to reallocate attention weights over trusted and untrusted tokens.

50%
Unverified

HoS's gates are learned rather than hard-coded rules; defenses such as ASIDE instead adopt architectural-level instruction-data separation.

50%
Unverified

HoS's gating parameters are very small in scale and do not touch the main weights, making training cost far lower than full-parameter fine-tuning and avoiding catastrophic forgetting.

50%
Unverified

The paper evaluates HoS on Llama-3.3-70B-Instruct and GPT-OSS-20B, with baselines including the fine-tuning-based defense SecAlign++ and the architecture-based defense ASIDE.

50%
Unverified

Under the black-box RL-Hammer attack, HoS's attack success rate (ASR) is only 10%, compared with 97% for the original GPT-OSS-20B model and 85% for SecAlign.

50%
Unverified

Against the white-box attack Claudini, attackers need to consume about 3 times the FLOPs to reach the same ASR on HoS as on the baselines.

50%
Unverified

HoS maintains the base model's performance on standard multiple-choice benchmarks and prompt settings, whereas SecAlign and ASIDE degrade in few-shot scenarios.

50%
Unverified

On agent benchmarks of static attacks, HoS and SecAlign perform similarly and substantially outperform the safety-utility trade-off of base models.

50%
Unverified

HoS is currently still validated on specific models, and the gating module's training cost and cross-model generalization ability remain to be further observed.

50%

Source Articles