Dream Orchestrator

Dream Orchestra turns Dream-1 skills into machine workflows and measures whether they actually work. You draw the process as a workflow, connect machines and sensors, run it in a simulated cell, and only when a robot needs to learn a new cell do you fine-tune it, with the result measured before anyone trusts it.

REMix × Dream Labs hackathon, team Dream Orchestra. Everything below runs in MuJoCo simulation. As of 16:09.

How it fits together

  1. Skills. A skill is a Dream-1 prompt for one robot type, such as "put the metal block on the machine tray". Skills are reused across workflows.
  2. Workflow. A visual editor chains skills with waits on sensors, conditions, loops and actuator steps, and an error path. A run highlights the active block, logs every API call with duration and credits, and can be stopped any time.
  3. Cell and devices. Sensors and actuators (light barrier, door, conveyor, stack light) are devices with an adapter: virtual today, MQTT and OPC UA prepared. Two simulated cells, a sorting conveyor and a CNC machine, give the workflow a real process to drive.
  4. Measured fine-tune. When the base model is not good enough in a cell, the platform records checked demonstrations, fine-tunes Dream-1 for that robot type, and measures it on the same test scenes before release.
Workflow editor: Start, Greifen (Dream-1 prompt), wait for sensor, condition with loop, error path to a stack light, end
Workflow editor: pick-and-place with a sensor wait, a loop over remaining parts and an error path.
Cell control room: live view of the CNC cell, tasks, controls and sensor states
Cell control room: live simulation, machine controls, sensor states and the pass/fail check of each task.
Devices: sensors and actuators with type, protocol and value
Devices: sensors and actuators with type, protocol and current value.

Part 4 in detail: does a fine-tune make the robot better in a new cell?

Dream-1 on the yam-sim arms in our two cells. 40 identical test scenes per model: 4 tasks × 10 seeds, never seen in training.

How we score. Success = part rests in the target zone, gripper open, stable 0.4 s. First attempt per scene counts. If Dream returns an invalid action (gripper value outside 0..1), that scene is a failure, not a retry. Comparison is paired: the same scene for base and fine-tune, exact McNemar test.

What the robot sees and does

Conveyor cell: round parts go into the green box (right arm), cubes into the blue box (left arm).
Conveyor cell: round parts go into the green box (right arm), cubes into the blue box (left arm).
CNC cell: load a blank onto the machine tray (left arm), take the finished part to the green tray (right arm).
CNC cell: load a blank onto the machine tray (left arm), take the finished part to the green tray (right arm).

Same scene, before and after the fine-tune

Unload CNC, test seed 1, one of the scenes the fine-tune gained. Left: Dream-1 base. Right: after the cell fine-tune. Both get the same instruction and the same starting scene. Play the video, or read the three stills below. In the video, the label above each side is the simulator's verdict.

Base (before)Fine-tune (after)
9 s: both versions have picked up the finished part.
9 s: both versions have picked up the finished part.
14 s: the fine-tune is already over the green tray; the base is still at the machine.
14 s: the fine-tune is already over the green tray; the base is still at the machine.
End: the base dropped the part beside the tray (fail). The fine-tune set it down in the tray, no contact (success).
End: the base dropped the part beside the tray (fail). The fine-tune set it down in the tray, no contact (success).

Success on 40 scenes

Bar = 95 % Wilson interval, tick = measured rate, grey line = base. Wins : losses = scenes the fine-tune solved and the base did not, and the reverse.

ModelSuccessRate, 0–100 %Wins : losses vs base McNemar pRuns with contact

Time to success

