Enregistré dans:
Détails bibliographiques
Auteurs principaux: Liu, Xunzhuo, He, Bowei, Liu, Xue, Zhang, Haichen, Chen, Huamin
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:https://arxiv.org/abs/2603.23508
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908911655714816
author Liu, Xunzhuo
He, Bowei
Liu, Xue
Zhang, Haichen
Chen, Huamin
author_facet Liu, Xunzhuo
He, Bowei
Liu, Xue
Zhang, Haichen
Chen, Huamin
contents Retrieval-augmented generation (RAG) is increasingly deployed in enterprise search and document-centric assistants, where responses must be grounded in long and complex source materials. In practice, verifying that generated answers faithfully reflect retrieved documents is difficult: large language models can check long contexts but are too slow and costly for interactive services, while lightweight classifiers operate within strict context limits and frequently miss evidence outside truncated passages. We present the design of a real-time verification component integrated into a production RAG pipeline that enables full-document grounding under latency constraints. The system processes documents up to 32K tokens and employs adaptive inference strategies to balance response time and verification coverage across workloads. We describe the architectural decisions, operational trade-offs, and evaluation methodology used to deploy the verifier, and show that full-context verification substantially improves detection of unsupported responses compared with truncated validation. Our experience highlights when long-context verification is necessary, why chunk-based checking often fails in real documents, and how latency budgets shape model design. These findings provide practical guidance for practitioners building reliable large-scale retrieval-augmented applications. (Model, benchmark, and code: https://huggingface.co/llm-semantic-router)
format Preprint
id arxiv_https___arxiv_org_abs_2603_23508
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Fast and Faithful: Real-Time Verification for Long-Document Retrieval-Augmented Generation Systems
Liu, Xunzhuo
He, Bowei
Liu, Xue
Zhang, Haichen
Chen, Huamin
Computation and Language
Information Retrieval
Retrieval-augmented generation (RAG) is increasingly deployed in enterprise search and document-centric assistants, where responses must be grounded in long and complex source materials. In practice, verifying that generated answers faithfully reflect retrieved documents is difficult: large language models can check long contexts but are too slow and costly for interactive services, while lightweight classifiers operate within strict context limits and frequently miss evidence outside truncated passages. We present the design of a real-time verification component integrated into a production RAG pipeline that enables full-document grounding under latency constraints. The system processes documents up to 32K tokens and employs adaptive inference strategies to balance response time and verification coverage across workloads. We describe the architectural decisions, operational trade-offs, and evaluation methodology used to deploy the verifier, and show that full-context verification substantially improves detection of unsupported responses compared with truncated validation. Our experience highlights when long-context verification is necessary, why chunk-based checking often fails in real documents, and how latency budgets shape model design. These findings provide practical guidance for practitioners building reliable large-scale retrieval-augmented applications. (Model, benchmark, and code: https://huggingface.co/llm-semantic-router)
title Fast and Faithful: Real-Time Verification for Long-Document Retrieval-Augmented Generation Systems
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2603.23508