Introduction
In modern large-scale distributed systems, such as data centers and manufacturing plants, efficient task distribution is critical for system performance. Schedulers must route incoming packets to various queues to minimize latency and prevent overflows. While the "Join the Shortest Queue" (JSQ) heuristic is optimal under full observability, real-world environments often suffer from partial observability, where agents face noisy or delayed information. In such scenarios, independent agents acting on stale data may inadvertently synchronize their actions—sending packets to the same perceived "empty" queue—leading to catastrophic packet drops and system congestion.
This paper introduces Attention-based Variational Communication (ATVC), a framework designed to facilitate efficient decentralized coordination. By integrating a Multimodal Variational Autoencoder (MVAE) with an attention-based communication gate, ATVC enables agents to collaboratively infer the true state of the system while minimizing communication overhead.
Methodology
The ATVC model operates within the Centralized Learning, Decentralized Execution (CTDE) paradigm. It addresses the challenges of partial observability through three integrated components:
1. State Inference via Multimodal Variational Autoencoders
To reconstruct the global state from fragmented, noisy observations, ATVC treats each agent's local view as a distinct "modality." The model employs an MVAE where individual encoders map local observations to Gaussian distributions representing latent beliefs. These beliefs are aggregated using a Product-of-Experts (PoE) approach. This mathematical framework allows agents to combine their individual Gaussian estimates into a single, refined joint posterior distribution, providing a more accurate representation of the actual queue lengths than any single agent could achieve alone.
2. Attention-Based Communication Gating
Directly broadcasting all information between agents is often impractical due to bandwidth constraints and the risk of processing redundant or noisy data. ATVC introduces an attention mechanism that serves as a selective filter. It assigns weights to incoming messages based on their relevance and reliability. Messages falling below a specific threshold ($\gamma = 0.3$) are discarded. This mechanism ensures that agents only "listen" to the most informative peers, significantly reducing the communication footprint.
3. Policy Optimization
The system is trained using Proximal Policy Optimization (PPO). The agents learn a policy that maps the latent state vector—derived from the MVAE—to optimal routing actions. By training on the inferred state rather than raw noisy observations, the policy becomes more robust to environmental fluctuations.
Experimental Evaluation
The researchers evaluated ATVC using a simulated discrete-time queueing network consisting of three schedulers and three servers. Each scheduler had access to a subset of queues, and packet arrivals followed a Poisson process. The model was benchmarked against standard Multi-Agent Reinforcement Learning (MARL) communication models (CommNet, BicNet) and traditional heuristics (JSQ, Random).
Key Findings
- Enhanced Performance: ATVC consistently outperformed CommNet and BicNet, achieving higher mean episode rewards and significantly lower packet drop rates.
- Communication Efficiency: The attention mechanism allowed the system to function optimally while using 60% less bandwidth than full-broadcast methods. The results suggest that agents only need to communicate approximately 40% of the time to maintain high coordination accuracy.
- Robustness to Synchronization Delay: A critical advantage of ATVC is its stability under latency. As the delay between state updates ($\Delta T$) increases, traditional heuristics like JSQ fail because they rely on perfect, albeit stale, data. ATVC’s variational approach allows it to account for uncertainty, maintaining performance where others degrade.
- Scalability and Generalization: Although trained in a small-scale environment, ATVC demonstrated impressive zero-shot scalability. When tested in networks with up to 50 agents, it maintained superior packet-handling capabilities compared to all baselines.
Conclusion
ATVC demonstrates that communication in multi-agent systems is most effective when treated as a collaborative inference problem. By filtering out noise through attention and aggregating beliefs via variational inference, agents can achieve high-level coordination with minimal overhead. Future research will explore the application of ATVC to heterogeneous systems with varying server speeds and the development of dynamic attention thresholds to further optimize communication efficiency.
Summary updated