MEKAWIRE
ExpertarXiv

Panini- Feasible Grammar For Robot Designs

Mayukh Debnath, Manan Roy Choudhury
From the abstract

Symbolic methods make robot designs interpretable but often overlook continuous geometry; learned methods handle geometry but offer less transparent structure. We introduce a typed production grammar that uses case-role relations, parameter inheritance, and specificity-based rule arbitration to generate both manipulation skills and robot morphologies.

From the abstract. Our summary is in progress.

Full paper

Panini- Feasible Grammar For Robot Designs

Mayukh Debnath, Manan Roy Choudhury

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.23567 (PDF).

Abstract

Symbolic approaches to robot design provide interpretable rules but often overlook continuous geometry, while learned approaches handle geometry but offer limited explanations of their decisions. We introduce a typed production grammar that connects the two through a shared representation of robot skills and morphologies. Its rules use Fillmore-style case roles, parameter inheritance, and specificity-based arbitration, while a geometric realization map translates rule composition into transformations in SE(3). This allows a single grammar to describe both manipulation skills and robot bodies. We show that the grammar is substantially more compact than an untyped alternative and that its rule arbitration can be recovered from learned geometric containment, achieving 0.905\pm 0.062 decision agreement across 10 seeds, compared with 0.611\pm 0.090 for a Euclidean control. We also characterize how inheritance affects the compositional properties of the geometric realization map by measuring its homomorphism defect. For morphology optimization, we introduce PĀṇini (Production-rule And role-typed compositioN for Intelligent, Novel robot desIgn), a cross-entropy search method operating directly on the grammar’s typed genome. Across 30 methods and 24 seeds, PĀṇini achieves the best mean rank, but is statistically indistinguishable from strong generic optimizers, including IPOP-CMA-ES, CEM, PSO, and TuRBO. Evaluating final designs with reinforcement-learning-trained controllers leads to a similar conclusion: the grammar-based search does not consistently outperform generic optimization. Further search mechanisms designed to exploit grammar structure also fail to establish a general advantage. A curriculum over grammar depth is a promising exception, becoming significantly better than six of seven strong baselines at 48 seeds, although this result requires caution because multiple variants were explored. The grammar’s main advantage is therefore not superior optimization performance, but structured and feasible design generation. Every generated candidate satisfies the grammar’s structural constraints, whereas unstructured methods achieve legality rates of only 0–82%. Coordinated limb placement maintains 95% joint feasibility in a highly constrained design space, compared with 55% for range-constrained resampling and no feasible designs from 6,000 flat-parameter samples. The grammar also supports designs with different limb counts, which the compared alternatives do not reach. We further examine the limits of these guarantees: structural legality does not ensure locomotion, and geometric feasibility does not reliably predict simulator failure. Together, these results establish typed production grammars as a compact, interpretable, and constraint-aware framework for robot skill and morphology generation, while showing that their structural advantages do not automatically translate into better black-box optimization. Codes for every experiment in this paper are available at https://github.com/mdebnath22/panini.

Keywords Robot Design \cdot Typed Production Grammars \cdot Morphology Generation \cdot Robot Skill Synthesis \cdot Geometric Reasoning \cdot Case-Role Representation \cdot Grammar-Based Optimization \cdot Feasibility-Constrained Search \cdot Black-Box Optimization \cdot Reinforcement Learning

1 Introduction

Black-box optimizers are routinely applied to structured design spaces such as robot bodies, where each candidate must be both good and legal. Unconstrained continuous or graph-based parameterizations can express a wide range of bodies, but whether a body is valid must be checked after it is generated rather than guaranteed by construction. This also affects recent LLM-based low-level design editors (Qiu et al., 2025; Song et al., 2025; Qiu and Cygan, 2025). The alternative is to represent a body as a structured object governed by a discrete, checkable grammar (Sims, 1994), echoing the older trade-off in planning between explainable symbolic operators (Fikes and Nilsson, 1971) and reactive loops that gain robustness by dropping explicit structure (Brooks, 1991). This raises a question that is rarely separated empirically: when a black-box optimizer searches a structured space, does the structure help it find better designs, or only restrict which designs it can propose?

Existing grammar-based approaches address parts of this. RoboGrammar (Zhao et al., 2020) and GLSO (Hu et al., 2022) use graph grammars to constrain robot morphology, but their rules lack checkable geometric semantics and are typed only by graph adjacency. Region and order embeddings show that asymmetric relations such as entailment or default-versus-override can be represented geometrically as containment (Vilnis and McCallum, 2015; Vendrov et al., 2015; Ren et al., 2020; Ganea et al., 2018), but to our knowledge this has not been tested as a way to resolve competing rules inside a grammar.

We build a typed production grammar that combines semantic roles, parameter inheritance, and specificity-based rule arbitration. For manipulation, rules carry Fillmore-style case roles (Fillmore, 1968) (Agent, Patient, Instrument, Location, Source, Goal); for robot morphology, a separate structural role set (Root, Limb, Segment, Joint, Terminal). A geometric realization map turns every valid derivation into a sequence of rigid-body transformations in SE(3). Rather than assuming that this map preserves the algebraic structure of rule composition, we measure its composition error over sampled rule pairs and longer chains. We then evaluate the grammar as a search space for morphology optimization, asking two separate questions: does it make search find better bodies, and does it make the bodies it proposes structurally valid? The answers differ, and we report both as measured.

What we find.
  • Structure guarantees feasibility. Every candidate the grammar produces is legal by construction, against 0–82\% for unstructured edits. In a very-low-feasibility space, coordinated limb placement keeps 95\% of edits jointly feasible, range-constrained resampling keeps 55\%, and flat parameterization finds no feasible design in 6{,}000 draws. Only the grammar reaches designs that require a different limb count.
  • Structure does not improve fitness over strong generic optimizers. A grammar-guided cross-entropy search has the best mean rank among 30 methods at n=24 seeds but is statistically indistinguishable from IPOP-CMA-ES, CEM, PSO, and TuRBO (Nemenyi p=1.00). Re-scoring each method’s final designs with RL-trained controllers does not favor the grammar either (Friedman p=0.71 in a clean six-method re-run).
  • Mechanisms that give the grammar a role in the search dynamics mostly do not help. None separates from the strongest generic optimizers, and transfer to held-out limb counts is significantly worse. The exception is a curriculum over grammar depth, which is marginally better at n=24 and better than six of seven strong baselines at n=48, although not every comparison survives correction for the number of variants tried.
  • The grammar’s internal semantics are measurable. The realization map is a monoid homomorphism up to a defect that we measure when inheritance is active, rule arbitration is recoverable as learned geometric containment (0.905\pm 0.062 decision agreement over 10 seeds, versus 0.611\pm 0.090 for a Euclidean control), and the grammar is far more compact than an untyped alternative.

We read the consistent null on fitness as evidence that well-tuned generic optimizers are hard to beat on this landscape however the grammar enters the search. Both guarantees have limits that we also measure: a legal body is not thereby a locomoting one, and the geometric feasibility gate is a design-specification filter that does not predict simulator failure.

Contributions.
  • A typed production grammar that unifies semantic and structural case roles, parameter inheritance, specificity-based arbitration, and a geometric realization map into SE(3), covering manipulation skills and robot morphology under one formalism.
  • Structure does not improve fitness over strong generic optimizers. PĀṇini, a grammar-guided cross-entropy search, has the best mean rank among 30 methods at n=24 seeds but is statistically indistinguishable from IPOP-CMA-ES, CEM, PSO, and TuRBO (Nemenyi p=1.00).
  • PĀṇini, benchmarked against 29 alternatives in a controlled comparison that separates what structure buys (feasibility by construction) from what it does not (fitness, or RL-scored quality, over strong generic optimizers).

2 Method

2.1 A Concrete Example and Notation

A robot with gripper g must move block b into bin k on table t by approaching, grasping, lifting, transporting, and placing it. An approach height declared in the first step must be available to every later step that needs it, without being restated (inheritance). If the block has an attached tool, a more specific approach rule should take precedence over the generic rule without removing it (specificity-based arbitration). Table 1 defines the notation used throughout.

Table 1: Notation used throughout the paper.
  • \mathcal{R}
    Meaning
    case-role set \{Agent, Patient, Instrument, Location, Source, Goal\}
  • F
    Meaning
    case frame: partial map \mathcal{R}\to Entities
  • r
    Meaning
    production rule (condition, transformation, parameters)
  • s(r)
    Meaning
    specificity index of rule r
  • T
    Meaning
    derivation: ordered sequence of applied rules
  • \Phi(T)
    Meaning
    SE(3) transform (or kinematic tree) realizing derivation T
  • d_{geo}
    Meaning
    left-invariant geodesic distance on SE(3)
  • n_{\ell}, k
    Meaning
    number of legs (limbs) and segments per leg of a robot body
  • n
    Meaning
    sample size of a statistical comparison (random seeds or trials), never a leg count
  • n_{\text{inst}}
    Meaning
    number of randomly sampled concrete instantiations tested per abstract rule-pair or chain type (role bindings, parameters, scenes), never a seed count

2.2 Case-Role Schema

Six case roles, following Fillmore (1968): Agent, Patient, Instrument, Location, Source, Goal. A case frame assigns roles to scene entities, each carrying a pose in SE(3). Robot body design (Section 2.5) reuses this mechanism with a separate set of roles for body parts: Root, Limb, Segment, Joint, and Terminal. The role sets are disjoint because they apply to categorically different kinds of entities.

2.3 Production Rules, Inheritance, and Arbitration

A production rule r is (\text{cond},\text{req},\text{params},\text{emit},\text{consume},\text{block},s): a boolean condition, required case roles, default parameters, STRIPS-style markers for legality gating, and a specificity index s(r)\in\mathbb{N}.

Inheritance. A parameter in r’s inheritance-export set is written into the shared derivation state. It stays available to every later rule, unrestated, until overridden. Inheritance is the only channel for cross-rule information flow. That is also why it is the only possible source of departure from strict compositionality in the geometric realization map \Phi (Section 4).

Specificity arbitration. When several rules match, the most specific one fires; if more than one rule ties for most specific, the one declared first wins. A losing rule is not deleted. It remains available wherever no more specific rule applies. This default-versus-override relation is what Section 4 tests as geometric containment.

Algorithm 1 (Appendix B) specifies the derivation procedure exactly. Given a plan – an ordered sequence of intended operations with role bindings – it resolves, for each step, which rule fires and with which parameters: the most specific match wins, ties are broken by declaration order, and an inherited value overrides the matched rule’s own default unless the step supplies an explicit override, which wins over both. The result is the full derivation that \Phi subsequently realizes geometrically.

2.4 The Geometric Realization Map \Phi

\Phi sends each applied rule to a screw motion – a twist \xi\in\mathfrak{se}(3) executed as \exp(s\hat{\xi}), s\in[0,1] – and a derivation to the composition of its rules’ twists:

\Phi(r_{1}\circ\cdots\circ r_{n})=\exp(\hat{\xi}_{1})\cdots\exp(\hat{\xi}_{n}).
(1)

For manipulation, each rule’s twist follows in closed form from its role bindings. For robot bodies, the same mechanism places each part’s frame relative to its parent, yielding a kinematic tree directly (Section 2.5). We claim \Phi is a monoid homomorphism, and Section 4 tests this claim rather than assuming it, since inheritance can make a rule’s realized twist depend on more than that rule alone.

To state this precisely: let \mathcal{D} be the free monoid of applied-rule sequences under concatenation (\circ), and let \Phi:\mathcal{D}\to SE(3) be given by Equation 1. \Phi is a monoid homomorphism on a pair (r_{1},r_{2}) – \Phi(r_{1}\circ r_{2})=\Phi(r_{1})\cdot\Phi(r_{2}) exactly, in SE(3)’s own group operation – exactly when r_{2}’s resolved parameters \theta_{2} (the inheritance step in Algorithm 1) do not depend on any value r_{1} exported through inheritance; we call such a pair inheritance-inactive. When r_{2} instead imports a parameter from r_{1}’s export set, its twist \xi_{2} becomes a function of r_{1}’s resolved parameters, and the composition identity must be checked rather than assumed, not assumed to hold. We do not prove a bound on this gap holding for every derivation the grammar can produce; Section 4 instead reports its measured value on every inheritance-active and inheritance-inactive pair and chain sampled, an empirical characterization rather than a general theorem.

Measuring the gap. Every element T\in SE(3) decomposes uniquely as T=(R,p), a rotation R\in SO(3) and a translation p\in\mathbb{R}^{3}. Composition quality between any two transforms T_{1}=(R_{1},p_{1}) and T_{2}=(R_{2},p_{2}) is measured with the standard left-invariant geodesic distance on SE(3), which separates rotational from translational discrepancy:

d_{geo}(T_{1},T_{2})=\sqrt{\lVert\log_{SO(3)}(R_{1}^{\top}R_{2})\rVert^{2}+w\,\lVert p_{2}-p_{1}\rVert^{2}},
(2)

with w{=}1 throughout. Since this mixes radians and meters into one scalar, Section 4 also reports the two components separately.

Homomorphism consistency is then this same distance applied to one specific pair of transforms: the realization of a composed derivation, against the composition of its parts’ separate realizations,

\delta(r_{1},r_{2})=d_{geo}\big(\underbrace{\Phi(r_{1}{\circ}r_{2})}_{T_{1}},\ \underbrace{\Phi(r_{1}){\cdot}\Phi(r_{2})}_{T_{2}}\big),
(3)

with r_{2}’s inheritance severed on the right-hand side (so T_{2} is computed as if r_{2} never saw r_{1}’s exports), and extended to full chains of length k=2,\ldots,6 by severing inheritance at every step. \delta=0 recovers exact homomorphism for that pair or chain; \delta>0 is the defect Section 4 measures.

2.5 Extension to Robot Morphology

An identical grammar generates robot bodies, using the disjoint role set of Section 2.2 and a seven-rule catalogue: AddRoot, AddLimb (with a specificity-2 override variant), Articulate, Extend (inheriting the current segment template), Terminate, and Symmetrize. Each AddLimb application mounts one limb on the torso. Applied n_{\ell} times in a row (once per leg, where n_{\ell} is the genome’s leg count, §2.7), with the i-th application placing its mount angle at 2\pi i/n_{\ell} around the torso’s circumference (a deterministic function of the application index and n_{\ell}, up to the genome’s bounded mount-angle jitter), it produces an n_{\ell}-legged body with uniform angular spacing by construction, not by a post-hoc check that rejects unevenly spaced bodies. Segment geometry is declared once and inherited by every later Extend within a limb, so an n_{\ell}-legged, k-segment body uses the same rules regardless of n_{\ell} and k (Section 4). The full catalogue is in Appendix A.

2.6 Geometric Feasibility Layer

Before a derived body is compiled and simulated, five geometric constraints are checked against a task specification: workspace reach, ground clearance, mass budget, support-polygon area, and minimum inter-terminal separation. A body failing any constraint is rejected before simulation. Section 4 tests what this buys and what it does not.

2.7 Searching the Grammar’s Genome

A morphology genome has five fields: leg count n_{\ell}\in[2,8], segments per leg k\in[1,3], segment length and radius, and mount-angle jitter. Every genome is derived through the grammar, realized by \Phi, and gated (§2.6) before simulation. Two grammar-based searchers operate on it. Grammar-guided evolution (GGE) is a (\mu+\lambda) loop that mutates one parent at a time. PĀṇini replaces this with cross-entropy resampling (Rubinstein, 1999). Each generation fits a diagonal Gaussian to the top 30% of a population of 10, carries the two best genomes forward unchanged, and rounds the discrete fields when the genome is built; the last 10% of the budget is a trust-region refinement around the incumbent. The standard deviation of k is floored at 0.6. Without this floor the elite refit collapsed onto k=2 in all 24 seeds; with it, the number of distinct (n_{\ell},k) combinations reached rises from 3 to 6, and mean fitness changes from 0.403 to 0.411. This default configuration is not an arbitrary setting: a sweep over population size, elite fraction, elitism, and refinement fraction left every variant within 0.011 mean fitness of the default (paired p=0.57–0.96, n=24, budget 60).

Because every baseline in §3.2 also searches this genome through the same derivation pipeline, the grammar defines the search space for all methods. PĀṇini differs from them only in optimizer mechanics. Section 5 tests variants in which the grammar also takes part in the search dynamics.

A schematic of the full pipeline – grammar, realization map \Phi, feasibility gate, physics, and search closing the loop back onto the grammar’s parameters – is given as Figure 1.

Figure 1: A derivation is realized by \Phi, gated for feasibility before any physics call, evaluated in simulation, and the resulting fitness drives mutation of the grammar’s own parameters.

3 Experimental Setup

3.1 Rule Catalogues, Task Specifications, and the Simulated Body

The manipulation grammar (8 rules: Approach in two specificity variants, Grasp, Lift, Transport, Place, RotateTool, Retract) and the morphology grammar (7 rules, §2.5) were built independently. Both are given in full in Appendix A. The morphology task spec used throughout is forward locomotion. Fitness is center-of-mass displacement under a fixed sinusoidal control signal over a fixed horizon: a controller-agnostic proxy (Sims, 1994), chosen so that morphology search is not confounded with control-policy search. Every compiled body’s torso is attached to the world by a six-degree-of-freedom free joint, genuinely free to translate and rotate under gravity, with per-joint damping, armature, and an implicit integrator for numerical stability under contact; on 100 freshly sampled 8-limb bodies this produces 0 numerical blowups and 0 degenerate (zero-actuator) bodies, with displacement over a 2-second horizon ranging -0.34 to +0.88 m (mean 0.13 m), a physically plausible range for a body of this scale. The feasibility specification (§2.6) is calibrated so that \approx 7\% of fresh random genomes pass the geometric check (6.8\% of 500, for the gate ablation of §4) – a design-specification pass rate, not a simulator-failure rate (§4). Whether the proxy predicts RL-trained performance is tested in Appendix D: on a catalogue rebuilt after a limb-mounting geometry fix, the rank correlation is positive but borderline (Spearman \rho=0.355, p=0.050, n=31), so the proxy is at best a weak predictor. Figure 2 illustrates the construction contrast directly: panel (a) shows an independently-sampled mount-angle configuration that fails our coupled-feasibility spec while the grammar-guided design from the same base genome passes it; panel (b) shows PĀṇini’s best design from the 24-seed budget sweep.

Figure 2: Feasibility by construction (a) and the best found design (b).

3.2 Search Baselines

PĀṇini and GGE (§2.7) are compared against 28 alternatives under one accounting rule: one fitness query is one unit of budget, whatever the method’s population size or update schedule. Twenty are classical, self-adaptive, or quality-diversity black-box optimizers: random search, PSO (Kennedy and Eberhart, 1995), simplified and IPOP (Hansen, 2016) CMA-ES, separable NES (Wierstra et al., 2014), hill-climbing, CEM (Rubinstein, 1999), Bayesian optimization (Snoek et al., 2012), DE/rand/1/bin (Storn and Price, 1997), SHADE (Tanabe and Fukunaga, 2013), augmented random search (Mania et al., 2018), MAP-Elites (Mouret and Clune, 2015), novelty search (Lehman and Stanley, 2011), simulated annealing, Nelder-Mead, (1{+}1)-ES, SPSA (Spall, 1992), coordinate descent, LHS with greedy refinement (McKay et al., 1979), and TuRBO (Eriksson et al., 2019). Seven more are budget-matched reimplementations of recent morphology-design search mechanisms (§4), plus one intermediate grammar-based variant (GGE-v2). Section 5’s targeted experiments use a fixed reference cluster of seven non-grammar methods: the five ranking directly below PĀṇini at budget 60 (IPOP-CMA-ES, CEM, PSO, coarse-to-fine, TuRBO), LHS+refinement, and the simplified CMA-ES, the cluster’s weak tail.

3.3 Validity Baselines

Grammar-guided mutation (edit one genome parameter, re-derive) is compared against 14 alternatives spanning three families. Direct representation edits at varying severity: an adversarial mixture (15% collapse-to-zero, 15% sign flip, 15% five-to-fifty-fold blow-up, 55% moderate rescale), mild-only and extreme-only variants of it, structure-blind uniform resampling, deletion/duplication of a compiled geometry element, naive subtree-swap crossover, a raw byte-level bit-flip, and the mixture compounded at 5 and 10 mutations instead of 3. Structure-blind but range-aware resampling: per-attribute-type plausible-range resampling (e.g. radii constrained positive) with no cross-field awareness, naive numeric-average crossover, and pure re-initialization through the grammar (a sanity floor, since it reflects the grammar’s own guarantee). A trained-but-unconstrained latent perturbation: a minimal linear autoencoder (PCA) fit to grammar-generated valid designs, perturbed in latent space and decoded – a simplified stand-in for the GLSO-style contrast between learned-space and construction-guaranteed validity. Validity requires the compiled model to load in MuJoCo (Todorov et al., 2012) and step forward without non-finite state.

3.4 Metrics and Statistical Protocol

Homomorphism consistency is measured with the defect \delta of Equation 3 (§2.4), on sampled rule pairs and on chains of length k=2,\ldots,6. Compactness is measured as rule count under three conditions – fully flat, typed without inheritance, and the full grammar – across a grid of 2–10 legs and 1–4 segments per leg. Specificity-as-containment is measured as agreement between a learned region embedding’s smallest-containing-box decision and the symbolic arbitration decision, on held-out states. For every multi-method search comparison we report per-method mean and standard deviation across seeds, then a Friedman test followed, where the omnibus test is significant, by a Nemenyi post-hoc test (Demšar, 2006); with 30 simultaneous methods, uncorrected pairwise tests would produce spurious significance. We treat n=24 seeds as the decisive sample size throughout. The one result that needed more power was rerun at n=48, and both sample sizes are reported. Paired t-tests with 95% confidence intervals appear only as uncorrected, secondary evidence and are labelled as such. For the validity comparison, we report raw pass rate out of 100 trials per condition. All results use one pinned simulator version; Appendix C.8 reports how sensitive the search statistics are to that choice.

4 Results

We test whether the grammar composes geometry consistently, reduces rule counts, generalizes to unseen compositions, supports learned rule selection, improves morphology search, and preserves structural validity. We distinguish these structural benefits from improvements in task performance.

Compositional consistency of \Phi. Does realizing a derivation match composing its separately realized parts (Eq. 3)? We tested both independently built catalogues with n_{\text{inst}}=50–60 instances per pair and chains of length two through six. These are instance counts, not seed counts (Table 1); the results describe sampled derivations, not a general proof.

Composition is exact without active inheritance, with small defects when inheritance is active. The defect \delta was zero for every sampled inheritance-inactive pair and 0.037–0.038 for adjacent inheritance-active pairs. Across full chains, it ranged from 0.000 to 0.081. Rather than growing steadily with length, it tracked whether the chain ended with Extend, which reads inherited segment length, or Articulate, which does not. For Articulate-then-Extend, the defect was entirely translational: 0.0^{\circ} rotation and 3.75\pm 2.08 cm translation, consistent with Extend adding a segment by translation. Translating the Patient’s pose also translated the realized motion by the same group element, with zero deviation in every sampled case.

Exact composition holds when the second rule does not use the first rule’s inheritance exports. Whenever r_{2} uses no parameter exported through inheritance by r_{1}, \Phi(r_{1}{\circ}r_{2})=\Phi(r_{1}){\cdot}\Phi(r_{2}). Under this condition, r_{2} receives identical parameters whether evaluated jointly or independently.

Grammar compactness. Typing reduces rule counts, and inheritance provides a further reduction. Typing reduces counts by 2.1–4.1\times, and inheritance adds another 1.3–2.0\times reduction (Figure 8, Appendix I). For 4-leg\times2-seg, 6-leg\times3-seg, and 8-leg\times3-seg bodies, flat counts of 17/37/49 become 8/10/12 with typing and 6/6/6 with inheritance. The manipulation grammar represents 30 variants with 5 rules rather than 80 (16\times).

The compactness advantage grows with body size. Flat counts grow linearly, while the full typed grammar remains at six rules, reaching a 13.5\times advantage for the largest tested body. At the smallest, with 2 legs and 1 segment, the ratio is 0.83\times: fixed grammar overhead slightly exceeds the flat representation. The combinatorial bound (\text{max legs}-1)\times\text{max segments} gives 21 for legs in [2,8] and segments in [1,3], matching enumeration.

Inheritance executes across all limbs, not just the first. A structure-aware trace shows that all limbs in 100/100 mutated bodies used the genome’s radius and length when these overrode rule defaults (Appendix C.1). Without inheritance, no complete body did (0/100), and only 8 of 415 non-first limbs matched by chance. This test is separate from structural validity: MuJoCo can accept a body even when its parameters differ from those intended.

Compositional generalization. We trained a transformer \Phi_{\theta} on 600 derivations per domain using a joint-embedding predictive objective (LeCun, 2022; Assran et al., 2023). Held-out tests use unseen primitive orderings for manipulation and 7–8 legs with 3 segments for morphology, beyond training’s 3–6 legs and 1–2 segments.

Rule identity generalizes perfectly, but geometry prediction does not. Rule identity is recovered perfectly on both splits in both domains (Table 2), while morphology geometry error increases substantially on held-out bodies. Manipulation error instead falls, but this reflects template composition, not better generalization: training includes a difficult rotation operation with a randomly sampled axis that the held-out split lacks. The diagnostic rules out template length as the explanation (Appendix C.2).

Table 2: Compositional generalization in both domains.
  • Manip.
    Split
    In-dist.
    Error
    0.044 (twist MSE)
    Rule-ID accuracy
    100%
  • Manip.
    Split
    Held-out
    Error
    0.012 (twist MSE)
    Rule-ID accuracy
    100%
  • Morph.
    Split
    In-dist.
    Error
    0.0002 (placement MSE)
    Rule-ID accuracy
    100%
  • Morph.
    Split
    Held-out
    Error
    0.043 (placement MSE)
    Rule-ID accuracy
    100%

A physically simulated manipulation benchmark. The preceding manipulation tests are symbolic. We therefore tested physical execution in a minimal pick-and-place benchmark against a location-blind planner and an object-aware planner given the same ground-truth positions but without staged hover/grasp/lift ordering (Appendix H).

The grammar succeeds physically, but does not outperform object-aware planning. It beats the blind planner (100\% versus 0\% grasp success) but ties the object-aware planner (100\% each on every task), which is slightly better on raw reach distance. This establishes successful physical execution, not an advantage for staging over competent object-aware planning. It remains a proof of concept rather than an evaluation as extensive as the morphology tests below.

Specificity as learned geometric containment. Can learned geometry reproduce symbolic specificity-based arbitration (Section 2.3)? We evaluated containment and winner agreement across 10 training seeds and 300–400 held-out states (Appendix I).

Learned containment is exact, including on held-out transitive pairs. The untrained control has agreement 0.000. Trained containment is 1.000 in the single-pair-per-grammar setting, across four width-floor settings, and on held-out transitive pairs, at every seed.

Winner selection is less exact, but containment and ordering outperform proximity. Box containment achieves 0.905\pm 0.062 agreement (range 0.812–1.000), compared with 0.938\pm 0.038 for order embeddings (Vendrov et al., 2015) and 0.611\pm 0.090 for nearest prototypes (range 0.448–0.719). Containment also holds across four regularization settings on four-level chains in two rule families designed to separate specificity from feature overlap.

Noise changes rule selection without breaking legality. Perturbing specificity indices causes no legality violations in 800 derivations: required-role and marker gating enforce legality independently. Winner changes rise through 0, 2.5, 8.0, and 12.0\% across noise levels. Independent feature-bit flips yield agreement of 0.812, 0.812, 0.719, 0.562, 0.438, and 0.344 as flip probability rises from 0 to 0.3, showing gradual degradation rather than sudden collapse (Figure 9).

Task-directed morphology search. PĀṇini has the best numerical results, but no resolved lead over strong generic optimizers. Across 30 methods, 24 seeds, and 60 evaluations, it has the best mean rank (9.33) and fitness (0.411\pm 0.088; Table 3). The overall test detects differences (\chi^{2}=134.15, p=1.8\times 10^{-15}), yet Nemenyi separates PĀṇini only from the five weakest methods.

Uncorrected paired comparisons agree. The advantage over IPOP-CMA-ES is +0.013 (p=0.64); advantages over CEM, PSO, coarse-to-fine, and TuRBO are +0.021–+0.050, with every confidence interval including zero (p=0.20–0.38). The comparisons clear the earlier non-inferiority margin but do not establish equivalence: lower bounds exceed -0.05, while upper bounds do not fall below +0.05.

The numerical lead also carries a selection caveat. PĀṇini borrows mechanisms from its competitors, and its configuration was selected after earlier task comparisons (Section 2.7). GGE ranks 9th (0.349\pm 0.130), separates only from the two weakest methods, and trails PĀṇini by 0.062 (p=0.065). Full results use the corrected body geometry and appear in Appendix C.3.

Table 3: Search comparison: 30 methods, budget 60, and 24 seeds, sorted by mean rank. Nemenyi p-values compare each method with PĀṇini. Full results: Table 8.
  • PĀṇini
    Mean \pm std.
    0.411\pm 0.088
    Mean rank (of 30)
    9.33
    Nemenyi p
    —
  • IPOP-CMA-ES (Hansen, 2016)
    Mean \pm std.
    0.397\pm 0.086
    Mean rank (of 30)
    10.04
    Nemenyi p
    1.000
  • Cross-entropy method (Rubinstein, 1999)
    Mean \pm std.
    0.390\pm 0.104
    Mean rank (of 30)
    10.88
    Nemenyi p
    1.000
  • PSO (Kennedy and Eberhart, 1995)
    Mean \pm std.
    0.374\pm 0.138
    Mean rank (of 30)
    11.19
    Nemenyi p
    1.000
  • Coarse-to-fine (RoboMoRe analogue)
    Mean \pm std.
    0.383\pm 0.095
    Mean rank (of 30)
    12.04
    Nemenyi p
    1.000
  • TuRBO (Eriksson et al., 2019)
    Mean \pm std.
    0.361\pm 0.144
    Mean rank (of 30)
    12.17
    Nemenyi p
    1.000
  • (GGE-v2 and augmented random search: ranks 12.58–13.25, p=1.000)
  • Grammar-guided evolution (GGE)
    Mean \pm std.
    0.349\pm 0.130
    Mean rank (of 30)
    13.33
    Nemenyi p
    1.000
  • (16 further methods: ranks 13.56–18.48, all p\geq 0.08)
  • (Simplified CMA-ES, coordinate descent, fine-tuned controller:
  • ranks 18.98–20.58, p\leq 0.043)
  • Archive criterion-rotation (Debate2Create)
    Mean \pm std.
    0.202\pm 0.123
    Mean rank (of 30)
    23.58
    Nemenyi p
    <10^{-4}
  • Nelder-Mead
    Mean \pm std.
    -0.054\pm 0.315
    Mean rank (of 30)
    26.46
    Nemenyi p
    <10^{-4}

