Papers
Topics
Authors
Recent
Search
2000 character limit reached

Online Set Cover: Models & Algorithms

Updated 9 July 2026
  • Online Set Cover is a dynamic covering problem where sets must be irrevocably selected as elements arrive to ensure immediate coverage while minimizing cost.
  • Researchers explore diverse models including adversarial, random-order, geometric, subset-arrival, repetition, and dynamic pricing to tackle the problem’s variants.
  • Competitive methods utilize logarithmic approximations and innovative rounding techniques to achieve performance guarantees that adapt to instance-specific parameters.

Online set cover is the problem of maintaining an increasing family of active or purchased sets as requests arrive online, so that every arrived element is covered immediately, while minimizing the final cost relative to an optimal offline cover. In the classical weighted model there are mm sets S1,,SmS_1,\dots,S_m over a universe of nn elements, set SiS_i has positive cost cic_i, arrivals are irrevocable, and the maintained family satisfies =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m] with jiAjSij\in\bigcup_{i\in A_j}S_i after request jj. Across recent work, the subject includes adversarial and random-order arrivals, geometric range spaces, subset-arrival and batched models, convex and submodular objectives, dynamic pricing, and fully dynamic maintenance with update-time or recourse guarantees (Kesselheim et al., 25 Aug 2025, Gupta et al., 2021, Khan et al., 2023).

1. Classical formulation and competitive framework

In the standard online set cover model, the set system is fixed in advance, elements arrive one by one, and decisions are irrevocable. Feasibility requires that after each arrival jj, the current chosen family covers jj, while the classical weighted objective is

S1,,SmS_1,\dots,S_m0

Competitiveness is measured against the optimal offline solution for the final realized instance. In geometric formulations the same ratio is written as

S1,,SmS_1,\dots,S_m1

where S1,,SmS_1,\dots,S_m2 is the selected family and S1,,SmS_1,\dots,S_m3 is an optimal offline cover for all revealed points (Kesselheim et al., 25 Aug 2025, Khan et al., 2023).

Two distinctions organize much of the literature. First, the arrival model may concern elements, subsets, batches, or geometric objects. Second, the information structure may be adversarial, random-order, stochastic, prophet, or sample-based. In the subset-arrival rounding model, for example, only the ground element set S1,,SmS_1,\dots,S_m4 is known initially; subset vertices S1,,SmS_1,\dots,S_m5 arrive one by one, and on arrival the algorithm learns S1,,SmS_1,\dots,S_m6, S1,,SmS_1,\dots,S_m7, and S1,,SmS_1,\dots,S_m8, and must irrevocably decide whether to select S1,,SmS_1,\dots,S_m9 (Byrka et al., 17 Jul 2025). This is a different online interface from classical element-arrival set cover, but it is still a set-cover rounding problem.

The literature also uses several structural parameters. The maximum subset size is

nn0

the maximum frequency can be written as

nn1

and in geometric settings one often measures complexity through the number nn2 of candidate points or the grid scale nn3 (Byrka et al., 17 Jul 2025, Bender et al., 2024, Khan et al., 2023). Which parameter governs the best guarantee depends strongly on the model.

2. Classical guarantees, random order, and learnable policy classes

For the classical weighted problem, an integral randomized online algorithm with competitive ratio

nn4

is available, and the paper presenting integral convex-objective algorithms emphasizes that this matches the known optimal dependence, up to constants, for weighted Online Set Cover (Kesselheim et al., 25 Aug 2025). The same logarithmic structure reappears when online set cover is viewed as a special case of online submodular cover: with nn5 denoting the number of sets and nn6 the number of arriving elements, the general framework yields

nn7

for the set cover specialization (Gupta et al., 10 Oct 2025).

A major separation appears in the random-order model. When the elements of the final universe are revealed in a uniformly random permutation, the algorithm "LearnOrCover" achieves expected competitive ratio

nn8

thereby “circumventing the nn9 lower bound known in adversarial order” (Gupta et al., 2021). The algorithm maintains a coarse fractional solution that is neither feasible nor monotone increasing, but can nevertheless be rounded online in the random-order model. This replaces the classical monotone-feasible fractional state by a learn-or-cover state driven by a KL-divergence term and a residual-cover term (Gupta et al., 2021).

