scimeatlas

Research map / Large language models / Retrieval and knowledge

Unmasking Database Vulnerabilities: Zero-Knowledge Schema Inference Attacks in Text-to-SQL Systems

Đorde Klisura, Anthony Rios

NAACL 2025Large language models › Retrieval and knowledgeapproach: Long-context and personalized retrievalopen problems in this approach24 citations (OpenAlex)

University of Texas at San Antonio

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
4improved
1no clear effect
5hurt
2mixed

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 changedWhereMeasuredEffect
add iterative question generation and schema reconstruction (Steps 3-4) over the PSI-only attack (ablation)Schema inference attack · Spider (Table F1), T5-LargeF1: .625 -> .746Improved
add iterative refinement over PSI-only for table+column reconstruction (ablation)Schema inference attack on GPT-4 · Spider (Table+Col F1)F1: .792 -> .857Improved
add iterative refinement over PSI-only for table names (ablation)Schema inference attack on GPT-4 · Spider (Table F1)F1: .984 -> .973No clear effect
add the full pipeline over PSI (ablation)Schema inference attack on GPT-4 · BIRD (Table+Col+Type F1)F1: .304 -> .242Hurt
add a protective system prompt (Sec) to the attacked modelLlama 2 · Spider (Table F1), full attackF1: .978 -> .904Mixed
add a protective system prompt (Sec) to the attacked modelGPT-4 · Spider (Table F1), full attackF1: .973 -> .772Hurt
use purely random strings as inputs instead of adversarial questionsSchema inference attack on Code Llama · Spider (Table F1)F1: .994 -> .959Mixed
add the protective prompt under random-string inputsGPT-4 · Spider (Table F1), random inputsF1: .652 -> .014Hurt
increase initial inputs from 50 to 300 (ablation)Schema reconstruction on GPT-4 · BIRD (Table+Col F1)F1: .352 -> .601Improved
increase initial inputs from 50 to 100 (ablation)Schema reconstruction on SQLCoder · Spider (Table F1)F1: .777 -> .515Hurt
increase number of tables per databaseSchema reconstruction on SQLCoder and T5-Large · BIRD (Table F1)F1Hurt
apply the pipeline to a persona chat model, full reconstruction over single pass (ablation)Phi 2 Persona-Chat · Persona-Chat ROUGE-1ROUGE-1: .499 -> .535Improved

Open problems in long-context and personalized retrieval

How can long-term memory for LLM assistants work beyond text-only, English, synthetic and costly multi-call setups?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy