Vers une meilleure identification d'acteurs de Bitcoin par apprentissage supervisé

Rafael Ramos Tubino, Rémy Cazabet, Céline Robardet

TL;DR

This paper introduces a novel machine learning approach to identify "actors" (individuals or entities) behind Bitcoin transactions by accurately detecting "change addresses." By improving the identification of these change addresses, the method effectively merges fragmented address clusters, leading to a more accurate and comprehensive understanding of Bitcoin user activity.

What Problem Does This Paper Address?

Bitcoin's decentralized nature and pseudonymous transactions make it challenging to track the activity of individual users or entities. While transactions are publicly recorded on the blockchain, addresses are not directly linked to real-world identities. To analyze user behavior, researchers often group addresses into "clusters" that are presumed to belong to the same actor. However, a significant challenge arises because users frequently change addresses to enhance their anonymity. This leads to fragmented clusters, where a single actor's addresses are scattered across multiple groups, hindering accurate analysis. Existing heuristic methods for identifying these fragmented clusters, particularly those relying on "change addresses" (addresses that receive leftover funds from a transaction), are often imprecise, leading to either missed connections (false negatives) or incorrect groupings (false positives). This paper aims to improve the accuracy of actor identification by developing a more robust method for detecting change addresses.

Methods

The core of this paper's contribution lies in its supervised machine learning approach to identify change addresses. Instead of relying solely on traditional, often brittle, heuristics, the authors propose training a model to classify output addresses as either a payment or a change address.

Here's a breakdown of their methodology:

  • Supervised Learning for Change Address Detection: They construct a training dataset by leveraging a "ground truth" derived from an external source (WalletExplorer.com) and a refined version of the H1 heuristic (H1-AP). This ground truth allows them to label transactions with known change addresses.
  • Decision Tree Model: A decision tree classifier is employed for its interpretability. The model is trained using 16 descriptive variables extracted from transaction data, such as transaction values, address indices, and historical address usage. Grid search is used to optimize the tree's parameters.
  • Fusion Strategies: Once the model predicts the probability of an output address being a change address, this information is used to merge address clusters identified by the H1 heuristic. They propose three fusion strategies:
  • M1 (Variable Threshold): This is the baseline, where a classification probability threshold is varied to find the best balance between reducing false negatives and minimizing false positives.
  • M2 (Single Change per Transaction): This strategy assumes that in a transaction with two outputs, only one is a change address, prioritizing the one with a higher probability.
  • M3 (Multiple Observed Changes): This more conservative approach requires multiple instances of a potential change address connection between two clusters before merging them, aiming to avoid catastrophic false positive fusions.

Datasets

  • Training and Testing Data: The authors collected Bitcoin transaction data from block 0 (January 3, 2009) to block 667542 (January 25, 2021), totaling approximately 600 million transactions.
  • Study Dataset (D-2017): Transactions up to block 501950 (December 31, 2017) were used as the primary dataset for training and testing their models. This cutoff was chosen because their external ground truth source is considered robust for actors identified up to this period.
  • Ground Truth Dataset (D-2021): The full dataset up to block 667542 was used to compute the "ground truth" for evaluating the models.
  • External Ground Truth: The primary external source used for validation is WalletExplorer.com, a website that provides curated lists of Bitcoin actors and their associated addresses. The authors acknowledge that WalletExplorer's data is derived from the H1 heuristic but is considered a more reliable and curated source than raw H1 output. They specifically focus on data from 6 actors from WalletExplorer.com to create their ground truth, prioritizing data quality over quantity.

Key Insights and Ideas

  • The Importance of Change Addresses: The paper strongly emphasizes that accurately identifying change addresses is crucial for overcoming the fragmentation of Bitcoin actors' address clusters.
  • Limitations of Pure Heuristics: While heuristics like H1 are useful for initial clustering, they inherently miss many connections (false negatives) and can be misled by obfuscation techniques.
  • Machine Learning for Improved Accuracy: Employing supervised learning, specifically a decision tree, allows for a more nuanced and data-driven approach to identifying change addresses, going beyond simple rule-based systems.
  • The Trade-off Between False Negatives and False Positives: The authors highlight the critical trade-off in actor identification. While minimizing false negatives (missing connections) is desirable, avoiding false positives (incorrectly merging unrelated clusters) is paramount to prevent catastrophic misinterpretations of actor activity.
  • A More Robust Ground Truth: Using WalletExplorer.com as a curated external source, rather than relying solely on H1-AP, provides a more reliable benchmark for evaluating clustering methods. This external validation is a significant improvement over prior work.
  • The Value of Temporal Splitting: Separating the training and testing data temporally (D-2017 for training/testing, D-2021 for ground truth) is a key methodological choice that reflects real-world scenarios where future data needs to be analyzed based on past learning.

Key Results

The paper evaluates its proposed methods (M1, M2, M3) against the baseline H1 heuristic using various clustering metrics (Homogeneity, Completeness, V-score/NMI, aNMI, Rand Index) against their curated WalletExplorer-based ground truth (A-WE).

  • Method M3 Outperforms: The most significant result is that their proposed method M3 (requiring multiple observed changes for fusion) consistently outperforms both the baseline H1 heuristic and their other proposed methods (M1 and M2) across most evaluation metrics, particularly when using the A-WE ground truth.
  • Significant Improvement in Completeness: Method M3 shows a notable improvement in "Completeness," indicating a substantial reduction in false negatives (i.e., correctly merging fragmented address clusters).
  • High Scores with A-WE: With the A-WE ground truth, M3 achieves scores close to 1.0 for Homogeneity and V-score/NMI at certain probability thresholds (e.g., 0.8 and 0.95), suggesting a high degree of accuracy in identifying actor clusters.
  • Discovering New Information: The authors note that their method was able to identify connections in 2017 data that H1, even when analyzing data up to 2021, failed to discover. This highlights the method's ability to uncover previously unknown actor relationships.

Limitations and Future Work

  • Limited Number of Actors: The study focused on only 6 actors from WalletExplorer.com due to data complexity and quality constraints. The authors acknowledge that scaling to a larger number of actors might require improvements to their strategies and could potentially decrease result quality.
  • Future Work - Scaling and Heuristic Discovery: Future work will focus on addressing the scalability issue by increasing the number of actors. Additionally, they plan to further analyze the decision trees to identify new, more effective heuristics for change address identification.
  • Future Work - Evaluation of Fusion Strategies: The authors suggest that further research could explore different fusion strategies and thresholds to optimize the balance between false negatives and false positives.

Summary updated

Abstract

National audience
BibTeX
@inproceedings{tubino2022vers,
  author = {Rafael Ramos Tubino and Rémy Cazabet and Céline Robardet},
  title = {{Vers une meilleure identification d'acteurs de Bitcoin par apprentissage supervisé}},
  booktitle = {EGC},
  year = {2022},
  url = {https://openreview.net/forum?id=i8noy-yKEA-},
}

Loading related content...

Figure