A Graph-based RAG for Energy Efficiency Question Answering
Jun 30, 2025·
,,,,·
0 min read
Riccardo Campi
Nicolò Pinciroli
Mathyas Giudici
Pablo Barrachina Rodriguez-Guisado
Marco Brambilla
Piero Fraternali
Abstract
In this work, we investigate the use of Large Language Models (LLMs) within a graph-based Retrieval Augmented Generation (RAG) architecture for Energy Efficiency (EE) Question Answering. First, the system automatically extracts a Knowledge Graph (KG) from guidance and regulatory documents in the energy field. Then, the generated graph is navigated and reasoned upon to provide users with accurate answers in multiple languages. We implement a human-based validation using the RAGAs framework properties, a validation dataset comprising 101 question-answer pairs, and domain experts. Results confirm the potential of this architecture and identify its strengths and weaknesses. Validation results show how the system correctly answers in about three out of four of the cases (75.2 ± 2.7%), with higher results on questions related to more general EE answers (up to 81.0 ± 4.1%), and featuring promising multilingual abilities (4.4% accuracy loss due to translation).
Type
Publication
International Conference on Web Engineering
Authors

Authors
Nicolò Pinciroli
(he/him)
PhD student in Information Technology
I am a PhD student in Information Technology at Politecnico di Milano. My research focuses on machine learning and data science applications to astrophysics problems, particularly in the search for pulsars and the analysis of gravitational lenses. I have experience in AI, data analysis, and computer vision.
Authors
Authors
Authors