Knowledge graph guided multi-scene image generation method

A technology of scene images and knowledge graphs, applied in the field of image generation, can solve problems such as poor performance, inconvenience, and failure to generate layouts, and achieve the effect of convenient use and improved generation quality

Pending Publication Date: 2021-04-06
DALIAN UNIV OF TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Most of the current text synthesis scene image methods have the following problems: (1) the current text is often a sentence, and the user needs to give a sentence to generate an image in practical applications in life, which is inconvenient; (2) ) There should be more than one image that matches the description text, but most current methods can only achieve one-to-one generation tasks, and do not perform well when generating complex scene images with many objects, and cannot generate good layouts

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Knowledge graph guided multi-scene image generation method
  • Knowledge graph guided multi-scene image generation method
  • Knowledge graph guided multi-scene image generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The technical solutions of the present invention will be further described below in conjunction with specific embodiments and accompanying drawings.

[0040] A method for generating multiple scene images guided by a knowledge map, the steps are as follows:

[0041] Step S1: Extract all triples (head entity, relationship, tail entity) in the VG dataset, where the set of head entity and tail entity contains all label objects, and the relationship includes "adjacent", "above..." , "behind..." and other words that can represent the layout relationship of objects, all triples will be extracted and integrated into a small knowledge graph;

[0042] Step S2: if figure 2 As shown in , input a group of n object labels into the layout search module, and obtain m layout diagrams that conform to the facts;

[0043] Further, the step S2 is specifically:

[0044] Step S21: Input n object tags into the constructed knowledge graph for graph search, search for all triples containing ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a knowledge graph guided multi-scene image generation method, and belongs to the field of image generation. According to the method, the knowledge graph is used for assisting in completing an image generation task for the first time, firstly, the knowledge graph containing object layout relations is constructed, then, a set of object labels are input into the graph, and a plurality of layout relation graphs conforming to facts is obtained through a layout search module; Knowledge information in the graph is extracted from the layout relation graph through a pre-trained knowledge module, and finally a generator and a discriminator are trained in combination with a knowledge object matrix and a global knowledge vector obtained in the knowledge module when the layout relation graph passes through an image generation module, so as to generate a scene image corresponding to each relation graph. According to the invention, the knowledge graph is utilized to realize a one-to-many task of generating a plurality of images by using a group of labels, and the image generation quality is improved by embedding knowledge representation information. The present invention is evaluated using a real image data set, and the improvement on the most advanced baseline is observed.

Description

technical field [0001] The invention belongs to the field of image generation, and in particular relates to a method for generating multiple scene images guided by knowledge graphs. Background technique [0002] The knowledge graph is a database in units of triples, which store entity information and relationship information between entities. In the application of knowledge graph methods, the KG2E method in the trans series is a classic One of the knowledge representation methods. This method can embed the entities and relationships in the map into a high-dimensional Gaussian distribution. When the model is trained, the KL divergence is used to make the distribution of the head entity minus the tail entity as close as possible to the relationship. distributed. This knowledge representation method can introduce the information in the map into other models in the form of distribution, and it is also the method used in the present invention to extract map information. [0003...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/36G06N3/04G06N3/08G06N5/02
CPCG06F16/367G06N3/08G06N5/02G06N3/045
Inventor 肖贺文孔雨秋刘秀平尹宝才
Owner DALIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products