Reverse Region-to-Entity Annotation for Pixel-Level Visual Entity Linking

Zhengfei Xu, Sijia Zhao, Yanchao Hao, Xiaolong Liu, Lili Li, Yuyang Yin, Bo Li, Xi Chen, Xin Xin

Introduction: The Challenge of Visual Entity Linking

Visual Entity Linking (VEL) is the process of connecting a "visual mention" (an object in an image) to a specific entry in a knowledge base like Wikipedia. Traditionally, this relies on text-based queries to specify the object of interest. However, describing a specific object in a crowded scene is difficult and introduces a significant "description burden" for the user.

The trade-off between ambiguity and complexity in traditional text-based queries.

As illustrated in the figure above, simple queries are often highly ambiguous. To uniquely identify an object like a piece of broccoli, a user might need to type: "What is the small tree-like vegetable next to the fries on the plate?" This requires the underlying AI model to possess advanced spatial and relational reasoning just to resolve the reference.

Proposed Task: Pixel-Level Visual Entity Linking (PL-VEL)

To address these limitations, the authors propose Pixel-Level Visual Entity Linking (PL-VEL). This task shifts from text-based queries to pixel-level queries, where a mask (generated by a simple click or a bounding box) serves as the direct pointer to the entity. This approach simplifies user interaction and provides a cleaner, unambiguous signal to the model.

Overview of the PL-VEL framework, comparing traditional text queries with the proposed pixel-level queries and knowledge base linking.

Methodology

The researchers contribute two major technical innovations to enable PL-VEL at scale:

1. Reverse Region-to-Entity Annotation

Creating a large-scale dataset manually is infeasible. Instead of a "direct" approach—segmenting an image and asking a model to name the parts—the authors used a reverse approach. They took the existing OVEN-Wiki dataset, which already contained image-entity pairings, and used state-of-the-art segmentation models (Grounded-SAM and SEEM) to find where those entities were located in the pixels. To ensure accuracy, they utilized Knowledge Augmentation, querying Wikidata for broader categories and using GPT-3.5 to extract spatial clues from original captions to guide the segmenter.

2. Visual Semantic Tokenization

Standard Vision Transformers (ViTs) process images in a grid of square patches, which often bisect objects. This paper introduces Visual Semantic Tokenization, using a "segment-everything" approach to turn the image into a set of object-based tokens. These tokens are sorted by size, mimicking human visual processing from background context down to fine details.

The MaskOVEN-Wiki Dataset

The primary contribution is the MaskOVEN-Wiki dataset, featuring:

  • Scale: Over 5.2 million annotations across 5.2 million images.
  • Scope: Coverage of over 20,000 distinct Wikipedia entities.
  • Quality: The automated reverse annotation framework achieved a 94.8% success rate, verified against a manually curated "Human Set."

Key Results and Insights

  • Model Improvement: Fine-tuning a Multi-modal Large Language Model (MLLM) on this new dataset improved linking accuracy from a zero-shot 1.3% to 20.0%.
  • Tokenization Boost: Adding Visual Semantic Tokenization further increased accuracy to 25.2%, proving that object-aware tokens are superior to arbitrary grid patches for entity linking.
  • Finding vs. Naming: The high success rate of the reverse annotation framework suggests that "finding" an object given a label is significantly easier for current models than "naming" a segmented region.

Limitations and Future Work

While the performance jump is significant, an overall accuracy of ~25% indicates that open-domain entity linking remains a difficult task. Future work will involve better integrating pixel-level pointers with complex reasoning tasks (e.g., identifying what an object is made of) and scaling the knowledge base beyond the current 6 million entities.

Summary updated

BibTeX
@inproceedings{xu2025reverse,
  author = {Zhengfei Xu and Sijia Zhao and Yanchao Hao and Xiaolong Liu and Lili Li and Yuyang Yin and Bo Li and Xi Chen and Xin Xin},
  title = {{Reverse Region-to-Entity Annotation for Pixel-Level Visual Entity Linking}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i12.33416},
}
Figure