A different line studies parameterized policy classes rather than a single fixed algorithm. In the class SiS_i0, the algorithm initializes

SiS_i1

maintains the potential

SiS_i2

and, on an uncovered arrival, chooses the minimum SiS_i3 such that SiS_i4, updates SiS_i5 for SiS_i6, and selects at most SiS_i7 subsets from SiS_i8 so that the potential does not increase. Its competitive ratio is

SiS_i9

recovering the classical cic_i0 bound cic_i1 and making the policy parameter cic_i2 learnable from historical instances without leaving a provably competitive class (Zeynali et al., 2020).

Taken together, these results show that the core cic_i3 adversarial landscape is no longer the only relevant baseline. Random-order information can almost collapse the gap to offline, and policy-class design can expose structural instance dependence without abandoning worst-case guarantees.

3. Geometric online set cover

Geometric online set cover departs from arbitrary set systems by exploiting geometry in the fixed family of sets. A particularly sharp result is for axis-parallel squares in the plane. In this model the family cic_i4 of squares is known offline from the beginning, points arrive online one by one, and when a point cic_i5 arrives the algorithm must immediately and irrevocably add squares so that all seen points are covered. For axis-parallel squares of arbitrary sizes, there is a deterministic

cic_i6

-competitive online algorithm when arrivals come from a known candidate set cic_i7 of size cic_i8, and this is tight because any deterministic or randomized online algorithm for set cover for unit squares has competitive ratio cic_i9 (Khan et al., 2023).

The upper bound is obtained from a monotone offline approximation procedure. In the quadtree formulation one proves monotonicity,

=A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]0

and an offline bound

=A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]1

The online algorithm then simply maintains the current offline solution; monotonicity guarantees that recomputation only adds squares, never deletes them. To replace the coordinate dependence =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]2 by =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]3, the paper uses a balanced box decomposition tree of depth =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]4 (Khan et al., 2023). A plausible implication is that monotone offline structure can be more useful than generic online set-cover reductions when the geometry permits it.

A different geometric line studies translated copies of unit disks and regular unit =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]5-gons in =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]6. In the stronger Model-II, only the point set =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]7 is known in advance, while the geometric objects are not known beforehand and arrive online. Through explicit duality, the hitting-set results imply that the equivalent geometric set cover problem in Model-II admits a deterministic

=A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]8

competitive algorithm for points and translated copies of a disk or a regular =A0A1An[m]\varnothing=A_0\subseteq A_1\subseteq\cdots\subseteq A_n\subseteq[m]9-gon with jiAjSij\in\bigcup_{i\in A_j}S_i0, while Model-I lower bounds give jiAjSij\in\bigcup_{i\in A_j}S_i1 (De et al., 2023). In particular, regular unit jiAjSij\in\bigcup_{i\in A_j}S_i2-gons recover the unit-square case.

There are also exclusion-constrained geometric variants. In the online class cover problem, a red point set jiAjSij\in\bigcup_{i\in A_j}S_i3 is known in advance, blue points arrive online, and every chosen unit square must be jiAjSij\in\bigcup_{i\in A_j}S_i4-empty. For axis-parallel unit squares in jiAjSij\in\bigcup_{i\in A_j}S_i5, every deterministic online algorithm has competitive ratio at least jiAjSij\in\bigcup_{i\in A_j}S_i6, where jiAjSij\in\bigcup_{i\in A_j}S_i7, and there is a deterministic algorithm with competitive ratio jiAjSij\in\bigcup_{i\in A_j}S_i8 for jiAjSij\in\bigcup_{i\in A_j}S_i9 (De et al., 2023). This is a geometric online set cover with forbidden-region constraints rather than a standard set system.

4. Arrival-model variants: batches, subset arrivals, and repetitions

Several extensions change what arrives online rather than what objective is optimized. In the batched set cover problem, elements arrive in batches jj0 instead of one by one. Online set cover is the special case where every batch is a singleton. For fractional batched set cover, if the adversary is required to produce batches of VC-dimension at least jj1, there is a tight lower bound

jj2

with a matching upper bound jj3 under the same restriction (Mori et al., 2018). The paper also studies a dedicated simultaneous-update batched primal-dual rule, motivated by the “rich information encoded in the complex interactions between the elements of a batch and the sets that contain them,” although the analysis remains jj4-competitive in the same asymptotic sense as sequentialized processing (Mori et al., 2018).

