Q-Learning Lunar Lander: Learning to Brake, Fuel and the Bang-Bang Optimum
Watch a reinforcement-learning agent learn to land on the Moon. A tabular Q-learning agent sees only height and speed cells and picks 0, 50 or 100 percent throttle every half second under lunar gravity 1.62 m/s2; you can fly saved Q-tables from an untrained one to 200,000 episodes. The same gridded problem is solved by value iteration, and the fuel and engine-ignition height are compared with the derived minimum-fuel bang-bang burn (coast, then full thrust). Fuel in kilograms follows from the rocket equation with Isp 311 s. Six numerical checks. A one-dimensional teaching model with constant mass, not flight software.
Watch a reinforcement-learning agent learn to land on the Moon. A tabular Q-learning agent sees only height and speed cells and picks 0, 50 or 100 percent throttle every half second under lunar gravity 1.62 m/s2; you can fly saved Q-tables from an untrained one to 200,000 episodes. The same gridded problem is solved by value iteration, and the fuel and engine-ignition height are compared with the derived minimum-fuel bang-bang burn (coast, then full thrust). Fuel in kilograms follows from the rocket equation with Isp 311 s. Six numerical checks. A one-dimensional teaching model with constant mass, not flight software.
Watch a reinforcement-learning agent learn to land on the Moon. A tabular Q-learning agent sees only height and speed cells and picks 0, 50 or 100 percent throttle every half second under lunar gravity 1.62 m/s2; you can fly saved Q-tables from an untrained one to 200,000 episodes. The same gridded problem is solved by value iteration, and the fuel and engine-ignition height are compared with the derived minimum-fuel bang-bang burn (coast, then full thrust). Fuel in kilograms follows from the rocket equation with Isp 311 s. Six numerical checks. A one-dimensional teaching model with constant mass, not flight software.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install