Choosing Among Free-Space Nodes: A Layout-Relative Action Space for Sparse-Reward Navigation

Embodied agents that score well in their training houses often fail when the furniture moves or the floor plan is mirrored. A common explanation is that discrete actions are to blame. On the LIBERO-Gen manipulation benchmark, OpenVLA turns actions into text tokens, reaches 98% success in familiar settings, and falls to 0.0% when object positions shift. A continuous flow-matching policy keeps 64.0% (Dismantling the Illusion of Vision-Language-Action Models Competence via Explicit Distributional Shifts). Other evidence cuts the opposite way. Hierarchical robots that pick discrete waypoints beat end-to-end continuous control on hard terrain, 89% versus 0% (Skill-Nav). We think discreteness is not the problem. The problem is discreteness in a fixed coordinate frame. An action such as "forward 0.25 m, then right 30°" means something different in every layout. An action such as "go to that patch of free space" means the same thing in every layout.

We propose that a navigating agent build its own free-space graph as it moves and act by choosing among the graph's nodes. Each node is a sphere of guaranteed obstacle clearance, estimated from depth images. The same graph also supplies the agent's training signal. Distance along the graph gives a dense, obstacle-aware progress reward that needs no simulator oracle, and replaying finished episodes against their final graph makes that reward exact. The claim to test is that this single structure narrows the spatial generalization gap and eases the sparse-reward problem more than either continuous control or oracle-shaped discrete primitives do.

Core Claim

In object-goal navigation with sparse success rewards, a policy whose actions are "select a node of my own clearance graph" will lose much less performance under mirrored, rotated, and obstacle-inserted layouts than two alternatives with the same backbone and budget. The first is a policy over fixed egocentric motion primitives. The second is a continuous-velocity policy. We further claim that graph-distance hindsight rewards computed from the agent's own map will recover most of the benefit of the simulator's oracle geodesic reward. The first claim is about the action space as a cause of the gap. The second is about making dense feedback available where no oracle exists.

Relation to Prior Work

Four lines of work supply the pieces.

The free-space representation comes from SphereMap. SphereMap builds, online, a graph of overlapping spheres sized by obstacle distance and clusters them into convex segments linked by portals. It plans 2,700× faster than grid A* (22 ms versus about 60 s). It involves no learning and no generalization study. We keep its data structure and make it both the action space and the reward source of a learned policy.

The graph-distance reward idea comes from G-HGG. G-HGG replaces Euclidean distance with obstacle-aware grid-graph distance for hindsight goal sampling and lifts FetchPushLabyrinth success from 0% to 80%. Its graph is precomputed with all-pairs shortest paths for one static scene, which rules it out for unseen layouts. We compute distance on a graph the agent built during the episode.

The exploration signal is closest to TopoNav. TopoNav builds an online landmark graph, has a high-level Q-network select subgoal nodes, and rewards node discovery. Its nodes are visual landmark points with no clearance information, and it tests no systematic layout shifts. Our nodes carry clearance, so continuous motion within overlapping spheres is collision-free up to depth-estimation error. We also test controlled shifts.

Dense decision-level feedback in CompassNav plays two roles here: it motivates the proposal and it is our main competitor. CompassNav scores all feasible actions by oracle A* geodesic distance, trains a 7B vision-language model with group-relative policy optimization, and reaches 56.6% success on HM3D. Its actions are egocentric primitives, and its reward needs habitat-sim's navigation mesh.

One constraint shapes the design. CompassNav reports that putting history into the model's prompt hurt performance. We therefore keep memory outside the network, as the graph, and do not feed it to the model as context. This follows the direction suggested by ESWM. ESWM shows that explicit transition memory adapts to unseen obstacles with 93% success, compared with 56% for a standard reinforcement learning baseline, but only in grid worlds.

Research Program

The graph. At each step the agent receives depth and pose. It adds spheres centered in newly observed free space, each with a radius equal to the estimated distance to the nearest obstacle. Two overlapping spheres share an edge weighted by center-to-center length. Newly observed obstacles invalidate the spheres they intrude on. Sphere boundaries that touch unobserved space are marked as frontier nodes. We use the dense sphere layer only. The portal layer is kept as an efficiency option.

The actions. The high-level policy scores every current node from three inputs: the node's features (radius, frontier flag, graph distance from the agent), pooled visual features from observations taken at that node, and the goal category. It then selects one node. Because the candidate set is variable and defined only by the layout, no action index corresponds to an absolute coordinate or a fixed turn sequence. A fixed low-level follower then moves the agent along the shortest graph path using continuous velocity commands, staying inside the union of spheres. This hierarchy avoids the blind-spot failure that Skill-Nav reports for waypoints placed without clearance checks.

The reward. Success is sparse. During training, each finished episode is also relabeled so that every object category the agent actually observed becomes a pseudo-goal. The relabeled episode is rewarded by

