Typically, Softmax is used in the final layer of a neural network to get a probability distribution for output classes. But the main problem with Softmax is that it is computationally expensive for large scale data sets with large number of possible outputs. To approximate class probability efficiently on such large scale data sets we can use Hierarchical Softmax. LSHTC datasets were used to study the performance of the Hierarchical Softmax. LSHTC datasets have large number of categories. In this paper we evaluate and report the performance of normal Softmax Vs Hierarchical Softmax on LSHTC datasets. This evaluation used macro f1 score as a performance measure. The observation was that the performance of Hierarchical Softmax degrades as the number of classes increase.
Hierarchical Shift Mixing -- Beyond Dense Attention in Transformers
Dept. of Electrical Engineering, Linköping University, Linköping, Sweden(电子工程系,林霍普大学);RISE Research Institutes of Sweden, Linköping, Sweden(瑞典RISE研究机构)
Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss
School of Artificial Intelligence \& Data Science, University of Science \& Technology of China, Hefei, China;School of Computer Science \& Technology, University of Science \& Technology of China, Hefei, China;State Key Laboratory of Cognitive Intelligence, China
Graph Similarity Regularized Softmax for Semi-Supervised Node Classification
School of Mathematics and Physics, North China Electric Power University(华北电力大学数理学院);School of Mathematical Sciences, Beijing Normal University(北京师范大学数学科学学院)
Adaptive Sparse Softmax: An Effective and Efficient Softmax Variant
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);School of Computer Science and Technology, Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳)计算机科学与技术学院);School of Computer Science and Technology, Institution of Artificial Intelligence, Soochow University(苏州大学计算机科学与技术学院、人工智能研究所);Peking University(北京大学);Hong Kong Polytechnic University(香港理工大学)
The Z-loss: a shift and scale invariant classification loss belonging to the Spherical Family
MILA(蒙特利尔学习算法研究所);University of Montréal(蒙特利尔大学);CIFAR(加拿大高等研究院)
尽管log-softmax是训练多类神经网络的标准损失函数,但它有两个潜在的局限性。首先,它涉及的计算与输出类的数量呈线性关系,这可能会限制我们能够用当前硬件解决的问题的大小。其次,它与任务损失(如top-k出错率或其他我们最终要优化的不可微评估指标)的匹配程度仍不清楚。在本文中,我们介绍了一种替代的分类损失函数,Z-损失,这是为了解决这两个问题。与log-softmax不同,它具有属于球形损失家族的理想属性(Vincent等人,2015),一类损失函数,可以以独立于输出类的数量的复杂度非常有效地对其执行训练。我们的实验表明,它显着优于其他球形损失函数以前研究。此外,我们在一个单词语言建模任务中表明,它在某些排名分数(如前k分数)方面也优于log-softmax,这表明Z损失具有更好地匹配任务损失的灵活性。因此,这些品质使得Z损失成为非常有效地训练诸如单词-语言模型或其他极端分类问题的大输出网络的吸引人的候选者。On the One Billion Word(Chelba et al.,2014)数据集,我们能够训练一个Z损失比log-softmax快40倍,比分层softmax快4倍以上的模型。
PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation
State Key Laboratory of Blockchain and Data Security, Zhejiang University(区块链与数据安全国家重点实验室,浙江大学);College of Computer Science and Technology, Zhejiang University(计算机科学与技术学院,浙江大学)
Pruning and Sparsemax Methods for Hierarchical Attention Networks
Instituto Superior Técnico, University of Lisbon(里斯本大学高等技术学院);INESC-ID
本文介绍并评价了两种新颖的层次注意力网络模型[Yang et al.,- i)分层修剪注意力网络,其从分类过程中去除不相关的单词和句子,以减少文档分类准确性中的潜在噪声,以及ii)分层Sparsemax注意力网络,其用Sparsemax代替注意力机制中使用的Softmax函数[Martins和Astudillo,2016],能够更好地处理重要性分布,其中许多单词或句子具有非常低的概率。我们对IMDB Review的情感分析数据集的实证评估显示,这两种方法都能够匹配当前最先进的方法所获得的结果(但是没有任何显着的好处)。我们所有的源代码都可以在https://www.example.com上找到。github.com/jmribeiro/dsl-project
Label Granularity Skew in Federated Learning with Hierarchical Image Classification
School of Computer Science and Engineering, Soongsil University(崇实大学计算机科学与工程学院);School of Computing and Augmented Intelligence, Arizona State University(亚利桑那州立大学计算与增强智能学院)
Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Tsinghua University(清华大学)
Generative Modeling via Hierarchical Tensor Sketching
Committee on Computational and Applied Mathematics, University of Chicago(计算与应用数学委员会,芝加哥大学);Center for Computational Quantum Physics, Flatiron Institute(计算量子物理中心,Flatiron研究所);Department of Statistics, University of Chicago(统计学系,芝加哥大学)