Knowledge graph-based semantic communication method, system and equipment and medium

By fusing multi-modal source information into a knowledge graph and transmitting updated subgraph information, combined with graph coding and memory modules, the problem of insufficient transmission efficiency and security in intelligent monitoring systems is solved, and efficient and secure semantic communication is achieved. .

CN118821718APending Publication Date: 2024-10-22GUANGZHOU INSTITUTE OF TECHNOLOY XIDIAN UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410650825.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing semantic communication methods have low transmission efficiency and insufficient security in intelligent monitoring systems. In particular, the semantic information of different modalities is encoded separately before feature fusion is performed, ignoring task differences, resulting in different modal information such as images and languages. The transmission efficiency is low and the security needs to be improved.

Method used

A semantic communication method based on knowledge graph is used to fuse multi-modal source information into a knowledge graph, and only the changed sub-graph information is transmitted. Semantic features are extracted and transmitted through the graph encoder, and semantic reconstruction is performed at the sink end. Use multi-level knowledge graphs and memory modules to achieve dynamic memory storage and feature extraction.

Benefits of technology

It improves transmission efficiency and security, reduces the amount of data by transmitting only updated subgraph information at the source end, and combines prior knowledge for semantic reconstruction at the sink end, ensuring communication quality and security, and is suitable for intelligent applications. Monitoring system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118821718A_ABST
    Figure CN118821718A_ABST
Patent Text Reader

Abstract

The invention discloses a semantic communication method, system and device based on a knowledge graph and a medium, and the method comprises the steps: obtaining multi-modal information source information, and carrying out the preliminary feature extraction of the multi-modal information source information, and obtaining the corresponding semantic information; according to the semantic information, updating the first knowledge graph during the last communication to obtain an updated second knowledge graph; wherein the knowledge graph has a plurality of hierarchies; inputting the second knowledge graph into a graph encoder for semantic feature extraction to obtain semantic features corresponding to updated sub-graphs in the second knowledge graph; and transmitting the semantic features to an information sink end, so that the information sink end decodes the semantic features, updates a knowledge graph in the information sink end, and performs semantic reconstruction according to the updated knowledge graph to obtain target information. According to the method, the multi-mode information source information is fused into the knowledge graph, only changed sub-graph information is transmitted, a large amount of transmission bandwidth is reduced, the transmission efficiency is improved, and the information transmission safety is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular to a semantic communication method, system, device and medium based on a knowledge graph. Background Art

[0002] Semantic communication is a task-based communication method of "understanding first, then transmitting". Semantic communication will selectively extract features, compress and transmit the original signal, and then use semantic level information for communication. In traditional intelligent monitoring systems, the original image or voice data of the monitored party is usually sent directly to the guardian. Due to the huge amount of information transmitted, the network performance requirements are high, and the privacy of the monitored party is easily leaked during the information transmission process. Therefore, using semantic communication to transmit information in the intelligent monitoring system can reduce the amount of data transmitted and protect privacy to a certain extent. However, in the existing methods, semantic information of different modalities is usually encoded and decoded separately, and feature fusion is performed in the final stage. It ignores the differences in semantic information that needs to be transmitted under different tasks, and often encodes and transmits all semantic information of different modalities such as images and languages ​​through different encoders. Its transmission efficiency is low and its security needs to be improved. Summary of the invention

[0003] To solve the above technical problems, the present invention provides a semantic communication method, system, device and medium based on knowledge graph, which combines multimodal source information into a knowledge graph and only transmits the changed sub-graph information, thereby reducing a large amount of transmission bandwidth, improving transmission efficiency, and improving the security of information transmission.

[0004] The embodiment of the present invention provides a semantic communication method based on a knowledge graph, comprising:

[0005] Acquire multimodal information source, and perform preliminary feature extraction on the multimodal information source to obtain corresponding semantic information;

[0006] According to the semantic information, the first knowledge graph at the time of the last communication is updated to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels;

[0007] Inputting the second knowledge graph into a graph encoder for semantic feature extraction to obtain semantic features corresponding to the updated subgraph in the second knowledge graph;

