AI-Based Anomaly Detection and Optimization Framework for Blockchain Smart Contracts

Blockchain technology has transformed modern digital ecosystems by enabling secure, transparent, and automated transactions through smart contracts. However, the increasing complexity of these contracts introduces significant challenges, including high computational costs, scalability limitations, and difficulties in detecting anomalous behavior. In this study, we propose an AI-based optimization framework that enhances the efficiency and security of blockchain smart contracts. The framework integrates Neural Architecture Search (NAS) to automatically design optimal Convolutional Neural Network (CNN) architectures tailored to blockchain data, enabling effective anomaly detection. To address the challenge of limited labeled data, transfer learning is employed to adapt pre-trained CNN models to smart contract patterns, improving model generalization and reducing training time. Furthermore, Model Compression techniques, including filter pruning and quantization, are applied to minimize the computational load, making the framework suitable for deployment in resource-constrained blockchain environments. Experimental results on Ethereum transaction datasets demonstrate that the proposed method achieves significant improvements in anomaly detection accuracy and computational efficiency compared to conventional approaches, offering a practical and scalable solution for smart contract monitoring and optimization.

Authors

Institutions

Publication Details

Journal
Administrative Sciences
Published
2025-04-27
DOI
https://doi.org/10.3390/admsci15050163
Citations
3
Primary Topic
Blockchain Technology Applications and Security
Type
article
Field-Weighted Citation Impact
9.74

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Based Anomaly Detection and Optimization Framework for Blockchain Smart Contracts

Hassen Louati, Elham Kariri, Ali Louati, Abdulla Almekhlafi
3 citations
Administrative Sciences
Blockchain Technology Applications and Security
9.74
article

AI-Based Anomaly Detection and Optimization Framework for Blockchain Smart Contracts

Hassen Louati, Elham Kariri, Ali Louati, Abdulla Almekhlafi
article en
3 citations

Abstract

Blockchain technology has transformed modern digital ecosystems by enabling secure, transparent, and automated transactions through smart contracts. However, the increasing complexity of these contracts introduces significant challenges, including high computational costs, scalability limitations, and difficulties in detecting anomalous behavior. In this study, we propose an AI-based optimization framework that enhances the efficiency and security of blockchain smart contracts. The framework integrates Neural Architecture Search (NAS) to automatically design optimal Convolutional Neural Network (CNN) architectures tailored to blockchain data, enabling effective anomaly detection. To address the challenge of limited labeled data, transfer learning is employed to adapt pre-trained CNN models to smart contract patterns, improving model generalization and reducing training time. Furthermore, Model Compression techniques, including filter pruning and quantization, are applied to minimize the computational load, making the framework suitable for deployment in resource-constrained blockchain environments. Experimental results on Ethereum transaction datasets demonstrate that the proposed method achieves significant improvements in anomaly detection accuracy and computational efficiency compared to conventional approaches, offering a practical and scalable solution for smart contract monitoring and optimization.

Administrative SciencesVol. 15(5)
Prince Sattam Bin Abdulaziz University (SA), Kingdom University (BH)
Prince Sattam bin Abdulaziz University
Openalex Percentile: Top 3%
Blockchain Technology Applications and Security
9.74
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.