TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
Liqiang Lu, Naiqing Guan, Yuyue Wang, Liancheng Jia, Zizhang Luo, Jieming Yin, Jason Cong, Yun Liang
摘要
Accelerating tensor applications on spatial architectures provides high performance and energy-efficiency, but requires accurate performance models for evaluating various dataflow alternatives. Such modeling relies on the notation of tensor dataflow and the formulation of performance metrics. Recent proposed compute-centric and data-centric notations describe the dataflow using imperative directives. However, these two notations are less expressive and thus lead to limited optimization opportunities and inaccurate performance models.
In this paper, we propose a framework TENET that models hardware dataflow of tensor applications. We start by introducing a relation-centric notation, which formally describes the hardware dataflow for tensor computation. The relation-centric notation specifies the hardware dataflow, PE interconnection, and data assignment in a uniform manner using relations. The relation-centric notation is more expressive than the computecentric and data-centric notations by using more sophisticated affine transformations. Another advantage of relation-centric notation is that it inherently supports accurate metrics estimation, including data reuse, bandwidth, latency, and energy. TENET computes each performance metric by counting the relations using integer set structures and operators. Overall, TENET achieves 37.4% and 51.4% latency reduction for CONV and GEMM kernels compared with the state-of-the-art data-centric notation by identifying more sophisticated hardware dataflows.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction
- HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
- HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation 引用了 TensorLib: A Spatial Accelerator Generation Framework for Tensor Algebra
- HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
- Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet Accelerators 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
- Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet Accelerators 引用了 HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation
- AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
- AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation
- AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
引用它的顶会 Paper17
- HASCO: Towards Agile HArdware and Software CO-design for Tensor ComputationQingcheng Xiao, Size Zheng, Bingzhe Wu, Pengcheng Xu 等ISCA 2021 · 73 次引用
- Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet AcceleratorsJingwei Cai, Zuotong Wu, Sen Peng, Yuchen Wei 等HPCA 2024 · 65 次引用
- AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstractionSize Zheng, Renze Chen, Anjiang Wei, Yicheng Jin 等ISCA 2022 · 63 次引用
- TensorLib: A Spatial Accelerator Generation Framework for Tensor AlgebraLiancheng Jia, Zizhang Luo, Liqiang Lu, Yun LiangDAC 2021 · 49 次引用
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based AnalysisSize Zheng, Siyuan Chen, Siyuan Gao, Liancheng Jia 等MICRO 2023 · 31 次引用
它引用的 Paper4
- Interstellar: Using Halide's Scheduling Language to Analyze DNN AcceleratorsXuan Yang, Mingyu Gao, Qiaoyi Liu, Jeff Setter 等ASPLOS 2020 · 237 次引用
- FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous SystemSize Zheng, Yun Liang, Shuo Wang, Renze Chen 等ASPLOS 2020 · 171 次引用
- HASCO: Towards Agile HArdware and Software CO-design for Tensor ComputationQingcheng Xiao, Size Zheng, Bingzhe Wu, Pengcheng Xu 等ISCA 2021 · 73 次引用
- TensorLib: A Spatial Accelerator Generation Framework for Tensor AlgebraLiancheng Jia, Zizhang Luo, Liqiang Lu, Yun LiangDAC 2021 · 49 次引用
相关 Paper
- TENET-v2: Applying Relation-Centric Notation to Model and Optimize Data Swizzle in the Cache of Modern NPUHanyu Zhang, Fangxu Guo, Liqiang Lu, Long Wang 等HPCA 2026
- Rubick: A Synthesis Framework for Spatial Architectures via Dataflow DecompositionZizhang Luo, Liqiang Lu, Size Zheng, Jieming Yin 等DAC 2023 · 7 次引用
- StreamTensor: Make Tensors Stream in Dataflow Accelerators for LLMsHanchen Ye, Deming ChenMICRO 2025 · 5 次引用
- Sparseloop: An Analytical Approach To Sparse Tensor Accelerator ModelingYannan Nellie Wu, Po-An Tsai, Angshuman Parashar, Vivienne Sze 等MICRO 2022 · 76 次引用
- LEGO: Spatial Accelerator Generation and Optimization for Tensor ApplicationsYujun Lin, Zhekai Zhang, Song HanHPCA 2025
