Skip to main content
QUICK REVIEW

[Paper Review] Two-temperature logistic regression based on the Tsallis divergence

Ehsan Amid, Manfred K. Warmuth|arXiv (Cornell University)|May 19, 2017
Advanced Statistical Methods and ModelsMathematics8 references7 citations
TL;DR

This paper proposes two-temperature logistic regression (2TRL), a robust multiclass classification method that uses Tsallis divergence to generalize logistic regression with two distinct temperature parameters: one for the generalized logarithm and one for the generalized exponential. By tuning these temperatures, the method achieves bounded, quasi-convex surrogate losses that are significantly more robust to both label and instance noise than standard logistic regression or t-logistic regression, while maintaining comparable training efficiency.

ABSTRACT

We develop a variant of multiclass logistic regression that is significantly more robust to noise. The algorithm has one weight vector per class and the surrogate loss is a function of the linear activations (one per class). The surrogate loss of an example with linear activation vector $\mathbf{a}$ and class $c$ has the form $-\log_{t_1} \exp_{t_2} (a_c - G_{t_2}(\mathbf{a}))$ where the two temperatures $t_1$ and $t_2$ ''temper'' the $\log$ and $\exp$, respectively, and $G_{t_2}(\mathbf{a})$ is a scalar value that generalizes the log-partition function. We motivate this loss using the Tsallis divergence. Our method allows transitioning between non-convex and convex losses by the choice of the temperature parameters. As the temperature $t_1$ of the logarithm becomes smaller than the temperature $t_2$ of the exponential, the surrogate loss becomes ''quasi convex''. Various tunings of the temperatures recover previous methods and tuning the degree of non-convexity is crucial in the experiments. In particular, quasi-convexity and boundedness of the loss provide significant robustness to the outliers. We explain this by showing that $t_1 < 1$ caps the surrogate loss and $t_2 >1$ makes the predictive distribution have a heavy tail. We show that the surrogate loss is Bayes-consistent, even in the non-convex case. Additionally, we provide efficient iterative algorithms for calculating the log-partition value only in a few number of iterations. Our compelling experimental results on large real-world datasets show the advantage of using the two-temperature variant in the noisy as well as the noise free case.

Motivation & Objective

  • To develop a more robust multiclass logistic regression method that handles noisy data better than existing convex surrogate losses.
  • To address the limitations of convex losses, which can be dominated by outliers due to unbounded loss growth.
  • To generalize the t-logistic regression approach by introducing two independent temperature parameters for finer control over loss properties.
  • To ensure Bayes consistency even in the non-convex regime, enabling reliable learning under noise.
  • To provide efficient algorithms for computing the normalization constant in the t-exponential family.

Proposed method

  • The surrogate loss is defined as $-\log_{t_1} \exp_{t_2}(a_c - G_{t_2}(\mathbf{a}))$, where $t_1$ and $t_2$ are temperature parameters for the generalized logarithm and exponential, respectively.
  • The normalization constant $G_{t_2}(\mathbf{a})$ is computed via an efficient iterative algorithm converging in ~20 iterations to $10^{-10}$ accuracy.
  • The method uses the Tsallis divergence as the underlying divergence measure, which naturally aligns with the t-exponential family of distributions.
  • The temperature $t_1 < 1$ caps the loss, ensuring boundedness, while $t_2 > 1$ induces heavy-tailed predictive distributions.
  • The loss transitions from convex ($t_1 = t_2 = 1$) to quasi-convex ($t_1 < t_2$) as non-convexity increases, enhancing robustness.
  • The method is Bayes-consistent even in the non-convex case, ensuring asymptotic optimality under proper conditions.

Experimental results

Research questions

  • RQ1Can a generalized logistic regression with two independent temperature parameters achieve better robustness to label and instance noise than existing convex or non-convex methods?
  • RQ2How does boundedness of the surrogate loss, induced by $t_1 < 1$, contribute to robustness against outliers?
  • RQ3To what extent does tail-heaviness from $t_2 > 1$ improve robustness compared to standard logistic regression?
  • RQ4Is the proposed two-temperature loss function Bayes-consistent even when non-convex?
  • RQ5Can efficient computation of the normalization constant be achieved without sacrificing accuracy?

Key findings

  • The two-temperature logistic regression (2TRL) method achieves superior robustness to both label and instance noise across multiple real-world datasets, outperforming standard logistic regression and t-logistic regression.
  • With $t_1 = 0.6$ and $t_2 = 1.6$, the surrogate loss is upper-bounded by $1/(1 - t_1) = 2.5$, preventing individual outliers from dominating the loss.
  • On the Covertype dataset, 2TRL achieved a test accuracy of 74.2% under 33% instance noise, significantly outperforming t-logistic regression (68.1%) and standard logistic regression (65.3%).
  • Under 10% random label noise, 2TRL achieved the highest accuracy on all datasets tested, with optimal performance achieved when $0 < t_1 < 1$, indicating the importance of bounded, non-convex losses.
  • The iterative algorithm for computing $G_{t_2}(\mathbf{a})$ converges in approximately 20 iterations to $10^{-10}$ accuracy, with negligible computational overhead.
  • Despite being non-convex, the method remains Bayes-consistent, ensuring asymptotic optimality under correct model assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.