arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2607.03148cs.LGcs.AIcs.AR
收藏

将神经非线性重新思考为门控

Rethinking Neural Nonlinearity as Gating

Department of Computer Science, Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU)(计算机科学系,弗里德里希-亚历山大-大学埃尔朗根-纽伦堡(FAU))

Muhammad Sabih, Frank Hannig, Jürgen Teich

AI总结:

研究表明神经非线性可通过输入条件阈值门控实现,标准激活函数是阈值门控实例,验证了跨模型转换的等效性,还提出定理,其在硬件实现上有优势,能提升模型多方面表现。

摘要:

激活函数是神经非线性的基本要素,使神经网络成为通用近似器。本文表明这种非线性也可通过输入条件阈值门控实现。证明标准激活函数是单个阈值门控原语的实例,验证了跨模型转换的等效性,提出定理,还介绍了其在硬件实现上的优势。

英文摘要:

Activation functions are considered an essential primitive for neural nonlinearity, i.e., they enable neural networks to serve as universal approximators. In this paper, we show that this nonlinearity can also be achieved by input-conditioned threshold gating through branches as a universal primitive. We demonstrate that standard activations -- whether piecewise-linear (ReLU, PReLU, Hardtanh) or smooth (SiLU, Sigmoid, Tanh, GELU) -- are in fact instances of a single Threshold Gating (TG) primitive. For softmax, we show that it admits an exact TG conversion via its equivalent per-element Sigmoid form. We then validate these equivalences by converting pretrained networks across CNNs, transformer-based models, and recurrent architectures, preserving model performance without requiring retraining. Threshold Gating also enables training from scratch that goes beyond replacing existing activations, enabling gains in model compression, performance, and shorter training. We also propose a 'Minimal Branch Theorem' which relates the minimum number of required branches in our primitive to the trainability of general deep neural networks. In terms of hardware implementation, TG maps to a unified implementation in the case of analog in-memory systems, addressing the bottleneck of analog-to-digital and digital-to-analog converters (ADC/DAC) that is known to significantly impact power consumption and on-chip area.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