Learning Obfuscations Of LLM Embedding Sequences: Stained Glass Transform

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Roberts, Jay, Mylonakis, Kyle, Roy, Sidhartha, Kale, Kaan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915337068347392
author Roberts, Jay
Mylonakis, Kyle
Roy, Sidhartha
Kale, Kaan
author_facet Roberts, Jay
Mylonakis, Kyle
Roy, Sidhartha
Kale, Kaan
contents The high cost of ownership of AI compute infrastructure and challenges of robust serving of large language models (LLMs) has led to a surge in managed Model-as-a-service deployments. Even when enterprises choose on-premises deployments, the compute infrastructure is typically shared across many teams in order to maximize the return on investment. In both scenarios the deployed models operate only on plaintext data, and so enterprise data owners must allow their data to appear in plaintext on a shared or multi-tenant compute infrastructure. This results in data owners with private or sensitive data being hesitant or restricted in what data they use with these types of deployments. In this work we introduce the Stained Glass Transform, a learned, stochastic, and sequence dependent transformation of the word embeddings of an LLM which information theoretically provides privacy to the input of the LLM while preserving the utility of model. We theoretically connect a particular class of Stained Glass Transforms to the theory of mutual information of Gaussian Mixture Models. We then calculate a-postiori privacy estimates, based on mutual information, and verify the privacy and utility of instances of transformed embeddings through token level metrics of privacy and standard LLM performance benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2506_09452
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Obfuscations Of LLM Embedding Sequences: Stained Glass Transform
Roberts, Jay
Mylonakis, Kyle
Roy, Sidhartha
Kale, Kaan
Machine Learning
Computation and Language
Cryptography and Security
Information Theory
I.2.7; I.2.m
The high cost of ownership of AI compute infrastructure and challenges of robust serving of large language models (LLMs) has led to a surge in managed Model-as-a-service deployments. Even when enterprises choose on-premises deployments, the compute infrastructure is typically shared across many teams in order to maximize the return on investment. In both scenarios the deployed models operate only on plaintext data, and so enterprise data owners must allow their data to appear in plaintext on a shared or multi-tenant compute infrastructure. This results in data owners with private or sensitive data being hesitant or restricted in what data they use with these types of deployments. In this work we introduce the Stained Glass Transform, a learned, stochastic, and sequence dependent transformation of the word embeddings of an LLM which information theoretically provides privacy to the input of the LLM while preserving the utility of model. We theoretically connect a particular class of Stained Glass Transforms to the theory of mutual information of Gaussian Mixture Models. We then calculate a-postiori privacy estimates, based on mutual information, and verify the privacy and utility of instances of transformed embeddings through token level metrics of privacy and standard LLM performance benchmarks.
title Learning Obfuscations Of LLM Embedding Sequences: Stained Glass Transform
topic Machine Learning
Computation and Language
Cryptography and Security
Information Theory
I.2.7; I.2.m
url https://arxiv.org/abs/2506.09452