Open Access iconOpen Access

ARTICLE

Deep Learning-Based NLP Framework for Public Sentiment Analysis on Green Consumption: Evidence from Social Media

Luyu Ma1,*, Xiu Cheng1,*, Zongyan Xing1, Yue Wu1, Weiwei Jiang2

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: email; Xiu Cheng. Email: email

Computers, Materials & Continua 2025, 85(2), 3921-3943. https://doi.org/10.32604/cmc.2025.067786

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

Green-consumption; RoBERTa; web crawler; text sentiment analysis; stakeholder

Cite This Article

APA Style
Ma, L., Cheng, X., Xing, Z., Wu, Y., Jiang, W. (2025). Deep Learning-Based NLP Framework for Public Sentiment Analysis on Green Consumption: Evidence from Social Media. Computers, Materials & Continua, 85(2), 3921–3943. https://doi.org/10.32604/cmc.2025.067786
Vancouver Style
Ma L, Cheng X, Xing Z, Wu Y, Jiang W. Deep Learning-Based NLP Framework for Public Sentiment Analysis on Green Consumption: Evidence from Social Media. Comput Mater Contin. 2025;85(2):3921–3943. https://doi.org/10.32604/cmc.2025.067786
IEEE Style
L. Ma, X. Cheng, Z. Xing, Y. Wu, and W. Jiang, “Deep Learning-Based NLP Framework for Public Sentiment Analysis on Green Consumption: Evidence from Social Media,” Comput. Mater. Contin., vol. 85, no. 2, pp. 3921–3943, 2025. https://doi.org/10.32604/cmc.2025.067786



cc 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.
  • 1054

    View

  • 506

    Download

  • 0

    Like

Share Link