MICRODUCK GAME: Duck Pyramid Choir
MICRODUCK GAME: Duck Pyramid Choir. Two ducks sit shoulder to shoulder and a third stands right behind and between them, so the three heads make a pyramid. Together they sing Ode to Joy in three parts — melody, harmony, oom-pah bass — swaying in time, then finish with a fanfare and a fit of laughing quacks.
An entry for MicroDuck Got a Talent on the Microduck Arena. Simulation only — see below.
The act
Three ducks, one policy. Two sit shoulder to shoulder at the front of the stage, the alto (ducks[1]) and the
bass (ducks[2]); the third, the top (ducks[0]), stands close behind and between them, so the three heads
make a pyramid — two low, one high — and the top leads a three-part choir:
| time | what happens |
|---|---|
| 0.2–1.2 s | the bases glance at each other and shuffle sideways until they are shoulder to shoulder |
| 0.32–1.32 s | the top walks in behind them (0.3 m/s) |
| 1.6, 1.88, 2.8 s | roll call: bass, alto, then top each nod yes and quack once |
| 2.2–3.18 s | the bases sit down, and stay seated to the end |
| 3.2–17.58 s | Ode to Joy, in G: the top sings the melody (30 notes), the bass an oom-pah on beats 1 and 3 (16 notes, D3–G3); the bases rock their heads from side to side together and nod on beats 1 and 3, while the top nods on every beat and sways the other way |
| 9.92, 10.04 s | the bass, then the alto quack into the breath between the phrases |
| 10.24 s | the alto joins for the second phrase, mostly a third below the melody (14 of its 15 notes) |
| bar 7 | on Himmlische both bases look up and turn their heads in, towards the top duck |
| 18.22–20 s | finale: the top sings a rising arpeggio, G4 B4 D5 G5, the last note held to the end; the bases laugh (12 quacks) |
Each duck has its own voice: the top's quack is the highest (voice pitch 0.62), the bass's the lowest (0.22).
Why not a literal pyramid, one duck standing on the others' heads? On the Arena's stage every duck starts on the floor, at least 0.3 m from the others, and no published microduck policy climbs or balances on another duck. So the pyramid is the one the ducks can hold for the whole performance: their heads.
What runs
-
policy.onnx is one network (input
obs[1, 61], outputactions[1, 14], ONNX opset 18) holding two of Pollen Robotics' published policies from pollen-robotics/microduck-policies at revision665ae4eb:velstand.onnx, the default walking gait, which also stands still at zero command and tilts its trunk on body roll/pitch, andalpha_sitstand.onnx, which sits and stands on a flag with the head steerable. Both run at every step; the command'sbody[5]picks whose actions are used:body[5]≤ 0.5:velstand.onnx, reading the command withbody[5]set to 0;body[5]> 0.5:alpha_sitstand.onnx, readingtwist[0]as its sit flag and the head, withtwist[1:3]andbodyset to 0, as it was trained.
Only those command slots are rewritten on the way in; the robot's own state reaches both networks unchanged, and their weights are the published ones, bit for bit (see Checked locally).
-
timeline.json (version 2) is the performance, original to this entry: three
"self"ducks, 429, 414 and 416 keyframes at 0.04 s, 65 sung notes and 17 quacks (RT). The top stays on the walking network; the bases switch to the sitting network at 1.92 s and stay on it.
Checked locally
On the Arena's own runner (runner version 4, MuJoCo 3.10.0), event got-a-talent
(20 s, seed 1), through the Arena's own cast of a troupe:
| check | result | detail |
|---|---|---|
| the composite against the two published files | 20 weight tensors (1.6 MB) and 18 nodes identical | 5 nodes and 6 small constants added, nothing else |
| the composite against each network, fed the command it was trained on | 2000 random observations, half in each mode | largest difference 0 |
the official run (seed 1), arena score, local | 20.00 s of 20 s played (finish) | run 01M5771Q9YKPRX0VBKDTD0; replayed from the staged files, the same trace bit for bit |
| seeds 2, 3, 4, 5, 6, 7, 8, 9, with the event's own perturbation | 8/8 played to the end | |
the Arena's own reading of each run (arena.stage, as arena score prints it), seeds 1, 2, 3, 4, 5, 6, 7, 8, 9 | no duck falls in 9/9 runs, by the event's fall rule | both bases seated by 3.3 s at the latest, and to the end, in 9/9 runs; the top standing all 20 s |
| every trunk, every frame, same seeds | worst tilt 5° (top), 7° (alto), 8° (bass) | |
| the pyramid, from 4 s to the end, every 0.1 s, same seeds | holds in 1449/1449 samples | top head 0.27–0.28 m high, the bases' 0.21–0.23 m; the top's head at least 33 mm above both |
| how close, same samples: the shortest distance between two ducks' bodies, 0 touching | the official run: the bases 0–2 mm (median 2) apart, the top 0–14 mm (median 6) from the nearer base | all seeds: the bases 0–45 mm (median 21), the top 0–17 mm (median 7) |
The Arena plays this on its own machine; the numbers above are local runs of its published code, not its verdict.
Simulation only
Made for the Arena's simulator. policy.onnx is a valid walk-slot file, and with body[5] at 0 it is Pollen's
walking gait, but it has not been run on a physical robot and the daemon does not play timeline.json. On a real
microduck, use Pollen's own velstand.onnx and alpha_sitstand.onnx.
Credits and licence
policy.onnxcontainsvelstand.onnxandalpha_sitstand.onnx, © Pollen Robotics, released under the Apache License 2.0 in pollen-robotics/microduck-policies. They are joined into one graph here, with the changes listed inNOTICE; their weights are unchanged.- The nods and beak timings of the yes, excited and laugh emotions are adapted from Pollen Robotics'
microduck_emotions (
431c73df, Apache License 2.0): their keyframes resampled, scaled and retimed into the timeline. No code or audio of it is included. - Ode to Joy is Ludwig van Beethoven's (Symphony No. 9, 1824), in the public domain; the alto and bass parts are arranged for this entry.
- The timeline, the composition of the network, the manifest and this card are original work by
@jrubiosainz, also released under the Apache License 2.0 (
LICENSE). - The manifest and this card's header were generated with Pollen's own publish code from microduck_rl, used unchanged.
- This is an independent community entry, not affiliated with Pollen Robotics.