AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

SecureSQL: Evaluating Data Leakage of Large Language Models as Natural Language Interfaces to Databases

Yanqi Song, Ruiheng Liu, Shu Chen, Qianhao Ren, Yu Zhang, Yongqi Yu

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMs20 citations (OpenAlex)

Harbin Institute of Technology · Xi’an Research Institute of High-Tech

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

12measured effects
5improved
1no clear effect
6hurt

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 COT-based auxiliary LLM guardianQwen1.5-32B · SecureSQLaccuracy: 61.7 -> 70.1 (+8.4)Improved
add COT-based auxiliary LLM guardianGPT-4o · SecureSQLaccuracy: 60.5 -> 72.3 (+11.8)Improved
add COT-based auxiliary LLM guardianCodeLlama-7B · SecureSQLaccuracy: 53.5 -> 50.6 (-2.9)Hurt
add COT-based auxiliary LLM guardianGPT-4o · SecureSQL, Prior (PR) samplesaccuracy: -5.5Hurt
add COT-based auxiliary LLM guardianGPT-4o · SecureSQL, Reasoning (RE) and Suspicious (SU) samplesaccuracy: +22.4 on RE; +26.5 on SUImproved
apply hybrid prompt injection (all four prompts)GPT-4o · SecureSQLrecall: -83.4 (to 0.0)Hurt
apply Prompt1 (common prompt injection)GPT-4o · SecureSQLrecall: -46.2 (to 37.2)Hurt
apply Prompt3 (task-specific prompt injection)GPT-4o · SecureSQLrecall: -61.5 (to 21.9)Hurt
add few-shot examples (1/3/5-shot) to the prompt (ablation)GPT-4o · SecureSQLaccuracy: 60.2 (zero-shot) -> 60.5 (5-shot best)Improved
add few-shot examples (1/3/5-shot) to the prompt (ablation)Llama3-70B · SecureSQLaccuracy: 60.7 (zero-shot) -> 60.3 (3-shot)Hurt
add few-shot examples (ablation)most models · SecureSQLaccuracyNo clear effect
increase model size within Qwen1.5 family (ablation)Qwen1.5 · SecureSQL (zero-shot)accuracy: 51.9 (7B) -> 59.4 (32B) -> 60.0 (72B)Improved

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