[0008] The semantic features are transmitted to a destination end so that the destination end decodes the semantic features, updates the knowledge graph in the destination end, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

[0009] As an improvement of the above solution, the multimodal information source includes image information and voice information, and the preliminary feature extraction of the multimodal information source to obtain the corresponding semantic information specifically includes:

[0010] Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information;

[0011] The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information;

[0012] The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

[0013] As an improvement of the above scheme, the knowledge graph contains state and attribute information of objects, behavioral state information of people, relationships between objects, and relationships between people; wherein, people and objects detected by the target detection network correspond to nodes in the knowledge graph.

[0014] As an improvement of the above solution, the updating of the first knowledge graph at the time of the last communication according to the semantic information to obtain the updated second knowledge graph specifically includes:

[0015] According to the state information of the person and the first knowledge graph at the time of the last communication, the HOI algorithm is used to identify and infer the interaction relationship between the person and the object, and the interaction event between the person and the object is obtained;

[0016] The visual semantic information is aligned with the language semantic information, and combined with the interaction events between the person and the object, the nodes, the attributes of the nodes, and the edges between the nodes in the first knowledge graph are updated to obtain an updated second knowledge graph.

[0017] As an improvement of the above solution, the graph encoder includes a memory module, and the information stored in the memory module includes the node and edge features of each node in the knowledge graph at the latest moment. Then, the method for obtaining the semantic features includes:

[0018] Input the features of each node and edge before updating and the events that occurred during updating into the preset message function to obtain the messages corresponding to each node and edge;

[0019] Using the messages corresponding to all updated nodes and edges in the second knowledge graph as semantic features corresponding to the updated subgraphs in the second knowledge graph;

[0020] Among them, after the update, the messages corresponding to each node and edge at all times are input into the preset message aggregation function to obtain the updated total message features corresponding to each node and edge; the features before the update and the updated total message features corresponding to each node and edge are input into the preset feature information function to obtain the updated features corresponding to each node and edge, and store them in the memory module.

[0021] As an improvement of the above solution, the information sink decodes the semantic feature and updates the knowledge graph in the information sink, specifically including:

[0022] The destination terminal aggregates the received semantic features and the total message features before updating in the destination terminal to obtain the updated total message features;

[0023] The destination terminal inputs the pre-updated features corresponding to each node and edge in the destination terminal and the updated total message features into a preset feature information function to obtain the updated features corresponding to each node and edge;

[0024] The information sink updates the knowledge graph in the information sink according to the updated features corresponding to each node and edge to obtain an updated knowledge graph.

[0025] The embodiment of the present invention further provides a semantic communication system based on a knowledge graph, comprising:

[0026] A source information acquisition module, used to acquire multimodal source information and perform preliminary feature extraction on the multimodal source information to obtain corresponding semantic information;

[0027] A knowledge graph updating module, used to update the first knowledge graph at the time of the last communication according to the semantic information, to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels;

[0028] A graph encoding module, used to input the second knowledge graph into a graph encoder for semantic feature extraction, and obtain semantic features corresponding to the updated subgraph in the second knowledge graph;

[0029] The feature transmission module is used to transmit the semantic features to the information sink so that the information sink decodes the semantic features, updates the knowledge graph in the information sink, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

[0030] Furthermore, the multimodal information source includes image information and voice information, and the preliminary feature extraction of the multimodal information source to obtain corresponding semantic information specifically includes:

[0031] Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information;

[0032] The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information;

[0033] The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

[0034] An embodiment of the present invention also provides a terminal device, including a processor and a memory, wherein a computer program is stored in the memory, and the computer program is configured to be executed by the processor, and when the processor executes the computer program, it implements any of the above-mentioned semantic communication methods based on the knowledge graph.

[0035] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned semantic communication methods based on knowledge graphs.

