Skip to content
InfoResearchPreprintLLM-specific

AVERT: Anomalous Value Erasure with Response Testing against Visual Prompt Injection

Published
Record updated
View JSON

Summary

AVERT is a defense against visual prompt injection, in which an adversarially perturbed image forces a Vision Language Model to output attacker-chosen content. It finds anomalous directions in attention-head outputs and projects them out only when the answer depends on them. Against white-box attacks on four VLMs and four injection benchmarks, average attack success falls from 86-90% to at most 0.6%, while retaining at least 96% of undefended utility.

Mitigation

AVERT: project out the anomalous value-subspace directions (identified by comparing each input's attention-head output statistics with those of clean images), applied only to answers whose likelihood collapses without them or that are equally likely under unrelated questions.