Sort:
Issue
Aspect-based sentiment analysis of grape e-commerce reviews with dynamic prompting and tri-dimensional information fusion
Transactions of the Chinese Society of Agricultural Engineering 2026, 42(2): 370-381
Published: 30 January 2026
Abstract PDF (831.7 KB) Collect
Downloads:1

aspect-based sentiment analysis (ABSA) is one of the most critical tasks in natural language processing (NLP). The sentiment information can be extracted from the text in order to identify the aspect terms, opinion terms, and their sentiment polarities. Conventional ABSA models can focus mainly on the scenarios where the aspect terms are explicitly mentioned in review sentences. However, the significant limitations are confined to the implicit aspect terms, even though the relevant opinion terms can convey the sentiment toward unstated aspects. Furthermore, the opinion terms can often contain implicit feature information about the aspects. There are also domain-specific linguistic patterns in the specialized contexts, such as the grape e-commerce reviews. Some additional challenges have posed on the model's comprehension of the sentences. In this study, an advanced ABSA model, termed DMP-BTL-DA, was proposed to integrate a pre-trained language model (BERT) with a Dual-Encoding Layer, a Dual-Channel Attention mechanism, a Dynamic Prompt Layer, and a Conditional Random Field (CRF) layer. The architecture was specifically designed to capture the implicit aspect-opinion relationships and domain-specific sentiment expressions in the grape e-commerce reviews. The BERT was selected as the embedding layer to generate the contextualized word representations, particularly for robust semantic encoding. The Dual-Encoding Layer, composed of a 1D convolutional neural network (CNN) and a Recurrent Convolutional Neural Network (RCNN), was used to extract both local and global sequential features. The Dual-Channel Attention mechanism was combined with the standard attention and linear attention in order to fuse the contextual features, thus facilitating the progressive transmission of the three-dimensional sentiment information (aspect, opinion, and polarity). The mechanism was explicitly simulated to show the relationships among implicit aspect terms, opinion terms, and their sentiment polarities. To further enhance the domain adaptability, the Dynamic Prompt Layer was constructed into the customized prompt templates for the different review sentences, thereby incorporating the domain-specific knowledge (e.g., grape-related attributes like taste, quality, price, and packaging). The implicit aspects and their sentiments were recognized to improve the performance in the e-commerce grape review domain. Finally, the CRF layer was used to optimize the sequence labeling for the aspect and opinion term extraction, in order to realize the coherent and contextually appropriate predictions. A dataset of 18 984 Chinese grape e-commerce reviews was annotated with the aspect terms, opinion terms, and sentiment polarities. Experimental results demonstrate that the DMP-BTL-DA model achieved optimal performance, particularly in the ABSA task of Chinese grape e-commerce reviews. Precision values of 86.3%, 86.4%, and 83.4% were found for the aspect term extraction, opinion term extraction, and sentiment polarity classification, respectively; Recall values of 92.5%, 90.1%, and 89.4%; and F1 scores of 89.3%, 87.3%, and 86.3%. Additionally, several key insights into consumer sentiment trends were observed in the grape e-commerce. Taste and quality were the most frequently mentioned aspects, thereby reflecting the consumer priorities. Positive sentiments were strongly associated with the mentions of the taste, price, cost-performance, transportation, and packaging, thus fully meeting these attributes. Negative sentiments predominantly arose about quality or weight issues, indicating enhanced customer satisfaction. Some insights were gained for the e-commerce platforms and grape sellers, in order to optimize the product descriptions, logistics, and quality control. Moreover, the implicit aspects and domain-specific expressions greatly contributed to the broader field of agricultural product e-commerce, particularly to the data-driven decision-making on the market strategy refinement. In summary, the ABSA was realized on the implicit aspect recognition and domain adaptation in the e-commerce reviews. The DMP-BTL-DA model improved the sentiment accuracy for the consumer sentiment patterns. The finding can offer valuable data support for the theoretical research and practical applications in agricultural e-commerce.

Issue
Chinese Kiwifruit Text Named Entity Recognition Method Based on Dual-Dimensional Information and Pruning
Smart Agriculture 2025, 7(1): 44-56
Published: 01 January 2025
Abstract PDF (1.8 MB) Collect
Downloads:62
Objective

