mlsanityData to 14 Oct 2026

MonoCoder: Domain-Specific Code Language Model for HPC Codes and Tasks

arXiv 2312.13322 ↗First posted 20 Dec 2023cs.PL cs.AI cs.LGcited by 12

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

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  6. 2023StarCoder: may the source be with you!cited by 799
  7. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  8. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  9. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  10. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  11. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
  12. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
17 more
  1. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  2. 2022Code Translation with Compiler Representationscited by 42
  3. 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
  4. 2023CodeTF: One-stop Transformer Library for State-of-the-art Code LLMscited by 21
  5. 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
  6. 2023Learning to Parallelize with OpenMP by Augmented Heterogeneous AST Representationcited by 14
  7. 2022A Survey on Pretrained Language Models for Neural Code Intelligencecited by 13
  8. 2023HPC-Coder: Modeling Parallel Programs using Large Language Modelscited by 11
  9. 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
  10. 2023Advising OpenMP Parallelization via a Graph-Based Approach with Transformerscited by 10
  11. 2023ComPile: A Large IR Dataset from Production Sourcescited by 10
  12. 2023Quantifying OpenMP: Statistical Insights into Usage and Adoptioncited by 9
  13. 2020ComPar: Optimized Multi-Compiler for Automatic OpenMP S2S Parallelizationcited by 8
  14. 2022Reinventing High Performance Computing: Challenges and Opportunitiescited by 6
  15. 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformerscited by 5
  16. 2023Neural Machine Translation for Code Generationcited by 3
  17. 2023CompCodeVet: A Compiler-guided Validation and Enhancement Approach for Code Datasetcited by 3

Built on by

Cited by year (2026 to 14 Oct)

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

12 papers.