# FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking

FERN：固定リトリーバーと学習済みランキングを用いたText-to-SQL向けベンチマーク横断テーブル検索

Arjun Rao, Nishant Gopinath · arXiv · 2026年11月10日

- **課題** テーブル検索は、Text-to-SQLで不足するテーブルと不要なテーブルの両方を減らす必要がある段階です。既存手法は、ホスト型LLMの呼び出しに依存するケースが多いです。
- **手法** 3つの固定された検索器で100件の候補を作り、最大120個の特徴量を計算します。その後、BIRDの学習質問に一度だけ学習させたLightGBMランカーで並べ替えます。
- **結果** Spiderでは、recall@5がRASLより0.3点低く、recall@15は1.1点高いです。証拠ヒントがあるBIRDではrecall@5が0.9点低いです。証拠ヒントがない場合、recall@5の差は8.2点に広がります。

## テーブル検索が必要な理由と研究課題

Text-to-SQLシステムは、正解SQLが参照するテーブルを先に確保する必要があり、複数のデータベースが混在するカタログではこの検索段階が特に難しいです。不足しているテーブルがあるとクエリが誤り、不要なテーブルは生成器のコンテキストを消費します。既存研究の多くは、質問の解釈とテーブルの選択にホスト型LLMを使っており、精度のほかにコストや外部送信の問題も生じます。FERNは、この問いに生成型LLMを使わず、固定された検索器と一度だけ学習させたランカーで答えられるかを検討します。比較の基準は、RASLが公開したrecall値です。

## 固定検索器と学習済みランカーの組み合わせ

FERNは、BM25、Qwen3-Embedding-0.6B、BGE-large-en-v1.5の3つの検索信号を固定したまま使います。各テーブルは、列名を含む全体カードと、名前だけを分けた名前カードで表現されます。3つの信号の全カタログでの順位から計算したプールスコアの上位100テーブルが候補になります。プールスコアは、信号ごとの順位rankに対して1/(60+rank)を足した値で、順位は全カタログで0から数えます。その後、候補ごとにスコア、順位、データベース単位の集計、語彙の重なり、外部キーグラフなど、最大120個の特徴量を計算します。LightGBMランカーは、質問ごとの候補リストを1つのグループとみなすlambdarank目的関数で、BIRDの学習質問に一度だけ学習させます。

評価質問は学習には使われません。証拠ヒントがあるBIRDにはFERN-ev、質問のみを使うBIRDとSpiderにはFERN-q、FibenとBEA VERにはセル値と列型を使わないFERN-schemaを適用します。

![Table 2: Inputs available to each system. FERN-ev, FERN-q and FERN-schema are defined in Section 4](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-120585143de3a8976c51656ebecc55de.png?thumb=512)

**Table 2** . Inputs available to each system. FERN-ev, FERN-q and FERN-schema are defined in Section 4.

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。

![Table 6: Recall and complete@k against the candidate pool on the same catalogs. “BM25 rerank of pool” ranks the 100 candidates by BM25 score. C@k is complete@k](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-370ad301c16343ff03e8c55d96c28968.png?thumb=512)

**Table 6** . Recall and complete@k against the candidate pool on the same catalogs. “BM25 rerank of pool” ranks the 100 candidates by BM25 score. C@k is complete@k.

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの10ページ目から図の部分を抽出しています。

## RASL公開値との比較結果

Spiderでは、FERNのrecall@5が96.7で、RASLの公表値97.0より0.3点低いです。証拠ヒントがあるBIRDでは、FERNは96.6で、RASLの97.5より0.9点低いです。両データセットのrecall@15では、FERNがそれぞれ99.1と98.9で、RASLより1.1点高くなっています。ただし、RASLは最大15件を返すのに対し、FERNは正確に15件を返すため、実際の出力サイズは同じではありません。証拠ヒントがないBIRDでは、recall@5が89.3で、RASLより8.2点低いです。これらの差は著者らが報告した点の差であり、RASLの質問ごとの結果がないため、検定区間は示されていません。

Spiderでは、候補プールだけでrecall@15が98.0に達し、ランカーはcomplete@5を83.9%から95.6%に引き上げます。

![Table 5: Table recall on the pooled catalogs. RASL full uses Claude 3.5 Haiku keywords and Claude 3.5 Sonnet v2 table selection and returns at most N tables; R…](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-8ca39f42637151894c6e5a9fda34bd06.png?thumb=512)

**Table 5** . Table recall on the pooled catalogs. RASL full uses Claude 3.5 Haiku keywords and Claude 3.5 Sonnet v2 table selection and returns at most N tables; RASL retriever ranks by retrieval with the Haiku keywords, without LLM table selection. The BM25, DBCopilot, RASL retriever, and RASL full rows are from RASL’s Table 2. Differences are FERN minus RASL full, in points. FERN intervals: 95% bootstrap over questions.

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの9ページ目から図の部分を抽出しています。

![Table 7: Recall@k and complete@k for k = 1 to 8, 10, 15 and 20 (R / C)](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-5fe857a23e2f589b92a64f28244d8e6a.png?thumb=512)