$$r_t = d_{G_T}(x_{t-1}, g) - d_{G_T}(x_t, g),$$

where $G_T$ is the graph at the end of the episode, $x_t$ is the agent's position at step $t$, $g$ is the node nearest the observed object, and $d_{G_T}$ is shortest-path length on $G_T$. Using the final graph gives two properties:

  • the potential is fixed for the whole replay, so the shaping is potential-based in the standard sense and does not change which policy is optimal;
  • the reward respects walls in a way Euclidean distance does not.

Online shaping would use the growing graph instead, where the potential shifts as the map grows. We treat that variant as a separate ablation because it loses the invariance guarantee. Relabeling requires an off-policy learner, so the node selector is trained as a Q-network over variable node sets, following TopoNav's hierarchical Q-learning setup.

Baselines

The naive reference point is sparse reward with egocentric primitive actions, trained with the same encoder and the same environment-step budget. It shows how bad the sparse-reward problem is in our setup and gives the in-distribution-minus-shifted gap that every other method is measured against.

The strongest existing method on this question is CompassNav-style oracle geodesic action scoring. CompassNav reports 56.6% HM3D success with a 7B model (CompassNav). We cannot match its model size or its Compass-Data-22k supervised stage. We will therefore quote that number as an external reference and re-implement its gap-aware reward on our shared backbone and budget. That reward scores every primitive action by oracle geodesic distance. Our method beats this baseline if it matches its in-distribution success without an oracle and shows a smaller gap on the shifted splits.

The scaling baseline is a ProcTHOR-10K-pretrained agent. It raised ArchitecTHOR success from 18.5% to 31.4% (ProcTHOR). We use the same houses for our training, so this baseline isolates data scale from structure.

The classical baseline has no learning. It explores frontiers on the same sphere graph and stops when an off-the-shelf detector fires.

Two ablations isolate the key ingredients:

  • Action-space ablation. The graph, reward, and budget stay fixed, and only the action space changes: node selection versus egocentric primitives versus continuous velocity. This is the test of the core claim.
  • Reward ablation. The action space stays fixed, and only the reward changes: sparse, Euclidean hindsight, our graph hindsight, online graph shaping, or the oracle geodesic reward.

All methods share the visual encoder, environment-step budget, number of seeds, and hyperparameter-search budget.

Why not just…?

Why not just use the oracle geodesic reward, since training happens in simulation anyway? This is a real threat to the reward half of the claim. If the goal is only to train in simulation, the oracle may simply be better. Our case for the self-built graph reward rests on settings without an oracle: test-time fine-tuning in a new house, and real deployment. The reward ablation settles the question directly. If our reward trails the oracle by a wide margin, we will state that it is useful only where no oracle exists. The action-space claim does not depend on this comparison.

Why not just plan classically on the sphere graph? For point-goal navigation, where the goal coordinates are known, classical planning probably would suffice. That is why we use object-goal navigation, where the agent must decide semantically where to search. The frontier-plus-detector baseline measures how much the learned node scorer adds. If the classical baseline matches us, the contribution reduces to the graph representation, and we will report that result.

Why not just go continuous, as the LIBERO-Gen evidence suggests? Continuous flow matching retains 64.0% under spatial shift (Dismantling the Illusion). However, that result comes from imitation-trained manipulation, not sparse-reward exploration, and continuous velocity control failed completely at long range in Skill-Nav. The continuous-velocity arm of the action-space ablation tests this alternative directly on our task.

Why not just scale procedural data? ESWM's obstacle test shows reinforcement learning trained across many environments dropping to 56% when unexpected obstacles appear (ESWM). This suggests scale alone leaves agents exposed to local layout changes. Our obstacle-insertion split measures this on realistic houses.

Proposed Experiments

Setting A trains on ProcTHOR-10K and tests zero-shot on ArchitecTHOR, where the reported reference is 31.4% success. Setting B trains on HM3D training scenes and tests on held-out HM3D scenes, with CompassNav's 56.6% as the external reference. For both settings we build three shifted test splits from the held-out scenes:

  • a mirrored split;
  • a rotated split;
  • a split where furniture is inserted to block the shortest route, following ESWM's obstacle test.

Metrics are success rate, Success weighted by Path Length, and the spatial gap, defined as in-distribution success minus shifted success.

The decisive check is the action-space ablation on the shifted splits. The core claim survives only if node selection shows a clearly smaller gap than both egocentric primitives and continuous velocity, with the reward held fixed. If node selection helps in-distribution but its gap matches that of primitives, the layout-relative explanation is wrong.

The secondary check is the reward ablation. Graph hindsight should beat Euclidean hindsight on the obstacle-insertion split, extending G-HGG's 0% versus 80% contrast to unseen layouts. Its distance to the oracle reward tells us whether the oracle is needed.

The last check is robustness. We add noise to the pose estimates to measure how quickly depth errors break the graph's collision-free guarantee. We also count collisions per episode to verify that motion stayed inside the spheres.