IDEAS home Printed from https://ideas.repec.org/a/eee/ecanpo/v88y2025icp2012-2030.html

Exploring public discourse on green hydrogen via YouTube comments: A comparative sentiment analysis using VADER and ChatGPT

Author

Listed:
  • Giganti, Patrizio
  • Errichiello, Grazia
  • Falcone, Pasquale Marcello

Abstract

This study investigates public attitudes toward green hydrogen (GH) by analyzing YouTube comments through sentiment analysis and topic modelling. Unlike previous research that situates hydrogen within broader climate or energy debates and focuses on platforms such as Twitter or Bilibili, this work examines GH as a standalone topic and leverages YouTube’s longer, context-rich comments to capture richer public discourse. Comments were collected via the YouTube API (Application Programming Interface) from a curated set of videos and analyzed for sentiment using both the rule-based VADER (Valence Aware Dictionary and sEntiment Reasoner) and the generative model ChatGPT-3.5, enabling a qualitative comparison of their performance. Latent Dirichlet Allocation (LDA) was then applied to identify major discussion themes, which were subsequently linked to sentiment trends. The results indicate that ChatGPT-3.5 outperforms VADER in interpreting sarcasm, slang, emoticons, and mixed sentiments. Topic modelling revealed eight key themes, including skepticism about institutional barriers and costs, optimism regarding GH’s role in hard-to-decarbonize sectors, comparisons with nuclear energy and electric vehicles, and concerns about environmental and technical challenges. Overall, the study enhances understanding of online public discourse on GH by demonstrating how advanced sentiment analysis tools, combined with topic modelling, can generate deeper insights to inform strategies that better integrate public perceptions with the economic and policy conditions of GH deployment.

