mlsanityData to 14 Oct 2026

SentinelLMs: Encrypted Input Adaptation and Fine-tuning of Language Models for Private and Secure Inference

arXiv 2312.17342 ↗First posted 28 Dec 2023cs.CR cs.AI cs.CLcited by 9

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  7. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  8. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
  9. 2021Differentially Private Fine-tuning of Language Modelscited by 400
  10. 2020Information Leakage in Embedding Modelscited by 203
  11. 2021Pretrained Language Models for Text Generation: A Surveycited by 95
  12. 2021Natural Language Understanding with Privacy-Preserving BERTcited by 55
2 more
  1. 2018Private Model Compression via Knowledge Distillationcited by 37
  2. 2022Privacy-Preserving Text Classification on BERT Embeddings with Homomorphic Encryptioncited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.