Research
Benchmarking and Reasoning Distillation of Large Language Models for Feedback Controller Design in Complex Dynamical Systems
Existing benchmarks for LLM-based controller design, most notably ControlBench (147 undergraduate-level problems), focus almost entirely on linear single-DoF systems and on large API-hosted models…

- arXiv
- 2608.07004 · Preprint · not peer-reviewed
- Published
- 2026-08-07
- Authors
- Zhongchao Zhou, Yixuan Xie, Wenwei Yu, Yuxi Lu, Yaonan Zhu, Qian Niu, Yutaka Matsuo, Yusuke Iwasawa
In plain words
Existing benchmarks for LLM-based controller design, most notably ControlBench (147 undergraduate-level problems), focus almost entirely on linear single-DoF systems and on large API-hosted models, so it is unclear how well LLMs handle realistic multi-DoF, nonlinear, time-varying, coupled plants, or whether such design capability can run on resource-constrained edge hardware.
Key results
- DoF is the dominant difficulty factor. model-averaged success varies by 36.3% across DoF counts, the largest of the five dimensions.
- Controller type is the second-largest factor. the model-averaged success-rate range across controller types is 17.6 percentage points, exceeding the variation from system type, coupling level, and damping regime.
- Distillation works and transfers to hardware. the reasoning-distilled DeepSeek-1.5B-control-think outperforms the answer-distilled model and the base model on CoDyControlBench, maintains stable performance across 1–6 DoFs, and achieved successful target tracking in all three physical trials on the PAM-driven arm.
AI summary
Overview
Research area: LLM-assisted control engineering, specifically feedback controller design for multi-DoF dynamical systems, plus reasoning distillation into small edge-deployable models. Technical level: Advanced (requires familiarity with state-space control, PID/SMC design, and LLM fine-tuning). Scope: The paper introduces CoDyControlBench, a 132-configuration benchmark for evaluating six state-of-the-art LLMs on controller design, and builds a 1.5B-parameter specialized model via reasoning distillation that is validated on a real pneumatic-artificial-muscle robotic arm.
What This Paper Is About
Existing benchmarks for LLM-based controller design, most notably ControlBench (147 undergraduate-level problems), focus almost entirely on linear single-DoF systems and on large API-hosted models, so it is unclear how well LLMs handle realistic multi-DoF, nonlinear, time-varying, coupled plants, or whether such design capability can run on resource-constrained edge hardware. The authors build a harder benchmark spanning five complexity dimensions, evaluate six leading commercial and open-source LLMs on it, and then distill a small specialized model to bring controller design to edge devices.
Key Contributions
- CoDyControlBench: a benchmark of 132 system configurations organized along five dimensions (number of DoF from 1–6, four system types, two coupling levels, three damping regimes, and two controller families), covering both PID-family and SMC-family design tasks.
- A systematic baseline evaluation of six state-of-the-art LLMs (GPT-5.5, Gemini 3.1 Pro, Claude Opus 4.8, GLM-5.2, DeepSeek-V4-Pro, Qwen3.5-397B), each run three times under two iteration protocols (Fixed-3 and Success-Stop).
- A lightweight 1.5B-parameter control-specialized model built by reasoning distillation from DeepSeek-R1-Distill-Qwen-1.5B, with an answer-distilled variant and the base model as controlled comparisons.
- Real-world validation of the distilled models on a one-DoF robotic arm actuated by pneumatic artificial muscle (PAM), running locally on an NVIDIA Jetson AGX Orin 64GB.
Main Findings
- Large spread in design success: GPT achieves the highest overall success rate at 94.8% (±0.8) under Fixed-3, followed by Gemini at 90.4% (±1.2) and GLM at 82.3% (±5.0). Claude (58.0%), DeepSeek (55.1%), and Qwen (50.0%, the lowest) form a clearly lower tier. Under Success-Stop the ordering is similar (GPT 91.7%, Gemini 91.4%, GLM 80.3%, Claude 58.7%, DeepSeek 53.3%, Qwen 46.8%).
- DoF is the dominant difficulty factor: model-averaged success varies by 36.3% across DoF counts, the largest of the five dimensions. GPT is the only model staying above 88% success from 1 to 6 DoFs; Gemini and GLM drop by 20.1 and 25.7 percentage points respectively between 1 DoF and 6 DoFs, and Claude, DeepSeek, and Qwen fall below 40% at 5–6 DoFs.
- Controller type is the second-largest factor: the model-averaged success-rate range across controller types is 17.6 percentage points, exceeding the variation from system type, coupling level, and damping regime.
- SMC is easier to get working, PID scores better when it works: the SMC-family condition reaches a model-averaged success rate of 80.6% versus 63.0% for the PID family, yet successful PID designs obtain better average performance scores. The authors attribute this to the SMC template's explicit algebraic structure versus PID's heuristic gain search, and note that LLM-generated SMCs tend to be conservative or oscillatory.
- Coupling barely matters in aggregate: independent and coupled multi-DoF systems reach mean success rates of 68.9% and 70.7%, with mean scores shifting only from −0.84 to −0.88.
- Nonlinearity and time variation have limited aggregate effect: the model-averaged success difference between LTI and NLTV systems is only 9.3 percentage points, though NLTV is worse than LTI for every model.
- Damping behaves counterintuitively: overdamped systems generally show lower success rates and worse scores than critically damped and underdamped ones, opposite to conventional second-order expectations.
- The GPT–Qwen gap is about applying control knowledge: the paper attributes the difference mainly to gain selection and the use of transient-limiting mechanisms, not to generic reasoning ability.
- Distillation works and transfers to hardware: the reasoning-distilled DeepSeek-1.5B-control-think outperforms the answer-distilled model and the base model on CoDyControlBench, maintains stable performance across 1–6 DoFs, and achieved successful target tracking in all three physical trials on the PAM-driven arm.
Methodology in Plain English
The authors define task complexity along five independent axes and generate 132 concrete plants from them: state-space models where the system matrix may be constant (LTI), state-dependent (NLTI), time-varying (LTV), or both (NLTV), with the input matrix held constant so that difficulty comes from the plant rather than the actuator. Each benchmark case is presented to the model with a fixed system prompt asking for either a PID-family or SMC-family controller that drives every DoF to a constant step target of 5, simulated for 5 seconds at a 10 ms sampling interval, and filled into a provided code template with explicit placeholders.
Design is iterative: after each attempt the model receives performance metrics or error logs and can revise. Under Fixed-3 the model performs exactly three iterations and the best successful controller counts; under Success-Stop iteration ends as soon as the pass criteria are met, up to three attempts. A trial fails if any sample in the final second leaves the ±2% steady-state band or if overshoot exceeds 100% of the target. Successful trials are scored with a weighted penalty combining steady-state error (weight 2), overshoot (weight 2), and delay time (weight 1), plus a fixed penalty of 5 when terminal oscillation is detected in the final 0.5 s. Multi-DoF scores are the arithmetic mean across DoFs.
For the small model, GPT-5.5 acts as teacher on 599 controller-tuning episodes drawn from randomly sampled LTI systems with up to ten rounds of response feedback. No benchmark instances or solutions were used in training, and the training and evaluation systems came from separately defined parameter distributions so that benchmark performance reflects out-of-distribution generalization. Two students were trained identically — one on short rationales plus code, one on full diagnostic reasoning traces plus code — using 4-bit QLoRA (rank 16, alpha 32, dropout 0.05) on all attention and feed-forward projections, AdamW at 1.5e-4, effective batch size 8, max sequence length 1,792 tokens, three epochs. For evaluation of these small models the steady-state band was relaxed from 2% to 5% and iterations increased from three to ten (Fixed-10), with DeepSeek-V4-Pro re-evaluated under the same relaxed setting for fairness. Finally, the models were run locally on a Jetson to drive a PAM-driven arm to 50 degrees, with angle and angular velocity from a BNO055 IMU over I2C and commands sent via hardware PWM, three trials per model.
Why This Matters
This is the first benchmark the authors present that pushes LLM controller design past textbook single-DoF linear problems into coupled, nonlinear, time-varying systems up to 6 DoFs, giving the field a harder and more discriminative yardstick than ControlBench. It also demonstrates that a 1.5B model can be specialized for control tuning and run on-device, which directly addresses the latency, connectivity, privacy, and bandwidth problems of cloud-only inference in robotic control loops.
Real-world applications:
- Onboard controller tuning for legged, wearable, and soft robotic systems where nonlinearity and coupling are strong and cloud links are impractical.
- Prosthetic and rehabilitation devices driven by pneumatic artificial muscles, where the demonstrated arm platform is directly representative.
- Industrial mechatronics and energy-management systems needing rapid re-tuning under parameter drift or payload change.
- Field or surgical robots where data cannot leave the device for security and privacy reasons.
Industry relevance: the results give a concrete picture of which model families are reliable enough for control synthesis today, and show a viable path to embedding that capability in low-cost edge hardware rather than renting frontier-model API access.
Future Directions
- Extending the benchmark beyond 1–6 DoFs and beyond the two extreme coupling levels, since intermediate partial coupling was deliberately excluded and high-DoF settings are where most models collapse.
- Broadening the controller families and physical platforms: only PID and SMC are covered, and real-world validation is limited to a single one-DoF PAM arm at one target angle of 50 degrees.
- Improving the weak spot the analysis identifies: PID gain selection and transient-limiting behavior under limited iteration feedback, where the gap between models concentrates.
- Investigating why damping regime behaves counterintuitively (overdamped cases performing worse) and whether the relaxed 5% band and Fixed-10 protocol used for small models can be tightened as those models improve.
Target Audience
Control engineering and robotics researchers interested in LLM-assisted design, practitioners building edge-deployable controllers for nonlinear or soft robotic systems, and LLM researchers working on domain benchmarks and reasoning distillation. Readers without a control background will find the benchmark framing accessible, but the distillation and evaluation details assume familiarity with state-space modeling and parameter-efficient fine-tuning.
Authors’ abstract
Although remarkable capabilities have been demonstrated by Large Language Models (LLMs) across scientific domains, feedback controller design remains underexplored. Existing benchmarks focus mainly on linear single-Degree-of-Freedom (DoF) systems and large API-hosted models, leaving performance on complex controller-design tasks and feasibility for edge deployment unclear. To address these limitations, we introduce the Complex Dynamics-to-Control Benchmark for Large Language…
The full abstract on arXivRelated papers
- Reinforcement Learning Based Multi-Terrain Adaptive Whole-Body Control for a Quadruped Manipulator 2026-10-16 · cs.RO · Also by Yaonan Zhu, Yusuke Iwasawa +1
- Auditing Instruction-Trajectory Mismatches in Multimodal Robot Demonstrations 2026-08-08 · cs.RO · Also by Yusuke Iwasawa, Yutaka Matsuo
- DREAM: Deployment-Time Demonstration Generation via Real-to-Sim for Scalable Policy Adaptation 2026-08-29 · cs.RO · Also by Yusuke Iwasawa, Yutaka Matsuo
- PHASE: Compliance-Enabled Tactile Phase Retrieval for Few-Shot Insertion Learning 2026-09-25 · cs.RO · Also by Yusuke Iwasawa
- DyPES-VLA: Learning Shared Dynamics Priors and Embodiment-Specific Control for Cross-Embodiment Manipulation 2026-08-06 · cs.RO · Key terms of the title in common