Budget-matched analogues of recent methods. These comparisons match search mechanisms and budgets, not published end-to-end results. Five recent methods train an RL policy per candidate, using roughly four orders of magnitude more compute than our proxy (Qiu et al., 2025; Song et al., 2025; Fang et al., 2025; Qiu and Cygan, 2025; Strgar and Kriegman, 2026). We therefore compare their search mechanisms under our genome, fitness, and budget. RoboGrammar’s Graph Heuristic Search (Zhao et al., 2020) and GLSO’s latent-space BO (Hu et al., 2022) are included similarly.

Coarse-to-fine is the strongest recent-method analogue and ties PĀṇini. The RoboMoRe analogue achieves 0.383\pm 0.095. Graph Heuristic Search, diversity-archive ES, and an LLM-conditioned proposer trail before correction (p=0.014–0.033), but not afterward (p\geq 0.77). Latent-space BO is behind before correction (p<10^{-3}) and borderline afterward (p=0.08). Controller fine-tuning and archive criterion-rotation are significantly behind (p\leq 0.004).

Budget dependence and CMA-ES implementation. Larger budgets do not resolve the tie with strong optimizers. At budgets 60, 120, and 200 (n=24), PĀṇini retains the best mean rank and fitness (Friedman p<0.001), but separates only from the two weakest references, never from GGE, PSO, or IPOP-CMA-ES (Nemenyi p\geq 0.85; Figure 3).

Standard IPOP-CMA-ES is the appropriate CMA-ES baseline. It beats simplified CMA-ES on 19/24 seeds (p=1.2\times 10^{-4}). We consequently retain the simplified implementation only as a weak reference.

Re-scoring final designs with RL-trained controllers. Because proxy fitness weakly predicts trained performance, we re-scored final bodies using MLP controllers trained by antithetic evolution strategies in MuJoCo MJX under the same reward (Appendix D).

RL training substantially changes rankings, but the earlier leading result comes from one repeated design. An earlier collection contains 672 bodies from 28 methods and 24 seeds, predating PĀṇini and GGE-v2 (Table 4). RL rankings differ significantly (\chi^{2}=73.37, p=3.7\times 10^{-6}). Coordinate descent leads, but returns the same body on all 24 seeds, whereas every other method returns at least 23 distinct bodies. Its fitness spread therefore reflects controller-training noise, not varied design discovery. Across methods, proxy and RL ranks are weakly related (\rho=0.17, p=0.39; Figure 6).

The PĀṇini-specific RL evaluation confirms competitiveness, not superiority. This separate evaluation covers 144 bodies from six methods and 24 seeds. All converge, and rankings do not differ significantly (\chi^{2}=2.95, p=0.71). PĀṇini ranks 2nd (3.29; 1.476\pm 0.697), behind PSO (3.12; 1.384\pm 0.517) and ahead of GGE (3.33), CEM (3.62), IPOP-CMA-ES (3.75), and simplified CMA-ES (3.88; Table 13, Figure 7).

Table 4: Earlier RL re-scoring: 672 bodies from 28 methods and 24 seeds, collected before PĀṇini. Proxy ranks come from our re-run because the original output field contains NaN values. Nemenyi p-values compare with GGE. The separate PĀṇini evaluation appears in Table 13.
  • Coordinate descent (1 distinct design)
    RL mean rank
    5.17
    RL fitness
    2.690\pm 0.355
    Proxy mean rank
    19.88
    Nemenyi p
    0.0004
  • IPOP-CMA-ES
    RL mean rank
    10.08
    RL fitness
    2.256\pm 0.517
    Proxy mean rank
    11.46
    Nemenyi p
    0.505
  • Novelty search
    RL mean rank
    11.08
    RL fitness
    2.121\pm 0.638
    Proxy mean rank
    10.96
    Nemenyi p
    0.825
  • Random search
    RL mean rank
    12.62
    RL fitness
    2.036\pm 0.629
    Proxy mean rank
    17.94
    Nemenyi p
    0.996
  • (19 further methods: RL ranks 12.75–16.29, all p\geq 0.997)
  • Grammar-guided evolution (GGE)
    RL mean rank
    16.75
    RL fitness
    1.642\pm 0.924
    Proxy mean rank
    16.92
    Nemenyi p
    —
  • (3 further methods: RL ranks 16.92–18.08, all p=1.000)
  • Nelder-Mead
    RL mean rank
    20.08
    RL fitness
    1.379\pm 0.607
    Proxy mean rank
    20.54
    Nemenyi p
    1.000

Feasibility gate versus task optimality. The gate reduces physics evaluations needed to reach feasibility, but does not improve best fitness. Blind sampling needs 11.8\pm 10.6 genome draws to find a feasible body under the calibrated specification (24 seeds). The gate screens rejections before simulation, requiring one physics evaluation by construction.

Under 40 physics evaluations with free rejections, best fitness is 0.334\pm 0.230 with the gate versus 0.339\pm 0.115 without it (p=0.91; Table 5). The gate wins 15/24 seeds; its larger variance mainly comes from one seed with no positive-fitness body. An earlier significant gate disadvantage does not reproduce after the geometry fix and is withdrawn.

Table 5: Gate ablation: 40 physics evaluations, 24 seeds, and corrected geometry. Paired t-tests compare with no gate. Per-seed results: Appendix M.
  • No gate
    Best fitness
    0.339\pm 0.115
    Wins vs. no gate
    —
    p
    —
  • Geometric gate
    Best fitness
    0.334\pm 0.230
    Wins vs. no gate
    15/24
    p
    0.91
  • Geometric + gait pre-check
    Best fitness
    0.269\pm 0.242
    Wins vs. no gate
    9/24
    p
    0.20

The evaluation saving grows as feasible designs become rarer. Ungated sampling cost rises from 1.8 draws at p=0.46 to 124 at p=0.0035, while gated physics cost stays at one. Adding a gait pre-check does not help (p=0.055 versus the geometric gate). GGE reaches feasible genomes more often than blind sampling, significantly at three of four levels; the hardest remains unresolved (7.8\% versus 0.6\%, p=0.19, n=8; Appendix C.4–C.5).

What the gate predicts. The gate enforces design requirements, not simulator stability. Among 200 random bodies under each of two specifications, the five geometric checks rejected 27 and 180, yet all 400 loaded and stepped successfully with actuators and finite state. Its savings therefore concern reaching a chosen design target, not avoiding simulator crashes (Table 9).

Validity versus 14 alternative strategies. Grammar-guided mutation preserves structural validity, but three alternatives also reach 100\%. Across 400 trials per condition, re-initialization uses the grammar itself, mild rescaling barely changes the body, and range-constrained resampling edits an already coordinated parent. Other alternatives degrade substantially, with three reaching 0\% (Table 27, Appendix L).

Higher validity does not necessarily produce higher task fitness. Careful hand-coded duplication and deletion achieve only 324/400 and 243/400 valid bodies. However, exploratory raw-XML editing is less valid (58.8\% versus 100\%) but directionally ahead in best fitness (0.769 versus 0.351, p=0.23, n=8; Appendix C.7).

Legality does not guarantee locomotion. The grammar’s structural-validity advantage does not extend to locomotion against constrained resampling. Under a \geq 2 cm displacement criterion, grammar mutation and range-constrained resampling tie: 370/400 versus 377/400 passes (Fisher p=0.39). Mild rescaling and re-initialization also tie, while disruptive alternatives fall as low as 0/400 (Appendix C.6).

Thus, a well-formed body is not necessarily capable of locomotion. Joint cross-limb feasibility is a separate question.

Coupled, cross-limb feasibility. The grammar spaces limbs evenly around the torso, allowing mutation jitter of \pm 0.3 radians. Independent per-field ranges cannot enforce this joint relationship. We isolate its effect by keeping all other properties fixed and sampling mount angles independently, then measuring support-polygon area on the compiled model.

Coordinated placement outperforms independent mount angles at every tested threshold. Pass rates are 23.5\% versus 12.3\%, 12.0\% versus 5.3\%, and 6.0\% versus 2.5\% (p<10^{-4}, 0.001, and 0.023; Table 21). Range-constrained resampling ties at the easier levels and leads at the hardest (10.3\% versus 6.0\%, uncorrected p=0.038), but starts from grammar-coordinated parents. The cause of its hardest-level advantage remains unresolved.

Grammar formalism or coordinated layout? Coordination drives the advantage; the grammar formalism is not uniquely required. A hand-coded generator with the same layout and geometry, but no rule objects, roles, or arbitration, ties the grammar at every level: 87 versus 94 passes, 38 versus 48, and 32 versus 24 out of 400 (p=0.61, 0.30, 0.33). Randomizing its mount angles reduces passes to 42, 18, and 13 (p<10^{-4}, 0.009, 0.006).

The grammar’s contribution is expressing that coordination as reusable rules across catalogues and domains, rather than as a one-off generator.

Construction in a very-low-feasibility space. To remove the benefit of coordinated parents, we compare construction from scratch. Flat designs expose 8n_{\ell} independent limb parameters; grammar designs use the same four continuous parameters as elsewhere. Joint requirements cover support area, stability, angular gaps, tip separation, and mass. One scalar tightens the thresholds, calibrated to pooled pass rates across samplers.

Grammar construction finds feasible bodies where flat sampling and budget-limited flat CMA-ES find none. With eight limbs, flat sampling finds no feasible body in 6000 draws at any level, while grammar construction passes 13.1\%–1.0\%. At 200 evaluations and 20 seeds, flat CMA-ES finds a feasible body in 0/20 seeds despite a continuous constraint-violation score. Grammar-CMA-ES succeeds in 20/20, with 27–31\% feasible evaluations. Ten-limb tests show the same pattern (Table 17, Appendix J).

This advantage is over generic flat parameterization, not hand-coded coordination. It also does not imply failure of flat CMA-ES at arbitrarily larger budgets.

Stricter joint constraints separate mutation methods that previously tied. Repeating the 15-condition protocol on feasible parents, the grammar preserves feasibility in 285/300 trials versus 166/300 for range-constrained resampling at the 8\% level; at 0.3\%, the counts are 169 versus 129 (Fisher p\leq 1.4\times 10^{-3}).

The grammar also produces more genuinely new feasible bodies and can change topology. Near-matching alternatives mostly leave the parent unchanged: mild rescaling moves a leg tip in 15\% of trials by 0.4 mm, versus 82\% and 15.3 mm for the grammar. Counting only genuinely new feasible bodies, the grammar leads every single-parent operator, reaching 77\% versus at most 18\% at the 8\% level. Range edits and clipping cannot change topology and succeed in 0/20 search seeds; grammar search can add limbs and succeeds in 20/20, with median 10 evaluations.

Four further checks. Additional tests use eight limbs and all four difficulty levels (Table 20, Appendix K).

Repeated mutations favor the grammar over clipping. One mutation nearly ties, but after ten, feasibility is 86.7\% for the grammar versus 30.0\% for clipping at the easiest level (Fisher p<0.01 throughout). In material-minimization search, the grammar beats the best of five flat variants on 20/20 seeds at every level (Wilcoxon p=1.9\times 10^{-6}).

The advantage persists with a larger grammar genome. Per-field boxes around feasible designs remain 19–35\% feasible in the five-parameter representation but at most 0.5\% in flat 64-dimensional space, and 0\% after rotation. A 12-parameter grammar genome still lets CMA-ES succeed in 6–20 of 20 seeds, versus 0/20 for flat CMA-ES.

Hand-coded editors match only when they implement the layout rule. Inserting a limb into the largest gap alone never succeeds.

The gate alone does not explain the advantage. Flat generation finds no feasible body in 6000 draws, with or without the gate.

5 Searching for a Grammar-Native Search Advantage

Can grammar structure improve search dynamics, rather than only define the shared genome? We tested heterogeneous per-limb spaces, fitness noise, subtree crossover, quality-diversity selection, motif reuse, complexity tempering, production repair, transfer, and low-budget regimes using the same harness and budget accounting (Appendix F).

Most grammar-native search variants do not outperform strong generic optimizers; two perform worse. Except for the curriculum below, none establishes an advantage. In the larger heterogeneous space, PĀṇini falls to 3rd of 4 methods (n=10), contrary to expectations that grammar benefits grow with design-space size (Zhao et al., 2020; Hu et al., 2022). A prior transferred from 2–5 to 6–8 legs also loses to cold-start IPOP-CMA-ES and PSO (Nemenyi p=0.012, 0.038). Compositional structure can therefore hinder search.

The One Positive Result: A Curriculum over Grammar Depth.

The curriculum initially restricts leg and segment counts, n_{\ell} and k, to 35% of their ranges, then expands their upper bounds linearly over the budget (Bengio et al., 2009). Initially, this permits at most 4 legs and mostly single-segment limbs. All other PĀṇini components remain unchanged. The schedule was selected from an unreplicated n=10 screen, where all tested schedules exceeded plain PĀṇini (0.460–0.471 versus 0.396).

Table 6: Curriculum versus plain PĀṇini and seven references. The curriculum ranks first in all four runs. Nemenyi p-values compare with curriculum and are not corrected across variants. The n=48 runs include the original 24 seeds plus 24 new seeds.
  • No data
    n=24
    b=60
    b=120
    n=48
    b=60
    b=120
  • Curriculum / plain PĀṇini fitness
    n=24
    0.459/0.411
    0.508/0.455
    n=48
    0.449/0.388
    0.490/0.429
  • Friedman p
    n=24
    1.1\times 10^{-4}
    4.5\times 10^{-5}
    n=48
    2.7\times 10^{-5}
    4.5\times 10^{-6}
  • vs. IPOP-CMA-ES
    n=24
    0.486
    0.134
    n=48
    0.027
    0.051
  • vs. PSO
    n=24
    0.486
    0.579
    n=48
    0.004
    0.046
  • vs. Cross-entropy method
    n=24
    0.346
    0.194
    n=48
    0.358
    0.034
  • vs. Coarse-to-fine
    n=24
    0.285
    0.134
    n=48
    0.0009
    0.016
  • vs. TuRBO
    n=24
    0.205
    0.057
    n=48
    0.017
    0.0004
  • vs. LHS + refinement
    n=24
    0.023
    0.004
    n=48
    0.034
    0.001
  • vs. CMA-ES (simplified)
    n=24
    <10^{-4}
    <10^{-4}
    n=48
    <10^{-4}
    <10^{-4}
  • vs. plain PĀṇini
    n=24
    0.579
    0.815
    n=48
    0.262
    0.175

The curriculum leads numerically at both budgets, with stronger evidence at the larger sample size. At n=24, it leads by about 0.05 over plain PĀṇini, but separates only from the two weakest references. At n=48, it is nominally ahead of six of seven references at budget 60 and five at budget 120; IPOP-CMA-ES is borderline at the latter (p=0.051).

The improvement is modest and sensitive to statistical correction. Direct paired comparisons with plain PĀṇini show gains of +0.060 (p=0.003) and +0.061 (p=0.001), but Nemenyi comparisons remain non-significant. Three caveats apply: correction across the tested variants leaves only simplified CMA-ES significant at both budgets; the larger sample includes the original seeds rather than independently replicating them; and early preference for small bodies is confounded with gradual expansion.

