Computer Science ›› 2026, Vol. 53 ›› Issue (8): 298-306.doi: 10.11896/jsjkx.250600179

• Artificial Intelligence • Previous Articles     Next Articles

LSQ-RAG:Retrieval-enhanced Generation Framework Based on LLM-enhanced Ranker

ZHANG Zhonglin, XIA Hang   

  1. School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
  • Received:2025-06-24 Revised:2025-09-30 Published:2026-08-17
  • About author:ZHANG Zhonglin,born in 1965,Ph.D,professor.His main research interests include NLP and QA.

Abstract: Large language model(LLM) has demonstrated remarkable generation and reasoning capabilities in terms of conversation,reasoning,and knowledge retention,but they still suffer from numerous limitations,such as generating answers containing hallucinations,relying on outdated parameterized knowledge,and poor model interpretation.RAG(Retrieval Augmented Generation) addresses these issues by integrating non-parametric data stores.However,directly integrating information retrieval or training these components end-to-end often leads to suboptimal results or computational inefficiencies.To this end,this paper proposes the LSQ-RAG framework,which enhances the contextual understanding capabilities of the LLM with an LLM-supervised ranker and improves the quality and accuracy of the provided passages.LSQ-RAG fine-tunes the LLM to follow instructions and discriminatively use the provided information.Subsequently,it leverages the fine-tuned LLM to generate ranking scores,which serve as a supervisory signal for training the ranker.By leveraging the power of the LLM,the proposed approach eliminates the reliance on manual annotations in ranker training while achieving higher performance.Experimental results demonstrate that LSQ-RAG outperforms existing retrieval-augmented LLMs on open-domain QA and fact-checking tasks,while exhibiting consis-tent performance improvements when applied to different LLMs,highlighting its versatility and effectiveness.

Key words: LSQ-RAG framework, Retrieval-enhanced generation, Instruction fine-tuning, Ranker, Large language model

CLC Number: 

  • TP391