Share of the 40 scenes solved by time t (simulated seconds from the model's first answer, limit 45 s). This counts speed and success together on the same scenes. Hover for values.

ModelSuccesses Median time of successesSolved within 20 sWithin 30 s Faster than first base run, where both succeed
How to read it. The base is slower when it succeeds (median 29.6 s vs about 19–25 s for the fine-tunes), and by 30 s the fine-tunes have solved three times as many scenes. A direct per-scene time comparison is thin: base and fine-tune both succeed on only a few of the same scenes (last column), so the medians compare different scenes. The curve is the fair view.

Every scene, side by side

One square per scene, same position in every row, so you can read straight down a column. Hover or tap a square for the outcome.

Why runs fail

The base mostly never grasps the part. The fine-tune grasps far more often. Its new failure is an invalid gripper command (1.05–1.09 instead of 0..1), which the vendor check rejects. It hits sort_cube hardest (hatched squares above), so the fine-tune's sort_cube score understates what it can do.

Per task

What we can and cannot say

Supported

  • On 40 identical simulated scenes, first-attempt success rises from 15 % to 35–43 % after the cell fine-tune. Two independent trainings point the same way (p = 0.057 and 0.013). Quote both, not just the better one.
  • The base is stable in total but not per scene: two runs of the identical base model solve 6 and 7 of 40, yet 11 scenes flip between the runs (6 : 5). Only totals are reliable; single scenes are partly luck.
  • Fine-tunes are faster as well: within 30 s they solve 12–20 of 40 scenes, the base 2–4 (time-to-success curve).
  • The gain shows up in the total, not reliably in any one task: cnc_load goes 3 → 7 and 10 of 10 in the two identical trainings, but only 1 of 10 with lr 3e-5, which instead solves cnc_unload 10 of 10.
  • Our system measures success, contacts, aborts and cost per robot type on identical scenes, and decides whether a fine-tune pays off. Dream itself reports no task success.

Not supported

  • Safety. Runs with arm–cell contact go up (8 → 15–17 of 40). We only check arm–cell contact > 0.5 mm.
  • Transfer to a real robot. Everything here is MuJoCo simulation.
  • That lr 3e-5 (20/40) is better than the main recipe: its gap to the two identical trainings (14 and 17) is not larger than their own gap (3), so by our pre-registered rule it is not shown.
  • Variant A beats variant B, unless the gap is larger than the gap between the two identical trainings (3 of 40).
  • Time and cost comparisons, and drop height / smoothness (observed in video, exploratory).

How it was done

  1. Two cells in simulation. MuJoCo scene with the two YAM arms: a conveyor cell (sort round parts into a green box, cubes into a blue box) and a CNC cell (load a blank onto the machine tray, unload the finished part). Four tasks, each with a fixed instruction text.
  2. A scripted expert. A collision-aware motion planner solves the tasks (39 of 40 test scenes). It produces the demonstrations, so the robot learns this arm in this cell.
  3. Training data. 160 expert episodes (40 per task, scene seeds 4000–4159) recorded on Modal in Dream's LeRobot format: 10 frames per second, 14 joint values (7 per arm), 320×180 camera images.
  4. Quality gates before any money is spent. One script records, replays every episode (160 of 160 must reproduce the result), validates the format, uploads to Dream and waits until processed. Only if every check passes does it start the paid fine-tune.
  5. Fine-tune. Dream-1 beta, 500 steps, cosine schedule, learning rate 1e-5, cell data only. Variants each change one thing: an identical replicate (noise), learning rate 3e-5, 50 % Dream base data mixed in, 1000 steps, 320 demos.
  6. Same test scenes for every model. Seeds 0–9 per task, never used in training. Each scene is rebuilt identically from its seed, and the model gets the training instruction. The action playback rate (20 per second) was chosen once on separate seeds 900–901 and then frozen.
  7. Scoring by the simulator, not by eye. Success = part in the target zone, gripper open, stable for 0.4 s. Contact = arm penetrates the cell by more than 0.5 mm, checked every 50 ms. First attempt counts; an invalid model command is a failure. Only infrastructure errors (e.g. a dropped session) are retried.
  8. Statistics. Paired comparison on identical scenes (exact McNemar test), 95 % Wilson intervals. Strictly one Dream session at a time so runs cannot interfere.
  9. Rules fixed in advance. Protocol, success definition and what we may claim were written down before the results and reviewed by two independent AI reviewers (Codex, Grok). One correction after review: an earlier count retried invalid actions, which flattered the fine-tune. It is replaced by the first-attempt count shown here.

Spending

Fine-tunes: 0.20 $ per training step, not cancellable. Evaluation: Dream's tariff for every model call, including failed attempts and rate calibration. Not included: warm-ups, the forgetting check, and data recording on Modal (cents).

ItemStatusUS$

Development with Claude Code (Opus 5.5)

The scripted expert costs nothing per demonstration, but writing it, the cells, the simulation API and the evaluation took many Claude Opus 5.5 sessions: more than all Dream-1 evaluation calls together, less than the fine-tunes. Shown at API list prices ($4 / $20 per million input / output tokens, $0.20 cache reads), from the local session logs; what was actually billed depends on the plan. Codex and Grok reviews are not included.

PhaseUS$ (list price)
One-time versus per run. A fine-tune is paid once ($100–200) and then belongs to the robot type; each later run costs only Dream's call tariff (here about 3–5 cents per scene). Development is a one-time cost too. The scripted expert is also reusable and costs nothing per run (39 of 40), but it has to be programmed for every new cell and task; Dream-1 needs only demonstrations, which the expert produced here.

How flexible is the fine-tune? Measured: on scene layouts it never saw (test seeds 0–9, training 4000+) it solves 14–20 of 40 instead of 6–7. Not measured yet: transfer to a new but similar task (another part or target); all four test tasks were in training. Outside the cells it got worse: banana 6/20 → 0/20 (forgetting check below).

Still running

Strictly one Dream session at a time. Last start 16:25, done by about 16:30. Times are estimates.

13:55:09  reports updated
13:55:11  yam-cells-c500-rep2 not trained yet: retry at the end
13:55:11  yam-cells-v2-c500 not trained yet: retry at the end
14:49:44  start ft-rep2-main (dream-1-ft:317db52a-yam-cells-c500-rep2, grip_tol 0.05): warm-up
15:24:30  end ft-rep2-main
15:24:36  reports updated
Forgetting check: the cell fine-tune forgot the banana. The fine-tune saw only cell data. On the banana task outside the cells (20 held-out scenes, training prompt, first attempt) the base solves 6/20, both cell fine-tunes 0/20: 6 scenes lost, 0 won (exact McNemar p = 0.031), no error seeds, every failure a timeout, no gripper error. That meets the pre-registered rule for "harms" (≥ 6 : 0). Mixing in 50 % base data (b05) did not prevent it. Consequence for the platform: a fine-tune belongs to its robot and cell, and the orchestrator keeps the base model for every skill outside them.