[0036] Compared with the prior art, the beneficial effects of a semantic communication method, system, device and medium based on knowledge graph provided by the embodiment of the present invention are: by fusing the semantic information of multimodal source information into a knowledge graph, and then performing graph encoding and semantic communication, it is possible to ensure the communication security during the communication process, and improve the transmission efficiency while ensuring the quality of the communication task; by transmitting only the updated subgraph information in the knowledge graph at the source end, and performing semantic reconstruction in combination with prior knowledge at the destination end, the amount of transmitted data is further reduced, and the security of communication is improved; by constructing a knowledge graph with multiple levels, the knowledge graph contains more specific and more relevant node information, so that the information about people and objects contained in it is more accurate, so as to ensure the accuracy of the semantic reconstruction results of the destination end; by setting a memory module in the graph encoder, dynamic memory storage can be realized, which is conducive to encoding feature extraction. The embodiment of the present invention can be applied to intelligent monitoring systems to achieve high-quality, high-transmission-efficiency, and high-security semantic communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flowchart of a semantic communication method based on knowledge graph provided by an embodiment of the present invention;

[0038] Figure 2 It is a schematic diagram of a flow chart of semantic communication of an intelligent monitoring system provided by an embodiment of the present invention;

[0039] Figure 3 It is a schematic diagram of the structure of a knowledge graph provided by an embodiment of the present invention;

[0040] Figure 4 It is a structural schematic diagram of a semantic communication system based on a knowledge graph provided by an embodiment of the present invention;

[0041] Figure 5 It is a structural diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] See also Figure 1 , Figure 1 1 is a flow chart of a semantic communication method based on a knowledge graph provided by an embodiment of the present invention. The semantic communication method based on a knowledge graph includes:

[0044] S1: Acquire multimodal information source, and perform preliminary feature extraction on the multimodal information source to obtain corresponding semantic information;

[0045] S2: updating the first knowledge graph at the time of the last communication according to the semantic information to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels;

[0046] S3: Input the second knowledge graph into a graph encoder to extract semantic features, and obtain semantic features corresponding to the updated subgraph in the second knowledge graph;

[0047] S4: Transmitting the semantic features to the information sink, so that the information sink decodes the semantic features, updates the knowledge graph in the information sink, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

[0048] Specifically, in the application context of the intelligent monitoring system, the source of semantic communication is the computer device corresponding to the monitoring device in the monitored area, which communicates with the monitoring center, i.e., the sink, through a router and the public network to transmit the monitoring information to the monitoring center. Figure 2 , Figure 2 It is a flow chart of semantic communication of an intelligent monitoring system provided by an embodiment of the present invention. First, the source end obtains the multimodal source information collected by the monitoring device, that is, the video stream collected by the camera and the voice stream collected by the microphone; the source end performs semantic extraction on the video stream and the voice stream, and fuses the obtained multimodal information to construct a knowledge graph; the source end performs feature extraction and semantic encoding on the knowledge graph, and transmits the encoded semantic feature information to the destination end; the destination end decodes the received semantic feature information and updates the knowledge graph; the destination end performs 3D semantic reconstruction based on the updated knowledge graph to complete semantic communication. Among them, after the source end performs the initial knowledge graph construction and semantic communication, for the construction of the knowledge graph corresponding to the newly acquired source information, it only needs to be updated on the basis of the knowledge graph constructed last time, and the knowledge graph corresponding to the newly acquired source information can be obtained. Similarly, in the destination end, each time new information is received, it only needs to be updated on the basis of the existing knowledge graph.

[0049] The knowledge graph constructed has several levels, see Figure 3 , Figure 3 It is a schematic diagram of the structure of a knowledge graph provided by an embodiment of the present invention. In the monitored scene, such as an office scene, the next level of the room is the table, chairs, etc., and the next level is the water bottle and plants on the table, the laptop computer used by people, etc. According to specific needs, several levels can be set to represent the relationship between objects. Among them, people and objects are nodes of the knowledge graph, each node has corresponding attributes and status information, and the relationship between nodes is the edge in the knowledge graph.

[0050] As one of the optional embodiments, the multimodal information source includes image information and voice information, and the preliminary feature extraction of the multimodal information source to obtain the corresponding semantic information specifically includes:

[0051] Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information;

[0052] The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information;

[0053] The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

