Skip to main content
QUICK REVIEW

[Paper Review] Deep Quaternion Features for Privacy Protection

Hao Zhang, Yi-Ting Chen|arXiv (Cornell University)|Mar 18, 2020
Adversarial Robustness in Machine LearningComputer Science32 references9 citations
TL;DR

This paper proposes a quaternion-valued neural network (QNN) that protects input privacy by encoding sensitive information into a random phase of quaternion features, making it infeasible for attackers to reconstruct inputs even with access to model weights and intermediate features. The method achieves strong privacy with minimal accuracy drop and significantly lower computational cost than homomorphic encryption, outperforming complex-valued networks and existing privacy-preserving baselines.

ABSTRACT

We propose a method to revise the neural network to construct the quaternion-valued neural network (QNN), in order to prevent intermediate-layer features from leaking input information. The QNN uses quaternion-valued features, where each element is a quaternion. The QNN hides input information into a random phase of quaternion-valued features. Even if attackers have obtained network parameters and intermediate-layer features, they cannot extract input information without knowing the target phase. In this way, the QNN can effectively protect the input privacy. Besides, the output accuracy of QNNs only degrades mildly compared to traditional neural networks, and the computational cost is much less than other privacy-preserving methods.

Motivation & Objective

  • To address the growing risk of privacy leakage from intermediate-layer features in deep neural networks.
  • To develop a privacy-preserving method that does not significantly degrade model accuracy or increase computational cost.
  • To enable secure feature sharing in federated or outsourced learning settings where raw data cannot be processed locally.
  • To provide a generic, architecture-agnostic method to convert traditional real-valued networks into privacy-preserving QNNs.

Proposed method

  • Transform traditional real-valued neural networks into quaternion-valued networks (QNNs) where intermediate features are represented as quaternions.
  • Encode input information into a random phase of the quaternion features during the encoder stage, acting as a private key.
  • Ensure rotation equivariance in the processing module so that phase rotations are consistently preserved across layers.
  • Revise standard operations (e.g., ReLU, batch normalization) to maintain rotation equivariance in quaternion space.
  • Apply adversarial learning to further obfuscate the target phase and hinder phase estimation by attackers.
  • Use a decoder with the known phase to reverse the rotation and recover accurate outputs.

Experimental results

Research questions

  • RQ1Can quaternion-valued features effectively hide input information from attackers who access intermediate-layer features and model parameters?
  • RQ2How does the privacy protection performance of QNNs compare to complex-valued networks and homomorphic encryption in terms of reconstruction and inference attacks?
  • RQ3To what extent does the QNN method affect model accuracy and computational efficiency compared to baseline privacy-preserving methods?
  • RQ4Can the QNN framework be generalized across different neural network architectures without significant architectural redesign?

Key findings

  • QNNs achieved a reconstruction error of 0.0011 on CIFAR-10, significantly higher than other models, indicating stronger privacy protection.
  • The average difference angle Δθ for QNNs was 3.56°, suggesting attackers found it difficult to estimate the correct phase.
  • Human annotators failed to identify the original input in 90% of reconstructed samples, demonstrating high reconstruction failure rate for identity inference.
  • The rank of the estimated sample in QNNs was higher than in complex-valued networks, indicating greater difficulty in phase recovery.
  • QNN inference time was comparable to standard DNNs and much faster than homomorphic encryption (e.g., Gazelle), with a 10x speedup in some cases.
  • QNNs maintained classification error rates within 1% of the original DNN, showing minimal accuracy degradation despite strong privacy guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.