跳到正文
arXiv (AI + Vision + Imaging)· Emadeldeen Hamdan, Marouane Tliba, Ulas Bagci, Ahmet Enis Cetin·· 1 天前AI 评分38

Hadamard变换辅助算子HMA:用Walsh-Hadamard特征重构提升免乘法神经网络精度

Rethinking Multiplication in Neural Networks with Hadamard Transform-Assisted Operators

AI 导读

研究提出Hadamard变换辅助免乘法(HMA)算子,将Walsh-Hadamard变换特征与免乘法通道混合结合,并通过门控公式定位仍需常规乘法的层。ResNet-18在CIFAR-10上以知识蒸馏训练后达91.2%准确率,高于常规基线90.4%,同时参数减少68.25%、常规MACs减少85.71%、一般乘法减少85.54%。

正文 · 原文

arXiv:2509.23103v3 Announce Type: replace Abstract: Multiplication-avoiding neural operators are attractive for compute-in-memory (CIM) architectures, but directly replacing conventional convolutions often causes accuracy degradation. We investigate whether this limitation arises from multiplication avoidance itself or from the representation on which the operator acts. In this work, we introduce Hadamard Transform-assisted multiplication-avoiding (HMA) operators that combine Walsh--Hadamard transform features with multiplication-avoiding channel mixing. To identify where conventional multiplication remains necessary, we employ a gated formulation in which conventional and HMA operators compete through learned layer-wise coefficients. ResNet-18 experiments show that intermediate convolutional layers assign greater weight to HMA, whereas the earliest layers and final classifier retain greater contribution from conventional computation. Guided by this observation, we construct a compact hybrid HMA network and train it using knowledge distillation from a conventional teacher. On CIFAR-10, the resulting ResNet-18 student achieves 91.2\% accuracy compared with 90.4\% for the corresponding conventional baseline while reducing parameters by 68.25\%, conventional MACs by 85.71\%, and general multiplications by 85.54\%. Across ResNet-18, ResNet-50, and MobileNetV2 on CIFAR-10, CIFAR-100, and Tiny-ImageNet, HMA with knowledge distillation matches or improves the conventional models. These results show that Hadamard-domain feature restructuring can improve the accuracy--complexity tradeoff of multiplication-avoiding networks and provide a practical path toward efficient CIM inference.

来源:arXiv (AI + Vision + Imaging) · arxiv.org