# When Memory Isn’t Enough: A Reproduction Study of Recurrent Q-Learning for Satellite Collision…

> Source: <https://pub.towardsai.net/when-memory-isnt-enough-a-reproduction-study-of-recurrent-q-learning-for-satellite-collision-35c15f285dac?source=rss----98111c9905da---4>
> Published: 2026-11-28 05:13:02+00:00

**Recommendation:** Evaluate RL policies greedily as well as under exploration, and check that the reward's collision penalty exceeds the fuel cost of a realistic avoidance burn before trusting training-time success rates.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

I reproduced the core setup of a 2023 paper that applies deep recurrent reinforcement learning (DRQN) to satellite collision avoidance under tracking uncertainty. Early in training, the recurrent agent behaved almost like a random policy, burning about 9 m/s of fuel per episode. As exploration decreased, it learned to burn almost nothing. Under greedy evaluation it succeeds 0% of the time. Feed-forward baselines reach 94–96% success, but only by spending 8–24 m/s against a 1.0 m/s budget. The most useful finding is about the reward. With the penalties as specified, accepting a collision is cheaper than burning 20 m/s of fuel to avoid one, so the reward pushes toward inaction.

When a satellite is predicted to pass close to another object, an operator must decide whether to maneuver. Two things make that hard. Tracking data is noisy, so the true miss distance is uncertain. And fuel is finite, so every maneuver has a cost. A policy that reacts to a noisy observation is a partially observable decision problem. Recurrent networks are a natural fit, because an LSTM can carry information across time steps that a single observation does not contain.

This study builds on Bourriez, Loizeau, and Abdin, *“Spacecraft Autonomous Decision-Planning for Collision Avoidance: a Reinforcement Learning Approach”* (arXiv:2310.18966, October 2023), which frames the problem as a POMDP and compares recurrent and feed-forward agents. I wanted to know whether the recurrent advantage holds in a simplified version of that setup, and whether it could be reproduced on a laptop-class CPU.

The environment uses Clohessy-Wiltshire relative dynamics, which describe the motion of one satellite relative to another in a circular orbit. The agent receives a noisy observation of the encounter and chooses from a discretized set of 625 thrust combinations. Each action is decoded into up to four burn slots along three axes, so some actions cancel out and produce zero net delta-v.

The reward has three terms. A collision costs −100. Fuel costs −5 per m/s of delta-v. Each step beyond the 1.0 m/s budget costs a further −10.

I trained three agents on the same encounters. One is a DRQN with an LSTM. The others are a feed-forward DQN with stacked frames and a feed-forward DQN with a single frame. Each trained for 400 episodes. The DRQN updates once per episode, for 1,600 gradient updates. The feed-forward models update at every environment step, for 24,000 updates. That is a 15× difference in training compute, which I return to below.

Most of the story is in the training curves, not the final numbers.

For the first 190 episodes, the DRQN’s fuel stayed near 9.4 m/s per episode and its success rate stayed between 0.92 and 0.96. Those are close to the random policy’s behavior, which reached 91% success in evaluation. Exploration was high throughout that stretch, with epsilon falling from 1.0 to 0.36.

Once epsilon dropped below about 0.36, fuel fell to 5.7 m/s on average over episodes 191–260, and then to about 0.6 m/s from episode 261 onward. Success fell with it, to about 0.61 over the final 100 episodes. The agent did not get better at avoiding collisions as it learned. It learned to stop burning fuel, and avoidance fell with the burns.

The final 25 training episodes show 64% success under exploration. Under greedy evaluation, the same agent succeeds 0% of the time, with 41.3 ± 5.2% collisions. I have not yet tested the obvious explanation: at epsilon 0.05, roughly one action in twenty is random, and those random burns may account for much of the training-time success. That is a hypothesis, not a result.

Under greedy evaluation the DRQN achieved 0.0 ± 0.0% success, with 41.3 ± 5.2% collisions and 0.00 m/s of fuel. Its return was −57.8 ± 6.0. Across 50 full episodes, fuel was 0.0000 m/s in every episode, and no episode used a non-zero burn. The policy chose the same first action, action 238, in all 50 episodes.

Success rate and mean fuel for each policy, with the 1.0 m/s budget line.

The stacked-frame and single-frame feed-forward models reached 94.0 ± 4.3% and 94.7 ± 4.7% success. That looks better than the DRQN. It is not a fair win.

Both collapsed models produced a single action sequence across all 50 evaluation episodes. Their fuel was 12.00 and 24.00 m/s, against a 1.0 m/s budget. They succeed by applying a fixed burn pattern that keeps the miss distance above the threshold, not by responding to each encounter.

The stabilized stacked model, trained with a hard target copy every 500 gradient steps, shows more variation. It produced 20 unique 10-step sequences across 50 episodes, and its success was 96.0 ± 1.6%, at 8.43 ± 0.17 m/s of fuel. But 26 of 50 episodes (52%) still began with the same opening burn. Per-episode fuel ranged from 5.35 to 11.22 m/s.

Unique 10-step action sequences and first actions per policy, out of 50 episodes.

No policy meets the 1.0 m/s budget. Every model’s budget-constrained success rate is 0.0%.

The reward explains most of the pattern. A collision costs −100 once. A burn costs −5 per m/s. For an agent that cannot reliably avoid a collision, accepting the penalty is cheaper than spending 20 m/s of fuel to avoid one. Below that break-even, burning fuel costs less than a collision.

The DRQN’s late-training behavior is consistent with this trade: it stopped burning and accepted the collision risk. The feed-forward models sit at a different point on the same trade. They burn a fixed pattern far beyond the budget, which avoids enough collisions that their net return is acceptable.

I have not tested a reward where the budget is binding, so I cannot claim the agents would behave differently under another reward. The numbers are consistent with the reward being the dominant factor, and that is the first thing I would change in a follow-up.

Early runs of this notebook gave different results each time. The DRQN’s greedy success moved between 0% and 31%, and the stabilized model’s fuel moved from about 5 to 11 m/s. The variation came from unseeded environment resets and action sampling during training. After seeding every training environment and resetting each training episode with a fixed seed, two clean restarts on CPU produced identical outputs. The training log and the checkpoint were byte-identical across both runs.

That establishes reproducibility on one machine with one training seed. It does not establish how much the results would vary across training seeds.

This is one training run per model. The DRQN’s greedy result could look different under another seed, and so could the feed-forward comparisons.

The dynamics are linear Clohessy-Wiltshire. Atmospheric drag, Earth oblateness, and thruster execution errors are omitted, and any of them would change the fuel and collision picture.

Training compute differs by 15×, so the comparison between recurrent and feed-forward models is not an equal-effort comparison.

The reward is the biggest open question. I used the reward as specified, and it makes the no-burn policy attractive, so these results mainly describe this reward.

Run several training seeds per model and report the spread. Test whether the greedy DRQN’s training-time success depends on the random actions taken at low epsilon, by evaluating the same policy with epsilon held at 0.05. And test a reward where the budget is binding and a collision carries a larger cost, to see whether the recurrent agent learns to maneuver when maneuvering is the only way to score well.

Every number in this article comes from a printed output of the notebook or from the uploaded training log.

[When Memory Isn’t Enough: A Reproduction Study of Recurrent Q-Learning for Satellite Collision…](https://pub.towardsai.net/when-memory-isnt-enough-a-reproduction-study-of-recurrent-q-learning-for-satellite-collision-35c15f285dac) was originally published in [Towards AI](https://pub.towardsai.net) on Medium, where people are continuing the conversation by highlighting and responding to this story.
