Study: permutation-based secrecy fails in mixed FHE inference, allowing exact recovery of all linear layers of ResNet-20Shuffling is Not Enough: Breaking Permutation-Based Model Confidentiality in Hybrid FHE Inference
Translation in progress — untranslated text is omitted.
The paper shows that schemes relying on output permutation plus noise to protect model confidentiality in hybrid FHE inference fail within the correctness range required by the system. The authors prove that for a linear layer with d inputs, d+1 legitimate queries can exactly recover the permutation-invariant layer summary, enabling full model discrimination; input DP is orthogonal to model confidentiality, and the local-DP premise needed for shuffle amplification under correctness-limited noise cannot hold. Experiments recover all linear layers of a SAFHIRE-style ResNet-20 end-to-end from TFHE transcripts with zero error, using d+1 queries per layer, totaling 5,712 direct queries; under the same query model, pretrained ImageNet-scale CNNs and ViT-B/16 also achieve layer-wise exact recovery.
- Hybrid FHE lets the server compute linear layers homomorphically, the client do nonlinearities in plaintext, and uses output permutation plus decryption noise, citing shuffle-model DP to hide weights. Correct decryption requires noise below half a quantization step; the authors argue that within this bound, permutation cannot preserve model confidentiality.
- The scheme is abstracted as Definition 1. Querying the zero vector and d basis vectors, rounding to the known lattice and sorting yields the bias ordering and the multiset of per-column sorted spectra. When outputs differ by at least one lattice step, the local-DP δ0 is at least 1, so the premise for shuffle amplification does not hold.
- The TFHE transcription of ResNet-20 has maximum error of 0 under both permutations, with 5,712 queries per regime. The eight ImageNet CNNs and ViT-B/16 also have maximum error of 0 at the stated precisions. At 100×, fingerprints for all 20 checkpoints are correct; at 1000×, their per-layer accuracy is 59.0%.
- The paper does not specifically discuss limitations. Experiments include ResNet-20 TFHE transcription, eight CNNs and ViT-B/16 layer-wise simulations, plus fingerprinting, lineage, distillation, and layer-wise noise. STIP, Centaur, Fission, and PermLLM are classified outside the theorem assumptions or definitions.
Related papers
Show 3 more papers
- Low-Cost High-Power Membership Inference AttacksAttacksarXiv