FERN evaluates table retrieval for Text-to-SQL without a generative LLM

Paper / preprint arXiv cs.CL · Reported findings, not independently verified by us.

A new research system, FERN, ranks relevant database tables for Text-to-SQL tasks without calling a generative LLM. On Spider, which was not used to fit the ranker, it raised the share of questions with every required table among the top five from 83.9% to 95.6%.

Text-to-SQL systems first need to find the tables relevant to a question. FERN combines three frozen retrievers to produce up to 100 candidates. It describes candidates with as many as 120 features and reorders them using a LightGBM ranker fitted once on BIRD training questions. The researchers compare its results with published table-recall figures for RASL, which uses Claude 3.5 models to select tables.

At five tables, FERN’s recall on Spider was 96.7%, close to RASL’s 97.0%. On BIRD with evidence hints, the figures were 96.6% and 97.5%; without those hints, FERN’s recall was 89.3%. On 121 real BEAVER questions, FERN reached 82.1% recall at fifteen tables, but its rate of finding every required table was below that of two retrievers trained on BEAVER.

Results vary by dataset, and the paper notes that its Fiben comparison uses different question sets. On BIRD Dev, median latency was 208 milliseconds per question on one A100, with no hosted model calls. The original paper gives the experimental setup and additional measurements: arXiv: FERN

🇬🇧 https://arxiv.org/abs/2611.14477v1

Leave a Comment

The weekly brief: selected developments, projects and videos