Abstract
We consider the class of optimization problems arising from computationally intensive L1-regularized M-estimators, where the function or gradient values are very expensive to compute. A particular instance of interest is the L1-regularized MLE for learning Conditional Random Fields (CRFs), which are a popular class of statistical models for varied structured prediction problems such as sequence labeling, alignment, and classification with label taxonomy. L1-regularized MLEs for CRFs are particularly expensive to optimize since computing the gradient values requires an expensive inference step. In this work, we propose the use of a carefully constructed proximal quasi-Newton algorithm for such computationally intensive M-estimation problems, where we employ an aggressive active set selection technique. In a key contribution of the paper, we show that the proximal quasi-Newton method is provably super-linearly convergent, even in the absence of strong convexity, by leveraging a restricted variant of strong convexity. In our experiments, the proposed algorithm converges considerably faster than current state-of-the-art on the problems of sequence labeling and hierarchical classification.
Introduction
In modern machine learning, $\ell_1$-regularization is a standard tool for encouraging sparsity and identifying relevant features in high-dimensional data. However, for complex models like Conditional Random Fields (CRFs), the optimization process is hindered by the "inference bottleneck." Calculating the gradient for these models requires running computationally taxing algorithms (e.g., the forward-backward algorithm) for every update. Existing methods like Coordinate Descent or standard Quasi-Newton approaches often fail to balance the cost of these inference steps with the progress made per iteration.
The Proximal Quasi-Newton (Prox-QN) Framework
To address these challenges, we propose a Proximal Quasi-Newton framework specifically optimized for computationally intensive (CI) functions. The algorithm incorporates several innovations to minimize expensive gradient calls:
- L-BFGS Curvature Approximation: We utilize the Limited-memory Broyden–Fletcher–Goldfarb–Shanno (L-BFGS) method to approximate the Hessian. This provides second-order information to guide the optimization without the prohibitive cost of computing the full Hessian matrix.
- Aggressive Active Set Selection: The core of our efficiency lies in a "shrinking" strategy. The algorithm identifies a small subset of "active" variables likely to be non-zero and focuses optimization efforts there. It operates in epochs, only performing a full gradient check across all variables once the active set has stabilized.
- Efficient Inner Solver: The sub-problems generated by the proximal step are solved using a randomized coordinate descent method, which is computationally inexpensive due to the structured nature of the L-BFGS approximation.
- Inverted Data Structures: By employing feature-indexed data structures, we drastically accelerate gradient calculations on sparse datasets by only processing instances where specific features are present.
Theoretical Contributions
A significant hurdle in proving the efficiency of high-dimensional optimization is the lack of strong convexity due to feature redundancy. We overcome this by proving that Prox-QN achieves superlinear convergence under a weaker condition known as Constant Nullspace Strong Convexity (CNSC). This ensures that the algorithm accelerates as it approaches the optimal solution, even in the presence of redundant features.
Experimental Evaluation
We evaluated Prox-QN against state-of-the-art baselines including OWL-QN, Stochastic Gradient Descent (SGD), and Blockwise Coordinate Descent (BCD) on two distinct tasks:
- Optical Character Recognition (OCR): A sequence labeling task involving 6,877 handwritten words where the goal is to predict characters from binary pixel images.
- Hierarchical Text Classification (LSHTC1): A high-dimensional problem with over 51,000 features and a hierarchy of 2,388 classes, requiring the model to navigate a complex label taxonomy.
Key Results
Our experiments demonstrate that Prox-QN significantly outperforms existing methods in both convergence speed and the ability to identify sparse structures.
As shown in the OCR results, Prox-QN reaches the optimal solution in a fraction of the clock time required by BCD or OWL-QN. Crucially, the aggressive shrinking strategy allows the algorithm to prune irrelevant parameters early in the process, whereas competing methods maintain thousands of active parameters for much longer. In the hierarchical classification task, where parameters exceeded 121 million, Prox-QN remained scalable and efficient where others struggled.
Conclusion
The Proximal Quasi-Newton algorithm provides a robust solution for L1-regularized M-estimation in computationally intensive settings. By combining second-order optimization with aggressive active set selection and providing theoretical guarantees for non-strongly convex problems, it sets a new benchmark for efficiency in structured prediction tasks like CRF training. Future work may involve refining the heuristic stopping criteria for the inner solver and extending the framework to complex deep learning architectures.
Summary updated