计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400025-291.doi: 10.11896/jsjkx.260400025

• 人工智能 • 上一篇    下一篇

面向用户意图的规章知识检索增强生成方法

田成源1, 李达1, 李博文4, 李华1,2,3   

  1. 1 内蒙古大学计算机学院 呼和浩特 010021
    2 内蒙古教育部生态大数据工程研究中心 呼和浩特 010021
    3 内蒙古云计算与服务工程实验室 呼和浩特 010021
    4 内蒙古自治区纪委监委信息化建设与服务保障中心 呼和浩特 010015
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 李华(cslihua@imu.edu.cn)
  • 作者简介:(cstcy@mail.imu.edu.cn)
  • 基金资助:
    国家自然科学基金(61862047,62262047);内蒙古科技计划(201802028,2020GG0186);内蒙古重点研发及成果转化项目(2025YFHH0101);支持地方高校改革发展资金(学科建设)、内蒙古自治区一流学科专项研究项目(YLXKZX-ND-036)

User Intent-oriented Retrieval-augmented Generation for Regulatory Knowledge

TIAN Chengyuan1, LI Da1, LI Bowen4, LI Hua1,2,3   

  1. 1 School of Computer Science,Inner Mongolia University,Hohhot 010021,China
    2 Engineering Research Center of Ecological Big Data,Ministry of Education,Hohhot 010021,China
    3 Inner Mongolia Engineering Laboratory for Cloud Computing and Service,Hohhot 010021,China
    4 Inner Mongolia Autonomous Region Commission for Discipline Inspection and Supervision Information Construction and Service Support Center,Hohhot 010015,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:TIAN Chengyuan,born in 1999,postgraduate,is a student member of CCF(No.A42227G).Her main research in-terests include compliance checking and information retrieval.
    LI Hua,born in 1964,Ph.D,professor,Ph.D supervisor,is a senior member of CCF(No.E200006873S).Her main research interests include intent-based networking,artificial intelligence,green data centers,and compliance checking.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China(61862047,62262047),Inner Mongolia Scienceand Technology Plan(201802028,2020GG0186),Inner Mongolia Key Research and Development and Achievement Transformation Project(2025YFHH0101),Fund of Supporting the Reform and Development of Local Universities(Disciplinary Construction) and special research project of First-class Discipline of Inner Mongolia A. R. of China(YLXKZX-ND-036).

摘要: 针对用户意图需要满足行业规章与政策约束的需求,如何从大量规章文本中准确检索出相关的约束条目成为关键问题。在此场景下检索面临多方面挑战:用户意图与规章文本在表达形式上存在显著差异,导致语义匹配困难;合规性判断通常依赖多条目联合约束,单一检索策略难以实现充分召回;检索结果中的冗余信息易对后续合规判断产生干扰。为此,提出一种面向用户意图相关规章的检索增强生成(Retrieval-Augmented Generation,RAG)方法。该方法从提升召回充分性与准确性两个方面对标准RAG流程进行改进:首先,提出基于复杂度感知的查询重写策略,通过融合困惑度与语义熵对问题复杂性进行建模,实现查询数量的自适应生成,从而增强多条目召回能力;然后,构建文档级与条目级相结合的两阶段检索框架,实现由粗粒度文档定位到细粒度条目匹配的逐步筛选;最后,引入基于交叉编码器的重排序与知识过滤机制,对候选条目进行精细化筛选,以降低噪声信息对生成阶段的干扰。在公开数据集及自建用户意图-规章条目数据集上的实验结果表明,所提方法在Recall,MRR及F1等指标上均优于基线方法,验证了其在复杂规章检索场景下的有效性。

关键词: 大语言模型, 信息检索, 检索增强生成, 查询重写, 知识问答

Abstract: Accurate retrieval of relevant regulatory articles from large-scale regulatory texts is crucial for ensuring that user intents comply with industry regulations and policy constraints.This retrieval task faces multiple difficulties:the significant divergence in expression between user intents and regulatory texts leads to semantic matching difficulties;compliance judgment typically relies on the joint constraints of multiple articles,making it difficult for single retrieval strategies to achieve sufficient recall;furthermore,redundant information in retrieval results tends to interfere with subsequent compliance judgment.To address these challenges,this paper proposes a retrieval-augmented generation(RAG) method for retrieving regulations relevant to user intents.The proposed method improves upon the conventional RAG pipeline from two perspectives:enhancing recall sufficiency and retrieval precision.Firstly,a complexity-aware query rewriting strategy is proposed,which models query complexity by integrating perplexity and semantic entropy to enable adaptive generation of query quantities,thereby enhancing multi-article recall capability.Then,a two-stage retrieval framework combining document-level and article-level retrieval is constructed,achieving progressive filtering from coarse-grained document localization to fine-grained article matching.Finally,a cross-encoder-based reran-king and knowledge filtering mechanism is introduced to perform fine-grained screening of candidate articles,reducing the interfe-rence of noisy information on generative stage.Experimental results on both public datasets and a self-constructed user intent-regulatory article dataset demonstrate that the proposed method outperforms baseline methods across Recall,MRR,and F1 metrics,validating its effectiveness in complex regulatory retrieval scenarios.

