Intelligence, Agency & Consciousness · Paper 0090

When a plan repairs its own flaws

Gerevini, Saetti and Serina make temporal planning a process of constructive dissatisfaction: keep a graph of actions, name what is wrong, and use stochastic local search to repair one flaw at a time.

Intelligence, Agency & Consciousness · Paper 0090

When a plan repairs its own flaws

Rajesh Ranjan Mahapatra

Gerevini, Saetti and Serina make temporal planning a process of constructive dissatisfaction: keep a graph of actions, name what is wrong, and use stochastic local search to repair one flaw at a time.

© 2026 Rajesh Ranjan Mahapatra. 29 min read

When a plan repairs its own flawsAll AI Research Library

TLDR

Five-point orientation
  1. A plan can be searched as a graph. LPG moves through linear action graphs rather than expanding complete world states.
  2. Flaws define the neighbourhood. An unsupported precondition can be repaired by inserting a supporter or removing the action that needs it.
  3. Time is explicit but levels are not time. Temporal values and causal or mutex orderings determine earliest completion and makespan.
  4. Evaluation anticipates consequences. Relaxed plans estimate search effort, execution cost and temporal cost before a move is made.
  5. One solution begins an anytime process. LPG quickly finds a valid plan, then searches for plans with better user-weighted quality.
01 · planning as repair

Begin with an imperfect plan and ask what must change

Classical planning is usually introduced as forward construction: start in an initial state and choose actions until the goal holds. LPG changes the object being searched. Its candidate is an action graph that may be incomplete or inconsistent, and its step is a local repair.

A planning problem supplies an initial state, a goal and ground actions with preconditions and effects. PDDL2.1 enlarges this setting with durative actions, numerical quantities and plan metrics. A useful solution may therefore need more than logical correctness. It may have to finish early, consume little fuel, or balance several costs.

Forward state-space search represents a node by what is true after a prefix. LPG instead represents a node by a structured proposal for the whole plan. Some required facts may lack producers. Some actions may interfere. The proposal is still valuable because its defects point directly towards neighbouring proposals.

The underlying procedure, Walkplan, belongs to the family of stochastic local-search methods exemplified by Walksat. Choose an inconsistency in the current graph. Construct graph modifications that can resolve it. Usually take a minimum-evaluation modification; sometimes take a random one. Repeat until no inconsistency remains or a search bound triggers a restart.

This shift makes a powerful division of labour possible. Logical structure identifies what is broken. Reachability analysis estimates how hard each repair will be. Temporal propagation predicts when the altered plan will finish. A plan metric supplies the user’s notion of quality. Stochasticity helps the search leave local basins where greedy repair cycles.

The resulting planner is incremental and anytime. It can be configured to favour the first solution, as LPG-speed was, or continue after validity and seek lower-cost plans, as LPG-quality did. The first valid graph is not the end of deliberation; it becomes an incumbent against which later candidates are judged.

A flawed action graph enters a repair loop An action graph with a red unsupported fact flows through flaw selection, candidate repair and evaluation until it becomes a green valid plan. CURRENT GRAPH flaw 1 · SELECT FLAW 2 · SCORE REPAIRS 3 · MOVE OR WANDER VALID PLAN no inconsistency
Figure 1 · Repair is the search operator. LPG does not require every intermediate graph to be a plan. It requires the graph’s defects to be explicit enough to generate and compare local repairs.Source scope: primary paper, Introduction and Section 3.1.

Worked example 1 · a photograph without power

A satellite plan contains take-image, but the instrument is not powered at that point. The unsupported precondition power-on is a precise defect. One neighbour inserts switch-on; another removes take-image. The search compares the downstream work each choice creates.

Causal probe 1 · require every intermediate to be executable

The search loses its direct route through partial proposals. It must build validity monotonically or encode detours as state prefixes. LPG gains freedom by allowing an invalid graph while keeping every invalidity inspectable.

02 · from planning graph to linear action graph

One action per level gives the search a manipulable spine

LPG’s linear action graph, or LA-graph, is derived from Graphplan’s alternating fact and action levels, but it is a candidate plan rather than the entire reachability structure.

A planning graph contains fact levels and action levels. Preconditions connect facts to actions; add and delete edges connect actions to later facts. A no-op action carries a fact forward. Mutex relations mark action pairs that cannot coexist because they interfere, have inconsistent effects, or depend on mutually exclusive facts.

An action graph selects a subgraph. LPG’s linear variant permits at most one non-no-op action at each action level, while no-ops maintain facts across levels. “Linear” does not mean the final execution must be serial. It gives implementation and heuristic calculations a total level order; independent actions can later overlap when temporal constraints allow it.

