MonoCoder: Domain-Specific Code Language Model for HPC Codes and Tasks
Not on the map. Why?
Abstract (arXiv)
With easier access to powerful compute resources, there is a growing trend in AI for software development to develop large language models (LLMs) to address a variety of programming tasks. Even LLMs applied to tasks from the high-performance computing (HPC) domain are huge in size and demand expensive compute resources for training. This is partly because LLMs for HPC tasks are obtained by finetuning existing LLMs that support several natural and/or programming languages. We found this design choice confusing - why do we need LLMs trained on natural languages and programming languages unrelated to HPC for HPC-specific tasks? In this line of work, we aim to question choices made by existing LLMs by developing smaller language models (LMs) for specific domains - we call them domain-specific LMs. Specifically, we start with HPC as a domain and build an HPC-specific LM, named MonoCoder, which is orders of magnitude smaller than existing LMs but delivers better performance on non-HPC and HPC codes. Specifically, we pre-trained MonoCoder on an HPC-specific dataset (named HPCorpus) of C and C++ programs mined from GitHub. We evaluated the performance of MonoCoder against state-of-the-art multi-lingual LLMs. Results demonstrate that MonoCoder, although much smaller than existing LMs, outperforms other LLMs on normalized-perplexity tests (in relation to model size) while also delivering competing CodeBLEU scores for high-performance and parallel code generations. In other words, results suggest that MonoCoder understands HPC code better than state-of-the-art LLMs.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 29 of its 51 references that are in the map. First posted on arXiv 20 Dec 2023.
Builds on
29 of 51 references.
References · 29
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023StarCoder: may the source be with you!cited by 799
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
17 more
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2022Code Translation with Compiler Representationscited by 42
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
- 2023CodeTF: One-stop Transformer Library for State-of-the-art Code LLMscited by 21
- 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
- 2023Learning to Parallelize with OpenMP by Augmented Heterogeneous AST Representationcited by 14
- 2022A Survey on Pretrained Language Models for Neural Code Intelligencecited by 13
- 2023HPC-Coder: Modeling Parallel Programs using Large Language Modelscited by 11
- 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
- 2023Advising OpenMP Parallelization via a Graph-Based Approach with Transformerscited by 10
- 2023ComPile: A Large IR Dataset from Production Sourcescited by 10
- 2023Quantifying OpenMP: Statistical Insights into Usage and Adoptioncited by 9
- 2020ComPar: Optimized Multi-Compiler for Automatic OpenMP S2S Parallelizationcited by 8
- 2022Reinventing High Performance Computing: Challenges and Opportunitiescited by 6
- 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformerscited by 5
- 2023Neural Machine Translation for Code Generationcited by 3
- 2023CompCodeVet: A Compiler-guided Validation and Enhancement Approach for Code Datasetcited by 3
Built on by
Citing papers per year: 2024: 4; 2025: 6; 2026: 2.
12 papers.
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2024OMPar: Automatic Parallelization with AI-Driven Source-to-Source Compilationcited by 5
- 2024LLM as HPC Expert: Extending RAG Architecture for HPC Datacited by 5
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2025Performance Evaluation of General Purpose Large Language Models for Basic Linear Algebra Subprograms Code Generationcited by 1
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processorscited by 0
- 2025EPIC: Generative AI Platform for Accelerating HPC Operational Data Analyticscited by 0
- 2025ACCeLLiuM: Supervised Fine-Tuning for Automated OpenACC Pragma Generationcited by 0
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigmscited by 0
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translationcited by 0
- 2026HARGO: Heterogeneity-Aware Reward-Guided Optimization for RL Post-Training of LLMs on HPC Taskscited by 0
- 2026HARGO: Heterogeneity-Aware Reward-Guided Optimization for RL Post-Training of LLMs on HPC Tasks30 Jul 2026
- 2026ParaCodex: A Profiling-Guided Autonomous Coding Agent for Reliable Parallel Code Generation and Translation7 Jan 2026
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigms5 Nov 2025
- 2025ACCeLLiuM: Supervised Fine-Tuning for Automated OpenACC Pragma Generation20 Sep 2025
- 2025Accelerating Latency-Critical Applications with AI-Powered Semi-Automatic Fine-Grained Parallelization on SMT Processors31 Aug 2025
- 2025EPIC: Generative AI Platform for Accelerating HPC Operational Data Analytics29 Aug 2025
- 2025Performance Evaluation of General Purpose Large Language Models for Basic Linear Algebra Subprograms Code Generation7 Jul 2025
- 2024LLM as HPC Expert: Extending RAG Architecture for HPC Data9 Dec 2024
- 2024OMPar: Automatic Parallelization with AI-Driven Source-to-Source Compilation23 Sep 2024
- 2024The Landscape and Challenges of HPC Research and LLMs3 Feb 2024
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMP28 Jan 2024