Improving the Accuracy of Transaction-Based Ponzi Detection on Ethereum
- URL: http://arxiv.org/abs/2308.16391v2
- Date: Thu, 18 Jul 2024 03:05:50 GMT
- Title: Improving the Accuracy of Transaction-Based Ponzi Detection on Ethereum
- Authors: Phuong Duy Huynh, Son Hoang Dau, Xiaodong Li, Phuc Luong, Emanuele Viterbo,
- Abstract summary: Ponzi scheme, an old-fashioned fraud, is now popular on the blockchain.
Most Ponzi detection methods detect a Ponzi scheme based on its smart contract source code.
We propose a new set of 85 features (22 known account-based and 63 new time-series features) which allows machine learning algorithms to achieve up to 30% higher F1-scores.
- Score: 13.233535179219633
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: The Ponzi scheme, an old-fashioned fraud, is now popular on the Ethereum blockchain, causing considerable financial losses to many crypto investors. A few Ponzi detection methods have been proposed in the literature, most of which detect a Ponzi scheme based on its smart contract source code. This contract-code-based approach, while achieving very high accuracy, is not robust because a Ponzi developer can fool a detection model by obfuscating the opcode or inventing a new profit distribution logic that cannot be detected. On the contrary, a transaction-based approach could improve the robustness of detection because transactions, unlike smart contracts, are harder to be manipulated. However, the current transaction-based detection models achieve fairly low accuracy. In this paper, we aim to improve the accuracy of the transaction-based models by employing time-series features, which turn out to be crucial in capturing the life-time behaviour a Ponzi application but were completely overlooked in previous works. We propose a new set of 85 features (22 known account-based and 63 new time-series features), which allows off-the-shelf machine learning algorithms to achieve up to 30% higher F1-scores compared to existing works.
Related papers
- Towards Effective Detection of Ponzi schemes on Ethereum with Contract Runtime Behavior Graph [17.79695486585971]
Ponzi schemes, a form of scam, have been discovered in smart contracts in recent years, causing massive financial losses.
Existing detection methods primarily focus on rule-based approaches and machine learning techniques.
We propose PonziGuard, an efficient Ponzi detection approach based on contract runtime behavior.
arXiv Detail & Related papers (2024-06-03T01:17:48Z) - Cryptocurrency Portfolio Optimization by Neural Networks [81.20955733184398]
This paper proposes an effective algorithm based on neural networks to take advantage of these investment products.
A deep neural network, which outputs the allocation weight of each asset at a time interval, is trained to maximize the Sharpe ratio.
A novel loss term is proposed to regulate the network's bias towards a specific asset, thus enforcing the network to learn an allocation strategy that is close to a minimum variance strategy.
arXiv Detail & Related papers (2023-10-02T12:33:28Z) - Transaction Fraud Detection via an Adaptive Graph Neural Network [64.9428588496749]
We propose an Adaptive Sampling and Aggregation-based Graph Neural Network (ASA-GNN) that learns discriminative representations to improve the performance of transaction fraud detection.
A neighbor sampling strategy is performed to filter noisy nodes and supplement information for fraudulent nodes.
Experiments on three real financial datasets demonstrate that the proposed method ASA-GNN outperforms state-of-the-art ones.
arXiv Detail & Related papers (2023-07-11T07:48:39Z) - SourceP: Detecting Ponzi Schemes on Ethereum with Source Code [0.5898893619901381]
SourceP is a method to detect smart Ponzi schemes on the platform using pre-trained models and data flow.
We first convert the source code of a smart contract into a data flow graph and then introduce a pre-trained model based on learning code representations to build a classification model.
The experimental results show that SourceP achieves 87.2% recall and 90.7% F-score for detecting smart Ponzi schemes.
arXiv Detail & Related papers (2023-06-02T16:40:42Z) - Blockchain Large Language Models [65.7726590159576]
This paper presents a dynamic, real-time approach to detecting anomalous blockchain transactions.
The proposed tool, BlockGPT, generates tracing representations of blockchain activity and trains from scratch a large language model to act as a real-time Intrusion Detection System.
arXiv Detail & Related papers (2023-04-25T11:56:18Z) - Explainable Ponzi Schemes Detection on Ethereum [1.3812010983144802]
Ponzi schemes are one of the most common scams.
In this paper, we present a classifier for detecting smart Ponzi contracts on the real-world.
We identify a small and effective set of features that ensures a good classification quality and investigate their impacts on the classification using AI techniques.
arXiv Detail & Related papers (2023-01-12T08:38:23Z) - Robust Lottery Tickets for Pre-trained Language Models [57.14316619360376]
We propose a novel method based on learning binary weight masks to identify robust tickets hidden in the original language models.
Experimental results show the significant improvement of the proposed method over previous work on adversarial robustness evaluation.
arXiv Detail & Related papers (2022-11-06T02:59:27Z) - Time-aware Metapath Feature Augmentation for Ponzi Detection in Ethereum [5.934595786654019]
Ponzi schemes and phishing scams severely endanger decentralized finance.
Existing graph-based abnormal behavior detection methods on blockchain usually focus on constructing homogeneous transaction graphs.
We introduce Time-aware Metapath Feature Augmentation (TMFAug) as a plug-and-play module to capture the real metapath-based transaction patterns.
arXiv Detail & Related papers (2022-10-30T15:31:19Z) - Data-driven Smart Ponzi Scheme Detection [11.467476506780969]
A smart Ponzi scheme is a new form of economic crime that uses smart contract account and cryptocurrency to implement Ponzi scheme.
We propose a data-driven smart Ponzi scheme detection system in this paper.
Compared with traditional methods, the proposed system requires very limited human-computer interaction.
arXiv Detail & Related papers (2021-08-20T07:45:36Z) - Smart Contract Vulnerability Detection: From Pure Neural Network to
Interpretable Graph Feature and Expert Pattern Fusion [48.744359070088166]
Conventional smart contract vulnerability detection methods heavily rely on fixed expert rules.
Recent deep learning approaches alleviate this issue but fail to encode useful expert knowledge.
We develop automatic tools to extract expert patterns from the source code.
We then cast the code into a semantic graph to extract deep graph features.
arXiv Detail & Related papers (2021-06-17T07:12:13Z) - ESCORT: Ethereum Smart COntRacTs Vulnerability Detection using Deep
Neural Network and Transfer Learning [80.85273827468063]
Existing machine learning-based vulnerability detection methods are limited and only inspect whether the smart contract is vulnerable.
We propose ESCORT, the first Deep Neural Network (DNN)-based vulnerability detection framework for smart contracts.
We show that ESCORT achieves an average F1-score of 95% on six vulnerability types and the detection time is 0.02 seconds per contract.
arXiv Detail & Related papers (2021-03-23T15:04:44Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.