GridCodex: A RAG-Driven AI Framework for Power Grid Code Reasoning and Compliance
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
The global shift towards renewable energy presents unprecedented challenges for the electricity industry, making regulatory reasoning and compliance increasingly vital. Grid codes, the regulations governing grid operations, are complex and often lack automated interpretation solutions, which hinders industry expansion and undermines profitability for electricity companies. We introduce GridCodex, an end to end framework for grid code reasoning and compliance that leverages large language models and retrieval-augmented generation (RAG). Our framework advances conventional RAG workflows through multi stage query refinement and enhanced retrieval with RAPTOR. We validate the effectiveness of GridCodex with comprehensive benchmarks, including automated answer assessment across multiple dimensions and regulatory agencies. Experimental results showcase a 26.4% improvement in answer quality and more than a 10 fold increase in recall rate. An ablation study further examines the impact of base model selection.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 13 of its 26 references that are in the map. First posted on arXiv 18 Aug 2025.
Builds on
13 of 26 references.
References · 13
- 2023GPT-4 Technical Reportcited by 18,396
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
- 2024Large Language Models: A Surveycited by 525
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 517
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2024RAG vs Fine-tuning: Pipelines, Tradeoffs, and a Case Study on Agriculturecited by 81
- 2024Fine Tuning LLM for Enterprise: Practical Guidelines and Recommendationscited by 28
1 more
- 2024Linq-Embed-Mistral Technical Reportcited by 20
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025X-GridAgent: An LLM-Powered Agentic AI System for Assisting Power Grid Analysis
- 2025Grid-Agent: An LLM-Powered Multi-Agent System for Power Grid Control
- 2025ElectriQ: A Benchmark for Assessing the Response Capability of Large Language Models in Power Marketing
- 2026PowerBench: A Benchmark for Agentic Retrieval and Reasoning in Power Systems
- 2025Enhancing Retrieval-Augmented Generation for Electric Power Industry Customer Support
- 2024Natural Language Interaction with a Household Electricity Knowledge-based Digital Twin
- 2026LLMs and Agentic AI Systems for Smart Grids: A Tutorial on Architectures and Applications
- 2024Exploring the Capabilities and Limitations of Large Language Models in the Electric Energy Sector