Fully Implicit Online Learning

Chao-Bing Song, Ji Liu, Han Liu, Yong Jiang, Tong ZhangarXiv 2018

Abstract

Most online learning algorithms rely on "explicit" updates that approximate complex functions with simple linear ones. This paper introduces Fully Implicit Online Learning (FIOL), a framework that performs exact updates for both the loss function and the regularizer simultaneously. The result is an algorithm that is numerically more stable, achieves optimal regret bounds, and captures structural properties like sparsity far more effectively than standard gradient-based methods. By leveraging convex duality, the authors demonstrate that these implicit updates can be computed with $O(d)$ complexity, matching the efficiency of traditional explicit methods.

Introduction

In the paradigm of online learning, data arrives sequentially, and model parameters ($\mathbf{w}$) must be updated to minimize a combination of a loss function (fitting the data) and a regularizer (controlling model complexity). The standard approach, Online Gradient Descent (OGD), utilizes explicit updates, which linearize both the loss and the regularizer. While computationally efficient, this linearization introduces approximation errors that can lead to instability, especially when step sizes are large. Furthermore, linearizing non-smooth regularizers like the $\ell_1$-norm destroys their inherent ability to produce sparse models during the update process.

Existing "implicit" methods often only solve half the problem—either updating the loss exactly while linearizing the regularizer, or vice versa. The challenge addressed in this paper is making both updates implicit without incurring prohibitive computational costs.

The FIOL Framework

The core of the proposed framework is the FIOL algorithm, defined by an update rule that minimizes the sum of the exact loss, the exact regularizer, and a Bregman divergence term representing the distance from the previous model state.

Comparison of online learning algorithms and their update components.

As shown in the table above, FIOL distinguishes itself by maintaining the original forms of both the loss $f_t(\mathbf{w})$ and the regularizer $r(\mathbf{w})$. This "fully implicit" nature provides a "one-step improvement" in regret analysis, effectively avoiding the approximation errors that explicit methods must pay at every step.

Computational Efficiency via Root-Finding

To make the $d$-dimensional model update computationally feasible, the authors utilize convex duality to transform the problem into a 1-dimensional root-finding subproblem. This reduction is critical for maintaining the efficiency required for online applications. The paper proposes three distinct strategies for solving this subproblem:

  1. Bisection Method: A robust, general-purpose solver with $O(d \log(1/\epsilon))$ complexity.
  2. Sorting-based Algorithm: Optimized specifically for $\ell_1$-regularized problems (e.g., Lasso), achieving $O(d \log d)$ complexity.
  3. Partition-based Algorithm: A randomized approach inspired by the "median of medians" algorithm that achieves an expected complexity of $O(d)$, matching the theoretical scaling of standard explicit gradient descent.
The bisection method used to solve the 1D subproblem in FIOL.

Experimental Evaluation

The researchers evaluated FIOL using synthetic datasets designed for the Lasso problem (least squares regression with $\ell_1$ regularization). They tested the algorithm's performance under varying feature correlations and noise levels to assess numerical stability and the ability to recover sparse structures.

Key Findings

  • Theoretical Optimality: FIOL achieves $O(\sqrt{T})$ regret for general convex functions and $O(\log T)$ for strongly convex functions, matching the best known theoretical rates.
  • Superior Sparsity: Because the $\ell_1$ regularizer is never linearized, the "soft-thresholding" effect is applied exactly. In experiments, FIOL consistently produced models with significantly higher sparsity compared to SGD and I-SGD, which often failed to induce any sparsity at all.
  • Inherent Stability: FIOL proved robust to "overlarge" step sizes. While explicit methods like COMID can diverge if the step size is poorly tuned, the implicit update in FIOL acts as a data-adaptive step size, maintaining stability even under high feature correlation ($\rho = 0.5$).
  • Efficiency Parity: The partition-based algorithm was shown to be faster and more effective at reducing the objective function than the sorting-based version, confirming that fully implicit updates do not necessitate a sacrifice in speed.

Conclusion and Future Work

FIOL represents a significant advancement in online learning by providing a framework that is both theoretically sound and practically efficient. By avoiding linearization, it preserves the structural properties of models and ensures numerical stability.

Future work may focus on extending these efficient subproblem solvers beyond Empirical Risk Minimization (ERM) problems where the loss depends on a linear combination of features. While the $O(d)$ complexity is promising, the constant factors in partition-based searches are higher than simple vector additions; thus, further optimization for high-speed environments remains an area for exploration.

Summary updated

BibTeX
@misc{song2018fully,
  author = {Chao-Bing Song and Ji Liu and Han Liu and Yong Jiang and Tong Zhang},
  title = {{Fully Implicit Online Learning}},
  year = {2018},
  eprint = {1809.09350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.09350},
}
Figure