atlas

Research map / Large language models / Agents, code and math

Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfaces

ICML 2025 · Large language models › Agents, code and math · approach: LLM-guided program synthesis · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Uses an LLM-driven generative optimizer (Trace) with a domain-specific language and rich natural-language feedback (AutoGuide) to automatically generate and tune Legion parallel mappers, outperforming OpenTuner and matching or beating expert mappers.

Problem

Writing high-performance mappers for task-based parallel programs (Legion) requires days of expert manual tuning and exposes low-level system C++ APIs; existing autotuners like OpenTuner rely on scalar feedback and search inefficiently.

Approach

An Agent-System Interface combining a declarative mapper DSL (defining a structured search space and compiling to C++) with AutoGuide, a keyword-matching feedback mechanism that explains errors and suggests mapper edits, used inside a Trace-based generative optimizer with an LLM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Trace generative optimization instead of OpenTuner for 10 iterationsLLM mapper optimization · 9 benchmarksrelative throughput: 11×Helped
use Trace for 10 iterations instead of OpenTuner for 1000 iterationsLLM mapper optimization · 9 benchmarksrelative throughput: 3.8×Helped
use DSL instead of C++ for single-trial code generation (ablation)LLM mapper code generation · 10 mapping strategiessuccess rate: 0% -> 80%Helped
use DSL instead of C++ for iterative-refinement code generation (ablation)LLM mapper code generation · 10 mapping strategiessuccess rate: 0% -> 100%Helped
add iterative refinement with compiler feedback (ablation)DSL code generation · 10 mapping strategiessuccess rate: 80% -> 100%Helped
add iterative refinement with compiler feedback (ablation)C++ code generation · 10 mapping strategiessuccess rate: 0% -> 0%No clear effect
use full Execution+Explain+Suggest feedback instead of reduced feedback variants (ablation)Trace mapper optimization · 3 benchmarksnormalized throughputHelped
add feedback-based iterative refinement instead of 0-shot generation (ablation)LLM mapper optimization · 3 benchmarksnormalized throughputHelped
add enriched explanations and mapper suggestions to raw execution feedback (ablation)AutoGuide mapper optimization · 3 benchmarksnormalized throughputHelped

Surprising findings

Limitations

Experimental setup

Benchmarks: Circuit Stencil Pennant Cannon's SUMMA PUMMA Johnson's Solomonik's COSMA

Metrics: normalized throughput speedup code generation success rate lines of code

Baselines: Expert-written mappers Random mappers OPRO OpenTuner

Builds on: Trace OPRO OpenTuner DSPy least-to-most prompting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy