Research Article

Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework

Volume: 9 Number: 4 July 15, 2026
EN TR

Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework

Abstract

Retrieval-Augmented Generation (RAG) makes it possible to enhance output from Large Language Models (LLMs) with retrieval-based evidence; however, these systems can also introduce privacy vulnerabilities, and in particular, Membership Inference Attacks (MIAs). Specifically, Differential Privacy (DP) is a well-established methodology for protecting privacy; however, applying static perturbation strategies, typically used in low-dimensional spaces, will result in degradation of semantic utility due to the high dimensionality of the embedding spaces. To solve this privacy-utility problem, we present PADP, a sensitivity-aware perturbation framework inspired by differential privacy principles, which provides a plug-and-play, middleware framework that can be easily integrated into enterprise RAG pipelines without requiring costly computations for LLM fine-tuning and reconstruction of vector indices. PADP uses Named Entity Recognition (NER) based on DeBERTa-v3 to perform sensitivity assessments of documents at the document level on an offline basis, computing PII sensitivity scores for each document. These scores are then used to adaptively calibrate the application of Laplace perturbations to dense query embeddings during retrieval. PADP assigns more protection to the higher-risk content and less to the lower-risk content than static perturbation methods would typically do, thereby increasing the effectiveness of retrieval. PADP draws on concepts from Differential Privacy; nonetheless, it does not furnish formal database-level Differential Privacy guarantees under conventional adjacency definitions. Consequently, the proposed framework should be understood as an adaptive privacy-enhancement mechanism rather than as a formally guaranteed Differential Privacy mechanism. Through the evaluation of the performance of PADP across diverse datasets by way of retrieval effectiveness metrics and distinguishability analysis, its comparison with static embedding perturbation baseline methods affords a contextual statistical analysis which indicates that adaptive sensitivity aware perturbation preserves semantic retrievability while dampening membership based distinguishability signals under the conditions of the study. These findings position sensitivity-aware perturbation as a practical approach to enhancing privacy in Retrieval-Augmented Generation systems while preserving utility.

Keywords

Ethical Statement

Ethics committee approval was not required for this study because of there was no study on animals or humans.

Thanks

This article was written as part of a doctoral dissertation at the Istanbul University-Cerrahpasa Institute of Graduate Studies.

References

  1. Anderson, M., Amit, G., & Goldsteen, A. (2025). Is my data in your retrieval database? Membership inference attacks against retrieval augmented generation. In Proceedings of the International Conference on Information Systems Security and Privacy (pp. 345–354). SCITEPRESS. https://doi.org/10.5220/0013108300003899
  2. Azzam, R., Musamih, A., Gebreab, S. A., Salah, K. H., & Omar, M. A. (2026). Agentic LLM for anonymizing healthcare data with contextual awareness. Knowledge-Based Systems, 312, Article 116034. https://doi.org/10.1016/j.knosys.2026.116034
  3. Castagnaro, A., Salviati, U., Conti, M., Pajola, L., & Pizzi, S. (2025). The hidden threat in plain text: Attacking RAG data loaders. In Proceedings of the 18th ACM Workshop on Artificial Intelligence and Security (AISec 2025) (pp. 45–56). ACM. https://doi.org/10.1145/3733799.3762976
  4. Chen, B., Han, N., & Miyao, Y. (2025). A statistical and multi-perspective revisiting of the membership inference attack in large language models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 1124–1138). ACL. https://doi.org/10.18653/v1/2025.acl-long.1114
  5. Dwork, C., McSherry, F., Nissim, K., & Smith, A. D. (2006). Calibrating noise to sensitivity in private data analysis. In Theory of Cryptography Conference (pp. 265–284). Springer. https://doi.org/10.1007/11681878_14
  6. Emelyanov, A. A., Kudriashov, S., & Alena, F. S. (2026). FiMMIA: Scaling semantic perturbation-based membership inference across modalities. In Proceedings of the Conference of the European Chapter of the Association for Computational Linguistics (EACL 2026) (pp. 89–94). ACL. https://doi.org/10.18653/v1/2026.eacl-demo.11
  7. Eyupoglu, C., Aydin, M. A., Zaim, A. H., & Sertbas, A. (2018). An efficient big data anonymization algorithm based on chaos and perturbation techniques. Entropy, 20(5), Article 373. https://doi.org/10.3390/e20050373
  8. Ferrag, M. A., Tihanyi, N., Hamouda, D., Lakas, A., & Debbah, M. A. (2026). From prompt injections to protocol exploits: Threats in LLM-powered AI agents workflows. ICT Express, 12(1), 15–28. https://doi.org/10.1016/j.icte.2025.12.001

Details

Primary Language

English

Subjects

Information Security Management

Journal Section

Research Article

Publication Date

July 15, 2026

Submission Date

June 15, 2026

Acceptance Date

July 9, 2026

Published in Issue

Year 2026 Volume: 9 Number: 4

APA
Mandaci, S., Vural, Y., & Turna, Ö. C. (2026). Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework. Black Sea Journal of Engineering and Science, 9(4), 2039-2054. https://doi.org/10.34248/bsengineering.1971136
AMA
1.Mandaci S, Vural Y, Turna ÖC. Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework. BSJ Eng. Sci. 2026;9(4):2039-2054. doi:10.34248/bsengineering.1971136
Chicago
Mandaci, Seçkin, Yılmaz Vural, and Özgür Can Turna. 2026. “Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework”. Black Sea Journal of Engineering and Science 9 (4): 2039-54. https://doi.org/10.34248/bsengineering.1971136.
EndNote
Mandaci S, Vural Y, Turna ÖC (July 1, 2026) Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework. Black Sea Journal of Engineering and Science 9 4 2039–2054.
IEEE
[1]S. Mandaci, Y. Vural, and Ö. C. Turna, “Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework”, BSJ Eng. Sci., vol. 9, no. 4, pp. 2039–2054, July 2026, doi: 10.34248/bsengineering.1971136.
ISNAD
Mandaci, Seçkin - Vural, Yılmaz - Turna, Özgür Can. “Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework”. Black Sea Journal of Engineering and Science 9/4 (July 1, 2026): 2039-2054. https://doi.org/10.34248/bsengineering.1971136.
JAMA
1.Mandaci S, Vural Y, Turna ÖC. Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework. BSJ Eng. Sci. 2026;9:2039–2054.
MLA
Mandaci, Seçkin, et al. “Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework”. Black Sea Journal of Engineering and Science, vol. 9, no. 4, July 2026, pp. 2039-54, doi:10.34248/bsengineering.1971136.
Vancouver
1.Seçkin Mandaci, Yılmaz Vural, Özgür Can Turna. Privacy-Aware Adaptive Differential Privacy for Semantic Retrieval: A Pii-Aware Dynamic Budget Allocation Framework. BSJ Eng. Sci. 2026 Jul. 1;9(4):2039-54. doi:10.34248/bsengineering.1971136

                            24890