Symbolic image detection using scene and knowledge graphs

Nasrin Kalanat, Adriana KovashkaarXiv 2022 · DOI

Introduction: Beyond Literal Interpretation

Standard computer vision systems are highly proficient at literal object recognition—identifying a car or a carton of eggs with high accuracy. However, human communication, particularly in advertising and art, often relies on symbolic and metaphorical meanings that transcend literal pixels. For instance, an advertisement featuring eggs secured in a car seat is not promoting a grocery item; it is a metaphor for fragility, communicating the abstract concept of "safety."

Figure 1: An advertisement using eggs as a metaphor for fragility to communicate vehicle safety.

To decode such metaphors, a model requires more than just visual recognition; it needs relational reasoning (understanding that eggs are inside the car) and common-sense knowledge (knowing that eggs are fragile). This paper introduces ASKG-Sym (Attention-based Scene and Knowledge Graph Symbolic image detection), a framework designed to bridge this gap by integrating structured visual relationships with external common-sense facts.

Methodology: Integrating Scene and Knowledge Graphs

The ASKG-Sym pipeline moves beyond black-box CNN architectures by explicitly modeling relationships and external knowledge through a multi-stage process.

Figure 2: The ASKG-Sym architecture, featuring parallel scene graph and knowledge graph processing branches fused with an attention mechanism.
  1. Visual Extraction: The system utilizes pre-trained models (VinVL and Neural Motifs) to generate a Scene Graph. This graph identifies objects, their attributes, and their spatial interactions (e.g., "man wearing sneakers").
  2. Knowledge Integration: The model queries ConceptNet, a large-scale common-sense database, to construct a Knowledge Graph based on the detected objects. This adds semantic context, such as linking "bottle" to "liquid" or "alcohol."
  3. Graph Processing: Both graphs are processed using Graph Convolutional Networks (GCNs). GCNs facilitate "message passing" between nodes, allowing the model to understand how specific attributes (like "fragile") relate to objects (like "egg") within a specific context.
  4. Attention-Based Fusion: The ASKG-Sym variant employs an attention mechanism to dynamically weight the importance of the scene graph versus the knowledge graph for a given image.
  5. Classification: A Multi-Layer Perceptron (MLP) produces the final symbolic label across 53 categories, such as "Safety," "Health," or "Freedom."

Key Insights and Experimental Results

The researchers evaluated the framework using the Ads Dataset, which contains over 8,000 advertisement images annotated with symbolic meanings.

Efficiency and Performance

A primary finding is that ASKG-Sym achieves performance parity with heavy-duty models like VGG16 (reaching an F-score of approximately 14.9) while being significantly more parameter-efficient. ASKG-Sym utilizes 56 million parameters compared to VGG16’s 138 million. This suggests that structured reasoning can compensate for raw model size in high-level semantic tasks.

The Role of External Knowledge

Ablation studies confirmed that the combination of scene and knowledge graphs consistently outperforms using either in isolation. However, the authors noted a "knowledge noise" trade-off: using the knowledge graph alone performed worse than the scene graph alone, as ConceptNet can introduce irrelevant facts. The attention mechanism helps mitigate this by identifying which source is more relevant—for example, relying on the knowledge graph for "Alcohol" (linking bottle to concept) and the scene graph for "Sport" (identifying physical relationships).

Conclusion and Future Directions

While ASKG-Sym represents a significant step toward machine "understanding" of metaphor, the task remains challenging. The relatively low peak F-scores (~15%) across all models underscore the complexity of symbolic interpretation. Future research will likely focus on refining knowledge retrieval to reduce noise, scaling symbolic datasets, and moving toward multi-layered metaphorical understanding.

Summary updated

BibTeX
@misc{kalanat2022symbolic,
  author = {Nasrin Kalanat and Adriana Kovashka},
  title = {{Symbolic image detection using scene and knowledge graphs}},
  year = {2022},
  eprint = {2206.04863},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.04863},
}
Figure