ATG Repair

Verifiable Atomic Task Graph Relation Repair and Planning-Level Parallel Planning for Dual-Unit Collaborative Tasks

From candidate relations to auditable parallel task plans.

Local preview · Code and data available below

Parallel actions. Shared resources. Cooperative execution.
Accepted plans drive fixed skills in a dual-Panda MuJoCo simulation.

Eight-second excerpts from four nominal seed-100 recordings. Simulation, not hardware.

Abstract

Dual-unit collaborative planning requires checkable task dependencies and occupancy constraints. Candidate plans provided by large models, rules, or users may conform to a schema yet lack state support, resource ordering, or cooperative pairing, preventing their direct use in parallel scheduling. This study proposes a deterministic framework for atomic task graph relation repair. Typed nodes and relations represent discrete states, capacity-constrained resources, and execution-unit occupancy. The framework sequentially performs state closure, synchronization pairing, resource orientation, and conservative order compression. An accepted plan is returned only after both the joint graph audit and actual schedule checks pass; the edit log supports replay using accepted events. The experiments compare relation restoration, repair outcomes on identical inputs, and simulated execution of accepted plans using fixed skills. On controlled samples, full-label edge F1 increases from 0.9018 to 0.9813, but the full method does not outperform simple repair with shared compression. Public resource-task projections show benefits from resource orientation, whereas public tool tasks show increased formal acceptance alongside reduced reference-edge agreement. In dual-Panda physics simulation, skills execute successfully under nominal conditions but can fail under stress, showing that passing the discrete checks does not guarantee physical execution success. The project page is https://roboplanner.github.io/atg-repair-planning/.

Method Overview

Four ordered repair stages, followed by joint auditing and strict scheduling.

Method overview: candidate normalization, four ordered repair stages, six-check joint audit, and strict scheduling. The cooperative pour task occupies both L and R.

Candidate → repair → audit → schedule. A candidate is accepted only after graph and actual schedule checks. Cooperative mode B occupies L + R; it is not a third execution unit.

  1. 01

    State closure

    Repair represented causal support with precise state labels.

  2. 02

    Sync pairing

    Pair existing support with the same source, target, and state.

  3. 03

    Resource orientation

    Turn shared-resource conflicts into an acyclic directed order.

  4. 04

    Order compression

    Trial-delete only Eorder; re-audit and accept or restore.

Detailed representation, repair, and audit figures
Nine-field atomic node schema, four relation types, and the two-unit occupancy rule.
Figure 2 · Nine node fields, typed relations, and execution-unit occupancy. Click the image for full resolution.
Six graph checksSchema-validClosedGoal-reachableAcyclicSync-completeResource-ordered

Any failed check yields diagnostics and no accepted schedule. Rejection does not prove infeasibility.

Simulation Experiments

Eight constructed task templates, 240 physics simulation runs, and 20 complete recordings.

Compare full and serial schedules, then inspect the effects of mass, friction, position estimates, and skill windows. All 56 failed runs remain in the data.

All eight tasks have nominal full/serial videos. T08 also has all four preselected stress recordings, including failures.

T01 · Parallel sorting

Seed 100, selected before evaluation

Download current MP4 ↓
Nominal window: serial → full24 → 12 s
Full success in selected condition5 / 5
Selected recordingCompleted

Fixed skills, frictional grasps, no object attachments or teleportation. Times are supplied skill windows in simulated seconds. These are constructed simulation tasks, not real-robot recordings; stress tests do not include serial counterparts.

Formal acceptance does not predict physical success. Nominal full/serial: 40/40 each. Full scheduling under mass ×5, low friction, pose bias and half windows: 30/40, 0/40, 35/40 and 39/40. All 240 reconstructed verdicts match online records. The same-input repair comparison ties the full method with simple matching plus shared compression on all 24 accepted inputs.
Nominal skill windows and same-input planning acceptance, including zero values
Figure 10 · Fixed-skill windows and 96 planning settings. No additional heuristic benefit is observed in this constructed batch.
All four stress conditions by task and first failed checks for 56 failures
Figure 11 · Every stress trial is included. Zero completion under low friction is shown explicitly.

