Online Optimization of Smoothed Piecewise Constant Functions

Vincent Cohen-Addad, Varun Kanade

TL;DR

This paper introduces a novel approach to online optimization for "smoothed" piecewise constant functions, a setting relevant to adaptively choosing learning algorithm parameters. They develop efficient algorithms that achieve sublinear regret in both full information and bandit settings, overcoming limitations of existing methods that struggle with discontinuities.

What Problem Does This Paper Address?

The paper tackles the challenge of online optimization for functions that are not "smooth" in the traditional sense (e.g., Lipschitz continuous). Specifically, they focus on piecewise constant functions, which are common in real-world scenarios like selecting parameters for machine learning algorithms. Standard online learning algorithms often suffer linear regret against such functions, especially when an adversary can strategically place discontinuities. The authors' motivation stems from the work of Gupta and Roughgarden (2016), who proposed a framework for adaptively picking algorithm parameters. However, existing methods are often computationally expensive or don't directly address the bandit setting. This paper aims to provide efficient, sublinear regret algorithms for a "smoothed" version of this problem, where the adversary's control over discontinuities is somewhat limited, making the problem tractable.

Methods

The core of the paper lies in developing two main algorithms:

  • Full Information (Expert) Setting: They propose an algorithm based on a continuous version of the exponentially-weighted forecaster. The key innovation here is an efficient data structure, an augmented interval tree, that allows for fast updates and sampling. This structure enables the algorithm to run in time polynomial in k (number of pieces) and log(t) (time step), rather than being linear in t.
  • Bandit Setting: In this setting, the algorithm only observes the function's value at the chosen point. To handle this, they construct an estimator for the function by assuming it's constant within a small interval around the chosen point. This approach, combined with careful analysis and a specific interval-based strategy, leads to a regret bound of O(poly(k, σ)T^(2/3)).

Both algorithms leverage the "smoothed adversary" model, which assumes some uncertainty in the location of discontinuities, preventing an adversary from creating arbitrarily narrow problematic intervals.

Datasets

Not discussed in the paper. The paper focuses on theoretical algorithm design and analysis, with experimental results presented for specific problem instances rather than standard datasets.

Key Insights and Ideas

  • "Smoothed" Adversary is Key: The core idea is that by assuming some uncertainty in the adversary's ability to place discontinuities (bounded density of discontinuity locations), the problem becomes tractable. This "smoothness" prevents the worst-case scenarios that lead to linear regret.
  • Efficient Data Structures for Piecewise Constant Functions: The paper highlights the importance of specialized data structures, like augmented interval trees, for efficiently handling piecewise constant functions in online learning. This allows for sublinear time complexity per round.
  • Bridging the Gap to Bandit Settings: Developing an efficient bandit algorithm for this problem is a significant contribution, as it's often more realistic for practical applications where full function information isn't available.
  • Theoretical Guarantees for Practical Problems: The work provides theoretical backing for using adaptive parameter selection in machine learning, showing that sublinear regret is achievable even for non-Lipschitz functions.

Key Results

  • Full Information Setting: Achieves an expected regret of O(√T * log(k²T³σ)), with an efficient running time of O(k log(tk)) per time step.
  • Bandit Setting: Achieves an expected regret of O(poly(k, σ, log(T))T^(2/3)).
  • Experimental Validation: The paper includes experimental results for Knapsack, Maximum Weighted Independent Set, and Weighted k-Means problems, showing that the proposed algorithm's per-round regret decreases over time and performs better on random instances than worst-case scenarios.

Limitations and Future Work

  • Generalization to More Complex Functions: The authors pose an open question about extending their work to more general functions with discontinuities, such as piecewise linear or piecewise Lipschitz functions. While a fine grid approach might work computationally, designing efficient algorithms remains a challenge.
  • Bandit Algorithm Complexity: While the bandit algorithm achieves a good theoretical regret bound, its practical implementation and the exact constants in the bound might be complex.
  • "Smoothed" Assumption: The effectiveness of the algorithms relies on the "smoothed adversary" assumption. In scenarios where a truly malicious and unrestricted adversary is present, linear regret might be unavoidable.

Summary updated

Abstract

We study online optimization of smoothed piecewise constant functions over the domain [0, 1). This is motivated by the problem of adaptively picking parameters of learning algorithms as in the recently introduced framework by Gupta and Roughgarden (2016). Majority of the machine learning literature has focused on Lipschitz-continuous functions or functions with bounded gradients.1 This is with good reason—any learning algorithm suffers linear regret even against piecewise constant functions that are chosen adversarially, arguably the simplest of non-Lipschitz continuous functions. The smoothed setting we consider is inspired by the seminal work of Spielman and Teng (2004) and the recent work of Gupta and Roughgarden (2016)—in this setting, the sequence of functions may be chosen by an adversary, however, with some uncertainty in the location of discontinuities. We give algorithms that achieve sublinear regret in the full information and bandit settings.
BibTeX
@inproceedings{cohenaddad2017online,
  author = {Vincent Cohen-Addad and Varun Kanade},
  title = {{Online Optimization of Smoothed Piecewise Constant Functions}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
  url = {https://openreview.net/forum?id=IPGPj7hTrRO},
}
Figure