Frontend
On numerical issues of divergences between nearly equal distributions
arXiv stat.ML0 views
arXiv:2611.18511v1 Announce Type: cross Abstract: Barron et al. (2026) recently identified numerical issues in the softmax and soft cross-entropy loss. We show that similar issues are present in standard divergence operations between categorical distributions. This includes the forward and reverse Kullback-Leibler (KL) divergence and generalized Jensen-Shannon divergence (JSD), as well as Monte Carlo KL estimates and entropy. When the distributions are nearly equal, rounding and cancellation issues affect the forward and gradient computations. These issues can affect settings using divergences in optimization objectives, such as knowledge distillation, reinforcement learning, and proximal methods. We propose numerically stable reformulations and provide example implementations for each setting, validated by property-based tests.
Source:https://arxiv.org/abs/2611.18511PreviousDynamic bigraphical Mat\'ern--Whittle processes: learning dependence graphs among spatial-temporal fieldsNextWhy Finite Intelligence Works in an Infinite World: A Mathematical Theory
Related posts
8 copy-paste replies for when a client asks for extra work
0dev.to

Why Your Sidebar Icons Look Inconsistent-Even at the Same Size
0dev.to
Why Your Testers Can't Opt In: Fixing Google Play's Opt-In Friction
0dev.to
How Glass reads generic method instantiations
0dev.to
How exception handlers hide .NET control flow
0dev.to
How your client edits the content when an AI built the website
0dev.to