paper-with-me

홈 › Papers

Differentiable Top-k Classification Learning

2022-06-15 · Felix Petersen, Hilde Kuehne, Christian Borgelt, Oliver Deussen

The top-k classification accuracy is one of the core metrics in machine learning. Here, k is conventionally a positive integer, such as 1 or 5, leading to top-1 or top-5 training objectives. In this work, we relax this assumption and optimize the model for multiple k simultaneously instead of using a single k. Leveraging recent advances in differentiable sorting and ranking, we propose a differentiable top-k cross-entropy classification loss. This allows training the network while not only considering the top-1 prediction, but also, e.g., the top-2 and top-5 predictions. We evaluate the proposed loss function for fine-tuning on state-of-the-art architectures, as well as for training from scratch. We find that relaxing k does not only produce better top-5 accuracies, but also leads to top-1 accuracy improvements. When fine-tuning publicly available ImageNet models, we achieve a new state-of-the-art for these models.

📄 PDF Abstract BibTeX arXiv:2206.07290

Code (1)

felix-petersen/difftopk 공식 구현 pytorch

Tasks

General ClassificationImage Classification

Similar Papers 제목 키워드 기반

Efficient learning of neighbor representations for boundary trees and forests

2018-10-26 · Tharindu Adikari, Stark C. Draper

We introduce a semiparametric approach to neighbor-based classification. We build off the recently proposed Boundary Trees algorithm by Mathy et al.(2015) which enables fast neighbor-based classification, regression and …

ClassificationGeneral ClassificationRetrievalSemantic Similarity+1

Differentiable Ranking and Sorting using Optimal Transport

2019-12-01 · NeurIPS 2019 12 · Marco Cuturi, Olivier Teboul, Jean-Philippe Vert

Sorting is used pervasively in machine learning, either to define elementary algorithms, such as $k$-nearest neighbors ($k$-NN) rules, or to define test-time metrics, such as top-$k$ classification accuracy or ranking lo…

quantile regression

Improving Discrete Latent Representations With Differentiable Approximation Bridges

2019-05-09 · Jason Ramapuram, Russ Webb

Modern neural network training relies on piece-wise (sub-)differentiable functions in order to use backpropagation to update model parameters. In this work, we introduce a novel method to allow simple non-differentiable …

Density EstimationGeneral Classificationimage-classificationImage Classification+2

Differentiable Vertex Fitting for Jet Flavour Tagging

2023-10-19 · Rachel E. C. Smith, Inês Ochoa, Rúben Inácio, Jonathan Shoemaker 외

We propose a differentiable vertex fitting algorithm that can be used for secondary vertex fitting, and that can be seamlessly integrated into neural networks for jet flavour tagging. Vertex fitting is formulated as an o…

Differentiable Retrieval Augmentation via Generative Language Modeling for E-commerce Query Intent Classification

2023-08-18 · Chenyu Zhao, Yunjiang Jiang, Yiming Qiu, Han Zhang 외

Retrieval augmentation, which enhances downstream models by a knowledge retriever and an external corpus instead of by merely increasing the number of model parameters, has been successfully applied to many natural langu…

intent-classificationIntent ClassificationLanguage ModelingLanguage Modelling+4