LLMs for Engineering: Teaching Models to Design High Powered Rockets
Toby Simonds
TL;DR
This work investigates applying language-model–based systems to high-powered rocket design using RocketBench, a bridge to the RocketPy 6-DOF simulator. It defines two design tasks—target apogee optimization and precision landing—and shows baseline LLMs possess substantial engineering knowledge but struggle to iteratively improve designs from simulation feedback, with performance plateauing below human experts. By training with Group Relative Policy Optimization (GRPO) on a 7B Qwen model, the authors achieve superhuman performance, attaining precision landings within 12 m and peak scores exceeding human baselines on both tasks. The results suggest RL-augmented LLMs can serve as powerful optimization tools in engineering domains when interfaced with domain-specific simulators, enabling accelerated design cycles and novel capabilities beyond traditional software-focused tasks.
Abstract
Large Language Models (LLMs) have transformed software engineering, but their application to physical engineering domains remains underexplored. This paper evaluates LLMs' capabilities in high-powered rocketry design through RocketBench, a benchmark connecting LLMs to high-fidelity rocket simulations. We test models on two increasingly complex design tasks: target altitude optimization and precision landing challenges. Our findings reveal that while state-of-the-art LLMs demonstrate strong baseline engineering knowledge, they struggle to iterate on their designs when given simulation results and ultimately plateau below human performance levels. However, when enhanced with reinforcement learning (RL), we show that a 7B parameter model outperforms both SoTA foundation models and human experts. This research demonstrates that RL-trained LLMs can serve as effective tools for complex engineering optimization, potentially transforming engineering domains beyond software development.
