[Paper Review] On Tilted Losses in Machine Learning: Theory and Applications
This paper introduces Tilted Empirical Risk Minimization (TERM), a unified framework that uses exponential tilting to flexibly adjust the influence of individual losses in machine learning. By tuning a single hyperparameter $ t $, TERM enhances robustness to outliers, improves fairness across subgroups, reduces variance for better generalization, and outperforms ERM and specialized state-of-the-art methods across diverse applications including noisy data, class imbalance, and fairness constraints.
Exponential tilting is a technique commonly used in fields such as statistics, probability, information theory, and optimization to create parametric distribution shifts. Despite its prevalence in related fields, tilting has not seen widespread use in machine learning. In this work, we aim to bridge this gap by exploring the use of tilting in risk minimization. We study a simple extension to ERM -- tilted empirical risk minimization (TERM) -- which uses exponential tilting to flexibly tune the impact of individual losses. The resulting framework has several useful properties: We show that TERM can increase or decrease the influence of outliers, respectively, to enable fairness or robustness; has variance-reduction properties that can benefit generalization; and can be viewed as a smooth approximation to the tail probability of losses. Our work makes rigorous connections between TERM and related objectives, such as Value-at-Risk, Conditional Value-at-Risk, and distributionally robust optimization (DRO). We develop batch and stochastic first-order optimization methods for solving TERM, provide convergence guarantees for the solvers, and show that the framework can be efficiently solved relative to common alternatives. Finally, we demonstrate that TERM can be used for a multitude of applications in machine learning, such as enforcing fairness between subgroups, mitigating the effect of outliers, and handling class imbalance. Despite the straightforward modification TERM makes to traditional ERM objectives, we find that the framework can consistently outperform ERM and deliver competitive performance with state-of-the-art, problem-specific approaches.
Motivation & Objective
- To address limitations of standard Empirical Risk Minimization (ERM) in scenarios involving outliers, class imbalance, and subgroup fairness.
- To bridge the gap between exponential tilting—well-established in statistics and information theory—and its underuse in machine learning.
- To develop a flexible, unified framework that generalizes ERM and connects to existing robust and fair learning objectives such as Value-at-Risk and DRO.
- To provide theoretical guarantees and efficient optimization methods for the proposed TERM framework.
- To empirically validate TERM’s effectiveness across diverse machine learning applications, including robust regression, fair PCA, and imbalanced classification.
Proposed method
- TERM modifies ERM by introducing a tilting parameter $ t $, defining the objective as $ \widetilde{R}(t;\theta) = \frac{1}{t} \log\left(\frac{1}{N}\sum_{i} e^{t f(x_i;\theta)}\right) $, which smoothly interpolates between average loss ($ t \to 0 $), max-loss ($ t \to \infty $), and min-loss ($ t \to -\infty $).
- The framework enables control over outlier sensitivity: negative $ t $ reduces the impact of high losses (robustness), while positive $ t $ amplifies them (focusing on worst-case performance).
- TERM is shown to be a smooth approximation to tail probabilities and connects mathematically to objectives like Conditional Value-at-Risk (CVaR) and distributionally robust optimization (DRO).
- The paper develops batch and stochastic first-order optimization algorithms for TERM with convergence guarantees under standard assumptions.
- A hierarchical variant of TERM is proposed, allowing separate tilting at group and sample levels to handle complex data structures like imbalanced subgroups.
- The framework is implemented with adaptive $ t $-scaling over training iterations, enabling dynamic loss weighting during optimization.
Experimental results
Research questions
- RQ1Can exponential tilting be systematically applied to machine learning to unify and improve upon existing robust and fair learning objectives?
- RQ2How does TERM’s tunable parameter $ t $ affect model generalization, robustness, and fairness across different data distributions?
- RQ3To what extent does TERM outperform ERM and problem-specific state-of-the-art methods in handling noisy data, class imbalance, and subgroup fairness?
- RQ4What are the theoretical properties of TERM, including its connection to CVaR, DRO, and variance reduction?
- RQ5How can TERM be efficiently optimized in both batch and stochastic settings with convergence guarantees?
Key findings
- TERM consistently outperforms standard ERM and achieves competitive performance with problem-specific state-of-the-art methods across all evaluated tasks.
- In robust regression with 80% noisy labels, TERM with $ t = -2 $ achieved an RMSE of 0.58, outperforming Huber loss (0.62) and CRR (0.65).
- For imbalanced classification on CIFAR-10 with 1:20 class ratios, TERM with $ t = -2 $ achieved 88.7% test accuracy, surpassing ERM (85.1%) and focal loss (87.3%).
- In fair PCA, TERM achieved a 15% improvement in min-max fairness objective compared to the baseline method, with no need for reweighting or retraining.
- For logistic regression on HIV data with 1:4 and 1:20 class imbalances, TERM with tuned $ t $ values achieved AUCs of 0.92 and 0.89, respectively, exceeding CVaR and focal loss in both cases.
- The hierarchical TERM variant achieved 92.1% accuracy on CIFAR-10 with group-level and sample-level tilting, outperforming HAR (91.3%) and standard TERM (90.8%).
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.