Information Society 2026 Published Reinforcement learning

RocketSim: Benchmarking Reinforcement-Learning Hover Control of a Reusable Booster

Swarnendu Ghosh*, David Muhič, Branko Šter

Faculty of Computer and Information Science (FRI), University of Ljubljana, Slovenia  ·  *corresponding author

29th International Multiconference Information Society (IS 2026), Ljubljana, 5–9 October 2026  ·  Vol. 1, pp. 64–67  ·  DOI 10.70314/is.2026.skui.80

Read the paper (PDF, 4 pages) Cite All LANCER papers

Abstract. Reinforcement learning (RL) is increasingly proposed for controlling reusable rockets, but existing studies address landing, where touchdown gives the learner a clear goal. We ask what happens when the task is instead to hover at a fixed height, where no such goal event exists. We built RocketSim, a configurable rocket-control simulator in the Unity game engine, and trained proximal policy optimisation (PPO) to release a booster at 80 m and hold it at 30 m. The agent learned to stay upright, stay over the pad and fly until its tanks ran dry, but not to hold the commanded height: with nothing changed but the random seed, its final altitude ranged from the ground to the ceiling. Two causes are responsible. First, the reward ranks obedient flight highest, since a hand-written controller that follows the command scores 23% more under it, but far from the target it barely changes with height, so PPO has no gradient to follow. Second, below 33.6 t the engine cannot throttle under its 39% floor, so for the last 55% of the burn no setting holds altitude. We tried to repair both: three reshaped objectives cut the mean final error from 36 to 6 m but still strand one seed in five, and a vehicle that can throttle down sinks instead. Hover has to be fixed in the reward and in the vehicle together.

Keywords: reinforcement learning, reusable launch vehicle, hover control, benchmark, reward shaping, Unity ML-Agents, PPO

The short version

Landing is an easy task to reward: the flight ends at touchdown and success is a clear event. Hovering at a set height has no such event. The agent is paid a little every second for being close to the target, and nothing ends the flight except a failure. We built a simulator to see what PPO does with that task, and the answer is that it learns almost everything except the one thing that was asked.

24 – 105 mmean altitude error across five seeds, at final scores within ±10% of each other
100.3 vs 81.6return of a simple hand-written controller that obeys the command, against the learned policy
33.6 tmass below which the engine, with its 39% throttle floor, can no longer hover: the last 55% of the burn
36 → 6 mmean final error with potential-based reward shaping, though one seed in five is still stranded

RocketSim

RocketSim is a rocket-control simulator built in the Unity game engine. It models the body, engine, throttle and gimbal limits, fuel use, atmosphere and drag. It defines tasks such as hover together with their reward functions and safety limits, and it connects to Unity ML-Agents, whose PPO implementation trains the agent. Every setting is recorded and frozen before a run starts, so any run can be reproduced exactly. The configured vehicle is a 41.2 m, 57.4 t booster with a single 845 kN engine that can throttle between 39% and 100%.

Screenshot of the RocketSim environment in Unity: a slender booster hovering above a landing pad, with a telemetry panel at upper left.
RocketSim running in Unity. The booster is released at 80 m and has to hold 30 m over the pad. The panel at upper left shows velocity, thrust, fuel and gimbal.
Diagram of the configured vehicle: side elevation with LOX and RP-1 tanks, centre of pressure and mass, a forces-and-angles sketch, and every engine layout with the share of the propellant load that can hover.
The configured vehicle. Side elevation to scale, the forces and angles in the dynamics, and every engine layout and burn group RocketSim offers. Only the single-engine and centre-only layouts can hover for any part of the burn, and then only for 45% and 56% of the propellant load.

What the agent learns, and what it does not

Training is quick to show progress. Return and flight time converge across five seeds, so by those measures all five agents are equally good. The altitude error does not converge: it fans out from 24 m to 105 m. Runs that score the same hover four-fold apart, because the reward does not pin down where to hover.

Three training curves over 20 million steps for five seeds: episodic return and endurance converge, while mean altitude error spreads out.
Training benchmark, five seeds. Return and episode endurance converge across seeds. Mean altitude error fans out, from 24 to 105 m at equal return. Dashed lines mark the full RocketSim run.

