RAG 2.0 – The Next Generation of RAG Systems

Exploring how smarter retrieval, better context, and modern architectures are shaping the future of AI-powered applications.

 

 

Back on Stage at PUG Challenge

 

This November, I had the opportunity to return to the stage at PUG Challenge 2026 in Amsterdam, representing Wayfare as a speaker for the second consecutive year.

As a Junior Developer with a growing passion for Artificial Intelligence and modern software development, I see events like PUG Challenge as an opportunity not only to share knowledge but also to explore new technologies and connect with people who are equally passionate about innovation.

This year, I chose to dive deeper into a topic that has become increasingly relevant in the world of Generative AI: Retrieval-Augmented Generation (RAG).

My session, “RAG 2.0 – The Next Generation of RAG Systems,” focused on how RAG architectures have evolved from simple retrieval pipelines into more intelligent, flexible, and reliable systems.

My goal was to go beyond the theory and explore what actually makes a modern RAG system effective, why traditional approaches sometimes fall short, and how we can build AI applications that deliver more accurate and contextually relevant answers.

 

 

Understanding the Foundations: Where RAG Begins

 

Before exploring the next generation of RAG systems, I wanted to establish a common understanding of how we got here.

I started by looking at the evolution of AI development, from traditional machine learning approaches to today’s Large Language Models (LLMs), highlighting the difference between training a model and using it to generate predictions through inference.

One of the most important concepts I wanted to emphasize was that building an AI-powered application no longer necessarily means training an AI model from scratch.

With Generative AI, developers can leverage powerful pre-trained models and extend their capabilities using external knowledge.

This is where Retrieval-Augmented Generation comes into play.

RAG allows an LLM to access relevant information from external sources at query time, rather than relying exclusively on knowledge acquired during training. This makes it particularly useful for applications that depend on specialized documentation, organizational knowledge, or frequently updated information.

I walked through the traditional RAG pipeline, from preparing a knowledge base through chunking and embeddings to retrieving relevant documents and providing them as context to the language model.

Understanding this foundation was essential before discussing why the architecture needs to evolve.

 

 

Why Traditional RAG Is No Longer Enough

 

One of the central questions of my presentation was simple: If RAG already works, why do we need RAG 2.0?

Traditional RAG typically follows a straightforward process: receive a query, retrieve relevant information, add it to the prompt, and generate an answer.

While this approach can work well for relatively simple questions, real-world applications often introduce additional complexity.

During my session, I explored several limitations of traditional RAG systems, including their tendency to process user queries exactly as received, rely on a single retrieval strategy, and treat semantic similarity as equivalent to actual relevance.

Another important limitation is the lack of flexibility. Traditional pipelines generally perform retrieval once, without evaluating whether the retrieved information is sufficient to answer the question.

This can become problematic when questions require multiple reasoning steps, information from different sources, or a deeper understanding of the user’s intent.

The key message I wanted to communicate was that retrieving information is not the same as retrieving the right information.

And this distinction is one of the main reasons modern RAG architectures are becoming increasingly sophisticated.

 

 

From RAG 1.0 to RAG 2.0: A New Generation of Architectures

 

After identifying the limitations of traditional RAG, I introduced the evolution toward more advanced architectures.

I explored four approaches that illustrate this progression.

Naive RAG represents the starting point, with a simple and linear retrieval-and-generation pipeline.

Advanced RAG introduces optimizations before, during, and after retrieval, improving how queries are interpreted, how information is retrieved, and how relevant context is selected.

Modular RAG moves beyond a fixed pipeline, allowing systems to combine different components and retrieval mechanisms depending on the task. Instead of relying on a single knowledge source, a system can route queries toward document search, databases, or knowledge graphs.

Finally, Agentic RAG introduces a more dynamic approach, where an AI agent can plan its actions, select appropriate tools, evaluate retrieved evidence, and perform additional retrieval steps when necessary.

What I found particularly interesting about this evolution is that it is not simply about adding more components to an existing pipeline.

It represents a shift from static retrieval processes toward systems that can make more informed decisions about how to find and use information.

 

 

Inside RAG 2.0: What Makes Retrieval Smarter?

 

One of the most technical parts of my presentation focused on the building blocks that make modern RAG systems more effective.

