Artemis AI: Multi-LLM Framework for Code Optimisation

This paper introduces Artemis AI, a novel framework leveraging multiple Large Language Models (LLMs) optimise code performance. Artemis AI achieves significant performance improvements in highly-optimised code across diverse domains with minimal changes. We focus on three representative open-source projects: QuantLib (quantitative finance), Llama2.c (natural language processing), and OpenAI Whisper (automatic speech recognition) and one proprietary high performance codebase. Our multi-stage process involves extracting target code snippets, independent optimisation by multiple LLMs, and a search-based selection of the optimal solutions, achieving a 30 % reduction in execution time for QuantLib, a 52 % reduction for Llama2.c, and a 15% reduction for OpenAI Whisper. These results highlight the potential of multi-LLM collaboration for substantial performance gains that lead to greener software while preserving code readability and reliability.

Authors

Institutions

Publication Details

Published
2025-05-05
DOI
https://doi.org/10.1109/cai64502.2025.00057
Citations
1
Primary Topic
Simulation Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.11
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Artemis AI: Multi-LLM Framework for Code Optimisation

Rafail Giavrimis, Roman Bauer, Michail Basios, Leslie Kanthan et al.
1 citations
Simulation Techniques and Applications
2.11
article

Artemis AI: Multi-LLM Framework for Code Optimisation

Rafail Giavrimis, Roman Bauer, Michail Basios, Leslie Kanthan, Fan Wu
article en
1 citations

Abstract

This paper introduces Artemis AI, a novel framework leveraging multiple Large Language Models (LLMs) optimise code performance. Artemis AI achieves significant performance improvements in highly-optimised code across diverse domains with minimal changes. We focus on three representative open-source projects: QuantLib (quantitative finance), Llama2.c (natural language processing), and OpenAI Whisper (automatic speech recognition) and one proprietary high performance codebase. Our multi-stage process involves extracting target code snippets, independent optimisation by multiple LLMs, and a search-based selection of the optimal solutions, achieving a 30 % reduction in execution time for QuantLib, a 52 % reduction for Llama2.c, and a 15% reduction for OpenAI Whisper. These results highlight the potential of multi-LLM collaboration for substantial performance gains that lead to greener software while preserving code readability and reliability.

University of Surrey (GB)
Openalex Percentile: Top 12%
Simulation Techniques and Applications
2.11
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.

Artemis AI: Multi-LLM Framework for Code Optimisation — Rafail Giavrimis, Roman Bauer, et al. · (2025) | TGRS Research Map | TGRS