Global warming is a critical issue today, largely due to the widespread use of fossil fuels in everyday life. One promising solution to reduce reliance on conventional energy sources is to promote the use of renewable power. In particular, to encourage the use of renewable energy in industrial sectors which involve development and manufacture of the industrial artifacts, there is continuous demand for tracing energy sources within the production processes. However, given a sophisticated industrial product that involves diverse and extensive components and their suppliers, the traceability analysis across its production is a critical challenge for ensuring the full utilization of renewable energy. To alleviate this issue, this paper presents a functional framework to support tracing the usage of renewable energy by integrating the Large Language Models (LLMs) and logic programming across supply chain networks. Specifically, the proposed framework contains the following components: (1) adopting graph-based models to process and manage the extensive information within supply chain networks; (2) using the Retrieval-Augmented Generation (RAG) techniques to support the LLM for processing the information related to supply chain networks and generating relevant responses with structured representations; and (3) presenting a logic programming-based solution to support the traceability analysis of renewable energy regarding the responses from the LLM. As a case study, we use a public dataset to evaluate the proposed framework by comparing it to the RAG-based LLM and its variant. Compared to baseline methods solely relying on LLMs, the experiments show that the proposed framework achieves significant improvement.
Modern companies often rely on integrating an extensive network of suppliers to organize and produce industrial artifacts. Within this process, it is critical to maintain sustainability and flexibility by analyzing and managing information from the supply chain. In particular, there is a continuous demand to automatically analyze and infer information from extensive datasets structured in various forms, such as natural language and domain-specific models. The advancement of Large Language Models (LLM) presents a promising solution to address this challenge. By leveraging prompts that contain the necessary information provided by humans, LLM can generate insightful responses through analysis and reasoning over the provided content. However, the quality of these responses is still affected by the inherent opaqueness of LLM, stemming from their complex architectures, thus weakening their trustworthiness and limiting their applicability across different fields. To address this issue, this work presents a framework to leverage the graph-based LLM to support the analysis of supply chain information by combining the LLM and domain knowledge. Specifically, this work proposes an integration of LLM and domain knowledge to support an analysis of the supply chain as follows: (1) constructing a graph-based knowledge base to describe and model the domain knowledge; (2) creating prompts to support the retrieval of the graph-based models and guide the generation of LLM; (3) generating responses via LLM to support the analysis and reason about information across the supply chain. We demonstrate the proposed framework in the tasks of entity classification, link prediction, and reasoning across entities. Compared to the average performance of the best methods in the comparative studies, the proposed framework achieves a significant improvement of 59%, increasing the ROUGE-1 F1 score from 0.42 to 0.67.