Towards Data Science

Building Trustworthy Production RAG Systems Through Continuous Evaluation

A practical guide to building an evaluation workflow that catches retrieval failures, hallucinations, and performance drift before they reach users The post Building Trustworthy Production RAG Systems Through Continuous Evaluation appeared first on Towards Data Science .

Towards Data Science
Sep 22

Break Your Own RAG Pipeline Before Users Do

The article discusses a small adversarial test set designed to detect retrieval failures in Retrieval-Augmented Generation (RAG) pipelines that typical evaluation sets might miss. It emphasizes the importance of proactively testing your own RAG system to uncover hidden weaknesses before users encounter them. By using this targeted test set, developers can improve the reliability and robustness of their RAG models.

By Sara Nobrega
arXiv AI
Oct 31

ATLAS: Dual-Horizon Diagnostic Evaluation for Tool-Use Agents in Meituan Xiaotua

ATLAS is a dual‑horizon diagnostic evaluation framework designed for industrial tool‑use agents on web‑scale service platforms. It combines within‑turn trajectory‑wise signals (thinking, reflection, tool execution, response generation) with across‑turn user‑wise signals over multiple lifecycles to pinpoint execution failures and unmet capabilities. The framework employs rule‑based checks and calibrated LLM judges, distilling them into compact diagnostic models that enable developers to attribute failures, prioritize fixes, and reassess improvements. In Meituan Xiaotuan, ATLAS‑guided agents achieved higher recommendation relevance, factual reliability, user engagement (+2.84% answer read‑through rate), and order volume (+6.13% paid orders), leading to full production deployment.

By Wei Chen, Peilun Zhou, Zhaoyu Hu, Jiajun Chai, Derong Xu, Zhongni Hou, Yufei Zhang, Guojun Yin, Wei Lin, Zhi Zheng, Tong Xu
Towards Data Science
Jun 9

10 Common RAG Mistakes We Keep Seeing in Production

Enterprise Document Intelligence [Vol. 1 #4bis] - A coauthor note on the brick-by-brick pitfalls that justified the four-brick split, before Part II walks the fixes The post 10 Common RAG Mistakes We Keep Seeing in Production appeared first on Towards Data Science .

By Kezhan Shi
Towards Data Science
Aug 31

Why RAG Complexity Should Be Earned

The article outlines a framework for constructing Retrieval-Augmented Generation (RAG) pipelines that progressively add complexity as needed to address observed failure modes. It begins with basic lexical and hybrid search techniques, then incorporates reranking and agentic information‑seeking strategies to improve performance. The approach emphasizes that more sophisticated components should only be introduced when simpler methods prove insufficient.

By Tahreem Rasul
Hugging Face Trending Papers
Sep 10

RAG-Safety-Bench: Reliable Evaluation of Retrieval-Augmented LLM Safety

RAG-Safety-Bench is a benchmark designed to evaluate how retrieval-augmented generation (RAG) affects the safety of large language models (LLMs). It isolates safety impacts by testing four conditions: non-RAG, RAG with an oracle document, RAG with related but non-answer documents, and RAG with random safe documents. Results on five open-source LLMs reveal an inverse relationship between benign and unsafe capabilities, show that standard safety guardrails do not guarantee safety in RAG, and confirm that even benign documents can trigger unsafe outputs.

arXiv Computation and Language
Sep 11

RAG-Safety-Bench: Reliable Evaluation of Retrieval-Augmented LLM Safety

RAG-Safety-Bench is a benchmark designed to evaluate how retrieval-augmented generation (RAG) affects the safety of large language models (LLMs). It isolates safety impacts by testing four conditions: non-RAG, RAG with an oracle document, RAG with related but non-answer documents, and RAG with random safe documents. Results on five open-source LLMs reveal an inverse relationship between benign and unsafe capabilities, show that baseline safety guardrails do not guarantee safety in RAG, and confirm that even benign documents can trigger unsafe generation.

By Adithiyan Rajan Indira Saravanan, Kathleen C. Fraser
Towards Data Science
Aug 18

Building Enterprise Agent Systems that People can Trust, Verify and Improve

The article outlines five principles that guide the successful deployment of enterprise agent systems, illustrated with a real-world example from a $100M+ company. It explains how these principles help ensure that such systems can be trusted, verified, and improved over time. The post serves as a practical guide for building reliable agent-based solutions in production environments.

By Sheila Teo