arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.12433cs.LGcs.CL
收藏

Sparse-softmax:一种更简单、更快速的Softmax变换

Sparse-softmax: A Simpler and Faster Alternative Softmax Transformation

Cardiff University(卡迪夫大学);Osaka City University(大阪市立大学);Beijing Jiaotong University(北京交通大学);Shenzhen University(深圳大学);Shenzhen Zhuiyi Technology Co., Ltd.(深圳追一科技有限公司);Chinese Academy of Science(中国科学院)

Shaoshi Sun, Zhenyuan Zhang, BoCheng Huang, Pengbin Lei, Jianlin Su, Shengfeng Pan, Jiarun Cao

摘要:

softmax函数在人工神经网络中被广泛用于多类分类问题,其中softmax变换强制输出为正且和为1,并且相应的损失函数允许使用最大似然原理来优化模型。但softmax在高维分类时给损失函数留有很大的优化空间,在一定程度上导致了算法性能的下降。在本文中,我们提供了一个简单而简洁的softmax的变体,即稀疏softmax,以减轻在高维分类问题,在传统的softmax中发生的问题的实证研究。我们在几个跨学科的任务中评估了我们的方法,实验结果表明,sparse-softmax比基线模型更简单,更快,并且产生更好的结果。

英文摘要:

The softmax function is widely used in artificial neural networks for the multiclass classification problems, where the softmax transformation enforces the output to be positive and sum to one, and the corresponding loss function allows to use maximum likelihood principle to optimize the model. However, softmax leaves a large margin for loss function to conduct optimizing operation when it comes to high-dimensional classification, which results in low-performance to some extent. In this paper, we provide an empirical study on a simple and concise softmax variant, namely sparse-softmax, to alleviate the problem that occurred in traditional softmax in terms of high-dimensional classification problems. We evaluate our approach in several interdisciplinary tasks, the experimental results show that sparse-softmax is simpler, faster, and produces better results than the baseline models.

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

↑