[0054] Specifically, when image information and voice information are obtained, different networks are first selected to perform preliminary semantic feature extraction on source information of different modalities to obtain visual semantic information corresponding to the image information and language semantic information corresponding to the voice information.

[0055] For image information, the target detection network Yolov8 is used to perform target detection on the image information to obtain objects and people in the image information, that is, nodes in the knowledge graph; based on the detected people and objects, the human pose estimation algorithm PCT (Human Pose as Compositional Tokens) and the spatial-temporal graph convolutional network STGCN (Spatial-Temporal Graph Convolutional Network) are combined to extract features from the image information to obtain the behavioral state information of the person in the image information; the Yolov8 target detection result is used as the prompt input of the large model, and the image information is input into the large model to obtain the attributes and state of the object, that is, the node is used as the prompt input, and the large model is used to generate the attributes of the node and the edge relationship between the nodes, and a preliminary multi-level knowledge graph is also obtained. It should be noted that when the node is used as input, the hierarchical relationship between the nodes is pre-set.

[0056] For voice information, according to the predefined language task type, the trained Bert network is used to locate the voice information to the corresponding language task. The language task is different from the system task, but is a task for language semantics, which is to determine the purpose information of the person represented by the voice information. Therefore, the embodiment of the present invention divides the language task type into two categories: question-answering and command, and further subdivides it into specific language task types.

[0057] As one of the optional embodiments, the knowledge graph contains state and attribute information of objects, behavioral state information of people, relationships between objects, and relationships between people; wherein the people and objects detected by the target detection network correspond to nodes in the knowledge graph.

[0058] As one of the optional embodiments, updating the first knowledge graph at the time of the last communication according to the semantic information to obtain an updated second knowledge graph specifically includes:

[0059] According to the state information of the person and the first knowledge graph at the time of the last communication, the HOI algorithm is used to identify and infer the interaction relationship between the person and the object, and the interaction event between the person and the object is obtained;

[0060] The visual semantic information is aligned with the language semantic information, and combined with the interaction events between the person and the object, the nodes, the attributes of the nodes, and the edges between the nodes in the first knowledge graph are updated to obtain an updated second knowledge graph.

[0061] Specifically, the update of the knowledge graph includes the fusion of visual modality and language modality.

[0062] For visual modality processing, after obtaining the state information of the person, the HOI (Human-Object Interaction) algorithm is used in combination with the first knowledge graph to infer the interaction events between the person and the object, thereby updating the knowledge graph. For example, if a cup is placed on the table and a person drinks water next to the table, it is judged that there is an interaction event between the person and the cup. If the person drinks water next to the bed, the result is discarded as a false positive. If the person and the cup interact, the knowledge graph is updated to generate the "person" node and an interaction edge between the two nodes.

[0063] For the processing of language modality, the language semantic information is obtained based on the analysis of the voice text, and the knowledge graph is updated based on the language semantic information. For example, when a person says to the system "This is Xiao Ming's cup, and Xiao Ming doesn't want others to touch his things", then based on the analysis of the language, the attributes of the cup node will be set to "belong to Xiao Ming" and "untouchable".

[0064] For example, when a person walks to the table, picks up a water cup, and says, "Lock the cup in my hand," based on the analysis and processing of the visual modality and the language modality, the voice information is located in the task of locking the object under the imperative language task and the executed target is "the cup in my hand." At this time, the attribute of the cup node is set to "lock," and an interaction edge is generated between the hand and cup nodes, where the hand node is the next level of the person node.

[0065] According to the processing of the visual modality and the language modality, the semantics of language and vision are expressed in the form of a graph, and dynamically updated on the basis of the first knowledge graph at the time of the last communication to obtain an updated second knowledge graph.

[0066] Furthermore, the updated second knowledge graph is used as an abstract information source, and its features are extracted and encoded so that it can be transmitted to the destination as a semantically transmitted information flow.

[0067] Furthermore, in the updating of the knowledge graph, it does not continuously perform large-scale changes and updates, but is only updated according to human actions or language. For example, visual actions or language instructions such as a person taking a cup away or locking a cup, so it is only necessary to locate the relevant subgraphs at the relevant level in the graph due to changes in human behavior and transmit them to the destination, so that the destination can reconstruct the semantic information.

[0068] As one of the optional embodiments, the graph encoder includes a memory module, and the information stored in the memory module includes the node and edge features of each node in the knowledge graph at the latest moment. The method for obtaining the semantic features includes:

[0069] Input the features of each node and edge before updating and the events that occurred during updating into the preset message function to obtain the messages corresponding to each node and edge;

[0070] Using the messages corresponding to all updated nodes and edges in the second knowledge graph as semantic features corresponding to the updated subgraphs in the second knowledge graph;

[0071] Among them, after the update, the messages corresponding to each node and edge at all times are input into the preset message aggregation function to obtain the updated total message features corresponding to each node and edge; the features before the update and the updated total message features corresponding to each node and edge are input into the preset feature information function to obtain the updated features corresponding to each node and edge, and store them in the memory module.

[0072] Specifically, after dynamically updating the knowledge graph by combining the two modalities, the updated second knowledge graph is input into the graph encoder, and the graph convolutional neural network (GCN) is used to extract semantic features of the graph to obtain subgraph features of the updated graph structure. The graph encoder includes a memory module, which stores the embbeding features of nodes and edges of each node at the latest moment. For example, there are two nodes V i and V j , where V i At time t1, an update occurs, V j If an update occurs at time t2, then only V i The characteristics at time t1 and the corresponding time point, as well as V j Features at time t2 and the corresponding time point.

[0073] The knowledge graph is represented as G = (V, E), where V is a node and E is an edge. They are given features. For the updated knowledge graph, it is a dynamic graph with a time dimension, represented as G = (V, E, t), where t is the moment, indicating a snapshot of the graph at a certain moment. The change information of the knowledge graph transmitted by the source is defined as a message. The message consists of events. This event can be the addition or subtraction of an edge. For example, when a person picks up a cup, an event occurs between the node of the person and the node of the cup, and an edge is added between the nodes.

[0074] Specifically, it is defined that when an event occurs between nodes i and j at time t, the message of node i is expressed as:

[0075] m i (t) = msg(s i (t - ), s j (t - ), t, e ij (t));

[0076] Among them, s i (t - ) is the spatiotemporal feature information of node i at time t-1, s j (t - ) is the spatiotemporal feature information of node j at time t-1, e ij (t) is the event that occurs between nodes i and j at time t.

[0077] After the event occurs, calculate the spatiotemporal feature information of node i at time t:

[0078]

[0079] in, is the total message feature of node i at time t, which is obtained by aggregating the messages of node i at all times. The formula is:

[0080]

[0081] Similarly, we can get the edge message, feature information and total message features. Among them, all updated nodes and edge messages m i (t) is the semantic feature transmitted from the source to the destination.

[0082] It should be noted that the msg function, agg function and mem function are all obtained through training. The msg function is a message function, whose output is the message representation of node i at time t after the event occurs, and its input is the features of node i before the event occurs, the features of node j before the event occurs, and the events that occur between nodes i and node j at time t. The agg function is a message aggregation function, whose input is the messages of node i at all times, and its output is the total message features of node i aggregated from the messages at all times. The mem function is a node feature information function, whose input is the message after the event occurs at node i at time t, the feature information of node i before time t, and the output is the updated feature information of node i at time t.

[0083] As one of the optional embodiments, the information sink decodes the semantic feature and updates the knowledge graph in the information sink, specifically including:

[0084] The destination terminal aggregates the received semantic features and the total message features before updating in the destination terminal to obtain the updated total message features;

[0085] The destination terminal inputs the pre-updated features corresponding to each node and edge in the destination terminal and the updated total message features into a preset feature information function to obtain the updated features corresponding to each node and edge;

[0086] The information sink updates the knowledge graph in the information sink according to the updated features corresponding to each node and edge to obtain an updated knowledge graph.

