• 轻量级方面情感三元组提取模型

    Lightweight aspect sentiment triplet extraction model

    • 针对现有方面情感三元组提取方法中,流水线策略因多阶段划分导致计算冗余,端到端联合抽取策略因复杂标记设计引发资源消耗大与计算效率低下的问题,提出一种基于三元组损失的轻量级方面情感三元组提取方法(BTLL-ASTE)。该方法首先通过文本编码器获取句子的上下文语义特征,并引入BiGRU模块进一步增强特征的判别能力,分别输入至联合损失函数组件(Triplet Joint Loss, TJL)和网格标记组件(Grid TaggingStrategy, GTS)。在TJL与GTS中,应用层归一化促进方面词与观点词特征的深层交互,同时引入权重平衡因子,以损失最小化为导向,加大对稀疏类别的惩罚力度,有效缓解类别不平衡问题,从而优化模型训练并提升解码器输入质量。最终,解码器结合优化后的模型与预定义语义规则,输出完整的情感三元组。在4个公开数据集上的对比实验结果表明:该方法在精确率指标上平均提升2.89%,验证了其在降低资源消耗和提升提取精度方面的有效性。

       

      Abstract: To address the computational redundancy caused by multi-stage partitioning in pipeline strategies and the high resource consumption and low computational efficiency resulting from complex tagging designs in end-to-end joint extraction strategies for aspect sentiment triplet extraction, this paper proposes a lightweight method based on triplet loss, termed BTLL-ASTE (Based Triplet Loss Lightweight Grid Tagging Scheme Aspect Sentiment Triplet Extraction). In this method, a text encoder is first employed to obtain contextual semantic features of sentences, and a BiGRU module is further introduced to enhance the discriminative power of these features. The enhanced features are then fed into both the triplet joint loss (TJL) component and the grid tagging strategy (GTS) component. Within the TJL and GTS components, layer normalization is applied to facilitate deep interaction between aspect and opinion features. Meanwhile, a weight balancing factor is incorporated to increase the penalty on sparse categories, thereby effectively alleviating the class imbalance problem and optimizing model training to improve the quality of inputs to the decoder. Finally, the decoder combines the optimized model with predefined semantic rules to output complete aspect sentiment triplets. Comparative experimental results on four public datasets demonstrate that the proposed method achieves an average improvement of 2.89% in precision, verifying its effectiveness in reducing resource consumption and enhancing extraction accuracy.

       

    /

    返回文章
    返回