mlsanityData to 7 Oct 2026

LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codes

arXiv 2407.01638 ↗First posted 30 Jun 2024cs.SE cs.AI cs.DCcited by 10

Not on the map. Why?

Abstract (arXiv)

This paper addresses the problem of providing a novel approach to sourcing significant training data for LLMs focused on science and engineering. In particular, a crucial challenge is sourcing parallel scientific codes in the ranges of millions to billions of codes. To tackle this problem, we propose an automated pipeline framework called LASSI, designed to translate between parallel programming languages by bootstrapping existing closed- or open-source LLMs. LASSI incorporates autonomous enhancement through self-correcting loops where errors encountered during the compilation and execution of generated code are fed back to the LLM through guided prompting for debugging and refactoring. We highlight the bi-directional translation of existing GPU benchmarks between OpenMP target offload and CUDA to validate LASSI. The results of evaluating LASSI with different application codes across four LLMs demonstrate the effectiveness of LASSI for generating executable parallel codes, with 80% of OpenMP to CUDA translations and 85% of CUDA to OpenMP translations producing the expected output. We also observe approximately 78% of OpenMP to CUDA translations and 62% of CUDA to OpenMP translations execute within 10% of or at a faster runtime than the original benchmark code in the same language.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 30 Jun 2024.

Builds on

15 of 23 references.

References · 15

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  6. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  7. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  8. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  9. 2023Personality Traits in Large Language Modelscited by 166
  10. 2024Nemotron-4 340B Technical Reportcited by 143
  11. 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
  12. 2024Toward Self-Improvement of LLMs via Imagination, Searching, and Criticizingcited by 123
3 more
  1. 2024Can Large Language Models Write Parallel Code?cited by 36
  2. 2024The Unreasonable Effectiveness of Eccentric Automatic Promptscited by 12
  3. 2023Creating a Dataset for High-Performance Computing Code Translation using LLMs: A Bridge Between OpenMP Fortran and C++cited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 6; 2026: 2.

10 papers.