A Generative Approach for Wikipedia-Scale Visual Entity Recognition

Mathilde Caron, Ahmet Iscen, Alireza Fathi, Cordelia Schmid
2/9/2026

No official code found. Best implementation: google-research/scenic (3,811 stars, Apache-2.0, JAX, last commit 2026-04-24).

Abstract

In this paper, we address web-scale visual entity recognition, specifically the task of mapping a given query image to one of the 6 million existing entities in Wikipedia. One way of approaching a problem of such scale is using dual-encoder models (e.g. CLIP), where all the entity names and query images are embedded into a unified space, paving the way for an approximate kNN search. Alternatively, it is also possible to re-purpose a captioning model to directly generate the entity names for a given image. In contrast, we introduce a novel Generative Entity Recognition (GER)framework, which given an input image learns to auto-regressively decode a semantic and discriminative “code” identifying the target entity. Our experiments demonstrate the efficacy of this GER paradigm, showcasing state-of-the-art performance on the challenging OVEN benchmark. GER surpasses strong captioning, dual-encoder, visual matching and hier-archical classification baselines, affirming its advantage in tackling the complexities of web-scale recognition.

View on arXivView PDF

Code Implementations(1)

JAXApache-2.0

Scenic: A Jax Library for Computer Vision Research and Beyond

3,811479Python, Jupyter NotebookJul 12, 20216 months agoApache-2.0
attentioncomputer-visiondeep-learningjaxresearch+2 more

Similar Papers

Cite this paper

@article{caron2026generative,
  title  = {A Generative Approach for Wikipedia-Scale Visual Entity Recognition},
  author = {Mathilde Caron and Ahmet Iscen and Alireza Fathi and Cordelia Schmid},
  year   = {2026},
  eprint = {2403.02041},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2403.02041},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.02041.svg)](https://codeofpaper.com/paper/2403.02041)

Discussion