Data-driven tuning of optimization and clustering is computationally hard

Computational Complexity of Data-Driven Configuration for Integer Programming, Clustering, and Learning Algorithms

Machine Learning

Summary

Choosing the best parameters or configurations for algorithms like integer programming, clustering, and machine learning can be very difficult. The authors show that many such tuning problems are NP-hard, meaning there is no quick way to find the best settings for these algorithms in general. However, they also find some special cases where the problem becomes manageable when small, random changes are introduced. Their work helps clarify when and why setting parameters automatically is computationally challenging.

What this means in practice

  • For optimization software developers: Evaluate when automatic tuning of cut parameters for integer programs is guaranteed to be computationally infeasible.
  • For machine learning engineers: Understand the complexity limits of parameter tuning for Lasso and gradient descent in empirical risk minimization with piecewise-quadratic objectives.

A theory result. No direct application yet.

Authors

Dravyansh Sharma

Abstract

Data-driven algorithm design selects configurations for application-specific inputs, but computing an empirically optimal configuration can itself be difficult. We study this problem for integer programming, clustering, and learning algorithms. For one rank-one Chvátal-Gomory cut, choosing shared multipliers across integer programs is NP-complete and exhibits constant-additive approximation hardness. Choosing a power-mean linkage exponent that realizes a prescribed root split (target 2-cluster) is NP-hard. Tuning one scalar Lasso penalty to achieve zero standard squared validation error on a compact interval bounded away from zero is NP-complete. We establish NP-hardness of constant-step-size gradient-descent ERM on piecewise-quadratic objectives and statistical capacity lower bounds for step sizes, schedules, and initialization. We complement our worst-case hardness results with some positive results under smoothed analysis. Independent Gaussian design perturbations yield polynomial expected Lasso path length, we obtain sharper bounds than Li and Singer. In power-mean linkage clustering, independent bounded-density distances yield polynomial expected number of distinct cluster trees and oracle-efficient ERM. Conversely, an enhanced aggregated-CG construction remains hard under independently perturbed nonzero coefficients.