The restriction simplifies propagation. At any level the planner can derive a definite logical state from earlier selected actions. It can find unsupported preconditions, maintain numerical values and trace which action supports which later need. Persistent mutex actions occupy different levels, eliminating ambiguity about their order.

An LA-graph is a solution graph when all preconditions of its actions and all goals at the final level are supported, and when the selected actions satisfy the relevant consistency conditions. Before that point, its unsupported fact nodes are the local-search inconsistencies. A dashed chain of no-ops can be blocked by an action that deletes the carried fact, turning a formerly supported precondition into a new flaw.

The graph may be longer than a more compact parallel action graph because each level holds only one ordinary action. The authors report that this representation size was not a problem in their tests. That observation is empirical, not a bound: domains with very long plans or enormous grounded action sets can still challenge memory and update cost.

A linear action graph alternates fact and action levels Five vertical levels show facts as circles, one ordinary action as a rectangle at each action level, and dashed no-op chains carrying facts forward. INITIAL LEVEL 1 LEVEL 2 LEVEL 3 GOAL a₁ a₂ a₃ a₄ levels organise search · causal structure determines support
Figure 2 · A spine, not a clock. Graph levels provide a convenient order for edits and state reconstruction. They do not by themselves say when durative actions begin or end.Source scope: primary paper, Sections 2.1–2.2.

Worked example 2 · the no-op that fails

At depot is carried through two levels by no-ops. Inserting drive away at the first level deletes it, so a later load action loses its support. The insertion fixes one goal but creates a named unsupported precondition elsewhere.

Causal probe 2 · read levels as seconds

That interpretation serialises actions for no reason and misstates makespan. A later graph level may finish before an earlier long action. Only durations plus ordering constraints determine temporal values.

03 · temporal action graphs

Time is propagated through causes and exclusions

A temporal action graph is a triple: an LA-graph, temporal values for its fact and action nodes, and ordering constraints between selected actions.

The ordering set has two sources. A causal constraint a ≺C b records that action a provides a fact consumed by b. An exclusion constraint a ≺E b orders mutually exclusive actions. LPG directs a mutex ordering according to graph level: the action in the earlier level precedes the action in the later one.

For the paper’s main presentation, an ordering means that the first action ends before the second begins. A fact’s temporal value is the earliest time it becomes true, computed from its supporters. An action’s temporal value is its earliest completion: its duration plus the maximum among the times of supported preconditions and actions constrained to precede it.

Unsupported facts have undefined times. Once an insertion or removal changes the graph, LPG revises affected temporal values by forward propagation rather than recomputing everything blindly. The makespan of a valid temporal solution follows from the latest required completion time.

This representation separates two notions often collapsed in diagrams. Level order is a topological scaffold. Temporal order is a set of semantic constraints. Actions at different levels may overlap if neither causality nor exclusion forbids it. The competition version conservatively prevented any pair of mutex actions from overlapping; later work refined endpoint constraints and improved makespan by about ten per cent on reported Satellite SimpleTime tests.

PDDL2.1 also distinguishes conditions at start, over all and at end, and effects at start or end. The implementation adjusts temporal propagation for these endpoints. The paper explains the major cases while acknowledging that the competition treatment could over-constrain some overlaps. Soundness of an ordering does not guarantee temporal optimality.

TA-graph = ⟨A, T, Ω⟩
Ω = causal orderings (≺C) ∪ mutex orderings (≺E)
Time(a) = Duration(a) + max{Time(preconditions), Time(required predecessors)}
Causal and mutex orderings determine a temporal schedule Four actions appear on a time axis. Causal arrows connect producers to consumers, a red mutex bracket prevents two actions overlapping, and independent actions overlap. 0 2 4 6 8 calibrate take-image turn transmit causal mutex ordering
Figure 3 · Topology becomes a schedule. Causal support and exclusion impose precedences; other durative actions may overlap. Earliest completion is propagated along those relations.Source scope: primary paper, Definition 5, Definition 6 and Section 3.4.

Worked example 3 · one long action, one later level

A calibration lasts five units. A two-unit turn appears in the next graph level but is independent, so it may run during calibration. A photograph needing calibration must wait. The level sequence alone would wrongly give a nine-unit serial plan; the constraint schedule can finish sooner.

Causal probe 3 · delete all mutex orderings

Interfering actions can overlap, making the temporal assignment logically incoherent: for example, one action consumes a condition while another deletes it. Faster makespan is meaningless if the schedule ceases to represent a valid plan.

04 · neighbourhood by inconsistency

Every unsupported precondition creates two families of moves

The local-search neighbourhood is not a generic edit distance over graphs. It is constructed around the selected flaw, so every candidate has a reason to exist.

Suppose precondition fact f of action b is unsupported at level k. An insertion neighbour adds an action a whose effect can support f at an admissible earlier level. No-op propagation connects the new effect to the need. The move may create fresh unsupported preconditions for a or introduce mutex interference, but it removes the selected defect.

A removal neighbour deletes b, the action that requires f. This also resolves the selected unsupported precondition because the requirement disappears. Removal can delete support needed by later actions and can therefore create different flaws. The search is allowed to exchange one set of inconsistencies for another when the evaluation predicts progress.

When a goal fact is unsupported, there is no consumer action to remove in the ordinary sense; insertion of a producer is the meaningful family. Candidate generation respects reachability and mutex information so that plainly impossible repairs can be excluded or penalised.

Walkplan selects an inconsistency, constructs the relevant neighbourhood and evaluates its members. A greedily best neighbour is chosen most of the time, with random tie-breaking among equally evaluated moves. With noise probability p, a stochastic choice supplies diversification. Search-step and restart limits prevent indefinite cycling.

The dynamic noise mechanism watches recent progress. In the reported experiments the initial p was 0.1. If the variance in the number of inconsistencies changed insufficiently over the previous fifty steps, noise was increased; otherwise it returned to its initial value. Stagnation therefore changes control rather than being mistaken for evidence that the current greedy basin is globally best.

One unsupported fact branches into insertion and removal repairs A red unsupported precondition in the centre leads left to inserting a supporter and right to removing the requiring action; each repair may create new yellow side effects. UNSUPPORTED fact f INSERT SUPPORTER a a adds f before consumer b may create preconditions or mutexes REMOVE CONSUMER b the requirement for f disappears may withdraw later support both candidates resolve the selected flaw · neither promises global improvement
Figure 4 · A flaw names its alternatives. Insert a producer or remove the consumer. The evaluation function must account for the collateral work hidden behind either apparently simple repair.Source scope: primary paper, Section 3.1 and Walkplan neighbourhood definitions.

Worked example 4 · refuel or abandon the flight

A planned flight needs ten fuel units and only six are available. Inserting refuel supports the numerical condition but consumes time and money. Removing fly avoids that cost but may leave a destination goal unsupported. Both are legitimate local responses to the same flaw.

Causal probe 4 · always insert

The graph can accumulate actions whose requirements recursively demand more actions. Removal is essential because a mistaken consumer may be the real cause of the defect. A repair policy without deletion cannot retract a bad structural commitment.

05 · evaluating a repair

Search effort, makespan and execution cost speak in one score

A candidate move is judged not only by the flaw it immediately removes, but by an estimate of the plan required to support its consequences.

The evaluation E combines three terms, written with coefficients α, β and γ in the paper’s general definition. SearchCost estimates how many additional actions are needed to repair new unsupported facts and threats. TemporalCost estimates the candidate’s effect on action completion times and plan makespan. ExecutionCost estimates the action-cost contribution derived from the problem’s metric. A later normalised form uses μE, μT, maxima over the neighbourhood and the current inconsistency count κ so that quality terms do not swamp progress towards validity.

Weights express the planning objective. In a pure speed-oriented phase, search cost matters heavily because reaching any solution quickly is the priority. When improving a valid plan, temporal and execution components can receive greater influence. The user’s PDDL metric helps set the relative temporal and execution weights.

The terms are estimates, not admissible lower bounds. A locally low score can still lead to a poor basin; a temporarily expensive edit can open a much better plan. LPG seeks effective guidance rather than optimality guarantees. Its stochastic choice and restarts are part of the answer to heuristic error.

For insertion, the evaluator builds a relaxed plan supporting the new action’s preconditions and considers actions that may be threatened by the insertion. For removal, it estimates how to re-support facts that depended on the deleted action. Reuse matters: actions already present in the graph should not be counted as if they must be bought again.

In reported default settings, μE was set to one and μT to the coefficient of total-time in a linear metric. When no metric was specified, μE was 0.5 and μT zero. These details keep a mathematical-looking score tied to implementation choices; changing scales or weights can change which neighbour wins.

General form: E(move) = α·ExecutionCost + β·TemporalCost + γ·SearchCost
Normalised insertion form: E(a)ⁱ = [μE·ExecutionCost(a)ⁱ + μT·TemporalCost(a)ⁱ] / [κ(μE·maxE + μT·maxT)] + SearchCost(a)ⁱ/maxS
choose arg min E most often · choose stochastically with noise probability p
Three cost components balance on a move score Search, time and execution-cost blocks with adjustable weights flow into a scale comparing an insertion with a removal. SEARCH TIME EXECUTION E(move) ADD DROP
Figure 5 · A scalar with declared values. The score allows different criteria to govern one choice, but its answer inherits the estimates, scales and weights supplied to it.Source scope: primary paper, Sections 3.2–3.3 and experimental settings.

