Abstract
The rapid development of blockchain technology has garnered increasing attention, particularly in the field of edge computing, due to its potential for data privacy protection. However, security threats persist; attackers may manipulate nodes to tamper with transaction records or deploy Sybil attacks to compromise network reliability. This paper proposes $T^2A2vec$, a blockchain node detection method designed to provide a secure and credible solution. By constructing a transaction graph from Ethereum data and employing a multi-faceted feature extraction process—using BP neural networks for account features and a biased random walk strategy for transaction features (based on time, type, and amount)—the method achieves high detection accuracy. The fused representations are then processed by classifiers to identify malicious nodes effectively.
Introduction
Edge computing decentralizes data processing by moving it closer to the network edge, which enhances performance but introduces significant security vulnerabilities. While blockchain is often integrated to secure these environments, the blockchain layer itself is a target for manipulation. Malicious actors can create fake nodes or compromise existing ones to distort transaction history. Traditional detection methods often fail due to data bias—using datasets that lack temporal or spatial representativeness—and feature sparsity, where critical transaction metadata like timing, value, and type are ignored.
The $T^2A2vec$ Framework
To address these limitations, the researchers developed the $T^2A2vec$ (Transaction Time, Type, and Amount) framework. It follows a comprehensive pipeline for node representation and classification.
The framework begins by modeling the blockchain as a multi-directed graph where accounts are nodes and transactions are edges. A Backpropagation (BP) neural network is utilized to extract 18 statistical features for each account, including balance and transaction frequency. Simultaneously, the transaction graph is processed to extract structural features through specialized embedding techniques.
Biased Random Walk Strategies
The core innovation of $T^2A2vec$ lies in its biased random walk strategy. Unlike standard graph embedding methods that treat all edges as equal, $T^2A2vec$ incorporates the semantic context of transactions to capture the "intent" behind the data:
- Time-based: Biases walks toward recent activity, capturing the rapid transaction patterns often seen before illicit nodes cash out.
- Type-based: Assigns weights based on the nature of the transaction, such as simple transfers, contract creation, or contract calls.
- Amount-based: Prioritizes larger transactions, which typically indicate more significant node relationships.
These graph-based embeddings are fused with statistical account features to create a robust vector for classification. This final representation is fed into a classifier, such as Random Forest, to label the node as "normal" or "illicit."
Experimental Results
Evaluated using Ethereum transaction data as a proxy for edge computing scenarios, $T^2A2vec$ demonstrated superior performance. On a dataset of approximately 10,000 nodes and 1.1 million transactions, the model achieved a precision of 93.21% and an F1-score of 93.08% using a Random Forest classifier, significantly outperforming standard Graph Neural Networks like GCN and GraphSAGE.
The research identified a distinct "illicit profile": malicious nodes tend to have lower degrees of connectivity and show a marked asymmetry in transaction flow, often sending significantly more funds than they receive. Once a node is flagged as malicious, ordinary users stop interacting with it, effectively isolating it in the graph.
Conclusion
$T^2A2vec$ offers a powerful tool for enhancing security in blockchain-enabled edge computing. By integrating temporal, structural, and statistical data, it provides a nuanced detection mechanism for malicious nodes. Future research will explore multi-class detection to categorize specific illicit behaviors and validate the model on native edge computing blockchain platforms as they become more prevalent.
Summary updated