Structure self-aware model for discourse parsing on multi-party dialogues
AssigneeTencent America LLC
InventorLinfeng SONG
Life of this patent
Estimating the term…
Abstract
A method, computer program, and computer system is provided for parsing multi-party dialogue. Dialogue data having one or more elementary discourse units is received. A local representation and a global representation are determined for each of the elementary discourse units based on performing a pairwise comparison on the elementary discourse units. Relationships between the elementary discourse units are identified based on the determined local and global representations. A contextual link is predicted between non-adjacent elementary discourse units based on the identified relationships.
Claims20
A method of dialogue parsing, executable by a processor, comprising:
- receiving dialogue data;
- initializing nodes and edges of a structural self-aware graph neural network (SSA-GNN) based on the dialogue data;
- determining a local representation, by multiple bidirectional gated recurrent units (GRUs) consuming utterances represented by the dialogue data and then concatenating a last hidden state in the multiple GRUs, and a global representation, by applying another bidirectional GRU on the local representations;
- identifying relationships between the elementary discourse units based on structure-aware scaled dot-product attention of the SSA-GNN and a layer-wise classifier on edge hidden states;
- and
- predicting a contextual link between non-adjacent elementary discourse units based on the identified relationships.
A computer system for dialogue parsing, the computer system comprising:
- one or more computer-readable non-transitory storage media configured to store computer program code;
- and
- one or more computer processors configured to access said computer program code and operate as instructed by said computer program code, said computer program code including:
- receiving code configured to cause the one or more computer processors to receive dialogue data;
- initializing code configured to cause the one or more computer processors to initialize nodes and edges of a structural self-aware graph neural network (SSA-GNN) based on the dialogue data;
- determining code configured to cause the one or more computer processors to determine a local representation, by multiple bidirectional gated recurrent units (GRUs) consuming utterances represented by the dialogue data and then concatenating a last hidden state in the multiple GRUs, and a global representation, by applying another bidirectional GRU on the local representations;
- identifying code configured to cause the one or more computer processors to identify relationships between the elementary discourse units based on structure-aware scaled dot-product attention of the SSA-GNN and a layer-wise classifier on edge hidden states;
- and
- predicting code configured to cause the one or more computer processors to predict a contextual link between non-adjacent elementary discourse units based on the identified relationships.
A non-transitory computer readable medium having stored thereon a computer program for dialogue parsing, the computer program configured to cause one or more computer processors to:
- receive dialogue data;
- initialize nodes and edges of a structural self-aware graph neural network (SSA-GNN) based on the dialogue data;
- determine a local representation, by multiple bidirectional gated recurrent units (GRUs) consuming utterances represented by the dialogue data and then concatenating a last hidden state in the multiple GRUs, and a global representation, by applying another bidirectional GRU on the local representations;
- identify relationships between the elementary discourse units based on structure-aware scaled dot-product attention of the SSA-GNN and a layer-wise classifier on edge hidden states;
- and
- predict a contextual link between non-adjacent elementary discourse units based on the identified relationships.
Dependencies are inferred from the claim text.