arXiv:2609.06749cs.CRSep 2026

Manuscript Offprint

arXiv:2609.06749

A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs

Sicong Li, Lingfeng Yao, Xingke Yang, Ke Tu, Chenhao Wu, Hao Wang, Jiang Liu, Phone Lin, Xin Fu, Miao Pan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

With the widespread applications of large language models (LLMs), privacy-preserving inference has become increasingly essential for sensitive queries. To balance privacy and utility, a series of lightweight obfuscation approaches has recently been proposed, where users locally transform plaintext embeddings into the fixed ciphertext ones. While such Embedding-to-Embedding Obfuscation (E2EO) schemes demonstrate considerable resilience against traditional token frequency and embedding inversion attacks, the core mechanism behind remains to be the large-scale one-to-one substitution, which provides no cryptographic guarantees. In this paper, we propose Proxy Manifold Alignment (PMA), a novel attack against E2EO in privacy-preserving LLMs. Our key observation is that E2EO schemes keep the original semantic structure, so that the obfuscated vector stream can be regarded as an unknown tokenizer-language whose symbols are the vectors themselves. Therefore, the proposed ciphertext to plaintext reconstruction attack can be formulated as a translation task from the unknown tokenizer-language to plaintext. Specifically, by only accessing the obfuscated vector stream, the target tokenizer and a public corpus, the PMA attack first employs Word2Vec to model the co-occurrence patterns within the obfuscated stream and the public corpus independently, and constructs two proxy vector embeddings. Then, the attack aligns the underlying manifolds of these two embeddings based on structural similarity. Finally, it maps the obfuscated vectors back to plaintext. Experimental results demonstrate that PMA consistently achieves higher plaintext recovery than other state-of-the-art attack methods.

1 Introduction

Driven by their powerful generative capabilities, Large Language Models (LLMs) have seen widespread adoption across diverse domains, including privacy-sensitive applications like finance,

Figure

Figure 1: A typical Embedding-to-Embedding Obfuscation-based privacy-preserving inference scenario. The server only processes the obfuscated embedding stream during inference.

healthcare, and legal services (Wu et al., 2023; Singhal et al., 2025; Cui et al., 2026). However, due to the prohibitive computational costs of local LLM deployment, users typically rely on the Machine Learning as a Service (MLaaS) paradigm (Cai et al., 2025) to offload computation to remote servers. This remote access exposes user inputs and model outputs to privacy risks, allowing honest-but-curious attackers (Li et al., 2024) to infer user's sensitive information, as shown in Fig. 1.

To address these privacy concerns, traditional privacy-enhancing technologies such as Secure Multi-Party Computation (MPC) (Pang et al., 2024), Fully Homomorphic Encryption (FHE) (Moon et al., 2025), and Trusted Execution Environments (TEE) (Wilke et al., 2024) have been proposed. Those methods provide strong privacy guarantees, strictly preventing any inference of user intentions; however, they introduce substantial computational and communication overhead. For example, state-of-the-art FHE-based systems (de Castro et al., 2025; Moon et al., 2025; Zhang et al., 2026) take several seconds to generate a single token, resulting in prohibitive latency for practical deployment.

In this context, the lightweight approaches that we collectively categorize as Embedding-to-

Embedding Obfuscation (E2EO) have emerged (Lin et al., 2025; Mishra et al., 2024; Kim and Kang, 2026), where the user locally applies a fixed transformation to the original input before uploading it, thereby protecting the original content from the untrusted server (see Fig. 1). Unlike approaches that add random noise to embeddings (Zhou et al., 2023a), which map the same input to different representations and result in irreversible performance degradation (Du et al., 2023; Zhou et al., 2023b), this E2EO design constitutes a deterministic one-to-one mapping, allowing the model to achieve near-plaintext inference performance through fine-tuning. Such high-utility inference supports complex generative tasks (unattainable for existing random noise-based designs) (Lin et al., 2025), presenting a seemingly ideal solution that both protects user privacy and preserves inference utility.

By fundamentally disrupting the numerical structure of the embedding space, advanced E2EO methods successfully withstand traditional token frequency attacks (Chiu et al., 2025; Nie et al., 2024) and embedding inversion attacks (Lin et al., 2025; Qu et al., 2021; Du and Zaki, 2021). However, the underlying mechanism of this approach relies on a large-scale one-to-one mapping, providing security by obscurity rather than provable cryptographic guarantee.

As a result, even if the numerical values of all the obfuscated vectors are completely randomized, the uploaded vector stream still perfectly maintains the sentence structures. This is like a massive token-level Caesar cipher. Given this structural vulnerability, we shift our focus from surface-level numerical decryption to underlying semantic alignment: we treat the obfuscated vector stream as a novel “tokenizer-language,” where each distinct obfuscated vector acts as a unique “symbol.” This shift of perspective allows us to leverage techniques from unsupervised bilingual alignment (Ravi and Knight, 2011) to achieve plaintext recovery, thereby reframing the attack as a translation task. Furthermore, this formulation enables a universal attack that bypasses numerical obfuscation, exposing the inherent vulnerabilities of this paradigm.

In this paper, we propose Proxy Manifold Alignment (PMA), a novel attack designed to defeat virtually any method built upon this obfuscation paradigm, requiring no access to original embedding values, paired data, or prior knowledge of the underlying E2EO mechanism. Specifically, instead of relying on the original embeddings, PMA con-

structs two proxy semantic spaces derived from the obfuscated stream and a public text corpus, respectively. By aligning their semantic manifolds, we translate the unknown tokenizer-language directly into plaintext. Extensive experiments demonstrate that PMA achieves strong recovery across diverse application scenarios, model architectures, and obfuscation mechanisms, even in challenging cross-dataset settings. This exposes an inherent security limitation of E2EO designs, independent of its specific implementation.

The main contributions of this paper are as follows:

  • We highlight the structural vulnerabilities of E2EO schemes by introducing a novel perspective: because this paradigm inevitably preserves the original semantic structure, we treat the obfuscated vector stream as a foreign “tokenizer-language,” thereby reframing the attack as a translation task.
  • We propose Proxy Manifold Alignment (PMA), a novel attack that recovers plaintext by independently modeling the co-occurrence patterns of the “tokenizer-language,” constructing two semantic spaces, and subsequently aligning their underlying manifolds based on structural similarity.
  • Through extensive experiments, we demonstrate that PMA consistently achieves robust plaintext recovery performance (exceeding 80 ROUGE-L) against various state-of-the-art E2EO methods across diverse settings.