arXiv:2609.03600cs.NISep 2026

Manuscript Offprint

arXiv:2609.03600

Employing the Structural Power to Achieve Supply-Demand Balanced Payment Channel Networks

Shuyao Xiao, Shengling Wang, Hongwei Shi, Weicheng Wang, Anlin Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shuyao Xiao¹, Shengling Wang¹*, Hongwei Shi¹, Weicheng Wang², Anlin Chen¹

¹College of Artificial Intelligence, Beijing Normal University, Beijing, China

²Beijing Institute of Technology, Zhuhai, China

xiaoshuyao@mail.bnu.edu.cn, wangshengling@bnu.edu.cn, hongweishi@mail.bnu.edu.cn

Abstract—Blockchain technology faces scalability challenges because transactions must be validated and recorded across the network. Payment channel networks (PCNs) improve efficiency by moving transactions off-chain and recording only critical interactions on the mainnet. However, PCNs require pre-deposited channel balances (supply) to match transaction demands (demand), and insufficient balances cause supply shortages. Existing approaches, including transaction path optimization and channel balance allocation, address this problem but incur high costs due to dynamic adaptation to fluctuating demands. We reveal a correlation between balance deficits in PCNs and network topology by uncovering the structural organization of liquidity allocation. This enables supply-demand conflicts to be mitigated from a static topological perspective through channel reconfiguration, without additional balance replenishment. We further introduce payment topological entropy (PTE), an information-theoretic metric that quantifies each node's deviation from the global average connection pattern and captures structural properties of balance supply. Based on PTE, we design MaxPTE, a topology optimization algorithm that reorganizes balance allocation across channels through structural reconfiguration, aligning static balance distribution with dynamic transaction demand. Extensive experiments show that MaxPTE reduces balance deficits by 27.25%, increases average maximum flow by 12.23%, and decreases transaction failure probability by 25.96%, outperforming existing benchmarks. The method also remains robust across diverse balance-demand distributions, improving supply-demand balance without prior demand prediction.

Index Terms—Blockchain, Payment channel network, Balance deficit, Topology structure

I. INTRODUCTION

Blockchain technology ensures decentralization and transaction security. However, it faces significant scalability challenges, because every transaction must be validated by all nodes and recorded on the blockchain ledger, leading to low throughput and high confirmation latency as the number of transactions increases. To address this, payment channel networks (PCNs) have emerged as a solution by enabling off-chain transactions that reduce reliance on the blockchain mainnet, thereby improving transaction efficiency. Specifically, PCNs allow any two blockchain nodes to pre-establish a dedicated off-chain payment channel using smart contracts [1]. In contrast to executing each transfer directly on the blockchain

mainnet, this channel accommodates high-frequency transactions and submits only critical information to the mainnet upon channel creation, final settlement, or disputes. Consequently, this mechanism significantly reduces on-chain submissions and alleviates the load on the blockchain mainnet.

Although payment channels support bidirectional transactions, the available balance for each direction is determined by the current channel state. Since our objective is to characterize how pre-deposited liquidity is allocated among outgoing payment directions at a given state, we model the PCN as a directed weighted graph, where each directed edge represents the transferable balance from one node to another at that state.

To operate effectively, PCNs require each off-chain channel to maintain a specific pre-deposited balance. This balance ensures collateralization and settlement for off-chain transfers. It offers sufficient balance for direct payments between nodes, prevents overspending, and ensures the necessary balance for relay transactions using the channel. The balance in each channel is independently locked, cannot flow across channels, and cannot be dynamically reallocated by nodes to replenish other channels; it can only be configured ex ante according to the smart contract [1]. This principle of independent locking ensures a one-to-one correspondence between balance and channel state, securing the safety, verifiability, and tamper-resistance of off-chain payments at the mechanism level. Once the payment channel is established, the balance remains fixed and cannot be adjusted or redistributed.

From a supply-demand perspective, this smart contract-based static locking mechanism defines the pre-deposited balance in channels as supply, while direct and relay payment requests of this channel constitute demand. Since balance cannot move across channels or be expanded ex post [2], the total supply in a channel is determined solely by the pre-deposited amount set at channel establishment. When transaction demand exceeds the locked balance in a channel, transactions may fail even if other channels have enough balance, as cross-channel reallocation is infeasible. The structural supply-demand mismatch caused by static balance locking is a fundamental cause of insufficient pre-deposited balance problems in PCNs.

Existing solutions to the issue of insufficient supply in PCNs can be generally classified into two categories: the

*Corresponding author.

Figure

Figure

Fig. 1. Two PCNs with 3 nodes and their balance deficits. Assume that each node possesses the equal balance capital μ\mu. These two networks show different topologies formed by the allocation of their pre-deposited balance at this moment, as shown on the left. Let the amount of transaction balance demand be proportional to the balance with parameter α∈[0.7,1]\alpha \in [0.7, 1], and it follows Poisson distribution [16] with mean λ=α×μ\lambda = \alpha \times \mu. The figure on the right reflects the comparison of balance deficits between PCN 1 and PCN 2.

