NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Privacy-Aware Document Visual Question Answering

Rubèn Tito, Khanh Nguyen, Marlon Tobaben, Raouf Kerkouche, Mohamed Ali Souibgui, Kangsoo Jung, Joonas Jälkö, Vincent Poulain D'Andecy, Aurelie Joseph, Lei Kang, Ernest Valveny, Antti Honkela, Mario Fritz, Dimosthenis Karatzas

TL;DR

This paper presents the first comprehensive study of privacy in Document Visual Question Answering (DocVQA). The authors introduce PFL-DocVQA, a large-scale federated dataset of invoices, and demonstrate that standard multi-modal models inadvertently memorize sensitive training data. To combat this, they evaluate a combination of Federated Learning (FL) and Differential Privacy (DP), showing these techniques can effectively mitigate privacy leakage, albeit with a trade-off in model utility.

What Problem Does This Paper Address?

Document Visual Question Answering (DocVQA) has revolutionized how we interact with structured documents like invoices, forms, and reports. However, these documents are often proprietary, copyrighted, or contain highly sensitive personal information.

The authors identify three major gaps in the current landscape:

  1. Lack of Privacy Guarantees: Existing DocVQA models are typically trained on centralized datasets without any formal privacy protections.
  2. Memorization Risks: Large multi-modal models tend to "memorize" specific details from their training sets. In a DocVQA context, a model might "remember" a specific provider's tax ID or email address even if that information isn't present in the document it's currently processing.
  3. Data Silos: In the real world, sensitive documents are distributed across different institutions (e.g., different companies' accounting departments) and cannot be legally centralized for training.

Methods

The researchers tackle these issues by moving away from centralized, non-private training toward a Federated Learning (FL) framework enhanced with Differential Privacy (DP).

  • Visual T5 (VT5) Baseline: They use a multi-modal generative model that processes both document images (via a Vision Transformer) and OCR text tokens.
  • Federated Learning: Instead of pooling data, they use the FedAvg algorithm. Ten "clients" (simulating different businesses) train the model locally on their own data, and only the model updates are shared with a central server.
  • Differential Privacy (DP): To prevent the model from leaking information about specific invoice providers, they apply group-level (ε, δ)-DP. This involves clipping the magnitude of model updates from each provider and adding Gaussian noise to the aggregate update.
  • Membership Inference Attacks (MIA): To test their defenses, the authors designed novel attacks aimed at determining if a specific provider's data was used during training. These range from "Zero Knowledge" unsupervised attacks to "Partial Knowledge" supervised attacks using Random Forest classifiers.

Datasets

The authors introduced the PFL-DocVQA dataset, the first benchmark specifically designed for privacy-aware DocVQA.

  • Source: Derived and extended from the DocILE dataset.
  • Scale: 336,842 question-answer pairs across 117,661 pages from 6,574 different invoice providers.
  • Structure: The data is split into a BLUE set (for training and evaluation) and a RED set (specifically for testing privacy attacks). The BLUE training set is partitioned into 10 clients to reflect the non-i.i.d. (independent and identically distributed) nature of real-world business data.

![Fig.

  1. Distribution of providers and documents across different groups and splits.](/figures/art_a23a1dd19a71475797a0c4e7cc59c7e4)

Key Insights and Ideas

  • The "Visual Cue" Vulnerability: One of the most striking findings is that models can use visual features—like a company logo or a specific invoice layout—as a "key" to unlock memorized textual information. As shown in Figure 1, a model might correctly identify a provider's name even if the name itself is blurred out, simply because it recognizes the logo from its training data.

![Fig.

  1. The risk of malicious attacks on trained DocVQA models.](/figures/art_1ba05a52f5f443d09b083b8a4a44f5e1)
  2. Memorization vs. Generalization: Non-private models show a significant performance gap between "seen" and "unseen" providers. This gap is a clear indicator of overfitting and memorization rather than true document understanding.
  3. DP as a Shield: While Federated Learning alone offers some "privacy by locality," it doesn't stop a model from memorizing data. Differential Privacy is the critical component that formally bounds the risk of information leakage.

Key Results

  • Memorization Evidence: In a "Memorization Test" where all textual and visual clues for a provider's name were removed, the non-private centralized model still achieved 3.55% accuracy (and 11.64% ANLS) on seen providers, compared to 0% for a zero-shot baseline.
  • The Performance Gap: The non-private model (VT5c) showed a 9.39% accuracy gap between providers it had seen during training versus those it hadn't.
Table 1. DocVQA Performance of Non-Private Models on RED. Metrics are reported in percentage. ∆indicates the difference between REDDin and REDDout.
  • Privacy-Utility Trade-off: Introducing DP significantly reduced attack success rates. For example, under a supervised attack, accuracy dropped from nearly 67% (non-private) to much lower levels as the privacy budget (ε) was tightened. However, this came at a cost: ANLS scores dropped from ~90% (non-private) to ~57-67% depending on the ε value.

Limitations and Future Work

  • Utility Loss: The primary limitation is the drop in DocVQA performance when strong privacy guarantees are applied. Finding ways to maintain high accuracy while adding DP noise remains a major challenge.
  • Communication Overhead: Federated learning requires significant bandwidth to transmit model updates (measured in tens of gigabytes in this study).
  • Future Directions: The authors suggest exploring Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA under DP constraints, which might offer a better balance between privacy, utility, and communication efficiency. They also highlight the need for more sophisticated multi-modal privacy-preserving techniques that account for the interplay between vision and language.

Summary updated

BibTeX
@misc{tito2023privacy,
  author = {Rubèn Tito and Khanh Nguyen and Marlon Tobaben and Raouf Kerkouche and Mohamed Ali Souibgui and Kangsoo Jung and Joonas Jälkö and Vincent Poulain D'Andecy and Aurelie Joseph and Lei Kang and Ernest Valveny and Antti Honkela and Mario Fritz and Dimosthenis Karatzas},
  title = {{Privacy-Aware Document Visual Question Answering}},
  year = {2023},
  eprint = {2312.10108},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.10108},
}
Figure