Manuscript Offprint

arXiv:2608.20097

TrustRAG: Blockchain-Enhanced RAG via Committee-Based Credibility Scoring

Baixiang Liu, Haotian Che, Yuan Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Retrieval-Augmented Generation (RAG) lets Large Language Models (LLMs) pull in up-to-date, domain-specific information instead of relying only on what they were trained on. Yet most RAG systems still draw from centralized databases with limited oversight, making it difficult to verify where a document came from, whether it has been tampered with, or whether it should be trusted at all. This is a serious problem in domains where both the timeliness and accuracy of retrieved content are critical, such as healthcare, finance, logistics, and legal case law, where a wrong or manipulated document can directly lead to bad decisions.

We present TrustRAG, a committee-based, blockchain-backed RAG system: before a document is used, it is certified by a committee of domain experts through a zero-knowledge protocol, and the committee’s hidden scores are combined via secure multi-party computation into a trust score that any client can verify. These scores, along with the underlying document data, are maintained jointly across chains through hash commitments, so no document or score can be silently altered or dropped, and every ranking can be independently replayed and checked.

I Introduction

Large Language Models have achieved remarkable capabilities across reasoning, generation, and knowledge-intensive tasks, yet their reliance on static training datasets fundamentally constrains their ability to provide accurate, up-to-date, and verifiable information. Addressing this limitation, Retrieval-Augmented Generation (RAG) has emerged as a promising paradigm that enriches LLMs with external knowledge retrieval, thereby enhancing factual accuracy and contextual relevance [1]. RAG promises more accurate, up-to-date, and domain-specific responses. This paradigm has therefore been widely adopted in areas such as healthcare, finance, and law, where strong generative capabilities must coexist with strict requirements on privacy, compliance, and auditability.

However, despite its growing role in improving factual grounding, the architecture of modern RAG systems exhibits a structural vulnerability: the retrieval pipelines, indexing services, and augmentation logic remain heavily centralized. Data flows, update policies, and ranking heuristics are typically controlled by a small number of providers or internal platform teams, making it difficult for downstream users or regulators to inspect, verify, or challenge the retrieval layer’s behavior. As a result, the very mechanism meant to reduce hallucinations and ground outputs in fact is itself implemented as an opaque subsystem.

The evolution of RAG infrastructures echoes earlier trends in Internet architecture: systems that begin with open, protocol-based principles often drift toward platform-centric consolidation. Early protocols such as TCP/IP were designed to distribute control and enable interoperability without centralized gatekeepers, yet were gradually overshadowed by proprietary platforms that centralized data ownership and shaped information flows through opaque algorithms [2, 3]. RAG infrastructures now show the same trajectory: a modular, evidence-driven mechanism increasingly resembles a closed, platform-governed subsystem whose behavior cannot be independently audited or verified.

This opacity gives rise to two challenges in contemporary RAG systems: evidence trustworthiness and process governance. The first is that retrieved sources are opaque, making it hard to verify their integrity, legality, or authority. Centralized pipelines offer no reliable way to confirm where a passage originated, whether it was modified, or whether it complies with copyright and data-protection requirements. This opacity is exploitable: attackers can dilute relevant evidence by injecting superficially similar but irrelevant text [4, 5], or distribute contradictory statements across sources to obscure authoritative information and induce ambiguous or incorrect outputs [6, 7, 8]. Without verifiable audit trails or cryptographic provenance, it is difficult to tell whether anomalous retrieval behavior stems from system limitations, data-quality issues, or deliberate manipulation.

The second challenge is that the retrieval-and-augmentation layer itself is opaque, obscuring why a system produces harmful outputs or refuses to respond. This layer acts as a gatekeeper over what conditions the model’s responses, yet centralized ranking and filtering heuristics offer little visibility into how conflicting or harmful content is prioritized or suppressed. Such opacity introduces further risks: insufficient filtering can let unsafe or toxic content shape generations [9, 10], while targeted denial-of-service cues can push RAG pipelines into refusing to answer even when relevant evidence is available [11, 12]. Because these behaviors often resemble benign limitations, operators struggle to pinpoint the cause, complicating efforts to improve robustness and accountability.

A further difficulty arises when document trustworthiness must be evaluated collectively, e.g., by distributed validators, expert committees, or multiple stakeholders, rather than by a single curator. Collecting such scores in plaintext risks leaking evaluator preferences or enabling strategic manipulation; aggregating them inside a closed backend merely turns the trust value into another opaque platform output. Trustworthy RAG therefore requires not only decentralized provenance records, but also a privacy-preserving mechanism for combining distributed trust inputs into verifiable retrieval metadata.

Taken together, these developments reveal a growing tension at the core of contemporary RAG practice. Mainstream AI infrastructure, from model training to retrieval, remains highly centralized, yet the data that matters most, e.g., time-sensitive, high-accuracy, access-controlled, and frequently updated, often originates from inherently distributed and decentralized sources: hospitals, regulators, financial institutions, and expert communities that do not share a single trusted curator. Reconciling this mismatch calls for a blockchain-enhanced RAG architecture, one that provides decentralized provenance, privacy-preserving trust aggregation, and verifiable retrieval for high-stakes domains where corrupted evidence or unaccountable filtering carry serious operational and regulatory costs.

To address these challenges, we propose TrustRAG, a decentralized, verifiable, and auditable RAG framework that combines immutable document registration with reusable credibility computation. Documents are first registered with content and embedding hashes as immutable provenance anchors. Validators then submit privacy-preserving quality evaluations bound to document identities and set hashes, enforcing membership, uniqueness, and score correctness without disclosing votes. During consolidation, hidden score components are split into Shamir secret shares and processed by committee nodes via an MP-SPDZ-based secure aggregation interface, yielding chain-local tallies and credibility values without revealing any individual vote or blinding factor. Rather than generating a recursive global aggregation proof, the system binds per-chain outputs through hash commitments and exposes sufficient metadata for deterministic replay of the final ranking. The resulting proofs and aggregate summaries are reused during later retrieval and audit, yielding a verifiable response package while keeping the protocol substantially simpler than recursive-proof alternatives. This design targets domains where knowledge is time-sensitive, accuracy-critical, access-controlled, and continuously updated, such as healthcare, finance, breaking news, logistics and traffic, and legal precedents, where data is naturally distributed across independent, mutually distrusting sources.

References (20)