attack arXiv Dec 4, 2025 · Dec 2025
Marco Pintore, Maura Pintor, Dimosthenis Karatzas et al. · University of Cagliari · Universitat Autònoma de Barcelona +1 more
Adversarial forgery attacks on OCR-free DocVQA vision-language models using imperceptible document image perturbations to induce targeted misinformation
Input Manipulation Attack Prompt Injection visionnlpmultimodal
Document Visual Question Answering (DocVQA) enables end-to-end reasoning grounded on information present in a document input. While recent models have shown impressive capabilities, they remain vulnerable to adversarial attacks. In this work, we introduce a novel attack scenario that aims to forge document content in a visually imperceptible yet semantically targeted manner, allowing an adversary to induce specific or generally incorrect answers from a DocVQA model. We develop specialized attack algorithms that can produce adversarially forged documents tailored to different attackers' goals, ranging from targeted misinformation to systematic model failure scenarios. We demonstrate the effectiveness of our approach against two end-to-end state-of-the-art models: Pix2Struct, a vision-language transformer that jointly processes image and text through sequence-to-sequence modeling, and Donut, a transformer-based model that directly extracts text and answers questions from document images. Our findings highlight critical vulnerabilities in current DocVQA systems and call for the development of more robust defenses.
vlm transformer University of Cagliari · Universitat Autònoma de Barcelona · CINI