Machine Learning
New Loss Functions Based on Euler Logarithm Reshape Machine Learning Optimization
Researchers introduce a mathematically elegant family of loss functions and optimization geometries that improve how machine learning systems handle edge cases like extremely low-confidence predictions.
When a neural network produces predictions at the extremes—near-zero confidence scores or extremely high ones—those edge cases can wildly skew model training. A new framework built around the Euler logarithm offers a principled way to control this behavior across classification, optimization, and adaptive learning.
The Core Problem#
Machine learning systems often struggle at the margins. A single mislabeled example can dominate training if its predicted probability falls too close to zero. In reinforcement learning, a promising action might go unexplored because the model assigns it vanishingly small probability. In language models with mixture-of-experts routing, a low-probability assignment can send tokens inefficiently across the model. These issues flow from how loss functions and optimization algorithms respond to extreme values.
A Flexible Mathematical Framework#
The researchers propose a compact family of losses and optimization geometries centered on the normalized, freely scaled Euler logarithm. The framework works through two independent exponents that control the inverse function's decay at very negative scores and its growth at very positive ones. A third parameter—scale—shifts where this transition occurs without altering the function's value or slope at a chosen reference point.
This three-parameter design creates a spectrum of behaviors while remaining mathematically interpretable and computationally tractable.
Classification and Convexity#
For classification tasks, Euler cross-entropy reweights low-confidence predictions through an explicit gradient weight, preserving the ranking of classes while recovering the true class posterior at the population optimum. Paired with its corresponding Euler softmax, the loss becomes convex in the logits—a desirable property for optimization.
A bounded variant of the loss carries theoretical guarantees even under symmetric label noise. This addresses a long-standing challenge in robust training.
Optimization Guarantees#
The Euler potential enables exact mirror descent and follow-the-regularized-leader (FTRL) updates with known strong-convexity and radius constants. Crucially, it introduces polynomial rather than exponential floors on small weights, avoiding numerical instability in extreme regimes.