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

Structure-Aware Multimodal Retrieval Under Data Scarcity, Privacy Constraints and Out-of-Domain Content

Argyrios Zafeiriou, Dionysios Koulouris, Ilias MaglogiannisarXiv 2026

TL;DR

When searching for hyper-specialized images in private reference books—like thin-section rock micrographs or forensic pathology photos—standard AI vision encoders fail because they’ve never seen this kind of data, and privacy laws forbid uploading it to the cloud. This paper shows that instead of trying to force AI to understand complex pixels, we can use a tiny local Vision-Language Model (VLM) to solve a simple, content-free geometry puzzle: matching figures to their expert-written captions on a page. Indexing those recovered captions beats state-of-the-art multimodal encoders by a landslide, running locally in milliseconds with zero training.

What Problem Does This Paper Address?

Imagine a forensic pathologist or geologist consulting massive PDF reference atlases to visually match a rare finding. Building a search engine for these figures hits a triple wall:

  1. Out-of-domain content: Standard image-text models (like CLIP) are trained on web photos; even biomedical models miss the fine-grained distinctions of specialized atlases (e.g., telling dunite apart from bronzitite under polarized light).
  2. Data scarcity: There are no labeled training pairs to fine-tune a custom model.
  3. Strict privacy & licensing: Medicolegal photos and licensed textbooks cannot leave local hardware—ruling out massive cloud-hosted models.

The obvious workaround is to extract the author's original captions and search those. However, reference atlases have notoriously chaotic, multi-picture layouts where captions sit above, below, or beside images. Existing PDF parsers routinely scramble these pairings.

Methods

The authors propose a lightweight, training-free local pipeline that turns multimodal retrieval into a structural layout problem, running entirely on consumer hardware.

Overview of the local ingestion and search pipeline
  • Standard Layout & Text Extraction: Pages are rendered and passed through an off-the-shelf YOLOv12 detector (trained on DocLayNet) to find bounding boxes for pictures, captions, and text. Text is pulled from the PDF layer (or OCR if needed).
  • Novel Geometry-Only Pairing: Instead of asking a VLM to read the complex page, the authors strip away all text and image pixels. For each target picture, they generate a stark black canvas showing only colored rectangles: red for the target picture, blue for other pictures, and numbered green boxes for candidate captions. A local 8B open-weight VLM (Qwen3-VL-8B-Instruct) looks at this abstract schematic and picks the matching green box.
  • Text Indexing: Once paired, the figure is indexed solely by its recovered caption using a compact, multilingual text encoder (Qwen3-Embedding-0.6B). At search time, user queries are matched against caption embeddings via cosine similarity.
A geometry-only schematic shown to the VLM: red is the target image, blue are other images, and numbered green boxes are candidate captions

Datasets

Because zero-training, privacy-constrained scenarios are the focus, no training datasets were used. For evaluation, the authors compiled three private corpora totaling 29 reference atlases (8,540 pages and 10,421 kept figures):

  • Forensic Pathology: 10 books (4,682 figures of injuries and post-mortem findings).
  • Dental & Oral Medicine: 6 books (2,232 clinical photos and radiographs, written across English, Spanish, and Portuguese).
  • Geology: 13 books (3,507 thin-section micrographs and rock specimens).

To evaluate without leaking data, an LLM drafted 218 English expert queries using only general chapter topic names as context. Human graders then blindly scored the top retrieved figures.

Key Insights and Ideas

  • Pixels distract small models from spatial reasoning: When the exact same 8B VLM was given the actual rendered page instead of the colored boxes, pairing accuracy dropped. Unfamiliar medical and geological visuals actively confused the model's spatial judgment.
  • Vision beats text for geometry: Feeding the bounding box coordinates to the VLM as raw text numbers caused accuracy to plummet by 22 percentage points compared to showing it the drawn schematic. VLMs "see" layout alignment much better than they calculate it from coordinates.
  • Zero-trust cloud delegation: Because the colored schematic contains zero pixels and zero words from the book, you could safely send it to a closed, hosted giant like GPT-5.4-pro without violating privacy or copyright—though the local 8B model already hits the accuracy ceiling.
  • Author captions trump AI descriptions: Asking the local VLM to describe the images from scratch performed poorly; small generic models simply lack the specialist vocabulary that the book's author already put in the caption.

Key Results

  • Pairing Accuracy: On validation pages, the geometric schematic method paired 89.9% of figures overall (96.2% forensic, 92.2% dental, 76.8% geology). This beat the VLM reading the real page (84.2%), a nearest-distance heuristic (72.7%), and crushed established document parsers MinerU (57.1%) and Docling (44.2%).
  • Retrieval Quality: Measuring ranking quality via nDCG@5 (where 1.0 is a perfect ranking of top-5 results), caption retrieval achieved 0.85 (forensic), 0.87 (dental, including cross-lingual matches!), and 0.76 (geology). The best direct image-text encoder (SigLIP 2) trailed far behind at 0.54, 0.51, and 0.27, even outperformed by simple keyword matching (BM25) on the recovered captions.
  • Downstream Impact & Speed: Pairing errors directly ruin search—using Docling's pairings in dentistry caused top-1 hit rates to drop from 96% down to 45%. On a single consumer GPU, ingestion peaks at ~17 GB VRAM, and search queries resolve in 21 ms using just 1.6 GB VRAM.

Limitations and Future Work

  • Unpaired figures are invisible: Roughly 3% to 9% of figures in these atlases lack captions (or fail pairing) and thus cannot be found via caption search.
  • Upstream bottleneck: Because a massive hosted model scored identically to the local 8B model on the schematics (89.6% vs. 89.9%), remaining pairing errors stem from the initial YOLOv12 layout detector missing boxes, particularly in complex geology layouts.
  • Query bias & reproducibility: Because the books are licensed/sensitive, the corpora cannot be shared (though all code and prompts are open-source). Additionally, expert-phrased text queries naturally favor caption matching over pixel matching.
  • Future directions: The authors plan to explore hybrid routes—combining pixel encoders or generated descriptions as fallbacks for captionless figures—and supporting image-based queries.

Summary updated

BibTeX
@misc{zafeiriou2026structure,
  author = {Argyrios Zafeiriou and Dionysios Koulouris and Ilias Maglogiannis},
  title = {{Structure-Aware Multimodal Retrieval Under Data Scarcity, Privacy Constraints and Out-of-Domain Content}},
  year = {2026},
  eprint = {2611.33649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33649},
}
Figure