← Latest papers
💻 computer science

Optimas: An Intelligent Analytics-Informed Generative AI Framework for Performance Optimization

Optimas is an automated, multi-agent generative AI framework that bridges the gap between performance diagnostics and actionable code transformations, achieving 100% code correctness and significant performance gains (8.02%–79.09%) on NVIDIA GPUs across extensive real-world experiments.

Original authors: Mohammad Zaeed, Tanzima Z. Islam, Vladimir Indic

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Mohammad Zaeed, Tanzima Z. Islam, Vladimir Indic

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very talented but slightly confused mechanic (the AI) who is great at fixing cars, but they've never been told why your specific car is making that weird noise. If you just hand them the engine and say, "Make it run faster," they might tighten a bolt that doesn't need tightening or swap a part that's already perfect. They might even break something because they don't understand the problem.

This is the problem with current AI trying to fix computer code. They can write code, but without a clear diagnosis of where the computer is slowing down, they often make changes that don't help or might even hurt.

Enter "Optimas."

Think of Optimas as a super-smart diagnostic team that sits between the car (your computer code) and the mechanic (the AI). Instead of just handing the mechanic the engine, Optimas first runs a full health check, finds the exact problem, and then hands the mechanic a detailed note that says: "The engine is stalling because the fuel line is clogged at this specific spot. Please clear this line, but don't touch the brakes."

Here is how Optimas works, broken down into simple steps:

1. The Detective Work (Data Extraction)

Before the AI touches a single line of code, Optimas acts like a detective. It looks at the computer's "black box" data (logs of what the computer was doing).

  • The Roofline Check: It checks if the computer is running out of "thinking power" (like a brain working too hard) or "memory power" (like a brain trying to remember too many things at once).
  • The Stall Check: It listens for where the computer is "waiting" or "stalling" (like a car idling at a red light when it should be moving).
  • The Hardware Counters: It counts specific tiny events, like how many times the computer had to go to the "back of the warehouse" to get data instead of grabbing it from the "front desk."

2. The Translator (Summarizing the Clues)

The raw data from these checks is huge—like a library of books. The AI can't read all of it. So, Optimas acts as a translator. It reads the library and writes a one-page summary for the AI.

  • Example Summary: "The code is waiting 52% of the time because of a memory barrier at line 28. Also, the computer is only using 62% of its available computing power."

3. The Smart Mechanic (The AI Agent)

Now, the AI gets the code plus the one-page summary. It has a set of strict rules:

  • "You can only fix the parts mentioned in the summary."
  • "You must explain why you are making the change based on the summary."
  • "Do not change the rest of the code."

This prevents the AI from guessing or making random changes. It forces the AI to be a "reasoned" mechanic rather than a "creative" one.

4. The Test Drive (Validation)

Once the AI suggests a fix, Optimas doesn't just trust it. It builds the new code, runs it, and checks two things:

  1. Did it break? (Does the answer still come out correct?)
  2. Did it get faster? (Did the car actually speed up?)

If it didn't get faster, Optimas throws that change away and tries again.

The Results: A Speedy Success Story

The researchers tested this system on 10 different types of computer programs (from simple math tasks to complex scientific simulations) and ran 3,410 experiments.

  • Success Rate: In over 98% of the cases, the AI successfully made the code faster.
  • How much faster? The speedups ranged from a modest 8% to a massive 79%.
  • Accuracy: The AI got the code right 100% of the time (it didn't break the programs).

Why This Matters

Usually, only highly paid experts with years of training can look at a computer program, find the "stalling" parts, and fix them. This takes hours or days. Optimas automates this process. It turns a complex, expert-only job into a workflow that anyone can run.

In short, Optimas doesn't just ask the AI to "guess" how to fix code. It gives the AI a map of the problem, ensuring the AI fixes exactly what is broken, resulting in faster, smoother computer programs.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →