Traditional query optimization relies on cost-based optimizers that estimate execution cost (e.g., runtime, memory, and I/O) using predefined heuristics and statistical models. Improving these requires substantial engineering effort, yet they often cannot exploit semantic correlations in queries and schemas that could enable better physical plans. Large language models (LLMs), however, can reason about column semantics, value distributions, and broader domain context that classical statistics miss. We introduce DBPlanBench, a harness for the DataFusion engine that exposes physical plans through a compact serialized representation and applies LLM-proposed edits as JSON patches. On this harness, we instantiate a test-time optimization workflow where an LLM examines physical query plans, proposes localized edits based on semantic reasoning, and an evolutionary search refines the candidates across iterations. We target OLAP queries, where heavy, repeated execution turns even small efficiency gains into substantial cumulative savings. We specifically focus our evaluation on join reordering and join-side selection, where cardinality-estimation errors compound multiplicatively. Median speedups reach $1.10$-$1.12\times$ on TPC-H and $1.05$-$1.07\times$ on TPC-DS, with some achieving up to $4.78\times$. We also demonstrate that optimizations discovered at small scale factors transfer effectively to larger ones, supporting a low-cost small-to-large workflow.
QUITE: A Query Rewrite System Beyond Rules with LLM Agents
Sichuan University(四川大学);Cornell University(康奈尔大学);Purdue University(普渡大学);Hong Kong University of Science and Technology(香港科学与技术大学);Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心)
QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query Language
Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Pengcheng Laboratory(鹏城实验室);The Chinese University of Hong Kong(香港中文大学);Jilin University(吉林大学);Southwest University(西南大学);University of Electronic Science and Technology of China(电子科技大学);Shenzhen University(深圳大学)
QCG-Rerank: Chunks Graph Rerank with Query Expansion in Retrieval-Augmented LLMs for Tourism Domain
School of Computer and Communication Engineering, University of Science and Technology Beijing(北京科技大学计算机与通信工程学院);Beijing Engineering Research Center for Cyberspace Data Analysis and Applications(北京网络空间数据分析与应用工程研究中心);Guangxi Tourism Development One-Click Tour Digital Cultural Tourism Industry Co.,Ltd(广西旅游发展一键游数字文化旅游产业有限公司)
RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models
Southern University of Science and Technology(南方科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学)
SPARQL Query Generation with LLMs: Measuring the Impact of Training Data Memorization and Knowledge Injection
img/wse-cube-no-shadow.png Web \& Software Engineering (WSE) Research Group, Leipzig University of Applied Sciences (HTWK Leipzig), Leipzig, Germany CBZ München GmbH, Heilbronn, Germany
LightRetriever: A LLM-based Text Retrieval Architecture with Extremely Faster Query Inference
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Langboat Technology(兰舟科技)
AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMs
Centre for Responsible AI(负责任人工智能中心);Indian Institute of Technology Madras(印度理工学院马德拉斯分校);Department of Electrical Engineering(电气工程系);Wadhwani School of Data Science and Artificial Intelligence(Wadhwani数据科学与人工智能学院)
NativQA: Multilingual Culturally-Aligned Natural Query for LLMs
University of New Brunswick(新不伦瑞克大学);Qatar Computing Research Institute(卡塔尔计算研究中心);UPES(UPES大学);Carnegie Mellon University in Qatar(卡塔尔卡内基梅隆大学);Qatar University(卡塔尔大学)
Activation-aware Probe-Query: Effective Key-Value Retrieval for Long-Context LLMs Inference
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong Polytechnic University(香港理工大学);South China Normal University(华南师范大学);University College London(伦敦大学学院)