Table of Contents
Fetching ...

BABD: A Bitcoin Address Behavior Dataset for Pattern Analysis

Yuexin Xiang, Yuchen Lei, Ding Bao, Wei Ren, Tiantian Li, Qingqing Yang, Wenmao Liu, Tianqing Zhu, Kim-Kwang Raymond Choo

TL;DR

The paper addresses the need for a comprehensive, labeled Bitcoin address dataset to enable reliable pattern analysis and tracing. It proposes BABD-13, a dataset with 13 address types, 148 features, and 544,462 labeled samples collected from 2019 to 2021, and introduces a directed heterogeneous multigraph to minimize information loss. A two-part framework—Statistical Indicator (SI) and Local Structural Indicator (LSI)—drives feature extraction, including a novel k-hop subgraph algorithm to capture local structure around labeled addresses. Empirical results show LSIs substantially boost multi-class classification accuracy (up to ~0.97 with XGBoost), and feature selection further improves performance, highlighting meaningful structural and temporal patterns in address behavior. The work provides a valuable baseline for researchers and regulators to analyze Bitcoin address behaviors and suggests avenues for extending the framework to transaction-mode analysis and entity identification.

Abstract

Cryptocurrencies are no longer just the preferred option for cybercriminal activities on darknets, due to the increasing adoption in mainstream applications. This is partly due to the transparency associated with the underpinning ledgers, where any individual can access the record of a transaction record on the public ledger. In this paper, we build a dataset comprising Bitcoin transactions between 12 July 2019 and 26 May 2021. This dataset (hereafter referred to as BABD-13) contains 13 types of Bitcoin addresses, 5 categories of indicators with 148 features, and 544,462 labeled data, which is the largest labeled Bitcoin address behavior dataset publicly available to our knowledge. We then use our proposed dataset on common machine learning models, namely: k-nearest neighbors algorithm, decision tree, random forest, multilayer perceptron, and XGBoost. The results show that the accuracy rates of these machine learning models for the multi-classification task on our proposed dataset are between 93.24% and 97.13%. We also analyze the proposed features and their relationships from the experiments, and propose a k-hop subgraph generation algorithm to extract a k-hop subgraph from the entire Bitcoin transaction graph constructed by the directed heterogeneous multigraph starting from a specific Bitcoin address node (e.g., a known transaction associated with a criminal investigation). Besides, we initially analyze the behavior patterns of different types of Bitcoin addresses according to the extracted features.

BABD: A Bitcoin Address Behavior Dataset for Pattern Analysis

TL;DR

The paper addresses the need for a comprehensive, labeled Bitcoin address dataset to enable reliable pattern analysis and tracing. It proposes BABD-13, a dataset with 13 address types, 148 features, and 544,462 labeled samples collected from 2019 to 2021, and introduces a directed heterogeneous multigraph to minimize information loss. A two-part framework—Statistical Indicator (SI) and Local Structural Indicator (LSI)—drives feature extraction, including a novel k-hop subgraph algorithm to capture local structure around labeled addresses. Empirical results show LSIs substantially boost multi-class classification accuracy (up to ~0.97 with XGBoost), and feature selection further improves performance, highlighting meaningful structural and temporal patterns in address behavior. The work provides a valuable baseline for researchers and regulators to analyze Bitcoin address behaviors and suggests avenues for extending the framework to transaction-mode analysis and entity identification.

Abstract

Cryptocurrencies are no longer just the preferred option for cybercriminal activities on darknets, due to the increasing adoption in mainstream applications. This is partly due to the transparency associated with the underpinning ledgers, where any individual can access the record of a transaction record on the public ledger. In this paper, we build a dataset comprising Bitcoin transactions between 12 July 2019 and 26 May 2021. This dataset (hereafter referred to as BABD-13) contains 13 types of Bitcoin addresses, 5 categories of indicators with 148 features, and 544,462 labeled data, which is the largest labeled Bitcoin address behavior dataset publicly available to our knowledge. We then use our proposed dataset on common machine learning models, namely: k-nearest neighbors algorithm, decision tree, random forest, multilayer perceptron, and XGBoost. The results show that the accuracy rates of these machine learning models for the multi-classification task on our proposed dataset are between 93.24% and 97.13%. We also analyze the proposed features and their relationships from the experiments, and propose a k-hop subgraph generation algorithm to extract a k-hop subgraph from the entire Bitcoin transaction graph constructed by the directed heterogeneous multigraph starting from a specific Bitcoin address node (e.g., a known transaction associated with a criminal investigation). Besides, we initially analyze the behavior patterns of different types of Bitcoin addresses according to the extracted features.
Paper Structure (21 sections, 4 figures, 8 tables, 1 algorithm)

This paper contains 21 sections, 4 figures, 8 tables, 1 algorithm.

Figures (4)

  • Figure 1: Bitcoin transaction graph structure
  • Figure 2: $G_k$ with maximum $k=4$ and different maximum number of nodes
  • Figure 3: Bitcoin address feature heatmap
  • Figure 4: The violin plots of BABD-13 feature value distribution