Worked example 5 · short but fuel-hungry

Move A inserts one fast flight: SearchCost 1, TemporalCost 2, ExecutionCost 9. Move B inserts two rail actions: 2, 5 and 2. With weights (1, 1, 0.2), A scores 4.8 against B’s 7.4; with execution weight 1, B scores 9 against A’s 12.

Causal probe 5 · call the minimum score optimal

E compares local estimates, not complete plans, and the relaxation omits some negative interactions. The minimum is the preferred neighbour under the heuristic; it is not a proof of minimum global makespan or cost.

06 · relaxed plans and reachability

Forecast the repair with a deliberately easier world

LPG computes reachability information before and during search, then constructs restricted relaxed plans to estimate the support a candidate move will require.

A delete relaxation lets achieved facts persist, making support cheaper to calculate. For each fact, LPG’s reachability procedure records an estimated number of actions, execution cost, earliest time and a set of required actions. Those required-action sets help avoid simply adding independent fact estimates and double-counting shared support.

The forward computation applies each considered action at most once and excludes actions with mutex preconditions under its restricted scheme. This differs from classic hmax, hadd and FF-style extraction. LPG’s relaxed plans also account for threats when choosing supporting actions; a cheap supporter that damages the current graph may cease to look cheap.

RelaxedPlan assembles actions to support a set of facts relative to the current partial graph. Search cost is primarily the number of actions the repair appears to need, adjusted for reuse and interference. Execution and temporal costs of that relaxed support are then passed into the combined move evaluation.

Because deletes are relaxed, the forecast remains optimistic about some interactions. Because action availability is restricted and threats are considered, it is not the same optimism as FF’s heuristic. The result should be understood as engineered local guidance rather than a canonical distance.

This architecture is important: precomputed reachability supplies broad estimates, while the current action graph supplies context. A fact that is three actions from the initial state may be one action away when two supporters already sit in the candidate plan. Conversely, inserting an apparently direct producer can be expensive if it threatens a long no-op chain.

Relaxed support expands backwards from a required fact A goal fact expands to two candidate producers and their preconditions. Shared supporting actions are counted once, while a threatening action receives a warning marker. need g producer a producer b p shared q shared q r reuse once
Figure 6 · Count support in context. Relaxed extraction exposes shared actions and likely threats. Its easier world predicts effort without claiming to simulate every delete interaction.Source scope: primary paper, Sections 3.2–3.3.

Worked example 6 · one truck serves two facts

Two packages need the same truck at a depot. Independent additive estimates might count move-truck twice. A required-action set reveals the common supporter, reducing the estimated repair cost and changing the preferred insertion.

Causal probe 6 · make the relaxation exact

Exact downstream planning inside every neighbour evaluation would solve a hard planning problem repeatedly. Guidance works because it is cheaper than the search it guides. The question is whether its errors are tolerable, not whether all error can be removed.

07 · numerical state and anytime improvement

LPG supports numerical preconditions and effects, and it turns the first solution into a starting point for a sequence of improved plans.

A numerical state pairs propositional facts with real-valued variables. Preconditions compare numerical expressions; effects assign, increase, decrease, multiply or divide variables. LPG propagates estimated values level by level in the linear graph so that it can identify unsupported numerical conditions and evaluate actions with state-dependent durations.

Action execution cost is derived from the plan metric while separating the temporal component already represented by duration. For a metric such as four times total time plus five times fuel used, LPG treats the fuel-changing effect as execution cost and handles total time through temporal evaluation. Static action costs are the main case in the paper; fully dynamic costs remain limited.

After finding a valid plan, LPG records its quality as a bound. It then modifies the graph and searches for another valid solution whose metric improves the incumbent. Repeated restarts and changed evaluation emphasis yield a sequence of solutions. The user can stop at any time and retain the best one seen.

This explains the distinction between LPG-speed and LPG-quality. They are not unrelated planners. One reports the quick-solution operating point; the other allows up to five CPU minutes in the paper’s comparison to improve plan quality. Intermediate plans trace a speed–quality frontier that a first-versus-last table can hide.

Anytime does not mean quality improves at every search step. Most intermediate graphs are invalid, and even valid plans can be worse than the incumbent. The guarantee is operational: once a solution exists, the system preserves its best known answer while continuing to seek a better one.

An anytime planner produces a descending staircase of incumbent quality Candidate quality fluctuates while the best-so-far line descends at four solution times, showing that a usable plan is retained during continued search. CPU time metric value · lower is better candidate search best valid plan retained
Figure 7 · Improvement is a retained sequence. Candidate search can wander, but the incumbent only changes when a better valid plan appears. “Anytime” describes this usable best-so-far contract.Source scope: primary paper, Sections 3.5–3.6.

Worked example 7 · delivery now, consolidation later

The first valid plan uses two half-empty lorries and finishes in thirty minutes. Continued search finds a one-lorry plan costing less fuel but taking thirty-five minutes. Which is “better” depends on the declared metric weights, not on the planner’s name.

Causal probe 7 · compare only final quality

The comparison discards how quickly a usable plan appeared. In interruption-prone settings, a slightly weaker plan at one second can be more valuable than a superior plan first discovered after minutes. The full improvement curve matters.

08 · evidence from IPC-3

The results support practical range, not universal dominance

The paper evaluates LPG on the third International Planning Competition domains and separates time-to-first-solution from quality under an improvement budget.

The benchmark families include Depots, DriverLog, Rovers, Satellite and ZenoTravel across STRIPS, SimpleTime, Time, Numeric, Complex and HardNumeric variants. LPG used the same default search settings across attempted problems. Median results over five runs reduce: but do not eliminate: the variability of stochastic search.

In post-competition tests, LPG attempted 468 of 508 fully automated problems and solved 94.4 per cent of those attempted. The competition figures had been lower: 428 attempted and an 87 per cent success ratio. The authors attribute much of the improvement to corrected parser behaviour and an extended version, so the two figures must not be silently merged.

The detailed comparison against a constructed “SuperPlanner” takes the best result among the other fully automated planners for each problem. LPG-speed’s aggregate solved rate in the reported comparison was 94.6 per cent, versus 80.3 per cent for the SuperPlanner. In Time variants, LPG solved 95.1 per cent versus 77.4 per cent; it was faster on 81.4 per cent and at least an order of magnitude faster on 25.5 per cent of compared cases.

The pattern is not uniform. FF was faster on average for smaller DriverLog STRIPS cases. In ZenoTravel SimpleTime LPG was roughly an order of magnitude faster in the authors’ account. Numeric Satellite exposed limitations, while temporal and complex variants often favoured LPG. Plan quality also depends on allowing the anytime process to run rather than stopping at its first solution.

“SuperPlanner” is a demanding per-instance envelope, but it is not an executable single system with common overhead. IPC-era CPU times, parsers and benchmark encodings also limit modern generalisation. The evidence strongly establishes that temporal action-graph local search was competitive and often excellent on IPC-3; it does not establish superiority for every planner, domain or hardware generation.

Evidence slice LPG Comparator / context Responsible reading
Post-competition coverage 468 of 508 attempted; 94.4% success among attempted Updated implementation Not identical to the competition submission
Competition-era attempt/success report 428 attempted; 87% success Original run Parser defects affected some failures
Aggregate SuperPlanner comparison 94.6% solved 80.3% solved Envelope comparator, not one deployed planner
Time variants 95.1% solved; faster in 81.4% 77.4% solved Strongest aligned evidence for temporal planning
Improvement budget Up to five CPU minutes for LPG-quality Best reported competitor solutions First, intermediate and final plans answer different questions
Benchmark evidence varies by domain variant Grouped bars show strong relative performance in temporal and complex variants, mixed performance in STRIPS, and a narrower advantage in numeric variants; a band marks interpretive limits. STRIPS SIMPLETIME TIME NUMERIC pattern diagram · not raw scores LPG tendency comparison tendency
Figure 8 · Read the pattern by variant. This qualitative reconstruction prevents aggregate success from concealing weaker regions. The exact paper plots and appendices provide the numerical comparisons.Source scope: primary paper, Section 4 and Appendices B–D. Bars are explanatory, not digitised data.

Worked example 8 · one order of magnitude

If LPG takes 800 milliseconds and the comparison planner takes 11 seconds, the paper classifies LPG as “much faster”. If they take 800 and 1,200 milliseconds, LPG wins the pair but not the order-of-magnitude category. Counts of wins and counts of large wins therefore convey different evidence.

Causal probe 8 · pool every variant

Pooling can turn domain composition into the result. A system strong on temporal cases will look better when more temporal cases are counted. Variant-level results are needed to identify which representation and search features plausibly drove the advantage.

09 · boundaries and failure modes

Local repair earns speed by accepting incompleteness

LPG’s success is inseparable from choices that limit what it guarantees and what the competition version could express.

Stochastic local search is incomplete under finite restart and step limits. Failure to find a plan does not prove unsolvability. Nor does finding a plan prove optimality. The graph representation and evaluation are built to discover good solutions quickly, not certify that no better solution exists.

Delete relaxation and local move scoring can misrank repairs. A supporter may look cheap while creating distant interference; removal may look costly while unlocking a different structure. Adaptive noise reduces entrapment but does not convert heuristic search into exhaustive search.

