Introduction
While the internet is rich with multimodal content—ranging from Wikipedia articles to DIY blog posts—the explicit links between specific paragraphs and specific images are rarely labeled. Most existing vision-language models are trained on "one image, one caption" datasets, such as MSCOCO. However, real-world documents are significantly more complex, often containing dozens of images and sentences without a clear mapping between them. This paper addresses the challenge of "intra-document" retrieval: automatically discovering these fine-grained multimodal links in an unsupervised fashion.
The Challenge of Intra-Document Retrieval
Identifying which image illustrates which sentence within a single document is difficult for three primary reasons:
- Lack of Supervision: Ground-truth data for internal document links is scarce.
- High Intra-Document Similarity: Images within the same document are often visually similar (e.g., multiple photos of the same subject), making disambiguation harder than standard cross-modal retrieval.
- Non-Visual Text: Many sentences in a document are abstract or "filler" and do not correspond to any visual element.
Methodology: Learning from Co-occurrence
The authors propose a ranking-based approach that relies solely on document-level co-occurrence during training. The model learns that a set of images and a set of sentences belong to the same document, using a max-margin loss with hard-negative mining to distinguish true document-level pairs from mismatched ones.
The core innovation lies in the Similarity Functions used to compare these sets:
- Dense Correspondence (DC): Assumes every sentence aligns with its most similar image.
- Top-K (TK): Considers only the top $k$ most likely edges to help ignore non-visual sentences.
- Assignment Problem (AP): Treats alignment as a bipartite matching problem using the Jonker-Volgenant (JV) algorithm. This forces a one-to-one mapping, which the authors show remains differentiable for end-to-end training.
Evaluation and Datasets
The models were evaluated across seven datasets, including synthetic crowdlabeled data (MSCOCO, Story-DII, Story-SIS) and real-world organic data (RecipeQA, Wikipedia). Additionally, the authors introduced a new DIY dataset consisting of 9,000 Reddit posts from r/DIY, featuring sequences of project progress images paired with user-written captions.
Key Insights: Spread vs. Content
The study identifies two primary factors driving document difficulty:
- Content: The concreteness of the concepts (e.g., "dog" vs. "beauty").
- Spread: The visual diversity within a document. If all images in a document look nearly identical, the model's performance drops as it struggles to find unique anchors for each sentence.
Results show that the Assignment Problem (AP) similarity function generally performs best on organic data, as it mirrors the structured way humans organize documents. On the Story-DII dataset, unsupervised models achieved over 90 AUC, significantly outperforming baselines based on simple object detection labels. Furthermore, the models proved robust; in a "stressed" scenario where 90% of sentences were distractors, the Dense Correspondence model maintained a 94.9 AUC.
Conclusion and Future Work
This research demonstrates that fine-grained multimodal links can be discovered without explicit supervision. However, current models treat documents as unordered sets, ignoring the narrative flow inherent in stories or guides. Future work will focus on incorporating sequence modeling (such as Transformers) to better capture the chronological and logical progression of multi-image documents.
Summary updated