Asset Details
MbrlCatalogueTitleDetail
Do you wish to reserve the book?
R-Bot: An LLM-based Query Rewrite System
by
Zhou, Xuanhe
, Sun, Zhaoyan
, Li, Guoliang
in
Hallucinations
/ Hybrid structures
/ Large language models
/ Natural language processing
/ Queries
/ Semantics
2024
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Are you sure you want to remove the book from the shelf?
Oops! Something went wrong.
While trying to remove the title from your shelf something went wrong :( Kindly try again later!
Do you wish to request the book?
R-Bot: An LLM-based Query Rewrite System
by
Zhou, Xuanhe
, Sun, Zhaoyan
, Li, Guoliang
in
Hallucinations
/ Hybrid structures
/ Large language models
/ Natural language processing
/ Queries
/ Semantics
2024
Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
Paper
R-Bot: An LLM-based Query Rewrite System
2024
Request Book From Autostore
and Choose the Collection Method
Overview
Query rewrite is essential for optimizing SQL queries to improve their execution efficiency without changing their results. Traditionally, this task has been tackled through heuristic and learning-based methods, each with its limitations in terms of inferior quality and low robustness. Recent advancements in LLMs offer a new paradigm by leveraging their superior natural language and code comprehension abilities. Despite their potential, directly applying LLMs like GPT-4 has faced challenges due to problems such as hallucinations, where the model might generate inaccurate or irrelevant results. To address this, we propose R-Bot, an LLM-based query rewrite system with a systematic approach. We first design a multi-source rewrite evidence preparation pipeline to generate query rewrite evidences for guiding LLMs to avoid hallucinations. We then propose a hybrid structure-semantics retrieval method that combines structural and semantic analysis to retrieve the most relevant rewrite evidences for effectively answering an online query. We next propose a step-by-step LLM rewrite method that iteratively leverages the retrieved evidences to select and arrange rewrite rules with self-reflection. We conduct comprehensive experiments on widely used benchmarks, and demonstrate the superior performance of our system, R-Bot, surpassing state-of-the-art query rewrite methods.
Publisher
Cornell University Library, arXiv.org
This website uses cookies to ensure you get the best experience on our website.