mlsanityData to 14 Oct 2026

Small Language Models as Compiler Experts: Auto-Parallelization for Heterogeneous Systems

arXiv 2512.19250 ↗First posted 22 Dec 2025cs.LG cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Traditional auto-parallelizing compilers, reliant on rigid heuristics, struggle with the complexity of modern heterogeneous systems. This paper presents a comprehensive evaluation of small (approximately 1B parameter) language-model-driven compiler auto-parallelization. We evaluate three models: gemma3, llama3.2, and qwen2.5, using six reasoning strategies across 11 real-world kernels drawn from scientific computing, graph algorithms, and machine learning. Our system is benchmarked against strong compiler baselines, including LLVM Polly, TVM, and Triton. Across 376 total evaluations, the proposed approach achieves an average speedup of 6.81x and a peak performance of 43.25x on convolution operations. We analyze scalability, verify correctness using multiple sanitizers, and confirm robustness across diverse compilers and hardware platforms. Our results demonstrate that small, efficient language models can serve as powerful reasoning engines for complex compiler optimization tasks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 3 of its 5 references that are in the map. First posted on arXiv 22 Dec 2025.

Builds on

3 of 5 references.

References · 3

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Should AI Optimize Your Code? A Comparative Study of Classical Optimizing Compilers Versus Current Large Language Models
  2. 2023Large Language Models for Compiler Optimization
  3. 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving
  4. 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning
  5. 2026LiteCoOp: Lightweight Multi-LLM Shared-Tree Reasoning for Model-Serving Compiler Optimizations
  6. 2024CompilerDream: Learning a Compiler World Model for General Code Optimization
  7. 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization
  8. 2025Fast and Compact Tsetlin Machine Inference on CPUs Using Instruction-Level Optimization