Manuscript Offprint

arXiv:2610.09920

Inverting Multi-Vector Visual Document Indices

Zhuchenyang Liu, Yao Zhang, Yu Xiao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Prevailing multi-vector visual document retrievers store each page as about a thousand patch vectors, often in vector databases run by a third party. Since no one can read a page from its vectors, this index is easily treated as less sensitive than the page. However, because the index keeps one vector per patch in raster order, and each vector is computed by a vision-language model pre-trained to read documents, we hypothesize that whoever runs or breaches the store can reproduce a page from its index alone. We frame inversion as conditional document image generation and infer from the vectors what the attack needs: the encoder, the page shape and, for shuffled vectors, their order. On the ViDoRe v3 benchmark, pages inverted from raw indices recover 47% of the words and 45% of the sensitive tokens. Used as queries against the stored indices, they rank their source page first 98.4% of the time. We test two cheap protections, token pooling and shuffling, which both cut word recall to about 8%. A model that restores the order of a shuffled index raises the share of source pages ranked first from 3.8% to 93.5%, while inverting a pooled index remains open. To test generalisation, we apply the same attack unchanged to another multi-vector retriever: its inverted pages still rank their source page first 70.2% of the time, though its word recall stays below a nearest-neighbour baseline. Multi-vector visual document retrievers are therefore vulnerable to inversion through their stored index, which should be protected like the documents it encodes.

1 Introduction

Visual document retrievers search pages directly as images. A vision-language model, fine-tuned into a late-interaction retriever, encodes a page as one vector per image patch, about a thousand in all. These vectors form the page's index, and a query is scored against the patches that match it (Khattab and Zaharia, 2020; Faysse et al., 2025).

Figure

Figure 1: A page inverted from its stored index. The vector store keeps only the page's index, one 320-dimensional vector per image patch. Inverted from that index, the page is recovered with its tables, illustrations and text. The page (from the ViDoRe v3 industrial subset) was chosen to show a mixed layout; its word recall is 0.620.

These retrievers are among the strongest on current benchmarks (Loison et al., 2026). Their indices are kept in vector databases and dedicated engines (Pan et al., 2023; Santhanam et al., 2022), which are often run by a third party (Huang et al., 2024; He et al., 2025). Since no person can read a page from its vectors, the index is easily treated as less sensitive than the page (cf. Huang et al., 2024; Kugler et al., 2024). Whether this holds for the multi-vector index of a document page has, to our knowledge, not been examined. Can whoever runs or breaches the store reproduce a page, given only its index?

There are three reasons to expect that it can. First, the index keeps the layout of the page: every patch, e.g., 32×3232 \times 32 pixels for the retrievers we attack, has one vector, and the vectors are stored in raster order, so the position of each vector on the page is known. Second, each vector is computed by a vision-language model (VLM) that sees its patch in the context of the whole page, so it carries both local information about its patch and global information about the page. Third, these VLMs are pre-trained to read documents, on tens of millions of OCR samples and millions of PDFs parsed with their layout (Bai et al., 2025a,b), so their vectors may encode comprehensive information for inverting the page. Based on these three properties, we hypothesize that the index keeps enough of the page for it to be recovered, with its text legible and in place.

Testing this hypothesis requires an inversion attack. For text embeddings, such attacks are well studied (Song and Raghunathan, 2020; Morris et al., 2023a; Huang et al., 2024; Chen et al., 2025; Kim et al., 2026). They do not carry over to a visual index, because the target modality differs: our attack must invert the index into pixels that carry legible text, laid out on a page.

In this work, we invert the multi-vector index of a document page under zero side information, with nothing beyond the stored index ( §3§3). We frame inversion as conditional document image generation. A conditional flow-matching inverter (Lipman et al., 2023), trained on public pages paired with their indices, inverts an index into its page (Figure 2). The attack infers everything else it needs from the index alone: which public encoder produced it, the page shape and, for a shuffled index, the order of the vectors ( §4§4).

We attack Tomoro-ColQwen3-8B (TomoroAI, 2026): we train the inverter on about 683k public pages and evaluate it on the 19,252 pages of ViDoRe v3 (Loison et al., 2026), which are disjoint from the training data. We measure leakage along two lines. Content leakage is word recall and sensitive-token recall: the fraction of the source page's words, and of its numbers, capitalised words and acronyms, that OCR reads from the inverted page. Identity leakage is re-identification: the retriever ranks all indexed pages against the inverted page, and we check whether the source page ranks first. From the raw index, the inverted pages recover 47% of the words and 45% of the sensitive tokens, and rank their source page first 98.4% of the time (Figure 1).

We then test two cheap protections: hierarchical token pooling (Clavié et al., 2024), which merges vectors, and shuffling, which stores them in random order. Both cut word recall to about 8%. However, each vector was computed in the context of the whole page and still carries where its patch was. A position model that restores the order of a shuffled index raises re-identification from 3.8% to 93.5%. Inverting a pooled index remains open. We also test generalisation on a second retriever, ColQwen3.5-4.5B (Soju, 2026), with the same training and inference recipe: its inverted pages still rank their source page first 70.2% of the time. Multi-vector visual document retrievers are thus vulnerable to inversion through their stored index.

References (65)