Online rounding under subset arrivals isolates a different interface. Here only jj5 is known in advance; subsets arrive with their neighborhoods, costs, and LP values, and the rounding algorithm must decide immediately whether to select them. Under this model there is an

jj6

-competitive rounding scheme, where jj7 is the maximum subset size and is assumed known upfront (Byrka et al., 17 Jul 2025). By contrast, the element-arrival model admits jj8-competitive rounding, and the previously known subset-arrival guarantee depended on jj9. The online subset-arrival result therefore closes much of the gap between offline or element-arrival rounding and the stronger subset-arrival model (Byrka et al., 17 Jul 2025).

Online set cover with repetitions changes the covering requirement itself. Elements may arrive multiple times, and if an element jj0 has appeared jj1 times so far, the algorithm must ensure that jj2 is covered by jj3 different purchased sets. The paper states an

jj4

-competitive randomized algorithm for the online set cover with repetitions problem and derives it by reduction to admission control to minimize rejections (0803.2842). This is a genuine multi-cover-type strengthening of the standard online model, because repeated requests do not disappear once the element has been covered once.

These variants show that online set cover is not tied to a single arrival grammar. Batch structure, subset-arrival rounding, and repeated-demand coverage each expose different combinatorial bottlenecks.

5. Convex, norm-based, and submodular objectives

The classical weighted objective jj5 is only one instance of a broader family of online covering objectives. In the convex-objective framework, Online Set Cover is modeled as a special case of Online Generalized Scheduling. Set jj6 becomes a machine, element jj7 becomes a job, the processing value is

jj8

the inner norm is jj9, and the outer monotone convex function jj0 aggregates the machine loads. In direct set-cover form, the objective becomes

jj1

subject to every arriving element being covered by active sets at all times (Kesselheim et al., 25 Aug 2025).

For classical Online Set Cover this framework recovers an integral randomized

jj2

-competitive algorithm. For a jj3-bounded convex cost function jj4, it yields

jj5

and for an jj6-norm over multiple linear cost functions it yields

jj7

For sums or compositions of symmetric norms, the paper gives integral online guarantees such as jj8 in the jj9 case and S1,,SmS_1,\dots,S_m00 for general symmetric norms (Kesselheim et al., 25 Aug 2025). A central theme is that these are direct integral algorithms, not online rounding procedures applied after solving a convex relaxation.

Online submodular cover generalizes still further. Here the ground set is S1,,SmS_1,\dots,S_m01, costs S1,,SmS_1,\dots,S_m02 are fixed, and a time-monotone sequence of monotone submodular functions

S1,,SmS_1,\dots,S_m03

arrives online. At time S1,,SmS_1,\dots,S_m04, the algorithm must output S1,,SmS_1,\dots,S_m05 such that

S1,,SmS_1,\dots,S_m06

For general online submodular cover the paper proves

S1,,SmS_1,\dots,S_m07

and for the S1,,SmS_1,\dots,S_m08-increasing subclass it proves

S1,,SmS_1,\dots,S_m09

When specialized to online set cover, where the S1,,SmS_1,\dots,S_m10 are coverage functions and S1,,SmS_1,\dots,S_m11, this becomes exactly

S1,,SmS_1,\dots,S_m12

and matches the classical Alon et al. guarantee (Gupta et al., 10 Oct 2025).

A plausible implication is that online set cover now serves as the canonical “covering with irrevocable growth” instance inside a larger theory of integral online convex and submodular covering.

6. Dynamic maintenance, pricing, and stochastic information models

Fully dynamic set cover allows both arrivals and departures of active elements. The maintained family S1,,SmS_1,\dots,S_m13 must cover the current active set S1,,SmS_1,\dots,S_m14, and competitiveness is measured against the optimum for the current instance. In this model there are algorithms with

S1,,SmS_1,\dots,S_m15

and with

S1,,SmS_1,\dots,S_m16

In the recourse setting, one can maintain

S1,,SmS_1,\dots,S_m17

-competitiveness with constant amortized recourse (Gupta et al., 2016). This differs sharply from classical online set cover because sets may now be both added and removed as the active element set changes.