Key words: Large language models, Information retrieval, Retrieval-augmented generation, Query rewriting, Knowledge question answering

中图分类号: 

  • TP391
[1] MEHMOOD K,KRALEVSKA K,PALMA D.Knowledge-driven intent life-cycle management for cellular networks[J].IEEE Transactions on Network and Service Management,2025,22(5):4806-4826.
[2] BOUTOUCHENT A,MERIDJA A N,KARDJADJA Y,et al.Amanos:An intent-driven management and orchestration system for next-generation cloud-native networks[J].IEEE Communications Magazine,2023,62(6):42-49.
[3] BAI Y T,HAO W N,JIN D W.Study on open-domain question answering methods based on retrieval-augmented generation [J/OL].Computer Science,2025,52(S1):240800141-7.https://doi.org/10.11896/jsjkx.240800141.
[4] ROBERTSON S,ZARAGOZA H.The probabilistic relevanceframework:BM25 and beyond[M].Now Publishers Inc,2009.
[5] KARPUKHIN V,OGUZ B,MIN S,et al.Dense passage retrieval for open-domain question answering[C]//Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing(EMNLP).2020:6769-6781.
[6] LEWIS P,PEREZ E,PIKTUS A,et al.Retrieval-augmentedgeneration for knowledge-intensive nlp tasks[J].Advances in Neural Information Processing Systems,2020,33:9459-9474.
[7] JEONG S,BAEK J,CHO S,et al.Adaptive-rag:Learning to adapt retrieval-augmented large language models through question complexity[C]//Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies(Volume 1:Long Papers).2024:7036-7050.
[8] WEI J,WANG X,SCHUURMANS D,et al.Chain-of-thoughtprompting elicits reasoning in large language models[J].Advances in Neural Information Processing Systems,2022,35:24824-24837.
[9] YAO S,ZHAO J,YU D,et al.React:Synergizing reasoning and acting in language models[C]//The Eleventh International Conference on Learning Representations.2022.
[10] JIANG H Q,WU Q H,LUO X F,et al.Longllmlingua:Accelerating and enhancing llms in long context scenarios via promptcompression [PP/OL].arXiv:2310.06839,2023.
[11] ASAI A,WU Z Q,WANG Y Z,et al.2023.Self-rag:Learning to retrieve,generate,and critique through self-reflection [PP/OL].arXiv:2310.11511,2023.
[12] YAN S Q,GU J C,ZHU Y,LING Z H.Corrective retrieval augmented generation [PP/OL].arXiv:2401.15884,2024.
[13] KUHN L,GAL Y,FARQUHAR S.Semantic uncertainty:Linguistic invariances for uncertainty estimation in natural language generation[PP/OL].arXiv:2302.09664,2023.
[14] KWIATKOWSKI T,PALOMAKI J,REDFIELD O,et al.Natural questions:A benchmark for question answering research[J].Transactions of the Association for Computational Linguistics,2019,7:452-466.
[15] YANG Z L,QI P,ZHANG S Z,et al.HotpotQA:A dataset for diverse,explainable multi-hop question answering [C]//Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing(EMNLP).Brussels:Association for Computational Linguistics,2018:2369-2380.
[16] HO X,NGUYEN A K D,SUGAWARA S,et al.Constructing a multi-hop QA dataset for comprehensive evaluation of reasoning steps[C]//Proceedings of the 28th International Conference on Computational Linguistics.2020:6609-6625.
[17] TOUVRON H,MARTIN L,STONE K,et al.Llama 2:Openfoundation and fine-tuned chat models [PP/OL].arXiv:2307.09288,2023.
[18] XU F Y,SHI W J,CHOI E.RECOMP:Improving retrieval-augmented LMs with context compression and selective augmentation [C]//Proceedings of the Twelfth International Conference on Learning Representations(ICLR 2024).2024.
[19] MALLEN A,ASAI A,ZHONG V,et al.When not to trust language models:Investigating effectiveness of parametric and non-parametric memories[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics(volume 1:Long papers).2023:9802-9822.
[20] LIU N F,LIN K,HEWITT J,et al.Lost in the middle:Howlanguage models use long contexts[J].Transactions of the Association for Computational Linguistics,2024,12:157-173.
[21] BAI Y,LV X,ZHANG J,et al.Longbench:A bilingual,multitask benchmark for long context understanding[C]//Procee-dings of the 62nd Annual meeting of the Association for Computational Linguistics(volume 1:Long papers).2024:3119-3137.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!