arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.01668cs.AI
收藏

面向司法取证中可信法律问答的混合检索增强生成智能体

Hybrid Retrieval-Augmented Generation Agent for Trustworthy Legal Question Answering in Judicial Forensics

Department of Electronic Engineering, City University of Hong Kong(DongGuan)(香港城市大学(东莞)电子工程系);Department of Electronic Engineering, City University of Hong Kong(香港城市大学电子工程系)

Yueqing Xi, Yifan Bai, Huasen Luo, Weiliang Wen, Hui Liu, Haoliang Li

AI总结:

针对司法取证中法律问答的真实性与可追溯性问题,提出集成检索增强生成与多模型集成的混合智能体,优先检索可信知识库证据生成答案,经人工审核更新知识库,实验表明其显著优于基线,减少幻觉并提升合规性。

摘要:

随着人工智能渗透司法取证领域,确保法律问答(QA)的真实性和可追溯性变得至关重要。传统大型语言模型(LLMs)易产生幻觉,在法律咨询中存在误导风险;而静态知识库难以跟上频繁更新的法规和判例法。我们提出一种专为司法场景定制的混合法律问答智能体,将检索增强生成(RAG)与多模型集成相结合,提供可靠、可审计且持续更新的咨询。系统优先检索而非生成:当可信法律知识库返回相关证据时,通过RAG生成答案;否则,多个LLM生成候选答案,由专业选择器评分后返回排名最高的答案。高质量输出经人工审核后写入知识库,实现动态知识演进和溯源跟踪。在Law_QA数据集上的实验显示,我们的混合方法在F1、ROUGE-L和LLM-as-a-Judge指标上显著优于单模型基线和普通RAG pipeline。消融实验证实了检索优先、模型集成和人在环更新机制的互补贡献。该系统显著减少幻觉,提升答案质量和法律合规性,推动媒体取证技术在司法场景的实际落地。

英文摘要:

As artificial intelligence permeates judicial forensics, ensuring the veracity and traceability of legal question answering (QA) has become critical. Conventional large language models (LLMs) are prone to hallucination, risking misleading guidance in legal consultation, while static knowledge bases struggle to keep pace with frequently updated statutes and case law. We present a hybrid legal QA agent tailored for judicial settings that integrates retrieval-augmented generation (RAG) with multi-model ensembling to deliver reliable, auditable, and continuously updatable counsel. The system prioritizes retrieval over generation: when a trusted legal repository yields relevant evidence, answers are produced via RAG; otherwise, multiple LLMs generate candidates that are scored by a specialized selector, with the top-ranked answer returned. High-quality outputs then undergo human review before being written back to the repository, enabling dynamic knowledge evolution and provenance tracking. Experiments on the Law\_QA dataset show that our hybrid approach significantly outperforms both a single-model baseline and a vanilla RAG pipeline on F1, ROUGE-L, and an LLM-as-a-Judge metric. Ablations confirm the complementary contributions of retrieval prioritization, model ensembling, and the human-in-the-loop update mechanism. The proposed system demonstrably reduces hallucination while improving answer quality and legal compliance, advancing the practical landing of media forensics technologies in judicial scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