paper-with-me

홈 › Papers

MaskSQL: Safeguarding Privacy for LLM-Based Text-to-SQL via Abstraction

2025-09-27 · Sepideh Abedini, Shubhankar Mohapatra, D. B. Emerson, Masoumeh Shafieinejad, Jesse C. Cresswell, Xi He arxiv

Large language models (LLMs) have shown promising performance on tasks that require reasoning, such as text-to-SQL, code generation, and debugging. However, regulatory frameworks with strict privacy requirements constrain their integration into sensitive systems. State-of-the-art LLMs are also proprietary, costly, and resource-intensive, making local deployment impractical. Consequently, utilizing such LLMs often requires sharing data with third-party providers, raising privacy concerns and risking noncompliance with regulations. Although fine-tuned small language models (SLMs) can outperform LLMs on certain tasks and be deployed locally to mitigate privacy concerns, they underperform on more complex tasks such as text-to-SQL translation. In this work, we introduce MaskSQL, a text-to-SQL framework that utilizes abstraction as a privacy protection mechanism to mask sensitive information in LLM prompts. Unlike redaction, which removes content entirely, or generalization, which broadens tokens, abstraction retains essential information while discarding unnecessary details, striking an effective privacy-utility balance for the text-to-SQL task. Moreover, by providing mechanisms to control the privacy-utility tradeoff, MaskSQL facilitates adoption across a broader range of use cases. Our experimental results show that MaskSQL outperforms leading SLM-based text-to-SQL models and achieves performance approaching state-of-the-art LLM-based models, while preserving privacy.

📄 PDF Abstract BibTeX arXiv:2509.23459

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Synthetic Data and Health Privacy

2025-01-13 · Gwénolé Abgrall, Xavier Monnet, Anmol Arora

This Viewpoint discusses generative artificial intelligence and safeguarding privacy by using synthetic data as a substitute for private health data.

Introducing the Privacy-HSD Trade-off: Hate Speech Detection, but not at the Cost of Privacy

2026-08-19 · Stephen Meisenbacher, Vlad Garbuz, Chirill Donos, Maxim Dnestreanschii 외 arxiv

Hate speech is a real and timely threat that affects a large portion of online users, especially youth and minority groups. While building reliable and robust automatic hate speech detection (HSD) systems is paramount, w…

Hate Speech Detection

Protecting Users From Themselves: Safeguarding Contextual Privacy in Interactions with Conversational Agents

2025-02-22 · Ivoline Ngong, Swanand Kadhe, Hao Wang, Keerthiram Murugesan 외

Conversational agents are increasingly woven into individuals' personal lives, yet users often underestimate the privacy risks involved. The moment users share information with these agents (e.g., LLMs), their private in…

PrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners

2023-10-03 · Yijia Xiao, Yiqiao Jin, Yushi Bai, Yue Wu 외

The proliferation of Large Language Models (LLMs) has driven considerable interest in fine-tuning them with domain-specific data to create specialized language models. Nevertheless, such domain-specific fine-tuning data …

Reducing Privacy Risks in Online Self-Disclosures with Language Models

2023-11-16 · Yao Dou, Isadora Krsek, Tarek Naous, Anubha Kabra 외

Self-disclosure, while being common and rewarding in social media interaction, also poses privacy risks. In this paper, we take the initiative to protect the user-side privacy associated with online self-disclosure throu…

EthicsLanguage Modelling