Bidirectional fusion heterogeneous graph networks for semi-supervised Bitcoin transaction anomaly detection in dynamic transaction graphs

B Bo Xiao (College of Chemistry and Materials Science) W Wei Yin

Abstract

Detecting anomalies in the Bitcoin transaction network is critical for ensuring blockchain security and stability. The network’s heterogeneous structure and dynamic nature, coupled with scarce labeled anomalies, pose significant challenges for traditional graph-based methods. To address these, we propose Bidirectional Fusion Heterogeneous Graph Network (BF-HGN), a semi- dynamic supervised model for Bitcoin transaction anomaly detection task. BF-HGN designs multi-type feature embedding and alignment strategies to effectively unify features across heterogeneous transaction–address nodes. A bidirectional temporal fusion mechanism is proposed to capture long-range temporal dependencies that unidirectional models often miss. To alleviate class imbalance and limited annotations, a Class-balanced Classifier (CBC) combined with Adjacency Adaptation (AA) and Adaptive Feature Space Regulation (AFSR) losses is proposed to generate pseudo-anomalous nodes closely resembling real anomalies, improving discrimination boundaries. Experiments on the Elliptic++ dataset demonstrate that BF-HGN outperforms existing methods, achieving F1 scores of 0.6301 and 0.5784 for transaction and address nodes, respectively, establishing a new benchmark for Bitcoin transaction anomaly detection.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 6
Published June 08, 2026
Pages e0351051
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (2)

B

Bo Xiao

College of Chemistry and Materials Science

W

Wei Yin