计算机科学
图形
判决
解析
依赖关系(UML)
人工智能
依赖关系图
自然语言处理
理论计算机科学
作者
Yuan Li,Jin Wang,Liang-Chih Yu,Xuejie Zhang
出处
期刊:IEEE transactions on artificial intelligence
[Institute of Electrical and Electronics Engineers]
日期:2022-01-01
卷期号:: 1-15
被引量:3
标识
DOI:10.1109/tai.2022.3227535
摘要
Aspect-level sentiment classification (ASC) is designed to identify the sentiment orientation of given aspect terms in a sentence. Previous neural networks have used attention mechanisms to align context words with the appropriate aspect terms. Without considering syntactic dependencies, these models may erroneously focus on context words that are not related to the aspect terms. To address this issue, the graph convolution network (GCN) and the graph attention network (GAT) are proposed to build a graph based on the dependency parse tree, allowing the representations of context words to be propagated to the aspect terms according to their syntactic dependencies. However, these models consider all syntactic dependencies to be of the same type, and thus may result in inappropriate propagation of word representations in the graph. To further distinguish between the syntactic dependencies, this study proposes a syntactic graph attention network (SGAN) to incorporate the knowledge of dependency types into the graph attention network. The dependency types are modeled as edge embeddings to learn the attention weight of each edge according to its dependency type. By considering different dependency types and their weights, the proposed method can block inappropriate propagation to better associate the context words to aspect terms. To increase training process stability and enrich the diversity of graph representations, a weighted multihead attention is applied to compose the graph representations generated by different heads. The experimental results on five benchmark datasets show that the SGAN yields more accurate results than existing methods.
科研通智能强力驱动
Strongly Powered by AbleSci AI