paper-with-me

Papers

Distilling Lightweight Language Models for C/C++ Vulnerabilities

2025-10-08 · Zhiyuan Wei, Xiaoxuan Yang, Jing Sun, Zijian Zhang arxiv

The increasing complexity of modern software systems exacerbates the prevalence of security vulnerabilities, posing risks of severe breaches and substantial economic loss. Consequently, robust code vulnerability detection is essential for software security. While Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language processing, their potential for automated code vulnerability detection remains underexplored. This paper presents FineSec, a novel framework that harnesses LLMs through knowledge distillation to enable efficient and precise vulnerability identification in C/C++ codebases. FineSec utilizes knowledge distillation to transfer expertise from large teacher models to compact student models, achieving high accuracy with minimal computational cost. By integrating data preparation, training, evaluation, and continuous learning into a unified, single-task workflow, FineSec offers a streamlined approach. Extensive evaluations on C/C++ codebases demonstrate its superiority over both base models and larger LLMs in identifying complex vulnerabilities and logical flaws, establishing FineSec as a practical and scalable solution for real-world software security. To facilitate reproducibility, the datasets, source code, and experimental results are made publicly available at: https://github.com/yangxiaoxuan123/FineSec_detect.

📄 PDF Abstract BibTeX arXiv:2510.06645

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability DetectionKnowledge Distillation

Similar Papers 제목 키워드 기반

Distilling Word Embeddings: An Encoding Approach

2015-06-15 · Lili Mou, Ran Jia, Yan Xu, Ge Li 외

Distilling knowledge from a well-trained cumbersome network to a small one has recently become a new research topic, as lightweight neural networks with high performance are particularly in need in various resource-restr…

Word Embeddings

Distilling Human-Aligned Privacy Sensitivity Assessment from Large Language Models

2026-03-31 · Gabriel Loiseau, Damien Sileo, Damien Riquet, Maxime Meyer 외 arxiv

Accurate privacy evaluation of textual data remains a critical challenge in privacy-preserving natural language processing. Recent work has shown that large language models (LLMs) can serve as reliable privacy evaluators…

Distilling Transformers for Neural Cross-Domain Search

2021-08-06 · Colin B. Clement, Chen Wu, Dawn Drain, Neel Sundaresan

Pre-trained transformers have recently clinched top spots in the gamut of natural language tasks and pioneered solutions to software engineering tasks. Even information retrieval has not been immune to the charm of the t…

Code SearchData AugmentationInformation RetrievalRetrieval+1

Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Models

2025-03-01 · Junzhe Yu, Yi Liu, Huijia Sun, Ling Shi 외

Large Language Models (LLMs) have significantly advanced text understanding and generation, becoming integral to applications across education, software development, healthcare, entertainment, and legal services. Despite…

STaR: Distilling Speech Temporal Relation for Lightweight Speech Self-Supervised Learning Models

2023-12-14 · Kangwook Jang, Sungnyun Kim, Hoirin Kim

Albeit great performance of Transformer-based speech selfsupervised learning (SSL) models, their large parameter size and computational cost make them unfavorable to utilize. In this study, we propose to compress the spe…

RelationSelf-Supervised Learning