AresSim - Long Horizon Resource Logistics for RL, World Models and Decision Models as Agents

Benchmarking RL and world-model families (PPO, Double Dueling DQN, Recurrent DQN, MuZero, DreamerV3, Plan2Explore), and LLM + Decision Model agents on long-horizon, multi-trip Mars resource logistics in AresSim.

26 min readShanmukha Sainath

AresSim Demo

Introduction

In my previous post on AreSim environment, I introduced AresSim, a deterministic 32×3232\times 32 Mars environment grid where a single rover explores procedural terrain under strict partial observability (8×88\times 8 local window), weather cycles, battery drain, and colony survival rules. That blog mostly focussed on explaining how AresSim is designed, intrinsic details of the environment and how to interact with it.

Since then, I turned AresSim into a concrete long-horizon, multi-trip resource logistics benchmark and evaluated three very different paradigms:

  1. Non-Learning Baselines: Random and Partial observability Scripted policy.
  2. Reinforcement Learning: Evaluated 6 different RL algorithms: PPO, Double Duelling DQN, Recurrent DQN, MuZero, Dreamer V3 and Plan2Explore.
  3. LLMs & Decision Models: Pairing frontier LLMs with dedicated Decision Models through focused episode memory and evidence-cited, condition-checked advice updates.

AresSim Environment

To keep this post focused on learning and evaluation, here is the high-level recap plus the improvements made since my previous post to support multi-trip mission.

World Dynamics

Each world is generated deterministically from an integer seed (00 to 99,99999{,}999) via a fixed 32-bit PRNG (Mulberry32) so that any trajectory or environment can be replayed or reproduced. For a given seed, the generator first builds continuous [0,1][0,1] spatial layers across all cells and thresholds them into discrete terrain classes (Crater, Ridge, Ice, Rock, Dune, Regolith):

  • Ice layer: Three radial clusters with linear decay over a 5.65.6-cell radius. Nonzero ice signal extends gradually across neighboring Regolith and Rock tiles, giving an 8×88\times 8 local crop a smooth gradient toward extractable cores (discrete Ice cells require signal >0.55> 0.55).
  • Rock / sample (ore) layer: Four radial clusters reinforced along a sinusoidal ridge band (decay radius up to 8.88.8 cells along the ridge), creating mineral halos around scannable Rock tiles.
  • Roughness and cell dust layers: Roughness combines noise, craters, ridges, and dunes to drive exponential battery drain, while cell dust varies smoothly across the map.
  • Build pad: The generator searches for a flat, hazard-free interior 5×55\times 5 patch, sanitizes it into a low-roughness pad hosting four starter systems (habitat, solar wing, charger, storage), and initializes the rover at its center.
AresSim Continuous Spatial LayersFour-panel view of a seeded AresSim world showing Ice, Rock/Sample (ore), Cell Dust, and Roughness channels across the 32x32 grid

Weather cycles deterministically every tick (Clear -> Dusty -> Dust Front -> Cold Night -> repeat), modulating solar output, pad wear, dust buildup, and battery drain. Waiting on the pad under positive power recharges rapidly (up to 8.08.0 percentage points per tick), whereas negative power margin drains battery everywhere. Colony water, oxygen, and livability decay every tick until unloaded ice replenishes them. High dust, worn structures, or power deficit latch a pad service alert that stays active until Service is run (details next Section).

Actions

There are 10 legal actions in AresSim.

IDActionPrecondition & Effect
0WaitAlways legal; fast pad recharge under solar energy
1-4Move (N, E, S, W)Moves one cell (except Crater cells)
5ScanUnscanned Rock, collects 0.5 kg0.5\text{ kg} sample
6ExtractIce cell, collects 2.0 kg2.0\text{ kg} ice and converts cell to Regolith
7BuildOn pad with habitat <100%< 100\%; +10%+10\% build progress and +1.1+1.1 livability
8ServiceWithin distance ≤2\le 2 of pad; restores 100%100\% structure health, clears dust, resets service alert
9UnloadOn pad with cargo >0> 0; offloads all cargo and converts ice into colony water, oxygen, and livability

