This paper presents an experimental analysis about trade-offs in top-k classification accuracies on losses for deep leaning and proposal of a novel top-k loss. Commonly-used cross entropy (CE) is not guaranteed to optimize top-k prediction without infinite training data and model complexities. The objective is to clarify when CE sacrifices top-k accuracies to optimize top-1 prediction, and to design loss that improve top-k accuracy under such conditions. Our novel loss is basically CE modified by grouping temporal top-k classes as a single class. To obtain a robust decision boundary, we introduce an adaptive transition from normal CE to our loss, and thus call it top-k transition loss. It is demonstrated that CE is not always the best choice to learn top-k prediction in our experiments. First, we explore trade-offs between top-1 and top-k (=2) accuracies on synthetic datasets, and find a failure of CE in optimizing top-k prediction when we have complex data distribution for a given model to represent optimal top-1 prediction. Second, we compare top-k accuracies on CIFAR-100 dataset targeting top-5 prediction in deep learning. While CE performs the best in top-1 accuracy, in top-5 accuracy our loss performs better than CE except using one experimental setup. Moreover, our loss has been found to provide better top-k accuracies compared to CE at k larger than 10. As a result, a ResNet18 model trained with our loss reaches 99 % accuracy with k=25 candidates, which is a smaller candidate number than that of CE by 8.
Expressive Losses for Verified Robustness via Convex Combinations
Imperial College London(伦敦帝国学院);University of Oxford(牛津大学);Inria(法国国家信息与自动化研究所);École Normale Supérieure(高等师范学院);PSL University(巴黎文理研究大学);CNRS(法国国家科学研究中心);Google DeepMind(谷歌DeepMind)
A High Dimensional Statistical Model for Adversarial Training: Geometry and Trade-Offs
Kasimir Tanner Information Learning and Physics Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(信息学习与物理实验室,瑞士联邦理工学院(EPFL));Matteo Vilucchio Information Learning and Physics Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(信息学习与物理实验室,瑞士联邦理工学院(EPFL));Bruno Loureiro Departement d’Informatique, École Normale Supérieure, PSL & CNRS(信息系,巴黎高等师范学院,PSL与CNRS);Florent Krzakala Information Learning and Physics Laboratory, École Polytechnique Fédérale de Lausanne (EPFL)(信息学习与物理实验室,瑞士联邦理工学院(EPFL))
Unearthing Skill-Level Insights for Understanding Trade-Offs of Foundation Models
Microsoft Research AI Frontiers(微软研究院AI前沿);University of Maryland(马里兰大学);Harvard University(哈佛大学);Harvard University Kempner Institute(哈佛大学肯普纳研究所);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)