[Paper Review] Anomaly Detection in Bitcoin Network Using Unsupervised Learning Methods
This paper proposes an unsupervised anomaly detection framework for the Bitcoin network using k-means clustering, Mahalanobis distance, and unsupervised SVM on user- and transaction-based graph representations. It achieves a dual evaluation metric of 0.14415 and successfully detects known theft and loss incidents, demonstrating effectiveness in identifying suspicious users and transactions without labeled data.
The problem of anomaly detection has been studied for a long time. In short, anomalies are abnormal or unlikely things. In financial networks, thieves and illegal activities are often anomalous in nature. Members of a network want to detect anomalies as soon as possible to prevent them from harming the network's community and integrity. Many Machine Learning techniques have been proposed to deal with this problem; some results appear to be quite promising but there is no obvious superior method. In this paper, we consider anomaly detection particular to 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 three unsupervised learning methods including k-means clustering, Mahalanobis distance, and Unsupervised Support Vector Machine (SVM) on two graphs generated by the Bitcoin transaction network: one graph has users as nodes, and the other has transactions as nodes.
Motivation & Objective
- To detect anomalous users and transactions in the Bitcoin network without labeled data.
- To evaluate the performance of unsupervised learning methods in identifying suspicious behavior in an anonymous financial network.
- To compare multiple unsupervised techniques—k-means, Mahalanobis distance, and unsupervised SVM—on two graph representations: user-centric and transaction-centric.
- To validate detection results against known cases of theft and loss in the Bitcoin network.
- To assess method consistency by checking whether suspicious transactions are linked to suspicious users.
Proposed method
- Constructs two graph representations: one with users as nodes (user graph) and one with transactions as nodes (transaction graph), using Bitcoin transaction data from 2009 to April 2013.
- Extracts 12 features per node, including degree, clustering coefficient, average transaction value, time intervals, balance, and active duration, with reduced feature sets for computational efficiency.
- Applies k-means clustering with k=7 for both graph types to group nodes based on feature similarity and identify outliers far from centroids.
- Uses Mahalanobis distance to measure the statistical distance of each node from the overall distribution, identifying extreme points as anomalies.
- Employs unsupervised ν-SVM with ν≈0.005 to learn a decision boundary around normal data points and flag those outside as anomalies.
- Evaluates methods using a dual metric combining precision in detecting known anomalies and consistency between user and transaction-level findings.
Experimental results
Research questions
- RQ1Can unsupervised learning methods effectively detect anomalous users and transactions in the Bitcoin network without labeled data?
- RQ2How do k-means clustering, Mahalanobis distance, and unsupervised SVM compare in identifying suspicious network behavior in Bitcoin?
- RQ3Do anomalies detected at the transaction level align with suspicious users, indicating method consistency?
- RQ4To what extent can these methods identify known cases of theft or loss in the Bitcoin network?
- RQ5What is the performance of the proposed evaluation framework in measuring detection accuracy across different methods?
Key findings
- The unsupervised SVM method achieved a dual evaluation metric of 0.14415, significantly outperforming the Mahalanobis distance method (0.025633), indicating better detection accuracy.
- The Mahalanobis distance method detected one known June 2011 theft involving over 4,000 BTC funneled to a single address.
- The unsupervised SVM method detected one known October 2011 loss incident linked to a hashing function corruption that caused a user to lose over 2,600 BTC.
- Anomalies detected by both Mahalanobis and SVM methods appeared on the outer borders of feature space plots, confirming their extremity and plausibility as outliers.
- The average Mahalanobis distance ratio to centroid for top 100 outliers was 0.8277 for the transaction graph and 0.7619 for the user graph, indicating strong separation of anomalies.
- The method demonstrated consistency by identifying suspicious transactions that were associated with suspicious users, supporting the reliability of the dual graph approach.
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.