vix.ing · top · new · best · stats

Learning to Optimize Tensor Programs

2018/05/21 by Tianqi Chen, Lianmin Zheng, Chen, Tianqi +14 · 1 voice · 124 citations
Computer Science · Mathematics · Physics and Astronomy · Psychology · #Computational Physics and Python Applications #Computer science #Mathematics #Model Reduction and Neural Networks #Parallel Computing and Optimization Techniques #Psychology #Pure mathematics #Tensor (intrinsic definition) #cs.LG #stat.ML

paper · pdf · doi:10.48550/arxiv.1805.08166

published in arXiv (Cornell University) (Cornell University) · NeurIPS 2018

openalex publication_date 2018/05/21 · arxiv created 2019/01/08 · arxiv updated 2019/01/10 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

We introduce a learning-based framework to optimize tensor programs for deep learning workloads. Efficient implementations of tensor operators, such as matrix multiplication and high dimensional convolution, are key enablers of effective deep learning systems. However, existing systems rely on manually optimized libraries such as cuDNN where only a narrow range of server class GPUs are well-supported. The reliance on hardware-specific operator libraries limits the applicability of high-level graph optimizations and incurs significant engineering costs when deploying to new hardware targets. We use learning to remove this engineering burden. We learn domain-specific statistical cost models to guide the search of tensor operator implementations over billions of possible program variants. We further accelerate the search by effective model transfer across workloads. Experimental results show that our framework delivers performance competitive with state-of-the-art hand-tuned libraries for low-power CPU, mobile GPU, and server-class GPU.

Citations

Cited by

Discussions

Related