The grammar’s clearest contributions are structural, not a general optimization advantage. Strong generic optimizers remain difficult to beat on this genome. The curriculum offers a modest, correction-sensitive improvement; the strongest findings remain compact representation, coordinated construction, and preservation of joint constraints.

6 Conclusion

A typed case-role production grammar with inheritance and specificity-based arbitration admits a checkable geometric semantics: rule composition matches SE(3) composition wherever inheritance is inactive, with a small, measured defect elsewhere. The grammar is compact, and its conflict resolution is recoverable as geometric containment, robust to regularization, embedding geometry, and perception noise.

As a search space the grammar is shared by every optimizer we tested, and over it PĀṇini is tied with the strongest generic methods – best mean rank of 30, but statistically indistinguishable from IPOP-CMA-ES, CEM, PSO, and TuRBO – a tie that RL re-scoring of 672 final designs does not change. Further attempts to give the grammar a role in the search dynamics produced ties, one significant loss, and one small, marginal positive effect (the depth curriculum). We take this consistency as the result: on this task, well-tuned generic optimizers are hard to beat however the grammar participates in search.

The grammar’s contribution is instead structural. It is legal by construction where 14 alternatives are not, and its coordinated limb placement keeps edits jointly feasible where range-constrained resampling does not; in a very-low-feasibility space, flat parameterization finds no feasible design in 6,000 draws, while only the grammar reaches designs with a different limb count. These advantages hold over flat parameterizations, not over a hand-written generator encoding the same coordination, and have measured limits: legality does not imply locomotion, and the geometric gate encodes a design specification rather than predicting simulator failure.

References

  1. [1] K. Qiu, W. Pałucki, K. Ciebiera, P. Fijałkowski, M. Cygan, and Ł. Kuciński (2025) RoboMorph: evolving robot morphology using large language models. In ICLR 2025 Workshop on Foundation Models in the Wild (FM-Wild),
  2. [2] J. Song, Y. Yang, H. Xiao, W. Peng, W. Yao, and F. Wang (2025) LASeR: towards diversified and generalizable robot design with large language models. In The Thirteenth International Conference on Learning Representations (ICLR),
  3. [3] K. Qiu and M. Cygan (2025) Debate2Create: robot co-design via multi-agent LLM debate. arXiv preprint arXiv:2510.25850.
  4. [4] K. Sims (1994) Evolving virtual creatures. In Proceedings of the 21st Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH), pp. 15–22.
  5. [5] R. E. Fikes and N. J. Nilsson (1971) STRIPS: a new approach to the application of theorem proving to problem solving. Artificial Intelligence 2 (3–4), pp. 189–208.
  6. [6] R. A. Brooks (1991) Intelligence without representation. Artificial Intelligence 47 (1–3), pp. 139–159.
  7. [7] A. Zhao, J. Xu, M. Konaković-Luković, J. Hughes, A. Spielberg, D. Rus, and W. Matusik (2020) RoboGrammar: graph grammar for terrain-optimized robot design. ACM Transactions on Graphics 39 (6), pp. 188:1–188:16.
  8. [8] J. Hu, J. Whitman, and H. Choset (2022) GLSO: grammar-guided latent space optimization for sample-efficient robot design automation. In Proceedings of the 6th Conference on Robot Learning (CoRL), Vol. 205, pp. 1321–1331.
  9. [9] L. Vilnis and A. McCallum (2015) Word representations via gaussian embedding. International Conference on Learning Representations (ICLR).
  10. [10] I. Vendrov, R. Kiros, S. Fidler, and R. Urtasun (2015) Order-embeddings of images and language. International Conference on Learning Representations (ICLR).
  11. [11] H. Ren, W. Hu, and J. Leskovec (2020) Query2Box: reasoning over knowledge graphs in vector space using box embeddings. In International Conference on Learning Representations (ICLR),
  12. [12] O. Ganea, G. Becigneul, and T. Hofmann (2018) Hyperbolic entailment cones for learning hierarchical embeddings. In International Conference on Machine Learning (ICML),
  13. [13] C. J. Fillmore (1968) The case for case. Universals in Linguistic Theory, pp. 1–88.
  14. [14] R. Y. Rubinstein (1999) The cross-entropy method for combinatorial and continuous optimization. Methodology and Computing in Applied Probability 1 (2), pp. 127–190.
  15. [15] J. Kennedy and R. Eberhart (1995) Particle swarm optimization. In Proceedings of ICNN’95 – International Conference on Neural Networks, Vol. 4, pp. 1942–1948.
  16. [16] N. Hansen (2016) The CMA evolution strategy: a tutorial. arXiv preprint arXiv:1604.00772.
  17. [17] D. Wierstra, T. Schaul, T. Glasmachers, Y. Sun, J. Peters, and J. Schmidhuber (2014) Natural evolution strategies. Journal of Machine Learning Research 15 (27), pp. 949–980.
  18. [18] J. Snoek, H. Larochelle, and R. P. Adams (2012) Practical bayesian optimization of machine learning algorithms. Advances in Neural Information Processing Systems (NeurIPS) 25.
  19. [19] R. Storn and K. Price (1997) Differential evolution – a simple and efficient heuristic for global optimization over continuous spaces. Journal of Global Optimization 11 (4), pp. 341–359.
  20. [20] R. Tanabe and A. Fukunaga (2013) Success-history based parameter adaptation for differential evolution. In IEEE Congress on Evolutionary Computation (CEC), pp. 71–78.
  21. [21] H. Mania, A. Guy, and B. Recht (2018) Simple random search of static linear policies is competitive for reinforcement learning. Advances in Neural Information Processing Systems (NeurIPS) 31.
  22. [22] J. Mouret and J. Clune (2015) Illuminating search spaces by mapping elites. arXiv preprint arXiv:1504.04909.
  23. [23] J. Lehman and K. O. Stanley (2011) Abandoning objectives: evolution search by a novelty metric alone. In Evolutionary Computation, Vol. 19, pp. 189–223.
  24. [24] J. C. Spall (1992) Multivariate stochastic approximation using a simultaneous perturbation gradient approximation. IEEE Transactions on Automatic Control 37 (3), pp. 332–341.
  25. [25] M. D. McKay, R. J. Beckman, and W. J. Conover (1979) A comparison of three methods for selecting values of input variables in the analysis of output from a computer code. Technometrics 21 (2), pp. 239–245.
  26. [26] D. Eriksson, M. Pearce, J. Gardner, R. D. Turner, and M. Poloczek (2019) Scalable global optimization via local Bayesian optimization. In Advances in Neural Information Processing Systems (NeurIPS), Vol. 32.
  27. [27] E. Todorov, T. Erez, and Y. Tassa (2012) MuJoCo: a physics engine for model-based control. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 5026–5033.
  28. [28] J. Demšar (2006) Statistical comparisons of classifiers over multiple data sets. Journal of Machine Learning Research 7, pp. 1–30.
  29. [29] Y. LeCun (2022) A path towards autonomous machine intelligence. OpenReview Preprint.
  30. [30] M. Assran, Q. Duval, I. Misra, P. Bojanowski, P. Vincent, M. Rabbat, Y. LeCun, and N. Ballas (2023) Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR),
  31. [31] J. Fang, Y. Sun, C. Ma, Q. Lu, and L. Yao (2025) RoboMoRe: llm-based robot co-design via joint optimization of morphology and reward. arXiv preprint arXiv:2506.00276.
  32. [32] L. Strgar and S. Kriegman (2026) Accelerated co-design of robots through morphological pretraining. In International Conference on Learning Representations (ICLR),
  33. [33] Y. Bengio, J. Louradour, R. Collobert, and J. Weston (2009) Curriculum learning. In Proceedings of the 26th International Conference on Machine Learning (ICML), pp. 41–48.

Appendix A Full Production Rule Catalogues

A.1 Manipulation Grammar (Eight Rules)

  • Approach (generic). Requires Agent, Patient. Emits aligned. Parameters: approach height (default 0.10 m). Specificity 1. Exports approach height.
  • Approach (tool variant). Requires Agent, Patient, Instrument. Emits aligned. Parameters: approach height (default 0.08 m). Specificity 2 (overrides the generic variant whenever an Instrument is bound). Exports approach height.
  • Grasp. Requires Agent, Patient. Consumes aligned. Emits holding. Parameters: grip force (default 5 N). Specificity 1. Imports approach height.
  • Lift. Requires Agent, Patient. Consumes holding. Parameters: lift height (default 0.15 m). Specificity 1.
  • Transport. Requires Agent, Patient, Goal. Consumes holding. Parameters: transport speed (default 0.2 m/s). Specificity 1.
  • Place. Requires Agent, Patient, Location. Consumes holding. Emits placed. Parameters: release height (default 0.02 m). Specificity 1.
  • RotateTool. Requires Agent, Instrument. Consumes holding. Parameters: rotation angle (default 90^{\circ}). Specificity 1.
  • Retract. Requires Agent, Source. Consumes placed or holding. Parameters: retract distance (default 0.20 m). Specificity 1.

A.2 Morphology Grammar (Seven Rules)

  • AddRoot. Requires Root. Emits has_root. Parameters: torso length/width/height (0.30/0.15/0.10 m), torso mass (3.0 kg). Specificity 1.
  • AddLimb (generic). Requires Root, Limb. Consumes has_root. Emits has_limb. Parameters: mount angle, segment length (0.12 m default), segment radius (0.02 m default). Specificity 1. Exports segment length, radius.
  • AddLimb (extended-reach). Requires Root, Limb. Consumes has_root, needs_reach. Emits has_limb. Parameters: mount angle, segment length (0.18 m), segment radius (0.018 m). Specificity 2. Exports segment length, radius.
  • Articulate. Requires Limb, Joint. Consumes has_limb or prior articulated. Emits articulated. Parameters: joint range (\pm 90^{\circ} default), joint type (revolute). Specificity 1.
  • Extend. Requires Limb, Segment. Consumes articulated. Emits extended. Specificity 1. Imports segment length, radius.
  • Terminate. Requires Limb, Terminal. Consumes extended or has_limb. Emits terminated. Parameters: foot radius (0.015 m), foot mass (0.05 kg). Specificity 1.
  • Symmetrize. Requires Limb. Consumes terminated. Optional. Parameters: mirror axis (sagittal plane default). Specificity 1.

Appendix B Implementation Notes

This appendix documents implementation decisions and validation checks that materially affect the numbers reported in the main text.

Algorithm 1 gives the derivation procedure Section 2 describes in prose, exactly.

Algorithm 1 Grammar Derivation

The floating-base torso and integrator stability. Every compiled body’s torso – the one part meant to move freely under gravity – is attached to the world by an explicit six-degree-of-freedom free joint. Forward center-of-mass displacement therefore reflects genuine translation of the whole body, rather than the angle of an actuated hip hinge measured against a kinematically fixed base. Allowing the torso to fall and swing under real dynamics makes roughly half of sampled bodies numerically unstable under a naive explicit integrator, since actuated hinge joints are otherwise asked to support a body actually falling under gravity with no damping or armature. We stabilize this with per-joint damping (0.3) and armature (0.01), a smaller timestep (0.002 s), and an implicit integrator: standard stabilizers for actuated hinges under contact, verified not to change which designs the geometric feasibility checks accept. On a smoke test of 100 freshly sampled 8-limb bodies, this configuration shows 0 numerical blowups and 0 degenerate (zero-actuator) bodies, with displacement over a 2-second horizon ranging -0.34 to +0.88 m (mean 0.13 m) – a physically plausible range for a body of this scale. One residual imperfection remains and is disclosed rather than papered over. With the torso genuinely falling and limbs genuinely swinging under gravity, a folded limb settles into geometric interpenetration with the torso at the contact point. This is measured directly over n=200 sampled bodies at median 1.42 cm, 95th percentile 3.42 cm, and worst-observed 5.50 cm, without causing a numerical blowup in any of the 200 bodies: the default soft-contact solver is tolerating real penetration rather than fully resolving it. This distinction matters for how “valid” should be read throughout this paper. Syntactic validity (a well-formed derivation), geometric validity (passing the feasibility checks on the forward-kinematic tree, before any physics step), and physical validity (behaving acceptably once simulated, including bounded self-contact penetration) are three different properties, and every validity number in Sections 4–4 is of the first two kinds only.

Four further checks address this directly. First, does a stricter contact solver change the picture? Re-running the same 200 bodies with a tightened contact solver and more solver iterations drops median penetration to 0.25 cm, but raises the 95th percentile to 4.66 cm and the worst case to 7.84 cm, with 0 of 200 bodies failing to load or step under the tighter tolerances. Second, does this change the fitness numbers the rest of the paper reports? Re-evaluating the same genomes’ same compiled geometry under the stricter settings gives mean fitness +0.0313\pm 0.1183 against +0.0244\pm 0.0380 under the default settings used throughout: a similar point estimate with visibly higher variance, not a directional bias. The main search and validity results are therefore not an artifact of under-resolved contact. Third, can an explicit penetration threshold with a repair stage bring this under control at generation time, rather than only being measured post hoc? At a 2.0 cm threshold, a bounded repair loop (shrink limb/torso radius by 15\% per attempt, up to 5 attempts, re-deriving through the normal grammar path each time) accepts 88/100 bodies as drawn, repairs a further 7/100 (mean 2.3 attempts), and rejects 5/100 as unfixable. This is a concrete, measured alternative to tolerating unbounded penetration, offered as a deployment option rather than wired into the main search loop by default, since doing so would change the generator itself for every other reported number. Fourth: does wiring that repair/rejection stage into GGE’s search loop change its result? Under the corrected geometry, re-running GGE (budget 60, n=8 seeds) with every candidate checked against the 2.0 cm threshold before evaluation, repaired or rejected as above, accepts 396/480 genomes as drawn, repairs 7, and rejects 77 (16.0\%). Best fitness falls from 0.353\pm 0.104 without the stage to 0.249\pm 0.116 with it on the same seeds (paired p=0.10). An earlier version of this check reported no change against a pre-fix reference; that comparison is superseded. The stage is therefore a real trade-off between bounded penetration and fitness, and it stays disabled for every other number in this paper.

Actuator gain and fitness validity. The actuator gain is calibrated so that center-of-mass displacement under the fixed sinusoidal controller varies with leg count, together with an implausible-displacement guard; a gain too weak to drive real locomotion would give identical displacement across different leg counts, which is physically impossible for a genuine gait, so this check is run on every change to the controller or genome space.

Budget accounting in the gate ablation. The gate ablation (Section 4) counts only completed physics evaluations against the shared budget, not every genome attempted; counting free gate rejections against the same budget would throttle gate-active search to a far smaller attempt count than gate-inactive search and confound the comparison.

Severity of the adversarial mutation baseline. The adversarial mixture in Section 3.3 combines collapse-to-zero, sign-flip, and five-to-fifty-fold blow-up perturbations rather than mild rescaling alone, so that this baseline is not a low bar that produces a misleadingly high validity rate.

Decoupling feature count from specificity. The specificity hierarchy in Section 4 is built across two independent rule families so that a general rule carries a feature its override does not share, decoupling feature overlap from true specificity; a hierarchy where every override is a literal feature superset of its general counterpart would let a Euclidean-nearest-neighbor control with no notion of containment score perfectly by coincidence.

Noise model for the perception-noise test. The perception-noise sweep (Section 4) models noise as a discrete bit-flip on the actual binary features used to compute the candidate set, since the arbitration decision does not depend on continuous state once that candidate set is fixed – a continuous perturbation of state alone would not exercise the decision at all.

