BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detection
Sihao Hu, Zhen Zhang, Bingqiao Luo, Shengliang Lu, Bingsheng He, Ling Liu
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 40eb0bdd-c9bf-47f5-9915-f8cd8991fb92Cited by top-tier papers9
- Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning AttackTiansheng Huang, Sihao Hu, Fatih Ilhan, Selim F. Tekin et al.NeurIPS 2024 · 113 citations
- Sequence-Based Target Coin Prediction for Cryptocurrency Pump-and-DumpSihao Hu, Zhen Zhang, Shengliang Lu, Bingsheng He et al.SIGMOD 2023 · 20 citations
- ARTEMIS: Detecting Airdrop Hunters in NFT Markets with a Graph Learning SystemChenyu Zhou, Hongzhou Chen, Hao Wu, Junyu Zhang et al.WWW 2024 · 15 citations
- Private Order Flows and Builder Bidding Dynamics: The Road to Monopoly in Ethereum's Block Building MarketShuzheng Wang, Yue Huang, Wenqin Zhang, Yuming Huang et al.WWW 2025 · 10 citations
- BlockScan: Detecting Anomalies in Blockchain TransactionsJiahao Yu, Xian Wu, Hao Liu, Wenbo Guo et al.NeurIPS 2025 · 7 citations
Builds on8
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- TTAGN: Temporal Transaction Aggregation Graph Network for Ethereum Phishing Scams DetectionSijia Li, Gaopeng Gou, Chang Liu, Chengshang Hou et al.WWW 2022 · 156 citations
- Detecting and Quantifying Wash Trading on Decentralized Cryptocurrency ExchangesFriedhelm Victor, Andrea Marie WeintraudWWW 2021 · 111 citations
- Traveling the token world: A graph analysis of Ethereum ERC20 token ecosystemWeili Chen, Tuo Zhang, Zhiguang Chen, Zibin Zheng et al.WWW 2020 · 110 citations
- Measurements, Analyses, and Insights on the Entire Ethereum Blockchain NetworkXi Tong Lee, Arijit Khan, Sourav Sen Gupta, Yu Hann Ong et al.WWW 2020 · 92 citations
Related papers
- IGT4ETH: An Isotropic Pre-trained Graph Transformer for Ethereum Account ClassificationAo Liu, Yanmei Zhang, Youwei Wang, Qiang DuanAAAI 2026
- CATALOG: Exploiting Joint Temporal Dependencies for Enhanced Phishing Detection on EthereumMedhasree Ghosh, Swapnil Srivastava, Apoorva Upadhyaya, Raju Halder et al.WWW 2025 · 13 citations
- Know Your Account: Double Graph Inference-Based Account De-Anonymization on EthereumShuyi Miao, Wangjie Qiu, Hongwei Zheng, Qinnan Zhang et al.ICDE 2025 · 3 citations
- SIEGE: Self-Supervised Incremental Deep Graph Learning for Ethereum Phishing Scam DetectionShucheng Li, Runchuan Wang, Hao Wu, Sheng Zhong et al.ACM MM 2023 · 33 citations
- Phishing in Wonderland: Evaluating Learning-Based Ethereum Phishing Transaction Detection and PitfallsAhod Alghuried, David MohaisenNDSS 2026 · 4 citations
