SentinelLMs: Encrypted Input Adaptation and Fine-tuning of Language Models for Private and Secure Inference
Not on the map. Why?
Abstract (arXiv)
This paper addresses the privacy and security concerns associated with deep neural language models, which serve as crucial components in various modern AI-based applications. These models are often used after being pre-trained and fine-tuned for specific tasks, with deployment on servers accessed through the internet. However, this introduces two fundamental risks: (a) the transmission of user inputs to the server via the network gives rise to interception vulnerabilities, and (b) privacy concerns emerge as organizations that deploy such models store user data with restricted context. To address this, we propose a novel method to adapt and fine-tune transformer-based language models on passkey-encrypted user-specific text. The original pre-trained language model first undergoes a quick adaptation (without any further pre-training) with a series of irreversible transformations applied to the tokenizer and token embeddings. This enables the model to perform inference on encrypted inputs while preventing reverse engineering of text from model parameters and intermediate outputs. After adaptation, models are fine-tuned on encrypted versions of existing training datasets. Experimental evaluation employing adapted versions of renowned models (e.g., BERT, RoBERTa) across established benchmark English and multilingual datasets for text classification and sequence labeling shows that encrypted models achieve performance parity with their original counterparts. This serves to safeguard performance, privacy, and security cohesively.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 14 of its 27 references that are in the map. First posted on arXiv 28 Dec 2023.
Builds on
14 of 27 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
- 2021Differentially Private Fine-tuning of Language Modelscited by 400
- 2020Information Leakage in Embedding Modelscited by 203
- 2021Pretrained Language Models for Text Generation: A Surveycited by 95
- 2021Natural Language Understanding with Privacy-Preserving BERTcited by 55
2 more
Built on by
Citing papers per year: 2025: 2; 2026: 7.
9 papers.
- 2025SoK: Semantic Privacy in Large Language Modelscited by 3
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communicationscited by 2
- 2026AlienLM: Alienization of Language for API-Boundary Privacy in Black-Box LLMscited by 2
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
- 2026Selective Token-Level Cryptographic Redaction for Privacy-Preserving Clinical Deployment of Large Language Modelscited by 0
- 2026Privacy from Symmetry: Orthogonally Equivariant Transformers for LLM Inferencecited by 0
- 2026DeepInvert: Semi-Supervised Embedding Inversion Against Obfuscated Language Modelscited by 0
- 2026PrivBench: A Holistic and Modular Benchmarking Platform for Evaluating Text-to-Text Privatizationcited by 0
- 2026A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMscited by 0
- 2026A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs6 Sep 2026
- 2026PrivBench: A Holistic and Modular Benchmarking Platform for Evaluating Text-to-Text Privatization30 Aug 2026
- 2026DeepInvert: Semi-Supervised Embedding Inversion Against Obfuscated Language Models5 Aug 2026
- 2026Privacy from Symmetry: Orthogonally Equivariant Transformers for LLM Inference15 Jun 2026
- 2026Selective Token-Level Cryptographic Redaction for Privacy-Preserving Clinical Deployment of Large Language Models2 Jun 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026AlienLM: Alienization of Language for API-Boundary Privacy in Black-Box LLMs30 Jan 2026
- 2025SoK: Semantic Privacy in Large Language Models30 Jun 2025
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communications28 May 2025