大型语言模型中查询优化的综述
A Survey of Query Optimization in Large Language Models
AI总结:
本文综述了大型语言模型中查询优化的技术,提出查询优化生命周期框架、查询复杂度分类法及四个基本操作,分析了优化方法和挑战,为研究和实践提供指导。
摘要:
查询优化(QO)已成为提升大型语言模型(LLM)效能的关键因素,特别是在检索增强生成(RAG)系统中,查询质量直接决定了检索和响应性能。本文综述系统且全面地分析了查询优化技术,有三个主要贡献。首先,我们介绍了查询优化生命周期(QOL)框架,一个包含意图识别、查询转换、检索执行、证据整合和响应合成的五阶段流程,为理解优化过程提供统一视角。其次,我们提出了一种查询复杂度分类法,沿证据类型(显式 vs. 隐式)和证据数量(单个 vs. 多个)两个维度对查询进行分类,建立查询特征与优化策略之间的原则性映射。第三,我们深入分析了四个基本操作,即查询扩展、查询分解、查询消歧和查询抽象,综合了顶级会议中的代表性方法。我们进一步考察了评估方法,识别了现有基准中的关键缺口,并讨论了开放挑战,包括过程奖励模型、效率优化和多模态查询处理。本文综述为研究提供了结构化的基础,并为实践者提供了可操作的指导。
英文摘要:
Query Optimization (QO) has become essential for enhancing Large Language Model (LLM) effectiveness, particularly in Retrieval-Augmented Generation (RAG) systems where query quality directly determines retrieval and response performance. This survey provides a systematic and comprehensive analysis of query optimization techniques with three principal contributions. \textit{First}, we introduce the \textbf{Query Optimization Lifecycle (QOL) Framework}, a five-phase pipeline covering Intent Recognition, Query Transformation, Retrieval Execution, Evidence Integration, and Response Synthesis, providing a unified lens for understanding the optimization process. \textit{Second}, we propose a \textbf{Query Complexity Taxonomy} that classifies queries along two dimensions, namely evidence type (explicit vs.\ implicit) and evidence quantity (single vs.\ multiple), establishing principled mappings between query characteristics and optimization strategies. \textit{Third}, we conduct an in-depth analysis of four atomic operations, namely \textbf{Query Expansion}, \textbf{Query Decomposition}, \textbf{Query Disambiguation}, and \textbf{Query Abstraction}, synthesizing a broad spectrum of representative methods from premier venues. We further examine evaluation methodologies, identify critical gaps in existing benchmarks, and discuss open challenges including process reward models, efficiency optimization, and multi-modal query handling. This survey offers both a structured foundation for research and actionable guidance for practitioners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。