Abstract
Optimizing complex multivariate performance measures like Precision/Recall Break-Even Point (PRBEP) and Area Under the ROC Curve (ROCArea) is challenging due to the non-smooth nature of their objective functions. Traditional cutting-plane methods, while effective, suffer from slow convergence rates, particularly when regularization parameters are small. This paper introduces a principled smoothing technique based on Nesterov’s framework, enabling the use of accelerated gradient methods. The proposed approach achieves orders-of-magnitude faster convergence than state-of-the-art solvers like SVM-Perf and BMRM without compromising predictive accuracy.
Introduction
In many machine learning tasks, performance is evaluated using complex "multivariate" metrics that depend on the entire set of predictions simultaneously. Standard Support Vector Machines (SVMs) are typically designed to minimize a simple hinge loss, which acts as a proxy for binary classification error. Directly optimizing for metrics like ROCArea or PRBEP is difficult because the resulting objective functions are non-smooth and involve a combinatorial number of constraints—up to $2^n$ for $n$ data points.
The current state-of-the-art approach utilizes cutting-plane methods such as SVM-Perf or the Bundle Method for Regularized Risk Minimization (BMRM). However, these methods exhibit a theoretical convergence rate of $O(1/\lambda\epsilon)$, where $\lambda$ is the regularization parameter. In high-dimensional problems where $\lambda$ is very small, these algorithms become painfully slow.
Methodology
The authors propose a smoothing strategy to overcome the $1/\lambda$ convergence barrier. By replacing the non-smooth empirical risk term with a smooth approximation that possesses a Lipschitz continuous gradient, the theoretical convergence rate improves from $O(1/\lambda\epsilon)$ to $O^*(1/\sqrt{\lambda\epsilon})$.
Key Technical Contributions
- Fenchel Duality Reformulation: The authors rewrite the empirical risk using Fenchel duality, allowing for the introduction of a "prox-function" that smooths the objective.
- Optimal Prox-Function Selection: To ensure scalability, the authors identify specific prox-functions (e.g., squared Euclidean norm) that keep the smoothing's geometric constant independent of the number of training examples $n$.
- Efficient Gradient Computation: Practical implementation requires fast gradient calculations. The authors developed algorithms to compute gradients for PRBEP and ROCArea in $O(n \log n)$ time, matching the per-iteration cost of existing sub-gradient methods.
- Optimization Strategy: While Nesterov’s accelerated gradient is the theoretical choice, the authors found that L-BFGS (a quasi-Newton method) performed exceptionally well on the smoothed objective in practice.
Experimental Results
The method was evaluated on 11 diverse datasets, including text classification (news20, reuters), general classification (adult9, covertype), and specialized scientific data (astro-ph). These datasets range from tens of thousands to millions of examples, with feature counts reaching into the millions.
Convergence Speed and Performance
Empirical tests demonstrate that the smoothing approach reaches the optimal objective value significantly faster than BMRM or SVM-Perf. As shown in Figure 1, on datasets like adult9 and covertype, the smoothed version converged in seconds, while BMRM took hundreds or thousands of seconds to reach the same precision.
Importantly, this speedup does not come at the cost of generalization. The test set PRBEP and ROCArea scores for the smoothed models were identical to those produced by non-smooth solvers. As predicted by theory, the advantage of the smoothing method became even more pronounced as the regularization parameter $\lambda$ decreased.
Conclusion and Future Work
Smoothing provides a powerful alternative for optimizing complex multivariate metrics, particularly in large-scale, high-dimensional settings. However, it is not a universal solution; for instance, smoothing the objective can destroy the sparsity induced by $L_1$ regularization. Future research directions include extending these techniques to other contingency-table-based measures like the $F_1$-score and exploring efficient implementations for non-linear kernel methods, where maintaining support vector sparsity remains a challenge.
Summary updated