Skip to main content
QUICK REVIEW

[Paper Review] Learning-Augmented Algorithms for $k$-median via Online Learning

Anish Hebbar, Rong Ge|arXiv (Cornell University)|Mar 18, 2026
Machine Learning and AlgorithmsComputer Science0 citations
TL;DR

The paper introduces a learning-augmented model Learn-Median for sequential $k$-median instances and develops deterministic and randomized online algorithms that compete with the best fixed solution in hindsight, with sublinear regret.

ABSTRACT

The field of learning-augmented algorithms seeks to use ML techniques on past instances of a problem to inform an algorithm designed for a future instance. In this paper, we introduce a novel model for learning-augmented algorithms inspired by online learning. In this model, we are given a sequence of instances of a problem and the goal of the learning-augmented algorithm is to use prior instances to propose a solution to a future instance of the problem. The performance of the algorithm is measured by its average performance across all the instances, where the performance on a single instance is the ratio between the cost of the algorithm's solution and that of an optimal solution for that instance. We apply this framework to the classic $k$-median clustering problem, and give an efficient learning algorithm that can approximately match the average performance of the best fixed $k$-median solution in hindsight across all the instances. We also experimentally evaluate our algorithm and show that its empirical performance is close to optimal, and also that it automatically adapts the solution to a dynamically changing sequence.

Motivation & Objective

  • Motivate and formalize a learning-augmented framework for sequential $k$-median instances inspired by online learning.
  • Design algorithms that use prior instances to output solutions for future instances with sublinear regret.
  • Provide both deterministic and randomized approaches that achieve competitive ratios close to optimal.
  • Demonstrate empirical performance and adaptability to dynamically changing data sequences.

Proposed method

  • Introduce Learn-Median as a sequence-based $k$-median problem with loss defined as the ratio of the produced cost to the optimum for each instance.
  • Reduce Learn-Median to Learn-Bounded-Median to bound instance size per round and decouple regret from the overall input size $n$.
  • Formulate a fractional online algorithm for Learn-Bounded-Median using online mirror descent with a $eta$-hyperbolic entropy regularizer.
  • Provide two online rounding schemes (deterministic and randomized) to convert fractional solutions into integral $k$-median solutions with provable guarantees.
  • Prove a phase-based analysis yielding sublinear regret and competitive ratio guarantees against the best fixed solution in hindsight.
  • Discuss experimental validation on synthetic data showing convergence and adaptability to changing distributions.
Learning-Augmented Algorithms for $k$-median via Online Learning

Experimental results

Research questions

  • RQ1Can a learning-augmented framework for sequential $k$-median achieve competitive regret against the best fixed solution in hindsight?
  • RQ2What are the fundamental computational and information-theoretic challenges in applying online learning to $k$-median, and how can they be overcome?
  • RQ3Do deterministic and randomized rounding schemes preserve sublinear regret while producing feasible $k$-median solutions?
  • RQ4How does the approach perform empirically on dynamic and evolving data distributions?

Key findings

  • A deterministic algorithm attains a competitive ratio of O(k) with sublinear regret, plus additive terms depending on k and the metric aspect ratio Δ.
  • A randomized algorithm reduces the competitive ratio to O(1) with sublinear regret, and this is shown to be necessary overall (no o(1) competitive ratio with sublinear regret possible).
  • A reduction to Learn-Bounded-Median keeps regret bounds independent of the full instance size n, enabling scalable online learning.
  • Two online rounding methods (deterministic with O(k) rounding loss and randomized with O(1) rounding loss) yield integral $k$-median solutions from fractional ones.
  • Experiments on synthetic data demonstrate rapid convergence to near-optimal solutions and adaptability to dynamically changing distributions.
  • Lower bounds show that the O(k) competitive ratio is tight for deterministic algorithms and the O(1) ratio is tight for randomized ones.
Learning-Augmented Algorithms for $k$-median via Online Learning

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.