18 March 2024 in IEEE Communications Surveys & Tutorials
Despite the great success of blockchain systems in recent years, blockchains still struggle to provide the same level of latency and throughput as centralized financial systems. The core of this problem lies in the inefficiency of consensus protocols. In this paper, we provide a survey on recent efforts to improve the scalability of blockchains. We focus on layer-two protocols, such as payment channel networks and transaction rollups, which process computations off-chain and only use consensus for dispute resolution. Layer-two protocols are expected to process microtransactions with sub-second latency and reduced fees, allowing blockchains to scale. Much of this work addresses the open challenges of payment channel networks, such as payment routing, channel rebalancing, network design strategies, security and privacy, payment scheduling, congestion control, simulators, and support for light nodes. We also dedicate a section to the existing implementations of smart-contract-based transaction rollups. Our work systematizes the state-of-the-art layer-two protocols, paving the way for future advances.
1 February 2024 in IEEE Transactions on Network and Service Management
Payment Channel Networks (PCNs) have successfully replaced slow global consensus mechanisms with local cryptographic agreements between nodes. As PCN payments heavily depend on network topology for payment routing, strategic node positioning is critical to building cost-effective channels for users and enhancing network robustness against topological attacks. Nevertheless, existing node attachment strategies in the Lightning Network (LN), the most popular PCN, ignore crucial topology issues, such as network centralization and the scarcity of cycles for cheap off-chain rebalancing. In this paper, we first investigate the current state of the LN topology and show that the availability of topology cycles is highly unequal in the network, which exposes the network to several vulnerabilities. Then, we design ProfitPilot, a node positioning strategy that encourages cycle creation in PCNs to reverse the trend in centralization and enable cheap off-chain rebalancing. We compare our proposed algorithm with heuristics available in the Lightning Network and verify that even by focusing on creating cycles, ProfitPilot successfully increases the user’s probability of collecting fees by over 2× while reducing average paying fees. Furthermore, out of all the evaluated heuristics, ProfitPilot presents the fastest increase in network transitivity and mitigates the impact of targeted topological attacks by over 17% compared with the regular Lightning Network operation.
4 March 2024 in Journal of Internet Services and Applications
Federated learning (FL) is a distributed approach to train machine learning models without disclosing private data from participating clients to a central server. Nevertheless, FL training struggles to converge when clients have distinct data distributions, which leads to an increased training time and model prediction error. We propose ATHENA-FL, a federated learning system that considers clients with heterogeneous data distributions to generate accurate models in fewer training epochs than state-of-the-art approaches. ATHENA-FL reduces communication costs, providing an additional positive aspect for resource-constrained scenarios. ATHENA-FL mitigates data heterogeneity by introducing a preliminary step before training that clusters clients with similar data distribution. To handle that, we use the weights of a locally trained neural network used as a probe. The proposed system also uses the one-versus-all model to train one binary detector for each class in the cluster. Thus, clients can compose complex models combining multiple detectors. These detectors are shared with all participants through the system's database. We evaluate the clustering procedure using different layers from the neural network and verify that the last layer is sufficient to cluster the clients efficiently. The experiments show that using the last layer as input for the clustering algorithm transmits 99.68% fewer bytes to generate clusters compared to using all the neural network weights. Finally, our results show that ATHENA-FL correctly identifies samples, achieving up to 10.9% higher accuracy than traditional training. Furthermore, ATHENA-FL achieves lower training communication costs compared with MobileNet architecture, reducing the number of transmitted bytes between 25% and 97% across evaluated scenarios.