Channel Balance Interpolation in the Lightning Network via Machine Learning (2405.12087v1)
Abstract: The Bitcoin Lightning Network is a Layer 2 payment protocol that addresses Bitcoin's scalability by facilitating quick and cost effective transactions through payment channels. This research explores the feasibility of using machine learning models to interpolate channel balances within the network, which can be used for optimizing the network's pathfinding algorithms. While there has been much exploration in balance probing and multipath payment protocols, predicting channel balances using solely node and channel features remains an uncharted area. This paper evaluates the performance of several machine learning models against two heuristic baselines and investigates the predictive capabilities of various features. Our model performs favorably in experimental evaluation, outperforming by 10% against an equal split baseline where both edges are assigned half of the channel capacity.
- R. Pickhardt, S. Tikhomirov, A. Biryukov, and M. Nowostawski, “Security and privacy of lightning network payments with uncertain channel balances,” 2021.
- D. Valko and D. Kudenko, “Increasing energy efficiency of bitcoin infrastructure with reinforcement learning and one-shot path planning for the lightning network,” in Proc. of the Adaptive and Learning Agents Workshop (ALA 2023) At AAMAS 2023, May 29-30, Cruz, Hayes, Wang, Yates (eds.) London, UK, 2023.
- R. Pickhardt and S. Richter, “Optimally reliable & cheap payment flows on the lightning network,” 2021.
- S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” 2008.
- C. Li, P. Li, W. Xu, F. Long, and A. C. Yao, “Scaling nakamoto consensus to thousands of transactions per second,” CoRR, vol. abs/1805.03870, 2018.
- J. Poon and T. Dryja, “The bitcoin lightning network: Scalable off-chain instant payments,” 2016.
- I. A. Seres, L. Gulyás, D. A. Nagy, and P. Burcsi, “Topological analysis of bitcoin’s lightning network,” in Mathematical Research for Blockchain Economy: 1st International Conference MARBLE 2019, Santorini, Greece, pp. 1–12, Springer, 2020.
- “River Financial 2.” https://amboss.space/node/03037dc08e9ac63b82581f79b662a4d0ceca8a8ca162b1af3551595b8f2d97b70a. Accessed: 2024-03-26.
- “River Financial 1.” https://amboss.space/node/03aab7e9327716ee946b8fbfae039b0db85356549e72c5cca113ea67893d0821e5. Accessed: 2024-03-26.
- River Financial, “The lightning network grew by 1212% in 2 years: Why it’s time to pay attention,” Oct 2023.
- P. Zabka, K.-T. Foerster, S. Schmid, and C. Decker, “Empirical evaluation of nodes and channels of the lightning network,” Pervasive and Mobile Computing, vol. 83, p. 101584, 2022.
- “lightningnetworkdaemon/lnd.” https://github.com/lightningnetwork/lnd. Accessed: 2024-03-26.
- “The power of valves for better flow control, improved reliability & lower expected payment failure rates on the lightning network.” https://blog.bitmex.com/the-power-of-htlc_maximum_msat-as-a-control-valve-for-better-flow-control-improved-reliability-and-lower-expected-payment-failure-rates-on-the-lightning-network/. Accessed: 2024-05-16.
- V. P. Dwivedi, C. K. Joshi, T. Laurent, Y. Bengio, and X. Bresson, “Benchmarking graph neural networks,” CoRR, vol. abs/2003.00982, 2020.