paper-with-me

Papers

A Deep Learning Based Cost Model for Automatic Code Optimization

2021-04-11 · Riyadh Baghdadi, Massinissa Merouani, Mohamed-Hicham Leghettas, Kamel Abdous, Taha Arbaoui, Karima Benatchba, Saman Amarasinghe

Enabling compilers to automatically optimize code has been a longstanding goal for the compiler community. Efficiently solving this problem requires using precise cost models. These models predict whether applying a sequence of code transformations reduces the execution time of the program. Building an analytical cost model to do so is hard in modern x86 architectures due to the complexity of the microarchitecture. In this paper, we present a novel deep learning based cost model for automatic code optimization. This model was integrated in a search method and implemented in the Tiramisu compiler to select the best code transformations. The input of the proposed model is a set of simple features representing the unoptimized code and a sequence of code transformations. The model predicts the speedup expected when the code transformations are applied. Unlike previous models, the proposed one works on full programs and does not rely on any heavy feature engineering. The proposed model has only 16% of mean absolute percentage error in predicting speedups on full programs. The proposed model enables Tiramisu to automatically find code transformations that match or are better than state-of-the-art compilers without requiring the same level of heavy feature engineering required by those compilers.

📄 PDF Abstract BibTeX arXiv:2104.04955

Code (0)

등록된 구현이 없습니다.

Tasks

Deep LearningFeature Engineering

Similar Papers 제목 키워드 기반

Costing Generated Runtime Execution Plans for Large-Scale Machine Learning Programs

2015-03-22 · Matthias Boehm

Declarative large-scale machine learning (ML) aims at the specification of ML algorithms in a high-level language and automatic generation of hybrid runtime execution plans ranging from single node, in-memory computation…

BIG-bench Machine Learning

irace-evo: Automatic Algorithm Configuration Extended With LLM-Based Code Evolution

2025-11-15 · Camilo Chacón Sartori, Christian Blum arxiv

Automatic algorithm configuration tools such as irace efficiently tune parameter values but leave algorithmic code unchanged. This paper introduces a first version of irace-evo, an extension of irace that integrates code…

CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization

2025-10-23 · Zijian Zhang, Rong Wang, Shiyang Li, Yuebo Luo 외 arxiv

Developing efficient CUDA kernels is increasingly critical for AI applications such as large-scale LLM training. However, manual kernel design is both costly and time-consuming, motivating automatic approaches that lever…

Code Generation

GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programs

2025-12-15 · Ruifan Chu, Anbang Wang, Xiuxiu Bai, Shuai Liu 외 arxiv

In high-performance computing, hotspot GPU kernels are primary bottlenecks, and expert manual tuning is costly and hard to port. Large language model methods often assume kernels can be compiled and executed cheaply, whi…

In-the-loop Hyper-Parameter Optimization for LLM-Based Automated Design of Heuristics

2024-10-07 · Niki van Stein, Diederick Vermetten, Thomas Bäck

Large Language Models (LLMs) have shown great potential in automatically generating and optimizing (meta)heuristics, making them valuable tools in heuristic optimization tasks. However, LLMs are generally inefficient whe…

Code GenerationCode SearchLanguage ModellingLarge Language Model