NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PubSub-VFL: Towards Efficient Two-Party Split Learning in Heterogeneous Environments via Publisher/Subscriber Architecture

Yi Liu, Yang Liu, Leqian Zheng, Jue Hong, Junjie Shi, Qingyou Yang, Ye Wu, Cong Wang

TL;DR

PubSub-VFL introduces a decoupled Publisher/Subscriber architecture to Vertical Federated Learning (VFL), eliminating the "waiting bottlenecks" caused by synchronous dependencies. By combining hierarchical asynchrony with a hardware-aware optimization model, it achieves up to a 7× speedup and 91% resource utilization without compromising model accuracy or privacy.

What Problem Does This Paper Address?

In the world of data collaboration, Vertical Federated Learning (VFL)—also known as Split Learning—is a go-to solution for organizations that share the same users but possess different features. For example, a bank might hold transaction data while an insurance company holds accident records.

However, traditional VFL suffers from a major efficiency problem: tight coupling. In a standard setup, Party A (the "active" party with labels) and Party B (the "passive" party) must work in lockstep. Party A cannot finish its forward pass until it receives embeddings from Party B, and Party B cannot start its backward pass until it receives gradients from Party A.

This creates a severe "waiting bottleneck." If one party has a slower server or more complex data (resource and data heterogeneity), the faster party sits idle, wasting expensive computational power. Existing asynchronous methods often struggle with "staleness" (using outdated data) or fail to handle the unique ID alignment requirements inherent to VFL.

Methods

To overcome these limitations, the authors propose PubSub-VFL, which reimagines the communication between parties using a Publisher/Subscriber architecture.

System Design and Workflow of PubSub-VFL
  1. Decoupled Communication: Instead of workers talking directly to each other, they interact with "Embedding Channels" and "Gradient Channels" acting as buffers. This allows workers to push their results and immediately move to the next batch without waiting for a handshake from the other side.
  2. Hierarchical Asynchrony: The system uses a two-layer approach. Outside the parties, the Pub/Sub mechanism handles inter-party asynchrony. Inside each party, a Parameter Server (PS) manages "semi-asynchronous" updates among local workers.
  3. Adaptive Synchronization: To ensure stable model convergence, the framework uses a dynamic interval ($\Delta T_t$) based on a hyperbolic tangent (tanh) function. This regulates how often parameters are synced based on the training epoch, balancing speed and stability.
  4. System Profiling & Planning: Hyperparameter selection (e.g., batch size, number of workers) is treated as a formal optimization problem. Using Dynamic Programming, the system analyzes the hardware profiles (CPU, memory, bandwidth) of both parties to find a configuration that optimally balances the computational load.
  5. Privacy Integration: The framework is fully compatible with Gaussian Differential Privacy (GDP). It adds noise to embeddings to prevent "Inversion Attacks," where an adversary might try to reconstruct raw data from shared vectors.

Datasets

The researchers evaluated PubSub-VFL across a diverse range of scenarios:

  • Regression: Energy (appliances energy prediction) and Blog (feedback prediction).
  • Classification: Bank (marketing success) and Credit (default prediction).
  • Scalability: A synthetic dataset with 1 million samples and the massive Criteo 1TB dataset (4.5 billion samples), a standard benchmark for industrial-scale recommendation systems.

Key Insights and Ideas

  • Decoupling ID Alignment: A major breakthrough in this work is realizing that data ID alignment does not need to be a blocking operation. By assigning unique Batch IDs and using FIFO buffers, the system ensures data consistency even when parties operate at different speeds.
  • The Heterogeneity Solution: Most VFL research assumes both parties have identical hardware. PubSub-VFL acknowledges that one party might be a "straggler." Its optimization model mathematically levels the playing field by adjusting the workload to match the "critical path" of the slower party.
  • Efficiency vs. Staleness: The paper demonstrates that a controlled amount of asynchrony (staleness) is highly beneficial. It significantly boosts throughput (samples processed per second) with negligible impact on final model accuracy.

Key Results

PubSub-VFL demonstrates significant improvements over existing frameworks in both speed and resource efficiency.

Waiting Time Comparison
  • Massive Speedups: Compared to state-of-the-art baselines like FATE or PipeVFL, PubSub-VFL accelerated training by 2× to 7×.
  • High Resource Utilization: While traditional VFL often sees CPU utilization hover around 40-50% due to idle waiting, PubSub-VFL reached up to 91.07%.
  • Industrial Scale: On the Criteo 1TB dataset, PubSub-VFL reduced total runtime from approximately 21.5 hours (the best baseline) to just 6.8 hours.
  • Privacy-Preserving: The system maintained high accuracy even when integrated with Differential Privacy protocols, effectively defending against Embedding Inversion Attacks (EIA).

Limitations and Future Work

The primary limitation acknowledged is that the current implementation is optimized specifically for two-party learning. While the authors provide a theoretical roadmap and preliminary experimental data for multi-party scenarios in the appendix, the complexity of ID alignment and the optimization search space grows significantly as more parties are added.

Future work will likely focus on streamlining multi-party coordination and further refining the automated hardware profiling to make the system a seamless "plug-and-play" solution for any combination of cloud and edge resources.

Summary updated

BibTeX
@inproceedings{liu2025pubsub,
  author = {Yi Liu and Yang Liu and Leqian Zheng and Jue Hong and Junjie Shi and Qingyou Yang and Ye Wu and Cong Wang},
  title = {{PubSub-VFL: Towards Efficient Two-Party Split Learning in Heterogeneous Environments via Publisher/Subscriber Architecture}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=B5mEYUJi85},
}
Figure