**Table 7** . Recall@k and complete@k for k = 1 to 8, 10, 15 and 20 (R / C).

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。

## FibenとBEA VERへの転移結果

Fibenでは、FERN-schemaのrecall@15が54.2で、RASLの69.2より低いです。ただし両システムは異なる質問集合を使うため、直接の比較は限定的です。BEA VERの実際の121件のdw質問では、FERN-schemaのrecall@15は82.1で、対象データで学習させた2つの検索器の80.8と84.5の間にあります。一方、complete@15は49.6で、2つのベースラインの54.5と62.0より低いです。このBEA VERの比較行はNIFT-SQLの確認実行から取ったもので、対応のある区間はないため、技術的な記述としてのみ読むべきです。

![Table 1: Catalogs and test questions](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-4b373d15c693bb996bebc76fa8223131.png?thumb=512)

**Table 1** . Catalogs and test questions.

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

![Table 8: BEA VER, real questions (121) and a sample of synthetic questions (1,000). “BM25 rerank of pool” ranks the 100 candidates by BM25 score. Rows trained…](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-b962d5db2b6e6bb4c198175537e69e65.png?thumb=512)

**Table 8** . BEA VER, real questions (121) and a sample of synthetic questions (1,000). “BM25 rerank of pool” ranks the 100 candidates by BM25 score. Rows trained on BEA VER come from the NIFT- SQL confirmation run; their complete@15 values are published in Rao & Gopinath (2026, Table 9).

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの12ページ目から図の部分を抽出しています。

## 検索信号と非検索特徴量の寄与

BIRD devでは、検索信号のみを使ったランカーと非検索特徴量のみを使ったランカーのrecall@15が、それぞれ98.2と98.5程度で、ほぼ同程度です。しかし、2つの特徴量群を合わせるとcomplete@5が検索信号単独のときより7.7点高くなります。この比較はBIRD devで得た結果であり、転移データセットでは同じ特徴量群の比較を行っていないことが適用範囲です。

