From Benchmarks to Production: A Text-to-SQL System for Complex Financial Data

Arijit Sehanobish, Bruno Gomes Coelho, Guillaume Michel, Sophia Zhi, Valerie Faucon-Morin +1 more
10/2/2026
cs.AIcs.DBcs.LG

No confident code implementation found for this paper.

Abstract

General-purpose Text-to-SQL systems achieve strong performance on academic benchmarks like Spider and BIRD, where schemas are relatively shallow and column values are often human readable. In production financial databases, where concepts are stored as opaque integer keys rather than human-readable strings, these methods fall below 50%, as even simple queries require multiple joins and filter predicates reference opaque IDs.

Show full abstract

We present Financial LINking Text-to-SQL (FLINT), a domain-specialized Text-to-SQL system that closes this gap through three key components: (1) a lookup agent that dynamically resolves natural-language concepts to question-specific reference table constraints, (2) embedding-based retrieval of structurally similar query templates from a compact, expert-authored bank, and (3) schema linking that prunes a large table schema to the relevant subset by traversing foreign-key chains, rather than relying on name similarity alone. We evaluate on two datasets totaling 359 questions over production financial schemas. FLINT outperforms various state-of-the-art baselines using the same LLM. The system is deployed in production as part of a financial data retrieval service.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sehanobish2026from,
  title  = {From Benchmarks to Production: A Text-to-SQL System for Complex Financial Data},
  author = {Arijit Sehanobish and Bruno Gomes Coelho and Guillaume Michel and Sophia Zhi and Valerie Faucon-Morin and Kristen Howell},
  year   = {2026},
  eprint = {2610.03524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.03524v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.03524.svg)](https://codeofpaper.com/paper/2610.03524)

Discussion