Blockchain Technology Applications and SecurityAdvanced Optical Network TechnologiesSoftware-Defined Networks and 5G

Mahdi Salahshour, Amirahmad Shafiee, Mojtaba Tefagh

2026.2.5JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES A-STATISTICS IN SOCIETY

DOI: 10.1093/jrsssa/qnag007

tlooto Summary

A deep reinforcement learning (DRL) framework, enhanced by transformer-based architectures, is introduced to solve the Joint Combinatorial Node Selection and Resource Allocation (JCNSRA) problem and demonstrates that individual revenue-maximization incentives can align with LN’s decentralization goals.

Abstract

The lightning network (LN) addresses Bitcoin’s scalability as a second-layer solution. While payment channel networks (PCNs) incentivize participation through profit opportunities, revenue-driven behaviour risks centralization, creating hub nodes that undermine decentralization and privacy. Current research inadequately models resource allocation and lacks realistic simulations of LN’s routing dynamics, limiting practical insights. This paper introduces a deep reinforcement learning (DRL) framework, enhanced by transformer-based architectures, to solve the Joint Combinatorial Node Selection and Resource Allocation (JCNSRA) problem. We refine an existing simulation environment by integrating enhanced routing modules, better aligning it with real-world LN behaviour and JCNSRA requirements. Our model outperforms baseline methods and heuristics across diverse network settings. To evaluate decentralization, we deploy revenue-driven agents in localized simulations and analyze network evolution using betweenness and closeness centrality, entropy, inequality measures, and modularity analysis. Results demonstrate that individual revenue-maximization incentives can align with LN’s decentralization goals. Our rational RL agents promote a more equitable and decentralized network structure. Overall, this work highlights the feasibility of incentive-compatible solutions to balance profitability and decentralization in PCNs, offering actionable insights for sustainable network growth.

Citation format

SALAHSHOUR, Mahdi; SHAFIEE, Amirahmad; TEFAGH, Mojtaba. Aligning incentives and resilience: Joint node selection and resource allocation in the lightning network. JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES A-STATISTICS IN SOCIETY, 2026, 189(2): 744–767.