Skip to content

PMA attack: a semantic manifold alignment method against embedding-to-embedding obfuscation in privacy-preserving LLMsA Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs

arXiv: Alignment, Deception & Oversight· arXiv:2609.06749· Sicong Li, Lingfeng Yao, Xingke Yang, Ke Tu, Chenhao Wu, Hao Wang, Jiang Liu, Phone Lin, Xin Fu, Miao Pan·Indexed by this site · 2026-10-01· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose PMA, treating the E2EO obfuscated vector stream as an unknown tokenizer-language, and use Word2Vec with manifold alignment to recover plaintext; on SST-2, BERT, and ObfusLM, ROUGE-L reaches 98.8.

Threat modelAn honest-but-curious MLaaS server only sees the obfuscated vector stream Z after a fixed one-to-one E2EO transformation, and does not know the mechanism, key, mapping, or plaintext-ciphertext pairs; it knows the target tokenizer T; it is divided into Task-Aware and Task-Agnostic, and the goal is to recover a sequence semantically equivalent to the plaintext.

Questions
E2EO protects uploaded embeddings with fixed one-to-one substitution, which can block word frequency and numerical inversion, but preserves the original sentence structure and offers no cryptographic guarantees. An honest-but-curious server may recover sensitive plaintext from this.
Methods
PMA treats the obfuscated vector stream as an unknown tokenizer-language, uses Word2Vec to separately build proxy semantic spaces for the ciphertext and public corpus, and then uses Gromov-Wasserstein alignment on high-frequency anchors and mutual nearest neighbor iteration to obtain a global one-to-one substitution.
Experiments and results
The authors report ROUGE-L exceeding 80 across multiple E2EOs, models, and datasets; on SST-2, BERT against ObfusLM is 98.8. In the code domain, it drops to 4.9 when using C4 as the reference, and returns to 99.1 after switching to a code corpus.
Limitations and future work
The authors note that PMA mainly targets one-to-one mappings, may not work well for dynamic one-to-many cases, and requires sufficient observations and public corpora related to the private text. Experiments cover six models, five types of E2EO, and cross-domain settings.
Experimental setupBERT-base、RoBERTa-base et al. · SST-2、Alpaca et al. · ROUGE-L、Top-1 accuracy et al.
Evaluated models
BERT-baseRoBERTa-baseT5-baseLlama-2 (7B)Llama-3 (8B)Gemma-7B
Benchmarks
SST-2AlpacaC4RedPajamaOpenWebTextLMSYS-Chat-1MCNN NewsHacker NewsThe Stack V2
Metrics
ROUGE-LTop-1 accuracyTop-3 accuracyAvg. Time (min)
AI summaryThe authors propose Proxy Manifold Alignment (PMA), a ciphertext-to-plaintext reconstruction attack against Embedding-to-Embedding Obfuscation (E2EO) schemes in privacy-preserving LLMs. Its core observation is that E2EO preserves the original semantic structure, so the obfuscated vector stream can be viewed as an unknown tokenization language in which the symbol is the vector itself, and the attack is modeled as a translation task from that unknown language to plaintext. PMA only needs access to the obfuscated vector stream, the target tokenizer, and a public corpus. It first uses Word2Vec to separately model the co-occurrence patterns of the obfuscated stream and the public corpus and builds two proxy embedding vectors, then aligns the underlying manifolds of the two based on structural similarity, and finally maps the obfuscated vectors back to plaintext. Experimental results show that PMA's plaintext recovery performance consistently exceeds other SOTA attack methods.

