Open Access Open Access  Restricted Access Subscription Access

doi:10.3808/jei.202600562
Copyright © 2026 ISEIS. All rights reserved

Carbon Footprint Accounting Driven by Large Language Models and Retrieval-Augmented Generation

H. J. Wang1*, M. R. Zhang1, Z. Chen1, N. Shang4, Y. M. Zhang2, S. H. Yao1, F. S. Wen3, and J. H. Zhao4

  1. China Southern Power Grid Co., Ltd. (CSG), Energy Development Research Institute, Guangdong 510663, China
  2. College of Environmental Science and Engineering, North China Electric Power University, Beijing 102206, China
  3. Department of Electrical Engineering, Zhejiang University, Hangzhou 310058, China
  4. School of Science and Engineering, The Chinese University of Hong Kong, Shenzhen, Shenzhen 518172, China

*Corresponding author. Tel.: + 086 19866688626. E-mail address: wanghj@csg.cn (H. J. Wang).

Abstract


Carbon footprint accounting (CFA) is critical for decarbonization efforts but remains constrained by static databases, fragmented data sources, and labor-intensive expert workflows. Conventional life cycle assessment (LCA) methods struggle to adapt to dynamic production changes, policy updates, and enterprise-specific data privacy requirements. While large language models (LLMs) offer promising automation capabilities, no practical frameworks currently exist for fully automated CFA; directly applying LLMs introduces limitations such as weak factual grounding, poor responsiveness, high inference costs, and insufficient handling of confidential data. To address these gaps, this paper proposes LLMs-RAG-CFA, a unified framework that combines large language models with retrieval-augmented generation (RAG) to deliver real-time, reliable, cost-efficient, and privacy-preserving CFA. The system incorporates semantic segmentation, top-k domain-specific fragment retrieval, uncertainty-aware and input-length-aware prompt construction strategies to optimize real-time professional coverage, reduce uncertainty and reduce token consumption. Interval-based uncertainty metrics are designed to quantify retrievaland accounting-stage uncertainty, supporting more interpretable and trustworthy carbon assessments. Extensive experiments across five carbon-intensive industries (primary aluminum, lithium batteries, photovoltaics, new energy vehicles, and transformers) demonstrate that LLMs-RAG-CFA consistently outperforms baseline CFA workflows by achieving higher retrieval completeness, lower information deviation, and lower accounting deviation. A complete set of analysis covering real-time adaptability, cost trade-offs, and privacy handling further supports its practical viability. This framework offers a scalable, practical pathway for real-time carbon emission monitoring and supports improved sustainability practices.

Keywords: information retrieval, large language models, life cycle assessment, real-time carbon footprint accounting, retrieval-augmented generation, sustainability


Full Text:

pdf

Supplementary Files:

Refbacks

  • There are currently no refbacks.