[1] BROWN T,MANN B,RYDER N,et al.Language models are few-shot learners[J].Advances in Neural Information Processing Systems,2020,33:1877-1901.
[2] LEWIS P,PEREZ E,PIKTUS A,et al.Retrieval-augmentedgen-eration for knowledge-intensive nlp tasks[J].Advances in Neural Information Processing Systems,2020,33:9459-9474.
[3] MALLEN A,ASAI A,ZHONG V,et al.When not to trust lan-guage models:Investigating effectiveness of parametric and non-parametric memories[J].arXiv:2212.10511,2022.
[4] IZACARD G,GRAVE E.Leveraging passage retrieval with gen-erative models for open domain question answering[J].arXiv:2007.01282,2020.
[5] ARSLAN M,GHANEM H,MUNAWAR S,et al.A Survey on RAG with LLMs[J].Procedia Computer Science,2024,246:3781-3790.
[6] SHI W,MIN S,YASUNAGA M,et al.Replug:Retriev-al-augmented black-box language models[J].arXiv:2301.12652,2023.
[7] YU W H,ITER D,WANG S H,et al.Generate rather thanretrieve:large language models are strong context genera-tors[J].arXiv:2209.10063,2022.
[8] FENG Z Y,FENG X C,ZHAO D Z,et al.Retriev-al-generation synergy augmented large language mod-els[C]//Proceedings of the 2024 IEEE International Conference on Acoustics,Speech and Signal Processing.Piscataway:IEEE,2024:11661-11665.
[9] SHAO Z H,GONG Y Y,SHEN Y L,et al.Enhancing retrieval-augmented large language models with iterative retrieval-generation synergy[J].arXiv:2305.15294,2023.
[10] LV K,YANG Y,LIU T,et al.Full parameter fine-tuning for large language models with limited resources[J].arXiv:2306.09782,2023.
[11] HAN Z,GAO C,LIU J,et al.Parameter-efficient fine-tuning for large models:A comprehensive survey[J].arXiv:2403.14608,2024.
[12] WEI J,TAY Y,BOMMASANI R,et al.Emergent abilities of large language models[J].arXiv:2206.07682,2022.
[13] LV K,YAN H,GUO Q,et al.Adalomo:Low-memory optimization with adaptive learning rate[J].arXiv:2310.10195,2023.
[14] CHUNG H W,HOU L,LONGPRE S,et al.Scaling instruc-tion-finetuned language models[J].Journal of Machine Learning Research,2024,25(70):1-53.
[15] WANG Y,KORDI Y,MISHRA S,et al.Self-instruct:Aligning language models with self-generated instructions[C]//Procee-dings of the 61st Annual Meeting of the Association for Computational Linguistics.2023.
[16] DETTMERS T,PAGNONI A,HOLTZMAN A,et al.Qlora:Efficient finetuning of quantized llms[J].Advances in Neural Information Processing Systems,2023,36:10088-10115.
[17] HAN Z,GAO C,LIU J,et al.Parameter-efficient fine-tuning for large models:A comprehensive survey[J].arXiv:2403.14608,2024.
[18] NOGUEIRA R,CHO K.Passage Re-ranking with BERT[J].arXiv:1901.04085,2019.
[19] ZHANG T,GOLDSTEIN A,LEVIN M.Classical sorting algorithms as a model of morphogenesis:Self-sorting arrays reveal unexpected competencies in a minimal model of basal intelligence[J].Adaptive Behavior,2025,33(1):25-54.
[20] NOGUEIRA R,YANG W,CHO K,et al.Multi-stage document ranking with BERT[J].arXiv:1910.14424,2019.
[21] GOU J,YU B,MAYBANKS J,et al.Knowledge distillation:A survey[J].International Journal of Computer Vision,2021,129(6):1789-1819.
[22] ZHOU W,ZHANG S,POON H,et al.Context-faithful prompting for large language models[J].arXiv:2303.11315,2023.
[23] FANG W,CHUANG Y S,GLASS J.Joint Inference of Retrieval and Generation for Passage Re-ranking[C]//Findings of the Association for Computational Linguistics:EACL 2024.2024:2289-2298.
[24] IVISON H,WANG Y,PYATKIN V,et al.Camels in a changing climate:Enhancing lm adaptation with tulu 2[J].arXiv:2311.10702,2023.
[25] KARPUKHIN V,OČUZ B,MIN S,et al.Dense Passage Retrieval for Open-Domain Question Answering[J].arXiv:2004.04906,2020.
[26] IZACARD G,LEWIS P,LOMELI M,et al.Atlas:Few-shotlearning with retrieval augmented language models[J].Journal of Machine Learning Research,2023,24(251):1-43.
[27] KARPUKHIN V,OGUZ B,MIN S,et al.Dense Passage Retrieval for Open-Domain Question Answering[C]//EMNLP.2020:6769-6781.
[28] DOUZE M,GUZHVA A,DENG C,et al.The faiss library[J].arXiv:2401.08281,2024.
[29] REIMERS N,GUREVYCH I.Sentence-bert:Sentence embed-dings using siamese bert-networks[J].arXiv:1908.10084,2019.
[30] BAJAJ P,CAMPOS D,CRASWELL N,et al.Ms marco:A human generated machine reading comprehension dataset[J].arXiv:1611.09268,2016.
[31] PETRONI F,PIKTUS A,FAN A,et al.KILT:a benchmark for knowledge intensive language tasks[J].arXiv:2009.02252,2020.
[1] JIA Zishuo, ZHANG Jian’ge, HE Haofeng, FENG Shizhong, LIU Yilin. Survey on Mutually Augmenting Technologies and Applications of Large Models and KnowledgeGraphs [J]. Computer Science, 2026, 53(8): 219-228.
[2] LIU Jing. Review of Music Artificial Intelligence Driven by Large Language Models [J]. Computer Science, 2026, 53(8): 229-244.
[3] ZHANG Haoran, HAO Wenning, JIN Dawei, CHENG Kai, LIU Junyang. Agentic Retrieval Augmented Generation Framework Based on Retrieval Task Planning and Reflection Mechanism [J]. Computer Science, 2026, 53(8): 285-297.
[4] FAN Ruxin, SUN Baicai, GONG Lina, YAO Xiangjuan, GONG Dunwei. Test Case Generation and Prioritization for Program Fault Diagnosis Based on Large LanguageModel [J]. Computer Science, 2026, 53(8): 365-374.
[5] WANG Xinlin, LI Yan, MA Chaofan, LI Shuo. Retrieval-Augmented Generation:Survey of Methods and Applications [J]. Computer Science, 2026, 53(7): 101-117.
[6] CHEN Zhixiang, XIE Zhipeng. Event Causal Data Augmentation Method Based on Large Language Model [J]. Computer Science, 2026, 53(7): 125-131.
[7] XU Rui, LIU Jin, LIU Xudong, GUAN Jian, DONG Wei. Exploring the Generalization Ability of Prompt-based Large Language Models for TextClassification [J]. Computer Science, 2026, 53(6A): 250400092-7.
[8] WEI Qing, ZHANG Yupeng, LIU Shaoxun, ZHANG Jinfeng, ZHANG Yuezhong, CHEN Haoyang. Fuzzing Driver Generation Based on Large Language Models [J]. Computer Science, 2026, 53(6A): 250400113-8.
[9] DUAN Pengsong, LUO Yu, WANG Chao. Q&A Model for Agricultural Diseases Based on Transformer [J]. Computer Science, 2026, 53(6A): 250400114-9.
[10] ZHANG Yongyu, GUO Chenjuan, FEI Xueqin, LI Feng. Study on Financial Text Sentiment Analysis Method Based on Large Language Models with Market Feedback Supervision [J]. Computer Science, 2026, 53(6A): 250500073-14.
[11] LIU Jiaqi, GAO Zhizezhang, MENG Xianjia, SUN Xia, FENG Jun. Automatic Knowledge Point Annotation for Student Code Based on Multi-agent Collaboration:A Case Study of C Language [J]. Computer Science, 2026, 53(6): 59-68.
[12] SHI Hongxu, LIU Yi, LIU Kun. Survey of Recommendation Systems Based on Large Language Models [J]. Computer Science, 2026, 53(6): 281-303.
[13] JI Wendi, WANG Yongquan, SHEN Yicheng. Boosting Generative Rule Extraction via Negative-aware Approach [J]. Computer Science, 2026, 53(5): 276-285.
[14] HAN Linrui, ZHENG Ri, CONG Yingnan. Explainable Sentencing Prediction Method Driven by Sentencing Rule Knowledge Graph [J]. Computer Science, 2026, 53(5): 286-298.
[15] LIU Xukai, LIU Yang, HUANG Haozhen. EC-MIIP:Efficient Fine-tuning Small-parameter Large Language Model for Intellectual Property [J]. Computer Science, 2026, 53(5): 299-308.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!