Inverting Multi-Vector Visual Document Indices

AK's Picks NLP VDIT Multimodal Intelligence VRDU AI Safety / AI Ethics DPPDT RA
当前主流的多向量视觉文档检索器会将每一页文档存储为约一千个图像块(patch)向量,这些向量通常存放在由第三方运营的向量数据库中。由于仅凭这些向量无法直接“阅读”原始页面内容,该索引常被视作敏感性较低的数据,因而未受到与原始页面同等程度的保护。然而,由于该索引严格按光栅扫描顺序(raster order)为每个图像块保存一个向量,且每个向量均由一种专为文档理解任务预训练的视觉-语言模型(vision-language model)生成,我们提出假设:任何能够运行或入侵该向量存储系统的人,仅凭索引本身即可重建出原始页面。我们将这一逆向过程建模为“条件式文档图像生成”任务,并据此推断攻击所需的关键信息:即所用编码器的结构、页面的整体尺寸(page shape),以及——当向量顺序被打乱时——各向量在原页面中的正确排列顺序。在ViDoRe v3基准测试集上,仅从原始索引向量直接还原出的页面,可恢复原始文本中47%的单词和45%的敏感词元(sensitive tokens);若将这些还原出的页面作为查询,用于检索其自身对应的索引,则其源页面在检索结果中排名第一的比例高达98.4%。我们进一步测试了两种低成本防护措施——词元池化(token pooling)与向量顺序打乱(shuffling)——二者均能将单词恢复率显著压低至约8%。值得注意的是,若额外引入一个专门用于恢复打乱后向量顺序的模型,则经打乱索引还原出的页面,其源页面排名第一的比例可从3.8%大幅提升至93.5%;而针对池化后的索引,目前尚无有效方法完成逆向重建。为验证该攻击方法的泛化能力,我们未作任何调整,直接将其应用于另一套独立的多向量检索系统:结果表明,由此还原出的页面仍能在70.2%的情况下使其源页面在检索结果中排名第一,尽管此时的单词恢复率始终低于最近邻(nearest-neighbour)基线方法。综上所述,多向量视觉文档检索器因其索引本身即存在可被逆向重建的风险,故其存储的向量索引应被视为与所编码的原始文档具有同等敏感性,必须予以同等强度的安全保护。
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.
许愿