跳到正文
arXiv cs.AI· Emadeldeen Hamdan, Marouane Tliba, Ulas Bagci, Ahmet Enis Cetin·· 2 小时前AI 评分37

用 Hadamard 变换辅助算子重新思考神经网络中的乘法

Rethinking Multiplication in Neural Networks with Hadamard Transform-Assisted Operators

AI 导读

论文提出 Hadamard 变换辅助的免乘法(HMA)算子,将 Walsh--Hadamard 变换特征与免乘法通道混合结合。在 CIFAR-10 上,经知识蒸馏训练的 ResNet-18 学生模型达到 91.2% 准确率,高于传统基线的 90.4%,同时参数减少 68.25%、传统 MACs 减少 85.71%、通用乘法减少 85.54%。

正文 · 原文

View PDF HTML (experimental)

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.
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)
Cite as: arXiv:2509.23103 [cs.CV]
  (or arXiv:2509.23103v3 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2509.23103

arXiv-issued DOI via DataCite

Submission history

From: Emadeldeen Hamdan [view email]
[v1] Sat, 27 Sep 2025 04:26:02 UTC (126 KB)
[v2] Sun, 14 Dec 2025 22:18:19 UTC (415 KB)
[v3] Tue, 24 Nov 2026 02:31:25 UTC (451 KB)

来源:arXiv cs.AI · arxiv.org