mlsanityData to 7 Oct 2026

CAPID: Context-Aware PII Detection for Question-Answering Systems

arXiv 2602.10074 ↗First posted 10 Feb 2026cs.CR cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Detecting personally identifiable information (PII) in user queries is critical for ensuring privacy in question-answering systems. Current approaches mainly redact all PII, disregarding the fact that some of them may be contextually relevant to the user's question, resulting in a degradation of response quality. Large language models (LLMs) might be able to help determine which PII are relevant, but due to their closed source nature and lack of privacy guarantees, they are unsuitable for sensitive data processing. To achieve privacy-preserving PII detection, we propose CAPID, a practical approach that fine-tunes a locally owned small language model (SLM) that filters sensitive information before it is passed to LLMs for QA. However, existing datasets do not capture the context-dependent relevance of PII needed to train such a model effectively. To fill this gap, we propose a synthetic data generation pipeline that leverages LLMs to produce a diverse, domain-rich dataset spanning multiple PII types and relevance levels. Using this dataset, we fine-tune an SLM to detect PII spans, classify their types, and estimate contextual relevance. Our experiments show that relevance-aware PII detection with a fine-tuned SLM substantially outperforms existing baselines in span, relevance and type accuracy while preserving significantly higher downstream utility under anonymization.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 14 of its 26 references that are in the map. First posted on arXiv 10 Feb 2026.

Builds on

14 of 26 references.

References · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
  4. 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 240
  5. 2022The Text Anonymization Benchmark (TAB): A Dedicated Corpus and Evaluation Framework for Text Anonymizationcited by 94
  6. 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
  7. 2025Protecting Users From Themselves: Safeguarding Contextual Privacy in Interactions with Conversational Agentscited by 26
  8. 2024Unique Security and Privacy Threats of Large Language Models: A Comprehensive Surveycited by 20
  9. 2021A Privacy-Preserving Approach to Extraction of Personal Information through Automatic Annotation and Federated Learningcited by 12
  10. 2022Bootstrapping Text Anonymization Models with Distant Supervisioncited by 8
  11. 2025PII-Bench: Evaluating Query-Aware Privacy Protection Systemscited by 7
  12. 2024The Empirical Impact of Data Sanitization on Language Modelscited by 6
2 more
  1. 2022Which anonymization technique is best for which NLP task? -- It depends. A Systematic Study on Clinical Text Processingcited by 3
  2. 2025Protecting Vulnerable Voices: Synthetic Dataset Generation for Self-Disclosure Detectioncited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.