Saved in:
Bibliographic Details
Main Authors: Yang, Weijia, Lan, Tian, Liu, Leyuan, Chen, Wei, Zhu, Tianqing, Wen, Sheng, Zhang, Xiaosong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.16840
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916858165198848
author Yang, Weijia
Lan, Tian
Liu, Leyuan
Chen, Wei
Zhu, Tianqing
Wen, Sheng
Zhang, Xiaosong
author_facet Yang, Weijia
Lan, Tian
Liu, Leyuan
Chen, Wei
Zhu, Tianqing
Wen, Sheng
Zhang, Xiaosong
contents The rapid evolution of digital currency trading, fueled by the integration of blockchain technology, has led to both innovation and the emergence of smart Ponzi schemes. A smart Ponzi scheme is a fraudulent investment operation in smart contract that uses funds from new investors to pay returns to earlier investors. Traditional Ponzi scheme detection methods based on deep learning typically rely on fully supervised models, which require large amounts of labeled data. However, such data is often scarce, hindering effective model training. To address this challenge, we propose a novel contrastive learning framework, CASPER (Contrastive Approach for Smart Ponzi detectER with more negative samples), designed to enhance smart Ponzi scheme detection in blockchain transactions. By leveraging contrastive learning techniques, CASPER can learn more effective representations of smart contract source code using unlabeled datasets, significantly reducing both operational costs and system complexity. We evaluate CASPER on the XBlock dataset, where it outperforms the baseline by 2.3% in F1 score when trained with 100% labeled data. More impressively, with only 25% labeled data, CASPER achieves an F1 score nearly 20% higher than the baseline under identical experimental conditions. These results highlight CASPER's potential for effective and cost-efficient detection of smart Ponzi schemes, paving the way for scalable fraud detection solutions in the future.
format Preprint
id arxiv_https___arxiv_org_abs_2507_16840
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CASPER: Contrastive Approach for Smart Ponzi Scheme Detecter with More Negative Samples
Yang, Weijia
Lan, Tian
Liu, Leyuan
Chen, Wei
Zhu, Tianqing
Wen, Sheng
Zhang, Xiaosong
Cryptography and Security
Artificial Intelligence
The rapid evolution of digital currency trading, fueled by the integration of blockchain technology, has led to both innovation and the emergence of smart Ponzi schemes. A smart Ponzi scheme is a fraudulent investment operation in smart contract that uses funds from new investors to pay returns to earlier investors. Traditional Ponzi scheme detection methods based on deep learning typically rely on fully supervised models, which require large amounts of labeled data. However, such data is often scarce, hindering effective model training. To address this challenge, we propose a novel contrastive learning framework, CASPER (Contrastive Approach for Smart Ponzi detectER with more negative samples), designed to enhance smart Ponzi scheme detection in blockchain transactions. By leveraging contrastive learning techniques, CASPER can learn more effective representations of smart contract source code using unlabeled datasets, significantly reducing both operational costs and system complexity. We evaluate CASPER on the XBlock dataset, where it outperforms the baseline by 2.3% in F1 score when trained with 100% labeled data. More impressively, with only 25% labeled data, CASPER achieves an F1 score nearly 20% higher than the baseline under identical experimental conditions. These results highlight CASPER's potential for effective and cost-efficient detection of smart Ponzi schemes, paving the way for scalable fraud detection solutions in the future.
title CASPER: Contrastive Approach for Smart Ponzi Scheme Detecter with More Negative Samples
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2507.16840