Knowledge Graph Enhanced Machine Learning.md
July 11, 2025 Β· View on GitHub
Knowledge Graphs Enhanced Machine Learning
π Surveys, Tutorials, and Overviews
- Informed Machine Learning β A Taxonomy and Survey of Integrating Prior Knowledge into Learning Systems (TKDE 2021) [Paper] π
- Knowledge graph semantic enhancement of input data for improving AI (IEEE Internet Computing 2020)
- Exploiting knowledge graphs in industrial products and services: A survey of key aspects, challenges, and future perspectives (Computers in Industry 2021)
- Knowledge-graph-based explainable AI: A systematic review (ournal of Information Science, 2024) [Paper]
- Knowledge Graphs for Responsible AI (CIKM 2024) [Paper]
- How Expressive are Knowledge Graph Foundation Models? (ICML 2025) [Paper]
Task 1: KGs Integrated During Pre-processing of Learning
In these works, KGs are utilized to enhance the training data. One popular direction is distant-supervision based training data augmentation for named entity recognition (NER) and relation extraction (You may refer to [the NER and Entity Typing section] for more details).
- In general, neural networks take separate (1) training data, (2) knowledge concepts, and (3) related concepts from KGs as input.
- Most works use the first input layer of the deep neural network architecture as the layer to augment training data with the KG. The remaining layers are application and task specific with loss computed at the last layer of the deep neural network. The end-to-end training of such a network results in learning the relative weighting between the training data and different concepts from the KG to handle the downstream tasks.
- Chanlleges: (1) different data formats in training data and KG, (2) different weights?, (3) explanability?
- Distant supervision for relation extraction without labeled data (ACL 2009)
- RLKGF: Reinforcement Learning from Knowledge Graph Feedback Without Human Annotations (ACL 2025)
Task 2: KGs Integrated During In-processing of Learning
Task 2.1: KGs Integrated in Hypothesis Sets
In these works, KG may be integrated in hypothesis sets, e.g., the definition of a neural networkβs architecture and hyper-parameters, or choosing model structure. One classical example is as follows:
(1) KGs as external sources
- Inference about a particular object is facilitated by using relations to other objects in an image.
- Visual Genome is used as a source of the KG. "Specifically, we counted how often an object/object relationship or object/attribute pair occurred in the training set, and pruned any edges that had fewer than 200 instances. This leaves us with a graph over all of the images with each edge being a common relationship." Therefore, this is not the common knowledge graphs.
- Symbolic graph reasoning meets convolutions (NIPS 2018)
- A graph reasoning layer can be inserted into any neural network, which enhances the representations in a given layer by propagating through a given knowledge graph.
Zero-shot learning where KGs are used as external information
- Zero-Shot Recognition via Semantic Embeddings and Knowledge Graphs (CVPR 2018)
- Used the KG to directly generate novel object classifiers
- Rethinking Knowledge Graph Propagation for Zero-Shot Learning (CVPR 2019)
- Multi-Label Zero-Shot Learning with Structured Knowledge Graphs (CVPR 2018)
- Semantics-Preserving Graph Propagation for Zero-Shot Object Detection (IEEE TRANSACTIONS ON IMAGE PROCESSING 2020)
- All About Knowledge Graphs for Actions (arxiv 2020) [Paper]
(2) Attention mechanisms on a knowledge graph in order to enhance features
- Knowledge enhanced contextual word representations (EMNLP 2019)
- Attention on related knowledge graph embedding can support the training of word embeddings.
- Commonsense knowledge aware conversation generation with graph attention (IJCAI 2018)
- Use attention on KG to facilitate the understanding and generation of conversational text.
(3) Others
- Co-training Embeddings of Knowledge Graphs and Entity Descriptions for Cross-lingual Entity Alignment (IJCAI 2018)
- Deep Reasoning with Knowledge Graph for Social Relationship Understanding (IJCAI 2018)
- Out of the Box: Reasoning with Graph Convolution Nets for Factual Visual Question Answering (NIPS 2018)
- Large-Scale Object Classification using Label Relation Graphs (ECCV 2014) [Paper]
- This work introduces semantic relations including mutual exclusion, overlap, and subsumption, as constraints in the loss function to train the classifiers.
- Knowledge-Embedded Routing Network for Scene Graph Generation (CVPR 2019)
- This work formally represents the statistical knowledge in the form of a structured graph, and incorporates the graph into deep propagation network as extra guidance. In this way, it can effectively regularize the distribution of possible relationships of object pairs (so that the long-tail relationships are also captured) and thus make prediction less ambiguous.
- I Know the Relationships: Zero-Shot Action Recognition via Two-Stream Graph Convolutional Networks and Knowledge Graphs (AAAI 2019)
- A novel ZSAR framework to directly and collectively model all the three types of relationships between action-attribute, action-action, and attribute-attribute by incorporating a knowledge graph in an end-to-end manner. The KG is based on ConceptNet 5.5.
Task 2.2: KGs Integrated in Learning Algorithms
These works integrate graph knowledge into learning. Specifically, numerous NLP works (such as those in entity disambiguation and entity linking) utilize the relations between words or entities to learn their embeddings (you may refer the [Entity Linking and Disambiguation section] and the [KG Embedding and Reasoning section] for more details).
- Knowledge-powered deep learning for word embedding (Joint European Conf. machine learning and knowledge discovery in databases. Springer, 2014)
- Known relations among words can be utilized as augmented contexts when computing word embeddings such as word2vec training.
- Rule-enhanced iterative complementation for knowledge graph reasoning (Information Science 2021)
- A multi-relational GCN with attentive message passing is introduced as the triple discriminator. It acquires the structural information of KGs by aggregating neighbour relations and entities.
Task 3: KGs Integrated During Post-processing of Learning
These works use the knowledge graphs in final hypothesis, which indicates whether the prediction is consistent with available knowledge.
- Explicit retrofitting of distributional word vectors (ACL 2018)
- Post-process word embeddings based on prior knowledge
- Similar work: Counter-fitting word vectors to linguistic constraints (arxiv)
- Object detection meets knowledge graphs (IJCAI 2017)
- Predicted probabilities of a learning system can be refined using semantic consistency measures derived form KGs
- This paper proposes a novel framework of knowledge-aware object detection, which enables the integration of external knowledge graphs into any object detection algorithm.
- The framework employs semantic consistency to quantify and generalize knowledge, which improves object detection through a re-optimization process to achieve better consistency with background knowledge.
- MIT ConceptNet is used as a source of the KG. [Reference]
- GRADE: Automatic Graph-Enhanced Coherence Metric for Evaluating Open-Domain Dialogue Systems (EMNLP 2020) [Paper] [GitHub]
- This work is for automatic evaluation for open-domain dialogue systems. It uses graph knowledge to evaluate the dialogue coherence as the result produced by the system. (not directly related to KGs as metrics, but may give some hints)
Knowledge-aware methods in XAI
π Surveys and Tutorials
- A Survey of Data-driven and Knowledge-aware eXplainable AI (TKDE 2021)
- The second part of this survey discusses the KG based methods
π General Papers
Internal rules: consider KG when designing the models (nowadays mainly used in recommendation systems)
- Entity Suggestion with Conceptual Explanation (IJCAI 2017)
External rules: combines KG and reasoning to generate explanations without changing the model structures (produces mapping between input-output behavious)
- Enabling Trust in Clinical Decision Support Rcommendations through Semantics (CEUR 2019)
Related Reading and Discussion
- Train neural networks by leveraging structured signals in addition to feature inputs. Structure can be explicit as represented by a graph, or implicit as induced by adversarial perturbation.
- Yoshua Bengio: From System 1 Deep Learning to System 2 Deep Learning (NeurIPS 2019) [Video]
- Cognitive Graph for Multi-Hop Reading Comprehension at Scale (ACL 2019) [GitHub] [Notes]
- Cognitive Graph is not directly equal to Knowledge Graph. You can view CG as a (dynamic, partial, local) KG generated instantly from the query.