Open Access
ARTICLE
Deep Learning-Based NLP Framework for Public Sentiment Analysis on Green Consumption: Evidence from Social Media
1 College of Economics and Management, Nanjing Forestry University, Nanjing, 210037, China
2 School of Information and Communication Engineering, Beijing University of Posts and Telecommunications, Beijing, 100876, China
* Corresponding Authors: Luyu Ma. Email: ; Xiu Cheng. Email:
Computers, Materials & Continua 2025, 85(2), 3921-3943. https://doi.org/10.32604/cmc.2025.067786
Received 12 May 2025; Accepted 11 August 2025; Issue published 23 September 2025
Abstract
Green consumption (GC) are crucial for achieving the Sustainable Development Goals (SDGs). However, few studies have explored public attitudes toward GC using social media data, missing potential public concerns captured through big data. To address this gap, this study collects and analyzes public attention toward GC using web crawler technology. Based on the data from Sina Weibo, we applied RoBERTa, an advanced NLP model based on transformer architecture, to conduct fine-grained sentiment analysis of the public’s attention, attitudes and hot topics on GC, demonstrating the potential of deep learning methods in capturing dynamic and contextual emotional shifts across time and regions. Among the sample (N = 188,509), 53.91% expressed a positive attitude, with variation across different times and regions. Temporally, public interest in GC has shown an annual growth rate of 30.23%, gradually shifting from fulfilling basic needs to prioritizing entertainment consumption. Spatially, GC is most prevalent in the southeast coastal regions of China, with Beijing ranking first across five evaluated domains. Individuals and government-affiliated accounts play a key role in public discussions on social networks, accounting for 45.89% and 30.01% of user reviews, respectively. A significant positive correlation exists between economic development and public attention to GC, as indicated by a Pearson correlation coefficient of 0.55. Companies, in particular, exhibit cautious behavior in the early stages of green product adoption, prioritizing profitability before making substantial investments. These findings provide valuable insights into the evolving public perception of GC, contributing to the development of more effective environmental policies in China.Keywords
Cite This Article
Copyright © 2025 The Author(s). Published by Tech Science Press.This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Submit a Paper
Propose a Special lssue
View Full Text
Download PDF
Downloads
Citation Tools