![Table 9: Feature groups in the frozen configuration, FERN-ev inputs. CV: database-grouped cross- validation within BIRD train with a shared unsupervised PCA (d…](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-fa526dd340ed18ef5d6561eaf66ced09.png?thumb=512)

**Table 9** . Feature groups in the frozen configuration, FERN-ev inputs. CV: database-grouped cross- validation within BIRD train with a shared unsupervised PCA (development diagnostic). The last two rows give all features minus the subset, paired over questions, with 95% bootstrap intervals; differences are computed from unrounded per-question values.

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

![Table 10: Removing one family (BIRD dev; all features minus the reduced set, 95% paired bootstrap, computed from unrounded values; twelve exploratory compariso…](https://refivu.com/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6/figures/figure-984f5141beb4933899c20b62d80d2aca.png?thumb=512)

**Table 10** . Removing one family (BIRD dev; all features minus the reduced set, 95% paired bootstrap, computed from unrounded values; twelve exploratory comparisons, not corrected for multiplicity).

[出典](https://arxiv.org/abs/2611.14477v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Arjun Rao, Nishant Gopinath · FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

## 適用範囲と残る制約

FERNが回収できるのは、プール上位100件に入っている正解テーブルだけです。平均recall@100はBIRD devで99.4、Fibenで82.8です。BIRD devとBEA VERは設計上の判断に影響を与えたため、SpiderやFibenほどクリーンな比較ではありません。RASLとの差は点差としてのみ報告されており、評価範囲はテーブル検索に限られ、SQL生成やデータベースルーティングは含みません。

## 論文情報

- **著者**: Arjun Rao, Nishant Gopinath
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月10日
- **登録日**: 2026年11月12日
- **更新日**: 2026年11月10日
- **バージョン**: v1
- **arXiv**: 2611.14477
- **カテゴリ**: cs.IR · cs.CL
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.14477v1) · [PDF ↗](https://arxiv.org/pdf/2611.14477v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Text-to-SQL systems over large pooled catalogs must first retrieve the tables a question needs. We compare against the published table recall of RASL, which uses Claude 3.5 models to extract keywords and select tables, on pooled BIRD, Spider, and Fiben catalogs. FERN (Feature-Engineered Ranking with No generative LLM) instead fuses three frozen retrievers into 100 candidates, describes each with up to 120 features, and reorders them with LightGBM rankers fitted once on BIRD's training questions. On Spider, where it was not fitted, its candidate pool alone reaches RASL's published recall at fifteen tables (98.0), and the ranker raises the share of questions with every gold table in the top five (complete@5) from 83.9% to 95.6%. At five tables, FERN's recall is within one point of RASL's on Spider (96.7 vs 97.0) and on BIRD with its evidence hints (96.6 vs 97.5), and 8.2 points below on BIRD without them (89.3). On 121 real BEAVER questions, without BEAVER fitting, its recall at fifteen (82.1) falls between two BEAVER-trained retrievers (80.8, 84.5), but its complete@15 is below both (49.6 vs 54.5 and 62.0). On Fiben, it falls far short at fifteen tables (54.2 vs 69.2, different question sets), although its recall at fifty is numerically close to RASL's question-only retrieval result (80.7 vs 79.4). On BIRD dev with evidence, non-retrieval features raise complete@5 by 7.7 points over retrieval signals alone. On BIRD dev, median latency is 208 ms per question on one A100, without hosted model calls.

## この論文を引用

Arjun Rao, Nishant Gopinath (2026). FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking. arXiv:2611.14477v1. https://arxiv.org/abs/2611.14477v1

**BibTeX**

```
@misc{rao2026fern,
  title = {{FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking}},
  author = {Arjun Rao and Nishant Gopinath},
  year = {2026},
  eprint = {2611.14477},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14477v1}
}
```

## この論文の用語

- [PCA](https://refivu.com/ja/terms/2f4628e32ef5-pca)
- [BM25](https://refivu.com/ja/terms/64437f95755a-bm25)
- [recall@K](https://refivu.com/ja/terms/2869a6105774-recall-k)
- [LightGBM](https://refivu.com/ja/terms/f06ccf9f0e61-lightgbm)
- [percentile bootstrap](https://refivu.com/ja/terms/e1689106c4f6-percentile-bootstrap)
- [Reciprocal Rank Fusion](https://refivu.com/ja/terms/c03bbd77b332-reciprocal-rank-fusion)
- [Spider](https://refivu.com/ja/terms/c5a094bf6e45-spider)
- [BIRD](https://refivu.com/ja/terms/3bebf56c82e0-bird)
- [Qwen3-Embedding-0.6B](https://refivu.com/ja/terms/04ff2afaa776-qwen3-embedding-0-6b)
- [gold tables](https://refivu.com/ja/terms/435db381ada4-gold-tables)
- [PageRank](https://refivu.com/ja/terms/0117c518692b-pagerank)
- [Text-to-SQL](https://refivu.com/ja/terms/9588cd33a188-text-to-sql)

## ほかの論文解説

- [CLADE: Category-Level Answering from Deficient Evidence in Retrieval-Augmented Language Models](https://refivu.com/ja/papers/bdf28962-0a07-49cc-8bc8-6f416db3973b-clade-category-level-answering-from-deficient-evidence-in.md)
- [BPR: Bayesian Personalized Ranking from Implicit Feedback](https://refivu.com/ja/papers/e3d177de-9c9b-45b7-bcb5-9ef28bee1dbb-bpr-bayesian-personalized-ranking-from-implicit-feedback.md)
- [Machine Learning in Automated Text Categorization](https://refivu.com/ja/papers/f3ed4c42-7556-47e0-bc36-a9acdd9bf6d0-machine-learning-in-automated-text-categorization.md)
- [Dhara: Evidence-Oriented Retrieval for Indian Knowledge Systems](https://refivu.com/ja/papers/4d1ed225-3342-4f01-941c-e14542822dce-dhara-evidence-oriented-retrieval-for-indian-knowledge.md)
- [Lightfoot: Graph Retrieval-Augmented Generation with Exact, Model-Free Document Deletion](https://refivu.com/ja/papers/ca2f413f-5381-4976-85c5-107ed66a4512-lightfoot-graph-retrieval-augmented-generation-with-exact.md)
- [When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics](https://refivu.com/ja/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15-when-greedy-is-sorting-exact-and-certified-ideal.md)
- [Bits or permutations? Spending a fixed inference budget on weight precision or on option-order averaging in small local language models](https://refivu.com/ja/papers/5fb5b2a0-188f-4bc1-abd1-1a87100c79d1-bits-or-permutations-spending-a-fixed-inference-budget.md)
- [Re-Search: Dissecting LLM Ideation Through a Two-Player Questioning Game](https://refivu.com/ja/papers/97fb5d2b-c299-4d04-a944-2bde557b7877-re-search-dissecting-llm-ideation-through-a-two.md)
- [Evaluating LLM-Generated World Models for Neuro-Symbolic Reasoning](https://refivu.com/ja/papers/763d2e28-bca3-47a1-a41e-2ce3e414adfb-evaluating-llm-generated-world-models-for-neuro-symbolic.md)
- [DailyWildfireCAN: A Dataset and Benchmark for Next-Day Wildfire Spread Prediction in Canada](https://refivu.com/ja/papers/9898e982-6bec-43ec-ba38-60b279ce9505-dailywildfirecan-a-dataset-and-benchmark-for-next-day.md)
- [BARS: Budget-Aware Sequential Sampling with Refusal for Majority Identification under Unknown Distributions](https://refivu.com/ja/papers/1ce683b9-7e01-4ab2-9f73-1997e981dfb5-bars-budget-aware-sequential-sampling-with-refusal-for.md)
- [Multimodal Abstention That Preserves Acquired Correct Answers](https://refivu.com/ja/papers/082ad681-fed0-473c-80a8-d48935d98655-multimodal-abstention-that-preserves-acquired-correct.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6-fern-cross-benchmark-table-retrieval-for-text-to)
