Neural Network Training with Knowledge Graph Subgraphs

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvegeneralization capabilityVSAvoidclassification accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #3Local quality

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

Engineering Contradiction:
Improveknowledge coverageVSAvoidclassification unambiguity
Core Design Contradiction:
Loss of informationVSReliability

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.

Inventive Principle:
Principle #2Taking out (Extraction)

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.

Inventive Principle:
Principle #13The other way round (Inversion)

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

Engineering Contradiction:
Improvetask performanceVSAvoidgeneralization to new contexts
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

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.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240046066A1Training a neural network by means of knowledge graphs
Publication Date: 2024.02.08 ROBERT BOSCH GMBH
  • US20240046066A1 patent drawing
  • US20240046066A1 patent drawing

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.