Research map / Large language models / Language, safety and interpretability
TinySQL: A Progressive Text-to-SQL Dataset for Mechanistic Interpretability Research
Abir Harrasse, Philip Quirke, Clement Neo, Dhruv Nathawani, Luke Marks, Amir Abdullah
Martian · Mohammed VI Polytechnic University · Apart Research · NVIDIA · Thoughtworks
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| select SAE-based circuit instead of random circuit | BM1 circuits · EAP overlap, layer 0 (CS1 on BM1-CS1-Syn) | overlap with EAP circuit: 52.62% -> 87.5% | Improved |
| SAE circuit vs random circuit | BM1-CS3-Syn · CS1, layer 0 | overlap with EAP circuit: 74.85% -> 70% | Hurt |
| zero-ablation vs random circuits (ablation) | EAP/SAE circuits · SQL circuits | recovered accuracy | Improved |
| use mean-ablation instead of zero-ablation (ablation) | circuit extraction · SQL circuits | circuit size / recovered accuracy | Mixed |
| keep entire layers when any head is important (ablation) | EAP circuits on BM2/BM3 · CS1_Syn | recovered accuracy: 5-10% -> 71.6% (BM2), 82% (BM3) | Improved |
| apply EAP to larger models (BM2/BM3) vs small BM1 | EAP head selection · CS1_Syn | recovered accuracy (heads only): 5-10% in larger models | Hurt |
| include MLPs in SAE circuit (ablation) | BM2-CS1-Syn SAE circuit · CS1 | fraction of model used: 3.17% -> 60.71% | Hurt |
| input corruption of table/field names | BM1_CS1 · CS1 | model reliance | No clear effect |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gaps (EMNLP 2025 · similarity 0.89)
- Rethinking Text-to-SQL: Dynamic Multi-turn SQL Interaction for Real-world Database Exploration (ACL 2026 · similarity 0.88)
- Exploring Schema Generalizability of Text-to-SQL (ACL 2023 · similarity 0.88)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.87)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.87)
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL (NeurIPS 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.