Synapse Compendium Aware Federated Knowledge Exchange for Tool Routed LLMs
Abhijit Chakraborty, Sandipan De, Yash Shah, Chahana Dahal, Vivek Gupta
TL;DR
Synapse addresses privacy and heterogeneity in federated tool routing for LLMs by exchanging structured compendiums rather than model weights or prompts. The framework uses a three-tier federation, hierarchical compendium aggregation, embedding-based retrieval, LLM reranking, and TextGrad prompt optimization to dynamically route queries to tools. Empirical results on BBH and GSM8k show improved routing accuracy and robustness with reduced communication overhead compared with prompt-sharing and weight-sharing baselines, even under non-IID data. The work demonstrates a practical approach to privacy-preserving, scalable knowledge exchange in multi-agent LLM ecosystems.
Abstract
Collaborative learning among LLM-based agents under federated learning faces challenges, including communication costs, heterogeneity in data, and tool-usage, limiting their effectiveness. We introduce Synapse, a framework that trains a shared global knowledge model of tool-usage behavior. Client agents with fixed LLMs learn tool-usage patterns locally, and transmit artifacts for federated aggregation through coordinators. A global tool compendium is updated and redistributed, enabling convergence toward stable tool selection. Synapse uses templated representations, embedding retrieval with LLM reranking, and adaptive masking to maintain utility while limiting information leakage. The framework supports heterogeneous data and quantifies performance improvements. Results show that Synapse improves tool-usage effectiveness and reduces communication overhead compared with weight or prompt-sharing approaches in multi-agent LLM systems.
