{"id":{"repo_id":"nanyang","oai_identifier":"oai:dr.ntu.edu.sg:10356/210831"},"canonical_url":"https://search.ndltd.org/etd/nanyang/oai:dr.ntu.edu.sg:10356/210831","repository":{"repo_id":"nanyang","name":"Nanyang Technological University","base_url":"https://dr.ntu.edu.sg/oai/request"},"display":{"title":"Generating high-quality queries to enhance large language model (LLM) performance","abstract":"Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions.","abstract_html":"Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions.","abstract_has_math":false,"creators":["Wang, Huanqi"],"institution":"Nanyang Technological University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":"School of Electrical and Electronic Engineering","contributors":[],"advisors":["Mao Kezhi"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-27T08:07:08Z","subjects":["Engineering"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10356/210831","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10356/210831","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Ananyang%3Aoai%3Adr.ntu.edu.sg%3A10356%2F210831","prefix":"oai_dc"},"source_record":{"url":"https://dr.ntu.edu.sg/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.ntu.edu.sg%3A10356%2F210831","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.school","label":"School","values":["School of Electrical and Electronic Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Mao Kezhi"]},{"key":"dc:creator","label":"Author","values":["Wang, Huanqi"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-03-30T11:23:56Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-03-30T11:23:56Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Nanyang Technological University"]},{"key":"dc:type","label":"Dc Type","values":["Thesis-Master by Coursework"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10356/210831"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"2619c029-1958-4eef-a8fb-68bb965ede90\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Generating high-quality queries to enhance large language model (LLM) performance</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>Wang, Huanqi</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master's degree"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Generating high-quality queries to enhance large language model (LLM) performance"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"2619c029-1958-4eef-a8fb-68bb965ede90\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Generating high-quality queries to enhance large language model (LLM) performance</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>Wang, Huanqi</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.school":["School of Electrical and Electronic Engineering"],"dc:contributor.supervisor":["Mao Kezhi"],"dc:creator":["Wang, Huanqi"],"dc:date.accessioned":["2026-03-30T11:23:56Z"],"dc:date.available":["2026-03-30T11:23:56Z"],"dc:date.issued":["2026"],"dc:description.abstract":["Large Language Models have demonstrated strong generative capabilities across various tasks. Within the Retrieval Augmented Generation framework, they have enhanced accuracy and the effectiveness of factual responses. However, the mismatch between the original question and the knowledge base recall can lead to deviations in the retrieved data, thus limiting the accuracy of LLM-generated results. To address this issue, this paper proposes a set of high quality query generation and adaptive inference optimization frameworks for RAG, aiming to Generating High Quality Queries to Enhance LLM Performance. This paper constructs a query generator based on T5, transforming user questions into more retrieval-friendly query expressions. A two-stage training approach is employed. Stage-1 supervised bootstrapping training achieves stable initialization, followed by KTO preference alignment optimization. To characterize the strength of the gains from query generation, this paper further proposes Weighted-KTO, mapping the relative improvement in retrieval metrics to sample weights. In the inference phase, this paper assembles the trained query generator into an end-to-end RAG process and designs three strategies to optimize retrieval results: Query-Fused Retrieval, Cross-Encoder Reranking, and Dynamic Cutoff Reranking, to improve evidence quality and reduce interference. A Router mechanism is introduced to adaptively select between baseline, rewrite-only, and hybrid paths at the sample level. Experiments on HotpotQA, TriviaQA, and government domain datasets demonstrate that this framework can improve the quality of retrieval evidence and enhance downstream question-answering performance, and exhibits good adaptability across different task distributions."],"dc:description.degree":["Master's degree"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10356/210831"],"dc:language.iso":["en"],"dc:publisher":["Nanyang Technological University"],"dc:subject":["Engineering"],"dc:title":["Generating high-quality queries to enhance large language model (LLM) performance"],"dc:type":["Thesis-Master by Coursework"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-27T08:07:08Z"}