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

The Tree Loss:改进多类泛化

The Tree Loss: Improving Generalization with Many Classes

Claremont Graduate University(克莱蒙特研究生大学);Claremont McKenna College(克莱蒙特·麦肯纳学院)

Yujie Wang, Mike Izbicki

摘要:

多类分类问题通常有许多语义相似的类。例如,ImageNet的1000个类中有90个是针对不同品种的狗的。我们应该期望这些语义相似的类将具有相似的参数向量,但是标准的交叉熵损失并不强制执行此约束。我们引入树损失作为交叉熵损失的替代。树丢失重新参数化参数矩阵,以保证语义相似的类将具有相似的参数向量。利用随机梯度下降的简单性质,我们证明了树损失的泛化误差渐近优于交叉熵损失。然后,我们在合成数据,图像数据(CIFAR100,ImageNet)和文本数据(Twitter)上验证了这些理论结果。

英文摘要:

Multi-class classification problems often have many semantically similar classes. For example, 90 of ImageNet's 1000 classes are for different breeds of dog. We should expect that these semantically similar classes will have similar parameter vectors, but the standard cross entropy loss does not enforce this constraint. We introduce the tree loss as a drop-in replacement for the cross entropy loss. The tree loss re-parameterizes the parameter matrix in order to guarantee that semantically similar classes will have similar parameter vectors. Using simple properties of stochastic gradient descent, we show that the tree loss's generalization error is asymptotically better than the cross entropy loss's. We then validate these theoretical results on synthetic data, image data (CIFAR100, ImageNet), and text data (Twitter).

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

↑