白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Generation of sentence representation

專利號
US11176333B2
公開日期
2021-11-16
申請人
International Business Machines Corporation(US NY Armonk)
發(fā)明人
Bang An; HongLei Guo; Shiwan Zhao; Zhong Su
IPC分類
G06F40/56; G06F40/30; G06F40/289; G06F40/58
技術(shù)領(lǐng)域
sentence,graph,word,nodes,node,syntactic,in,neighbor,may,cloud
地域: NY NY Armonk

摘要

Embodiments of the present disclosure relate to generation of sentence representation. In an embodiment, a method is disclosed. According to the method, a sentence graph is generated from a sentence containing words, the sentence graph comprising nodes representing the words and edges connecting the nodes to indicate relationships between the words. Word representations for the plurality of words are determined based on the sentence graph by applying a graph convolution operation on respective sets of neighbor nodes for respective ones of the nodes, a set of neighbor nodes for a node having edges connected with the node. A sentence representation for the sentence is determined based on the word representations for use in a natural language processing task related to the sentence. In other embodiments, a system and a computer program product are disclosed.

說明書

In some embodiments, each layer 710, . . . , 720 may be configured to apply a graph convolution operation on the set of neighbor nodes based on weights specific for the set of neighbor nodes, to obtain the word representation for the given node. The weights indicate respective contributions of the set of neighbor nodes to the given node. The weights for the set of neighbor nodes at each layer may be the same or different. In an example, the graph convolution module 526 may combine the set of neighbor nodes (i.e., the word embedding of the corresponding words) by means of weighted summation based on the respective weights and perform a multi-perceptron (MLP) operation or a perceptron operation on the result of the combination.

In some embodiments, considering the neighbor nodes with different relationships may have different contributions when aggregating their information, the weights specific for the set of neighbor nodes may be a first set of weights specific to types of the relationships indicated by the edges between the set of neighbor nodes and the given node. As mentioned above, the relationships indicated by the edges in the sentence graph 512 include different types of syntactic relationships, the sequential relationship, and/or the self-relationship. Weights in the first set may be the same for the same type of relationship, but may be varied for different types of relationships. A graph convolution based on the first set of weights may be referred to as a first graph convolution, or may sometimes be referred to as an edge-based graph convolution because the weights depend on the relationships indicated by the edges.

The first graph convolution based on the first set of weights performed at each layer 710, . . . , 720 may be represented as follows:

權(quán)利要求

1
微信群二維碼
意見反饋