跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2411.16152 · v3

Optimizing Winograd Convolution on ARMv8 processors

首次提交 2024-11-25 15:22
版本更新 2026-11-17 21:34
雷达观测 2026-11-18 19:41
arXiv ↗PDF ↗

摘要

As Convolutional Neural Networks (CNNs) gain increasing prominence in deep learning, algorithms such as Winograd convolution have been introduced to boost computational efficiency. However, existing Winograd implementations often face challenges, including significant transformation overhead, suboptimal computation efficiency, and reduced parallel performance in certain layers. In this work, we present an ARMv8-specific execution framework for Winograd convolution based on a cache-resident, block-wise schedule. By maintaining consecutive memory access where possible and packing data in a customized z-shaped layout, our approach fully exploits a meticulously optimized GEMM micro-kernel that employs a ping-pong technique. Furthermore, we introduce a multidimensional parallelization strategy that selects a thread decomposition across the batch, tile, input-channel, and output-channel loops according to layer shape and coordinates the resulting thread groups with the fused block-wise execution schedule. To further boost performance, we manually optimize each micro-kernel in AArch64 assembly, carefully tuning blocking parameters for the ARMv8 architecture to minimize transformation overhead and maximize computational throughput. Experimental results demonstrate that our method achieves up to 4.74×4.74\times, 4.10×4.10\times, 4.72×4.72\times, and 10.57×10.57\times speedups over NCNN, NNPACK, FastConv, and ACL, respectively, on the Kunpeng 920 platform when using multiple threads, with corresponding gains of 5.46×5.46\times, 2.81×2.81\times, 6.11×6.11\times, and 8.05×8.05\times on the AWS Graviton2, and 3.32×3.32\times, 3.68×3.68\times, 5.84×5.84\times, and 9.28×9.28\times on the Phytium 2000+.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v3,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v3 · 2026-11-17 21:34 · 最新观测版本

Optimizing Winograd Convolution on ARMv8 processors

As Convolutional Neural Networks (CNNs) gain increasing prominence in deep learning, algorithms such as Winograd convolution have been introduced to boost computational efficiency. However, existing Winograd implementations often face challenges, including significant transformation overhead, suboptimal computation efficiency, and reduced parallel performance in certain layers. In this work, we present an ARMv8-specific execution framework for Winograd convolution based on a cache-resident, block-wise schedule. By maintaining consecutive memory access where possible and packing data in a customized z-shaped layout, our approach fully exploits a meticulously optimized GEMM micro-kernel that employs a ping-pong technique. Furthermore, we introduce a multidimensional parallelization strategy that selects a thread decomposition across the batch, tile, input-channel, and output-channel loops according to layer shape and coordinates the resulting thread groups with the fused block-wise execution schedule. To further boost performance, we manually optimize each micro-kernel in AArch64 assembly, carefully tuning blocking parameters for the ARMv8 architecture to minimize transformation overhead and maximize computational throughput. Experimental results demonstrate that our method achieves up to 4.74×4.74\times, 4.10×4.10\times, 4.72×4.72\times, and 10.57×10.57\times speedups over NCNN, NNPACK, FastConv, and ACL, respectively, on the Kunpeng 920 platform when using multiple threads, with corresponding gains of 5.46×5.46\times, 2.81×2.81\times, 6.11×6.11\times, and 8.05×8.05\times on the AWS Graviton2, and 3.32×3.32\times, 3.68×3.68\times, 5.84×5.84\times, and 9.28×9.28\times on the Phytium 2000+.

查看此版本解读 →查看此版本原文 ↗