Organizations: Robotics and Autonomous Systems (AI), Arizona State University, Tempe, USA · Department of Artificial Intelligence, Arizona State University, Tempe, USA
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. A geometric realization map translates grammar composition into transformations in SE(3), behaving as a monoid homomorphism when inheritance is inactive and exhibiting a measurable defect when inheritance is enabled. The grammar provides a compact representation, and its arbitration decisions can be recovered from geometric containment (agreement 0.905 +/- 0.062 across 10 seeds, versus 0.611 +/- 0.090 for a Euclidean control). We also introduce PANINI, a cross-entropy search method over grammar-based morphology representations. Across 30 methods and 24 seeds, PANINI achieves the best mean rank but is not statistically distinguishable from strong generic optimizers. Its main demonstrated advantage is therefore structural rather than optimization performance: grammar-generated designs are legal by construction, and coordinated limb placement produces 95% jointly feasible edits, compared with 55% for range-constrained resampling and none for flat parameterization in 6,000 draws. These results show how typed grammars can make robot generation more interpretable and geometrically coordinated, without implying that every feasible design will locomote or that grammar-based search universally outperforms generic optimizers.
Figures & tables
Symbol
Meaning
R
case-role set { Agent, Patient, Instrument, Location, Source, Goal }
F
case frame: partial map R→ Entities
r
production rule (condition, transformation, parameters)
s(r)
specificity index of rule r
T
derivation: ordered sequence of applied rules
Φ(T)
SE(3) transform (or kinematic tree) realizing derivation T
Table 1: Notation used throughout the paper.
Figure 1: A derivation is realized by Φ , gated for feasibility before any physics call, evaluated in simulation, and the resulting fitness drives mutation of the grammar’s own parameters.
Figure 2: Feasibility by construction (a) and the best found design (b).
Domain
Split
Error
Rule-ID accuracy
Manip.
In-dist.
0.044 (twist MSE)
100%
Manip.
Held-out
0.012 (twist MSE)
100%
Morph.
In-dist.
0.0002 (placement MSE)
100%
Morph.
Held-out
0.043 (placement MSE)
100%
Table 2: Compositional generalization in both domains.
Method
Mean ± std.
Mean rank (of 30)
Nemenyi p
PĀṇini
0.411±0.088
9.33
—
IPOP-CMA-ES ( Hansen, 2016 )
0.397±0.086
10.04
1.000
Cross-entropy method ( Rubinstein, 1999 )
0.390±0.104
10.88
1.000
PSO ( Kennedy and Eberhart, 1995 )
0.374±0.138
11.19
1.000
Coarse-to-fine (RoboMoRe analogue)
0.383±0.095
12.04
1.000
TuRBO ( Eriksson et al., 2019 )
0.361±0.144
12.17
1.000
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 .
Method
RL mean rank
RL fitness
Proxy mean rank
Nemenyi p
Coordinate descent (1 distinct design)
5.17
2.690±0.355
19.88
0.0004
IPOP-CMA-ES
10.08
2.256±0.517
11.46
0.505
Novelty search
11.08
2.121±0.638
10.96
0.825
Random search
12.62
2.036±0.629
17.94
0.996
(19 further methods: RL ranks 12.75–16.29, all p≥0.997 )
Grammar-guided evolution (GGE)
16.75
1.642±0.924
16.92
—
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 .
Best fitness
Wins vs. no gate
p
No gate
0.339±0.115
—
—
Geometric gate
0.334±0.230
15/24
0.91
Geometric + gait pre-check
0.269±0.242
9/24
0.20
Table 5: Gate ablation: 40 physics evaluations, 24 seeds, and corrected geometry. Paired t -tests compare with no gate. Per-seed results: Appendix M .
n=24
n=48
b=60
b=120
b=60
b=120
Curriculum / plain PĀṇini fitness
0.459/0.411
0.508/0.455
0.449/0.388
0.490/0.429
Friedman p
1.1×10−4
4.5×10−5
2.7×10−5
4.5×10−6
vs. IPOP-CMA-ES
0.486
0.134
0.027
0.051
vs. PSO
0.486
0.579
0.004
0.046
vs. Cross-entropy method
0.346
0.194
0.358
0.034
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.
Table 8: All 30 search methods, budget 60, n=24 seeds, sorted by mean rank (Friedman χ2=134.15 , p=1.8e−15 ). “an.” marks a budget-matched analogue of a recent method (§ 4 ). Bold: Nemenyi p<0.05 .
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.
Target feasibility p
0.50
0.20
0.05
0.01
Required reach
0.231
0.367
0.495
0.561
Measured p
0.463
0.177
0.040
0.0035
Predicted 1/p
2.2
5.7
25.0
285.7
Gate-off mean tries (std)
1.8(1.1)
3.8(2.7)
21.2(19.5)
124.4(130.7)
Gate-on cost (by construction)
1.0
1.0
1.0
1.0
Appendix
Table 9: Feasibility-gate cost scaling across four difficulty levels (24 seeds per level for gate-off tries, post-fix geometry).
Target feasibility p (measured)
0.50 ( 0.476 )
0.20 ( 0.156 )
0.05 ( 0.048 )
0.01 ( 0.006 )
Grammar-guided evolution
80.0%
61.6%
28.7%
7.8%
+ random restarts
73.1%
41.2%
17.8%
3.8%
+ feasible seeding
72.8%
35.3%
5.3%
0.6%
Blind random search
47.8%
17.8%
2.8%
0.6%
p , evolution
<10−4
0.003
0.024
0.19
p , + restarts
<10−3
0.012
0.080
0.40
Appendix
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.
Table 12: Counterfactual structural-validity test: careful vs. naive hand-coded editors, 400 trials each (post-fix geometry).
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 ).
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.
Method
RL mean rank
RL mean fitness
RL std
PSO
3.12
1.384
0.517
PĀṇini (proposed)
3.29
1.476
0.697
Grammar-guided evolution (GGE)
3.33
1.390
0.704
Cross-entropy method
3.62
1.249
0.564
IPOP-CMA-ES
3.75
1.179
0.449
CMA-ES (simplified)
3.88
1.273
0.751
Appendix
Table 13: PĀṇini-specific RL re-scoring: 144 final designs (6 methods × 24 seeds), sorted by RL mean rank. Friedman χ2=2.95 , p=0.71 – not significant, so no post hoc test is reported.
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.
Intervention
Setting
Result
Test
Larger, heterogeneous design space
hetero, n =10, b =80
3rd of 4: 0.846 vs. PSO 0.927 , IPOP 0.903
Friedman p=0.056
Fitness noise (30% std)
n =24, b =60
0.301 vs. CEM 0.305 ; n =6 screening signal not reproduced
Friedman p=0.39
Subtree crossover/mutation
hetero, n =24, b =60/120
2nd of 5 at both budgets ( 0.841 , 0.945 ); IPOP 0.829 , 0.974 ; structurally new offspring 94% of the time
Friedman 0.39 / 0.034 ; Nemenyi ≥0.055
Transfer to held-out limb counts
hetero, n =24, b =80
Last of 5: 0.810 vs. IPOP 0.960 , PSO 0.951 , cold PĀṇini 0.893 (17/24 seeds worse than cold control)
Nemenyi 0.012 , 0.038 (worse)
Niche regimes ( b =10–35; stricter specs)
8 screens, n =8/24
Best screen ( b =35, 0.375 vs. CEM 0.355 ) does not survive correction
Friedman p=0.51 ; Holm 0/8
Appendix
Table 14: Compact summary of the main non-curriculum investigations.
Task (fixed horizon)
Planner
Success
Grasp rate
Mean place error
Reach (120 steps)
Grammar
86.0%
—
—
Reach (120 steps)
Baseline (uninformed)
86.0%
—
—
Reach (120 steps)
Informed
100.0%
—
—
Grasp+Lift (360 steps)
Grammar
100.0%
100.0%
—
Grasp+Lift (360 steps)
Baseline (uninformed)
0.0%
0.0%
—
Grasp+Lift (360 steps)
Informed
100.0%
100.0%
—
Appendix
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.
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.
Legal
Feasible
Condition
8%
3%
1%
0.3%
Naive numeric-average crossover ‡
300
300
300
300
300
Mild-only rescale †
300
296
294
294
282
Grammar-guided (ours)
300
285
266
225
169
Adversarial mixture
250
212
199
193
184
Adversarial mixture, 5 compounded
234
194
186
177
162
Appendix
Table 16: The 15 validity conditions of Table 27 in the very-low-feasibility environment ( nℓ=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.
Pooled target pass rate
8%
3%
1%
0.3%
Sampling, flat
0.0%
0.0%
0.0%
0.0%
Sampling, grammar
13.1%
6.5%
2.8%
1.0%
CMA-ES, flat: seeds with any feasible design
0/20
0/20
0/20
0/20
CMA-ES, grammar: seeds with any feasible design
20/20
20/20
20/20
20/20
CMA-ES, grammar: feasible evaluations
30.7%
31.1%
27.4%
26.9%
Appendix
Table 17: Flat per-limb parameterization vs. grammar construction, nℓ=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.
New and feasible
Tip displacement
Condition
8%
3%
1%
0.3%
( 8% level)
Grammar-guided (ours)
77%
65%
52%
37%
15.3 mm
Range-constrained resampling
18%
13%
12%
11%
90.0 mm
Mild-only rescale †
14%
14%
12%
9%
0.4 mm
Adversarial mixture
12%
8%
7%
4%
32.0 mm
Naive numeric-average crossover ‡
97%
96%
97%
83%
51.5 mm
Appendix
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 .
Method
8%
3%
1%
0.3%
Range-constrained resampling: seeds feasible
0/20
0/20
0/20
0/20
Per-field clip (flat): seeds feasible
0/20
0/20
0/20
0/20
Grammar (5-parameter genome): seeds feasible
20/20
20/20
20/20
20/20
Grammar: feasible evaluations
69.6%
64.5%
63.0%
62.4%
Appendix
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, (μ+λ) search minimising constraint violation.
Objection
Measure (baseline vs. grammar)
8%
0.3%
(1)
Feasible after 10 mutations
30.0 vs. 86.7%
10.7 vs. 27.3%
(1)
Best material in search (lower better)
0.678 vs. 0.412
0.821 vs. 0.630
(2)
Box feasible (flat 64-D vs. 5-D)
0.4 vs. 19.3%
0.1 vs. 35.5%
(2)
Seeds feasible (flat vs. 12-D grammar)
0/20 vs. 20/20
0/20 vs. 6/20
(3)
Add a limb (hand-coded vs. grammar)
0 vs. 100%
0 vs. 100%
(4)
Physics calls per feasible (gate off vs. on)
47.6 vs. 1
857 vs. 1
Appendix
Table 20: Four objections in the hard space ( nℓ=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.
Condition
p≈0.30 (area ≥0.099 )
p≈0.10 ( ≥0.127 )
p≈0.05 ( ≥0.142 )
Grammar-guided (ours)
94
48
24
Pure re-initialization
78
37
35
Independent random mount angle
49 [ <10−4 ]
21 [ 0.001 ]
10 [ 0.023 ]
Range-constrained resampling
103
52
41 [ 0.038 ]
Hand-coded, coordinated (no grammar)
87
38
32
Hand-coded, random angle (no grammar)
42 [ <10−4 ]
18 [ <10−3 ]
13
Appendix
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: χ2p against grammar-guided where p<0.05 . All 400 mutants in every row loaded and stepped.
Mutation
k
8%
3%
1%
0.3%
Per-field clip
1
89.3%
85.3%
92.7%
77.3%
5
50.0%
51.3%
55.3%
32.7%
10
30.0%
26.0%
25.3%
10.7%
20
10.7%
5.3%
4.7%
4.0%
50
0.0%
0.0%
0.7%
0.0%
Per-field resample
1
81.3%
67.3%
48.7%
38.7%
Appendix
Table 22: Objection 1, random walk: fraction of 150 walks still feasible after k unselected mutations from the same feasible parent, nℓ=8 limbs. Columns are pooled target pass rates.
8%
3%
1%
0.3%
Method
Best
Feas.
Best
Feas.
Best
Feas.
Best
Feas.
Flat, per-field clip ES ( σ=0.1 )
0.876
87.2%
0.883
84.8%
0.887
82.8%
0.903
77.6%
Flat, per-field clip ES ( σ=0.3 )
0.731
81.5%
0.765
76.8%
0.781
74.9%
0.821
70.4%
Flat, per-field resample ES
0.678
67.2%
0.730
57.0%
0.772
49.2%
0.828
43.8%
Flat, CMA-ES ( σ=0.1 )
1.000
0.5%
1.000
0.5%
1.000
0.5%
1.000
0.5%
Flat, CMA-ES ( σ=0.01 )
0.992
7.8%
0.992
7.8%
0.994
7.1%
0.995
4.5%
Appendix
Table 23: Objection 1, budgeted search from the same feasible parent (200 evaluations, 20 seeds, nℓ=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.
Test
8%
3%
1%
0.3%
Flat 64-D, uniform
0.0%
0.0%
0.0%
0.0%
Flat 64-D, box
0.4%
0.5%
0.2%
0.1%
Flat 64-D, rotation-augmented box
0.0%
0.0%
0.0%
0.0%
5-D genome, uniform
1.2%
0.3%
0.1%
0.0%
5-D genome, box
19.3%
19.7%
26.0%
35.5%
12-D grammar, uniform
0.4%
0.0%
0.0%
0.0%
Appendix
Table 24: Objection 2: separability and genome size, nℓ=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.
Edit
Editor
8%
3%
1%
0.3%
Add limb
Hand-coded
0.0%
0.0%
0.0%
0.0%
Hand-coded + re-space
100.0%
100.0%
100.0%
100.0%
Grammar
100.0%
100.0%
100.0%
100.0%
Remove limb
Hand-coded
0.0%
0.0%
0.0%
0.0%
Hand-coded + re-space
93.0%
82.5%
58.8%
0.0%
Grammar
93.0%
82.5%
58.8%
0.0%
Appendix
Table 25: Objection 3: hand-coded editors vs. grammar edits on a feasible parent ( nℓ=8 , 400 trials per cell); feasibility of the edited body.
Generator, gate
8%
3%
1%
0.3%
Flat, gate off
– (0)
– (0)
– (0)
– (0)
Flat, gate on
– (0)
– (0)
– (0)
– (0)
Grammar, gate off
47.6 (126)
105.3 (57)
315.8 (19)
857.1 (7)
Grammar, gate on
1.0 (126)
1.0 (57)
1.0 (19)
1.0 (7)
Appendix
Table 26: Objection 4: generator × gate factorial, 6000 draws per cell, nℓ=8 . Physics calls per feasible design found (“–” when none was found).
Condition
Valid / 400
Grammar-guided (ours)
400 (100%)
Pure re-initialization (sanity floor, not a real competitor)
400 (100%)
Mild-only rescale
400 (100%)
Range-constrained resampling
400 (100%)
Adversarial mixture
326 (82%)
Uniform resampling (structure-blind)
307 (77%)
Appendix
Table 27: Validity comparison, grammar-guided mutation vs. 14 alternatives, 400 trials each (post-fix geometry)
Seed
None
Geo.
+Gait
Seed
None
Geo.
+Gait
0
0.468
0.320
−0.082
12
0.505
0.264
0.288
1
0.129
0.257
0.346
13
0.243
0.385
0.296
2
0.457
0.484
0.523
14
0.444
0.557
0.444
3
0.473
0.557
0.360
15
0.396
0.291
0.255
4
0.308
−0.590
−0.590
16
0.398
0.524
0.380
5
0.283
0.279
0.213
17
0.205
0.126
0.110
Appendix
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.
Designing task-specific robotic hands requires translating diverse task requirements into morphologies that are both functional and manufacturable. Existing parametric and optimization-based approaches provide systematic design tools, but often rely on expert-defined objectives, manual tuning, or simulation-based search. Large language models (LLMs), with broad semantic knowledge and reasoning capabilities, offer a promising way to interpret task requirements directly from natural language. We present Lang2Morph, an LLM-driven framework that maps natural-language task descriptions to fabricable robotic hand morphologies within the Open Parametric Hand (OPH) design space. Lang2Morph combines task reasoning, structured morphology generation, geometric constraints, and feedback-guided selection to produce task-conditioned hand designs. Morphology-level analyses demonstrate high design feasibility and task-dependent structural variation, while real-world experiments with three fabricated hands reveal distinct functional characteristics across manipulation tasks. These results highlight the potential of LLMs as practical interfaces for task-driven robotic hand design.
Yanyuan Qiao, Kieran Gilday, Yutong Xie +1
CREATE Lab, Swiss Federal Institute of Technology Lausanne (EPFL), Lausanne, Switzerland. · Computer Vision Department, Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), Abu Dhabi, UAE.
Many stages of the robotic lifecycle, from morphology synthesis to operation, rely fundamentally on the reachable workspace. However, current methods for approximating workspaces are slow, imprecise, or tied to a single morphology. We introduce Reachability Across Morphologies (RAM): a morphology-conditioned, implicit neural representation that acts as a fast, differentiable surrogate for pose reachability, generalising to unseen morphologies while inherently accounting for self-collisions. RAM is trained on a large-scale dataset of 3⋅1010 samples generated solely from forward kinematics, which we publish alongside the model. Experiments show that RAM reaches 84% balanced accuracy at nanosecond inference, 15 percentage points higher than a generative inverse kinematics baseline that also generalises across morphologies, while running three orders of magnitude faster. This speed carries over to downstream tasks, accelerating morphology and trajectory optimisation by one to two orders of magnitude.
Tim Walter, Xinyu Chen, Jonathan Külz +1
Department of Computer Engineering, Technical University Munich, Germany · German Electron Synchrotron, University of Hamburg, Germany
Robot performance is often limited by the cost of iterating on morphology and control together, since every computer-aided design (CAD) change has to be carried into a simulation-ready model before control work begins. Co-design methods attempt to close this gap, but each uses a model generator written for a single platform or lack the use of real-world data to suggest that designs are plausible. We present Draft, a parametric generation tool whose generalized engine compiles any parametric tree of serial chains into a simulation-ready MJCF model, without CAD. It allows engineers to explore design tradeoffs through easily adjustable models and evaluate how changes influence controller performance. Draft grounds the free parameters of each design using trends fitted to a survey of 114 actuators and 49 published robot descriptions, so that a generated robot is anchored to real-world hardware. We validate those trends wholistically by building twins of four off-the-shelf robots, whose masses agree to 1.10× geometric mean fold error. Finally, we demonstrate how Draft exposes design tradeoffs by evaluating three quadrupeds through a two-stage reinforcement learning curriculum.
David Nguyen, Marcelo Coelho, Sangbae Kim
Department of Mechanical Engineering, Massachusetts Institute of Technology · Department of Architecture, Massachusetts Institute of Technology