scimeatlas

Research map / Federated learning and privacy / Privacy attacks and secure learning

THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryption

Tianyu Chen, Hangbo Bao, Shaohan Huang, Li Dong, Binxing Jiao, Daxin Jiang, Haoyi Zhou, Jianxin Li, Furu Wei

ACL 2022Federated learning and privacy › Privacy attacks and secure learningapproach: Encryption-based private learningopen problems in this approach213 citations (OpenAlex)

Beihang University · Microsoft

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
5no clear effect
5hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace GELU with ReLU (ablation)BERT-tiny · GLUE averageperformance reduction: 0.25% average dropNo clear effect
replace GELU with ReLU (ablation)BERT-tiny · CoNLL-2003 devF1: 83.57 -> 83.69No clear effect
replace softmax with estimation network (on top of ReLU) (ablation)BERT-tiny · GLUE averageperformance reduction: 0.25% -> 0.34% average dropNo clear effect
replace LayerNorm with linear approximation (LN-distill) (ablation)BERT-tiny · GLUE averageperformance reduction: 0.34% -> 1.42% average dropHurt
replace LayerNorm with approximation (ablation)BERT-tiny · CoNLL-2003 devF1: 83.38 -> 81.67Hurt
run under homomorphic encryptionTHE-X · GLUE averageperformance reduction: 1.42% -> 1.48% average dropNo clear effect
approximate transformer with THE-XBERT-tiny · STS-B devPearson/Spearman corr.: 72.83 -> 68.39 PearsonHurt
approximate transformer with THE-XBERT-tiny · QNLI devaccuracy: 78.38 -> 78.20No clear effect
fill masked attention scores with negative infinity instead of moderate value (-2 to -5) (ablation)softmax estimation model · CoNLL-2003 devF1Hurt
raise Adam weight decay as regularization against attention overflow (ablation)THE-X approximation · all tasksperformanceMixed
jointly fine-tune softmax estimator and approximated LayerNorm instead of two stages (ablation)THE-X · STS-B devperformance: down to 0.4%Hurt

Open problems in encryption-based private learning

How can encryption-based private learning be made secure against malicious parties and practical for large models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy