Computing Weighted Set Covers with Heterogeneous Stochastic Oracles: Deadline-Constrained Token Complexity
Jie Wang in Agents
Can one reply replace queries for every possible residual?
Computing Weighted Set Covers with Heterogeneous Stochastic Oracles: Deadline-Constrained Token Complexity
The PTM controls; oracles propose
- 1
Task
Weighted Set Cover seeks low-weight candidate sets whose union covers every element.
- 2
Oracle calls
A probabilistic Turing machine (PTM) queries heterogeneous stochastic oracles (HSOs) for full or partial covers.
- 3
The objective
It verifies coverage and weight, meeting a success target by a deadline while minimizing expected billed tokens.
Full-cover scheduling reduces to mixing plans
Each B is a batch plan on the all-failure path. For rational inputs and independent, failure-invariant calls, an optimal nontruncating, failure-oblivious selection-only policy meets any feasible η with at most two schedules.
- c(B)
- Expected token cost of following schedule B
- PB
- Probability of an accepted cover by deadline D
Stage expensive calls instead of paying up front
If all call cutoffs fit D, one turn queries every opportunity: maximum success p∗ at expected token cost c[k].
For a feasible split, query A first and its complement after failure. Cost: cA+fAc[k]∖A (fA is A's failure chance). The saving is submodular: marginal gains shrink as A grows; an FPTAS approximates the best split.
An FPTAS approximates submodular savings; exact selection is NP-hard; positive integer costs admit pseudopolynomial DP.
Partial covers earn credit for newly covered elements
For ρ≥1, retain a response only if it adds residual elements and its weight fits within ρ times their feasible dual value. Disjoint charges certify a completed union.
- w(Ph)
- Weight of the retained partial response
- N(Ph,Rh−1)
- Residual elements newly covered at step h
- L
- Optimal LP-dual value, bounded by OPT
Retries bound failure; residuals guide the next call
- 1
Per-element risk
With history-conditional certified chance p, d_e eligible calls for element e leave it uncovered with probability ≤(1−p)^d_e; a union bound controls batch failure.
- 2
Greedy buys coverage
For fixed p,η, greedy is O(log² n) times the minimum batch cost meeting that risk; at fixed p and 1−η=n^−Θ(1), it is O(log n).
- 3
Target what remains
Across turns, earlier partial responses show what remains; each next batch can target that residual instead of every possible subproblem.
One revealing response can avoid querying every specialist
Constructed WSC family: a near-cover response identifies one of z residuals. At D=2, specialist cost c(n), near-cover cost αc(n), α>1; both policies return optimal covers with probability 1.
- Cone
- One-turn cost: all z specialist calls
- C≤2
- Minimum expected cost with at most two turns
Opus 5.5 pilot on reduced cases
Each run: 36 calls. Triplets are lighter/equal/heavier than comparator. Medium effort: 33/36 optimal; weighted greedy 26/10/0, reverse deletion 10/25/1. High effort: 36/36 optimal; weighted greedy 27/9/0, reverse deletion 12/24/0.
Each had ≥90 distinct nondominated candidate sets. All 24 medium-effort calls were valid covers; 20 were optimal. On instances admitting a strict improvement, 9/9 beat weighted greedy and 3/6 beat reverse deletion.
The pilot used per-call timeouts, not a shared deadline across multiple batches.
What the pilot and theory leave open
Constructed gap
The z/(α+1) ratio is proved on a designed exact-cover family, not measured in the pilot.
Full-cover inputs
Full-cover scheduling takes call success probabilities, expected token costs and cutoffs as inputs; its main results assume independent, failure-invariant calls.
Pilot scope
Pilot cases were projected, some selected for baseline gaps; the study used per-call timeouts, not shared multi-batch deadlines, and unreduced railway tests remain open.
Why it matters
- A feasible LP-dual bound lets the PTM certify an oracle-proposed cover's quality rather than trust its claim.
- When deadlines permit, stage full-cover calls after failures and target the residual exposed by earlier partial responses.
- The open test is learning unknown success, latency and token costs well enough for these policies to work on unreduced instances.
10 slides, 3 min
24 Nov 2026