paper-with-me

홈 › Papers

ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection

2025-10-20 · Tenghui Huang, Jinbo Wen, Jiawen Kang, Siyong Chen, Zhengtao Li, Tao Zhang, Dongning Liu, Jiacheng Wang, Chengjun Cai, Yinqiu Liu, Dusit Niyato arxiv

Smart contracts play a significant role in automating blockchain services. Nevertheless, vulnerabilities in smart contracts pose serious threats to blockchain security. Currently, traditional detection methods primarily rely on static analysis and formal verification, which can result in high false-positive rates and poor scalability. Large Language Models (LLMs) have recently made significant progress in smart contract vulnerability detection. However, they still face challenges such as high inference costs and substantial computational overhead. In this paper, we propose ParaVul, a parallel LLM and retrieval-augmented framework to improve the reliability and accuracy of smart contract vulnerability detection. Specifically, we first develop Sparse Low-Rank Adaptation (SLoRA) for LLM fine-tuning. SLoRA introduces sparsification by incorporating a sparse matrix into quantized LoRA-based LLMs, thereby reducing computational overhead and resource requirements while enhancing their ability to understand vulnerability-related issues. We then construct a vulnerability contract dataset and develop a hybrid Retrieval-Augmented Generation (RAG) system that integrates dense retrieval with Best Matching 25 (BM25), assisting in verifying the results generated by the LLM. Furthermore, we propose a meta-learning model to fuse the outputs of the RAG system and the LLM, thereby generating the final detection results. After completing vulnerability detection, we design chain-of-thought prompts to guide LLMs to generate comprehensive vulnerability detection reports. Simulation results demonstrate the superiority of ParaVul, especially in terms of F1 scores, achieving 0.9398 for single-label detection and 0.9330 for multi-label detection.

📄 PDF Abstract BibTeX arXiv:2510.17919

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability Detection

Similar Papers 제목 키워드 기반

PipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-design

2024-03-08 · Wenqi Jiang, Shuai Zhang, Boran Han, Jie Wang 외

Retrieval-augmented generation (RAG) can enhance the generation quality of large language models (LLMs) by incorporating external token databases. However, retrievals from large databases can constitute a substantial por…

RAGRetrievalRetrieval-augmented Generation

RAPID: Retrieval-Augmented Parallel Inference Drafting for Text-Based Video Event Retrieval

2025-01-27 · Long Nguyen, Huy Nguyen, Bao Khuu, Huy Luu 외

Retrieving events from videos using text queries has become increasingly challenging due to the rapid growth of multimedia content. Existing methods for text-based video event retrieval often focus heavily on object-leve…

Retrieval

Language-Queried Target Sound Extraction Without Parallel Training Data

2024-09-14 · Hao Ma, Zhiyuan Peng, Xu Li, Yukai Li 외

Language-queried target sound extraction (TSE) aims to extract specific sounds from mixtures based on language queries. Traditional fully-supervised training schemes require extensively annotated parallel audio-text data…

Language ModellingLarge Language ModelRetrievalTarget Sound Extraction

Unveiling the Potential of Multimodal Retrieval Augmented Generation with Planning

2025-01-26 · Xiaohan Yu, Zhihan Yang, Chong Chen

Multimodal Retrieval Augmented Generation (MRAG) systems, while promising for enhancing Multimodal Large Language Models (MLLMs), often rely on rigid, single-step retrieval methods. This limitation hinders their ability …

RetrievalRetrieval-augmented Generation

TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrieval

2025-02-28 · Chien-Yu Lin, Keisuke Kamahori, Yiyu Liu, Xiaoxiang Shi 외

Retrieval-augmented generation (RAG) extends large language models (LLMs) with external data sources to enhance factual correctness and domain coverage. Modern RAG pipelines rely on large datastores, leading to system ch…

CPUGPURAGRetrieval+1