Verity
Ask in plain language. Get answers with guarantees.
Natural language is becoming the query language — over databases, and over document collections that were never structured at all. Verity builds query processors that translate questions into relational plans, extract the tables a question needs from raw documents, and attach an explicit statement of accuracy to the result — or abstain and ask when they cannot.
Why it matters
Language models made it easy to produce an answer to a question about data. They did not make it easy to trust one.
A text-to-SQL model always returns a query, even when the question is ambiguous. A retrieval-augmented pipeline always returns a paragraph, even when the answer requires aggregating facts scattered across ten thousand documents. Outside of benchmarks, that is precisely where these systems fail — silently.
Verity brings the discipline of query processing to this setting. Over structured data, we build text-to-SQL engines that generate SQL only when confident and otherwise open a targeted exchange with a person. Over unstructured data, ReDD — Relational Deep Dive — discovers a schema tailored to the query, fills relational tables from the documents with error-aware extraction, and then runs ordinary SQL. Think deep research, but for analytical queries, with error guarantees.
Research threads
What we are building.
Schema on demand
ReDD: given a question and a pile of documents, discover the minimal, joinable schema that question requires and populate it — no ingestion pipeline designed in advance.
Error-aware extraction
Lightweight classifiers over a language model’s hidden states detect and correct extraction mistakes, giving provable bounds on the quality of the tables a query runs on.
Knowing when not to answer
Text-to-SQL that monitors its own generation, abstains at the point of doubt — beginning with schema linking — and asks a person one precise question instead of guessing.
Optimizing LLM-powered plans
Cost-based choices between extraction, code generation and reasoning models with bounded context, across documents where text, tables and images interact.
Reading
Selected papers.
- 2026 Relational Deep Dive: Error-Aware Queries Over Unstructured DataD. Chao, K. Chen, N. Guan, N. Koudas PVLDB 19
- 2026 ReFRED: Reliable Function REtrieval for Data transformationY. Chen, N. Koudas, X. Yu EDBT 2026
- 2026 Reliable End-to-End Text-to-SQL GenerationK. Chen, Y. Chen, N. Koudas, X. Yu EDBT 2026
- 2025 Reliable Text-to-SQL with Adaptive AbstentionK. Chen, Y. Chen, N. Koudas, X. Yu PACMMOD 3 (SIGMOD)
- 2025 RTS+: Reliable Text to SQLK. Chen, Y. Chen, N. Koudas, X. Yu SIGMOD 2025 Companion
- 2024 Unstructured Data Fusion for Schema and Data ExtractionK. Chen, N. Koudas PACMMOD 2 (SIGMOD)