Skip to content
EventPast event

Rochester Institute of Technology proposes training-free unified detection of three types of attacks

1 reports1 reporting sourcesLatest report

Start here

AI overview

A paper from Rochester Institute of Technology proposes UniGuardian, a training-free unified defense framework that runs at inference time and categorizes prompt injection, backdoor attacks and adversarial attacks together as Prompt Trigger Attacks (PTA) for detection. Its principle is that removing the trigger words causes a significant increase in the model's loss function; based on this, the framework randomly masks the prompt and computes a z-score suspiciousness score, and through a single-forward strategy uses the KV cache to perform detection and text generation simultaneously. Experiments in the paper show that on models of different scales such as Phi 3.5, Llama 3.1 and Qwen 2.5, prompt injection detection on the SST2 dataset reaches an auROC of 0.9994, backdoor attack detection an auROC close to 1, and adversarial attack detection an auROC of 0.9965, all higher than baselines such as Prompt-Guard-86M and Llama-Guard.

Generated by AI from reports · Updated 16 days ago

Progress timeline

Nov 13
  1. WeChat · Weijiqi Lixin
    Rochester Institute of Technology proposes UniGuardian: training-free unified detection of prompt injection, backdoor and adversarial attacks

    A paper from Rochester Institute of Technology proposes UniGuardian, a training-free unified defense framework that runs at inference time and categorizes prompt injection, backdoor attacks and adversarial attacks together as Prompt Trigger Attacks (PTA) for detection. Its principle is that removing the trigger words causes a significant increase in the model's loss function; based on this, the framework randomly masks the prompt and computes a z-score suspiciousness score, and through a single-forward strategy uses the KV cache to perform detection and text generation simultaneously. Experiments in the paper show that on models of different scales such as Phi 3.5, Llama 3.1 and Qwen 2.5, prompt injection detection on the SST2 dataset reaches an auROC of 0.9994, backdoor attack detection an auROC close to 1, and adversarial attack detection an auROC of 0.9965, all higher than baselines such as Prompt-Guard-86M and Llama-Guard.