Knowledge Graph Updating Through Context-Aware Language Model Prompts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The challenge of efficiently updating knowledge graphs for facilities or infrastructures using language models is hindered by the need for manual intervention, high human and temporal costs, and the complexity of maintaining and transferring domain-specific knowledge, especially when documents are incomplete or fragmented, and the language model lacks specialized training.

Innovation Solution

A system that utilizes a document information accepting section, knowledge graph information accepting section, prompt constructing section, prompt presenting section, response information accepting section, and update query constructing section to automate the process of updating knowledge graphs by constructing prompts based on both document and knowledge graph information, ensuring context-based updates even with incomplete documents.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual updating of knowledge graph is performed based on document contents, then knowledge graph can be updated with domain knowledge, but human cost and temporal cost increase

Engineering Contradiction:
Improveknowledge graph update accuracyVSAvoidtemporal cost
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical updating processes with an automated system that uses language models to construct prompts and generate update queries. The system automatically processes document information, constructs appropriate prompts, and generates knowledge graph update queries without requiring manual intervention, thereby reducing temporal cost while maintaining update accuracy

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system enables self-service updating where the knowledge graph system automatically processes document information and generates its own update queries. The language model constructs prompts and generates update queries autonomously based on the document contents, eliminating the need for human operators to manually create update queries

Inventive Principle:
Principle #25Self-service

2Reliability

If manual updating of knowledge graph is performed, then domain knowledge can be incorporated, but human cost increases

Engineering Contradiction:
Improvedomain knowledge accuracyVSAvoidautomation level
Core Design Contradiction:
ReliabilityVSExtent of automation

Solution Approach 1:

The patent replaces manual human operations with an automated system that uses language models to process document information, construct prompts, and generate update queries. This substitution maintains domain knowledge accuracy while achieving high automation level

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The language model acts as an intermediary between the document information and the knowledge graph update process. It constructs prompts that bridge the gap between raw document contents and structured knowledge graph updates, enabling automated processing while maintaining domain knowledge accuracy

Inventive Principle:
Principle #24Intermediary (Mediator)

3Extent of automation

If language model is used for knowledge graph update, then automation level increases, but system complexity increases

Engineering Contradiction:
Improveautomation levelVSAvoidsystem complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The patent segments the knowledge graph update process into distinct functional components: document information processing, prompt construction, language model inference, and update query generation. This segmentation allows each component to be optimized independently and simplifies the overall system architecture despite using language models

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The language model serves as an intermediary component that handles the complex task of transforming document information into update queries. By isolating the language model as a separate intermediary layer, the system manages complexity through modular architecture rather than integrating all functions into a single complex system

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If fine tuning technique is used for language model, then domain knowledge can be learned, but retraining cost increases when training data is enormous or frequently modified

Engineering Contradiction:
Improvedomain knowledge capabilityVSAvoidretraining cost
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The system performs preliminary action by using a pre-trained language model that already contains general knowledge, rather than requiring retraining for each domain update. The pre-trained model serves as a foundation that can be efficiently fine-tuned or prompted for specific domain tasks without costly retraining

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of changing the fundamental model parameters through retraining, the system uses parameter changes in the form of prompts and fine-tuning adjustments. This allows the language model to adapt to domain knowledge through prompt engineering and minor parameter adjustments rather than costly retraining of the entire model

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250217672A1System, method executed by system, and program
Publication Date: 2025.07.03 HITACHI LTD
  • US20250217672A1 patent drawing
  • US20250217672A1 patent drawing
  • US20250217672A1 patent drawing

AI summary

An object is to realize updating based on the context of a knowledge graph when a document triggers updating of the knowledge graph or realize updating even if the document has been subjected to omission or the like. A document information accepting section accepts document information which is information included in a document that triggers updating of a knowledge graph. A knowledge graph information accepting section accepts knowledge graph information from a knowledge graph system. A prompt constructing section constructs a prompt on the basis of the document information and the knowledge graph information. A response information accepting section accepts response information representing a response from the language model system to the prompt. An update query constructing section constructs the update query on the basis of the response information. An update query presenting section presents the update query to the knowledge graph system.