Mission and Goals

Instead of open-ended survival (as in my previous post), agents must complete a closed-loop delivery objectives before the trip ends (An episode fails immediately if battery, rover health, or colony livability goes to zero):

  • Deliver at least 12 kg of ice to the build pad.
  • Deliver at least 4 kg of rock samples to the build pad.
  • Have no active pad service alert at completion.

To make it more challenging and make it a multi-trip problem, I made the Rover to hold atmost 12 kg (with no partial pickup or auto-unload).

Upon testing open-ened survival, I realized the agent doesn't learn to do all the intended tasks - especially Ice and Sample collection.

Rewards & Returns

AresSim tracks rewards and returns as two different scores. Reward function is focussed mostly on the mission for RL optimization while return tracks whole journey of the agent.

Reward

The shaped RL reward combines a base mission score (BtB_t) with a goal-distance potential (Φ(s)\Phi(s)).

First, let PtP_t be the capped delivery progress:

Pt=12[min⁡(It12,1)+min⁡(St4,1)]P_t = \frac{1}{2}\left[\min\left(\frac{I_t}{12}, 1\right) + \min\left(\frac{S_t}{4}, 1\right)\right]

Capping each resource separately ensures that over-delivering only ice or only samples cannot inflate reward.

1. Base Reward Terms (BtB_t): Summed across mission outcomes, collection, delivery, and operational penalties:

TermValueCondition / Scope
Terminal outcome+10+10 / −5-5Mission success / episode failure
Progress gain+2+2Increase in capped delivery progress PtP_t
Ice acquisition+0.40+0.40Quota-capped ice pickup
Sample acquisition+0.30+0.30Per 0.5 kg0.5\text{ kg} (quota-capped)
Cargo delivery+1.00+1.00 / +0.80+0.80Ice / samples delivered (per 12 kg12\text{ kg})
Undelivered cargo−1.00-1.00Per bay fraction remaining at episode end
Health / battery drop−1.00-1.00 / −0.05-0.05Rover damage / battery drain
Invalid action−0.10-0.10Illegal action attempt
Step penalty−0.025-0.025Per tick (in the final panel)

2. Goal-Distance Shaping (Φ(s)\Phi(s)): To provide dense navigation guidance, a task-aware potential Φ(s)=−dgoal(s)/16\Phi(s) = -d_{\text{goal}}(s)/16 measures distance to the active target:

  • Build pad: when ready to deliver or low on battery (<25%<25\%).
  • Nearest needed deposit: otherwise.

Crucially, Φ(s)\Phi(s) queries global deposit coordinates only inside the RL training reward - those coordinates never enter policy observations or LLM-DM prompts.

3. Combined Step Reward (rtr_t):