transaction path optimization [3]–[8] and the channel balance planning [2], [9]–[14]. The former strategically selects the optimal transaction path from the available channels to reduce balance shortage, while the latter reasonably allocates the pre-deposited balance on the channel to achieve the supply-demand equilibrium. However, these methods mainly address the supply-demand imbalance through demand adaptation or balance redistribution, which may incur additional adjustment overhead under dynamic environments. Although intuitive, they are costly and temporary since supply optimization must dynamically respond to demand variations. It is vulnerable to the high-cost issue of on-demand adaptation in complex environments.

De facto, the real solution often lies beyond superficial manifestations. This indicates that only by recapitulating the fundamental factors of the phenomenon can we embrace the dominant force that functions at a fundamental level. Aware of this, our first question is: What is the dominant force behind the supply-demand dilemma that is not demand-awareness but can still systematically alleviate the balance deficit?

To answer the first question, we explore solutions from the topological structure of PCNs, which can be adjusted through channel reconfiguration mechanisms. We conducted empirical experiments in the Lightning Network Daemon [15] to explore the relationship between the topologies of PCNs and balance deficits. By balance deficits, we mean the difference between the demand and the deposited balance within a channel.

We tested the expected balance deficits generated in each channel within two different PCN topological structures, as shown in the left panel of fig. 1. The experiment 1^{1} was conducted 100 times, and the results were averaged. The right figure in fig. 1 shows that, with the same demand, the total balance deficit of PCN 1 significantly exceeds that of PCN 2.

Figure

Fig. 2. Balance deficits among different topologies.

To further verify the impact of network topology on balance deficits in PCNs, we extended the experimental setup to test additional connection patterns in three-node PCNs. We strictly ensured that each node possessed at least one outgoing channel and one incoming channel so that all nodes could effectively participate in the circulation of balances within the network. As shown in fig. 2, PCNs with different topological structures exhibit significant differences in balance deficits. These preliminary findings suggest that PCN topology is an important factor affecting balance shortages in the network [17]. Building upon this key observation, we raise the second core research question: What topological characteristics of a PCN can effectively reduce balance deficits?

To address the above-mentioned question, we adopt an information-theoretic perspective and introduce the concept of payment topological entropy (PTE), which quantifies the deviation of each node from the global average connection pattern. It characterizes the implicit regularities of the PCN's balance supply system, which transforms the topological features of a PCN into a quantifiable information entropy parameter. This not only explains the underlying causes of the differences in balance deficits observed between various topologies, such as PCN 1 and PCN 2, but also verifies through further experiments that PCNs with lower balance deficits indeed exhibit higher PTE. Building on this foundation, the third question we aim to answer is: Through what mechanism can we construct a PCN topology that minimizes the risk of balance deficits based on this metric?

To tackle the third question, we leverage the characteristic that a PCN topology can be adjusted at low cost via modifying smart contracts. We propose a PTE-guided topology optimization algorithm that iteratively searches for channel consolidations improving the structural organization of liquidity. The algorithm iteratively merges redundant channels between nodes, efficiently aggregating balances that were previously dispersed across multiple channels. While optimizing node connection patterns to increase PTE, it also maintains strong network connectivity through predefined constraints. Our algorithm effectively reduces the risk of channel balance deficits due to supply-demand imbalances while maintaining transaction efficiency, achieving coordinated optimization of

1^{1}The blockchain protocol of PCNs (e.g., Bitcoin's script) requires both parties to jointly authorize channel state updates. Since the transferable balance in each direction is determined by the current channel state, we represent the instantaneous liquidity state as directional balance flows and use directed graphs to capture the allocation of transferable balances in PCNs.

the PCN topological order and transaction performance.

Our work moves beyond traditional supply-demand management by uncovering the structural factors that influence balance deficits in PCNs. We propose a demand-robust solution that mitigates the complexity of performance optimization caused by the unpredictability of transient demands and the uncertainty of unknown demands. Our contributions are both pragmatic and theoretical, and can be summarized as follows:

  1. We reveal the relationship between balance deficits and PCN topologies from the perspective of structural liquidity organization. Therefore, this insight provides a new perspective for addressing dynamic supply-demand imbalance. Such an insight enables a cost-efficient approach, whereby balance deficits can be mitigated without increasing the total balance through topology-level channel reconfiguration.

  2. We introduce PTE, a metric that characterizes the structural properties of balance supply in PCNs. Building upon this metric, we further design a PCN topology optimization algorithm. Under the balance-locking rule, this mechanism efficiently aligns the static balance distribution with the dynamic transaction demand, effectively reducing balance deficits from a perspective of PCNs' topological structure.

  3. Extensive simulations and performance evaluations validate the effectiveness of the proposed approach. Extensive experiments show that our MaxPTE algorithm significantly reduces balance deficits by 27.25%, increases average maximum flow by 12.23%, and decreases transaction failure probability by 25.96%, which surpasses other benchmarks. Moreover, our method demonstrates considerable robustness across various balance-demand distributions, demonstrating its effectiveness in improving the supply-demand balance.