I wanted to show how improvements at different stages of the pipeline can significantly influence the quality of the final answer.

 

 

Understanding the Query Before Searching

 

A user query is not always clear, complete, or optimized for retrieval.

I explored techniques such as query rewriting, query expansion, and query decomposition, which help transform the original question into a form that can produce better search results.

For complex questions, decomposition is especially useful because it allows the system to break a problem into smaller, more manageable sub-questions.

 

 

Combining Different Retrieval Strategies

 

Another important topic was hybrid retrieval, which combines semantic search using vector embeddings with keyword-based approaches such as BM25.

These methods complement each other: semantic search captures meaning, while keyword search helps identify exact terminology.

I also introduced Reciprocal Rank Fusion (RRF), a technique for combining ranked results from different retrieval methods into a single list.

 

 

Finding Relevance, Not Just Similarity

 

Retrieving potentially useful documents is only part of the challenge.

I explained how reranking, particularly through cross-encoder models, can improve the selection of relevant information.

While initial retrieval identifies a broader set of candidates, reranking evaluates those candidates more carefully in relation to the original query.

This leads to one of my favorite distinctions from the presentation:

“Similarity finds candidates. Reranking finds relevance.”

 

 

Optimizing the Context

 

Another concept I emphasized was that providing an LLM with more information does not automatically result in a better answer.

Modern RAG systems can filter irrelevant content, remove duplicates, and compress retrieved information before sending it to the language model.

The objective is to provide the most useful evidence, rather than simply maximizing the amount of retrieved text.

 

 

Making Retrieval Adaptive

 

Finally, I explored multi-hop and adaptive retrieval, where the system can retrieve information across multiple steps and evaluate whether the available evidence is sufficient.

Instead of treating retrieval as a one-time action, an adaptive system can reformulate the query, change its search strategy, or retrieve additional information when necessary.

This ability to evaluate and adjust the retrieval process is an important step toward building more reliable AI applications.

 

 

From Theory to Practice: The Demo

 

 

I also wanted the presentation to include a practical perspective, so I dedicated part of the session to a demo exploring different RAG approaches.

The idea was to connect the architectural concepts discussed throughout the presentation with the practical challenges of building and evaluating retrieval-based AI applications.

An important part of this discussion was how we measure the performance of a RAG system.

I highlighted three dimensions of evaluation: retrieval quality, generation quality, and operational performance.

Metrics such as Precision@K and Recall@K help evaluate the retrieval process, while answer accuracy and faithfulness help us understand the quality of generated responses. Latency, cost, and reliability are equally important when moving from experimentation to real-world applications.

For me, this is one of the most interesting aspects of AI engineering: a system is not necessarily better simply because it uses a more advanced architecture.

Its effectiveness needs to be demonstrated through evaluation, considering both the quality of its answers and the resources required to produce them.

 

 

My Key Takeaways: Building Better AI Systems

 

If there is one idea I wanted the audience to remember, it is that RAG 2.0 is not a single architecture or a fixed checklist of techniques.

It is a collection of approaches and building blocks that can be combined according to the specific needs of an application.

Not every system requires agentic orchestration, multiple retrieval strategies, or complex evaluation loops.

Sometimes, a relatively simple pipeline with well-optimized retrieval and context selection is the most appropriate solution.

The real challenge is understanding the trade-offs and choosing the right architecture for the task, the available data, and the system’s requirements.

Ultimately, building better RAG systems is about more than making retrieval increasingly sophisticated. It is about delivering accurate, relevant, and reliable information while maintaining a practical balance between performance, cost, and complexity.

 

 

Looking Ahead

 

Artificial Intelligence continues to evolve rapidly, and I believe that understanding how to integrate these technologies into practical applications is becoming an increasingly important part of software development.

For me, exploring RAG 2.0 has reinforced how much opportunity there is beyond simply connecting an application to a Large Language Model.

The real value lies in designing intelligent systems that know how to find, evaluate, and use the right information.

I look forward to continuing to explore this field, experiment with emerging approaches, and share what I learn along the way.

See you at the next PUG Challenge!

 


 

Author: Diana Serban, Junior Developer

She is a dedicated and responsible individual, always ready to lend a helping hand. Her motivation and reliability make her a trusted presence in any team or project she undertakes.

SEE HOW WE WORK.

FOLLOW US