Budget enforcement in IPOP-CMA-ES. The external CMA-ES implementation’s population-based stopping criterion is checked only between generations, which can overshoot a fixed evaluation budget (up to 49 evaluations for a budget of 40 in this genome space); an effective cap below the nominal budget, verified across four budget sizes, keeps every method’s accounting comparable.

Unit normalization in SPSA and Nelder-Mead. Both methods operate on a normalized [0,1]^{5} representation of the genome, converting to real units only at evaluation time, verified against a synthetic objective with a known optimum. This matters because the genome’s real-unit dimensions span a factor of 150 between the largest and smallest range; operating directly in real units, or mishandling SPSA’s internal scale factor, can inflate a method’s effective step size by up to 36\times in one dimension relative to the others.

Structure-aware inheritance check. The per-limb inheritance check in Appendix C.1 compares each limb’s first-segment radius and length in the compiled body with the genome’s, limb by limb, rather than counting matching elements anywhere in the body (which coincidental matches can satisfy) or checking whether the value appears anywhere as a substring – a substring check passes unconditionally from the first limb’s explicit override alone and cannot detect whether any other limb actually reflects it.

Per-evaluation feasibility measurement. The shrinking-feasible-region search comparison (Appendix C.5) measures validity directly at every evaluation call, rather than reading it off a method’s running best-fitness-so-far trace, which reads as feasible at every entry once any feasible genome has been found, regardless of whether a given draw was itself feasible, and so inflates whichever method happens to find a feasible point earliest. Measuring per-evaluation feasibility directly removes this confound and is the methodology behind every number in Appendix C.5.

Appendix C Extended Results and Diagnostics

This appendix gives the full account, tables, and figures for results summarized briefly in Section 4.

C.1 Inheritance Ablation: Does It Actually Reach Every Limb?

The compactness result (Section 4) is a rule-counting argument: inheritance reduces the number of distinct (operation, parameter-tuple) rules needed when every limb shares the same segment geometry. It does not, by itself, establish that inheritance is executing as described – that every limb’s compiled geometry reflects the genome’s current segment radius, not only the first limb’s. We test this with two checks: an ablation (every rule’s inheritance-export set forced empty) measured against mutation validity, and a structure-aware trace checking, limb by limb, whether each limb’s first segment in the compiled body carries the genome’s segment radius and length (to the compiler’s 3-decimal precision).

Validity is unaffected by the ablation, as a mechanism-level argument predicts (100/100 valid with inheritance active, 100/100 disabled, n=100): MuJoCo’s load-and-step check has no way to know whether a geometry’s intended parameter was honored, only whether the resulting body is physically well-formed, which typing/legality gating (not inheritance) is responsible for.

The second check depends on which value takes precedence when a rule’s own declared default and an inherited value share the same key. We give an inherited value precedence over a rule’s own default for the same key, with an explicit per-step override, used only by the first limb, taking final precedence over both. Table 7 reports the result. With inheritance active, every limb of every body carries the genome’s mutated radius and length. With inheritance disabled, limbs after the first fall back to the rule’s own defaults: no non-first limb matches the genome’s length, and the 8/415 radius matches are genomes whose radius happens to round to the default. Matches are counted per limb rather than anywhere in the body, so coincidental matches on later segments are excluded.

Table 7: Inheritance ablation, n=100 mutated bodies (515 limbs; seed 0, two mutations each.
  • Inheritance active
    Valid
    100/100
    Bodies, all limbs match
    \mathbf{100/100}
    Non-first limbs: radius / length
    415/415 / 415/415
  • Inheritance disabled
    Valid
    100/100
    Bodies, all limbs match
    \mathbf{0/100}
    Non-first limbs: radius / length
    8/415 / 0/415

This parameter-precedence choice does not affect the rule-counting compactness claim, a static property of the catalogue, nor the validity claim (Section 4). It does mean that the choice matters for any result that depends on segment-radius or segment-length mutation reaching every limb rather than only the first: under the opposite precedence (a rule’s own default always wins), such a mutation would only ever change the first limb’s geometry, a strictly weaker effective mutation operator for two of the five genome parameters. Every fitness-dependent result in this paper uses the inherited-value-precedence order described above throughout, so this is a documented design choice rather than a source of inconsistency across experiments.

C.2 Compositional-Generalization Anomaly: Full Diagnosis

The most likely innocent explanation for held-out error being lower than in-distribution error (Table 2) is a length confound: held-out derivations might simply be shorter on average, giving twist-composition error less opportunity to accumulate. We test this across n=5 seeds (600 training derivations, 100 in-distribution and 100 held-out test derivations per seed, 60 epochs each) and bucket every evaluated derivation by its exact length.

Across seeds, the anomaly is stable: in-distribution error is 0.0612\pm 0.0120 and held-out error is 0.0124\pm 0.0018, held-out lower in all 5 of 5 seeds. Bucketing by length rules out the simple length confound, but in a way that itself needs explaining: the two splits barely overlap in length (in-distribution derivations are lengths 3, 4, 5; held-out are lengths 4 and 8), and at the one length they share, length 4, in-distribution error (0.1705, n=178) is over 14\times higher than held-out error (0.0118, n=244) – the opposite of a simple "held-out is shorter" story.

Tracing this length-4 split resolves it completely. Of the three in-distribution training templates, exactly one has length 4 and includes a tool-rotation step, and every held-out template of length 4 contains no such step. Splitting every evaluated derivation by whether it contains a rotation step, rather than by length, shows why this matters: derivations containing it have twist MSE 0.1806 (n=27) versus 0.0010 (n=73) for derivations without one – a 180\times gap. Rotation is the only transformation whose twist depends on a per-scene, randomly sampled tool axis rather than a task-geometry-determined translation target, making it intrinsically harder to fit regardless of where it falls in a derivation. Because this one hard operation appears only in a training template and never in any held-out template, the in-distribution average is inflated by a task type the held-out split never has to handle.

The original anomaly is explained, not merely narrowed: it is an artifact of unequal task-type composition between the training and held-out template sets, specifically that the one rotation-based operation was placed exclusively on the training side. It does not reflect compositional generalization behaving backwards, and it does not bear on the morphology-domain result in Table 2, which uses a structurally different held-out split (leg and segment count, not primitive-rule identity) and shows the expected direction. A future version of this diagnostic should include a rotation-bearing template in the held-out set as well, so task difficulty is balanced across splits.

C.3 Full Search Comparison

Table 8 gives all 30 methods of Table 3 (budget 60, n=24, post-fix geometry). Nemenyi p is given against both grammar-based searchers. Figure 3 shows the PĀṇini budget sweep of §4. At budget 200, NES, run in a separate file with the same seeds, scores 0.405\pm 0.082, below GGE. Figure 4 shows per-seed distributions; no aggregate is driven by a single seed. The paper’s earlier 21-method and budget-sweep tables predate the geometry fix and are superseded.

Table 8: All 30 search methods, budget 60, n=24 seeds, sorted by mean rank (Friedman \chi^{2}=134.15, p=1.8e-15). “an.” marks a budget-matched analogue of a recent method (§4). Bold: Nemenyi p<0.05.
  • PĀṇini
    Mean \pm std.
    0.411\pm 0.088
    Mean rank
    9.33
    Nemenyi p vs. PĀṇini
    —
    vs. GGE
    1.000
  • IPOP-CMA-ES
    Mean \pm std.
    0.397\pm 0.086
    Mean rank
    10.04
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • Cross-entropy method
    Mean \pm std.
    0.390\pm 0.104
    Mean rank
    10.88
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • PSO
    Mean \pm std.
    0.374\pm 0.138
    Mean rank
    11.19
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • Coarse-to-fine (RoboMoRe an.)
    Mean \pm std.
    0.383\pm 0.095
    Mean rank
    12.04
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • TuRBO
    Mean \pm std.
    0.361\pm 0.144
    Mean rank
    12.17
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • GGE-v2
    Mean \pm std.
    0.369\pm 0.125
    Mean rank
    12.58
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • Augmented random search
    Mean \pm std.
    0.346\pm 0.112
    Mean rank
    13.25
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    1.000
  • Grammar-guided evolution (GGE)
    Mean \pm std.
    0.349\pm 0.130
    Mean rank
    13.33
    Nemenyi p vs. PĀṇini
    1.000
    vs. GGE
    —
  • Diversity-archive ES (QD co-design an.)
    Mean \pm std.
    0.350\pm 0.092
    Mean rank
    13.56
    Nemenyi p vs. PĀṇini
    0.999
    vs. GGE
    1.000
  • LHS + refinement
    Mean \pm std.
    0.360\pm 0.097
    Mean rank
    13.58
    Nemenyi p vs. PĀṇini
    0.999
    vs. GGE
    1.000
  • Random search
    Mean \pm std.
    0.343\pm 0.095
    Mean rank
    14.52
    Nemenyi p vs. PĀṇini
    0.973
    vs. GGE
    1.000
  • Graph heuristic search (RoboGrammar an.)
    Mean \pm std.
    0.326\pm 0.131
    Mean rank
    14.56
    Nemenyi p vs. PĀṇini
    0.970
    vs. GGE
    1.000
  • SHADE
    Mean \pm std.
    0.341\pm 0.101
    Mean rank
    14.73
    Nemenyi p vs. PĀṇini
    0.956
    vs. GGE
    1.000
  • Bayesian optimization
    Mean \pm std.
    0.349\pm 0.112
    Mean rank
    14.81
    Nemenyi p vs. PĀṇini
    0.947
    vs. GGE
    1.000
  • Novelty search
    Mean \pm std.
    0.325\pm 0.093
    Mean rank
    14.92
    Nemenyi p vs. PĀṇini
    0.935
    vs. GGE
    1.000
  • SPSA
    Mean \pm std.
    0.340\pm 0.113
    Mean rank
    14.96
    Nemenyi p vs. PĀṇini
    0.929
    vs. GGE
    1.000
  • Differential evolution
    Mean \pm std.
    0.327\pm 0.087
    Mean rank
    15.27
    Nemenyi p vs. PĀṇini
    0.878
    vs. GGE
    1.000
  • NES
    Mean \pm std.
    0.325\pm 0.102
    Mean rank
    15.69
    Nemenyi p vs. PĀṇini
    0.781
    vs. GGE
    1.000
  • LLM proposer (RoboMorph/LASeR an.)
    Mean \pm std.
    0.329\pm 0.129
    Mean rank
    15.71
    Nemenyi p vs. PĀṇini
    0.775
    vs. GGE
    1.000
  • (1{+}1)-ES
    Mean \pm std.
    0.291\pm 0.165
    Mean rank
    15.88
    Nemenyi p vs. PĀṇini
    0.728
    vs. GGE
    1.000
  • MAP-Elites
    Mean \pm std.
    0.303\pm 0.113
    Mean rank
    17.71
    Nemenyi p vs. PĀṇini
    0.195
    vs. GGE
    0.998
  • Simulated annealing
    Mean \pm std.
    0.297\pm 0.104
    Mean rank
    17.71
    Nemenyi p vs. PĀṇini
    0.195
    vs. GGE
    0.998
  • Hill-climbing
    Mean \pm std.
    0.288\pm 0.113
    Mean rank
    18.17
    Nemenyi p vs. PĀṇini
    0.119
    vs. GGE
    0.989
  • Latent-space BO (GLSO an.)
    Mean \pm std.
    0.296\pm 0.093
    Mean rank
    18.48
    Nemenyi p vs. PĀṇini
    0.082
    vs. GGE
    0.975
  • CMA-ES (simplified)
    Mean \pm std.
    0.284\pm 0.100
    Mean rank
    18.98
    Nemenyi p vs. PĀṇini
    0.043
    vs. GGE
    0.926
  • Coordinate descent
    Mean \pm std.
    0.282\pm 0.000
    Mean rank
    20.33
    Nemenyi p vs. PĀṇini
    0.005
    vs. GGE
    0.584
  • Fine-tuned controller (Strgar an.)
    Mean \pm std.
    0.243\pm 0.133
    Mean rank
    20.58
    Nemenyi p vs. PĀṇini
    0.004
    vs. GGE
    0.502
  • Archive criterion-rotation (Debate2Create an.)
    Mean \pm std.
    0.202\pm 0.123
    Mean rank
    23.58
    Nemenyi p vs. PĀṇini
    <10^{-4}
    vs. GGE
    0.018
  • Nelder-Mead
    Mean \pm std.
    -0.054\pm 0.315
    Mean rank
    26.46
    Nemenyi p vs. PĀṇini
    <10^{-4}
    vs. GGE
    <10^{-4}
Figure 3: Budget sweep, n=24 seeds, PĀṇini against GGE and six reference methods (band: 95% CI of the PĀṇini mean). PĀṇini has the best mean rank at every budget but is Nemenyi-significant only against the two weakest methods (simplified CMA-ES, hill-climbing), never against GGE or the strong cluster.
Figure 4: Per-seed best fitness at budget 60, n=24, for PĀṇini, GGE, and the reference cluster.

C.4 Feasibility Gate: Gait-Correlated Check and Scaling

Every check in the geometric gate is static and blind to the locomotion metric. The third row of Table 5 adds one check that is correlated with gait: a short CPG rollout (one-tenth of the full horizon) that rejects a body moving less than 1 cm. Unlike the geometric checks, it costs 0.1 of a physics evaluation per call against the same budget (40, n=24, same seeds). It is the lowest of the three conditions: 0.269\pm 0.242, against 0.334\pm 0.230 for the geometric gate alone (paired t p=0.055, Wilcoxon p=0.031; it wins 7 of 24 seeds) and 0.339\pm 0.115 for no gate (p=0.20). At this budget the pre-check’s cost outweighs whatever it gains by steering away from immobile bodies. All 72 best bodies (3 conditions \times 24 seeds) compile, load, and step 1000 steps in MuJoCo with finite state.

C.4.1 Does the Gate’s Advantage Scale as the Feasible Region Shrinks?

The tries-to-first-feasible figure in Section 4 is one operating point. We sweep the specification’s reach threshold to four target pass rates and count the uniformly random genomes drawn before the first feasible one (gate off), against gate-on cost, which is 1 by construction. The pre-fix reach thresholds are unreachable under the corrected geometry, so they were recalibrated as upper quantiles of reach over 4000 fresh genomes. Measured p comes from an independent sample of 2000.

Table 9: Feasibility-gate cost scaling across four difficulty levels (24 seeds per level for gate-off tries, post-fix geometry).
  • Required reach
    0.50
    0.231
    0.20
    0.367
    0.05
    0.495
    0.01
    0.561
  • Measured p
    0.50
    0.463
    0.20
    0.177
    0.05
    0.040
    0.01
    0.0035
  • Predicted 1/p
    0.50
    2.2
    0.20
    5.7
    0.05
    25.0
    0.01
    285.7
  • Gate-off mean tries (std)
    0.50
    1.8\ (1.1)
    0.20
    3.8\ (2.7)
    0.05
    21.2\ (19.5)
    0.01
    124.4\ (130.7)
  • Gate-on cost (by construction)
    0.50
    1.0
    0.20
    1.0
    0.05
    1.0
    0.01
    1.0

Gate-off cost grows with difficulty in the direction a 1/p law predicts, from under two tries to 124, while gate-on cost stays at 1.0. At the hardest level the measured p (7 of 2000) falls below the 0.01 target and is itself imprecise, so 1/p there is only a rough guide. This claim – the feasibility gate (check-before-committing) scaling with difficulty – is a different mechanism from grammar-guided mutation locality (Appendix C.5), and the two should not be conflated: the gate result holds at all four levels, and the mutation-locality result is significant at three of four and directionally ahead at the fourth.

C.5 Grammar-Guided Search Under Shrinking Feasibility

A separate question from gate scaling is whether grammar-guided mutation has an advantage in a low-feasibility environment independent of the gate: once a search has found one feasible genome, does a small mutation land on another feasible genome more often than redrawing a fresh genome uniformly at random? If the feasible region is spatially contiguous, local mutation should increasingly outperform blind resampling as the feasible fraction shrinks.

Measurement. Feasible-eval-rate is measured by recording validity directly at every evaluation call, rather than reading it off a running best-so-far trace (also noted in Appendix B): once any feasible genome is found, every later entry in such a trace reads as feasible regardless of that step’s own draw, which would silently inflate whichever method happens to find a feasible point earliest. The numbers below use the per-evaluation measurement throughout.

We ran the (\mu{+}\lambda) evolutionary search of Section 4 and a blind-random-search baseline under the same gate, at the four recalibrated levels of Table 9, together with two seeding variants. One injects a fresh random draw with probability 0.3 per generation; the other refuses to switch to mutation until it holds a full population of feasible genomes. We measured the fraction of each method’s budget that landed on a feasible genome (8 seeds, budget 40).

Table 10: Feasible-evaluation rate (per-evaluation measurement), same gate, 8 seeds, budget 40, post-fix geometry. p: paired t-test on per-seed rates against blind random search.
  • Grammar-guided evolution
    0.50 (0.476)
    80.0\%
    0.20 (0.156)
    61.6\%
    0.05 (0.048)
    28.7\%
    0.01 (0.006)
    7.8\%
  • + random restarts
    0.50 (0.476)
    73.1\%
    0.20 (0.156)
    41.2\%
    0.05 (0.048)
    17.8\%
    0.01 (0.006)
    3.8\%
  • + feasible seeding
    0.50 (0.476)
    72.8\%
    0.20 (0.156)
    35.3\%
    0.05 (0.048)
    5.3\%
    0.01 (0.006)
    0.6\%
  • Blind random search
    0.50 (0.476)
    47.8\%
    0.20 (0.156)
    17.8\%
    0.05 (0.048)
    2.8\%
    0.01 (0.006)
    0.6\%
  • p, evolution
    0.50 (0.476)
    <10^{-4}
    0.20 (0.156)
    0.003
    0.05 (0.048)
    0.024
    0.01 (0.006)
    0.19
  • p, + restarts
    0.50 (0.476)
    <10^{-3}
    0.20 (0.156)
    0.012
    0.05 (0.048)
    0.080
    0.01 (0.006)
    0.40
  • p, + feasible seeding
    0.50 (0.476)
    <10^{-4}
    0.20 (0.156)
    0.026
    0.05 (0.048)
    0.24
    0.01 (0.006)
    1.00

Unmodified evolutionary search beats blind random search significantly at the three easier levels. At the hardest level it is ahead (7.8\% vs. 0.6\%), but not significantly at n=8. Neither seeding variant helps at any level, and each is below the unmodified loop everywhere. An earlier, pre-fix version of this appendix reported that evolution lost at the hardest level (0.0\% vs. 1.3\%), traced that loss to the seeding rule, and found that the two variants closed it at a cost elsewhere. Under the corrected geometry and recalibrated specifications that loss does not occur, so the seeding diagnosis and its trade-off no longer apply. The measurement is geometric, not a rollout. At the two harder levels, 2–6 of 8 seeds per method never reach a feasible design, so best-fitness numbers there are not a fitness comparison.

C.6 Stricter Validity Criterion and Careful Hand-Coded Editors

The main validity criterion (Section 4) only asks whether a compiled body loads and steps without producing non-finite state – a body that loads and sits motionless passes just as well as one that walks. We test a strictly harder criterion: load-and-step and travel at least 2cm along the forward axis under the universal CPG gait, over the same 1000-step horizon. We deliberately do not also require the body to stay above the torso-height "fall" floor used elsewhere, since that floor is a soft fitness penalty, not a hard failure condition, and roughly half of genuinely displacing bodies dip below it at some point regardless of mutation strategy.

Table 11 (400 trials per condition, post-fix geometry) shows grammar-guided mutation passing on 370/400. That is numerically behind range-constrained resampling (377) and mild-only rescaling (373) and level with pure re-initialization (368); none of these differences is significant (grammar vs. range-constrained: Fisher p=0.39). The locomotion bar removes only 6–8\% of the bodies each of these four conditions produces and does not reorder them. It removes more from the disruptive alternatives (delete element: 120\to 75), and the three most disruptive stay at 0/400. So the stricter criterion separates the grammar only from alternatives the main criterion already flagged, not from the one it could not separate.

Table 11: Stricter, locomotion-based validity criterion vs. loads-and-steps, 400 trials each.
  • Range-constrained resampling
    Loads+steps
    400
    Loads+steps and locomotes \geq 2cm
    377
  • Mild-only rescale
    Loads+steps
    400
    Loads+steps and locomotes \geq 2cm
    373
  • Grammar-guided (ours)
    Loads+steps
    400
    Loads+steps and locomotes \geq 2cm
    370
  • Pure re-initialization (sanity floor)
    Loads+steps
    400
    Loads+steps and locomotes \geq 2cm
    368
  • Adversarial mixture
    Loads+steps
    326
    Loads+steps and locomotes \geq 2cm
    293
  • Uniform resampling (structure-blind)
    Loads+steps
    307
    Loads+steps and locomotes \geq 2cm
    262
  • Adversarial mixture, 5 compounded mutations
    Loads+steps
    276
    Loads+steps and locomotes \geq 2cm
    236
  • Extreme-only (collapse/flip/blow-up)
    Loads+steps
    246
    Loads+steps and locomotes \geq 2cm
    195
  • Adversarial mixture, 10 compounded mutations
    Loads+steps
    209
    Loads+steps and locomotes \geq 2cm
    177
  • Delete element
    Loads+steps
    120
    Loads+steps and locomotes \geq 2cm
    75
  • Subtree-swap crossover
    Loads+steps
    58
    Loads+steps and locomotes \geq 2cm
    53
  • Naive numeric-average crossover
    Loads+steps
    46
    Loads+steps and locomotes \geq 2cm
    37
  • Duplicate element
    Loads+steps
    0
    Loads+steps and locomotes \geq 2cm
    0
  • Byte-level bit-flip
    Loads+steps
    0
    Loads+steps and locomotes \geq 2cm
    0
  • Latent-space perturbation (GLSO-style contrast)
    Loads+steps
    0
    Loads+steps and locomotes \geq 2cm
    0

Every direct-edit alternative in Table 27 is deliberately naive about structural invariants. A skeptical reader can object that a sufficiently careful, non-adversarial hand-coded editor might close the gap entirely, in which case the grammar’s advantage would be convenience rather than necessity. We wrote a genuinely best-effort structural editor: careful duplication deep-copies a random subtree, renames every element inside the copy to stay globally unique, and fixes up the matching actuator entry; careful deletion removes a random subtree and explicitly removes any actuator entry that referenced a joint inside it.

At n=400 (post-fix geometry), careful duplication now also falls short of the grammar (324/400), failing on a repeated free-joint name the rename-and-fixup step did not anticipate – evidence toward necessity, not mere convenience. Careful deletion, despite the same level of care, falls further short (243/400), failing on a minimum mass/inertia requirement for a moving body – a different structural invariant than the one careful duplication was written to avoid, and one that even a careful attempt misses.

Table 12: Counterfactual structural-validity test: careful vs. naive hand-coded editors, 400 trials each (post-fix geometry).
  • Duplication
    Careful (fix-up applied)
    324/400 (falls short of grammar)
    Naive (Table 27)
    0/400
  • Deletion
    Careful (fix-up applied)
    243/400 (falls short of grammar)
    Naive (Table 27)
    113/400

The grammar’s validity guarantee is pure convenience for some structural edits and genuine necessity for others, within the same experiment – a more precise claim than either "always necessary" or "a careful implementation always suffices."

C.7 Validity Gap vs. Task Fitness (Exploratory)

A validity gap only matters downstream if it changes what a search finds. We ran the same (\mu{+}\lambda) loop once mutating grammar genomes and once mutating raw compiled body descriptions with a realistic mix of the Table 27 edit operators, with no feasibility gate (n=8 seeds, budget 40). The validity gap reproduces cleanly (100\% vs. 58.8\% of evaluations valid), but best task fitness does not track it: the raw-edit alternative is directionally ahead, 0.769\pm 0.829 vs. 0.351\pm 0.109, with the grammar winning 3 of 8 seeds (paired t=-1.304, p=0.23). At this sample size the comparison is exploratory and establishes no fitness difference in either direction; a plausible but untested reading is that some loadable raw edits reach unusual, occasionally very mobile body shapes outside the grammar’s narrower genome range.

C.8 Reproducibility: A Simulator-Version Sensitivity

Replicating the search comparison on a second machine changed the eight-seed statistic substantially (4/8 seeds won rather than 7, p=0.576 rather than 0.082 for a two-method comparison) despite byte-identical code and seeds. The only difference was the installed physics simulator’s minor version; matching the version reproduced the original result to every decimal place across all eight seeds, isolating the simulator’s minor-version-dependent solver defaults as the entire cause. We flag this as an open methodological consideration for anyone reproducing these statistics on a different installation, rather than assume a given magnitude transfers unchanged across simulator versions.

Appendix D Proxy Fitness vs. RL-Trained Performance

The search fitness, centre-of-mass displacement under a fixed sinusoidal gait, assumes that bodies which move further without learning also do better once a controller is trained. We test this on a catalogue of geometrically feasible bodies. For each body we compute the proxy and an RL-trained fitness, using a tanh MLP policy trained by antithetic evolution strategies on MuJoCo MJX under the identical reward, so that the comparison isolates what training adds.

The first version of this test used a 28-body catalogue built before the limb-mounting geometry fix and found no correlation (Spearman \rho=0.007, p=0.971; Kendall \tau=0.011, p=0.953). The catalogue was then rebuilt under the corrected geometry. 28 bodies were drawn from 71 random genomes, which corresponds to a 39% geometric pass rate against 70% before the fix, because correctly mounted limbs fail the specification more often. Three PĀṇini final designs were added, for 31 bodies. On this catalogue the correlation is positive but borderline: Spearman \rho=0.3548 (p=0.0501) and Kendall \tau=0.2258 (p=0.0770), n=31 (Figure 5). These two values come from the analysis script’s terminal output on the compute cluster. The per-body RL results were not transferred back, so we could not re-verify them or draw a scatter plot. We read the result as weak evidence that the proxy carries some information about trained performance. It does not reach conventional significance, and it is too weak to rank bodies on its own. The method-level analysis of §4 gives a consistent picture (\rho=0.17 across 28 methods).

Figure 5: Proxy–RL rank correlation on the pre-fix catalogue (local per-body data) and the rebuilt catalogue (cluster-reported coefficients; no per-body data available locally). Bars are approximate 95% CIs on the Fisher-z scale. Both runs predate the PĀṇini-specific RL-rescoring job (pending, Appendix E).

Appendix E RL Re-scoring: Supplementary Detail

Prior run (GGE-based manifest). 672 bodies, all geometrically feasible under the corrected geometry, all loading and stepping. This manifest was built from GGE’s final-design run and predates PĀṇini, so PĀṇini is not among the 28 methods below. RL mean ranks, fitness, and the Friedman statistic come from the analysis output. Its proxy-matched-rank field is NaN for every method because of an unresolved bug in the matching step, so we do not use it. The proxy ranks in Table 4 and Figure 6 are computed instead from each body’s re-run proxy fitness in the manifest. The Nemenyi values of §4 were first obtained on the cluster; Nemenyi depends only on mean ranks, k, and n, and recomputing it from the recorded mean ranks reproduces them (for example, p=0.0004 for coordinate descent and p=0.505 for IPOP-CMA-ES against GGE).

Figure 6: Prior run (GGE-based manifest, pre-dates PĀṇini): proxy mean rank against RL mean rank of each method’s 24 final designs (28 methods). Coordinate descent’s jump comes from a single design repeated across all seeds.

PĀṇini-specific re-run. 144 bodies (PĀṇini, GGE, IPOP-CMA-ES, the simplified CMA-ES, PSO, the cross-entropy method; 24 seeds each), all geometrically feasible, independently re-validated in MuJoCo. All 144 converged under RL training, so, unlike the prior 28-method run, there is no missing-shard or single-degenerate-design distortion. Table 13 gives the full result: Friedman \chi^{2}=2.95, p=0.71 over 6 methods and 24 seed-blocks – no pairwise Nemenyi test is meaningful given the omnibus test alone does not reject the null, so none is reported. PĀṇini ranks 2nd of 6 by RL mean rank, tied in practice with every other method.

Table 13: PĀṇini-specific RL re-scoring: 144 final designs (6 methods \times 24 seeds), sorted by RL mean rank. Friedman \chi^{2}=2.95, p=0.71 – not significant, so no post hoc test is reported.
  • PSO
    RL mean rank
    3.12
    RL mean fitness
    1.384
    RL std
    0.517
  • PĀṇini (proposed)
    RL mean rank
    3.29
    RL mean fitness
    1.476
    RL std
    0.697
  • Grammar-guided evolution (GGE)
    RL mean rank
    3.33
    RL mean fitness
    1.390
    RL std
    0.704
  • Cross-entropy method
    RL mean rank
    3.62
    RL mean fitness
    1.249
    RL std
    0.564
  • IPOP-CMA-ES
    RL mean rank
    3.75
    RL mean fitness
    1.179
    RL std
    0.449
  • CMA-ES (simplified)
    RL mean rank
    3.88
    RL mean fitness
    1.273
    RL std
    0.751
Figure 7: PĀṇini-specific re-run: proxy mean rank against RL mean rank of each method’s 144 final designs (6 methods, matched-subset proxy ranks). No significant differences (Friedman p=0.71); PĀṇini and GGE sit together near the strong end of this small field.

Appendix F Grammar-Native Search Investigations: Compact Summary

All variants build on PĀṇini’s code path and change only the stated mechanism, with the same harness, seeds, and budget accounting as Section 4; comparisons are Friedman followed by Nemenyi over the listed methods. Hetero runs use a per-limb genome for which only CEM, IPOP-CMA-ES, and PSO have analogues. The curriculum variant is reported in Section 5. Other mechanisms listed in Section 5 (quality-diversity elite selection, motif reuse, tempering over complexity, constraint-aware repair) did not separate from plain PĀṇini or the reference cluster and are not detailed here.

Table 14: Compact summary of the main non-curriculum investigations.
  • Larger, heterogeneous design space
    Setting
    hetero, n=10, b=80
    Result
    3rd of 4: 0.846 vs. PSO 0.927, IPOP 0.903
    Test
    Friedman p=0.056
  • Fitness noise (30% std)
    Setting
    n=24, b=60
    Result
    0.301 vs. CEM 0.305; n=6 screening signal not reproduced
    Test
    Friedman p=0.39
  • Subtree crossover/mutation
    Setting
    hetero, n=24, b=60/120
    Result
    2nd of 5 at both budgets (0.841, 0.945); IPOP 0.829, 0.974; structurally new offspring 94% of the time
    Test
    Friedman 0.39/0.034; Nemenyi \geq 0.055
  • Transfer to held-out limb counts
    Setting
    hetero, n=24, b=80
    Result
    Last of 5: 0.810 vs. IPOP 0.960, PSO 0.951, cold PĀṇini 0.893 (17/24 seeds worse than cold control)
    Test
    Nemenyi 0.012, 0.038 (worse)
  • Niche regimes (b=10–35; stricter specs)
    Setting
    8 screens, n=8/24
    Result
    Best screen (b=35, 0.375 vs. CEM 0.355) does not survive correction
    Test
    Friedman p=0.51; Holm 0/8

Appendix G Closed Kinematic Chains

Extending the morphology grammar to branching limbs needs only a new rule following the existing required-role gating pattern; extending it to closed kinematic chains needs a genuinely new verification step, which this appendix characterizes directly by building the simplest non-trivial closed chain: a planar four-bar linkage (a ground link of length L_{0} connecting two torso mount points, a crank of length L_{1} driven by angle \theta_{1}, a rocker of length L_{3} at angle \theta_{3}, and a coupler of length L_{2} that must physically connect the crank’s tip to the rocker’s tip).

The crank and rocker are each ordinary open-chain limb derivations from the torso – exactly the branching-limb case the grammar already handles. What is new: in a closed chain, \theta_{3} is not a free genome parameter. It is determined by the other three link lengths and \theta_{1} via the loop-closure constraint |\mathrm{crank\_tip}(\theta_{1})-\mathrm{rocker\_tip}(\theta_{3})|=L_{2}, which the inheritance mechanism – designed to carry a value forward from an earlier rule, not to solve a constraint between two independently-derived subtrees’ endpoints – has no analogue for.

We solve this constraint numerically (bisection over \theta_{3}\in[0,2\pi), refined with Brent’s method, x_{\mathrm{tol}}=10^{-12}) for 500 randomly sampled configurations, link lengths drawn from the same range as this paper’s own segment-length bound ([0.05,0.30]).

Assembly feasibility is a real, non-trivial question. Only 318/500 (63.6\%) of randomly sampled link-length combinations admit any real solution to the loop-closure equation at all – the remaining 36.4\% are not closeable by any \theta_{3}, a classical consequence of four-bar linkage geometry (related to the Grashof condition) that the grammar’s existing parameter clamping has no mechanism to detect or avoid.

Where a solution exists, the verification step itself is sound. For every closeable configuration, we check the claim that two derivation paths must agree on a shared joint’s position, by building the coupler at the solved length L_{2} and measuring how far its endpoint lands from the crank’s own tip. The measured residual is mean 1.5\times 10^{-15}, max 6.3\times 10^{-14} – floating-point precision, to the same standard of a measured, bounded defect this paper applies to \Phi’s own homomorphism defect (§4).

A closed chain therefore requires (a) an assembly-feasibility check with no analogue in the current grammar, and (b) a numerical verification step categorically different from inheritance or specificity arbitration. We integrate both into the grammar directly, rather than leaving the solver standalone, through one additive extension: a new rule whose parameters are computed by solving a constraint over already-derived state, after the normal inheritance/override merge, instead of only from defaults or inheritance. Every existing rule is unaffected by this extension and the full test suite still passes unchanged. The rocker’s mount angle becomes this rule’s resolved output rather than a free parameter, and an unsolvable configuration is rejected through the grammar’s own existing failure path for an inapplicable rule, with no new exception type introduced.

We benchmark this integration on 300 random four-bar configurations, comparing the grammar-wrapped rule (with a bounded repair loop that shrinks the coupler/rocker lengths and re-derives, up to 5 attempts, on an initial failure) against the standalone solver used as-drawn with no repair. The two paths agree on the as-drawn configuration 92.7\% of the time, confirming that wrapping the solver as a grammar rule changes nothing about its correctness; the grammar-wrapped path’s repair loop raises the overall closeable rate from 63.0\% to 70.3\% (7.3\% repaired, 29.7\% rejected as unfixable within 5 attempts). The forward-kinematic residual at the solved angle remains at floating-point precision (mean 1.6\times 10^{-15}, max 6.3\times 10^{-14}), matching the homomorphism-defect standard of §4. Beyond what the standalone solver could check at all, we also verify genuine downstream simulation: compiling the solved linkage with a native rigid-body equality constraint joining the crank and coupler tips, every closeable configuration loads and steps 100 physics steps without blowing up, with the equality constraint’s residual under real dynamics averaging 3.65\times 10^{-3} (max 3.98\times 10^{-2}) – small, but non-zero in a way the offline forward-kinematics check, which never touches a physics engine, cannot see. Wiring the solver into the rule-application machinery is therefore no longer future work; what remains open is generalizing this mechanism beyond this one hand-written constraint to a general library of closed-chain topologies.

Appendix H Manipulation Benchmark: Full Results

Section 4 summarizes this result; this appendix gives the full setup and table. The benchmark is built around the existing Approach\toGrasp\toLift\toTransport\toPlace rule chain. The end effector is a kinematically-driven point (with no actuators or joint limits of its own, so it isolates whether the staged plan succeeds from whether a real controller can track it); the object is a free dynamic body under gravity; grasping is a rigid kinematic pin between object and end-effector pose, engaged within a tolerance radius of the object and released at the Place target – a simplified-grasp proxy with no finger-contact dynamics, chosen for stability under the end effector’s discontinuous-looking position updates.

Three tasks of increasing length are run on the same 150 random scenes for the grammar-derived plan and two baselines of deliberately different strength. “Baseline” moves in one straight line from the end-effector’s start pose directly to the final target, with no knowledge of the object’s location, attempting a grasp only opportunistically if that line happens to pass near the object. “Informed” is handed the exact same ground-truth object and target positions the grammar’s own waypoints are computed from and deliberately routes through the object before the target (start-to-object, then object-to-target, same total step budget), but still lacks the grammar’s staged ordering – no separate hover-above waypoint, no separate grasp-depth waypoint, no separate lift-to-height waypoint before transporting. Both baselines attempt a grasp via the same tolerance-triggered mechanism as the grammar, so any gap is attributable to staging, not to a different grasp mechanism or time budget.

Table 15: Manipulation benchmark, n=150 random scenes per cell. “Reach” success is reaching within hover range of the object (grammar and baseline target the same hover point, so that cell is a sanity check, not a differentiator); the other two tasks require an actual grasp.
  • Reach (120 steps)
    Planner
    Grammar
    Success
    86.0%
    Grasp rate
    —
    Mean place error
    —
  • Reach (120 steps)
    Planner
    Baseline (uninformed)
    Success
    86.0%
    Grasp rate
    —
    Mean place error
    —
  • Reach (120 steps)
    Planner
    Informed
    Success
    100.0%
    Grasp rate
    —
    Mean place error
    —
  • Grasp+Lift (360 steps)
    Planner
    Grammar
    Success
    100.0%
    Grasp rate
    100.0%
    Mean place error
    —
  • Grasp+Lift (360 steps)
    Planner
    Baseline (uninformed)
    Success
    0.0%
    Grasp rate
    0.0%
    Mean place error
    —
  • Grasp+Lift (360 steps)
    Planner
    Informed
    Success
    100.0%
    Grasp rate
    100.0%
    Mean place error
    —
  • Place (600 steps)
    Planner
    Grammar
    Success
    100.0%
    Grasp rate
    100.0%
    Mean place error
    0.00 cm
  • Place (600 steps)
    Planner
    Baseline (uninformed)
    Success
    0.0%
    Grasp rate
    0.0%
    Mean place error
    52.91 cm
  • Place (600 steps)
    Planner
    Informed
    Success
    100.0%
    Grasp rate
    100.0%
    Mean place error
    1.71 cm

No simulation failures occur in any of the 150\times 3\times 3=1350 trials. Against the uninformed baseline the gap is total: it never grasps the object across 150 scenes, because a straight line from start to final goal essentially never happens to pass within grasp tolerance of an object that is not on that line, so it arrives carrying nothing – a direct physical consequence of having no explicit grasp waypoint, but one that does not yet separate “knows nothing about the task” from “lacks staged ordering specifically.” Against the informed baseline, which is told exactly where the object and target are and deliberately visits the object, that separation is clean, and the result reverses what the uninformed comparison alone would suggest: Grasp+Lift and Place tie at 100\% success for both, and on Reach the informed planner is slightly ahead (100\% vs. 86\%), because it is routed directly at the object itself rather than at a hover point above it. The grammar’s 0.00 cm mean place error is close to tautological – its place target is the support location the error is measured against – while the informed planner’s non-zero but still small 1.71 cm reflects a real (if modest) placement error under the same kinematic grasp mechanism. The honest conclusion is narrower than the uninformed-baseline comparison alone would support: on this benchmark, the grammar’s explicit staging is not shown to outperform a competent, object-aware but unstaged planner once that planner is told where to look; it is a proof-of-concept that the staged derivation is at least as capable as a reasonable alternative, not a demonstrated advantage over a strong competitor.

Appendix I Supplementary Figures

Figure 8: Flat rule count grows linearly with body size at every segment count tested; typed count is constant.
Figure 9: Containment-based arbitration degrades smoothly, not catastrophically, under simulated perception noise.

Appendix J Validity Protocol in the Very-Low-Feasibility Environment: Supplementary Results

Parents are feasible, perfectly symmetric 8-limb grammar bodies; every condition edits the same parent. Joint feasibility is computed on the compiled, forward-settled body; its verdict matches the tree-based check on all 1300 test bodies at every level.

Table 16: The 15 validity conditions of Table 27 in the very-low-feasibility environment (n_{\ell}=8 limbs, 300 trials per cell). Every condition edits the same feasible parent and is scored after 3 edits, the original protocol. “Legal”: loads and steps. Feasible: also passes the joint spec; columns are pooled target pass rates. †Edits the body in only 15\% of trials (Table 18). ‡Interpolates between two feasible, grammar-built parents.
  • Naive numeric-average crossover‡
    Legal
    300
    Feasible 8\%
    300
    Feasible 3\%
    300
    Feasible 1\%
    300
    Feasible 0.3\%
    300
  • Mild-only rescale†
    Legal
    300
    Feasible 8\%
    296
    Feasible 3\%
    294
    Feasible 1\%
    294
    Feasible 0.3\%
    282
  • Grammar-guided (ours)
    Legal
    300
    Feasible 8\%
    285
    Feasible 3\%
    266
    Feasible 1\%
    225
    Feasible 0.3\%
    169
  • Adversarial mixture
    Legal
    250
    Feasible 8\%
    212
    Feasible 3\%
    199
    Feasible 1\%
    193
    Feasible 0.3\%
    184
  • Adversarial mixture, 5 compounded
    Legal
    234
    Feasible 8\%
    194
    Feasible 3\%
    186
    Feasible 1\%
    177
    Feasible 0.3\%
    162
  • Range-constrained resampling
    Legal
    300
    Feasible 8\%
    166
    Feasible 3\%
    154
    Feasible 1\%
    150
    Feasible 0.3\%
    129
  • Extreme-only (collapse/flip/blow-up)
    Legal
    200
    Feasible 8\%
    140
    Feasible 3\%
    133
    Feasible 1\%
    125
    Feasible 0.3\%
    117
  • Uniform resampling (structure-blind)
    Legal
    230
    Feasible 8\%
    108
    Feasible 3\%
    93
    Feasible 1\%
    90
    Feasible 0.3\%
    67
  • Adversarial mixture, 10 compounded
    Legal
    165
    Feasible 8\%
    97
    Feasible 3\%
    83
    Feasible 1\%
    74
    Feasible 0.3\%
    59
  • Pure re-initialization (sanity floor)
    Legal
    300
    Feasible 8\%
    47
    Feasible 3\%
    20
    Feasible 1\%
    8
    Feasible 0.3\%
    3
  • Delete element
    Legal
    29
    Feasible 8\%
    28
    Feasible 3\%
    20
    Feasible 1\%
    14
    Feasible 0.3\%
    3
  • Subtree-swap crossover
    Legal
    12
    Feasible 8\%
    10
    Feasible 3\%
    9
    Feasible 1\%
    8
    Feasible 0.3\%
    8
  • Duplicate element; bit-flip; latent (GLSO-style), each
    Legal
    0
    Feasible 8\%
    0
    Feasible 3\%
    0
    Feasible 1\%
    0
    Feasible 0.3\%
    0

Naive numeric-average crossover passes 300/300 because it interpolates between two feasible parents, here both built by the grammar; it cannot reach a design outside the segment between them, and from scratch it has no feasible parents to average. Table 18 below counts only trials that produce a genuinely new feasible body, the fairer comparison Section 4 cites.

Table 17: Flat per-limb parameterization vs. grammar construction, n_{\ell}=8 limbs. Pass rates from 6000 fresh samples (flat 95% Wilson upper bound 0.06\% in every row); search: 200 evaluations, 20 seeds, CMA-ES with a constraint-violation objective.
  • Sampling, flat
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • Sampling, grammar
    8\%
    13.1\%
    3\%
    6.5\%
    1\%
    2.8\%
    0.3\%
    1.0\%
  • CMA-ES, flat: seeds with any feasible design
    8\%
    0/20
    3\%
    0/20
    1\%
    0/20
    0.3\%
    0/20
  • CMA-ES, grammar: seeds with any feasible design
    8\%
    20/20
    3\%
    20/20
    1\%
    20/20
    0.3\%
    20/20
  • CMA-ES, grammar: feasible evaluations
    8\%
    30.7\%
    3\%
    31.1\%
    1\%
    27.4\%
    0.3\%
    26.9\%
Table 18: Share of 120 trials, after 3 edits, that produce a new (leg tips moved >1 mm) and jointly feasible body, with mean leg-tip displacement from the parent; same environment as Table 16.
  • Grammar-guided (ours)
    New and feasible 8\%
    77\%
    New and feasible 3\%
    65\%
    New and feasible 1\%
    52\%
    New and feasible 0.3\%
    37\%
    Tip displacement (8\% level)
    15.3 mm
  • Range-constrained resampling
    New and feasible 8\%
    18\%
    New and feasible 3\%
    13\%
    New and feasible 1\%
    12\%
    New and feasible 0.3\%
    11\%
    Tip displacement (8\% level)
    90.0 mm
  • Mild-only rescale†
    New and feasible 8\%
    14\%
    New and feasible 3\%
    14\%
    New and feasible 1\%
    12\%
    New and feasible 0.3\%
    9\%
    Tip displacement (8\% level)
    0.4 mm
  • Adversarial mixture
    New and feasible 8\%
    12\%
    New and feasible 3\%
    8\%
    New and feasible 1\%
    7\%
    New and feasible 0.3\%
    4\%
    Tip displacement (8\% level)
    32.0 mm
  • Naive numeric-average crossover‡
    New and feasible 8\%
    97\%
    New and feasible 3\%
    96\%
    New and feasible 1\%
    97\%
    New and feasible 0.3\%
    83\%
    Tip displacement (8\% level)
    51.5 mm
Table 19: Topology change: the 8-limb spec is held fixed and every method starts from the same 6-limb body (lowest constraint violation among 2000 grammar 6-limb bodies). 200 evaluations, 20 seeds, (\mu{+}\lambda) search minimising constraint violation.
  • Range-constrained resampling: seeds feasible
    8\%
    0/20
    3\%
    0/20
    1\%
    0/20
    0.3\%
    0/20
  • Per-field clip (flat): seeds feasible
    8\%
    0/20
    3\%
    0/20
    1\%
    0/20
    0.3\%
    0/20
  • Grammar (5-parameter genome): seeds feasible
    8\%
    20/20
    3\%
    20/20
    1\%
    20/20
    0.3\%
    20/20
  • Grammar: feasible evaluations
    8\%
    69.6\%
    3\%
    64.5\%
    1\%
    63.0\%
    0.3\%
    62.4\%

Appendix K Objection Experiments: Full Results

Table 20: Four objections in the hard space (n_{\ell}=8), easiest and hardest pooled target pass rate. Each cell is baseline vs. grammar; (1) uses per-field clipping, (2) CMA-ES from scratch, (4) the grammar generator.
  • (1)
    Measure (baseline vs. grammar)
    Feasible after 10 mutations
    8\%
    30.0 vs. 86.7\%
    0.3\%
    10.7 vs. 27.3\%
  • (1)
    Measure (baseline vs. grammar)
    Best material in search (lower better)
    8\%
    0.678 vs. 0.412
    0.3\%
    0.821 vs. 0.630
  • (2)
    Measure (baseline vs. grammar)
    Box feasible (flat 64-D vs. 5-D)
    8\%
    0.4 vs. 19.3\%
    0.3\%
    0.1 vs. 35.5\%
  • (2)
    Measure (baseline vs. grammar)
    Seeds feasible (flat vs. 12-D grammar)
    8\%
    0/20 vs. 20/20
    0.3\%
    0/20 vs. 6/20
  • (3)
    Measure (baseline vs. grammar)
    Add a limb (hand-coded vs. grammar)
    8\%
    0 vs. 100\%
    0.3\%
    0 vs. 100\%
  • (4)
    Measure (baseline vs. grammar)
    Physics calls per feasible (gate off vs. on)
    8\%
    47.6 vs. 1
    0.3\%
    857 vs. 1
Table 21: Coupled, cross-limb feasibility: support-polygon area threshold calibrated on 300 fresh genomes to target pass rate p; jointly feasible mutants out of 400 per cell (post-fix geometry). Brackets: \chi^{2} p against grammar-guided where p<0.05. All 400 mutants in every row loaded and stepped.
  • Grammar-guided (ours)
    p\approx 0.30 (area\geq 0.099)
    94
    p\approx 0.10 (\geq 0.127)
    48
    p\approx 0.05 (\geq 0.142)
    24
  • Pure re-initialization
    p\approx 0.30 (area\geq 0.099)
    78
    p\approx 0.10 (\geq 0.127)
    37
    p\approx 0.05 (\geq 0.142)
    35
  • Independent random mount angle
    p\approx 0.30 (area\geq 0.099)
    49 [<10^{-4}]
    p\approx 0.10 (\geq 0.127)
    21 [0.001]
    p\approx 0.05 (\geq 0.142)
    10 [0.023]
  • Range-constrained resampling
    p\approx 0.30 (area\geq 0.099)
    103
    p\approx 0.10 (\geq 0.127)
    52
    p\approx 0.05 (\geq 0.142)
    41 [0.038]
  • Hand-coded, coordinated (no grammar)
    p\approx 0.30 (area\geq 0.099)
    87
    p\approx 0.10 (\geq 0.127)
    38
    p\approx 0.05 (\geq 0.142)
    32
  • Hand-coded, random angle (no grammar)
    p\approx 0.30 (area\geq 0.099)
    42 [<10^{-4}]
    p\approx 0.10 (\geq 0.127)
    18 [<10^{-3}]
    p\approx 0.05 (\geq 0.142)
    13

All experiments use the hard design space of Section 4 at n_{\ell}=8 limbs and the four pooled-calibrated difficulty levels. Feasible parents are perfectly symmetric grammar bodies, and the same parent is handed to every method. The flat mutation operators perturb or redraw one of the 64 normalised fields and clip it to its own range; grammar mutation perturbs one grammar parameter and re-derives the body. The search objective is total leg material \sum\pi r^{2}\ell over all built segments; body mass is not used because in this simulator it depends only on segment count.

Table 22: Objection 1, random walk: fraction of 150 walks still feasible after k unselected mutations from the same feasible parent, n_{\ell}=8 limbs. Columns are pooled target pass rates.
  • Per-field clip
    k
    1
    8\%
    89.3\%
    3\%
    85.3\%
    1\%
    92.7\%
    0.3\%
    77.3\%
  • No data
    k
    5
    8\%
    50.0\%
    3\%
    51.3\%
    1\%
    55.3\%
    0.3\%
    32.7\%
  • No data
    k
    10
    8\%
    30.0\%
    3\%
    26.0\%
    1\%
    25.3\%
    0.3\%
    10.7\%
  • No data
    k
    20
    8\%
    10.7\%
    3\%
    5.3\%
    1\%
    4.7\%
    0.3\%
    4.0\%
  • No data
    k
    50
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.7\%
    0.3\%
    0.0\%
  • Per-field resample
    k
    1
    8\%
    81.3\%
    3\%
    67.3\%
    1\%
    48.7\%
    0.3\%
    38.7\%
  • No data
    k
    5
    8\%
    30.0\%
    3\%
    8.7\%
    1\%
    4.0\%
    0.3\%
    2.0\%
  • No data
    k
    10
    8\%
    8.7\%
    3\%
    1.3\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • No data
    k
    20
    8\%
    0.7\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • No data
    k
    50
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • Grammar
    k
    1
    8\%
    96.7\%
    3\%
    96.0\%
    1\%
    91.3\%
    0.3\%
    81.3\%
  • No data
    k
    5
    8\%
    90.0\%
    3\%
    82.7\%
    1\%
    61.3\%
    0.3\%
    47.3\%
  • No data
    k
    10
    8\%
    86.7\%
    3\%
    74.7\%
    1\%
    42.0\%
    0.3\%
    27.3\%
  • No data
    k
    20
    8\%
    76.0\%
    3\%
    52.0\%
    1\%
    23.3\%
    0.3\%
    6.0\%
  • No data
    k
    50
    8\%
    46.0\%
    3\%
    20.7\%
    1\%
    5.3\%
    0.3\%
    0.0\%
Table 23: Objection 1, budgeted search from the same feasible parent (200 evaluations, 20 seeds, n_{\ell}=8): minimise leg material subject to joint feasibility. “Best” is the best feasible material relative to the parent (lower is better); “Feas.” is the share of evaluations that were feasible.
  • Method
    8\%
    Best
    Feas.
    3\%
    Best
    Feas.
    1\%
    Best
    Feas.
    0.3\%
    Best
    Feas.
  • Flat, per-field clip ES (\sigma=0.1)
    8\%
    0.876
    87.2\%
    3\%
    0.883
    84.8\%
    1\%
    0.887
    82.8\%
    0.3\%
    0.903
    77.6\%
  • Flat, per-field clip ES (\sigma=0.3)
    8\%
    0.731
    81.5\%
    3\%
    0.765
    76.8\%
    1\%
    0.781
    74.9\%
    0.3\%
    0.821
    70.4\%
  • Flat, per-field resample ES
    8\%
    0.678
    67.2\%
    3\%
    0.730
    57.0\%
    1\%
    0.772
    49.2\%
    0.3\%
    0.828
    43.8\%
  • Flat, CMA-ES (\sigma=0.1)
    8\%
    1.000
    0.5\%
    3\%
    1.000
    0.5\%
    1\%
    1.000
    0.5\%
    0.3\%
    1.000
    0.5\%
  • Flat, CMA-ES (\sigma=0.01)
    8\%
    0.992
    7.8\%
    3\%
    0.992
    7.8\%
    1\%
    0.994
    7.1\%
    0.3\%
    0.995
    4.5\%
  • Grammar ES
    8\%
    0.523
    94.9\%
    3\%
    0.543
    89.2\%
    1\%
    0.568
    86.8\%
    0.3\%
    0.630
    82.5\%
  • Grammar CMA-ES
    8\%
    0.412
    69.7\%
    3\%
    0.410
    64.3\%
    1\%
    0.525
    53.4\%
    0.3\%
    0.697
    34.6\%
Table 24: Objection 2: separability and genome size, n_{\ell}=8. Box rows sample uniformly inside the tightest per-field interval box around 400 feasible designs; the rotation-augmented box first rotates each feasible body by a random angle, which never changes feasibility. The last rows run CMA-ES from scratch over a 12-parameter grammar genome (mirror-pair lengths and radii), 200 evaluations, 20 seeds.
  • Flat 64-D, uniform
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • Flat 64-D, box
    8\%
    0.4\%
    3\%
    0.5\%
    1\%
    0.2\%
    0.3\%
    0.1\%
  • Flat 64-D, rotation-augmented box
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • 5-D genome, uniform
    8\%
    1.2\%
    3\%
    0.3\%
    1\%
    0.1\%
    0.3\%
    0.0\%
  • 5-D genome, box
    8\%
    19.3\%
    3\%
    19.7\%
    1\%
    26.0\%
    0.3\%
    35.5\%
  • 12-D grammar, uniform
    8\%
    0.4\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • 12-D grammar CMA-ES: seeds with a feasible design
    8\%
    20/20
    3\%
    18/20
    1\%
    15/20
    0.3\%
    6/20
  • 12-D grammar CMA-ES: feasible evaluations
    8\%
    25.7\%
    3\%
    10.2\%
    1\%
    2.5\%
    0.3\%
    0.2\%
Table 25: Objection 3: hand-coded editors vs. grammar edits on a feasible parent (n_{\ell}=8, 400 trials per cell); feasibility of the edited body.
  • Add limb
    Editor
    Hand-coded
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • No data
    Editor
    Hand-coded + re-space
    8\%
    100.0\%
    3\%
    100.0\%
    1\%
    100.0\%
    0.3\%
    100.0\%
  • No data
    Editor
    Grammar
    8\%
    100.0\%
    3\%
    100.0\%
    1\%
    100.0\%
    0.3\%
    100.0\%
  • Remove limb
    Editor
    Hand-coded
    8\%
    0.0\%
    3\%
    0.0\%
    1\%
    0.0\%
    0.3\%
    0.0\%
  • No data
    Editor
    Hand-coded + re-space
    8\%
    93.0\%
    3\%
    82.5\%
    1\%
    58.8\%
    0.3\%
    0.0\%
  • No data
    Editor
    Grammar
    8\%
    93.0\%
    3\%
    82.5\%
    1\%
    58.8\%
    0.3\%
    0.0\%
  • Add segment
    Editor
    Hand-coded
    8\%
    100.0\%
    3\%
    100.0\%
    1\%
    100.0\%
    0.3\%
    100.0\%
  • No data
    Editor
    Grammar
    8\%
    100.0\%
    3\%
    100.0\%
    1\%
    100.0\%
    0.3\%
    100.0\%
  • Lengthen
    Editor
    Hand-coded
    8\%
    99.2\%
    3\%
    97.5\%
    1\%
    97.5\%
    0.3\%
    98.8\%
  • No data
    Editor
    Grammar
    8\%
    100.0\%
    3\%
    100.0\%
    1\%
    100.0\%
    0.3\%
    100.0\%
Table 26: Objection 4: generator \times gate factorial, 6000 draws per cell, n_{\ell}=8. Physics calls per feasible design found (“–” when none was found).
  • Flat, gate off
    8\%
    – (0)
    3\%
    – (0)
    1\%
    – (0)
    0.3\%
    – (0)
  • Flat, gate on
    8\%
    – (0)
    3\%
    – (0)
    1\%
    – (0)
    0.3\%
    – (0)
  • Grammar, gate off
    8\%
    47.6 (126)
    3\%
    105.3 (57)
    1\%
    315.8 (19)
    0.3\%
    857.1 (7)
  • Grammar, gate on
    8\%
    1.0 (126)
    3\%
    1.0 (57)
    1\%
    1.0 (19)
    0.3\%
    1.0 (7)

Appendix L Full Validity Comparison

The full validity comparison is given in table 27.

Table 27: Validity comparison, grammar-guided mutation vs. 14 alternatives, 400 trials each (post-fix geometry)
  • Grammar-guided (ours)
    Valid / 400
    400 (100%)
  • Pure re-initialization (sanity floor, not a real competitor)
    Valid / 400
    400 (100%)
  • Mild-only rescale
    Valid / 400
    400 (100%)
  • Range-constrained resampling
    Valid / 400
    400 (100%)
  • Adversarial mixture
    Valid / 400
    326 (82%)
  • Uniform resampling (structure-blind)
    Valid / 400
    307 (77%)
  • Adversarial mixture, 5 compounded mutations
    Valid / 400
    276 (69%)
  • Extreme-only (collapse/flip/blow-up)
    Valid / 400
    246 (62%)
  • Adversarial mixture, 10 compounded mutations
    Valid / 400
    209 (52%)
  • Delete element
    Valid / 400
    120 (30%)
  • Subtree-swap crossover
    Valid / 400
    58 (14%)
  • Naive numeric-average crossover
    Valid / 400
    46 (12%)
  • Duplicate element
    Valid / 400
    0
  • Byte-level bit-flip
    Valid / 400
    0
  • Latent-space perturbation (GLSO-style contrast)
    Valid / 400
    0

Appendix M Raw Per-Seed Results

Per-seed values for every search comparison in this paper are released with the code; Figure 4 plots them for the main comparison. The six-method per-seed table of earlier versions predates the geometry fix and is withdrawn.

Table 28: Per-seed best fitness for Table 5 (budget 40, post-fix geometry): no gate (None), geometric gate (Geo.), geometric gate plus gait pre-check (+Gait). The earlier 8-seed version of this table predates the geometry fix and is withdrawn.
  • 0
    None
    0.468
    Geo.
    0.320
    +Gait
    -0.082
    Seed
    12
    None
    0.505
    Geo.
    0.264
    +Gait
    0.288
  • 1
    None
    0.129
    Geo.
    0.257
    +Gait
    0.346
    Seed
    13
    None
    0.243
    Geo.
    0.385
    +Gait
    0.296
  • 2
    None
    0.457
    Geo.
    0.484
    +Gait
    0.523
    Seed
    14
    None
    0.444
    Geo.
    0.557
    +Gait
    0.444
  • 3
    None
    0.473
    Geo.
    0.557
    +Gait
    0.360
    Seed
    15
    None
    0.396
    Geo.
    0.291
    +Gait
    0.255
  • 4
    None
    0.308
    Geo.
    -0.590
    +Gait
    -0.590
    Seed
    16
    None
    0.398
    Geo.
    0.524
    +Gait
    0.380
  • 5
    None
    0.283
    Geo.
    0.279
    +Gait
    0.213
    Seed
    17
    None
    0.205
    Geo.
    0.126
    +Gait
    0.110
  • 6
    None
    0.337
    Geo.
    0.450
    +Gait
    0.105
    Seed
    18
    None
    0.291
    Geo.
    0.300
    +Gait
    0.451
  • 7
    None
    0.354
    Geo.
    0.316
    +Gait
    0.291
    Seed
    19
    None
    0.223
    Geo.
    0.174
    +Gait
    -0.106
  • 8
    None
    0.501
    Geo.
    0.520
    +Gait
    0.431
    Seed
    20
    None
    0.163
    Geo.
    0.323
    +Gait
    0.333
  • 9
    None
    0.099
    Geo.
    0.410
    +Gait
    0.436
    Seed
    21
    None
    0.304
    Geo.
    0.164
    +Gait
    0.498
  • 10
    None
    0.344
    Geo.
    0.524
    +Gait
    0.429
    Seed
    22
    None
    0.434
    Geo.
    0.520
    +Gait
    0.497
  • 11
    None
    0.405
    Geo.
    0.422
    +Gait
    0.328
    Seed
    23
    None
    0.375
    Geo.
    0.434
    +Gait
    0.232