# Researchers introduce CAT benchmark to measure Text-to-SQL generalization from context banks

Digest AI · Research · published 2026-11-23T05:00:00Z

Canonical: https://digestai.news/story/researchers-introduce-cat-benchmark-to-measure-text-to-sql-generalizat

## Summary

A new arXiv paper identifies "context bank rot" in enterprise Text-to-SQL systems, where individually correct context entries contradict each other on key decisions like entity counting. The authors propose a decision-level comparison method using a fast scorer distilled from human-calibrated LLM judges to diagnose and repair inconsistent banks. Fine-tuning on a cleaned BIRD-train bank outperformed a random subset by 2.6 points on average, and 92.4% of removed entries were confirmed incorrect by expert audit versus 45.6% for audited entries.

The paper also introduces CAT (Context-Aware Testing), a pipeline that generates test questions at controlled distances from a context bank. On CAT-BIRD, the benefit of a context bank declines stepwise with distance and largely disappears once about three-quarters of a question's logic is new. Similar shrinkage appears for retrieval on CAT-Spider.

## Key points

- Context bank rot: individually correct entries contradict each other on key decisions
- Cleaned BIRD-train bank beats random subset by 2.6 points; 92.4% of removals confirmed wrong by expert audit

## Why it matters

Enterprise Text-to-SQL systems rely on growing context banks that become inconsistent over time. This work provides tools to audit banks and a benchmark to measure true generalization versus memorization.

## Sources

1. [Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL](https://arxiv.org/abs/2611.26775) (arXiv cs.CL, 2026-11-23, primary source)

## Cite

Digest AI, "Researchers introduce CAT benchmark to measure Text-to-SQL generalization from context banks", 23 November 2026, https://digestai.news/story/researchers-introduce-cat-benchmark-to-measure-text-to-sql-generalizat

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/researchers-introduce-cat-benchmark-to-measure-text-to-sql-generalizat.json
