SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
Lei Yu, Shiqi Cheng, Zhirong Huang, Jingyuan Zhang, Chenjie Shen, Junyi Lu, Li Yang, Fengjun Zhang, Jiajia Ma

TL;DR
SAEL is a novel framework that combines large language models with an adaptive mixture-of-experts architecture to improve smart contract vulnerability detection, outperforming existing methods in accuracy and generalization.
Contribution
The paper introduces SAEL, integrating LLMs with a dynamic mixture-of-experts approach for enhanced vulnerability detection in smart contracts, addressing limitations of static and specialized models.
Findings
SAEL outperforms existing detection methods across various vulnerabilities.
The adaptive mixture-of-experts architecture improves feature integration and detection accuracy.
Prompt-tuning enhances LLM-based vulnerability identification.
Abstract
With the increasing security issues in blockchain, smart contract vulnerability detection has become a research focus. Existing vulnerability detection methods have their limitations: 1) Static analysis methods struggle with complex scenarios. 2) Methods based on specialized pre-trained models perform well on specific datasets but have limited generalization capabilities. In contrast, general-purpose Large Language Models (LLMs) demonstrate impressive ability in adapting to new vulnerability patterns. However, they often underperform on specific vulnerability types compared to methods based on specialized pre-trained models. We also observe that explanations generated by general-purpose LLMs can provide fine-grained code understanding information, contributing to improved detection performance. Inspired by these observations, we propose SAEL, an LLM-based framework for smart contract…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