rt={clip(Bt,−2,2)+γΦ(st+1)−Φ(st),active stepBt−Φ(st),terminal stepr_t = \begin{cases} \mathrm{clip}(B_t, -2, 2) + \gamma\Phi(s_{t+1}) - \Phi(s_t), & \text{active step} \\ B_t - \Phi(s_t), & \text{terminal step} \end{cases}
  • Clipping BtB_t before adding the shaping term ensures the distance shaping still cancels out cleanly over a path, so the agent cannot farm reward by looping back and forth.
  • Dropping Φ(st+1)\Phi(s_{t+1}) when an episode ends prevents fake end-of-episode reward spikes.

Return

The sum of raw simulator action rewards (Move, Scan +1.35+1.35, Extract +0.84+0.84, Build +2.55+2.55, Service +0.70+0.70 unalerted / +1.55+1.55 alerted, Unload, surplus Wait +0.25+0.25, minus 0.08∣Δbattery∣0.08|\Delta\text{battery}|). We report GengG_{\text{eng}} across both RL and LLM-DM as a common score, always paired with mission completion and delivered mass - because as you will see in the results, repeated Service or Wait actions can easily inflate engine return even on a failed run.

How is AresSim different from existing RL Environments?

Most existing environments like ProcGen, NeuralMMO, Crafter.. verifies or focusses on isolated skills rather than the full collect-return-deliver-maintain loop.

BenchmarkPartial Obs.Deterministic ReplayMulti-Trip Cargo CapCoupled Energy / UpkeepRL + LLM / DMCompute Footprint
ProcgenPartial / fullSeededNoNoRLLightweight
CrafterLocal cropSeededNoSurvivalRL / LLMLightweight
Neural MMOLocal cropSeededNoSurvivalRLLightweight
BALROGDomain-dep.PartialNoDomain-dep.LLM / VLMMixed
Mars 2020 ROSSensorsPhysicsNoKinematicsRoboticsHeavy (ROS)
AresSim8×88\times 8 + local mem.SHA-256 verified12 kg shared capSolar, drain, pad alertsRL + LLM + DMPure Python

State Formulation

AresSim is a partially observable environment. The rover only observes its surroundings in an 8×88\times 8. ALong with this we pass the telemetry information and navigation memory. Complete breakdown of the state is as follows:

  • 8×88\times 8 local crop (14 channels): Discrete terrain class, 5 continuous spatial channels (elevation, roughness, ice, ore, cell dust), 4 binary cell flags (in-bounds, visible, scanned, extracted), and an episode visited-cell layer.
  • Rover telemetry (10-d) & Colony telemetry (14-d): Normalized position, battery, health, cargo breakdown, free bay, sin⁡/cos⁡\sin/\cos sol time, solar power generation/load/margin, water, oxygen, livability, dust, habitat build %, and service alert flag.
  • Categorical indicators: Pad proximity (off-pad, within service range, on pad) and active weather state.
  • Mission objectives table (5 normalized rows): Completion fractions only - no deposit coordinates.
  • Episode-local navigation memory (13-d): Normalized (dx,dy,valid)(dx, dy, \text{valid}) bearings to observed home and the nearest remembered unextracted ice or unscanned rock, updated strictly from cells that entered the rover's 8×88\times 8 crop and cleared once collected.
  • Legal-action mask.
AresSim State DesignEpisode-local observation schema, action mask, and shared CNN-MLP encoder producing a 256-d vector

Learning Methods

Baseline

A good RL problem should always start with baselines so that we have a reference to compare how the RL agents are performing (Nuts & Bolts of Deep RL by John Schulman). For AresSim I have designed two baselines:

  • Random: Uniformly samples among currently legal actions under a fixed seed.
  • Scripted: We use same state components as discussed above. Scripted policy follows an 8-level priority ladder: Unload with cargo →\to Service when alerted →\to Wait on pad if battery <80%<80\% →\to return home when carrying quota-finishing cargo, ≥75%\ge 75\% full bay, battery <35%<35\%, or under an alert →\to Extract or Scan underfoot →\to move toward visible needed resources →\to keep exploring without backtracking →\to Wait.

Reinforcement Learning

To test how different learning paradigms handle long-horizon partial observability, I implemented six RL families spanning model-free policy optimization, feedforward and recurrent value learning, learned tree search, and latent world models.

RL Algorithm TaxonomyTaxonomy of the six RL algorithms evaluated in AresSim

Shared setup & evaluation protocol: All six algorithms consume the same 256256-d CNN-MLP observation embedding and 1010-D legal-action mask. Environment seeds are split into 512512 training seeds, 3232 validation seeds (2000-2031), and 100100 held-out test seeds; the standard RL evaluation runs one deterministic episode per world on validation seeds 2000-2019 with an 800800-step cap. PPO, Double Dueling DQN, and Recurrent DQN train via Ray RLlib, while MuZero, DreamerV3, and Plan2Explore use custom PyTorch learners with Ray Core CPU collectors.

PPO

Proximal Policy Optimization (PPO) is an on-policy, model-free actor-critic algorithm that learns a stochastic policy (actor) alongside a state-value estimator (critic) directly from fresh rollouts. Rather than taking large, destabilizing policy updates, PPO maximizes a clipped surrogate objective that limits how far the updated policy can diverge from the rollout policy in a single step. PPO is a reliable first baseline for complex control tasks.

  • Implementation Details: Uses the shared 256256-d encoder with a masked 1010-logit policy head (illegal action logits to −∞-\infty) and a value head. Trained in Ray RLlib (2828 CPU runners + 11 GPU learner) with 8,1928{,}192-step rollouts, minibatch size 512512, 22 SGD epochs per rollout, GAE (λ=0.95\lambda = 0.95), clipping (ϵ=0.20\epsilon = 0.20), adaptive KL targeting (0.020.02), entropy coefficient 0.010.01, and learning rate 10−410^{-4}.

Double Duelling DQN

Deep Q-Networks (DQN) are off-policy, value-based algorithms that learn action values Q(s,a)Q(s, a) by sampling past transitions from a replay buffer, enabling high data reuse. Standard DQN suffers from overestimation bias because the same network both selects and evaluates the greedy next action; Double DQN decouples action selection (online network) from value evaluation (target network) to keep targets well-calibrated. Dueling DQN further splits the Q-head into a state-value stream V(s)V(s) and an action-advantage stream A(s,a)A(s, a), letting the network estimate how good a state is even when individual actions look similar in the short term.

  • Implementation Details: Pairs the shared 256256-d encoder with legal-centered dueling value and advantage heads (illegal advantages masked to −∞-\infty before centering over legal actions). Trained in Ray RLlib (2828 CPU runners + 11 GPU learner) using a 250k250\text{k}-step replay buffer, batch size 256256, replay ratio ≈4\approx 4, 33-step Huber Double-Q targets, and learning rate 6.25×10−56.25\times 10^{-5}.

Recurrent DQN

Recurrent DQN (DRQN / R2D2) inserts a recurrent layer before the Q-head so the agent maintains an internal hidden state summarizing its recent trajectory across steps. To train recurrent networks stably off-policy from replay, R2D2 samples contiguous trajectory segments and runs a short detached burn-in prefix to warm up the hidden state before computing TD losses on the remaining steps.

  • Implementation Details: Extends Double Dueling DQN with a 256256-unit LSTM between the shared 256256-d encoder and the legal-centered dueling Q-heads to track multi-trip context. Trained in Ray RLlib (2828 CPU runners + 11 GPU learner) with a 250k250\text{k}-step sequence replay buffer, batch size 1,0241{,}024 steps, 128128-step contiguous sequences with a detached 1616-step burn-in prefix, 33-step Double-Q targets, and learning rate 10−410^{-4}.

MuZero

MuZero is a model-based RL algorithm that combines a learned latent dynamics model with Monte Carlo Tree Search (PUCT), without ever reconstructing raw observations. Instead of predicting future pixels or terrain grids, MuZero learns a value-equivalent latent space trained solely to predict the signals needed for planning: reward, policy prior, and state value. At decision time, it simulates candidate action sequences inside this latent model via tree search, refining its policy through explicit lookahead without needing access to the true simulator during planning.

  • Implementation Details: Encodes a 44-frame observation/action history into a 256256-d latent state with learned dynamics, 601601-bin value and reward predictors, and continuation and legality heads. At each step, it runs 5050-simulation batched PUCT search using the real mask at the root and predicted legality inside the tree. Trained with a custom PyTorch learner + Ray Core CPU collectors from a 50k50\text{k} prioritized replay (PER) buffer, batch size 256256, 55-step unrolls, 1010-step TD targets, and replay reanalysis.

Dreamer V3

DreamerV3 is a model-based RL algorithm that learns a generative world model - a Recurrent State-Space Model (RSSM) with discrete categorical latents - and trains an actor-critic policy almost entirely from imagined latent rollouts. Unlike MuZero's online tree search, DreamerV3 amortizes planning into a fast neural policy trained over imagined trajectories while using symlog/two-hot distributional predictors to keep gradients well-scaled across varying reward magnitudes.

  • Implementation Details: Built around a categorical GRU RSSM (256256 deterministic units, 32×1632\times 16 categorical latents), observation decoders, and 255255-bin two-hot reward, continuation, and legality predictors. Implemented with a custom PyTorch learner + Ray Core CPU collectors, DreamerV3 trains in a single task phase consisting of a warmup stage followed by a three-stage alternating loop (replay_ratio = 16):
    1. Warmup / replay prefill (2,048 steps): Collectors take uniform-random legal actions to seed the 250k250\text{k}-step sequence replay buffer before any updates run.
    2. Real environment collection: Four Ray CPU collectors (×4\times 4 environments each) step 3232 ticks per wave using the current RSSM posterior and masked actor, appending real trajectories to replay.
    3. World-model update (Adam, lr 10−410^{-4}): Samples B=64,T=32B = 64, T = 32 sequences (with detached prefix reconstruction) to train the encoder, RSSM dynamics, observation decoders, and reward, continuation, and legality heads (dynamics = 1.0, rep = 0.1, free_nats = 1.0). Behavior gradients never flow into the world model.
    4. Behavior learning in imagination: Starts from real posterior states, rolls out H=15H = 15 imagined latent steps using learned dynamics and predicted legality, and updates the masked actor (score-function gradients, return-percentile scaling, legal entropy 3×10−43\times 10^{-4}) and two-hot critic (plus a 0.30.3-weighted real-replay value loss and slow target critic EMA 0.020.02).

Plan2Explore

Plan2Explore extends the Dreamer world-model framework to tackle sparse-reward and long-horizon exploration through self-supervised curiosity. Rather than learning a world model solely from task-directed experience, it trains an ensemble of latent dynamics predictors and rewards an exploration policy for seeking states where the ensemble disagrees most - regions where the world model is still uncertain. After this reward-free pretraining phase maps out the environment's dynamics, the pretrained world model and replay buffer are transferred to a task phase to adapt to the actual mission reward.

  • Implementation Details: Augments DreamerV3's categorical RSSM with an ensemble of 55 bootstrapped MLPs predicting the next 256256-d encoder embedding. Trained with a custom PyTorch learner + Ray Core CPU collectors (B=64,T=32,H=15B = 64, T = 32, H = 15) across two phases totaling 2,097,152 steps: 1,048,576 steps of reward-free pretraining maximizing ensemble disagreement in open exploration mode, followed by 1,048,576 steps of task adaptation on the delivery mission (0.250.25 demonstration fraction, 0.100.10 cycle penalty) transferring both the RSSM and replay buffer.
RL Algorithms Core Building BlocksOnline acting path (top row) and offline parameter update path (bottom row) across all six RL families evaluated on AresSim

LLMs and Decision Models

To evaluate frontier LLMs on their long horizon task capabilities, I built a pipeline with LLMs acting as Learner and Decision Models as main Actor (Ideally LLMs also as Actor but due to cost and latency constraints, we used Decision Models). The core idea is to have a Learner-Memory-Actor pipeline where Learner takes the Actor's history (state + actions + rewards) and adds it's learnigns to Memory which in-turn is used by the Actor to make decisions.

  1. Memory: A database that stores the mission's discovered facts and observations.
  2. Actor: Actions are taken by Decision Models (or LLMs) through a two stage approach:
    • Goal Review: This is triggered on key events like start, goal change, resource discovery, battery warning, walking loop or every 8 steps to choose the active subgoal (explore, collect, deliver, recover, or service)
    • Action selection: A legal action is picked given the sub-goal and memory.
  3. Learner: A LLM reviews the episode timeline, prior advice, and up to 88 key transitions. It either keeps existing advice (in memory) or proposes a new rule citing exact transitions, other state information.
LLM-DM PipelineLLM-DM Pipeline

Results

Optimizing Reward Function with PPO

PPO Development SummaryMean engine return, ice mass, and sample mass across 14 PPO development checkpoints on the 20 validation env seeds

I started my experiments with PPO and after running few different PPO trials, I realized there is a lot of improvements to be done with the way we are calculating rewards. First change we did is to move to a mission based problem rather than open exploration. Later, all the trials were to avoid reward hacking by changing the rewards for each action ensuring the mission can be completed successfully. Out of more than 30 trials, I am showing here the 14 most essential trials that gave us important information for reward change. Below are some of my learnings:

  • Pad-Service Loops (T7-17): Early trials had heavy reward hacking where agent went into "Service" loop withoiut moving from the Build Pad forever. You can also find that T7 and T11 achieved highest engine returns even without collecting any ice.
  • Random Walk (T21): To make the agent explore more, a distance-weighted reward is added for every newly visited cell making the agent to only take "Move" action until battery is completed depleted.
  • Wait Loophole (T25-35): Addition of a new negative terminal penalty of -5 resulted in a new reward hacking mechanism. Agent learned that pushing the -5 failure further into the future makes it smaller in discounted terms, the policy learns that sitting on the pad and pressing Wait (>70% of actions) is better than risking a mission that might still fail.
  • Step penalty and Sample credit (T37): Increasing the step penalty to -0.025 helped to avoid the Wait loop. Adding a reward of 0.3 per 0.5kg delivered ice/samples increased greedy PPO deliveries to 4.30 kg4.30\text{ kg} ice and 2.60 kg2.60\text{ kg} samples
PPO Action Allocation EvolutionExecuted action shares across all 14 PPO checkpoints

Reinforcement Learning

RL Training Loss ComponentsLogged learner loss components over the first 1M environment steps on a logarithmic step axis for all six RL families

Looking at the training losses over the first 1M steps reveals three clear observations:

  • Recurrence cuts TD error in half: Recurrent DQN converges smoothly to roughly half the TD loss of feedforward Double Dueling DQN, showing that LSTM memory genuinely resolves partial-observability aliasing.
  • PPO's non-stationary rebound: PPO dips early before value loss climbs back up as the policy shifts from passive survival to episodic excursions with wider return variance.
  • Accurate short-horizon world models still miss long-horizon energy: Both DreamerV3 and Plan2Explore compress reconstruction, reward, continuation, and legality losses by an order of magnitude (and Plan2Explore's ensemble disagreement drops steadily), yet both still die on battery in 20/2020/20 validation worlds - accurate 1515-step imagination does not automatically induce 100+100+ step energy budgeting. Meanwhile, MuZero's policy cross-entropy plateaus near 1.01.0, foreshadowing its hesitant extraction behavior at evaluation.
RL Reference Panel SummaryMean engine return, collected/delivered ice, and collected/delivered samples across 20 deterministic validation worlds

Among learned checkpoints, Recurrent DQN leads with 2/202/20 wins, Double Dueling DQN wins 1/201/20, and PPO, Plan2Explore, MuZero, and DreamerV3 with no mission completion seeds. Every RL policy loses part of its collected cargo before reaching the pad, and large error bars reflect unstable, seed-dependent outcomes. So, a higher validation corpus would have given use even more accurate comparisons.

RL Mission and Action AllocationFive-stage mission logistics (left) and executed action shares across all seven command types (right) RL Terminal OutcomesEpisode ending causes across 20 validation worlds per policy

Comparing both Mission completion and terminal causes can show clear understanding of how:

  • World models over-explore into battery death
  • Model-free value and policy-gradient agents over-conserve and end up in livability collapse
  • MuZero under-exploits legal actions
RL Rover Path HeatmapsStart-aligned spatial occupancy heatmaps over 20 validation worlds on a shared logarithmic color scale RL Path Coverage AUCMean cumulative distinct cells visited over 800 steps (left) and normalized coverage AUC in cells (right)

Plan2Explore sweeps outward faster than Scripted before flatlining at early battery death. Recurrent DQN and DreamerV3 tie on AUC through opposite episode lengths (long hauls vs short sweeps). PPO, Double Dueling DQN, and MuZero form dark dwell hotspots right on and around the pad.

LLM-DM

For LLM-DAM study, we ran 20 seeds across different combinations of LLMs and Decision Models. All the trials have 128 step cap to reduce the API costs. We tested frontier LLMs from OpenAI, Anthropic, Google and Decision Modles like Jev, Perplexity Decider, Liquid d1.2 Ultra, GPT6 Luna Decisions.

LLM-DM Learner AblationMean engine return, ice, and samples across 10 LLM Learners with TypeSafe Jev fixed as the Actor

Learner Ablation: Jev is fixed as Decision Model and we compare performance of different LLMs as Learner. Across all 10 Learners, almost all collected ice and samples are delivered. This shows the Jev can handle return trips reliably once resources are found. GPT-6 Luna leads engine return and ice delivery.

LLM-DM Decision Model AblationMean engine return, ice, and samples across four Decision Models with Gemini 4 Neon (medium) fixed as Learner

Actor Ablation: Gemini 4 Neon (medium) is fixed as Learner and we compare performance of different Decision Models as Actor. Perplexity Decider leads with 57.1%57.1\% mission completion with strong ice and sample delivery. GPT-6 Luna Decisions collects aggressively but leaves a notable share of samples undelivered. Liquid d1.2 Ultra has highest engine return while delivering none of the cargo (same issue we observed while studying reward function during PPO).

LLM-DM Thinking Level AblationMean engine return, ice, and samples across low, medium, and high Learner thinking budgets with Jev fixed

Thinking Level Ablation: We compare performance of different thinking budgets for Learner. Medium thinking is the clear optimal for Learner setting delivering both the highest engine return and mission success

LLM-DM Rover Path HeatmapsLLM-DM Rover Path Heatmaps (Learner Ablation) LLM-DM Path Coverage AUCLLM-DM Path Coverage AUC (Learner Ablation)

Spatial Coverage: Unlike RL agents that stall on-pad or die far away, all 10 Learners under Jev actor shows heavy activity closer to Build Pad from regular unload/recharge cycles while launching compact outward loops. Claude Opus 5.5 explores the widest area, yet GPT-6 Luna matches Opus's win rate and delivers more ice while visiting fewer cells showing more efficient routing.

LLM-DM Advice ExposureShare of Actor decisions shown at least one condition-matched Learner advice rule per world seed

Advice Usage: Perplexity Decider achieves highest mission success at 0%0\% advice exposure, proving Decision Model capability alone can solve multi-trip logistics. Liquid d1.2 Ultra sees advice on over 90%90\% of post-review decisions yet delivers nothing

Conclusion

Benchmarking RL algorithms, world models, and LLM-DM agents on AresSim highlights how long-horizon, partially observable resource logistics works, how difficult it is to make it work.

  • Reward design is tricky and return alone is misleading: Iterating through PPO showed how easily policies can do reward hacking. Even after fixing those loopholes, high engine return still didn't guarantee mission success.
  • End-to-end RL struggles to connect exploration with survival: Model-free agents tend to over-conserve near the pad until livability collapsed, whereas world models explored aggressively into battery death—showing that accurate short-horizon imagination does not automatically yield long-horizon energy budgeting.
  • Structured memory and Decision Models: Decoupling fast per-tick action selection from between-episode LLM reflection with Focused Episode Memory enabled reliable multi-trip collection and delivery without a single gradient update.

Overall, AresSim shows that end-to-end RL still has a wide gap to close on multi-trip planning under partial observability, but pairing explicit memory structures with specialized Decision Models (Actor) and LLM Learners (Learner) offers a strong, sample-efficient approach to solve these long-horizon multi-trip problems.

Try it yourself

  • Run experiments locally: Check the AresSim README for setup instructions, training configs, and evaluation scripts to train RL agents or run your own control loop locally.
  • Interactive live demo: Visit tensorwrites.com/aressim to watch the best checkpoints across all RL algorithms in action, or plug in your own LLM/DM API keys to test how they behave in real time.

Future Work

I am planning to expand AresSim in many dimensions with main focus on making it Multi-Agent RL environment.

  • Environment size: Expanding the environment size from 32x32 until 1024x1024 to study exploration, sample efficiency and generalization of algorithms
  • Multi-Agents (MARL): Introduce multiple agents to investigate coordination, communication, and task allocation.
  • Mission Design: Testing different missions, adding more tasks to learn about reward hacking and exploration capabilities
  • State & Action spaces: Testing continuous 2D terrain prototype with continuous positions and movement. This is closer to the real case Mars rover exploration scenario.
  • LLMs/Decision Models as Agents: I want to investigate how memory representation, post-episode learning, and communication affect LLM and Decision Model performance in partially observable resource-logistics tasks.
  • RL Algorithms: Compare policy-gradient, value-based, recurrent, and world-model approaches and maybe come up with improvements to existing RL methods.

References

  1. Schulman, J. et al. "Proximal Policy Optimization Algorithms." arXiv:1707.06347 (2017).
  2. Mnih, V. et al. "Human-level control through deep reinforcement learning." Nature 518, 529-533 (2015).
  3. van Hasselt, H., Guez, A., & Silver, D. "Deep Reinforcement Learning with Double Q-learning." AAAI (2016).
  4. Wang, Z. et al. "Dueling Network Architectures for Deep Reinforcement Learning." ICML (2016).
  5. Hausknecht, M. & Stone, P. "Deep Recurrent Q-Learning for Partially Observable MDPs." AAAI Fall Symposium (2015).
  6. Kapturowski, S. et al. "Recurrent Experience Replay in Distributed Reinforcement Learning (R2D2)." ICLR (2019).
  7. Schrittwieser, J. et al. "Mastering Atari, Go, chess and shogi by planning with a learned model (MuZero)." Nature 588, 604-609 (2020).
  8. Hafner, D. et al. "Mastering diverse control tasks through world models (DreamerV3)." Nature 640, 647-653 (2025).
  9. Sekar, R. et al. "Planning to Explore via Self-Supervised World Models." ICML (2020).
  10. Huang, S. & Ontañón, S. "A Closer Look at Invalid Action Masking in Policy Gradient Algorithms." FLAIRS (2022).
  11. Ng, A. Y., Harada, D., & Russell, S. "Policy Invariance Under Reward Transformations: Theory and Application to Reward Shaping." ICML (1999).
  12. Cobbe, K. et al. "Leveraging Procedural Generation to Benchmark Reinforcement Learning (Procgen)." ICML (2020).
  13. Hafner, D. "Benchmarking the Spectrum of Agent Capabilities (Crafter)." ICLR (2022).
  14. Suárez, J. et al. "Neural MMO 2.0: A Massively Multi-task Addition to Massively Multi-agent Learning." arXiv:2311.03736 (2023).
  15. Paglieri, D. et al. "BALROG: Benchmarking Agentic LLM and VLM Reasoning on Games." ICLR (2025).
  16. Toupet, O. et al. "A ROS-Based Simulator for Testing the Enhanced Autonomous Navigation of the Mars 2020 Rover." JPL Technical Report (2020).
  17. Yao, S. et al. "ReAct: Synergizing Reasoning and Acting in Language Models." ICLR (2023).
  18. Shinn, N. et al. "Reflexion: Language Agents with Verbal Reinforcement Learning." NeurIPS (2023).
  19. TypeSafe AI. Introducing System One Models and Jev (2026).
  20. Liquid AI. d1.2: State-of-the-art Omnimodal Decision Models (2026).
  21. Perplexity AI. Perplexity Decider: General-Purpose Decision Models (2026).
  22. OpenAI. Introducing GPT-6 Sol and Luna (2026).

Tools

  • Hardware: NVIDIA RTX 3090 (24GB VRAM)
  • Code Editor: Cursor, Antigravity
  • Algorithm Development: Codex/Cursor/Antigravity
  • Training Logging: Weights & Biases
  • GPU Provider: VastAI, JarvisLabsAI
  • Inference Endpoint: Modal

Citation

Cited as:

Shanmukha Sainath. "AresSim - Long Horizon Resource Logistics for RL, World Models and Decision Models as Agents". TensorWrites (Nov 2026). https://www.tensorwrites.com/posts/aressim-rl

BibTeX:
@article{aressimrl2026,
  title   = "AresSim - Long Horizon Resource Logistics for RL, World Models and Decision Models as Agents",
  author  = "Shanmukha Sainath",
  journal = "TensorWrites",
  year    = "2026",
  month   = "Nov",
  url     = "https://www.tensorwrites.com/posts/aressim-rl"
}