mlsanityData to 14 Oct 2026

PerfDojo: Automated ML Library Generation for Heterogeneous Architectures

arXiv 2511.03586 ↗First posted 5 Nov 2025cs.PF cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The increasing complexity of machine learning models and the proliferation of diverse hardware architectures (CPUs, GPUs, accelerators) make achieving optimal performance a significant challenge. Heterogeneity in instruction sets, specialized kernel requirements for different data types and model features (e.g., sparsity, quantization), and architecture-specific optimizations complicate performance tuning. Manual optimization is resource-intensive, while existing automatic approaches often rely on complex hardware-specific heuristics and uninterpretable intermediate representations, hindering performance portability. We introduce PerfLLM, a novel automatic optimization methodology leveraging Large Language Models (LLMs) and Reinforcement Learning (RL). Central to this is PerfDojo, an environment framing optimization as an RL game using a human-readable, mathematically-inspired code representation that guarantees semantic validity through transformations. This allows effective optimization without prior hardware knowledge, facilitating both human analysis and RL agent training. We demonstrate PerfLLM's ability to achieve significant performance gains across diverse CPU (x86, Arm, RISC-V) and GPU architectures.

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

Builds on

25 of 57 references.

References · 25

  1. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,745
  2. 2015Prioritized Experience Replaycited by 1,099
  3. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
  4. 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 785
  5. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  6. 2017Noisy Networks for Explorationcited by 266
  7. 2024Reinforcement learningcited by 247
  8. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
  9. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 201
  10. 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
  11. 2024MARLIN: Mixed-Precision Auto-Regressive Parallel Inference on Large Language Modelscited by 52
  12. 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
13 more
  1. 2022Machine Learning Model Sizes and the Parameter Gapcited by 39
  2. 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
  3. 2022Tensor Program Optimization with Probabilistic Programscited by 30
  4. 2019Stateful Dataflow Multigraphs: A Data-Centric Model for Performance Portability on Heterogeneous Architecturescited by 21
  5. 2021Bolt: Bridging the Gap between Auto-tuners and Hardware-native Performancecited by 18
  6. 2020Snitch: A tiny Pseudo Dual-Issue Processor for Area and Energy Efficient Execution of Floating-Point Intensive Workloadscited by 11
  7. 2020Maximum Reward Formulation In Reinforcement Learningcited by 10
  8. 2019Stream Semantic Registers: A Lightweight RISC-V ISA Extension Achieving Full Compute Utilization in Single-Issue Corescited by 7
  9. 2019Ara: A 1 GHz+ Scalable and Energy-Efficient RISC-V Vector Processor with Multi-Precision Floating Point Support in 22 nm FD-SOIcited by 5
  10. 2021Bring Your Own Codegen to Deep Learning Compilercited by 5
  11. 2024Exo 2: Growing a Scheduling Languagecited by 3
  12. 2018ISA Mapper: A Compute and Hardware Agnostic Deep Learning Compilercited by 2
  13. 2023FuzzyFlow: Leveraging Dataflow To Find and Squash Program Optimization Bugscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Optimas: An Intelligent Analytics-Informed Generative AI Framework for Performance Optimization ↗
  2. 2026Large Language Model-Powered Evolutionary Code Optimization on a Phylogenetic Tree
  3. 2025STARK: Strategic Team of Agents for Refining Kernels
  4. 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization
  5. 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants
  6. 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning
  7. 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning
  8. 2025CuAsmRL: Optimizing GPU SASS Schedules via Deep Reinforcement Learning