The authors propose Proxy Manifold Alignment (PMA), a ciphertext-to-plaintext reconstruction attack against Embedding-to-Embedding Obfuscation (E2EO) schemes in privacy-preserving LLMs. Its core observation is that E2EO preserves the original semantic structure, so the obfuscated vector stream can be viewed as an unknown tokenization language in which the symbol is the vector itself, and the attack is modeled as a translation task from that unknown language to plaintext. PMA only needs access to the obfuscated vector stream, the target tokenizer, and a public corpus. It first uses Word2Vec to separately model the co-occurrence patterns of the obfuscated stream and the public corpus and builds two proxy embedding vectors, then aligns the underlying manifolds of the two based on structural similarity, and finally maps the obfuscated vectors back to plaintext. Experimental results show that PMA's plaintext recovery performance consistently exceeds other SOTA attack methods.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    E2EO only performs large-scale one-to-one replacement while preserving semantic structure; PMA must translate the obfuscated vector stream back into plaintext.

    E2EO hides embeddings with large-scale one-to-one substitution while fully preserving the original sentence's semantic structure. Can an honest-but-curious server translate the plaintext back using only the obfuscated vector stream?

    • Scenario: Users hand sensitive queries (finance, medical, legal, etc.) to a remote MLaaS. Deploying an LLM locally is costly, and uploading plaintext lets an honest-but-curious server infer sensitive information (Figure 1). MPC, FHE, and TEE provide strong privacy guarantees, but the authors state that FHE systems take seconds to generate a single token, making latency too high.
    • Existing shortcomings: The authors group a class of lightweight methods under Embedding-to-Embedding Obfuscation (E2EO): the user applies a fixed transformation locally before uploading. It is a deterministic one-to-one mapping that, after fine-tuning, approaches plaintext inference utility and can handle generation tasks that random noise schemes cannot. The authors state that it blocks token frequency attacks and embedding inversion, but the security comes from obscurity, with no provable cryptographic guarantees.
    • Core observation: Even when the values are fully randomized, the uploaded vector stream retains the original sentence structure, similar to a large-scale token-level Caesar cipher. The authors view the obfuscated vector stream as an unknown tokenizer-language, where the symbols are the individual vectors, and thus frame recovery as translation from that language to plaintext.
    • Threat model:
      • Goal: The user's plaintext token sequence x is obfuscated by an unknown one-to-one mapping to obtain Z. The attacker outputs x̂ = F(Z), with success condition Sim(x, x̂) ≥ η, where Sim is e.g. ROUGE-L and η ∈ [0, 1] (Eq. (1), Section 3.1).
      • Knowledge: Only the obfuscated stream is seen; the E2EO mechanism, key, mapping rule, and plaintext-ciphertext pairs are unknown; the attacker is assumed to know the target LLM's tokenization scheme T. The authors believe this matches deployments where existing E2EO methods mostly use public models rather than closed-source tokenizers that are unavailable.
      • Two types of priors: Task-Aware knows the task type but has no user samples; Task-Agnostic has neither samples nor knowledge of the task and uses only general public corpora. The authors state that the task type can be inferred from side channels such as API, application signatures, packet length, or OSINT.
      • Victim system: a remote server performing inference on obfuscated vectors; it does not require the original embeddings, paired data, or priors about a specific E2EO method.
    • Proposed method: The authors propose Proxy Manifold Alignment (PMA), which models co-occurrence for the obfuscated stream and public corpus separately, aligns the two proxy manifolds, and then maps the obfuscated vectors back to plaintext. The authors state that this exposes the structural leakage of the E2EO paradigm itself, rather than depending on a particular implementation.
  2. What related research exists?

    Related work is divided into E2EO approaches, three types of existing attacks, and unsupervised bilingual alignment; PMA does not rely on weights, parallel data, or stable word frequency.

    In the introduction and Section 2, the paper divides related work into E2EO, existing attacks, and unsupervised alignment as the methodological inspiration.

    • Heavyweight privacy computation: MPC (Pang et al., 2024), FHE (Moon et al., 2025; de Castro et al., 2025; Zhang et al., 2026), and TEE (Wilke et al., 2024) provide strong privacy but incur high computation and communication overhead. Adding random noise to embeddings (Zhou et al., 2023a) makes the same input correspond to different representations and causes irreversible utility degradation (Du et al., 2023; Zhou et al., 2023b).
    • Existing E2EO: ObfusLM (Lin et al., 2025) hides tokens via embedding clustering and permutation; SentinelLMs (Mishra et al., 2024) uses distance-preserving geometric transformations; CodeCipher (Lin et al., 2024) uses row-wise matrix permutation for deterministic token obfuscation; STIP (Yuan et al., 2024) rearranges intermediate representations; AlienLM (Kim and Kang, 2026) bijectively maps each plaintext token to a substitute token. The authors believe these methods all rely on deterministic one-to-one mappings and fully preserve the original sentence structure, and are therefore vulnerable to PMA.
    • Existing attacks against E2EO (Table 1): numeric methods rely on local neighborhoods and fail once the space is shuffled, including KNN (Qu et al., 2021), SDA (Kambhatla et al., 2018), ERA (Lin et al., 2025); supervised methods such as InvBert (Kugler et al., 2024) require model weights and large-scale parallel data; statistical methods such as TFA (Nie et al., 2024; Chiu et al., 2025) align token frequencies, but modern LLM vocabularies are large with sparse long tails, and the authors believe alignment is unreliable. In Table 1, PMA requires no model weights, parallel data, or same-distribution auxiliary data, and recovery relies on the semantic manifold.
    • Unsupervised alignment: The attack is inspired by unsupervised bilingual alignment (Ravi and Knight, 2011) and Gromov-Wasserstein word vector alignment (Alvarez-Melis and Jaakkola, 2018). Appendix F also compares MUSE (Lample et al., 2018) and VecMap (Artetxe et al., 2018). Iterative mutual nearest neighbor refinement follows Artetxe et al. (2018).

    Baseline methods and benchmarks/datasets: attack baselines are KNN, SDA, ERA, TFA, InvBert; the attacked E2EO methods are ObfusLM, SentinelLMs, AlienLM, CodeCipher, STIP, and static random obfuscation. Comparison experiments use SST-2 and Alpaca; cross-domain uses C4, RedPajama, OpenWebText, LMSYS-Chat-1M, CNN News, Hacker News, and The Stack V2.

    The authors position PMA as semantic recovery that does not rely on numeric similarity, parallel data, or stable token frequencies, and reframe the attack as translating the preserved semantic structure.

  3. How does the paper address this problem?

    PMA proceeds in three stages: Word2Vec builds two proxy spaces, high-frequency anchors are used for GW alignment, and then orthogonal mapping plus MNN refinement.

    PMA treats the only visible obfuscated vector stream as a foreign language: it builds a parallel plaintext proxy space on public corpora using the same tokenizer, then aligns by pairwise distances on the manifold to obtain a global one-to-one replacement. In Figure 2, the authors state that, despite different corpora, the geometry of the obfuscated manifold and the plaintext manifold is highly similar. Figure 3 depicts the process in three steps.

    Problem Setting and Formalization

    • Input and Output: A plaintext token sequence x = (t1, …, tn), after unknown one-to-one obfuscation, the server only sees Z. The attack outputs x̂. Success is determined by a semantic similarity threshold η, with the paper citing ROUGE-L as an example of Sim.
    • Notation: The vocabulary of the same tokenization scheme T is V, and the two proxy spaces have dimension d. The ciphertext proxy space is XC ∈ R^|V|×d, and the plaintext proxy space is XP ∈ R^|V|×d. Because both sides use the same tokenizer, the authors consider the vocabularies of the two tokenizer-languages to be essentially identical, with a strict one-to-one correspondence between symbols.
    • Difference from ordinary cross-lingual alignment: In traditional cross-lingual tasks, the two languages have different symbol sets; here, both sides are induced by the same tokenizer. The alignment error analysis is placed in Appendix C.

    Constructing Proxy Semantic Spaces

    • Ciphertext side: Compile the uploaded stream into a corpus, abstract each distinct obfuscated vector into a discrete symbol, and then learn representations via co-occurrence using a word vector model. The default is CBOW Word2Vec.
    • Plaintext side: Tokenize public data with the same T, train with the same configuration as the ciphertext side, and obtain a reference space for alignment.
    • No use of original embeddings: Alignment occurs between the two proxy spaces and does not rely on the original numerical values or model weights that were obfuscated.

    Initial Anchor Alignment

    • Selecting anchors: Take the top-K most frequent symbols from both corpora as anchor sets AP and AC, restricting the initial alignment to this shared high-frequency subspace. The default is K = 2000.
    • Manifold distance: On the ℓ2-normalized anchor subspace, define pairwise semantic distance matrices MP and MC using 1 − cos (Equations (3)(4)).
    • GW optimal transport: Minimize the weighted square of the difference between the two distance matrices over the coupling set with uniform marginals to obtain a soft alignment Γ(0) (Equation (5)). The authors state this is more stable than absolute coordinates.

    Global Alignment and Refinement

    • From anchors to global: Use orthogonal Procrustes to derive an explicit orthogonal mapping Q0 from Γ(0), with a closed-form solution given by SVD (Equation (6)).
    • MNN iteration: High-dimensional embeddings exhibit hubness, where a few hubs become nearest neighbors to many unrelated tokens, disrupting one-to-one recovery. In each round r, use Q_{r−1} to compute cosine similarity over the full vocabulary, keep only token pairs that are mutual nearest neighbors, then solve orthogonal Procrustes again to update Qr (Equations (7)–(10)). Repeat until convergence or insufficient MNN pairs. The default is 5 rounds.
    • Final recovery: After convergence, use standard nearest neighbor to map each obfuscated vector back to a plaintext token.

    Implementation and Evaluation

    • Default configuration: CBOW Word2Vec, 2000 anchors, 5 refinement rounds; experiments run on a single NVIDIA L20 GPU. Other implementation details are in Appendix A. Appendix B gives the formulas for Top-1, Top-3, and ROUGE-L.
    • Metric roles: At the token level, check whether ground truth falls in Top-1 or Top-3; at the sequence level, use ROUGE-L. Also report PMA's average total runtime under each condition.
  4. What experiments did the paper conduct?

    Across six models, five types of E2EO, plus random mappings, ROUGE-L exceeds 80; recovery fails in the code domain when using a general corpus.

    Experimental Setup

    • Models under test: BERT-base, RoBERTa-base, T5-base, LLaMA-2 (7B), LLaMA-3 (8B), Gemma-7B. Vocabulary size approximately 30k–256k, tokenizers cover BPE, WordPiece, SentencePiece. BERT and LLaMA-3 are used when comparing with prior work; unless otherwise stated, other experiments use LLaMA-2 and its native tokenizer.
    • Data: For baseline comparisons, SST-2 and Alpaca are each uniformly split into private and public. Cross-domain uses C4, RedPajama, OpenWebText, LMSYS-Chat-1M, as well as news CNN News, finance Hacker News, code The Stack V2. The paper does not report the number of samples in each collection; it only says that the SST-2 corpus is roughly one-tenth of Alpaca and the token types are roughly one-third.
    • E2EO: ObfusLM, SentinelLMs, AlienLM, CodeCipher, STIP, and static random obfuscation (Random). All use the official implementations with default configurations.
    • Attack baselines: KNN, SDA, ERA, TFA, InvBert, according to the officially released configurations. The comparison target in Table 3 is ObfusLM.
    • Metrics: ROUGE-L, Top-1, Top-3, and PMA average total time (minutes). The η in the success definition is not given a specific value in the experiments. The paper does not report the number of repetitions.
    • Default hyperparameters: 2000 anchors, 5 refinement rounds; the proxy space is CBOW Word2Vec.

    Main Results

    Table 2 shows PMA recovery across model × dataset × E2EO. Each cell lists ROUGE-L, Top-1/Top-3 in the paper's order. The random mapping column is nearly identical to the other E2EO methods; the table lists only ObfusLM and Random, with the values of the four intermediate schemes falling near the two.

    Swipe horizontally to read the table

    Model (vocabulary)SST-2 ObfusLMSST-2 RandomAlpaca ObfusLMAlpaca Random
    BERT-base (30k)98.8; 89.6/93.498.8; 89.7/93.593.8; 45.3/51.894.6; 45.5/52.0
    Llama-2-7B (32k)99.5; 94.7/96.299.5; 94.7/96.396.8; 57.4/63.896.5; 57.8/64.1
    T5-base (32k)99.3; 93.1/95.399.4; 93.1/95.494.7; 53.2/59.995.0; 53.3/60.2
    RoBERTa-base (50k)97.2; 80.0/85.797.5; 80.0/85.391.2; 34.6/41.289.7; 34.5/41.3
    Llama-3-8B (128k)97.0; 78.0/83.597.1; 77.8/83.689.8; 28.5/34.589.9; 28.5/34.5
    Gemma-7B (256k)95.4; 70.4/77.595.2; 70.4/77.589.6; 21.6/26.389.4; 21.6/26.5

    According to Table 2. Average time: 3.38–3.45 minutes for SST-2 and 4.17–4.92 minutes for Alpaca, increasing with vocabulary size.

    • The authors state that ROUGE-L exceeds 80 in all settings. After Random destroys all numeric correspondences, traditional numeric attacks fail, while PMA still recovers via semantic structure.
    • The authors state that token-level recovery on SST-2 is higher than on Alpaca, mainly due to data scale: the SST-2 corpus has fewer tokens and token types, a weaker long tail, and faster Word2Vec convergence.
    • Figure 4: The authors state that on SST-2, Alpaca, CNN News, Hacker News, and The Stack V2, ROUGE-L converges rapidly after roughly two million observed obfuscated tokens. The figure's vertical axis is ROUGE-L (0–100), and the horizontal axis is Observed Tokens (Million), ranging 0–6.

    Comparison with Existing Attacks

    Table 3 targets only ObfusLM. On SST-2, KNN's ROUGE-L / Top-1 / Top-3 is 24.69 / 19.98 / 42.01, TFA is 26.30 / 0.49 / 1.1, InvBert is 35.59 / 28.14 / 35.91, KNN+SDA is 41.47 (Top-k is “–”), and PMA is 98.80 / 89.57 / 93.43. On Alpaca, KNN is 27.47 / 15.42 / “–”, TFA is 32.40 / 0.08 / 0.28, ERA is 35.53 (Top-k is “–”), and PMA is 89.77 / 28.49 / 34.50.

    • The authors state that PMA is higher than these methods on both classification and generation tasks. TFA and PMA both exploit statistical relationships between different subsets of the same dataset, but TFA's Top-k and ROUGE-L are much lower.
    • The authors' interpretation: one-dimensional token frequency is insufficient against E2EO; PMA uses higher-dimensional semantic structure. The PMA numbers in Table 3 are close to the ObfusLM rows for BERT-base (SST-2) and Llama-3-8B (Alpaca) in Table 2; the paper states that BERT and LLaMA-3 are used for comparison, but Table 3 does not label the model per row.

    Cross-Domain and Cross-Dataset

    • General natural language (Table 4, metric ROUGE-L): C4, LMSYS-Chat-1M (LMS), RedPajama (RPj), OpenWebText (OWT) attack each other pairwise; the authors state that all directions exceed 80. Readable cells include C4→LMS 84.8, C4→RPj 92.7, C4→OWT 98.0; LMS→C4 87.7, LMS→RPj 89.9, LMS→OWT 84.8; RPj→C4 95.9, RPj→LMS 83.6, RPj→OWT 97.7; OWT→C4 96.0, OWT→LMS 80.6, OWT→RPj 95.1. The authors believe a perfectly matched reference corpus is not required.
    • Specialized domains (Table 5): CNN News with C4 as reference: ROUGE-L 93.0, Top-1 68.1, Top-3 73.4. Hacker News with C4 as reference is 86.9 / 36.2 / 45.2; with the finance subset of C4 it becomes 94.1 / 54.1 / 59.7. The Stack V2 with C4 as reference drops to 4.9 / 0.02 / 0.03; with CodeParrot it becomes 99.1 / 51.7 / 56.3. The authors explain: the same tokens have different semantics in code versus natural language, so the reference corpus must capture the target semantic structure.

    Other Ablations and Analyses

    • Anchors and rounds (Figure 5): On Llama-2-7B, RoBERTa-base, Llama-3-8B, Gemma-7B, K = 1000, 2000, 3000, horizontal axis Refine Round 0–20. The authors state that increasing from 1000 to 3000 yields only small changes, and it usually approaches the peak and converges by round 5. The figure does not label specific endpoint values.
    • Word embedding model (Table 7, Appendix E): Under the same setting, Skip-gram ROUGE-L 55.03, CBOW 86.90, GloVe 83.63. The authors believe Skip-gram may be more sensitive to sparse co-occurrence; PMA is not tied to a single word embedding method. This 86.90 matches C4→Hacker News in Table 8; the paper does not separately state the dataset for Table 7.
    • Alignment algorithm (Table 8, Appendix F, C4 recovering Hacker News): MUSE ROUGE-L 0.03, time 7.33 minutes; VecMap 86.70, 64.12 minutes; GW 86.90, 4.94 minutes. The authors state that GW is more suitable in terms of the trade-off between recovery quality and efficiency.
    • Unknown tokenizer (Appendix D): The authors state that when the attacker does not know the exact tokenization scheme, PMA still partially preserves semantic recovery; the main text gives one incompatible case with ROUGE-L 10.09. The full conditions of Appendix D are incomplete in the attached text, so no extrapolation is made here.
    • Negative results: In the code domain with general C4, ROUGE-L is 4.9; TFA's Top-1 is 0.49 on SST-2 and 0.08 on Alpaca. When the vocabulary increases from 30k to 256k, SST-2's Top-1 drops from BERT's 89.6–89.8 to Gemma's 70.2–70.5, Alpaca's Top-1 drops to 21.5–21.6, while ROUGE-L remains above 89 (Table 2).
  5. What are some points that can be further explored?

    The authors point out that one-to-many mappings and corpus mismatch can weaken recovery; the experiments cover six models and multiple E2EO methods.

    Limitations and future directions noted by the authors

    • Only for one-to-one: The Limitations state that the attack mainly targets one-to-one mapping obfuscation; it may perform poorly on dynamic one-to-many mappings. The authors also say that in current privacy-preserving LLM inference paradigms, one-to-one coverage is broad.
    • Observations and corpus: The second item in Limitations states that it is effective in the general domain, but still requires sufficient observations and a public corpus related to the private text to build a reliable proxy semantic space. Insufficient observations make co-occurrence statistics sparse and unreliable.
    • Domain mismatch: The same section states that in specialized or niche domains, corpus mismatch introduces alignment bias, further reducing recovery, especially for low-frequency tokens and high-entropy short strings.
    • Future mechanisms: The Ethical considerations hope that future research will turn to privacy mechanisms that explicitly consider structural leakage and provide more robust security guarantees. This is a statement of direction, not a completed defense.
    • Positioning in the conclusion: The Conclusion states that PMA defeats existing E2EO without requiring model weights or parallel data pairs; no other future experiments are separately listed.

    Experimental coverage

    • Models: BERT-base, RoBERTa-base, T5-base, Llama-2-7B, Llama-3-8B, Gemma-7B, 6 in total, with vocabularies of 30k–256k (Table 2, Section 5).
    • Defense-side targets: Five E2EO methods (ObfusLM, SentinelLMs, AlienLM, CodeCipher, STIP) plus static random obfuscation, all with official default configurations (Section 5, Table 2).
    • Attack comparison: Table 3 compares KNN, TFA, InvBert, KNN+SDA (SST-2) and KNN, TFA, ERA (Alpaca) on ObfusLM. The paper does not report the number of queries for each attack.
    • Data split: SST-2 and Alpaca are evenly split into private / public; cross-general-domain is bidirectional ROUGE-L on C4, LMSYS-Chat-1M, RedPajama, OpenWebText (Table 4); specialized domains are CNN News, Hacker News, The Stack V2 (Table 5). The paper does not report the number of entries in each set, the experimental values of η, or the number of repetitions.
    • Hyperparameters and variants: Default is 2000 anchors and 5 rounds; Figure 5 scans K ∈ {1000, 2000, 3000} and 0–20 rounds; Appendix E compares Skip-gram, CBOW, GloVe; Appendix F compares GW, MUSE, VecMap; Figure 4 scans the observed token scale. Appendix D discusses the extreme case of not knowing the exact tokenizer.
  6. Summarize the main content of the paper

    PMA uses proxy manifold alignment to translate the obfuscated vector stream of E2EO back to plaintext, with ROUGE-L exceeding 80 across multiple schemes.

    PMA is a plaintext recovery attack against Embedding-to-Embedding Obfuscation in privacy-preserving inference: the server is honest but curious and only receives the vector stream after a fixed one-to-one transformation.

    • Problem: E2EO blocks word frequency statistics and inversion based on numeric neighborhoods, and its utility is close to plaintext inference, but the mapping is a large-scale one-to-one substitution, the sentence structure remains, and there are no cryptographic guarantees.
    • Approach: Treat the obfuscated stream as an unknown tokenizer-language, use CBOW Word2Vec to learn proxy spaces for the obfuscated stream and the public corpus separately; perform Gromov-Wasserstein alignment on top-K high-frequency anchors, then use orthogonal Procrustes and mutual nearest neighbors iteratively to obtain a global substitution. Default K = 2000, 5 refinement rounds. No model weights, plaintext-ciphertext pairs, or specific obfuscation rules are needed, but the target tokenizer is assumed to be known.
    • Main results: In Table 2, across six models, five E2EO methods plus random mapping, ROUGE-L exceeds 80 in all cases. SST-2, BERT-base, ObfusLM is 98.8 (Top-1/Top-3 is 89.6/93.4); Alpaca, Gemma-7B, ObfusLM has ROUGE-L 89.6 and Top-1 only 21.6. In Table 3 under the same ObfusLM setting, PMA on SST-2 is 98.80, KNN+SDA is 41.47, and TFA is 26.30.
    • Cross-domain: Mutual attacks among general corpora all exceed 80 ROUGE-L (Table 4). Hacker News with C4 is 86.9, rising to 94.1 with the finance subset; The Stack V2 with C4 is only 4.9, and with CodeParrot it is 99.1 (Table 5).
    • Authors' conclusion: The structural leakage of E2EO is independent of the specific implementation; PMA can stably recover plaintext without using weights or parallel data. The authors also note that the method mainly targets one-to-one mappings, and recovery degrades with insufficient observations or mismatched reference corpora, especially for low-frequency tokens.

Related papers

Show 3 more papers
Read originalarxiv.org