PofoliaShared via Pofolia

ACM Transactions on Architecture and Code Optimization· 2026Q2

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

Chaoyao Shen, Linfeng Jiang, Yixian Shen, Tao Xu et al.

Short summary

TCL, a new compiler framework, achieves 16.8x faster tuning and 1.20x lower inference latency on CPUs (12.48x faster, 1.13x lower on GPUs) by using continual learning to optimize tensor programs across diverse hardware, outperforming Tenset-MLP.

AI-generated from the title and abstract; the full text is not read.

Key points

  • TCL framework uses RDU Sampler (active learning), Mamba-based cost model, and continual knowledge distillation for tensor program optimization.
  • RDU Sampler selects 10% of tensor programs by optimizing representativeness, diversity, and uncertainty, reducing data costs.
  • Mamba-based model efficiently captures long-range dependencies with reduced parameterization.
  • TCL achieves 16.8x faster tuning and 1.20x lower inference latency on CPUs vs. Tenset-MLP.
  • TCL achieves 12.48x faster tuning and 1.13x lower inference latency on GPUs vs. Tenset-MLP.

AI-generated from the title and abstract; the full text is not read.

Abstract

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 R epresentativeness, D iversity, and U ncertainty, 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.8 × and 12.48 × faster tuning time, and 1.20 × and 1.13 × lower inference latency, respectively, compared to Tenset-MLP.

The authors' abstract, as published at the source. ACM Transactions on Architecture and Code Optimization, 2026 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Hardware and Architecture

Hardware and ArchitectureComputer Science