Semantic Firewalls with Online Ensemble Learning for Secure Agentic RAG Systems in Financial Chatbots

Victor Castro-Maldonado, Marco Antonio Aceves-Fernández, Luis Roberto García-Noguez, Jesus Carlos Pedraza-Ortega · AI · 2026

The RAG agentic architecture has demonstrated its ability to transform large language models (LLMs) into agents capable of planning, reasoning, and executing subtasks using external tools or APIs. In the financial sector, one of the main priorities when implementing new technologies—especially in systems like chatbots—is the protection of customer data and the need to maintain customer trust, making the challenges significant. This research presents a robust banking chatbot system that integrates RAG agentic architecture with specialized financial components, setting a new standard in the digital banking sector by prioritizing security, transparency, and functionality. The contributions of this work include the implementation of RAG agentic reasoning and self-correction financial components, and, primarily, the empirical study of the impact of a semantic firewall with online learning in financial RAG agentic systems, evaluated using public benchmarks and standard ranking metrics.

Read the paper · More papers on PaperTik