Predicting Channel Closures in the Lightning Network with Machine Learning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Antonelli, Simone, Davis, Vincent, Rush, Harrison, Potdevin, Anthony, Shrader, Jesse, Singh, Vikash, Rossi, Emanuele
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917488670801920
author Antonelli, Simone
Davis, Vincent
Rush, Harrison
Potdevin, Anthony
Shrader, Jesse
Singh, Vikash
Rossi, Emanuele
author_facet Antonelli, Simone
Davis, Vincent
Rush, Harrison
Potdevin, Anthony
Shrader, Jesse
Singh, Vikash
Rossi, Emanuele
contents The Lightning Network (LN) is a second-layer protocol for Bitcoin designed to enable fast and cost-efficient off-chain transactions. Channels in the LN can be closed either by mutual agreement or unilaterally through a forced closure, which locks the involved capital for an extended period and degrades network reliability. In this paper, we study the problem of predicting channel closure types from publicly available gossip data, framing it as a temporal link classification task over the evolving channel graph. We construct a dataset spanning over two years of LN activity and benchmark a range of machine learning approaches, from MLPs to temporal graph neural networks and spectral encodings. Our experiments reveal that the dominant predictive signals are temporal and behavioural, namely how recently each endpoint was active and the per-node history of past closures, while the surrounding network topology provides no additional benefit. We find that a simple MLP operating on edge-level features, node-level event counts, and temporal patterns outperforms all graph-based approaches, and discuss how the inherent privacy of the LN, where critical information such as channel balances and payment flows remains hidden, fundamentally limits the predictability of closures from gossip data alone. We publicly release the dataset and code at https://github.com/AmbossTech/ln-channel-closure-prediction to encourage further research on this practically relevant task.
format Preprint
id arxiv_https___arxiv_org_abs_2605_12759
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Predicting Channel Closures in the Lightning Network with Machine Learning
Antonelli, Simone
Davis, Vincent
Rush, Harrison
Potdevin, Anthony
Shrader, Jesse
Singh, Vikash
Rossi, Emanuele
Machine Learning
Social and Information Networks
The Lightning Network (LN) is a second-layer protocol for Bitcoin designed to enable fast and cost-efficient off-chain transactions. Channels in the LN can be closed either by mutual agreement or unilaterally through a forced closure, which locks the involved capital for an extended period and degrades network reliability. In this paper, we study the problem of predicting channel closure types from publicly available gossip data, framing it as a temporal link classification task over the evolving channel graph. We construct a dataset spanning over two years of LN activity and benchmark a range of machine learning approaches, from MLPs to temporal graph neural networks and spectral encodings. Our experiments reveal that the dominant predictive signals are temporal and behavioural, namely how recently each endpoint was active and the per-node history of past closures, while the surrounding network topology provides no additional benefit. We find that a simple MLP operating on edge-level features, node-level event counts, and temporal patterns outperforms all graph-based approaches, and discuss how the inherent privacy of the LN, where critical information such as channel balances and payment flows remains hidden, fundamentally limits the predictability of closures from gossip data alone. We publicly release the dataset and code at https://github.com/AmbossTech/ln-channel-closure-prediction to encourage further research on this practically relevant task.
title Predicting Channel Closures in the Lightning Network with Machine Learning
topic Machine Learning
Social and Information Networks
url https://arxiv.org/abs/2605.12759