Chinese kiwifruit texts exhibit unique dual-dimensional characteristics. The cross-paragraph dependency is complex semantic structure, whitch makes it challenging to capture the full contextual relationships of entities within a single paragraph, necessitating models capable of robust cross-paragraph semantic extraction to comprehend entity linkages at a global level. However, most existing models rely heavily on local contextual information and struggle to process long-distance dependencies, thereby reducing recognition accuracy. Furthermore, Chinese kiwifruit texts often contain highly nested entities. This nesting and combination increase the complexity of grammatical and semantic relationships, making entity recognition more difficult. To address these challenges, a novel named entity recognition (NER) method, KIWI-Coord-Prune(kiwifruit-CoordKIWINER-PruneBi-LSTM) was proposed in this research, which incorporated dual-dimensional information processing and pruning techniques to improve recognition accuracy.

Methods

The proposed KIWI-Coord-Prune model consisted of a character embedding layer, a CoordKIWINER layer, a PruneBiLSTM layer, a self-attention mechanism, and a CRF decoding layer, enabling effective entity recognition after processing input character vectors. The CoordKIWINER and PruneBi-LSTM modules were specifically designed to handle the dual-dimensional features in Chinese kiwifruit texts. The CoordKIWINER module applied adaptive average pooling in two directions on the input feature maps and utilized convolution operations to separate the extracted features into vertical and horizontal branches. The horizontal and vertical features were then independently extracted using the Criss-Cross Attention (CCNet) mechanism and Coordinate Attention (CoordAtt) mechanism, respectively. This module significantly enhanced the model's ability to capture cross-paragraph relationships and nested entity structures, thereby generating enriched character vectors containing more contextual information, which improved the overall representation capability and robustness of the model. The PruneBi-LSTM module was built upon the enhanced dual-dimensional vector representations and introduced a pruning strategy into Bi-LSTM to effectively reduce redundant parameters associated with background descriptions and irrelevant terms. This pruning mechanism not only enhanced computational efficiency while maintaining the dynamic sequence modeling capability of Bi-LSTM but also improved inference speed. Additionally, a dynamic feature extraction strategy was employed to reduce the computational complexity of vector sequences and further strengthen the learning capacity for key features, leading to improved recognition of complex entities in kiwifruit texts. Furthermore, the pruned weight matrices become sparser, significantly reducing memory consumption. This made the model more efficient in handling large-scale agricultural text-processing tasks, minimizing redundant information while achieving higher inference and training efficiency with fewer computational resources.

Results and Discussions

Experiments were conducted on the self-built KIWIPRO dataset and four public datasets: People's Daily, ClueNER, Boson, and ResumeNER. The proposed model was compared with five advanced NER models: LSTM, Bi-LSTM, LR-CNN, Softlexicon-LSTM, and KIWINER. The experimental results showed that KIWI-Coord-Prune achieved F1-Scores of 89.55%, 91.02%, 83.50%, 83.49%, and 95.81%, respectively, outperforming all baseline models. Furthermore, controlled variable experiments were conducted to compare and ablate the CoordKIWINER and PruneBi-LSTM modules across the five datasets, confirming their effectiveness and necessity. Additionally, the impact of different design choices was explored for the CoordKIWINER module, including direct fusion, optimized attention mechanism fusion, and network structure adjustment residual optimization. The experimental results demonstrated that the optimized attention mechanism fusion method yielded the best performance, which was ultimately adopted in the final model. These findings highlight the significance of properly designing attention mechanisms to extract dual-dimensional features for NER tasks. Compared to existing methods, the KIWI-Coord-Prune model effectively addressed the issue of underutilized dual-dimensional information in Chinese kiwifruit texts. It significantly improved entity recognition performance for both overall text structures and individual entity categories. Furthermore, the model exhibited a degree of generalization capability, making it applicable to downstream tasks such as knowledge graph construction and question-answering systems.

Conclusions

This study presents an novel NER approach for Chinese kiwifruit texts, which integrating dual-dimensional information extraction and pruning techniques to overcome challenges related to cross-paragraph dependencies and nested entity structures. The findings offer valuable insights for researchers working on domain-specific NER and contribute to the advancement of agriculture-focused natural language processing applications. However, two key limitations remain: 1) The balance between domain-specific optimization and cross-domain generalization requires further investigation, as the model's adaptability to non-agricultural texts has yet to be empirically validated; 2) the multilingual applicability of the model is currently limited, necessitating further expansion to accommodate multilingual scenarios. Future research should focus on two key directions: 1) Enhancing domain robustness and cross-lingual adaptability by incorporating diverse textual datasets and leveraging pre-trained multilingual models to improve generalization, and 2) Validating the model's performance in multilingual environments through transfer learning while refining linguistic adaptation strategies to further optimize recognition accuracy.

Total 2