Abstract
Traditional decentralized learning often seeks a single global consensus model, which frequently fails to perform optimally when data is distributed non-uniformly across a network. This paper introduces GATTA (Graph-Attention-based personalized Training Algorithm), a decentralized framework that enables agents to learn personalized models by selectively aggregating information from their neighbors. By leveraging a graph attention mechanism, GATTA identifies relevant local data distributions, improving individual node performance while maintaining communication efficiency through a threshold-based transmission strategy.
Introduction
In distributed learning environments, the standard objective is to train a "consensus" model that generalizes across all participating devices. However, real-world data is rarely independent and identically distributed (non-i.i.d.). For instance, edge devices in different geographic locations encounter vastly different signal patterns or user behaviors. In these scenarios, a single global model often becomes a "jack of all trades, master of none," failing to provide high accuracy for any specific local task.
While Federated Learning (FL) addresses some of these challenges, it typically relies on a central server, which introduces communication bottlenecks and single points of failure. Decentralized learning removes the server, but standard methods like Decentralized Stochastic Gradient Descent (D-SGD) rely on simple parameter averaging. This approach fails to account for the varying relevance of a neighbor's data to a node's local objective. GATTA addresses this by treating the network as a dynamic graph where nodes learn who to trust through attention.
The GATTA Framework
The GATTA algorithm is built on three primary pillars: architectural partitioning, attention-based aggregation, and communication efficiency.
Partially-Shared Architecture
To balance general knowledge with local specialization, GATTA employs a split model architecture. Each agent’s model consists of:
- Global Front Layers: These layers learn general features shared across the entire network.
- Node-Specific Head: This part of the model is personalized to the local data distribution, allowing the agent to fine-tune its predictions for its specific environment.
Graph Attention Mechanism
Rather than treating all neighbors equally, GATTA utilizes a graph attention network (GAT) to calculate specific weights for each connection. This allows an agent to "pay more attention" to neighbors with similar data distributions. As training progresses, these attention weights evolve, allowing the network topology to effectively reorganize itself logically based on data relevance rather than just physical connectivity.
Communication-Efficient GATTA (CE-GATTA)
To mitigate the high cost of transmitting model updates, the authors developed CE-GATTA. This variant implements a thresholding mechanism: if a neighbor's attention weight falls below a certain value, the transmission of personalized parameters from that neighbor is skipped. This "selective silence" ensures that bandwidth is only used for the most impactful information transfers.
Theoretical Analysis
The researchers provide a rigorous convergence analysis for GATTA under non-convex loss functions. They prove a convergence rate of $O(1/\sqrt{K})$, where $K$ is the number of iterations. Furthermore, the paper derives a safe range for the "fusion parameter" ($\mu$), which governs the balance between local gradient steps and neighbor aggregation, ensuring stability during the personalized training process.
Experimental Evaluation
The performance of GATTA was evaluated using two benchmark datasets modified to simulate real-world heterogeneity:
- CIFAR-10 (Label Skew): Agents were restricted to seeing only a subset of classes (e.g., one agent sees only 3 out of 10 classes), forcing the models to rely on relevant neighbors to fill knowledge gaps.
- FEMNIST (Feature Skew): This dataset of handwritten characters naturally contains diversity in writing styles, testing the algorithm's ability to handle variations in data features.
Key Results
- Accuracy Gains: GATTA consistently outperformed D-SGD and centralized Federated Learning. The performance gap was most pronounced in highly heterogeneous settings, where GATTA’s ability to filter out irrelevant "noise" from dissimilar neighbors proved critical.
- Efficiency: CE-GATTA achieved up to a 60% reduction in communication costs with negligible impact on final model accuracy. This demonstrates that a large portion of decentralized communication in standard algorithms is often redundant or even counterproductive.
- Convergence Speed: In FEMNIST trials, GATTA reached target accuracy levels significantly faster than traditional decentralized methods, suggesting that intelligent aggregation helps models stabilize more quickly.
Conclusion and Future Work
GATTA represents a shift in decentralized learning from seeking global consensus to fostering local relevance. By allowing nodes to dynamically prioritize their communication partners, the framework achieves higher accuracy and lower overhead in non-i.i.d. environments.
Future research directions include expanding personalization beyond the final layer of the network and providing a more formal theoretical framework for the thresholding logic used in CE-GATTA. Additionally, the authors envision deploying GATTA in hardware-constrained scenarios, such as 5G base station collaboration, where both personalization and bandwidth conservation are paramount.
Summary updated