Interactive Planning Replays

Explore accepted schedules from the frozen records. Playback follows stored task times and L/R occupancy; time here is symbolic.

Controlled drink preparation

Loading the archived record…

Accepted · independently checked
L unitR unitB occupies L + RFilling bars = elapsed task time

Swipe the diagram horizontally to inspect the complete timeline.

0 / 12.49

Planning Results

Controlled comparisons and independent public-source checks.

Controlled reference agreement

0.9018 → 0.9813

Mean complete-label edge F1

160 records from four fixed topologies with 40 duration variants each. These are not 160 independent task specifications.

Public resource projections

25.72%

Mean paired makespan reduction

Full method versus field matching with shared compression on six two-unit job-shop projections. A finite-instance result.

Independent source checks

41 / 41

Accepted outputs passed

13 public-specification inputs evaluated under four settings. This is a conditional output check, not 100% repair completeness.

A necessary same-input comparison

On the controlled sample, the simple comparator with the same compression slightly outperforms the full method. The sample does not establish extra benefit from the full heuristic.

Edge F1 excludes Eorder. Compression alone cannot change this metric.

160 controlled records · same input and compression
MethodAcceptedEdge F1Speedup
Full method160/1600.98131.2535×
Field matching + compression160/1600.98531.2619×
Public specifications and adaptation coverage

Six of ten AssemblyGrid recipes are fully adaptable to the represented planning model. Four recipes are excluded for unsupported cardinality or XOR semantics. One official inclusive-OR specification test is counted separately. Six OR-Library job-shop instances are projected onto two added generic execution units while retaining machine resources.

The projection is not a replication of the original robot simulation and is not compared with the original job-shop optimum. Candidates are deterministic adaptations of the frozen public specifications.

External tool candidates: acceptance is not semantic agreement

Adaptable archived candidates number 234/497 for CodeLlama-13b and 67/489 for Mistral-7b. From audit-only to the full method, accepted counts rise from 175 to 234 and 44 to 64, respectively; mean reference edge F1 falls from 0.4226 to 0.4040 and from 0.4064 to 0.3023. Tool-dependency data do not supply robot resource or cooperative-occupancy semantics.

Model-generated candidates and finite mechanism checks

The 24 GPT-6 conversation candidates contain 254 nodes. All original candidates pass, and repair produces zero net relation change. Task specifications and candidates come from the same method-aware session; these artifacts are not an independently verifiable provider API benchmark.

In a separate author-constructed three-node family, 736 of 1,728 inputs have independently checked feasible witnesses. The full method accepts 720 of them and rejects 16 feasible inputs. No false acceptance was observed in this finite family; completeness is not established.

Paper Figure 5, controlled reference-agreement and audit results, with the original axis labels and values.
Figure 5 from the manuscript · Controlled reference-agreement and audit results. The fair comparison above uses the additional shared-compression comparator.

Code & Reproducibility

Download the frozen inputs, source code, trajectories, and evaluation records.

One command for the frozen evaluations

Download and extract the planning ZIP. Open its ATG_reproduction_v7_70 folder, then run:

python reproduce_all.py results/new_run

Use a new output directory. Stable results are checked against the archive; machine timings are not expected to match.

The frozen planning suites use the Python standard library. The simulation package has separately pinned MuJoCo, NumPy and rendering dependencies.

Archive checksum and version

ATG_reproduction_v7_70.zip · SHA-256

922881a57e08e3cc1a0f28e283e2837dabfb486d1c612fc282feb4575a8f0f4a

The package preserves the v7.70 experimental snapshot. Manuscript v7.87 cites the public project page and includes the separate expanded MuJoCo study. The v7.70 planning experiments in this archive remain unchanged.

Scope & Limitations

The accepted interface checks represented discrete states, capacity-one resources, and L/R occupancy. It does not establish unmodelled task semantics, collision-free motion, trajectory feasibility, or hardware safety. The repair procedure is heuristic and can reject feasible inputs.

Research manuscript in preparation. This project page does not represent a published paper or a hardware evaluation.