Neural Network Training with Knowledge Graph Subgraphs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Neural networks face challenges in generalizing effectively beyond the training data distribution and domain, particularly in image classification tasks, due to the inclusion of irrelevant knowledge that can lead to ambiguity and reduced performance when encountering new data with different contexts.
Innovation Solution
The method involves using a feature extractor and a generic knowledge graph to select a subgraph relevant to the specific task, with a cost function optimizing the similarity between feature maps and subgraph representations, and optionally employing a task head or Gaussian process for evaluation, to focus on a specific context and suppress irrelevant information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a generic knowledge graph is used to train the neural network, then the training generalizes better on measurement data outside the training distribution, but irrelevant knowledge in the knowledge graph leads to ambiguity and reduced performance
Solution Approach 1:
The knowledge graph is segmented into task-specific subgraphs by selecting only the portion of the knowledge graph that is relevant to the specific classification task. This segmentation isolates useful knowledge from irrelevant knowledge, allowing the neural network to generalize better without being confused by unrelated information, thus resolving the contradiction between adaptability and reliability.
Solution Approach 2:
Different parts of the knowledge graph are treated differently based on their relevance to the task. The method applies local quality by selectively including only those nodes and edges in the subgraph that have local relevance to the specific classification task, rather than uniformly using the entire knowledge graph. This improves reliability while maintaining generalization benefits.
2Loss of information
If the entire knowledge graph is converted into a representation in the space of feature maps, then comprehensive knowledge is incorporated, but multiple semantic meanings are superimposed causing ambiguity
Solution Approach 1:
The method extracts only the relevant portion of the knowledge graph that pertains to the specific task, taking out the useful semantic information while leaving behind the ambiguous or irrelevant parts. This extraction process creates a focused subgraph representation that maintains knowledge coverage for the task at hand while eliminating sources of ambiguity.
Solution Approach 2:
Instead of starting with the entire knowledge graph and trying to filter out irrelevant information, the method inverts the approach by starting with task requirements and selectively including only the necessary knowledge graph elements. This inversion strategy naturally avoids superimposing multiple semantic meanings while preserving essential knowledge.
3Manufacturing precision
If training examples are provided with target outputs for a specified task, then the neural network can be trained for that task, but the network fails to generalize effectively to new data with different contexts
Solution Approach 1:
The method performs preliminary action by pre-selecting and organizing the relevant knowledge graph subgraph before training the neural network. This pre-processing of knowledge ensures that when the network is trained on task-specific examples, it also has access to structured contextual knowledge that facilitates generalization to new data with different contexts, resolving the contradiction between task precision and adaptability.
Data Source
AI summary
A method for training a neural network for evaluating measurement data. The neural network includes a feature extractor for generating feature maps. The method includes: providing training examples labeled with target outputs; providing a generic knowledge graph; selecting a subgraph relating to a context for solving a specified task; ascertaining, for each training example, a feature map using the feature extractor; ascertaining, from the respective training example, a representation of the subgraph in the space of the feature maps; evaluating an output from the feature map; assessing, using a specified cost function, to what extent the feature map is similar to the representation of the subgraph; optimizing parameters that characterize the behavior of the neural network; and adjusting the evaluation of the feature maps such that the output for each training example corresponds as well as possible to the target output for the respective training example.

