MCMarco Chiesa

Marco Chiesa

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Marco Chiesa has a total of 137 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    RAG Against the Machine: Zero-Shot Software Vulnerabilities Classification using LLMs

    by Edvin Nordqvist, Changjie Wang, Simone Ferlin, Mariano Scazzariello, Marco Chiesa

    Timely detection and mitigation of software vulnerabilities is essential for maintaining secure systems. While recent research has applied Transformer-based models to automatically identify vulnerabilities from sources such as GitHub issues, these approaches do not classify the detected vulnerabilities. Without systematic classification, it becomes difficult to prioritize issues, link them to remediation strategies, or integrate them into broader security workflows. This paper introduces a novel approach for automated vulnerability categorization using Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) within the Common Weakness Enumeration (CWE) framework. We present a RAG-based pipeline for CWE labeling and systematically evaluate multiple retrieval strategies to assess their effectiveness and efficiency. The results demonstrate that our approach achieves competitive performance compared to prior state-of-the-art methods, despite operating entirely in a zero-shot setting without any task-specific training. Moreover, the proposed method enables accurate and cost-effective vulnerability classification, helping to reduce the gap between discovery and remediation in the vulnerability lifecycle. This work highlights the potential of retrieval-driven approaches to enhance the automation, scalability, and practicality of vulnerability management across the software ecosystem.

  • Open Access

    Dissect-and-Restore: AI-based Code Verification with Transient Refactoring

    by Changjie Wang, Mariano Scazzariello, Anoud Alshnakat, Roberto Guanciale, Dejan Kostić, Marco Chiesa

    Formal verification is increasingly recognized as a critical foundation for building reliable software systems. However, the need for specialized expertise to write precise specifications, navigate complex proof obligations, and learn annotations often makes verification an order of magnitude more expensive than implementation. While modern AI systems can recognize patterns in mathematical proofs and interpret natural language, effectively integrating them into the formal verification process remains an open challenge. We present Prometheus, a novel AI-assisted system that facilitates automated code verification with current AI capabilities in conjunction with modular software engineering principles (e.g., modular refactoring). Our approach begins by decomposing complex program logic, such as nested loops, into smaller, verifiable components. Once verified, these components are recomposed to construct a proof of the original program. This decomposition-recomposition workflow is non-trivial. Prometheus addresses this by guiding the proof search through structured decomposition of complex lemmas into smaller, verifiable sub-lemmas. When automated tools are insufficient, users can provide lightweight natural language guidance to steer the proof process effectively. Our evaluation demonstrates that transiently applying modular restructuring to the code substantially improves the AI's effectiveness in verifying individual components. This approach successfully verifies 86% of tasks in our curated dataset, compared to 68% for the baseline. Gains are more pronounced with increasing specification complexity, improving from 30% to 69%, and when integrating proof outlines for complex programs, from 25% to 87%.

  • Open Access

    On the Benefits of Predictable Traffic in Virtual Switches: A Case Study

    by Emil Ståhl, Marco Chiesa, Simone Ferlin, Eelco Chaudron

  • Reducing the Number of Leads for ECG Imaging with Graph Neural Networks and Meaningful Latent Space

    by Giacomo Verardo, Daniel F. Perez-Ramirez, Samuel Bruchfeld, Magnus Boman, Marco Chiesa, Sabine Koch, Gerald Q. Maguire, Dejan Kostic


  • Open Access

    Priority-Aware Preemptive Scheduling for Mixed-Priority Workloads in MoE Inference

    by Mohammad Siavashi, Faezeh Keshmiri Dindarloo, Dejan Kostic, Marco Chiesa


  • FMM-Head: Enhancing Autoencoder-Based ECG Anomaly Detection with Prior Knowledge

    by Giacomo Verardo, Magnus Boman, Samuel Bruchfeld, Marco Chiesa, Sabine Koch, Gerald Q. Maguire, Dejan Kostic


  • Open Access

    FAJITA: Stateful Packet Processing at 100 Million pps

    by Hamid Ghasemirahni, Alireza Farshin, Mariano Scazzariello, Gerald Q. Maguire, Dejan Kostić, Marco Chiesa

    Data centers increasingly utilize commodity servers to deploy low-latency Network Functions (NFs). However, the emergence of multi-hundred-gigabit-per-second network interface cards (NICs) has drastically increased the performance expected from commodity servers. Additionally, recently introduced systems that store packet payloads in temporary off-CPU locations (e.g., programmable switches, NICs, and RDMA servers) further increase the load on NF servers, making packet processing even more challenging. This paper demonstrates existing bottlenecks and challenges of state-of-the-art stateful packet processing frameworks and proposes a system, called FAJITA, to tackle these challenges & accelerate stateful packet processing on commodity hardware. FAJITA proposes an optimized processing pipeline for stateful network functions to minimize memory accesses and overcome the overheads of accessing shared data structures while ensuring efficient batch processing at every stage of the pipeline. Furthermore, FAJITA provides a performant architecture to deploy high-performance network functions service chains containing stateful elements with different state granularities. FAJITA improves the throughput and latency of high-speed stateful network functions by ~2.43x compared to the most performant state-of-the-art solutions, enabling commodity hardware to process up to ~178 Million 64-B packets per second (pps) using 16 cores.


  • Top Cited Papers
    Open Access

    NetConfEval: Can LLMs Facilitate Network Configuration?

    by Changjie Wang, Mariano Scazzariello, Alireza Farshin, Simone Ferlin, Dejan Kostić, Marco Chiesa

    This paper explores opportunities to utilize Large Language Models (LLMs) to make network configuration human-friendly, simplifying the configuration of network devices & development of routing algorithms and minimizing errors. We design a set of benchmarks (NetConfEval) to examine the effectiveness of different models in facilitating and automating network configuration. More specifically, we focus on the scenarios where LLMs translate high-level policies, requirements, and descriptions (i.e., specified in natural language) into low-level network configurations & Python code. NetConfEval considers four tasks that could potentially facilitate network configuration, such as (i) generating high-level requirements into a formal specification format, (ii) generating API/function calls from high-level requirements, (iii) developing routing algorithms based on high-level descriptions, and (iv) generating low-level configuration for existing and new protocols based on input documentation. Learning from the results of our study, we propose a set of principles to design LLM-based systems to configure networks. Finally, we present two GPT-4-based prototypes to (i) automatically configure P4-enabled devices from a set of high-level requirements and (ii) integrate LLMs into existing network synthesizers.


  • Open Access

    Deploying Stateful Network Functions Efficiently using Large Language Models

    by Hamid Ghasemirahni, Alireza Farshin, Mariano Scazzariello, Marco Chiesa, Dejan Kostić

    Stateful network functions are increasingly used in data centers. However, their scalability remains a significant challenge since parallelizing packet processing across multiple cores requires careful configuration t o avoid compromising the application's semantics or performance. This challenge is particularly important when deploying multiple stateful functions on multi-core servers. This paper proposes FlowMage, a system that leverages Large Language Models (LLMs) to perform code analysis and extract essential information from stateful network functions (NFs) prior to their deployment on a server. FlowMage uses this data to find an efficient configuration of an NF chain that maximizes performance while preserving the semantics of the NF chain. Our evaluation shows that, utilizing GPT-4, FlowMage is able to find and apply optimized configuration when deploying stateful NFs chain on a server, resulting in significant p erformance improvement (up to 11×) in comparison to the default configuration of the system.


  • Open Access

    Millions of Low-latency State Insertions on ASIC Switches

    by Tommaso Caiazzi, Mariano Scazzariello, Marco Chiesa

    Key-value data structures are an essential component of today's stateful packet processors such as load balancers, packet schedulers, and more. Realizing key-value data structures entirely in the data-plane of an ASIC switch would bring enormous energy savings. Yet, today's implementations are ill-suited for stateful packet processing as they support only a limited amount of flow-state insertions per second into these data structures. In this paper, we present SWITCHAROO, a mechanism for realizing key-value data structures on programmable ASIC switches that supports both high-frequency insertions and fast lookups entirely in the data plane. We show that SWITCHAROO can be realized on ASIC, supports millions of flow-state insertions per second with only limited amount of packet recirculation.