PAPER DEEP DIVE
CPNav: Calibrated Vision-Language Navigation for Object-Goal Search in Unseen Environments
Directing a robot to locate a target object in unseen environments remains a central challenge in embodied AI. Vision-Language Model (VLM)-based methods provide rich semantic reasoning but often produce uncalibrated and overconfident action decisions. We introduce CPNav, a navigation framework that combines collision-aware planning with statistically calibrated VLM action scoring for map-free object-goal navigation. From RGB-D input, CPNav constructs a navigability map, generates collision-free motion primitives, and queries two VLMs for goal detection and action scoring. The resulting scores are calibrated offline via conformal prediction (CP) using oracle actions obtained through a tree-structured exploration procedure with backtracking, providing finite-sample guarantees at a user-specified risk level. The CP layer is model-agnostic and can wrap any VLM policy. Online, calibrated VLM scores guide action selection, while a tree-structured exploration history records alternative actions and allows backtracking. We evaluate CPNav in both simulation and real-world hardware settings. In AI Habitat simulation, compared with the uncalibrated baseline method, CPNav achieves relative SR and SPL improvements of 6.2% and 11.4% on HM3D v0.2, and 12.4% and 8.8% on MP3D, respectively. In real-world deployment on a modified Hiwonder MentorPi robot, the corresponding improvements in SR and SPL are 24.9% and 15.2%, respectively. Code is available at https://github.com/practice-lab-ucla/CPnav.
One-sentence summary
CPNav turns visual-language action scores into a statistically filtered action set, then combines calibrated exploration with local and global backtracking to find named objects in unseen spaces.
Why this problem is hard
An object-goal navigation agent receives a category such as chair, bed, or toilet and must find any visible instance without a map or target coordinate. The robot has to remain collision-free, infer which rooms are worth entering, remember where it has been, and decide when no promising branch remains. Geometric exploration solves visibility, but ignores the common-sense relationships that make a bedroom a better place to search for a bed than a kitchen.
Vision-language models supply that semantic prior. They can recognize objects, read room context, and rank arrows drawn over an image. Their score, however, was not trained to represent the probability that a robot action will lead to a goal under a fixed step budget. The highest score can belong to a plausible-looking route that ends in a wall, revisits an explored hallway, or enters a room unrelated to the requested object.
Most VLM navigation policies execute the highest-scoring action directly. CPNav treats that behavior as a reliability problem. Geometric safety remains the first gate: a language model may only rank actions that already satisfy the robot footprint and depth constraints. A second gate uses held-out successful trajectories to estimate which fused scores are high enough to keep. The resulting action set is not a claim that every selected move is safe, but a finite-sample statement about retaining a goal-reaching path.
The distinction matters over long horizons. A single step error can be corrected, while a sequence of overconfident choices can consume the entire action budget. CPNav does not ask a new model to predict success from scratch. It records the score of each branch, filters low-confidence options, and retains unexplored alternatives so that an expensive semantic mistake can be reversed.
Conformal prediction in navigation terms
Conformal prediction converts an arbitrary model score into a set that satisfies a coverage guarantee under exchangeability between calibration and test examples. Here, the prediction target is not an object category. It is the set of robot actions that should remain available at the current state when the system is calibrated to a chosen risk level.
CPNav uses a trajectory-level nonconformity score. The calibration routine first finds successful paths, then records the minimum action score on each path. This minimum is the bottleneck. A route with many confident moves but one nearly rejected move is treated as fragile, because removing that single move destroys the entire route. The conformal quantile therefore protects the weakest link rather than averaging confidence across a trajectory.
The exploration tree has a different role. It is a record of visited states, actions, scores, and untried branches. It performs no future rollouts and estimates no long-horizon value. Backtracking is therefore a state-restoration operation: the robot returns to a stored location and tries another action that was seen earlier. This limitation keeps the method compatible with a black-box VLM and avoids adding a second learned planner.
Action generation and VLM scoring
Depth-grounded motion primitives
The robot begins with an RGB-D frame. Depth height variation below five centimeters is treated as traversable. Rays are sampled at even intervals across the horizontal field of view. For each ray, the system estimates the longest collision-free distance while checking an inflated footprint equal to the robot radius plus a clearance margin. The inflation absorbs some localization drift and depth noise, but it cannot compensate for a camera view that misses a narrow opening.
Short primitives below 0.75 meters are removed, and long rays are clipped to 1.7 meters. The first threshold prevents step consumption through tiny motions; the second forces frequent observations of newly reached space. Endpoints lying mostly in explored regions are discarded. When no forward candidate survives, a turn-around action remains available as a fallback. The final set $A_t$ is the physically admissible domain passed to the language models.
The source contains a direct implementation of this stage. CPnav/action_proposer/action_proposer.py:54-87 builds the navigability representation and samples depth rays. CPnav/action_proposer/action_proposer.py:124-174 applies the length and explored-region filters. These paths give the paper's abstract action set a concrete execution contract.
Two language queries rather than one
The first model call checks whether the requested object is visible and estimates the exploration value of the current view. It returns a stopping flag and a global semantic value:
$$ (\text{done}_t,s_t^{\text{GSV}})=f_{\text{stop}}(I_t^{\text{RGB}},g) $$
Here $g$ is the target category and $s_t^{\text{GSV}}$ is intended to describe scene-level navigability rather than object presence. The second call sees numbered action overlays and assigns one semantic confidence per candidate:
$$ s_{i,t}^{\text{action}}=f_{\text{action}}(I_t^{\text{RGB}},a_{i,t},g) $$
The online score multiplies the view-level value by the action-level value:
$$ s_{i,t}=s_t^{\text{GSV}}\cdot s_{i,t}^{\text{action}} $$
This product has an immediate systems interpretation. A blocked or cluttered view lowers every action score, even if one visible opening is locally better than the others. The two queries also avoid forcing one response to carry stopping, scene assessment, action ranking, and free-form explanation at the same time. The prompts in Figure 3 constrain the output fields, while CPnav/agent/gpt_agent.py:250-338 defines the required index range and score vector.
The code assumes that external model responses can fail. If the returned score list has the wrong length, CPnav/tree/online_exploration_tree.py:416-456 assigns uniform scores instead of matching the vector to the wrong actions. This fallback can reduce ranking quality, but it prevents a silent index shift from commanding an entirely different motion primitive.
Tree history and backtracking
Each visited state becomes a tree node containing the observation context, candidate actions, fused scores, and attempted set. Executing an action creates a new node whose parent is the previous state. When the selected action is turn-around, or when no action survives the calibrated threshold, the robot consults this history instead of terminating immediately.
Local backtracking first restores the immediate parent and chooses its best remaining action. If that parent is exhausted, the search expands to other historical nodes. The global untried set is:
$$ \mathrm{R}^{\mathrm{global}}_{k} =\bigcup_{t=1}^{k} \{a_{i,t}\in A_t\mid a_{i,t}\notin T_t,\ i\neq0\} $$
$T_t$ contains actions already attempted from node $t$. The implementation in CPnav/tree/online_exploration_tree.py:468-576 uses a recency-first scan for global targets: newer nodes are checked before older ones, then the highest-scoring admissible action at the selected node is executed. Local and global backtracking therefore trade rapid recovery near the current branch against coverage of earlier alternatives.
flowchart TB
A[RGB-D frame] --> B[Build navigability mask]
B --> C[Filter motion primitives]
C --> D[Stopping VLM]
C --> E[Action VLM]
D --> F[Multiply GSV by action score]
E --> F
F --> G{Score meets calibrated threshold}
G -->|yes| H[Execute best admissible action]
G -->|no| I[Turn around]
H --> J[Store state and untried branches]
I --> J
J --> K{Parent has untried action}
K -->|yes| L[Local backtrack]
K -->|no| M[Global recency-first backtrack]
L --> H
M --> H
Why the offline oracle is a widest-path problem
A calibration trajectory should not be whichever first route happened to reach the goal. It may contain a detour or a low-confidence action that survived by chance. CPNav continues offline exploration after first success and searches for the successful path whose weakest action is as strong as possible. The path score is the minimum action score along the route:
$$ b(P)=\min_{a_{i,t}\in P}s_{i,t} $$
The selected oracle path is:
$$ P^*=\arg\max_P b(P) =\arg\max_P\left(\min_{a_{i,t}\in P}s_{i,t}\right) $$
This is a maximin or widest-path objective. CPnav/tree/offline_bfs_tree.py:22-81 maintains the best bottleneck capacity for each visited graph node. When an edge is expanded, the new path capacity is the minimum of the incoming capacity and the edge score. The algorithm chooses the highest-capacity successful path rather than the fewest-edge path.
Refinement uses the current bottleneck as a lower bound. The offline agent revisits only untried actions whose scores can improve that bottleneck. It stops when another goal is reached, a turn-around occurs, a known node is revisited, or the total step budget expires. The resulting threshold is therefore tied to the best successful path found during a bounded search, not an exhaustive optimum over every possible action sequence.
Finite-sample calibration
The calibration set contains 500 episodes sampled with a fixed random seed. Every episode has a scene, start pose, target object, and oracle trajectory. The nonconformity score for episode $j$ compares the best bottleneck with certainty:
$$ E_j=1-\min_t s_{a^*,t,j}=1-b(P_j^*) $$
If the weakest action on a successful route has score 0.95, its nonconformity is 0.05. A route with one action at 0.4 has nonconformity 0.6, even if its mean confidence is high. CPNav then corrects the requested risk for finite calibration sampling with a Beta quantile before taking the conformal quantile:
$$ \hat q=\text{Quantile}\left( \{E_1,\dots,E_n\}, \frac{\lceil(n+1)(1-\hat\alpha)\rceil}{n} \right) $$
In simulation, the requested risk is 0.3, the adjusted risk is 0.25, and the resulting threshold is 0.940. Hardware uses a requested risk of 0.45 and an adjusted risk of 0.39, producing 0.936. The difference is practical evidence that changing camera geometry, execution noise, or deployment distribution can move the useful score threshold.
Online filtering and the meaning of the guarantee
At run time, CPNav retains actions whose fused score exceeds the calibrated cutoff:
$$ C(\xi_t) =\{a_{i,t}\in A_t\mid s_{i,t}\ge1-\hat q\} $$
If the set is nonempty, the robot executes its highest-scoring member. If the set is empty, it turns around and asks the tree for another branch. The threshold is not a universal confidence level for every VLM. It is conditional on the model, prompt, action-proposal geometry, calibration episodes, and target distribution used to calculate it.
Under exchangeability, reliable execution, a goal-reaching oracle path in the candidate structure, complete backtracking, and a sufficient step budget, the paper proves that the oracle-consistent path is retained with probability at least $1-\alpha$. That statement is narrower than a blanket navigation guarantee. It does not remove execution error, ensure that the scene contains the target, or make an undersized step budget infinite.
The guarantee still changes the policy's behavior. Instead of trusting the top model score, the agent keeps a statistically supported set. It may explore another admissible branch first, but complete backtracking eventually gives retained alternatives a chance. The practical blend is a greedy score order inside the set with systematic recovery outside it.
Simulation and hardware evidence
The simulation study uses Habitat-Sim with HM3D v0.2 as the main benchmark and MP3D for cross-dataset evaluation. Each has 200 evaluation episodes. The default policy uses GPT-5o-nano, a 0.9 meter camera height, a 131 degree horizontal field of view, and a voxel map. Metrics are success rate, success weighted by path length, and mean distance traveled.
Hardware experiments use a modified Hiwonder MentorPi M1 with a Mecanum chassis. The state estimate fuses 2D LiDAR, wheel odometry, and an IMU; a ZED 2i stereo camera supplies rectified RGB-D observations. The evaluation contains 24 randomized object-goal episodes across two apartment layouts. This is a useful real-platform check, but it remains a small sample relative to the variety of homes a service robot may encounter.
| Dataset | Policy | SR (%) | SPL (%) | Distance (m) |
|---|---|---|---|---|
| HM3D | No Calibration | 81.0 | 40.3 | 35.4 |
| HM3D | CPNav | 86.0 | 44.9 | 29.2 |
| MP3D | No Calibration | 68.5 | 43.0 | 36.4 |
| MP3D | CPNav | 77.0 | 46.8 | 32.1 |
On HM3D, CPNav improves success rate by 6.2 percent and SPL by 11.4 percent relative to the uncalibrated policy, while reducing distance by 17.5 percent. On MP3D, the corresponding SR and SPL gains are 12.4 percent and 8.8 percent. The improvement in both benchmarks is important because object layouts and scene statistics differ between them.
The comparison with STRIVE and WMNav exposes a tradeoff. CPNav reaches 86.0 SR on HM3D versus 82.5 for STRIVE and 80.0 for WMNav, but it travels much farther. STRIVE and WMNav use mean distances of 17.6 and 18.2 meters on HM3D, compared with 29.2 meters for CPNav. On MP3D, CPNav is also longer by roughly 35 to 42 percent. Complete backtracking improves coverage while making direct path efficiency a weaker point.
| HM3D budget | No Calibration SR / SPL | CPNav SR / SPL | SR relative gain |
|---|---|---|---|
| 50 steps (25%) | 60.3 / 37.7 | 73.0 / 43.2 | 21.1% |
| 100 steps (50%) | 75.7 / 39.8 | 80.0 / 44.4 | 5.7% |
| 200 steps (100%) | 81.0 / 40.3 | 86.0 / 44.9 | 6.2% |
The restricted-budget experiment is the clearest test of the paper's central claim. At 50 steps, a policy has little opportunity to recover after entering a bad branch. CPNav raises success from 60.3 to 73.0 percent. At 200 steps, the baseline can spend more actions recovering, so the relative gain becomes smaller. This pattern supports the claim that calibration changes how a finite search budget is allocated.
| Configuration | SR (%) | SPL (%) | Distance (m) |
|---|---|---|---|
| CPNav default | 86.0 | 44.9 | 29.2 |
| Camera height 0.45 m | 67.0 | 31.4 | 44.6 |
| Camera height 1.70 m | 79.3 | 40.5 | 30.4 |
| Horizontal FOV 69 degrees | 40.0 | 18.7 | 44.8 |
| GPT-4o-mini | 71.3 | 33.7 | 34.4 |
| No voxel map | 66.0 | 36.4 | 36.5 |
Sensitivity results show where the method loses support. A narrow 69 degree field of view cuts SR to 40.0 because the action set often lacks useful directions. A camera at 0.45 meters reaches only 67.0, revealing the importance of observed geometry. Replacing the model with GPT-4o-mini lowers SR to 71.3. Calibration can reject uncertain actions, but it cannot invent a semantic distinction that the model does not produce.
Removing the voxel map drops SR from 86.0 to 66.0. A score-only tree retains action history, but the spatial occupancy representation helps distinguish a genuinely new region from a previously visited one. This ablation is a useful warning against treating conformal filtering as a replacement for local spatial memory.
On hardware, CPNav reaches 83.3 percent SR and 48.4 percent SPL from 24 trials. The uncalibrated policy reaches 66.7 and 42.0, while mean distance falls from 9.0 to 6.3 meters. The relative SR and SPL gains are 24.9 and 15.2 percent. Hardware benefits more than simulation because each mistaken action consumes a larger fraction of the available budget and recovery is affected by state-estimation drift.
The qualitative example makes the statistical result concrete. The baseline revisits explored regions and ends after 44 steps. CPNav reaches the target plant in 18 steps. The arrows in the figure carry fused scores, so the path is not merely a shorter route chosen after the fact; it is the result of rejecting low-confidence branches during execution.
Implementation observations
The code reveals several decisions that matter for reproduction. fill_in_scores() stores both the normalized per-action score and an adjusted value equal to the raw score multiplied by the global semantic value. It also pushes untried actions into a max-priority queue, with newer steps winning ties. Changing the tie rule changes branch order and therefore experimental trajectories.
Online and offline selection optimize different quantities. Online, the robot selects the highest score inside the calibrated set. Offline, it maximizes the minimum score along a successful path. Both consume the same fused score field, but one is constrained greedy exploration and the other is calibration-data construction. A reproduction should preserve this distinction rather than substituting the offline widest path directly into every online step.
Token use is another practical constraint. CPNav averages 201,600 total VLM tokens per MP3D episode: 79,800 input and 121,800 output. The uncalibrated baseline uses 231,400, so CPNav consumes about 12.9 percent fewer tokens despite adding calibration and backtracking. Fewer dead-end queries offset the added scoring overhead. STRIVE uses only 99,300 tokens but relies on heavier local computation; the paper reports that two STRIVE instances ran unstably on one RTX 4090 while CPNav supported many concurrent simulation episodes.
The API dependency also affects deployment. The model can return malformed score vectors, and its output can vary with prompt wording or service version. The implementation's uniform-score fallback avoids index mismatch, but the fallback is not a substitute for calibration. Production logs should include model identity, prompt revision, raw action count, fallback frequency, threshold, and the set size at every decision.
Limitations and open questions
The authors identify three limitations. First, tree nodes are defined by spatial proximity without orientation. Two visits to the same position may have different candidate sets and semantic scores, yet be merged into one state. This can make the attempted-action history inaccurate. Orientation-aware nodes or local view descriptors would reduce the problem.
Second, hardware calibration uses simulated episodes. The finite-sample statement assumes exchangeability between those episodes and real deployment. Lighting, materials, camera calibration, motion slip, people, and apartment layouts can break that assumption. The 24 hardware trials demonstrate transfer, not a proof that the simulation threshold remains valid for every real environment.
Third, the VLM is accessed through the ChatGPT API. Stochastic scores can change the calibration distribution, and a model upgrade may shift the score scale even when the prompt is unchanged. A deployed system should recalibrate after model, prompt, camera, or action-proposal changes and should monitor the fraction of states with empty prediction sets.
Independent analysis adds a budget concern. Full backtracking can produce long routes, as seen in the distance gap against STRIVE and WMNav. The guarantee depends on complete exploration and a sufficient step budget. On a time-limited robot, the useful policy may need a route-cost term or a cap on recovery distance, which would alter the clean coverage statement and require a new theoretical treatment.
The evidence would also benefit from repeated calibration runs. A single fixed seed with 500 episodes gives one threshold. Reporting threshold variance across calibration draws, success under multiple risk levels, and degradation under controlled visual or geometric shift would show how stable the threshold is in practice. Such measurements would make the exchangeability assumption easier to audit.
Conclusion
CPNav is best understood as a reliability layer around an existing VLM navigation policy. RGB-D proposals make actions executable, two language queries produce semantic scores, a widest-path oracle constructs trajectory-level calibration examples, and conformal prediction supplies an online admissibility threshold. A dynamically growing tree preserves alternatives and supports local or global recovery.
The gains are consistent across HM3D, MP3D, restricted budgets, and a small real-robot study. CPNav reaches 86.0 SR and 44.9 SPL on HM3D, 77.0 and 46.8 on MP3D, and 83.3 and 48.4 on hardware. Its weakness is also clear: complete recovery costs distance. The method is therefore most suitable when finding the object reliably matters more than minimizing travel.
The next technical steps are orientation-aware state nodes, calibration under deliberate distribution shift, and calibrated objectives that include energy or time. A production implementation should also log set size and fallback behavior in addition to success and path length, because those values reveal whether the filtering layer is working before a failed episode reaches the final metric.