The competition system did not handle universally quantified effects in Settlers Numeric and did not properly handle the maximise-data metric in Satellite HardNumeric. It used best-first search rather than local search for FreeCell. Those exclusions matter when interpreting broad “domain-independent” language.

Temporal handling was sound but sometimes conservative. Always ordering mutex actions end-to-start can forgo legal overlaps between compatible endpoints. Dynamic action durations were supported through estimated numerical state, whereas dynamic execution costs were not treated with the same generality.

Grounding, mutex precomputation and representation size can become bottlenecks outside the tested scale. The study reports excellent IPC-3 behaviour, not a complexity escape. Modern reproduction should publish preprocessing, grounding and memory costs beside search time.

LPG’s claims sit inside four boundary rings A green centre labelled fast good plans is surrounded by rings for stochastic incompleteness, relaxation error, language limitations and benchmark scope. FAST GOOD PLANS relaxation error finite IPC-3 evidence language and metric limits stochastic incompleteness claim scope
Figure 9 · Strength with a perimeter. The defensible claim is practical effectiveness on the evaluated planning classes. Completeness, optimality and unrestricted PDDL2.1 coverage remain outside it.Source scope: primary paper, Sections 3–5 and experimental caveats.

Worked example 9 · no plan found

After ten restarts LPG has not solved a tightly coupled instance. The result may reflect unsolvability, a misleading relaxation, unlucky stochastic choices or inadequate bounds. Without complete search, “not found” cannot be promoted to “does not exist”.

Causal probe 9 · remove stochastic noise

Repeated greedy choice can revisit the same basin of mutually compensating repairs. Noise sometimes accepts a worse local score to alter structure. Too much noise destroys guidance; the adaptive mechanism manages that tension rather than abolishing it.

10 · executable repair laboratory

Change the objective and watch the preferred repair change

This exact synthetic laboratory implements LPG’s local decision pattern: select one flaw, enumerate repairs, combine search, temporal and execution estimates, then choose the minimum score unless exploration fires.

Temporal action graph repair selector A selected unsupported condition branches to three candidate insert or remove moves. Weighted costs determine the preferred repair.
Chosen repair :
Weight audit :
Candidate scores :
Predicted graph effect :

The numerical estimates are explanatory, not measurements copied from the paper. Each candidate declares SearchCost, TemporalCost and ExecutionCost. The profile supplies weights, and the displayed score is their exact weighted sum.

Unsupported power compares inserting a switch-on action, reusing a slower powered instrument, or removing the photograph. Mutex overlap compares ordering, replacing or removing an interfering action. Insufficient fuel compares refuelling, rerouting or dropping a flight.

All candidates resolve the selected flaw, satisfying the neighbourhood contract. They differ in collateral work. A speed profile weights search most; a quality profile weights execution cost most. The chosen minimum can therefore change without any arithmetic or logical disagreement.

The paper’s stochastic branch is represented conceptually rather than randomly fired, so the demonstration remains deterministic and exactly testable. In LPG a noise event can choose a non-minimum neighbour to diversify search. Here the preferred move is the greedy baseline against which that exploration would be defined.

The three tests verify that every shown score equals the declared weighted sum, the chosen move has the global minimum score with stable lexical tie-breaking, and every candidate advertises resolution of the selected inconsistency. Changing a control reruns all three tests.

Greedy repair and stochastic exploration alternate roles A compass has a solid arrow towards the lowest estimated cost and a dashed arrow towards an exploratory move, with adaptive noise increasing when progress stalls. minimum E explore ADAPTIVE NOISE p rises when progress stalls guidance chooses direction · noise changes the basin
Figure 10 · Exploitation is not the whole policy. The laboratory tests the deterministic evaluation core. LPG surrounds that core with controlled stochasticity and restart limits.Source scope: primary paper, Walkplan and dynamic-noise discussion. Laboratory numbers are synthetic.

Worked example 10 · objective reversal

For insufficient fuel, refuelling may need one support action but consume costly fuel infrastructure; rerouting may need two actions yet use less execution cost. Speed weights select refuel. Quality weights can select reroute. The “best repair” is conditional on the declared objective.

Causal probe 10 · hide the component scores

A single opaque total prevents the reader checking whether a choice changed because of graph consequences or value weights. Exposing all terms makes the policy auditable and shows why two rational settings disagree.

11 · reproduction and extension

Reproduce the planner as a sequence, not a headline

A credible modern study should reconstruct representation, preprocessing, stochastic control and anytime evaluation before changing any of them.

Begin with the public IPC-3 PDDL2.1 tasks and identify exactly which parser and semantic subset is supported. Record grounding counts, persistent mutex computation, LA-graph size, preprocessing time and memory. Preserve original domain variants rather than silently translating temporal or numerical constructs into easier forms.