Dynamic pricing studies implementability rather than approximation alone. In Dynamic Pricing Set Cover, the server can only post surcharges S1,,SmS_1,\dots,S_m18 on resources, so the total posted cost is

S1,,SmS_1,\dots,S_m19

and an uncovered arriving element S1,,SmS_1,\dots,S_m20 chooses

S1,,SmS_1,\dots,S_m21

The paper proves the exact characterization

S1,,SmS_1,\dots,S_m22

where monotonicity is defined by acyclicity of the induced preference graph, and gives an S1,,SmS_1,\dots,S_m23-competitive dynamic pricing algorithm that is optimal for deterministic algorithms (Bender et al., 2024). This links online set cover to posted-price mechanism design without abandoning competitive analysis.

Stochastic, prophet, and sample-based models weaken adversarial uncertainty. In universal stochastic set cover, a map from elements to sets is fixed a priori and the realized subset is random. In the prophet version, the S1,,SmS_1,\dots,S_m24 arrivals come from possibly different distributions S1,,SmS_1,\dots,S_m25. There is a polynomial-time

S1,,SmS_1,\dots,S_m26

-competitive universal algorithm for 1-sample prophet SetCover, improving the earlier S1,,SmS_1,\dots,S_m27 stochastic guarantee and requiring only a single sample from each distribution (Gupta et al., 2023). The same reduction also yields an S1,,SmS_1,\dots,S_m28-competitive two-stage prophet algorithm and an S1,,SmS_1,\dots,S_m29-competitive online-with-a-sample algorithm for the sample fraction S1,,SmS_1,\dots,S_m30 (Gupta et al., 2023).

These models broaden the meaning of “online” from pure adversarial arrival to dynamic maintenance, incentive compatibility, and limited distributional information.

7. Problems often conflated with online set cover

A persistent source of confusion is Online Min-Sum Set Cover (MSSC). Despite the name, it is not the standard online set cover problem. In Online MSSC, the algorithm maintains a permutation S1,,SmS_1,\dots,S_m31 of a universe S1,,SmS_1,\dots,S_m32, a request S1,,SmS_1,\dots,S_m33 arrives, the access cost is the position of the first requested element, and the update cost is the Kendall tau distance: S1,,SmS_1,\dots,S_m34 The state is a ranking, not a family of purchased sets; the objective is access cost plus reordering cost, not the cost of selected sets (Fotakis et al., 2020, Bienkowski et al., 2022).

This line has its own competitive theory. Against a static benchmark, deterministic online algorithms for the S1,,SmS_1,\dots,S_m35-uniform version have lower bound

S1,,SmS_1,\dots,S_m36

and upper bound S1,,SmS_1,\dots,S_m37, while the efficient memoryless algorithm Move-All-Equally has lower bound S1,,SmS_1,\dots,S_m38 against the static optimum and bounds S1,,SmS_1,\dots,S_m39 and S1,,SmS_1,\dots,S_m40 against the dynamic optimum (Fotakis et al., 2020). Against a dynamic optimum, a later paper gives a computationally efficient randomized S1,,SmS_1,\dots,S_m41-competitive algorithm and a deterministic existential S1,,SmS_1,\dots,S_m42-competitive algorithm (Bienkowski et al., 2022). In a repeated-decision or online-learning formulation, MSSC appears as Pandora’s Box with values in S1,,SmS_1,\dots,S_m43, and one obtains approximate no-regret guarantees rather than classical competitive ratios (Gergatsouli et al., 2022).

Another distinct direction is restricted-information set cover in a static oracle model. “Set Cover in Sub-linear Time” studies a fixed instance under S1,,SmS_1,\dots,S_m44 and S1,,SmS_1,\dots,S_m45 queries and proves query bounds such as

S1,,SmS_1,\dots,S_m46

with matching lower bounds in several regimes, but this is not an online-arrival model (Indyk et al., 2019). The online difficulty there is replaced by query complexity on a static input.

The broader lesson is terminological as much as technical: “online set cover” properly refers to irrevocable covering under arrival uncertainty, whereas min-sum ranking, Pandora-style search, and static sublinear-query set cover are separate problems with different state spaces, cost models, and lower-bound regimes.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Online Set Cover.