[Paper Review] Security and Privacy of Lightning Network Payments with Uncertain Channel Balances
This paper proposes a probabilistic model to improve Lightning Network payment reliability and privacy by quantifying channel balance uncertainty. It derives optimal multi-part payment splitting strategies and path selection heuristics, reducing expected payment attempts by 20% (48% with BOLT14 rebalancing), while quantifying privacy leakage from failed attempts.
The Lightning Network (LN) is a prominent payment channel network aimed at addressing Bitcoin's scalability issues. Due to the privacy of channel balances, senders cannot reliably choose sufficiently liquid payment paths and resort to a trial-and-error approach, trying multiple paths until one succeeds. This leaks private information and decreases payment reliability, which harms the user experience. This work focuses on the reliability and privacy of LN payments. We create a probabilistic model of the payment process in the LN, accounting for the uncertainty of the channel balances. This enables us to express payment success probabilities for a given payment amount and a path. Applying negative Bernoulli trials for single- and multi-part payments allows us to compute the expected number of payment attempts for a given amount, sender, and receiver. As a consequence, we analytically derive the optimal number of parts into which one should split a payment to minimize the expected number of attempts. This methodology allows us to define service level objectives and quantify how much private information leaks to the sender as a side effect of payment attempts. We propose an optimized path selection algorithm that does not require a protocol upgrade. Namely, we suggest that nodes prioritize paths that are most likely to succeed while making payment attempts. A simulation based on the real-world LN topology shows that this method reduces the average number of payment attempts by 20% compared to a baseline algorithm similar to the ones used in practice. This improvement will increase to 48% if the LN protocol is upgraded to implement the channel rebalancing proposal described in BOLT14.
Motivation & Objective
- To address the lack of payment reliability in the Lightning Network due to unknown channel balances.
- To model the uncertainty of channel balances and compute payment success probabilities for given paths and amounts.
- To derive optimal multi-part payment splitting strategies that minimize expected payment attempts.
- To quantify privacy leakage from repeated payment attempts, including probing side-channel information.
- To propose a non-upgrade path selection algorithm that prioritizes high-success-probability routes.
Proposed method
- The authors model channel balances as uniformly distributed random variables and derive the probability of successful payment over a path using negative binomial distributions.
- They apply negative binomial trials to compute the expected number of attempts for single- and multi-part payments.
- A closed-form analytical solution is derived for the optimal number of parts into which a payment should be split to minimize expected attempts.
- The model computes the Kullback-Leibler divergence to quantify information gain (privacy leakage) from each failed payment attempt.
- A path selection algorithm is proposed that ranks paths by prior success probability, improving reliability without protocol changes.
- Simulations on a real-world LN subgraph validate the model and evaluate performance under different conditions.
Experimental results
Research questions
- RQ1What is the optimal number of parts into which a Lightning Network payment should be split to minimize the expected number of attempts?
- RQ2How does the expected number of payment attempts scale with path length and channel balance uncertainty?
- RQ3To what extent does repeated payment retrying leak private balance information to the sender?
- RQ4How effective is path selection based on prior success probability in reducing the number of attempts?
- RQ5What performance improvement can be achieved with the BOLT14 channel rebalancing proposal in conjunction with the proposed strategy?
Key findings
- The model shows that splitting payments into multiple parts provides no benefit for small payments, with an upper bound on improvement achievable via multi-part payments.
- The proposed path selection algorithm reduces the average number of payment attempts by 20% compared to baseline heuristics in simulations.
- With BOLT14 channel rebalancing, the improvement increases to 48% due to higher path success probabilities.
- The expected number of attempts for a given service level objective σ follows the closed-form expression n > log(1−σ)/log(1−s), where s is the path success probability.
- Each payment attempt leaks private balance information, quantified via Kullback-Leibler divergence, with the amount depending on the number of hops and balance distribution.
- The study confirms that minimizing uncertain hops—rather than path length—is more effective for improving reliability, as success probability declines exponentially with hop count.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.