FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs
Zhiyuan Wei, Jing Sun, Zijian Zhang, Xianhao Zhang, Zhe Hou

TL;DR
This paper presents HKT-SmartAudit, a lightweight, knowledge distillation-based framework that enhances small language models for efficient and accurate automated smart contract vulnerability detection, outperforming existing tools.
Contribution
It introduces a multi-stage knowledge distillation pipeline and a single-task training strategy to improve small model performance in smart contract auditing.
Findings
Distilled models outperform commercial tools in vulnerability detection.
The framework reduces computational costs while maintaining high accuracy.
Experimental results demonstrate robustness against complex vulnerabilities.
Abstract
The rapid growth of blockchain technology has driven the widespread adoption of smart contracts. However, their inherent vulnerabilities have led to significant financial losses. Traditional auditing methods, while essential, struggle to keep pace with the increasing complexity and scale of smart contracts. Large Language Models (LLMs) offer promising capabilities for automating vulnerability detection, but their adoption is often limited by high computational costs. Although prior work has explored leveraging large models through agents or workflows, relatively little attention has been given to improving the performance of smaller, fine-tuned models--a critical factor for achieving both efficiency and data privacy. In this paper, we introduce HKT-SmartAudit, a framework for developing lightweight models optimized for smart contract auditing. It features a multi-stage knowledge…
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.
Taxonomy
TopicsFinTech, Crowdfunding, Digital Finance · Artificial Intelligence in Law
MethodsKnowledge Distillation
