New Benchmark Evaluates LLM Parallel Code Translation Reliability

Samyak Jhaveri, Erel Kaplan, Tom Yotam, Le Chen, Tomer Bitan, Niranjan Hasabnis, Gal Oren· July 28, 2026 View original

Summary

ParBench is a new kernel-centric benchmark framework designed to reliably evaluate Large Language Models' (LLMs) ability to translate parallel programming APIs. It ensures executable and reproducible conditions, revealing persistent challenges in preserving low-level parallel semantics across different APIs.

The increasing need to migrate compute-intensive software across diverse hardware accelerators and programming interfaces (like CUDA, OpenMP, OpenCL) has led to interest in using Large Language Models (LLMs) for code translation. However, current evaluation methods often fail to reliably assess whether LLMs preserve the critical low-level parallel semantics required for valid translations, such as thread indexing, synchronization, and memory management. ParBench addresses this gap by providing a kernel-centric benchmark framework for evaluating LLM-based parallel API translation under controlled, executable, and reproducible conditions. It focuses solely on translating computational kernels, fixing the surrounding build and verification infrastructure. The benchmark includes source augmentation to test robustness against surface-form memorization. Evaluations using ParBench on state-of-the-art LLMs expose significant challenges, including directional asymmetry in translation, difficulties with multi-file coordination, incomplete API adaptation, and inconsistent robustness to minor code perturbations.

Why it matters

For professionals in high-performance computing and software development, ParBench provides a crucial tool to accurately assess the capabilities and limitations of LLMs for parallel code migration, guiding more effective adoption and development strategies.

How to implement this in your domain

  1. 1Utilize ParBench to evaluate the suitability of LLMs for parallel code translation tasks within your organization.
  2. 2Identify specific parallel programming API translation directions where LLMs show promise or significant limitations based on ParBench results.
  3. 3Integrate ParBench's methodology into your internal testing pipelines for any LLM-powered code generation or translation tools.
  4. 4Contribute to the ParBench framework by adding new kernels or translation directions relevant to your specific HPC needs.

Who benefits

High-Performance ComputingSoftware DevelopmentAutomotiveAerospaceScientific Research

Key takeaways

  • LLMs are increasingly used for parallel code migration, but reliable evaluation is lacking.
  • ParBench is a new benchmark for assessing LLM parallel code translation accuracy and robustness.
  • The benchmark reveals persistent challenges in LLMs preserving low-level parallel semantics.
  • Evaluation should focus on executable, reproducible conditions and test against source perturbations.

Original post by Samyak Jhaveri, Erel Kaplan, Tom Yotam, Le Chen, Tomer Bitan, Niranjan Hasabnis, Gal Oren

"arXiv:2607.22588v1 Announce Type: new Abstract: Modern compute-intensive software must migrate across a changing ecosystem of accelerators, programming APIs, compiler stacks, and portability layers, including CUDA, OpenMP, OpenCL, and OpenMP target offload. Large language models…"

View on X

Originally posted by Samyak Jhaveri, Erel Kaplan, Tom Yotam, Le Chen, Tomer Bitan, Niranjan Hasabnis, Gal Oren on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses