SafeComm-RAG: Safe and Communication-Efficient Multi-Agent Reinforcement Learning for Local LLM Based RAG Assistant

Local retrieval-augmented generation (RAG) Large Language Model (LLM) based assistants must decide not only what to retrieve, but also when retrieval is needed, how components should com- municate, and whether an action is permitted. We present SafeComm-RAG, a local controller with Retriever, Safety/Authorization, and Executor roles trained by multi-agent reinforcement learning under centralized training and decentralized execution. Each role selects a task action and a separate SEND/SILENT communication action, while a deterministic capability shield retains final authority over restricted operations. Training combines a competence-preserving warm start (C1), feasibility- aware communication pressure (C2), and counterfactual communication calibration with rollback (C3). On a shared 10,000-scenario benchmark over seven training seeds, C3 achieved 97.66 ± 0.22% task success, no observed executed safety violations, and 0.688 ± 0.131 communications per episode. It used 54.28% less communication than a selective heuristic and 77.07% less than always communicating. Ablations show that C1 is needed for competence and C3 cuts communication by 54.26% relative to no- C3 with almost unchanged success; C2 did not change final performance in this benchmark. On unseen stress banks, C3’s success advantage over the heuristic grew from 1.05 to 5.22 percentage points. At four hops in the local-corpus AgenticRAGTracer test, C3 reached 38.51% EM and 51.24% F1 versus 27.03% and 39.18% for one-shot semantic retrieval. The results support selective coordination for harder local LLM RAG tasks while keeping final authorization deterministic.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-25
DOI
https://doi.org/10.21203/rs.3.rs-11449249/v1
Primary Topic
Reinforcement Learning in Robotics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SafeComm-RAG: Safe and Communication-Efficient Multi-Agent Reinforcement Learning for Local LLM Based RAG Assistant

Babak Heidari, Nor Asilah Wati Abdul Hamid, Farhad Mortezapour Shiri, Mohammad Reza Rezaee et al.
Research Square
Reinforcement Learning in Robotics
preprint

SafeComm-RAG: Safe and Communication-Efficient Multi-Agent Reinforcement Learning for Local LLM Based RAG Assistant

Babak Heidari, Nor Asilah Wati Abdul Hamid, Farhad Mortezapour Shiri, Mohammad Reza Rezaee, Abdul Wahab Hanifi, Morteza Rezaei
preprint en

Abstract

Local retrieval-augmented generation (RAG) Large Language Model (LLM) based assistants must decide not only what to retrieve, but also when retrieval is needed, how components should com- municate, and whether an action is permitted. We present SafeComm-RAG, a local controller with Retriever, Safety/Authorization, and Executor roles trained by multi-agent reinforcement learning under centralized training and decentralized execution. Each role selects a task action and a separate SEND/SILENT communication action, while a deterministic capability shield retains final authority over restricted operations. Training combines a competence-preserving warm start (C1), feasibility- aware communication pressure (C2), and counterfactual communication calibration with rollback (C3). On a shared 10,000-scenario benchmark over seven training seeds, C3 achieved 97.66 ± 0.22% task success, no observed executed safety violations, and 0.688 ± 0.131 communications per episode. It used 54.28% less communication than a selective heuristic and 77.07% less than always communicating. Ablations show that C1 is needed for competence and C3 cuts communication by 54.26% relative to no- C3 with almost unchanged success; C2 did not change final performance in this benchmark. On unseen stress banks, C3’s success advantage over the heuristic grew from 1.05 to 5.22 percentage points. At four hops in the local-corpus AgenticRAGTracer test, C3 reached 38.51% EM and 51.24% F1 versus 27.03% and 39.18% for one-shot semantic retrieval. The results support selective coordination for harder local LLM RAG tasks while keeping final authorization deterministic.

Research Square
Universiti Putra Malaysia (MY), Texas State University (US)
Reinforcement Learning in Robotics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon