Integer Is Enough: When Vertical Federated Learning Meets Rounding

Pengyu Qiu, Yuwen Pu, Yongchao Liu, Wenyan Liu, Yun Yue, Xiaowei Zhu, Lichun Li, Jinbao Li, Shouling Ji

Introduction

Vertical Federated Learning (VFL) is a collaborative machine learning paradigm where multiple parties, each holding different features of the same user set, train a model without sharing raw data. Typically, these frameworks rely on exchanging intermediate results (embeddings) as 32-bit floating-point (FP) numbers. However, this high-precision approach introduces significant challenges: high computational overhead for privacy-preserving tools like Homomorphic Encryption, substantial communication bandwidth requirements, and increased risks of privacy leakage and adversarial vulnerability.

This paper proposes a simple yet powerful solution: a Rounding Layer. By converting intermediate floating-point results into integers, the authors demonstrate that "integer is enough" to maintain model performance while addressing the inherent weaknesses of high-precision data exchange in VFL.

Methodology

The core of the proposed architecture is the insertion of a Rounding Layer at the end of each client's local "bottom model."

Forward and Backward Propagation

In the forward pass, the layer quantizes floating-point intermediate results to the nearest integer. This effectively reduces data size from 32 bits to 8 bits, providing a 4x theoretical compression.

Because rounding is a non-differentiable operation with a zero gradient almost everywhere, the authors utilize a Straight-Through Estimator (STE) for training. During backpropagation, the rounding layer is treated as an identity function, allowing gradients to pass through to the bottom models unchanged. This "plug-and-play" design ensures the method can be easily integrated into existing VFL frameworks like FATE.

Experimental Evaluation

The researchers evaluated the rounding architecture (referred to as "Round") against a standard floating-point baseline ("Base") and a deep hashing baseline ("Binary") using three benchmarks: MNIST, Fashion-MNIST, and CIFAR10. To simulate VFL, images were split vertically between parties.

Accuracy Preservation

Experimental results indicate that the Rounding layer consistently matches or even slightly exceeds the accuracy of the Base FP model. This suggests that the quantization process helps the model ignore redundant noise that high-precision numbers might otherwise capture. In contrast, the Binary baseline often suffered from significant accuracy degradation, particularly on more complex datasets like CIFAR10.

Table 1: Accuracy comparison across varying dimensional sizes (d). Note how 'Round' maintains performance parity with the 'Base' model.

Key Findings

Natural Privacy and Robustness

The rounding process acts as a natural filter for noise and sensitive data. The authors prove that rounding provides a form of $(\epsilon, \delta)$-Differential Privacy, making it harder for adversaries to perform feature reconstruction attacks.

Furthermore, rounding creates a "buffer zone" for adversarial defense. Small perturbations that would typically alter a floating-point prediction are often absorbed by the rounding process, as they are insufficient to flip the value to a different integer. As shown in the evaluation, the Rounding model significantly reduces the attack success rate compared to the Base model.

Table 4: Evaluation of attack success rates. The 'Round' architecture consistently mitigates adversarial attacks, often reducing the success rate to 0%.

Interpretability

Unlike binary hashing, which can destroy feature relationships, rounding maintains a high correlation with original feature attributions. This allows developers to continue using interpretability tools like Integrated Gradients to understand model decision-making.

Conclusion and Future Work

The study demonstrates that rounding intermediate results to integers is a highly effective strategy for VFL, offering a superior balance of accuracy, efficiency, and security. While the rounding layer protects the forward pass, the authors note that gradients in the backward pass still utilize floating-point formats and pose a potential privacy risk. Future research will explore gradient discretization and sparsification to further harden the VFL pipeline.

Summary updated

BibTeX
@inproceedings{qiu2024integer,
  author = {Pengyu Qiu and Yuwen Pu and Yongchao Liu and Wenyan Liu and Yun Yue and Xiaowei Zhu and Lichun Li and Jinbao Li and Shouling Ji},
  title = {{Integer Is Enough: When Vertical Federated Learning Meets Rounding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i13.29388},
}
Figure