Bandit Sampling for Multiplex Networks

Cenk Baykal, Vamsi K. Potluru, Sameena Shah, Manuela M. VelosoarXiv 2022

Abstract

Training Graph Neural Networks (GNNs) on multiplex networks—graphs with multiple types of connections between the same set of nodes—is often computationally prohibitive. We introduce a "bandit sampling" approach that adaptively learns which layers are most relevant for a specific task, allowing the model to ignore noisy or redundant layers. By framing layer selection as an online learning problem using the EXP3+ algorithm, our method achieves a more efficient training process and higher accuracy (up to +15%) compared to standard uniform sampling.

Introduction

In the real world, entities are rarely connected in just one way. A social network, for example, might connect individuals simultaneously via Facebook, Twitter, and LinkedIn. This structure is known as a multiplex network. While these multiple "layers" provide a richer data source for tasks like link prediction, they create significant scalability challenges.

Existing methods like MNE attempt to aggregate information from every layer, which becomes increasingly slow as the network grows. Newer approaches like DEEPLEX attempt "top-k" layer sampling but require training separate, complex models for selection. There is a clear need for a method that is both computationally efficient and capable of identifying relevant information dynamically during training.

Methodology: Bandit-Based Layer Selection

We frame the challenge of layer selection as an online learning problem with partial information, utilizing the Multi-Armed Bandit (MAB) framework.

Technical Highlights

  • Adaptive EXP3+ Algorithm: We adapt the classic EXP3 (Exponential-weight algorithm for Exploration and Exploitation) to handle the specific requirements of multiplex networks.
  • Parameter-Free Design: Unlike previous bandit-based samplers that require manual tuning, our version uses a time-varying learning rate that adjusts based on cumulative variance and the range of observed losses.
  • Layer-Specific Bandits: The system maintains a separate bandit instance for every layer in the network. Each instance learns a probability distribution over neighboring layers, favoring those that provide the most helpful embedding information.
  • Loss Metrics: Relevancy is measured using either Euclidean distance or Cosine similarity between node embeddings across different layers.

Experimental Setup

The approach was tested on a mix of synthetic and real-world multiplex datasets:

  • Synthetic: rand internship and small 3 layers, designed with known levels of inter-layer similarity to test the algorithm's ability to identify relevant connections.
  • Real-World:
    • CKM: A network of physicians in Illinois.
  • Vickers: Social relationships among 7th-grade students.
  • LAZEGA: Relationships between law firm partners.
  • EU AIR: A 37-layer network representing flight paths of different European airlines.

Key Insights and Results

A primary insight of this work is that "more data" is not always better; noisy or irrelevant layers can actually degrade performance. By treating layer selection as a bandit problem, the model learns which layers to trust while learning the embeddings themselves.

Training accuracy across various datasets shows that bandit sampling (Ours) consistently converges faster and achieves higher stability than uniform sampling.

As shown in the training accuracy plots above, the bandit sampler (red) consistently maintains higher training accuracy and better stability compared to uniform sampling (blue). This indicates that the model identifies useful layers very quickly and maintains that advantage throughout the training regime.

Performance Gains

The bandit sampling approach demonstrates significant improvements in test accuracy across all evaluated datasets.

Test accuracy comparison across synthetic and real-world datasets. Bandit sampling (Ours) significantly outperforms uniform sampling, particularly in noisy or complex multiplex environments.
  • Accuracy Boost: On synthetic datasets, the bandit sampler outperformed uniform sampling by over 15% in absolute test accuracy.
  • Real-World Success: On the VICKERS dataset, the method showed an 8% improvement in early training stages. It consistently outperformed uniform sampling for the LAZEGA and EU AIR datasets.

Limitations and Future Work

While promising, the current evaluation primarily focuses on sampling a single most-relevant layer ($k=1$). Future work will explore extending this to $k > 1$ using randomized rounding. Additionally, there is an inherent trade-off between the time spent calculating layer samples and the time saved during training. Developing loss functions tied directly to final classification or prediction performance, rather than embedding proximity, remains a key goal for future research.

Conclusion

Bandit sampling provides a robust, adaptive, and parameter-free method for training GNNs on multiplex networks. By dynamically identifying relevant layers, it overcomes the scalability and noise issues inherent in traditional aggregation methods, leading to substantial gains in both efficiency and predictive accuracy.

Summary updated

BibTeX
@misc{baykal2022bandit,
  author = {Cenk Baykal and Vamsi K. Potluru and Sameena Shah and Manuela M. Veloso},
  title = {{Bandit Sampling for Multiplex Networks}},
  year = {2022},
  eprint = {2202.03621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.03621},
}
Figure