利用四元数激活函数改进四元数神经网络
Improving Quaternion Neural Networks with Quaternionic Activation Functions
AI总结:
针对四元数神经网络现有拆分激活函数未利用四元数特性的问题,提出基于模长或相位修改的新型四元数激活函数,可改善梯度流动,在图像分类任务上性能优于拆分ReLU和拆分Tanh。
摘要:
本文提出了通过修改四元数模长或相位的新型四元数激活函数,作为常用的拆分激活函数的替代方案。我们定义了与四元数激活函数相关的准则,并基于该分析提出了新型激活函数。与将ReLU或Tanh等已知激活函数分别应用于四元数各分量的做法不同,这些激活函数考虑了四元数特性且遵循四元数空间$\u210d$。具体而言,所有四元数分量都会被用于计算所有输出分量,将四元数卷积等场景中哈密顿积的优势延续到了激活函数中。所提出的激活函数可集成到任意采用梯度下降技术训练的四元值神经网络中。我们进一步讨论了所提激活函数的导数,发现影响相位的激活函数具备有益特性:它们几乎在整个输入范围内都具有敏感性,因此有望改善梯度流动。我们对所提出的四元数激活函数开展了详尽的实验评估,包括在CIFAR-10和SVHN数据集的两个图像分类任务上,与拆分ReLU、拆分Tanh进行对比。实验结果显示,尤其是影响相位的四元数激活函数始终能提供更优的性能。
英文摘要:
In this paper, we propose novel quaternion activation functions where we modify either the quaternion magnitude or the phase, as an alternative to the commonly used split activation functions. We define criteria that are relevant for quaternion activation functions, and subsequently we propose our novel activation functions based on this analysis. Instead of applying a known activation function like the ReLU or Tanh on the quaternion elements separately, these activation functions consider the quaternion properties and respect the quaternion space $\mathbb{H}$. In particular, all quaternion components are utilized to calculate all output components, carrying out the benefit of the Hamilton product in e.g. the quaternion convolution to the activation functions. The proposed activation functions can be incorporated in arbitrary quaternion valued neural networks trained with gradient descent techniques. We further discuss the derivatives of the proposed activation functions where we observe beneficial properties for the activation functions affecting the phase. Specifically, they prove to be sensitive on basically the whole input range, thus improved gradient flow can be expected. We provide an elaborate experimental evaluation of our proposed quaternion activation functions including comparison with the split ReLU and split Tanh on two image classification tasks using the CIFAR-10 and SVHN dataset. There, especially the quaternion activation functions affecting the phase consistently prove to provide better performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。