Retrieval Step Trimmed Context Without Lifting Accuracy in 1,534-Question SQL Test
A developer tested retrieval-augmented generation on the BIRD Text-to-SQL development set, using 1,534 questions over real databases. The retrieval step, known as schema linking, kept about 96.5% of the needed tables when using embedding search. Despite cutting the context, accuracy did not significantly improve over giving the model the full schema. One word-matching retriever actually reduced accuracy for one model by 4.2 points. The author argues that retrieval only helps when the material is too large to fit in the model's window, which is often not true for database schemas.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in