首页> 外国专利> METHOD AND SYSTEM FOR ASPECT-LEVEL SENTIMENT CLASSIFICATION BY GRAPH DIFFUSION TRANSFORMER

METHOD AND SYSTEM FOR ASPECT-LEVEL SENTIMENT CLASSIFICATION BY GRAPH DIFFUSION TRANSFORMER

机译:基于图扩散变换的方面级情感分类方法与系统

摘要

System and method for aspect-level sentiment classification. The system includes a computing device, the computing device has a processer and a storage device storing computer executable code. The computer executable code is configured to: receive a sentence having a labeled aspect term and context; convert the sentence into a dependency tree graph; calculate an attention matrix of the dependency tree graph based on one-hop attention between any two nodes of the graph; calculate multi-head attention diffusion for any two nodes from the attention matrix; obtain updated embedding of the graph using the multi-head diffusion attention; classify the aspect term based on the updated embedding of the graph to obtain predicted classification of the aspect term; calculate loss function based on the predicted classification and the ground truth label of the aspect term; and adjust parameters of models in the computer executable code based on the loss function.
机译:用于方面级情绪分类的系统和方法。该系统包括计算设备,该计算设备具有处理器和存储计算机可执行代码的存储设备。计算机可执行代码被配置为:接收具有标记的方面术语和上下文的句子;将句子转换成依赖树图;基于依赖树图的任意两个节点之间的一跳注意,计算依赖树图的注意矩阵;从注意矩阵计算任意两个节点的多头注意扩散;使用多头扩散注意获得图的更新嵌入;基于图的更新嵌入对纵横项进行分类,以获得纵横项的预测分类;根据预测分类和纵横比项的地面真值标签计算损失函数;并根据损失函数调整计算机可执行代码中的模型参数。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号