A novel method for input privacy from LLMs

The Stained Glass Transform is a transformer-based network trained to scramble token embeddings while preserving their utility under LLM inference. The output is somewhat magical: the model still produces coherent output but the original prompt is unrecoverable.