arXiv:2607.24352cs.CL2026-07

用检索增强让本地大模型可靠生成法规文本,支持合规决策。

Retrieval-Augmented Large Language Models as Components of Cognitive Computing architecture for Regulatory Knowledge Management

  • 本地大模型+检索增强架构,实现可控知识调用
  • 生成内容事实一致率与法规精确度显著提升
  • 适合高法律变动环境下需审计的合规管理场景

本文验证了将大语言模型(LLMs)与检索增强生成(RAG)架构结合,能否使其从独立生成模型转变为具备认知计算能力的组件,并提升其认知可靠性。研究提出一种基于本地部署的LLM方案,可在无高端GPU的本地环境中运行,适用于持续分析和解读法律文件的监管管理流程。该方案将本地LLM与外部知识库结合,构建混合认知架构:语言模型负责语义解析,RAG层实现受控的知识检索、上下文关联和来源可追溯。通过Ollama和LM Studio环境,使用波兰语模型Bielik和PLLuM在消费级硬件上实现并验证。结果表明,RAG显著提升了生成文本的事实一致性、领域特异性与规范精确度,降低了生成无依据内容的风险。同时,RAG引入了可审计性、可控知识管理与动态更新机制,无需重训练模型即可实现法规信息实时更新。研究认为,经RAG增强的本地部署大模型不应仅视为文本生成工具,而应作为认知计算基础设施中的语义处理模块,服务于高法律波动环境下的合规支持与组织决策。

原文摘要 · Abstract (English)

The aim of this article is to verify whether integrating large language models (LLMs) with the Retrieval-Augmented Generation (RAG) architecture enables their transformation from standalone generative models into components of cognitive computing infrastructure with enhanced epistemic reliability. The study proposes an architectural approach based on locally deployed LLMs operating in on-premises environments without high-end GPU accelerators and examines their applicability in supporting regulatory management processes requiring continuous analysis and interpretation of legal acts. The proposed solution combines local LLMs with external knowledge repositories, creating a hybrid cognitive architecture in which the language model performs semantic interpretation while the RAG layer provides controlled knowledge retrieval, contextualization, and traceability of information sources. The implementation was validated using the Ollama and LM Studio execution environments together with the Polish language models Bielik and PLLuM running on consumer-class hardware. The results demonstrate that augmenting LLMs with RAG significantly improves the factual consistency, domain specificity and normative precision of generated texts while reducing the risk of unsupported content generation. Furthermore, the study shows that integrating RAG introduces auditability, controlled knowledge management and dynamic updating of regulatory information without retraining the language model. The findings indicate that locally deployed LLMs enhanced with RAG should be regarded not merely as text generation tools but as semantic processing modules within cognitive computing infrastructures supporting regulatory compliance and organizational decision-making in environments characterized by high legal and informational volatility.

认知计算法规管理RAG本地部署

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。