A Blockwise Probability Loss Function for Multiclass Classification Learning
Abstract
Binary loss functions are very popular in multiclass classification learning algorithms due to their low computational complexity. On the other hand, some of them, such as softmax cross-entropy (CE) and binary cross-entropy (BCE) may impose restrictions on class separability or algorithm convergence. In standard multiclass classification, cross-entropy is typically used with one-hot targets, while the BCE reduces to the case where all outputs of the learned function are treated separately. We observe that if binary losses consider the whole output as a collection of separate binary outputs, they do not fully explore the extrinsic information from other components during training. Motivated by that, we present a new blockwise loss function that satisfies three basic properties: it is (i) not separable into binary subproblems, (ii) well defined for associating classes with binary vectors, which we refer to as binary code assignments, and (iii) obtained by comparing the output to the true class representation as well as to all other classes. We show that the proposed loss reduces to CE when one-hot coding is applied, while it reduces to a scaled version of BCE when property (iii) is simplified such that the loss compares the output only with the true class representation. Furthermore, when one-hot coding is replaced with error correcting output codes (ECOCs), the proposed loss achieves accuracy that is equal to or higher than that of classical bitwise losses. Experiments were conducted on the CIFAR-100 and Tiny ImageNet datasets for various losses from the literature and demonstrate the advantages of the new blockwise probability (BP) loss in combination with ECOCs.
Create a lesson
Metadata
- Categories
- cs.IT, cs.LG, math.IT
Related papers
Functional Factor Graphs and the Functional Sum-Product Algorithm
Shared title terminologycs.ITKuranage Roche Rayan Ranasinghe, Giuseppe Thadeu Freitas de Abreu
The Functional Batch Conjecture And Its Extension To All Finite Fields
Shared title terminologycs.ITIsaac Barouch Essayag, Aryeh Lev Zabokritskiy
The Reliability Function of Error-Correcting Output Codes with Noisy Binary Classifiers
Shared title terminologycs.ITGendo Kumoi, Hideki Yagi, Manabu Kobayashi et al.
Explicit Constructions of MDS Cyclic Codes from Rational Function Fields
Shared title terminologycs.ITShu Liu, Jiang Li, Wenqi Huang
An Alphabet-Size Bound for the Information Bottleneck Function
Shared title terminologycs.ITChristoph Hirche, Andreas Winter