Research map / Adversarial robustness and security / Backdoor and poisoning
TrojanSQL: SQL Injection against Natural Language Interface to Database
Jinchuan Zhang, Yan Zhou, Binyuan Hui, Yaxin Liu, Ziming Li, Songlin Hu
Chinese Academy of Sciences · University of Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
2improved
2no clear effect
3hurt
1mixed
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 |
|---|---|---|---|
| poison training data with TrojanSQL backdoor | six fine-tuned text-to-SQL parsers · Spider dev clean set | Exact match: max drop 1.68%, average -0.42% | No clear effect |
| poison training data with TrojanSQL backdoor | DuoRAT, LGESQL, ISESQL, Proton, T5 · Spider dev | Attack success rate: 99.29 to 99.89 | Improved |
| lower the poison rate (to 1:100) (ablation) | LGESQL · Spider dev | Attack success rate: >97.5% -> 86.3% at 1:100 | Hurt |
| lower the poison rate (ablation) | LGESQL · Spider dev | Clean exact match | No clear effect |
| add more poisoned examples to the prompt (0 to 20 shots) (ablation) | Codex few-shot parser · Spider dev | Attack success rate | Improved |
| add more poisoned examples to the prompt (ablation) | Codex few-shot parser · Spider dev | Clean exact match | Hurt |
| apply ONION defense | poisoned test set · boolean-based vs union-based | Recall: boolean 96.2; union-db 80.5; union-user 74.4 | Mixed |
| apply ONION defense | mixed clean+poisoned test set · Spider dev | F1: best F1 about 70%; precision 59% | Hurt |
Closest papers by meaning
- AIA: Autoregression-Based Injection Attacks Against Text2SQL Models (AAAI 2025 · similarity 0.87)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.83)
- Concept-ROT: Poisoning Concepts in Large Language Models with Model Editing (ICLR 2025 · similarity 0.83)
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL (NeurIPS 2025 · similarity 0.82)
- Virus Infection Attack on LLMs: Your Poisoning Can Spread "VIA" Synthetic Data (NeurIPS 2025 · similarity 0.82)
- Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search (ICML 2025 · similarity 0.82)
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.
