← Latest papers
💻 computer science

Sustainable Local RAG Architectures for Energy Governance: A Green AI Approach via Document Slice Contextualization

This paper proposes a sustainable, local RAG architecture using Document Slice contextualization and a two-tier routing agent to achieve near-baseline retrieval accuracy while drastically reducing energy consumption, emissions, and inference time for energy governance compliance.

Original authors: Martin Tibor Sándor, Róbert Lakatos

Published 2026-10-21
📖 5 min read🧠 Deep dive

Original authors: Martin Tibor Sándor, Róbert Lakatos

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern world, organizations are drowning in documents. From energy regulations to scientific research, the information needed to make critical decisions is locked inside thousands of pages of text. To make sense of this, many institutions are turning to artificial intelligence, specifically systems that can read a document, find the relevant parts, and answer questions based on them. This process, known as retrieval-augmented generation, works by breaking a long document into smaller pieces, or chunks, and asking a computer model to summarize each piece before searching for answers. However, a significant problem has emerged: the most accurate way to do this requires the computer to read the entire document every single time it summarizes a small piece. This approach is incredibly energy-hungry and demands powerful, expensive computer hardware that most local offices cannot afford. For sectors like energy governance, where laws require that data stays within the country and cannot be sent to a distant cloud server, this creates a bottleneck. The technology exists, but the cost of running it locally is often too high, both in terms of electricity and the physical memory of the computer.

Researchers at the University of Debrecen in Hungary have developed a new method to solve this problem, allowing these powerful AI tools to run efficiently on standard office computers. Their work focuses on a technique called "Document Slice Contextualization." Instead of forcing the computer to read the entire document to understand a single paragraph, the new system intelligently decides how much surrounding text is actually needed. Imagine a librarian who, instead of handing you the entire encyclopedia to find a definition, only opens the specific page and the few pages immediately next to it. The researchers built a smart routing agent that acts like this librarian. Before summarizing a chunk of text, this agent quickly checks if the chunk is self-explanatory, like an abstract or a conclusion, or if it needs help from its neighbors to make sense. If the chunk is self-explanatory, the system skips the summarization step entirely. If it needs context, the agent decides exactly how many neighboring pages to include, rather than blindly including the whole book.

The team tested this approach on a collection of twenty-five scientific papers and four complex policy documents from the European Commission. They compared their new, smart routing method against the traditional approach that reads the whole document every time. The results were striking. The new system achieved nearly the same level of accuracy in finding the right information as the heavy, energy-intensive method, but it did so with a fraction of the effort. Specifically, the new method reduced the energy required to generate answers by 87.6 percent. In practical terms, a task that previously took nearly an hour and consumed over 100 watt-hours of electricity was completed in under nine minutes using only 13.2 watt-hours. This reduction also meant a massive drop in carbon emissions, cutting the output from 21.8 grams of carbon dioxide equivalent down to just 2.8 grams.

A key finding of the study is that the "smart" routing agent did not just save energy; it actually improved the quality of the search in some ways. By skipping the summarization of chunks that were already clear, the system avoided adding unnecessary noise to the search process. This allowed the computer to find the most relevant information faster and more precisely. The researchers measured this using a standard test of 250 difficult questions that required connecting information from multiple parts of a document. Their new system found the correct answers in 95.2 percent of the cases, a figure almost identical to the 95.4 percent achieved by the much slower, energy-heavy method. Furthermore, the system successfully ran on a standard laptop graphics card with only 8 gigabytes of memory, a device that would have crashed under the weight of the traditional method.

The implications of this work extend beyond just saving electricity. For industries like energy governance, where strict laws dictate that data must remain local and under the control of the organization, this technology makes advanced AI feasible. It proves that high-performance artificial intelligence does not require massive, centralized data centers. Instead, it can be performed locally on everyday hardware, making the technology accessible to smaller institutions and ensuring that sensitive data never leaves the premises. The researchers describe their approach as "Green AI," emphasizing that efficiency should be a primary goal alongside intelligence. By making the process precise, explainable, and provable, they have created a pathway for organizations to audit their own compliance and manage their energy systems with tools that are both powerful and sustainable. The study confirms that with the right design, we can have the best of both worlds: the deep understanding of large AI models without the massive environmental and hardware costs that usually come with them.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →