Method and system for aspect-level sentiment classification by graph diffusion transformer
US11868730B2 · kind B2 · utility
Assignees
Inventors
Key dates
| Filing date | May 24, 2021 |
| Grant date | Jan 9, 2024 |
| Priority date | — |
| Expiry date | Apr 12, 2042 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F40/279
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.