mlsanityData to 14 Oct 2026

FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs

arXiv 2410.13918 ↗First posted 17 Oct 2024cs.CR cs.AIcited by 1

On the map: Knowledge distillation → Knowledge distillation for LLMs

Abstract (arXiv)

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 distillation pipeline that integrates classical distillation, external domain knowledge, and reward-guided learning to transfer high-quality insights from large teacher models. A single-task learning strategy is employed to train compact student models that maintain high accuracy and robustness while significantly reducing computational overhead. Experimental results show that our distilled models outperform both commercial tools and larger models in detecting complex vulnerabilities and logical flaws, offering a practical, secure, and scalable solution for smart contract auditing. The source code is available at Github repository.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 29 of its 34 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

29 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024A Survey on Symbolic Knowledge Distillation of Large Language Models12 Jul

Other references · 28

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023A Survey of Large Language Modelscited by 2,576
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2020Knowledge Distillation: A Surveycited by 1,603
  7. 2021Knowledge distillation: A good teacher is patient and consistentcited by 259
  8. 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 218
  9. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 155
  10. 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 102
  11. 2019Slither: A Static Analysis Framework For Smart Contractscited by 89
  12. 2023Delta-LoRA: Fine-Tuning High-Rank Parameters with the Delta of Low-Rank Matricescited by 74
16 more
  1. 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
  2. 2023Prompt-Enhanced Software Vulnerability Detection Using ChatGPTcited by 51
  3. 2024Reinforcement Learning from Human Feedback with Active Queriescited by 43
  4. 2023When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?cited by 42
  5. 2024CYCLE: Learning to Self-Refine the Code Generationcited by 42
  6. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
  7. 2019Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contractscited by 36
  8. 2023Do you still need a manual smart contract audit?cited by 35
  9. 2023MFTCoder: Boosting Code LLMs with Multitask Fine-Tuningcited by 35
  10. 2022SoK: Decentralized Finance (DeFi) Attackscited by 28
  11. 2019A Survey on Ethereum Systems Security: Vulnerabilities, Attacks and Defensescited by 25
  12. 2023Zero-Knowledge Proof-based Verifiable Decentralized Machine Learning in Communication Network: A Comprehensive Surveycited by 18
  13. 2020A Survey of Smart Contract Formal Specification and Verificationcited by 14
  14. 2024LLM4Fuzz: Guided Fuzzing of Smart Contracts with Large Language Modelscited by 5
  15. 2023Survey on Quality Assurance of Smart Contractscited by 4
  16. 2023Evolution of Automated Weakness Detection in Ethereum Bytecode: a Comprehensive Studycited by 3

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection
  2. 2026Decoupled Smart Contract Audits: Lightweight LLM Framework via Distillation and Aggregation
  3. 2025Large Language Model based Smart Contract Auditing with LLMBugScanner
  4. 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications
  5. 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
  6. 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
  7. 2026An Effective and Cost-Efficient Agentic Framework for Ethereum Smart Contract Auditing
  8. 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection