Redundant Execution of Anytime Solvers on Unreliable Machines

Many expensive computations are anytime: a solver keeps a best-so-far answer that improves the longer it runs. MaxSAT local search, vehicle routing heuristics and model training are examples, and the answer can be read off at any moment. Systems that run jobs on unreliable machines protect themselves with redundancy. They launch several copies of a job, take whichever finishes first, and kill the rest. That rule makes no sense for anytime work. There is no "finish," the losing copies hold partial answers of real value, and copies of a randomized solver do not duplicate each other. They follow different search trajectories, and one may pull ahead late. This note proposes a controller for redundant anytime execution. At regular checkpoints it decides, for each running copy, whether to keep it, kill it, or replace it with a fork of the current leader on a different machine. It bases these decisions on a learned forecast of where each copy's quality is heading given its history so far, and it charges every decision for the machine time it consumes.

The opportunity comes from a clean split in the literature. Work on redundant job assignment treats tasks as all-or-nothing. That holds for redundant service procurement (Flexible Procurement of Services with Uncertain Durations using Redundancy), for energy-aware duplication on multicore chips (Energy-Efficient and Reliable Task Mapping and Offloading for Multicore Edge Devices with DVFS), and for the "Hedge" strategy in web agents (Agent JIT Compilation for Latency-Optimizing Web Agent Planning and Scheduling). Work on performance profiles models quality as a function of compute time but assumes dedicated, reliable hardware. A performance profile is a model of expected answer quality as a function of compute time, introduced in An Analysis of Time-Dependent Planning. The proposal asks what redundancy is worth once both facts hold at the same time.

Core Claim

For randomized anytime solvers on machines that slow down or crash, redundancy is worth more than its crash insurance. Its value has two parts. One is the diversity of independent trajectories. The other is the ability to move effort away from copies that are stagnating or sitting on degraded machines. A controller that forecasts each copy's final quality from its trajectory, not from its current quality alone, should reach a given solution quality with clearly fewer machine-seconds than the best fixed number of independent copies. It should also beat first-finish hedging and memoryless stopping rules.

We state the claim cautiously for a specific reason. Once a solver checkpoints its incumbent, a crash costs very little, so crash tolerance alone does not justify the machinery. The contribution has to come from managing stragglers and stagnation. The experiments are built so that this part can fail visibly.

Formally, let $D$ be the deadline and $Q_i(D)$ the quality the $i$-th copy holds at the deadline. Let $C$ be the total machine-seconds consumed and $\lambda$ a price per machine-second. The controller chooses keep/kill/fork actions at each checkpoint to maximize

$$ \mathbb{E}\left[\max_i Q_i(D)\right] - \lambda\, C . $$

The expectation is taken under a conditional profile $P(Q_i(D) \mid h_i, s_i)$. Here $h_i$ is the copy's quality trajectory so far and $s_i$ is the observed speed of its machine. The $\max$ is the key difference from first-finish hedging. Every copy contributes through the chance that it becomes the best, not through the chance that it finishes first.

Research Program

The work has three parts.

Conditional profiles. The first part builds the conditional profile. Using Performance Profile Trees to Improve Deliberation Control showed that memoryless profile tables, which condition only on current quality and elapsed time, make over-optimistic stopping decisions. Profile trees that store whole trajectories reached within 99.0% of hindsight-optimal stopping on their scheduling domain. Trees grow with trajectory length, so we replace them with a learned model. The model takes compact trajectory features: current quality, time since the last improvement, recent improvement rate, and normalized machine speed. It predicts quantiles of quality at the deadline. It is trained on offline runs of the solver. Better Understandings and Configurations in MaxSAT Stochastic Local Search Solvers via Anytime Performance Analysis supplies both the convergence-curve evaluation method and a warning. Solvers show "performance flipping," where early leaders are overtaken. That warning is exactly why killing on current quality alone should fail.

The controller. The second part is the controller itself. At each checkpoint it estimates the marginal gain in expected best quality from each available action. Keeping a copy has a value from its forecast. Killing a copy frees its machine-seconds. Forking clones the leader's incumbent onto a fresh machine with a new random seed, which combines migration away from a slow machine with local diversification. The controller acts greedily on these estimates.

This differs from Flexible Procurement of Services with Uncertain Durations using Redundancy in two ways. That paper computes invocation times by backward induction under binary success and memoryless exponential durations. We drop both assumptions. The proposal also differs from Further connections between contract-scheduling and ray-searching problems, which bounds worst-case acceleration ratios for contract schedules requiring redundant executions. That analysis is purely theoretical and treats each contract as binary. We use it as a worst-case reference point rather than as a method.

Fault model. The third part is the fault model. Machines receive slowdown factors from a heavy-tailed distribution, including correlated slowdowns across machines sharing a host. Machines also crash at controlled rates. We calibrate slowdowns against real co-location runs on our own hardware. iGniter: Interference-Aware GPU Resource Provisioning for Predictable DNN Inference in the Cloud reports latency degradation of up to 35% from co-location, a GPU-inference figure we use only as an order-of-magnitude anchor.

Baselines

The naive reference is a single solver copy that restarts from its last checkpoint on a new machine after a crash and otherwise runs to the deadline. Every method must beat it, or redundancy has no case at all.

The strongest competitor is a fixed independent portfolio. It runs $k$ independent seeds from the start, keeps the best incumbent at the deadline, and restarts crashed copies from checkpoints. We tune $k$ per instance family on held-out instances over a grid. This baseline captures diversity and crash tolerance with no controller, so it is the real threat. To make the comparison fair, both methods use the same solver binary, the same fault traces, the same seeds and the same budget of machine-seconds. Our controller's training runs count against an equal offline tuning budget for $k$. Beating the portfolio means at least one of two outcomes, with paired confidence intervals across instances. The first is higher normalized quality under the area-under-the-convergence-curve metric of Better Understandings and Configurations in MaxSAT Stochastic Local Search Solvers via Anytime Performance Analysis at matched machine-seconds. The second is equal quality with at least 20% fewer machine-seconds. We found no reported result on Lacuna for any redundancy scheme on MaxSAT Evaluation instances under injected faults, so all numbers here will be new. The closest reported figures are of a different kind. Anytime-aware tuning beat fixed-cutoff tuning in 11 of 16 scenarios, with average gains of 4% to 15% for NuWLS and SATLike. That result concerns configuration rather than redundancy.

The second competitor is first-finish hedging adapted from Agent JIT Compilation for Latency-Optimizing Web Agent Planning and Scheduling. Its reported gains, 10.4× and 2.4× speedups on web-agent tasks, are for binary tasks and do not transfer as numbers. We adapt it by treating "reaching target quality $q^\ast$" as finishing. A duplicate launches when a copy exceeds its historical latency percentile for $q^\ast$, and the first copy to reach $q^\ast$ wins.

Two ablations isolate the key ingredient. The first replaces our trajectory-conditioned forecast with a memoryless table conditioned on current quality and time. This is the PPTable design that Using Performance Profile Trees to Improve Deliberation Control found over-optimistic. The second removes forking, allowing only keep or kill.

Why not just…?

Why not just run a fixed number of independent copies and take the best? This is the alternative most likely to win. If solver trajectories are nearly independent and slowdowns are mild, a tuned $k$ may capture almost all the value, because adaptive killing gains little when no copy is predictably hopeless. We do not argue around this. The fault-severity sweep below is designed to locate where the portfolio stops being sufficient. If the controller's advantage stays within noise even under heavy-tailed, correlated slowdowns, we will report that redundancy for anytime solvers reduces to choosing $k$. That is itself a useful and previously unmeasured result.

Why not just checkpoint and restart instead of using redundancy? For crashes, checkpointing is nearly enough, which is why our naive baseline already includes it. Checkpointing does nothing for a copy that is alive but running at a third of its normal speed. It also does nothing for a copy that is stagnating in a poor region of the search space. The crash-only arm of the experiments should show checkpointing roughly matching every redundant scheme. The straggler and stagnation arms are where it should fall behind. If it does not fall behind there, the proposal's premise fails.

Why not just hedge on a quality threshold, as agent schedulers hedge on completion? Threshold hedging requires choosing $q^\ast$ in advance. It also discards the losing copies' progress, the waste identified as Gap 1 in the research file. Under performance flipping, the copy that reaches a modest threshold first is often not the one with the best final answer. The comparison at matched machine-seconds settles this directly. We also report results across several $q^\ast$ values so the baseline is not handicapped by a poor threshold.

Why not just use a memoryless stopping rule? Larson and Sandholm's evidence that memoryless tables misjudge stagnating runs (Using Performance Profile Trees to Improve Deliberation Control) comes from single-copy stopping decisions. Whether the effect persists when the decision is "kill this copy because another exists" is untested. The first ablation measures exactly this.

Proposed Experiments

Primary testbed. The primary testbed is the MSE22 and MSE23 MaxSAT Evaluation instances in both the weighted and unweighted partial tracks. We use the stochastic local search solvers SATLike3.0 and NuWLS from Better Understandings and Configurations in MaxSAT Stochastic Local Search Solvers via Anytime Performance Analysis, with a 300-second deadline matching that paper's cutoff. We split instances by family into profile-training, tuning and test sets so the forecast never sees test families.

Secondary testbed. The secondary testbed is PSPLIB j30 project-scheduling instances with an anytime local search over the activity orderings used in Exploiting Temporal Flexibility to Obtain High Quality Schedules. This tests whether the conditional profile transfers to a solver with different convergence behavior.

Fault sweep. We vary slowdown tail heaviness, slowdown correlation across co-hosted machines, and crash rate. The crash-only and slowdown-only arms are separated so the sources of value can be attributed.

Metrics. The metrics are normalized best quality at the deadline, area under the quality-versus-time curve, machine-seconds consumed, and the full quality-versus-cost frontier traced by sweeping $\lambda$.

Decisive checks. Three checks decide the outcome. First, the controller's frontier must dominate the tuned fixed-$k$ portfolio's frontier in the slowdown arms, while roughly tying it in the crash-only arm. A tie everywhere would refute the core claim. Second, the memoryless ablation must lose most of the gain, which would show that trajectory conditioning is the active ingredient rather than adaptivity alone. Third, forecast calibration on held-out families must hold. That means coverage of the predicted deadline-quality quantiles within a few points of nominal. Otherwise any gains could be artifacts of overfitting the training families.