Papers for

peer-to-peer network developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

ZeroRAG enables decentralized peer-to-peer document retrieval for language models

ZeroRAG: Adaptive Semantic Peer Routing for Decentralized Retrieval-Augmented Generation

Abstract: Retrieval-augmented generation (RAG) is a standard approach to enhance the reliability of large language model (LLM) outputs by retrieving documents relevant to a query and supplying them in the LLM prompt. Today's RAG systems collect, index, and serve these documents from centralized stores. In practice, however, documents are owned by organizations, devices, and individuals who cannot or will not surrender custody of them to a central party, e.g., because of privacy, copyright or regulatory compliance. Existing modern decentralized retrieval techniques either reintroduce a coordinating authority, or rely on a global data structure that requires continuous network-wide coordination (e.g., DHTs). We present ZeroRAG, a decentralized routing layer for document retrieval in RAG that performs semantic query routing across an overlay of peers with- out global data structures or centralized orchestration. Documents remain with the peers that own them, and each peer keeps only lightweight local state: a bounded set of neighbor advertisements and a cache of recently routed queries. Using these, ZeroRAG steers each query through a best-first walk that progressively rewires the overlay toward semantically relevant neighbors, so recall improves over time as the network self-organizes. We evaluate ZeroRAG using three real-world workloads and two decentralized baselines. We find that ZeroRAG outperforms baselines in terms of recall and required network messages, approaches the recall and LLM answer accuracy of a centralized document store, self-heals after catastrophic peer failures, and scales to 100 000 peers.

Thu 5 NovDistributed, Parallel, and Cluster ComputingArtificial IntelligenceInformation Retrieval
The gist
It can be hard to search and use documents stored all over the world without giving control to a central group, especially when rules or privacy matter. The authors present ZeroRAG, a system that helps computers find the right documents by talking to nearby peers without needing a big central list. ZeroRAG improves itself over time by learning which neighbors have relevant documents and keeps working even if many peers go offline. It works almost as well as systems with a central document store but without losing control over documents.
Open → 2611.07928v1