[0087] Specifically, the model used by the sink for decoding is equivalent to the model used by the source for encoding. The semantic features received by the sink are messages related to the occurrence of events. i (t), and the sink saves the knowledge graph information just before the event occurs, that is, the sink saves the total message features before the update Aggregate the received message with the total message features before the update to obtain the updated total message features Then, based on the feature information before the update and the total consumption feature after the update, the latest feature information of the nodes and edges is calculated. Based on the updated feature information, it can be deduced which node and which edge in the knowledge graph has experienced an event update, and then the knowledge graph at the destination can be updated.

[0088] Furthermore, the destination performs semantic reconstruction based on the information about people and objects contained in the updated knowledge graph. Specifically, the most similar 3D model is obtained by matching the node information in the knowledge graph with the 3D modeling information in the preset database, and the model is placed at the corresponding position of the node to complete the semantic reconstruction.

[0089] The embodiment of the present invention can ensure the communication security during the communication process and improve the transmission efficiency while ensuring the quality of the communication task by fusing the semantic information of the multimodal source information into a knowledge graph and then performing graph coding and semantic communication; by transmitting only the updated subgraph information in the knowledge graph at the source end and performing semantic reconstruction in combination with prior knowledge at the destination end, the amount of data transmitted is further reduced and the communication security is improved; by constructing a knowledge graph with multiple levels, the knowledge graph contains more specific and more relevant node information, so that the information of people and objects contained in it is more accurate, so as to ensure the accuracy of the semantic reconstruction result of the destination end; by setting a memory module in the graph encoder, dynamic memory storage can be realized, which is conducive to encoding feature extraction. The embodiment of the present invention can be applied to the intelligent monitoring system. Taking the network camera used by the system as an example, the size of a frame of 1280*720 resolution image and a 5-second voice is about 1.3M. Using the method of the embodiment of the present invention, the corresponding semantic information can be compressed below 500 bytes, effectively reducing the information communication transmission bandwidth, and realizing high-quality, high-transmission efficiency, and high-security semantic communication.

[0090] Correspondingly, the present invention also provides a semantic communication system based on a knowledge graph, which can implement all the processes of the semantic communication method based on the knowledge graph in the above-mentioned embodiment.

[0091] See also Figure 4 , Figure 4 : is a schematic diagram of a structure of a knowledge graph-based semantic communication system provided by an embodiment of the present invention. The knowledge graph-based semantic communication system includes:

[0092] The information source information acquisition module 401 is used to acquire multimodal information source and perform preliminary feature extraction on the multimodal information source to obtain corresponding semantic information;

[0093] A knowledge graph updating module 402 is used to update the first knowledge graph at the time of the last communication according to the semantic information to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels;

[0094] A graph encoding module 403, used to input the second knowledge graph into a graph encoder for semantic feature extraction, and obtain semantic features corresponding to the updated subgraph in the second knowledge graph;

[0095] The feature transmission module 404 is used to transmit the semantic feature to the information sink so that the information sink decodes the semantic feature, updates the knowledge graph in the information sink, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

[0096] Preferably, the multimodal information source includes image information and voice information, and the performing of preliminary feature extraction on the multimodal information source to obtain corresponding semantic information specifically includes:

[0097] Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information;

[0098] The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information;

[0099] The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

[0100] Preferably, the knowledge graph contains state and attribute information of objects, behavioral state information of people, relationships between objects, and relationships between people; wherein the people and objects detected by the target detection network correspond to nodes in the knowledge graph.

[0101] Preferably, updating the first knowledge graph at the time of the last communication according to the semantic information to obtain an updated second knowledge graph specifically includes:

[0102] According to the state information of the person and the first knowledge graph at the time of the last communication, the HOI algorithm is used to identify and infer the interaction relationship between the person and the object, and the interaction event between the person and the object is obtained;

[0103] The visual semantic information is aligned with the language semantic information, and combined with the interaction events between the person and the object, the nodes, the attributes of the nodes, and the edges between the nodes in the first knowledge graph are updated to obtain an updated second knowledge graph.

[0104] Preferably, the graph encoder includes a memory module, and the information stored in the memory module includes the node and edge features of each node in the knowledge graph at the latest moment. Then, the acquisition of the semantic features includes:

