LLM Text Rewriting Using Graph Prompts and Similar Triplets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text generation technologies struggle to incorporate the meaning and structure of an independent text while maintaining the original text's meaning and structure, often leading to complex, unnatural, or redundant outputs, and require significant time and effort in prompt engineering and fine tuning.

Innovation Solution

A text generation device utilizing a large-scale language model (LLM) trained with triplet and similar pair data to generate a rewritten text by extracting similar triplets from template and reference texts, incorporating a hint sentence generation process to maintain the original text's structure and meaning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing text generation technologies are used to incorporate meaning and structure from independent texts, then the output may reflect reference text meaning, but the generation becomes complex, unnatural, or redundant and requires significant time and effort in prompt engineering and fine tuning

Engineering Contradiction:
Improveaccuracy of incorporating reference text meaningVSAvoidcomplexity of text generation process
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the text generation process into distinct stages: extracting triplets from the reference text, filtering similar triplets, generating rewritten sentences only for necessary portions, and assembling the final output. This segmentation reduces the complexity of handling entire texts by processing them in manageable units (triplets and sentences), thereby improving reliability while reducing the burden of prompt engineering and fine-tuning.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts meaningful units (triples) from the reference text and separates them from the template text structure. By extracting only the essential semantic information (subject-predicate-object relationships) and filtering for similarity, the system can incorporate reference meaning without requiring complex processing of the entire reference text, thus reducing generation complexity while maintaining accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

2Stability of the object's composition

If existing text generation technologies are used to maintain original text structure and meaning, then the output structure is preserved, but the generation becomes complex and requires extensive prompt engineering and fine tuning

Engineering Contradiction:
Improvepreservation of original text structureVSAvoidtime for prompt engineering and fine tuning
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The patent performs preliminary extraction and filtering of triplets from the reference text before the actual text generation process. By pre-processing the reference text to identify and filter similar triplets in advance, the system prepares reusable semantic units that can be directly inserted into the template structure, thereby preserving original structure while significantly reducing the time needed for prompt engineering and fine-tuning.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates rewritten sentences by copying and adapting triplets from the reference text into the template text structure. Instead of generating entirely new content or requiring complex transformations, the system copies semantic units (triples) and positions them within the template framework, maintaining structural integrity while incorporating reference meaning with minimal prompt engineering and fine-tuning requirements.

Inventive Principle:
Principle #26Copying

3Manufacturing precision

If existing text generation technologies are used to generate rewritten text, then the output may satisfy requirements, but redundancy and complexity in the output increase

Engineering Contradiction:
Improve satisfaction of text generation requirementsVSAvoidredundancy in generated text
Core Design Contradiction:
Manufacturing precisionVSLoss of substance

Solution Approach 1:

The patent extracts only the necessary semantic information (triples) from the reference text and filters out redundant or unrelated content. By extracting and selecting only the most relevant triplets that satisfy the generation requirements, the system produces concise rewritten text without redundancy, achieving high precision while minimizing unnecessary content in the output.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by generating rewritten sentences only for portions of the template text that require modification based on the reference text. Instead of rewriting the entire template, the system identifies specific sections needing updates and applies changes only there, thereby satisfying requirements while avoiding redundant rewriting of unchanged portions and reducing overall text complexity.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20260017445A1Non-transitory computer-readable recording medium, text generation method, and text generation device
Publication Date: 2026.01.15 FUJITSU LTD
  • US20260017445A1 patent drawing
  • US20260017445A1 patent drawing
  • US20260017445A1 patent drawing

AI summary

A non-transitory computer-readable recording medium stores therein a text generation program that causes a computer to execute a process including acquiring a first text serving as a norm and a second text related to a case example, first generating graph data of the second text including noun phrases included in the second text and information about a relation between the noun phrases in the second text, based on the second text, and first inputting a prompt including the graph data of the second text generated, and the first text, to a large-scale language model to generate a third text satisfying a requirement defined in the first text.