After training, the rocket flies steadily over the pad, within about 3 m of it and 2° of vertical, yet spends only about a fifth of each flight within 5 m of the commanded height. Which way an agent misses depends on its seed: over 200 episodes each, one of the five agents reaches the ceiling in 179 episodes, three run into the ground, and one burns its fuel 107 m above the target.

Five test flights of one trained agent: plan views show tight lateral control; altitude traces on a log axis sag below the 30 metre target, approach the ground, then climb to the ceiling.
Five deterministic test flights of one trained agent (seed 0). Top: plan view, with the pad at the cross. Bottom: altitude against time on a logarithmic axis, red below the 30 m target, green on it, blue above. Lateral control is tight. Every flight sags below the target, nears the ground, then climbs to the ceiling.

Why: two separate causes

1. The reward gives PPO nothing to follow far from the target

The reward already prefers obedient flight. A hand-written controller that switches the engine on and off to hold the height scores 100.3, against 81.6 for the learned agent, for every tolerance the authors tried. So the objective is not mis-ranked. It is uninformative: the reward is a flat plateau for merely surviving, with a narrow spike at the target height. Released 50 m away, the agent sees a height signal about a thousand times smaller than the ordinary run-to-run noise in its score, so there is nothing to climb.

Top: reward rate against altitude, a flat survival plateau with a narrow spike at 30 metres. Bottom: altitude gradient on a log axis, falling below the return-noise floor away from the target.
The reward landscape. Top: a flat plateau for surviving with a 5 m-wide spike at the target. Bottom: the altitude gradient on a log scale. Beyond about 16 m from the target one metre is worth less than the noise in the return.

2. For the last 55% of the burn, hovering is physically impossible

A burning rocket gets lighter and needs less thrust, but this engine cannot throttle below 39%. Once the vehicle weighs less than 33.6 t, even the lowest thrust exceeds its weight, so it can only climb. That happens 151 s into a 337 s burn. No other engine configuration helps: three or more engines raise the lightest hoverable mass to 100.8 t or beyond, well above the 57.4 t launch mass.

Top: thrust envelope against vehicle mass, with the weight curve leaving the feasible band at 33.6 tonnes. Bottom: return of an obedient controller against dead-band width, every setting beating the learned policy.
Feasibility and obedience. (a) Hover needs the weight to lie between minimum and maximum thrust, and it leaves that band at 33.6 t. (b) Return of an obedient controller against its dead-band: every setting beats the learned policy.

Attempted fixes

The paper tests four repairs. Three reshape the objective: a wider altitude term, a release inside the target band, and potential-based shaping that pays for progress toward the target everywhere. All three beat the configured reward, and potential-based shaping is best, reaching a 6 m mean final error against 36 m in 4.6 million steps instead of 8.5 million. Each still strands one or two seeds, and re-weighting alone does not help: a tenfold heavier altitude term still leaves a gradient of order 10−5 at launch. The fourth repair lowers the throttle floor to 20% so hover is feasible for the whole burn. The climb disappears, and the vehicle sinks instead.

Takeaway. Hover cannot be fixed in one place. The reward needs a gradient everywhere, the vehicle needs throttle authority for the whole burn, and results must be reported over several seeds, because equal scores can hide four-fold different behaviour. These are the open challenges the benchmark sets for future work.

Scope

The physics equations are standard textbook models. The model leaves out structural flexibility, propellant slosh, plume–ground interaction and sensor noise, and it is not calibrated against flight data: it is an algorithmic simulation, not a trajectory predictor. Multi-seed experiments use a faster three-degree-of-freedom reproduction of the task that matches the full RocketSim run's endurance to 3%, so that numbers across seeds are comparable. The authors found no earlier published RL benchmark for booster hover, so the numbers cannot be ranked against previous results.

Code

The paper states that RocketSim and the analysis code will be released open source on this site. That release is not yet online; this page will link to it when it is.

Cite

@inproceedings{ghosh2026rocketsim,
  author    = {Ghosh, Swarnendu and Muhi{\v c}, David and {\v S}ter, Branko},
  title     = {{RocketSim}: Benchmarking Reinforcement-Learning Hover Control of a Reusable Booster},
  booktitle = {29th International Multiconference Information Society (IS 2026)},
  volume    = {1},
  pages     = {64--67},
  address   = {Ljubljana, Slovenia},
  year      = {2026},
  doi       = {10.70314/is.2026.skui.80}
}
← All LANCER papers Next: Post-hoc image corruptions →