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

Generation of sentence representation

專利號(hào)
US11176333B2
公開日期
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ō)明書

The first layer of those layers receives the set of neighbor nodes for the given node and processes to generate an output for the given node. The next layer receives the processing results generated by the previous layer for the set of neighbor nodes and processes to generate a further output for the given node. The output of the last layer designed for the graph convolution operation may be the word representation 528 for the given node. By stacking more than one layer (assuming K layers), the word representation 528 may contain information from its K-hop neighbors.

Each of the layers may apply an aggregation function on its input and sometimes such a layer may be referred to as a graph aggregation layer. In some embodiments, the processing for two or more given nodes in the sentence graph 512 may be performed in parallel by the graph aggregation layers. That is, multiple same graph aggregation layers may be configured for the respective nodes to perform their graph convolution operations in parallel.

In some embodiments, the sentence representation generation module 530 is configured to generate the sentence representation 412 based on the word representations 528 determined for all the words in the sentence 402. The sentence representation generation module 530 may be implemented as an output layer in the GNN. Thus, the graph convolution module 526 and the sentence representation generation module 530 may consist of a GNN.

權(quán)利要求

1
微信群二維碼
意見反饋