Zing Forum

Reading

ConjFormer: Privacy-Preserving Large Language Model Inference via Orthogonal Equivariant Transformers

Addressing the privacy leakage risks in large language model (LLM) inference, the research team proposes the ConjFormer architecture. Through orthogonal obfuscation and O(d) equivariance design, it reduces the token recovery rate from 35% to 1.3% without introducing noise or re-encryption, enabling efficient and practical privacy-preserving inference.

隐私保护大语言模型推理正交等变ConjFormer分割推理Transformer架构RMSNorm云端推理安全
Published 2026-06-15 17:31Recent activity 2026-06-16 10:52Estimated read 5 min
ConjFormer: Privacy-Preserving Large Language Model Inference via Orthogonal Equivariant Transformers
1

Section 01

Introduction: ConjFormer—A New Solution for Privacy-Preserving LLM Inference

Addressing the privacy leakage risks in large language model (LLM) inference, the research team proposes the ConjFormer architecture. Through orthogonal obfuscation and O(d) equivariance design, it reduces the token recovery rate from 35% to 1.3% without introducing noise or re-encryption, enabling efficient and practical privacy-preserving inference. This solution balances privacy and performance, providing a new path for cloud-based LLM inference.

2

Section 02

Background: Privacy Dilemma of Cloud-Based LLM Inference

Local deployment of LLMs is limited by resources, while outsourcing inference to the cloud poses privacy risks. Although traditional split inference schemes distribute computation between clients and servers, attackers can recover original tokens from hidden layer representations via nearest-neighbor search, leading to serious privacy vulnerabilities.

3

Section 03

Methodology: Core Innovative Design of ConjFormer

ConjFormer combines orthogonal obfuscation and equivariant architecture:

  1. The client transforms hidden representations using a secret orthogonal matrix, disrupting the attacker's cosine similarity search;
  2. An orthogonal equivariant Transformer is designed, including scalar RMSNorm (parameter-free normalization to maintain equivariance) and block orthogonal conjugate weights (Q W Q^T transformation), achieving O(d) equivariance and ensuring the server can reason correctly in the rotated space.
4

Section 04

Evidence: Experimental Validation and Performance Evaluation

Experiments were conducted on GPT-2 and Llama3.2 1B models, fine-tuned with PubMed medical texts:

  • Privacy: The token recovery rate dropped from over 35% to at most 1.3%, eliminating direct cosine inversion attacks;
  • Performance: Perplexity increased by only 0.4%, downstream task performance was comparable to the original model, and additional computational overhead was minimal.
5

Section 05

Technical Advantages: Comparison with Existing Privacy Solutions

Compared to traditional solutions, ConjFormer has significant advantages: no noise injection (avoids performance degradation), no re-encryption (reduces computational overhead), and lightweight implementation (only modifies normalization layers and weight initialization, easy to integrate).

6

Section 06

Application Prospects and Deployment Considerations

Potential application scenarios include medical text processing, financial data analysis, and enterprise document processing. Deployment considerations: the client should securely store the orthogonal matrix (e.g., using a hardware security module) and negotiate keys via a key exchange protocol.

7

Section 07

Limitations and Future Directions

Limitations: Existing models need fine-tuning to adapt to the equivariant architecture; key management requires additional security mechanisms; resistance to active attacks remains to be verified. Future directions: Explore more efficient equivariant architectures, study resistance to other attacks, and extend to multimodal and distributed inference.