VisKnow: Constructing Visual Knowledge Base for Object Understanding

Ziwei Yao, Qiyang Wan, Ruiping Wang, Xilin ChenarXiv 2025 · DOI

Introduction

While modern computer vision systems have achieved remarkable success in basic object recognition—identifying a subject as a "dog" or a "cat"—they often lack the deeper semantic understanding required for complex reasoning. For instance, a model might recognize a Dalmatian but fail to understand that its characteristic spots are a developmental trait not present at birth. This gap between simple labeling and conceptual understanding stems from the limitations of current datasets, which are typically task-oriented and lack the structured semantic depth found in human knowledge.

Traditional knowledge bases like WordNet are often "visual-agnostic," focusing on abstract linguistic relationships rather than visual attributes. Conversely, standard vision datasets focus on bounding boxes or masks without linking them to broader encyclopedic facts. To bridge this divide, we introduce VisKnow, a systematic framework for constructing multi-modal, object-centric knowledge bases that align textual facts with fine-grained visual regions.

The VisKnow Framework

The VisKnow framework employs a cascading construction pipeline designed to minimize expensive expert labor while maintaining high data quality. This human-in-the-loop approach consists of four primary stages:

  1. Expert Schema Design: Domain experts define the foundational "skeleton" of the knowledge base, including part hierarchies (e.g., head, torso, limbs) and relationship types (e.g., Have, Color, Eat).
  2. Crowdsourced Seed Annotation: A small set of high-quality "seed" data is annotated by human workers to establish ground-truth examples for both text and images.
  3. Model-based Scaling: The framework leverages Large Language Models (LLMs) to extract knowledge triplets from encyclopedic sources. Simultaneously, open-vocabulary detectors and the Segment Anything Model (SAM) are used to automatically identify and mask object parts across a massive image corpus.
  4. Iterative Refinement: Experts perform periodic validation and "spot checks" on the model-generated outputs, ensuring that the database remains accurate as it scales to hundreds of thousands of entries.
The VisKnow framework for constructing a visual knowledge base through a human-in-the-loop pipeline.

The AnimalKB Dataset

Using the VisKnow framework, we constructed AnimalKB, a comprehensive multi-modal knowledge base focused on the animal kingdom. AnimalKB covers 406 species across various classes, including mammals, birds, and reptiles. The dataset comprises:

  • 22,449 Knowledge Triplets: Structured facts such as <leopard, Have, coat> and <coat, Pattern, spotted>.
  • 421,959 Images: Sourced from diverse datasets including ImageNet and iNaturalist.
  • 480,000 Region Annotations: Fine-grained part masks that link specific image areas to textual attributes.

A key feature of AnimalKB is its support for knowledge inheritance. Fine-grained categories can inherit properties from their parent categories (e.g., a "Golden Retriever" inherits the "tail" property from the general "Dog" category), ensuring a dense and interconnected knowledge graph even for rare species.

Evaluation and Downstream Applications

The utility of AnimalKB was evaluated across several downstream tasks, demonstrating that structured knowledge significantly enhances the capabilities of Large Multi-modal Models (LMMs).

Fine-grained Visual Question Answering (VQA)

One of the most striking results was observed in fine-grained VQA. When LMMs like GPT-4o were allowed to "consult" the AnimalKB via a Retrieval-Augmented Generation (RAG) setup, their accuracy improved dramatically. For example, GPT-4o's performance on specialized animal queries jumped from 78.25% to 98.24%. The structured knowledge provides the model with the necessary context to distinguish between similar-looking species based on specific, non-obvious traits.

Zero-shot Recognition

Integrating AnimalKB into the CLIP architecture led to a 3.29% improvement in classification accuracy for the ViT-L/14 model. By replacing simple category labels with structured, attribute-rich descriptions, the model learns more robust features that generalize better to unseen categories.

Overview of KB-assisted downstream tasks and benchmarks enabled by AnimalKB.

Conclusion and Future Work

VisKnow represents a significant step toward moving AI from superficial recognition to deep object understanding. By aligning structured textual knowledge with fine-grained visual regions, AnimalKB provides a powerful resource for both training and evaluating the next generation of multi-modal models.

Future research will focus on expanding the framework to other domains, such as man-made objects and medical imaging. Additionally, we aim to further automate the schema discovery process to reduce the initial expert workload, paving the way for truly scalable, self-evolving visual knowledge bases.

Summary updated

BibTeX
@misc{yao2025visknow,
  author = {Ziwei Yao and Qiyang Wan and Ruiping Wang and Xilin Chen},
  title = {{VisKnow: Constructing Visual Knowledge Base for Object Understanding}},
  year = {2025},
  eprint = {2512.08221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.08221},
}
Figure