The invention relates to the technical field of
sentiment analysis, and provides an aspect-level sentiment triple extraction method based on a
diffusion model. The method aims at solving the problem that in an existing
generative model, only generation of a single word is concerned during autoregression decoding, and the ability of the model to utilize overall
semantics when the model processes multi-word aspect / opinion terms is limited, the method is based on a non-autoregression
diffusion model framework, an aspect-level emotion triple task is defined as a boundary
diffusion denoising process, and an aspect-level emotion triple task is defined as a boundary diffusion denoising process. According to the method, boundary indexes are directly modeled, boundaries in a
noise state are gradually refined and dynamically adjusted according to comprehensive context information, and a contrast denoising training strategy is introduced, so that repeated prediction with subtle changes introduced in a diffusion process is effectively relieved, and aspect-level emotion triple extraction performance is improved. The method is used for
sentiment analysis, and especially when the method is used for
processing user sentiment expression on
social media and an online comment platform, sentiment information in a text can be mined more meticulously, and reference is provided for
product optimization and enterprise
decision making.