MetaFORGE optimizes natural-language skills for MPI code generation
Original title: MetaFORGE: A Meta-Learning Framework for Harness Optimization in Automated Code Generation for Parallel Computing
Across six MPI tasks and three workload sizes, the framework beat zero-shot generation and generally exceeded TextGrad.
MetaFORGE iteratively refines persistent natural-language skill specifications for generating MPI C programs. A scalar reward combines correctness tests, compiler diagnostics, static analysis, runtime measurements, and rank-level load-imbalance profiles, while external memory stores reward-supported optimization knowledge. Across six MPI tasks and three workload sizes, the authors report gains over zero-shot generation and generally over TextGrad. An ablation using gpt-4o for refinement still showed an advantage.
Unconfirmed: Performance claims are author-reported under the paper's evaluation protocol.
- The reward mixes tests, compiler diagnostics, static analysis, runtime, and load imbalance.
- Retrieval ablation spanned all 18 task and workload configurations.
- The advantage remained when refinement used gpt-4o.
- Held-out and zero-update runs tested whether optimization knowledge persists.
From the original article
1 min read at arxiv.orgLarge language models (LLMs) can generate parallel programs, but their correctness and performance depend strongly on the instructions that guide generation. We present \textsc{MetaFORGE}, an execution-grounded meta-learning framework that iteratively optimizes persistent natural-language skill specifications for MPI C code generation.
By Scott Piersall · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.