WikiFragments - Visual Arts Pages with Fragments (WikiFragmentsVA)
0
500 commits
1 linked in READMEs
updated Feb 18, 2026
WikiFragmentsVA is a domain-specific multimodal dataset focused on the visual arts, derived from Wikipedia (en). It consists of textual paragraphs paired with related images (infoboxes and thumbnails), rendered as unified visual fragments. This dataset extends the base WikiFragments project by providing pre-rendered fragment images and multi-vector embeddings obtained via ColQwen2 v1.0, including optimized pooled representations for efficient retrieval.
Example of a rendered fragment with multiple images and captions.
WikiFragmentsVA is a specialized subset of the WikiFragments dataset, curated to cover the Visual Arts domain. To construct this dataset, we recursively navigated Wikipedia categories starting from "Category:Visual arts" and descending up to 5 depth levels.
A multimodal fragment is defined as an atomic knowledge unit consisting of a paragraph from a Wikipedia page and all images that, in the page’s source code, appear above that paragraph. For this dataset, each fragment is rendered into a single image resembling a document layout (images/captions in a grid at the top, paragraph at the bottom) and encoded into multi-vector representations using ColQwen2.
This dataset is designed for multimodal retrieval-augmented generation (RAG) in the visual arts domain. It supports:
Each data point represents a multimodal fragment with the following fields:
id: Unique identifier.title: Wikipedia page title.text: Cleaned paragraph text.url: Wikipedia page URL.images: Struct containing image PIL objects, captions, licenses, and metadata.fragment: The fragment rendered as a stand-alone image (grid of images + paragraph).full_embeddings: Multi-vector embeddings from ColQwen2 v1.0.pooled_embeddings: Compressed 9-vector representations (special token centroid + 8 content centroids).We use ColQwen2, which follows a late interaction architecture. Given a query \(q\) and a fragment (document) \(d\), they are encoded into multi-vector representations \(E_q\) and \(E_d\). The relevance score \(S_{q,d}\) is computed as:
$$S_{q,d} = \sum_{i \in [|E_q|]} \max_{j \in [|E_d|]} E_{q_i} \cdot E_{d_j}$$
To handle the memory footprint of storing millions of multi-vectors, we implement a token pooling strategy. The document embedding sequence is partitioned into:
The pooled representation \(E_d^{pool}\) is then computed as:
$$E_d^{pool} = c(E_d^{pref} \cup E_d^{suff}) \oplus C_d$$
where \(c(\cdot)\) represents the centroid of the special tokens and \(C_d\) represents \(K\) centroids (with \(K=8\)) obtained by performing hierarchical clustering on the content embeddings.
The dataset was created to facilitate "ArtSeek," a framework for deep artwork understanding. By focusing on the Visual Arts domain, we provide a high-quality benchmark for evaluating retrieval and reasoning capabilities in a knowledge-rich field where visual and textual context are inseparable.
The data is sourced from the English Wikipedia (August 2024 snapshot) and the Kiwix full Wikipedia ZIM dump (January 2024).
wikiextractor.FragmentCreator tool, placing images in a grid above the text.Text was authored by Wikipedia contributors. Images were contributed to Wikimedia Commons by various users and are subject to individual licenses.
There are no manual annotations beyond the original captions associated with images from Wikipedia pages.
N/A.
N/A.
The dataset is derived from public Wikipedia data and is not expected to contain sensitive personal information.
Users should be aware of the inherited biases from Wikipedia contributors and editorial processes. Verify image licenses via provided URLs for any distribution.
BibTeX:
@article{fanelli2025artseek,
title={ArtSeek: Deep artwork understanding via multimodal in-context reasoning and late interaction retrieval},
author={Fanelli, Nicola and Vessio, Gennaro and Castellano, Giovanna},
journal={arXiv preprint arXiv:2507.21917},
year={2025}
}
APA:
Fanelli, N., Vessio, G., & Castellano, G. (2025). ArtSeek: Deep artwork understanding via multimodal in-context reasoning and late interaction retrieval. arXiv preprint arXiv:2507.21917.
Nicola Fanelli
For questions, please contact: [email protected]
WikiFragments - Visual Arts Pages with Fragments (WikiFragmentsVA)
0
500 commits
1 linked in READMEs
updated Feb 18, 2026
WikiFragmentsVA is a domain-specific multimodal dataset focused on the visual arts, derived from Wikipedia (en). It consists of textual paragraphs paired with related images (infoboxes and thumbnails), rendered as unified visual fragments. This dataset extends the base WikiFragments project by providing pre-rendered fragment images and multi-vector embeddings obtained via ColQwen2 v1.0, including optimized pooled representations for efficient retrieval.
Example of a rendered fragment with multiple images and captions.
WikiFragmentsVA is a specialized subset of the WikiFragments dataset, curated to cover the Visual Arts domain. To construct this dataset, we recursively navigated Wikipedia categories starting from "Category:Visual arts" and descending up to 5 depth levels.
A multimodal fragment is defined as an atomic knowledge unit consisting of a paragraph from a Wikipedia page and all images that, in the page’s source code, appear above that paragraph. For this dataset, each fragment is rendered into a single image resembling a document layout (images/captions in a grid at the top, paragraph at the bottom) and encoded into multi-vector representations using ColQwen2.
This dataset is designed for multimodal retrieval-augmented generation (RAG) in the visual arts domain. It supports:
Each data point represents a multimodal fragment with the following fields:
id: Unique identifier.title: Wikipedia page title.text: Cleaned paragraph text.url: Wikipedia page URL.images: Struct containing image PIL objects, captions, licenses, and metadata.fragment: The fragment rendered as a stand-alone image (grid of images + paragraph).full_embeddings: Multi-vector embeddings from ColQwen2 v1.0.pooled_embeddings: Compressed 9-vector representations (special token centroid + 8 content centroids).We use ColQwen2, which follows a late interaction architecture. Given a query \(q\) and a fragment (document) \(d\), they are encoded into multi-vector representations \(E_q\) and \(E_d\). The relevance score \(S_{q,d}\) is computed as:
$$S_{q,d} = \sum_{i \in [|E_q|]} \max_{j \in [|E_d|]} E_{q_i} \cdot E_{d_j}$$
To handle the memory footprint of storing millions of multi-vectors, we implement a token pooling strategy. The document embedding sequence is partitioned into:
The pooled representation \(E_d^{pool}\) is then computed as:
$$E_d^{pool} = c(E_d^{pref} \cup E_d^{suff}) \oplus C_d$$
where \(c(\cdot)\) represents the centroid of the special tokens and \(C_d\) represents \(K\) centroids (with \(K=8\)) obtained by performing hierarchical clustering on the content embeddings.
The dataset was created to facilitate "ArtSeek," a framework for deep artwork understanding. By focusing on the Visual Arts domain, we provide a high-quality benchmark for evaluating retrieval and reasoning capabilities in a knowledge-rich field where visual and textual context are inseparable.
The data is sourced from the English Wikipedia (August 2024 snapshot) and the Kiwix full Wikipedia ZIM dump (January 2024).
wikiextractor.FragmentCreator tool, placing images in a grid above the text.Text was authored by Wikipedia contributors. Images were contributed to Wikimedia Commons by various users and are subject to individual licenses.
There are no manual annotations beyond the original captions associated with images from Wikipedia pages.
N/A.
N/A.
The dataset is derived from public Wikipedia data and is not expected to contain sensitive personal information.
Users should be aware of the inherited biases from Wikipedia contributors and editorial processes. Verify image licenses via provided URLs for any distribution.
BibTeX:
@article{fanelli2025artseek,
title={ArtSeek: Deep artwork understanding via multimodal in-context reasoning and late interaction retrieval},
author={Fanelli, Nicola and Vessio, Gennaro and Castellano, Giovanna},
journal={arXiv preprint arXiv:2507.21917},
year={2025}
}
APA:
Fanelli, N., Vessio, G., & Castellano, G. (2025). ArtSeek: Deep artwork understanding via multimodal in-context reasoning and late interaction retrieval. arXiv preprint arXiv:2507.21917.
Nicola Fanelli
For questions, please contact: [email protected]