Implement causal and exclusion constraints separately. Unit-test earliest-time propagation after insertion and removal, including start, overall and end conditions. Verify that graph levels never introduce an unintended precedence. Test conservative mutex ordering and an endpoint-aware refinement on the same plans.

For local search, publish inconsistency-selection rules, candidate neighbourhoods, relaxed-plan contents, component scales, weights, noise updates, restart bounds and random seeds. Run enough seeds to report distributions rather than only medians. Include time to first solution, success probability, quality-over-time area, final metric, actions, makespan and resource use.

Recreate LPG-speed and LPG-quality as operating points on the same improvement trajectory. Compare with individual planners as well as a virtual best envelope. A virtual best system answers “was anyone better?”; a deployable portfolio answers “could one controller obtain those results?”

Extensions can test learned move ranking, large-neighbourhood repairs, incremental temporal networks and modern temporal planners. Keep ablations causal: remove threat accounting, required-action reuse, adaptive noise or temporal cost one at a time. The goal is to learn which component earns which advantage, not merely to produce a faster descendant.

Audit item Minimum record Failure prevented
Semantics PDDL feature matrix and parser tests Unsupported constructs disappear from the benchmark
Temporal graph Ω constraints and node-time traces Levels are mistaken for a schedule
Evaluation Relaxed plan and all three cost components A scalar score becomes unauditable
Stochastic control Seeds, p trace, steps and restarts Lucky runs masquerade as stable performance
Anytime evidence Quality-versus-time curves First and final solutions are conflated
Comparator Per-planner and virtual-best results An oracle envelope is treated as one system

Worked example 11 · ablate threat accounting

Run identical seeds with relaxed-plan threat penalties enabled and disabled. If disabled search takes fewer microseconds per evaluation but many more repair steps in Satellite, the experiment locates a real trade-off instead of attributing every gain to “better heuristics”.

Causal probe 11 · update the hardware only

Absolute runtime falls, but the scientific uncertainty remains. Changes in grounding, parser semantics, competitor versions and timeout scaling can dominate hardware. Reproduction requires behavioural equivalence before speed comparison.

Two comprehensive reviews

What survived formal, empirical and delivery challenge

Review one: scholarly fidelity and teaching. The reconstruction was checked against the 52-page primary article and indexed in-body passages. It preserves the distinction between planning graphs, LA-graphs and TA-graphs; unsupported preconditions as inconsistencies; insertion and removal neighbourhoods; causal and exclusion constraints; temporal-value propagation; three-part evaluation; restricted relaxed plans; numerical state; adaptive noise; and incremental plan improvement.

The main teaching hazard was treating a graph level as time. The page states repeatedly that levels form a topological scaffold while Ω and durations determine the schedule. A second hazard was presenting every intermediate candidate as executable. The repair account makes invalid but explicitly flawed graphs central.

Review two: evidence fairness, language and accessibility. The journal date (2003) is separated from the canon’s 2011 archival deposit. Competition and post-competition attempt/success figures are not conflated. The SuperPlanner is identified as a virtual per-problem envelope. Strong temporal results are shown beside weaker or unsupported regions, and no completeness or optimality guarantee is implied.

The ten figures have unique titles, descriptions and captions. Animation is decorative, pauses under reduced-motion preference and does not carry exclusive meaning. Controls have visible labels, outputs update as text, and the laboratory exposes three exact tests. British spelling is used; source reconstructions are distinguished from synthetic explanatory numbers.

Review verdict

Pass 1: formal reconstruction: passed after separating graph topology from temporal semantics and local preference from global optimality. Pass 2: evidence and delivery: passed after separating competition versions, virtual-best comparison, language limits and synthetic laboratory values.

Memory studio

Twelve cards for durable recall

1 · LA-graph A candidate plan with at most one ordinary action per graph level.
2 · Inconsistency An unsupported precondition or goal that names what needs repair.
3 · Insert Add an action whose effect supports the selected missing fact.
4 · Remove Delete the action that requires the selected unsupported fact.
5 · TA-graph An LA-graph plus temporal values and action orderings.
6 · C-order A producer must precede the action consuming its effect.
7 · E-order Mutually exclusive actions receive a safe temporal order.
8 · E(move) Search, temporal and execution estimates form one weighted score.
9 · Relaxed plan An easier support forecast estimates collateral repair work.
10 · Noise Occasional non-greedy movement helps escape a repair basin.
11 · Anytime Keep the best valid plan while searching for a better one.
12 · Main lesson Make flaws explicit enough that local change can carry global purpose.
Place in the canon

Guidance now acts on an entire provisional plan

Paper 0089 selected a variable-ordering rule from instance features. Paper 0090 selects repairs inside a graph that represents the evolving plan itself.

