August 24, 2025 by Ingrid Fadelli, Phys.org

Collected at: https://techxplore.com/news/2025-08-contrastive-framework-blockchain-based-smart.html

Blockchain technologies are digital systems that work by distributing copies of information across several computers, also referred to as nodes, all of which are connected to a common network. These technologies underpin the trading of cryptocurrencies, as well as the functioning of other emerging digital services.

While blockchain technology opens new opportunities for the trading of cryptocurrencies, digital arts and other digital assets, they are also often used for fraudulent activities. Perhaps most notably, they are now widely used for fraudulent investment schemes known as smart Ponzi schemes.

In a smart Ponzi scheme, individuals are asked to invest in specific digital currencies or assets and sign a so-called smart contract that automatically draws money from them on a regular basis. Their investments might initially seem fruitful, yet the early investors are in fact being paid with the money invested by new individuals. After some time, the whole system collapses, as there are no longer enough resources to pay all investors.

In recent years, computer scientists and financial security experts have been trying to devise strategies to automatically detect these fraudulent schemes. Most solutions developed so far rely on deep learning algorithms trained to identify patterns associated with smart Ponzi schemes in blockchain transactions.

Despite their promise, to perform well, these deep learning-based techniques must be trained on large datasets containing blockchain transactions labeled by human experts. As labeling this data requires extensive time and resources, existing solutions might not be ideal for the reliable detection of smart Ponzi schemes in real-world settings.

The University of Electronic Science and Technology of China, City University of Macau and Swinburne University of Technology recently developed CASPER (Contrastive Approach for Smart Ponzi detectER), a deep-learning-based framework that can detect smart Ponzi schemes with good accuracy without requiring labeled training data.

This new technique, introduced in a paper published on the arXiv preprint server, relies on models that can learn to detect these fraudulent activities by comparing the similarities and differences between different blockchain transactions.

“Traditional Ponzi scheme detection methods based on deep learning typically rely on fully supervised models, which require large amounts of labeled data,” wrote Weija Yang, Tian Lan and their colleagues in their paper. “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.”

To pick up signs of smart Ponzi schemes in blockchain transactions, Yang, Lan and their colleagues employed an approach known as contrastive learning. This is a machine learning technique through which a computational model learns to tell different things apart by comparing them.

“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,” wrote the researchers.

The team assessed the new Ponzi scheme detection technique in a series of tests, in which it was fed blockchain transactions from a publicly available dataset. Their framework performed remarkably well, despite being trained on a limited amount of labeled data.

“We evaluate CASPER on the XBlock dataset, where it outperforms the baseline by 2.3% in F1 score when trained with 100% labeled data,” the team wrote. “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.”

In the future, the CASPER framework could be improved and tested on more real-world data, to further assess its potential for detecting and mitigating smart Ponzi schemes. Eventually, it could make its way into real-world settings, where it could help to protect digital currency investors against malicious activities.

More information: Weijia Yang et al, CASPER: Contrastive Approach for Smart Ponzi Scheme Detecter with More Negative Samples, arXiv (2025). DOI: 10.48550/arxiv.2507.16840

Journal information: arXiv 

Leave a Reply

Your email address will not be published. Required fields are marked *

0 0 votes
Article Rating
Subscribe
Notify of
guest
9 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Travis Mildenberger
3 months ago

I do not even know how I ended up here, but I thought this post was great. I don’t know who you are but definitely you’re going to a famous blogger if you are not already 😉 Cheers!

cursos cx
2 months ago

I was reading some of your content on this internet site and I conceive this website is real instructive! Keep on posting.

https://crypto-city.pro/

Today, while I was at work, my cousin stole my iphone and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone!

https://crypto-city.pro/

Excellent post however I was wondering if you could write a litte more on this topic? I’d be very grateful if you could elaborate a little bit further. Appreciate it!

https://noirds.com/
2 months ago

It is in reality a nice and helpful piece of info. I’m glad that you simply shared this helpful information with us. Please stay us up to date like this. Thank you for sharing.

Gelatin Trick
25 days ago

Please let me know if you’re looking for a article author for your blog. You have some really good posts and I believe I would be a good asset. If you ever want to take some of the load off, I’d really like to write some content for your blog in exchange for a link back to mine. Please send me an email if interested. Cheers!

nextogel
22 days ago

Some genuinely excellent articles on this internet site, thank you for contribution. “Once, power was considered a masculine attribute. In fact, power has no sex.” by Katharine Graham.

memo master
21 days ago

Thanks, I have recently been looking for info about this topic for ages and yours is the greatest I’ve discovered till now. But, what concerning the bottom line? Are you sure about the supply?

mpo500
7 days ago

There are some fascinating points in time on this article however I don’t know if I see all of them heart to heart. There’s some validity however I will take hold opinion till I look into it further. Good article , thanks and we would like extra! Added to FeedBurner as nicely