ASPIRE: A Multi-Agent Framework for Execution-Free Code Analysis and Repair

The proliferation of Large Language Models (LLMs) and agentic systems for code generation introduces new challenges in ensuring the reliability and correctness of generated programs. Errors in dynamically generated code can cascade through workflows, leading to inefficiencies or failures in critical systems. We present ASPIRE, a multi-agent framework designed to address these challenges by providing execution-free static analysis and laying the foundation for program repair. ASPIRE’s agents collaboratively simulate runtime traces, predict program states, and evaluate code correctness without requiring actual execution, making it particularly suited for LLM-generated code and agentic workflows. Experimental results on a curated dataset from Codeforces show ASPIRE achieving ~56% accuracy in verdict prediction, with a 33% improvement when employing multi-agent collaboration. While program repair remains an area of future work, ASPIRE demonstrates significant potential as a safeguard for dynamic, LLM-driven code generation systems.

Authors

Institutions

Publication Details

Published
2024-12-15
DOI
https://doi.org/10.1109/bigdata62323.2024.10825553
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ASPIRE: A Multi-Agent Framework for Execution-Free Code Analysis and Repair

Buvaneswari A. Ramanan, Manzoor Ahmed Khan, Asha Rao
Advanced Malware Detection Techniques
article

ASPIRE: A Multi-Agent Framework for Execution-Free Code Analysis and Repair

Buvaneswari A. Ramanan, Manzoor Ahmed Khan, Asha Rao
article en

Abstract

The proliferation of Large Language Models (LLMs) and agentic systems for code generation introduces new challenges in ensuring the reliability and correctness of generated programs. Errors in dynamically generated code can cascade through workflows, leading to inefficiencies or failures in critical systems. We present ASPIRE, a multi-agent framework designed to address these challenges by providing execution-free static analysis and laying the foundation for program repair. ASPIRE’s agents collaboratively simulate runtime traces, predict program states, and evaluate code correctness without requiring actual execution, making it particularly suited for LLM-generated code and agentic workflows. Experimental results on a curated dataset from Codeforces show ASPIRE achieving ~56% accuracy in verdict prediction, with a 33% improvement when employing multi-agent collaboration. While program repair remains an area of future work, ASPIRE demonstrates significant potential as a safeguard for dynamic, LLM-driven code generation systems.

Nokia (United States) (US), Carnegie Mellon University (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 72%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.