Learning Visual Models using a Knowledge Graph as a Trainer
Not on the map. Why?
Abstract (arXiv)
Traditional computer vision approaches, based on neural networks (NN), are typically trained on a large amount of image data. By minimizing the cross-entropy loss between a prediction and a given class label, the NN and its visual embedding space are learned to fulfill a given task. However, due to the sole dependence on the image data distribution of the training domain, these models tend to fail when applied to a target domain that differs from their source domain. To learn a more robust NN to domain shifts, we propose the knowledge graph neural network (KG-NN), a neuro-symbolic approach that supervises the training using image-data-invariant auxiliary knowledge. The auxiliary knowledge is first encoded in a knowledge graph with respective concepts and their relationships, which is then transformed into a dense vector representation via an embedding method. Using a contrastive loss function, KG-NN learns to adapt its visual embedding space and thus its weights according to the image-data invariant knowledge graph embedding space. We evaluate KG-NN on visual transfer learning tasks for classification using the mini-ImageNet dataset and its derivatives, as well as road sign recognition datasets from Germany and China. The results show that a visual model trained with a knowledge graph as a trainer outperforms a model trained with cross-entropy in all experiments, in particular when the domain gap increases. Besides better performance and stronger robustness to domain shifts, these KG-NN adapts to multiple datasets and classes without suffering heavily from catastrophic forgetting.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 17 Feb 2021.
Builds on
37 of 59 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2020Supervised Contrastive Learningcited by 2,829
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
25 more
- 2019Natural Adversarial Examplescited by 1,408
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 730
- 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 641
- 2020Knowledge Graphscited by 621
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 437
- 2018A Survey on Deep Transfer Learningcited by 419
- 2019Multi-Label Image Recognition with Graph Convolutional Networkscited by 322
- 2013Zero-Shot Learning Through Cross-Modal Transfercited by 237
- 2015Holographic Embeddings of Knowledge Graphscited by 181
- 2015Label-Embedding for Image Classificationcited by 165
- 2015Learning Visual Features from Large Weakly Supervised Datacited by 165
- 2018Zero-shot Recognition via Semantic Embeddings and Knowledge Graphscited by 155
- 2017A Novel Embedding Model for Knowledge Base Completion Based on Convolutional Neural Networkcited by 143
- 2013Zero-Shot Learning by Convex Combination of Semantic Embeddingscited by 135
- 2015Explicit Knowledge-based Reasoning for Visual Question Answeringcited by 85
- 2015Zero-Shot Learning via Semantic Similarity Embeddingcited by 74
- 2017Multi-Label Zero-Shot Learning with Structured Knowledge Graphscited by 72
- 2017Learning to select data for transfer learning with Bayesian Optimizationcited by 64
- 2018Iterative Visual Reasoning Beyond Convolutionscited by 38
- 2020End-to-End Entity Classification on Multimodal Knowledge Graphscited by 12
- 2017End-to-End Video Classification with Knowledge Graphscited by 3
- 2019Human-centric Transfer Learning Explanation via Knowledge Graph [Extended Abstract]cited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 2; 2024: 0; 2025: 1.
8 papers.
- 2021Zero-shot and Few-shot Learning with Knowledge Graphs: A Comprehensive Surveycited by 23
- 2022Recognizing Object by Components with Human Prior Knowledge Enhances Adversarial Robustness of Deep Neural Networkscited by 18
- 2022A Survey on Knowledge Graph-based Methods for Automated Drivingcited by 8
- 2022A Survey on Visual Transfer Learning using Knowledge Graphscited by 7
- 2023VisionKG: Unleashing the Power of Visual Datasets via Knowledge Graphcited by 5
- 2025Seeing and Knowing in the Wild: Open-domain Visual Entity Recognition with Large-scale Knowledge Graphs via Contrastive Learningcited by 4
- 2022Context-driven Visual Object Recognition based on Knowledge Graphscited by 0
- 2023Epistemic Graph: A Plug-And-Play Module For Hybrid Representation Learningcited by 0
- 2025Seeing and Knowing in the Wild: Open-domain Visual Entity Recognition with Large-scale Knowledge Graphs via Contrastive Learning15 Oct 2025
- 2023VisionKG: Unleashing the Power of Visual Datasets via Knowledge Graph24 Sep 2023
- 2023Epistemic Graph: A Plug-And-Play Module For Hybrid Representation Learning30 May 2023
- 2022Recognizing Object by Components with Human Prior Knowledge Enhances Adversarial Robustness of Deep Neural Networks4 Dec 2022
- 2022Context-driven Visual Object Recognition based on Knowledge Graphs20 Oct 2022
- 2022A Survey on Knowledge Graph-based Methods for Automated Driving30 Sep 2022
- 2022A Survey on Visual Transfer Learning using Knowledge Graphs27 Jan 2022
- 2021Zero-shot and Few-shot Learning with Knowledge Graphs: A Comprehensive Survey18 Dec 2021