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

Wiki-VEL: Visual Entity Linking for Structured Data on Wikimedia Commons

Philipp Bielefeld, Jasmin Geppert, Necdet Güven, Moti Wilson John, Adrian Ziupka, Lucie-Aimée Kaffee, Russa Biswas, Gerard de Melo2024

Abstract: Philipp Bielefeld, Jasmin Geppert, Necdet Güven, Melna John, Adrian Ziupka, Lucie-Aimée Kaffee, Russa Biswas, Gerard De Melo. Proceedings of the 3rd Workshop on Advances in Language and Vision Research (ALVR).

2024.

Introduction

Wikimedia Commons is the world's largest open media repository, hosting over 100 million images. However, a significant challenge persists: as of late 2023, only approximately 15% of these images are annotated with structured data, specifically the "depicts" property. This lack of metadata severely limits searchability and the utility of the data for machine learning.

Wiki-VEL addresses this by introducing a framework for Visual Entity Linking (VEL). The goal is to automatically link objects within an image to specific entries in the Wikidata Knowledge Graph. This task is complex due to its multi-label nature and the "long tail" distribution of millions of potential entities, many of which appear only once in the dataset.

Overview of the Wiki-VEL framework linking images to Wikidata entities.

Methodology

The researchers developed two primary architectures based on OpenAI’s CLIP:

  1. Naive CLIP: This approach utilizes frozen CLIP encoders with additional Multi-Layer Perceptron (MLP) heads to compare image embeddings against text embeddings of Wikidata labels and descriptions.
  2. CLIP Fusion: This more advanced model incorporates multi-modal context. It processes the image and its existing Wikimedia descriptions/categories alongside Wikidata entity labels, descriptions, and representative images.

To handle the "rare entity" problem, the authors implemented Hierarchy-Aware Filtering. By utilizing Wikidata’s "subclass of" and "instance of" properties, rare entities are "promoted" to more generic parent categories (e.g., from a specific obscure car model to "automobile"), ensuring sufficient training examples. Additionally, a modified contrastive loss function was employed to accommodate images depicting multiple entities.

Dataset and Benchmark

The study introduces the Wiki-VEL Dataset, a curated collection of 1 million images from Wikimedia Commons linked to Wikidata. After filtering for entities with at least 10 occurrences to ensure model stability, the dataset covers 18,522 unique Wikidata items.

Distribution of item super-categories in the Wiki-VEL dataset (f=10).

This dataset has been released on Hugging Face to serve as a standardized benchmark for future research in visual entity linking.

Results and Insights

The experimental results highlight the effectiveness of the proposed models:

  • Model Performance: The Naive CLIP model achieved a Recall@10 of 51.8%. The CLIP Fusion model, benefiting from richer metadata, reached a Recall@100 of 92.4%.
  • Human Evaluation vs. Metrics: Automated metrics were found to be conservative. In human trials, the top prediction was rated as "completely correct" 43.1% of the time, despite an automated precision score of only 16.2%.
  • The Role of Categories: While the CLIP Fusion model performed exceptionally well, it relied heavily on existing Wikimedia categories. This suggests that while effective for refining existing metadata, further work is needed for "cold start" scenarios involving brand-new uploads that lack descriptions.

Conclusion and Future Work

Wiki-VEL demonstrates a scalable path toward organizing the vast, unstructured library of Wikimedia Commons. While the current models show strong performance by leveraging existing metadata, future efforts will focus on improving performance for images without any text descriptions and expanding the framework to support the hundreds of languages available on Wikidata.

Summary updated

BibTeX
@misc{bielefeld2024wiki,
  author = {Philipp Bielefeld and Jasmin Geppert and Necdet Güven and Moti Wilson John and Adrian Ziupka and Lucie-Aimée Kaffee and Russa Biswas and Gerard de Melo},
  title = {{Wiki-VEL: Visual Entity Linking for Structured Data on Wikimedia Commons}},
  year = {2024},
  doi = {10.18653/v1/2024.alvr-1.16},
}
Figure