[Paper Review] Geometric Losses for Distributional Learning
This paper introduces geometric losses for distributional learning by generalizing the logistic loss and softmax using entropy-regularized optimal transport and Fenchel duality, enabling convex, cost-sensitive learning over continuous or infinite class spaces. The key contribution is a geometric softmax that models distributions with intrinsic structure—such as curves or surfaces—improving performance in ordinal regression and generative modeling with VAEs.
Building upon recent advances in entropy-regularized optimal transport, and upon Fenchel duality between measures and continuous functions , we propose a generalization of the logistic loss that incorporates a metric or cost between classes. Unlike previous attempts to use optimal transport distances for learning, our loss results in unconstrained convex objective functions, supports infinite (or very large) class spaces, and naturally defines a geometric generalization of the softmax operator. The geometric properties of this loss make it suitable for predicting sparse and singular distributions, for instance supported on curves or hyper-surfaces. We study the theoretical properties of our loss and show-case its effectiveness on two applications: ordinal regression and drawing generation.
Motivation & Objective
- Address the lack of a cost-aware, convex generalization of the softmax for probabilistic classification with structured class costs.
- Overcome limitations of existing optimal transport-based losses, which are non-convex or restricted to finite classes.
- Enable distributional learning in continuous or infinite output spaces while preserving convexity and geometric fidelity.
- Develop a theoretically sound, Fisher-consistent loss that supports sparse and singular distributions (e.g., supported on curves).
- Demonstrate effectiveness in real-world tasks such as ordinal regression and image generation with VAEs.
Proposed method
- Formalize a novel loss function using Fenchel duality between measures and continuous functions, grounded in entropy-regularized optimal transport.
- Define a geometric softmax via Fenchel conjugation, which generalizes the standard softmax to incorporate a cost matrix between classes.
- Construct a convex, weak-* continuous entropy function derived from regularized optimal transport, ensuring theoretical soundness in infinite-dimensional spaces.
- Propose a Frank-Wolfe-based algorithm for optimization in continuous measure spaces.
- Implement tractable computation in discrete settings using iterative solvers for the dual problem.
- Integrate the geometric loss and softmax into VAEs for image generation, using pixel-wise Euclidean cost as the transport cost.
Experimental results
Research questions
- RQ1Can a convex, cost-sensitive loss be constructed that generalizes the logistic loss while respecting geometric class relationships?
- RQ2How can the softmax operator be generalized to incorporate metric structure between classes in a theoretically consistent way?
- RQ3Can such a loss support learning over continuous or infinite output spaces without sacrificing convexity?
- RQ4Does the geometric loss improve performance in tasks involving structured or sparse distributions, such as ordinal regression or drawing generation?
- RQ5Is the geometric loss Fisher consistent and well-calibrated in practice, especially when modeling distributions on low-dimensional manifolds?
Key findings
- The geometric loss achieves better mean absolute error (MAE) than standard logistic regression in ordinal regression, with a slight trade-off in accuracy, while naturally providing full predictive distributions.
- On the car dataset, the geometric loss closely tracks the Hausdorff divergence during training, validating its role as an upper bound and confirming theoretical consistency.
- In VAE-based drawing generation, the geometric softmax produces sharper reconstructions concentrated along edges, outperforming standard softmax in minimizing the asymmetric Hausdorff divergence.
- The geometric loss leads to faster convergence in minimizing the Hausdorff divergence compared to standard cross-entropy in generative modeling.
- The method supports infinite or continuous output spaces with theoretical guarantees, extending beyond discrete classification.
- Computation cost increases by a factor of ~10 due to optimal transport solvers, but the gain in geometric fidelity and predictive quality is significant in structured tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.