用分段线性单元学习特殊的激活函数
Learning specialized activation functions with the Piecewise Linear Unit
摘要:
激活函数的选择对于现代深度神经网络至关重要。流行的手工设计的激活函数,如整流线性单元(ReLU)及其变体,在各种任务和模型中表现出良好的性能。Swish是一种自动发现的激活函数,已经被提出,并且在许多具有挑战性的数据集上优于ReLU。然而,它有两个主要缺点。首先,基于树的搜索空间是高度离散和受限的,这是难以搜索的。其次,基于样本的搜索方法效率低下,使得为每个数据集或神经架构找到专门的激活函数是不可行的。为了解决这些缺点,我们提出了一个新的激活函数称为分段线性单元(PWLU),它结合了精心设计的配方和学习方法。它可以学习专门的激活函数,并在ImageNet和COCO等大规模数据集上实现SOTA性能。例如,在ImageNet分类数据集上,PWLU在ResNet-18/ResNet-50/MobileNet-V2/MobileNet-V3/EfficientNet-B 0上的top-1准确率比Swish提高了0.9%/0.53%/1.0%/1.7%/1.0%。PWLU也易于实现,推理效率高,可以广泛应用于现实世界的应用。
英文摘要:
The choice of activation functions is crucial for modern deep neural networks. Popular hand-designed activation functions like Rectified Linear Unit(ReLU) and its variants show promising performance in various tasks and models. Swish, the automatically discovered activation function, has been proposed and outperforms ReLU on many challenging datasets. However, it has two main drawbacks. First, the tree-based search space is highly discrete and restricted, which is difficult for searching. Second, the sample-based searching method is inefficient, making it infeasible to find specialized activation functions for each dataset or neural architecture. To tackle these drawbacks, we propose a new activation function called Piecewise Linear Unit(PWLU), which incorporates a carefully designed formulation and learning method. It can learn specialized activation functions and achieves SOTA performance on large-scale datasets like ImageNet and COCO. For example, on ImageNet classification dataset, PWLU improves 0.9%/0.53%/1.0%/1.7%/1.0% top-1 accuracy over Swish for ResNet-18/ResNet-50/MobileNet-V2/MobileNet-V3/EfficientNet-B0. PWLU is also easy to implement and efficient at inference, which can be widely applied in real-world applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。