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

Generation of sentence representation

專利號(hào)
US11176333B2
公開(kāi)日期
2021-11-16
申請(qǐng)人
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.

說(shuō)明書(shū)


where hi(k) is an output at the k-th layer for the i-th node, which may be in form of a feature vector, aij(k) is a weight in the first set specific for the type of the relationship rij at the k-th layer. In the directed sentence graph 512, aij(k) is a weight specific to the relationship from the word vj represented by the j-th node to the word vi represented by the i-th node. The weight aij(k) may be learned during the training process. The outputs for all the nodes at the k-th layer may be written as:
H(k)=MLP(k)(A(k)H(k-1))??Equation (4)

Alternatively, or in addition, the weights may include a second set of weights each determined based on the numbers of nodes having edges connected with respective neighbor nodes in the set of neighbor nodes and the number of nodes in the set of neighbor nodes. In a graph convolution based on the second set of weights (referred to as a second graph convolution), the word representation for the given node may further based on the given node in addition to the weighted summation of the set of neighbor nodes.

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

h i ( k ) = MLP ( k

權(quán)利要求

1
微信群二維碼
意見(jiàn)反饋