← back

Jailbreak detection for vision-language models

For a class project, my team reproduced HiddenDetect, a training-free way to catch jailbreak prompts against vision-language models by reading the model's internal activations, on LLaVA-1.6-7B. Combining the layer signals with Fisher discriminant analysis across all layers improved detection on average without hurting any of five benchmarks, and showed that refusal information is spread across more layers than the original method assumed.

GitHub → Paper →