paper-with-me

홈 › Papers

MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolution

2026-01-26 · Zihan Wu, Jie Xu, Yun Peng, Chun Yong Chong, Xiaohua Jia arxiv

Large Language Models (LLMs) struggle to automate real-world vulnerability detection due to two key limitations: the heterogeneity of vulnerability patterns undermines the effectiveness of a single unified model, and manual prompt engineering for massive weakness categories is unscalable. To address these challenges, we propose \textbf{MulVul}, a retrieval-augmented multi-agent framework designed for precise and broad-coverage vulnerability detection. MulVul adopts a coarse-to-fine strategy: a \emph{Router} agent first predicts the top-$k$ coarse categories and then forwards the input to specialized \emph{Detector} agents, which identify the exact vulnerability types. Both agents are equipped with retrieval tools to actively source evidence from vulnerability knowledge bases to mitigate hallucinations. Crucially, to automate the generation of specialized prompts, we design \emph{Cross-Model Prompt Evolution}, a prompt optimization mechanism where a generator LLM iteratively refines candidate prompts while a distinct executor LLM validates their effectiveness. This decoupling mitigates the self-correction bias inherent in single-model optimization. Evaluated on 130 CWE types, MulVul achieves 34.79\% Macro-F1, outperforming the best baseline by 41.5\%. Ablation studies validate cross-model prompt evolution, which boosts performance by 51.6\% over manual prompts by effectively handling diverse vulnerability patterns.

📄 PDF Abstract BibTeX arXiv:2601.18847

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability DetectionPrompt Engineering

Similar Papers 제목 키워드 기반

MulVuln: Enhancing Pre-trained LMs with Shared and Language-Specific Knowledge for Multilingual Vulnerability Detection

2025-10-05 · Van Nguyen, Surya Nepal, Xingliang Yuan, Tingmin Wu 외 arxiv

Software vulnerabilities (SVs) pose a critical threat to safety-critical systems, driving the adoption of AI-based approaches such as machine learning and deep learning for software vulnerability detection. Despite promi…

Vulnerability Detection

AffectAgent: Collaborative Multi-Agent Reasoning for Retrieval-Augmented Multimodal Emotion Recognition

2026-04-14 · Zeheng Wang, Zitong Yu, Yijie Zhu, Bo Zhao 외 arxiv

LLM-based multimodal emotion recognition relies on static parametric memory and often hallucinates when interpreting nuanced affective states. In this paper, given that single-round retrieval-augmented generation is high…

Multimodal Emotion Recognition

Agent-UniRAG: A Trainable Open-Source LLM Agent Framework for Unified Retrieval-Augmented Generation Systems

2025-05-28 · Hoang Pham, Thuy-Duong Nguyen, Khac-Hoai Nam Bui

This paper presents a novel approach for unified retrieval-augmented generation (RAG) systems using the recent emerging large language model (LLM) agent concept. Specifically, Agent LLM, which utilizes LLM as fundamental…

Large Language ModelQuestion AnsweringRAGRetrieval+1

Retrieval Augmented Generation (RAG) for Fintech: Agentic Design and Evaluation

2025-10-29 · Thomas Cook, Richard Osuagwu, Liman Tsatiashvili, Vrynsia Vrynsia 외 arxiv

Retrieval-Augmented Generation (RAG) systems often face limitations in specialized domains such as fintech, where domain-specific ontologies, dense terminology, and acronyms complicate effective retrieval and synthesis. …

Keyphrase Extraction

ARCS: Agentic Retrieval-Augmented Code Synthesis with Iterative Refinement

2025-04-29 · Manish Bhattarai, Miguel Cordova, Javier Santos, Dan O'Malley

In supercomputing, efficient and optimized code generation is essential to leverage high-performance systems effectively. We propose Agentic Retrieval-Augmented Code Synthesis (ARCS), an advanced framework for accurate, …

Code GenerationHumanEvalRAGRetrieval+2