Both works reject a single fixed control rule. Moreno-Scott and colleagues choose among heuristics by problem region. Gerevini, Saetti and Serina balance search, time and execution costs and inject noise when progress stalls. In each case control depends on a description of the current problem, not only on logical validity.

LPG also reconnects to earlier planning papers in the collection. Planning graphs provide reachability and mutex structure; relaxed planning supplies estimates; temporal constraints turn partial-order relations into earliest times. The distinctive contribution is to make these structures the substrate of stochastic local repair and anytime improvement.

Canon 0091 moves from planning control to logical control with Keith Clark’s “Negation as Failure”. The transition is apt: an automated system’s behaviour depends not only on what follows from explicit facts, but on what it is licensed to do when proof or support is absent.

Interpretive synthesis

A planner becomes intelligible when dissatisfaction has structure

LPG’s most durable idea is not that randomness solves planning. It is that a partial plan can expose actionable reasons for its own inadequacy.

An unsupported precondition is simultaneously a logical failure and a generator of alternatives. Causal links say which past commitments matter. Mutexes say which coexistences are impossible. Temporal values say how local changes propagate into schedule quality. A relaxed plan forecasts what the change is likely to demand next.

This architecture turns evaluation into a conversation among representations. The logical graph does not decide quality. The metric does not decide feasibility. The stochastic controller does not invent repairs. Each contributes a bounded kind of information, and the search step exists where those boundaries meet.

The same pattern appears in agency more broadly: maintain a provisional course, identify a concrete discrepancy, estimate remedies, sometimes explore against the current estimate, and preserve the best achieved outcome. LPG is valuable precisely because this pattern is operational rather than metaphorical. Every part has a data structure, update rule and failure mode.

Worked example 12 · repair as bounded agency

A rover plan lacks a communication window. The system can abandon the transmission, insert a wait, or reorder travel. It does not contemplate every plan from nothing. It exercises agency within a neighbourhood shaped by the named discrepancy and its present commitments.

Causal probe 12 · erase the current graph after every flaw

Search becomes repeated replanning from scratch. Reuse, causal responsibility and incremental temporal updates disappear. LPG’s economy comes from preserving most commitments while changing the part implicated by the flaw.

Publication brief

Primary source, companion scope and verification contract

This companion reconstructs Alfonso Gerevini, Alessandro Saetti and Ivan Serina’s “Planning Through Stochastic Local Search and Temporal Action Graphs in LPG”, published in Journal of Artificial Intelligence Research 20 (2003), pages 239–290, DOI 10.1613/jair.1183, and deposited on arXiv in 2011 as 1106.5265. The canon records the archival year. It covers graph representation, temporal order, Walkplan repair, evaluation, reachability, numerical state, anytime improvement, IPC-3 evidence and explicit limitations. All figures are original.

Verification contract. Five orientation claims, ten accessible animated SVG figures, twelve worked examples, twelve causal probes, twelve memory cards, two reviews and three executable exact tests. British English, responsive layouts, reduced-motion support, source boundaries and a deterministic laboratory are included.

References

Primary and contextual sources

  1. Gerevini, A., Saetti, A., & Serina, I. (2003). “Planning Through Stochastic Local Search and Temporal Action Graphs in LPG.” Journal of Artificial Intelligence Research, 20, 239–290. DOI; archival record.
  2. Fox, M., & Long, D. (2003). “PDDL2.1: An Extension to PDDL for Expressing Temporal Planning Domains.” Journal of Artificial Intelligence Research, 20, 61–124.
  3. Blum, A. L., & Furst, M. L. (1997). “Fast Planning Through Planning Graph Analysis.” Artificial Intelligence, 90, 281–300.
  4. Hoffmann, J., & Nebel, B. (2001). “The FF Planning System: Fast Plan Generation Through Heuristic Search.” Journal of Artificial Intelligence Research, 14, 253–302.
  5. Selman, B., Kautz, H. A., & Cohen, B. (1994). “Noise Strategies for Improving Local Search.” AAAI, 337–343.
  6. Do, M. B., & Kambhampati, S. (2003). “SAPA: A Multi-objective Metric Temporal Planner.” Journal of Artificial Intelligence Research, 20, 155–194.
  7. Long, D., & Fox, M. (2003). “The 3rd International Planning Competition: Results and Analysis.” Journal of Artificial Intelligence Research, 20, 1–59.
  8. Bonet, B., & Geffner, H. (2001). “Planning as Heuristic Search.” Artificial Intelligence, 129, 5–33.
  9. Dechter, R., Meiri, I., & Pearl, J. (1991). “Temporal Constraint Networks.” Artificial Intelligence, 49, 61–95.
  10. Gerevini, A., & Serina, I. (2002). “LPG: A Planner Based on Local Search for Planning Graphs with Action Costs.” AIPS.