[Paper Review] Anomaly Detection in the Bitcoin System - A Network Perspective
This paper proposes a network-based anomaly detection framework for the Bitcoin transaction system using power law degree distribution, densification power law, and Local Outlier Factor (LOF) combined with k-means clustering. It identifies suspicious users and transactions by detecting structural deviations and extreme density outliers, successfully flagging a known 2012 Bitcoin theft with 96.5% and 91.4% centroid-distance consistency for user and transaction graphs, respectively.
The problem of anomaly detection has been studied for a long time, and many Network Analysis techniques have been proposed as solutions. Although some results appear to be quite promising, no method is clearly to be superior to the rest. In this paper, we particularly consider anomaly detection in the Bitcoin transaction network. Our goal is to detect which users and transactions are the most suspicious; in this case, anomalous behavior is a proxy for suspicious behavior. To this end, we use the laws of power degree and densification and local outlier factor (LOF) method (which is proceeded by k-means clustering method) on two graphs generated by the Bitcoin transaction network: one graph has users as nodes, and the other has transactions as nodes. We remark that the methods used here can be applied to any type of setting with an inherent graph structure, including, but not limited to, computer networks, telecommunications networks, auction networks, security networks, social networks, Web networks, or any financial networks. We use the Bitcoin transaction network in this paper due to the availability, size, and attractiveness of the data set.
Motivation & Objective
- To detect anomalous users and transactions in the Bitcoin network as proxies for suspicious or fraudulent behavior.
- To apply network analysis techniques—particularly power law degree distribution and densification power law—to identify structural deviations indicative of anomalies.
- To evaluate the consistency and detectability of anomalies using LOF and k-means clustering without labeled data.
- To demonstrate the generalizability of the method to other networked systems beyond Bitcoin.
- To provide a framework for anomaly detection in unlabelled, large-scale financial and transaction networks.
Proposed method
- Uses two graph representations: one with users as nodes and another with transactions as nodes to model the Bitcoin transaction network.
- Applies power law degree distribution and densification power law to detect structural anomalies by measuring deviations from expected network growth patterns.
- Employs k-means clustering as a baseline to identify cluster centroids and visualize normal node distributions.
- Uses Local Outlier Factor (LOF) to detect anomalies based on local density, where points with significantly lower density than their k-nearest neighbors are flagged as outliers.
- Calculates anomaly scores using k-nearest neighbors and local reachability density to quantify deviation from neighborhood density.
- Validates results using three evaluation metrics: centroid-distance ratio, agreement between graph types, and detection of known theft events.
Experimental results
Research questions
- RQ1Can power law degree distribution and densification power law effectively identify structural anomalies in the Bitcoin transaction network?
- RQ2To what extent does the LOF method detect known fraudulent transactions when no labeled data is available?
- RQ3How consistent are anomaly detection results across two different graph representations—user-centric and transaction-centric?
- RQ4Can k-means clustering provide a reliable baseline for visualizing and validating LOF-based anomaly detection?
- RQ5How well does the proposed method generalize to unlabelled, real-world financial networks?
Key findings
- The LOF method detected one known 2012 Bitcoin theft involving 2,600 BTC funneled through 22 addresses to a single destination.
- LOF-based anomaly detection achieved a centroid-distance ratio of 0.965 for the user graph and 0.914 for the transaction graph, indicating that detected outliers are consistently located at the periphery of clusters.
- The agreement metric between the two graph types (m_DE) was 0.55, suggesting moderate consistency in anomaly detection across user and transaction representations.
- Nodes with extreme values in in-degree, average in-value, out-degree, or total transaction value were consistently flagged as outliers, aligning with structural anomaly detection via power laws.
- The combination of k-means and LOF enabled effective visualization and validation of anomalous nodes, particularly those with extreme feature values.
- The method successfully identified anomalous patterns in unlabelled data, demonstrating feasibility for real-world application in financial and networked systems.
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.