paper-with-me

홈 › Papers

TCL: Enabling Fast and Efficient Cross-Hardware Tensor Program Optimization via Continual Learning

2026-04-14 · Chaoyao Shen, Linfeng Jiang, Yixian Shen, Tao Xu, Guoqing Li, Anuj Pathania, Andy D. Pimentel, Meng Zhang arxiv

Deep learning (DL) compilers rely on cost models and auto-tuning to optimize tensor programs for target hardware. However, existing approaches depend on large offline datasets, incurring high collection costs and offering suboptimal transferability across platforms. In this paper, we introduce TCL, a novel efficient and transferable compiler framework for fast tensor program optimization across diverse hardware platforms to address these challenges. Specifically, TCL is built on three core enablers: (1) the RDU Sampler, a data-efficient active learning strategy that selects only 10% of tensor programs by jointly optimizing Representativeness, Diversity, and Uncertainty, substantially reducing data collection costs while maintaining near-original model accuracy; (2) a new Mamba-based cost model that efficiently captures long-range schedule dependencies while achieving a favorable trade-off between prediction accuracy and computational cost through reduced parameterization and lightweight sequence modeling; and (3) a continuous knowledge distillation framework that effectively and progressively transfers knowledge across multiple hardware platforms while avoiding the parameter explosion and data dependency issues typically caused by traditional multi-task learning. Extensive experiments validate the effectiveness of each individual enabler and the holistic TCL framework. When optimizing a range of mainstream DL models on both CPU and GPU platforms, TCL achieves, on average, 16.8x and 12.48x faster tuning time, and 1.20x and 1.13x lower inference latency, respectively, compared to Tenset-MLP.

📄 PDF Abstract BibTeX arXiv:2604.12891

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationMulti-Task LearningContinual LearningActive Learning

Similar Papers 제목 키워드 기반

Transfer Learning Across Heterogeneous Features For Efficient Tensor Program Generation

2023-04-11 · Gaurav Verma, Siddhisanket Raskar, Zhen Xie, Abid M Malik 외

Tuning tensor program generation involves searching for various possible program transformation combinations for a given program on target hardware to optimize the tensor program execution. It is already a complex proces…

Transfer Learning

COGNATE: Acceleration of Sparse Tensor Programs on Emerging Hardware using Transfer Learning

2025-05-31 · Chamika Sudusinghe, Gerasimos Gerogiannis, Damitha Lenadora, Charles Block 외

Sparse tensor programs are essential in deep learning and graph analytics, driving the need for optimized processing. To meet this demand, specialized hardware accelerators are being developed. Optimizing these programs …

Transfer Learning

MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs

2025-12-22 · Xinhao Cheng, Zhihao Zhang, Yu Zhou, Jianan Ji 외 arxiv

We introduce Mirage Persistent Kernel (MPK), the first compiler and runtime system that automatically transforms multi-GPU model inference into a single high-performance mega-kernel. MPK introduces an SM-level graph repr…

TLP: A Deep Learning-based Cost Model for Tensor Program Tuning

2022-11-07 · Yi Zhai, Yu Zhang, Shuo Liu, Xiaomeng Chu 외

Tensor program tuning is a non-convex objective optimization problem, to which search-based approaches have proven to be effective. At the core of the search-based approaches lies the design of the cost model. Though dee…

CPUGPUMulti-Task Learning

Autocomp: LLM-Driven Code Optimization for Tensor Accelerators

2025-05-24 · Charles Hong, Sahil Bhatia, Alvin Cheung, Yakun Sophia Shao

Hardware accelerators, especially those designed for tensor processing, have become ubiquitous in today's computing landscape. However, even with significant efforts in building compilers, programming these tensor accele…

Code Generation