[0105] Input the features of each node and edge before updating and the events that occurred during updating into the preset message function to obtain the messages corresponding to each node and edge;

[0106] Using the messages corresponding to all updated nodes and edges in the second knowledge graph as semantic features corresponding to the updated subgraphs in the second knowledge graph;

[0107] Among them, after the update, the messages corresponding to each node and edge at all times are input into the preset message aggregation function to obtain the updated total message features corresponding to each node and edge; the features before the update and the updated total message features corresponding to each node and edge are input into the preset feature information function to obtain the updated features corresponding to each node and edge, and store them in the memory module.

[0108] Preferably, the information sink decodes the semantic feature and updates the knowledge graph in the information sink, specifically including:

[0109] The destination terminal aggregates the received semantic features and the total message features before updating in the destination terminal to obtain the updated total message features;

[0110] The destination terminal inputs the pre-updated features corresponding to each node and edge in the destination terminal and the updated total message features into a preset feature information function to obtain the updated features corresponding to each node and edge;

[0111] The information sink updates the knowledge graph in the information sink according to the updated features corresponding to each node and edge to obtain an updated knowledge graph.

[0112] In the specific implementation, the working principle, control process and technical effect of the semantic communication system based on the knowledge graph provided by the embodiment of the present invention are the same as those of the semantic communication method based on the knowledge graph in the above-mentioned embodiment, and will not be repeated here.

[0113] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention. The terminal device includes a processor 501, a memory 502, and a computer program stored in the memory 502 and configured to be executed by the processor 501. When the processor 501 executes the computer program, the semantic communication method based on the knowledge graph described in any of the above embodiments is implemented.

[0114] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory 502 and executed by the processor 501 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0115] The processor 501 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor, or the processor 501 can be any conventional processor. The processor 501 is the control center of the terminal device, and various parts of the terminal device are connected using various interfaces and lines.

[0116] The memory 502 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory 502 can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory 502 can also be other volatile solid-state storage devices.

[0117] It should be noted that the above terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5 The structural diagram is only an example of the above-mentioned terminal device and does not constitute a limitation of the above-mentioned terminal device. It may include more or less components than shown in the figure, or combine certain components, or different components.

[0118] An embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the semantic communication method based on the knowledge graph described in any of the above embodiments.

[0119] The beneficial effects of a semantic communication method, system, device and medium based on a knowledge graph provided by an embodiment of the present invention are: by fusing the semantic information of multimodal source information into a knowledge graph, and then performing graph encoding and semantic communication, it is possible to ensure communication security during the communication process, and improve transmission efficiency while ensuring the quality of communication tasks; by transmitting only the updated subgraph information in the knowledge graph at the source end, and performing semantic reconstruction in combination with prior knowledge at the destination end, the amount of data transmitted is further reduced, and the security of communication is improved; by constructing a knowledge graph with multiple levels, the knowledge graph contains more specific and more relevant node information, so that the information about people and objects contained in it is more accurate, so as to ensure the accuracy of the semantic reconstruction results of the destination end; by setting a memory module in the graph encoder, dynamic memory storage can be realized, which is conducive to encoding feature extraction. The embodiment of the present invention can be applied to intelligent monitoring systems to achieve high-quality, high-transmission-efficiency, and high-security semantic communication.

[0120] It should be noted that the system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0121] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A semantic communication method based on knowledge graph, characterized in that: include: Acquire multimodal information source, and perform preliminary feature extraction on the multimodal information source to obtain corresponding semantic information; According to the semantic information, the first knowledge graph at the time of the last communication is updated to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels; Inputting the second knowledge graph into a graph encoder for semantic feature extraction to obtain semantic features corresponding to the updated subgraph in the second knowledge graph; The semantic features are transmitted to a destination end so that the destination end decodes the semantic features, updates the knowledge graph in the destination end, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

2. The semantic communication method based on knowledge graph according to claim 1, characterized in that: The multimodal information source includes image information and voice information, and the preliminary feature extraction of the multimodal information source to obtain corresponding semantic information specifically includes: Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information; The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information; The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

