Search arXiv⌕ Search

arXiv · 2612.05403

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Giovani Chrestani, Johan Thunberg, Michael Lentmaier. 2026-12-03. A Blockwise Probability Loss Function for Multiclass Classification Learning. https://searcharxiv.org/abs/2612.05403

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Divisible Codes

A linear code over $\mathbb{F}_q$ with the Hamming metric is called $Δ$-divisible if the weights of all codewords are divisible by $Δ$. They have been introduced by Harold Ward a few decades ago. Applications include subspace codes, partial spreads, vector space partitions, and distance optimal codes. The determination of the possible lengths of projective divisible codes is an interesting and comprehensive challenge.

cs.IT↗

Variational Characterization of Gaussian Feedback Capacity: Approximation and Attainment

We revisit the variational characterization of the feedback capacity of additive stationary Gaussian channels, formulated as a mixed optimization over an independent input spectrum and a strictly causal feedback filter. Under the general Paley--Wiener (Szegő) condition, we prove that eliminating the independent input spectrum and restricting the feedback filter to real strictly causal polynomials of arbitrary finite degree preserves the feedback capacity at every average power constraint, thereby establishing the filter-only capacity formula in full generality. We next investigate attainment and uniqueness in the mixed variational problem: for every nonwhite noise spectrum satisfying the Paley--Wiener condition, the mixed supremum admits at most one maximizer; for rational noise spectra, attainment holds if and only if the spectrum is bounded away from zero, and in the nonwhite rational case every maximizer has zero independent input spectrum. Moving beyond capacity, we characterize exact output-spectrum preservation for any prescribed admissible pair: there exists a sequence of filter-only pairs reproducing its output spectrum exactly with input powers converging to that of the given pair if and only if the ratio of the independent input spectrum to the noise spectrum is integrable. When the noise spectrum is rational, the same integrability condition is necessary and sufficient for a single filter to preserve both the output spectrum and the input power exactly. Finally, we explicitly identify the unique capacity-achieving feedback filter for a class of stationary second-order autoregressive Gaussian channels.

cs.IT↗

When Can Edit Ordering Preserve Endpoint Couplings in Graph Flow Matching?

Graph editing plays an important role in graph generation, where structural changes must satisfy task-specific constraints. Discrete flow matching models such editing processes through conditional sequences of edge additions and deletions, yet marginalizing these trajectories may preserve graph distributions while losing the underlying source-target coupling. This loss arises when trajectories towards different targets share intermediate graphs, making their intended destinations indistinguishable from the current graph and time alone. In this work, we show that legal edit ordering offers an augmentation-free mechanism to preserve this correspondence without changing the required edits, their lengths, or the prescribed endpoints. We establish an exact characterization of when the resulting Markov dynamics attain the minimum achievable paired error and develop a theoretically guided approach to edit scheduling under graph constraints. Experiments on observed graph pairs and controlled editing tasks derived from real graph topologies demonstrate that appropriate edit ordering can substantially improve paired endpoint fidelity.

cs.IT↗