BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detection

Sihao Hu, Zhen Zhang, Bingqiao Luo, Shengliang Lu, Bingsheng He +1 more
3/29/2023
cs.CRcs.LG

Official code: git-disl/BERT4ETH (119 stars, last commit 2024-06-21). 1 more implementation below.

Abstract

As various forms of fraud proliferate on Ethereum, it is imperative to safeguard against these malicious activities to protect susceptible users from being victimized. While current studies solely rely on graph-based fraud detection approaches, it is argued that they may not be well-suited for dealing with highly repetitive, skew-distributed and heterogeneous Ethereum transactions. To address these challenges, we propose BERT4ETH, a universal pre-trained Transformer encoder that serves as an account representation extractor for detecting various fraud behaviors on Ethereum. BERT4ETH features the superior modeling capability of Transformer to capture the dynamic sequential patterns inherent in Ethereum transactions, and addresses the challenges of pre-training a BERT model for Ethereum with three practical and effective strategies, namely repetitiveness reduction, skew alleviation and heterogeneity modeling. Our empirical evaluation demonstrates that BERT4ETH outperforms state-of-the-art methods with significant enhancements in terms of the phishing account detection and de-anonymization tasks. The code for BERT4ETH is available at: https://github.com/git-disl/BERT4ETH.

View on arXivView PDF

Code Implementations(2)

git-disl/BERT4ETHOfficial100%

BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detection (WWW23)

11921Shell, PythonFeb 5, 20232 years ago
bertblockchaindeanonymizationethereumfraud-detection+4 more

The PyTorch implementation for "BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detection"

597PythonOct 17, 20231 years ago

Similar Papers

Cite this paper

@article{hu2023berteth,
  title  = {BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detection},
  author = {Sihao Hu and Zhen Zhang and Bingqiao Luo and Shengliang Lu and Bingsheng He and Ling Liu},
  year   = {2023},
  eprint = {2303.18138},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.18138v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.18138.svg)](https://codeofpaper.com/paper/2303.18138)

Discussion