3. The semantic communication method based on knowledge graph according to claim 2, characterized in that: The knowledge graph contains state and attribute information of objects, behavioral state information of people, relationships between objects, and relationships between people; wherein people and objects detected by the target detection network correspond to nodes in the knowledge graph.

4. The semantic communication method based on knowledge graph according to claim 3, characterized in that: The updating of the first knowledge graph at the time of the last communication according to the semantic information to obtain an updated second knowledge graph specifically includes: According to the state information of the person and the first knowledge graph at the time of the last communication, the HOI algorithm is used to identify and infer the interaction relationship between the person and the object, and the interaction event between the person and the object is obtained; The visual semantic information is aligned with the language semantic information, and combined with the interaction events between the person and the object, the nodes, the attributes of the nodes, and the edges between the nodes in the first knowledge graph are updated to obtain an updated second knowledge graph.

5. The semantic communication method based on knowledge graph according to claim 4, characterized in that: The graph encoder includes a memory module, and the information stored in the memory module includes the features of nodes and edges of each node in the knowledge graph at the latest moment. The method for obtaining the semantic features includes: Input the features of each node and edge before updating and the events that occurred during updating into the preset message function to obtain the messages corresponding to each node and edge; Using the messages corresponding to all updated nodes and edges in the second knowledge graph as semantic features corresponding to the updated subgraphs in the second knowledge graph; Among them, after the update, the messages corresponding to each node and edge at all times are input into the preset message aggregation function to obtain the updated total message features corresponding to each node and edge; the features before the update and the updated total message features corresponding to each node and edge are input into the preset feature information function to obtain the updated features corresponding to each node and edge, and store them in the memory module.

6. The semantic communication method based on knowledge graph according to claim 5, characterized in that: The information sink decodes the semantic feature and updates the knowledge graph in the information sink, specifically including: The destination terminal aggregates the received semantic features and the total message features before updating in the destination terminal to obtain the updated total message features; The destination terminal inputs the pre-updated features corresponding to each node and edge in the destination terminal and the updated total message features into a preset feature information function to obtain the updated features corresponding to each node and edge; The information sink updates the knowledge graph in the information sink according to the updated features corresponding to each node and edge to obtain an updated knowledge graph.

7. A semantic communication system based on knowledge graph, characterized in that: include: A source information acquisition module, used to acquire multimodal source information and perform preliminary feature extraction on the multimodal source information to obtain corresponding semantic information; A knowledge graph updating module, used to update the first knowledge graph at the time of the last communication according to the semantic information, to obtain an updated second knowledge graph; wherein the knowledge graph has multiple levels; A graph encoding module, used to input the second knowledge graph into a graph encoder for semantic feature extraction, and obtain semantic features corresponding to the updated subgraph in the second knowledge graph; The feature transmission module is used to transmit the semantic features to the information sink so that the information sink decodes the semantic features, updates the knowledge graph in the information sink, and performs semantic reconstruction according to the updated knowledge graph to obtain target information.

8. The semantic communication system based on knowledge graph according to claim 7, characterized in that: The multimodal information source includes image information and voice information, and the preliminary feature extraction of the multimodal information source to obtain corresponding semantic information specifically includes: Using a target detection network, a human posture estimation algorithm, and a spatiotemporal graph convolutional network to extract features from the image information, and obtain behavioral state information of the person in the image information; The detection result of the target detection network is used as the prompt information of the large model, and the image information is input into the large model to obtain the attributes and states of the objects in the image information; wherein the behavior state information of the person and the attributes and states of the objects constitute visual semantic information; The speech information is converted into text, and according to a predefined language task type, a pre-trained Bert network is used to perform semantic analysis and language task type classification on the text to obtain language semantic information corresponding to the speech information.

9. A terminal device, characterized in that: It includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is configured to be executed by the processor, and when the processor executes the computer program, a semantic communication method based on a knowledge graph as described in any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the semantic communication method based on the knowledge graph as described in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Text semantic communication method and device, electronic equipment and storage medium

    CN121328567A