Suggested Citation

  • Giganti, Patrizio & Errichiello, Grazia & Falcone, Pasquale Marcello, 2025. "Exploring public discourse on green hydrogen via YouTube comments: A comparative sentiment analysis using VADER and ChatGPT," Economic Analysis and Policy, Elsevier, vol. 88(C), pages 2012-2030.
  • Handle: RePEc:eee:ecanpo:v:88:y:2025:i:c:p:2012-2030
    DOI: 10.1016/j.eap.2025.11.014
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0313592625004631
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.eap.2025.11.014?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Boyang Chen & Zongxiao Wu & Ruoran Zhao, 2023. "From fiction to fact: the growing role of generative AI in business and finance," Journal of Chinese Economic and Business Studies, Taylor & Francis Journals, vol. 21(4), pages 471-496, October.
    2. Blanco, Elena C. & Sánchez, Antonio & Martín, Mariano & Vega, Pastora, 2023. "Methanol and ammonia as emerging green fuels: Evaluation of a new power generation paradigm," Renewable and Sustainable Energy Reviews, Elsevier, vol. 175(C).
    3. Wild, Phillip & Skoufa, Lucas & Spencer, Nancy, 2024. "Renewable hydrogen requirements and impacts for network balancing: A Queensland case study," Economic Analysis and Policy, Elsevier, vol. 81(C), pages 452-469.
    4. Gordon, Joel A. & Balta-Ozkan, Nazmiye & Nabavi, Seyed Ali, 2022. "Homes of the future: Unpacking public perceptions to power the domestic hydrogen transition," Renewable and Sustainable Energy Reviews, Elsevier, vol. 164(C).
    5. Bogdzinski, Heidi & Sergio, Ivan & Wedemeier, Jan, 2025. "Unveiling the impact of green energy on green productivity: A focus on hydrogen and the green transition in European regions," Economic Analysis and Policy, Elsevier, vol. 86(C), pages 1064-1082.
    6. Grimmer, Justin, 2011. "An Introduction to Bayesian Inference via Variational Approximations," Political Analysis, Cambridge University Press, vol. 19(1), pages 32-47, January.
    7. Lefeng, Shi & Shengnan, Lv & Chunxiu, Liu & Yue, Zhou & Cipcigan, Liana & Acker, Thomas L., 2020. "A framework for electric vehicle power supply chain development," Utilities Policy, Elsevier, vol. 64(C).
    8. Ye, Tuo & Zhao, Songyu & Lau, Chi Keung Marco & Chau, Frankie, 2024. "Social media sentiment of hydrogen fuel cell vehicles in China: Evidence from artificial intelligence algorithms," Energy Economics, Elsevier, vol. 133(C).
    9. Ioana Iacob & M. Granger Morgan, 2023. "Public perceptions of hydrogen hubs in Southwestern Pennsylvania," Journal of Risk Research, Taylor & Francis Journals, vol. 26(11), pages 1283-1298, November.
    10. Weismayer, Christian & Gunter, Ulrich & Önder, Irem, 2021. "Temporal variability of emotions in social media posts," Technological Forecasting and Social Change, Elsevier, vol. 167(C).
    11. Steve Westlake & Conor H. D. John & Emily Cox, 2023. "Perception spillover from fracking onto public perceptions of novel energy technologies," Nature Energy, Nature, vol. 8(2), pages 149-158, February.
    12. Tran, Trang & Nong, Duy & Verikios, George & Marcos-Martinez, Ray & Lu, Yingying & Schandl, Heinz, 2025. "Newly updated nationally determined contributions: Implications for the global energy transition," Economic Analysis and Policy, Elsevier, vol. 85(C), pages 1816-1829.
    13. Giganti, Patrizio & Barra, Cristian & Falcone, Pasquale Marcello, 2025. "Unveiling the nexus of institutional quality and renewable energy utilizing a Topic Modelling approach," Renewable and Sustainable Energy Reviews, Elsevier, vol. 214(C).
    14. Han, Di & Guo, Wei & Chen, Han & Wang, Bocheng & Guo, Zikun, 2024. "LEST: Large language models and spatio-temporal data analysis for enhanced Sino-US exchange rate forecasting," International Review of Economics & Finance, Elsevier, vol. 96(PA).
    15. Min-Ki Hyun & Hong-Su Ahn & Seung-Hoon Yoo, 2024. "Which Is Preferred between Electric or Hydrogen Cars for Carbon Neutrality in the Commercial Vehicle Transportation Sector of South Korea? Implications from a Public Opinion Survey," Energies, MDPI, vol. 17(5), pages 1-16, February.
    16. Buah, Eric & Linnanen, Lassi & Wu, Huapeng, 2020. "Emotional responses to energy projects: A new method for modeling and prediction beyond self-reported emotion measure," Energy, Elsevier, vol. 190(C).
    17. Hickson, Allister & Phillips, Al & Morales, Gene, 2007. "Public perception related to a hydrogen hybrid internal combustion engine transit bus demonstration and hydrogen fuel," Energy Policy, Elsevier, vol. 35(4), pages 2249-2255, April.
    18. Jan Ole Krugmann & Jochen Hartmann, 2024. "Sentiment Analysis in the Age of Generative AI," Customer Needs and Solutions, Springer;Institute for Sustainable Innovation and Growth (iSIG), vol. 11(1), pages 1-19, December.
    19. Su, Chi Wei & Liu, Fangying & Stefea, Petru & Umar, Muhammad, 2023. "Does technology innovation help to achieve carbon neutrality?," Economic Analysis and Policy, Elsevier, vol. 78(C), pages 1-14.
    20. Susana Álvarez-Díez & J. Samuel Baixauli-Soler & Anna Kondratenko & Gabriel Lozano-Reina, 2024. "Dividend announcement and the value of sentiment analysis," Journal of Management Analytics, Taylor & Francis Journals, vol. 11(2), pages 161-181, April.
    21. Gordon, Joel A. & Balta-Ozkan, Nazmiye & Nabavi, Seyed Ali, 2023. "Socio-technical barriers to domestic hydrogen futures: Repurposing pipelines, policies, and public perceptions," Applied Energy, Elsevier, vol. 336(C).
    22. Pashchenko, Dmitry, 2024. "Green hydrogen as a power plant fuel: What is energy efficiency from production to utilization?," Renewable Energy, Elsevier, vol. 223(C).
    23. Behling, Noriko & Williams, Mark C. & Managi, Shunsuke, 2015. "Fuel cells and the hydrogen revolution: Analysis of a strategic plan in Japan," Economic Analysis and Policy, Elsevier, vol. 48(C), pages 204-221.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gordon, Joel A. & Balta-Ozkan, Nazmiye & Nabavi, Seyed Ali, 2023. "Price promises, trust deficits and energy justice: Public perceptions of hydrogen homes," Renewable and Sustainable Energy Reviews, Elsevier, vol. 188(C).
    2. Ren, Jeana T., 2025. "Harnessing public sentiment: A literature review of sentiment analysis in energy research," Renewable and Sustainable Energy Reviews, Elsevier, vol. 219(C).
    3. Julian Junyan Wang & Victor Xiaoqi Wang, 2025. "Assessing Consistency and Reproducibility in the Outputs of Large Language Models: Evidence Across Diverse Finance and Accounting Tasks," Papers 2503.16974, arXiv.org, revised Sep 2025.
    4. Dong, Mengming Michael & Stratopoulos, Theophanis C. & Wang, Victor Xiaoqi, 2024. "A scoping review of ChatGPT research in accounting and finance," International Journal of Accounting Information Systems, Elsevier, vol. 55(C).
    5. Tomasz Trawiński & Janusz Kotowicz, 2025. "Photovoltaic Power System with Electrochemical and Hydrogen Storage for Energy Independence in Student Dormitories," Energies, MDPI, vol. 18(7), pages 1-19, March.
    6. Sun, Yanpeng & Song, Yuru & Long, Chi & Qin, Meng & Lobonţ, Oana-Ramona, 2023. "How to improve global environmental governance? Lessons learned from climate risk and climate policy uncertainty," Economic Analysis and Policy, Elsevier, vol. 80(C), pages 1666-1676.
    7. Boulanouar, Zakaria & Essid, Lobna & Omri, Anis, 2024. "Achieving carbon neutrality in emerging markets: The dual impact of energy transition investments on economic growth and carbon emissions," International Review of Economics & Finance, Elsevier, vol. 96(PC).
    8. Pashakolaie, Vahid Ghorbani & Gudlaugsson, Bjarnhedinn & Ahmed, Tariq G., 2026. "From investment to impact: Exploring socio-economic prospect of hydrogen investment in Tees Valley, UK," Socio-Economic Planning Sciences, Elsevier, vol. 103(C).
    9. Abdulrahman Joubi & Yutaro Akimoto & Keiichi Okajima, 2022. "A Production and Delivery Model of Hydrogen from Solar Thermal Energy in the United Arab Emirates," Energies, MDPI, vol. 15(11), pages 1-14, May.
    10. Hongyu Chen & Jiachen Peng & Lufei Huang, 2025. "AIGC Technology in the Fintech Sector: An Analysis of Theme Evolution Based on the BERTopic Model," SAGE Open, , vol. 15(4), pages 21582440251, November.
    11. Bossink, Bart A.G., 2017. "Demonstrating sustainable energy: A review based model of sustainable energy demonstration projects," Renewable and Sustainable Energy Reviews, Elsevier, vol. 77(C), pages 1349-1362.
    12. Li, Biao & Xie, Bai-Chen & Yu, Xiao-Chen & She, Zhen-Yu & Hu, Wenhao, 2025. "Does the incentive policy for renewable energy grid connection affect the technical efficiency of power grid companies? Empirical analysis based on China and Japan," Economic Analysis and Policy, Elsevier, vol. 85(C), pages 28-47.
    13. Rezaei, Mostafa & Akimov, Alexandr & Gray, Evan MacA., 2024. "Techno-economics of renewable hydrogen export: A case study for Australia-Japan," Applied Energy, Elsevier, vol. 374(C).
    14. Balu, J. & Sreejith, R. & Sinimole, K.R., 2026. "Thinking fast and slow in film reception: Cognitive spillover of consumer emotions across digital platforms," Journal of Retailing and Consumer Services, Elsevier, vol. 88(C).
    15. Wen Chen & Changyi Zhu & Qi Cheung & Siying Wu & Jun Zhang & Jia Cao, 2024. "How does digitization enable green innovation? Evidence from Chinese listed companies," Business Strategy and the Environment, Wiley Blackwell, vol. 33(5), pages 3832-3854, July.
    16. Maketo, Lydia & Ashworth, Peta, 2025. "Social acceptance of green hydrogen in European Union and the United Kingdom: A systematic review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 218(C).
    17. Sahebi, Iman Ghasemian & Masoomi, Behzad & Gholian-Jouybari, Fatemeh & Hajiaghaei-Keshteli, Mostafa, 2025. "Overcoming challenges in the path to a hydrogen economy for energy supply chain transition," Applied Energy, Elsevier, vol. 393(C).
    18. Si Huang & Yinping Li & Xilin Shi & Weizheng Bai & Yashuai Huang & Yang Hong & Xiaoyi Liu & Hongling Ma & Peng Li & Mingnan Xu & Tianfu Xue, 2024. "The Role of Underground Salt Caverns in Renewable Energy Peaking: A Review," Energies, MDPI, vol. 17(23), pages 1-23, November.
    19. Jiao, Lei & Zhou, Dongjie & Xu, Runguo, 2024. "Resource dynamics and economic expansion: Unveiling the asymmetric effects of natural resources and FDI on economic growth with a lens on energy efficiency," Resources Policy, Elsevier, vol. 89(C).
    20. M. S. Hossain & Laveet Kumar & Mamdouh El Haj Assad & Reza Alayi, 2022. "Advancements and Future Prospects of Electric Vehicle Technologies: A Comprehensive Review," Complexity, John Wiley & Sons, vol. 2022(1).

    More about this item

    Keywords

    ;
    ;
    ;

    JEL classification:

    • Q42 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Energy - - - Alternative Energy Sources
    • Q54 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Environmental Economics - - - Climate; Natural Disasters and their Management; Global Warming
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:ecanpo:v:88:y:2025:i:c:p:2012-2030. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/economic-analysis-and-policy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.