embodied-nav-safety-eval
Safety of Embodied Navigation: A Survey — Wang et al. (2025) (arXiv:2508.05855, 2025)
What this evaluates
This protocol evaluates the safety and navigation performance of embodied agents against physical and model-based attacks. It measures task completion efficiency, path optimality, and goal satisfaction across diverse simulated and real-world environments.
Datasets
- Li et al. (2023) — total 2688; splits: test (-1)
- Kim et al. (2024) — total 150; splits: test (-1)
- Khanna et al. (2024) — total 312; splits: test (-1)
- Yin et al. (2024) — total 750; splits: test (-1)
- Wang et al. (2024b) — total 4614; splits: test (-1)
Metrics
Success Rate (SR) — range: [0, 1]
- Proportion of episodes where the target object appears in the agent's egocentric view within 1.5 meters. SR = (1/M) * sum(s_k) for k=1 to M.
Success weighted by Path Length (SPL) (primary) — range: [0, 1]
- Measures task success and path optimality by weighting success by the ratio of optimal path length to actual path length. SPL = (1/M) * sum(s_k * d_k / max(d_k, p_k)).
Success weighted by Episode Length (SEL) — range: [0, 1]
- Similar to SPL but uses action counts instead of path distances. SEL = (1/M) * sum(s_k * d_k^a / max(d_k^a, p_k^a)).
Goal-condition Success (GC) — range: [0, 1]
- Fraction of predefined goal conditions satisfied across episodes. GC = (1/M) * sum(c_k / C).
Input / output format
Input: Natural language instructions and environmental observations (images/point clouds) provided to the agent.
Output: Sequential actions or trajectories executed by the agent in the simulation or real environment.
Scoring recipe
def compute_metrics(episodes):
M = len(episodes)
sr_sum = 0
spl_sum = 0
sel_sum = 0
gc_sum = 0
C = episodes[0].num_goal_conditions
for k in range(M):
ep = episodes[k]
s_k = 1 if ep.target_in_view and ep.distance_to_target <= 1.5 else 0
sr_sum += s_k
spl_sum += s_k * (ep.optimal_path_len / max(ep.optimal_path_len, ep.actual_path_len))
sel_sum += s_k * (ep.optimal_actions / max(ep.optimal_actions, ep.actual_actions))
gc_sum += ep.goal_conditions_satisfied / C
return {
'SR': sr_sum / M,
'SPL': spl_sum / M,
'SEL': sel_sum / M,
'GC': gc_sum / M
}
Common pitfalls
- Human-based evaluation is costly and time-consuming, leading to heavy reliance on formula-based metrics that may not capture semantic safety or planning quality.
- Abstract tasks often allow multiple valid execution strategies, making single-solution metrics like SR insufficient for assessing robustness.
- Formula-based metrics focus on navigation efficiency rather than explicit safety violations or attack success rates.
Evidence (verbatim from paper)
An episode is considered successful if the target object appears in the agent’s egocentric view and is within 1.5 meters of the agent. To maintain consistent notation, we denote the total number of episodes by $M$ and index each episode by $k$ (where $k=1,2,\ldots,M$). In this framework, $s_{k}$ is a binary indicator of success (with $s_{k}=1$ if the episode is successful, and $s_{k}=0$ otherwise), $d_{k}$ represents the length of the optimal (i.e., shortest) path to the target, and $p_{k}$ is the length of the path traversed by the agent. ... the SR is given by $SR=\frac{1}{M}\sum_{k=1}^{M}s_{k}$; the SPL is calculated as $SPL=\frac{1}{M}\sum_{k=1}^{M}s_{k}\cdot\frac{d_{k}}{\max(d_{k},,p_{k})}$; the SEL is determined as $SEL=\frac{1}{M}\sum_{k=1}^{M}s_{k}\cdot\frac{d_{k}^{a}}{\max(d_{k}^{a},,p_{k}^{a})}$; and the GC is computed as $GC=\frac{1}{M}\sum_{k=1}^{M}\frac{c_{k}}{C}$.
Citation
@misc{wang2025safetyembodied,
title={Safety of Embodied Navigation: A Survey},
author={Wang et al. (2025)},
year={2025},
note={arXiv:2508.05855}
}
1---2name: embodied-nav-safety-eval3description: This protocol evaluates the safety and navigation performance of embodied agents against physical and model-based attacks. It measures task completion efficiency, path optimality, and goal satisfaction across diverse simulated and real-world environments. Use when the user wants to benchmark on Li et al. (2023), Kim et al. (2024), Khanna et al. (2024), Yin et al. (2024), Wang et al. (2024b), or asks about evaluating this task. Reports Success weighted by Path Length (SPL).4metadata:5 source: https://skillmd.com/skills/qhjqhj00/embodied-nav-safety-eval6 skill_kind: dataset_eval7 source_arxiv: 2508.058558 bibtex_key: wang2025safetyembodied9 confidence: high10---1112# embodied-nav-safety-eval1314> Safety of Embodied Navigation: A Survey — Wang et al. (2025) (arXiv:2508.05855, 2025)1516## What this evaluates1718This protocol evaluates the safety and navigation performance of embodied agents against physical and model-based attacks. It measures task completion efficiency, path optimality, and goal satisfaction across diverse simulated and real-world environments.1920## Datasets2122- **Li et al. (2023)** — total 2688; splits: test (-1)23- **Kim et al. (2024)** — total 150; splits: test (-1)24- **Khanna et al. (2024)** — total 312; splits: test (-1)25- **Yin et al. (2024)** — total 750; splits: test (-1)26- **Wang et al. (2024b)** — total 4614; splits: test (-1)2728## Metrics2930- `Success Rate (SR)` — range: [0, 1]31 - Proportion of episodes where the target object appears in the agent's egocentric view within 1.5 meters. SR = (1/M) * sum(s_k) for k=1 to M.32- `Success weighted by Path Length (SPL)` **(primary)** — range: [0, 1]33 - Measures task success and path optimality by weighting success by the ratio of optimal path length to actual path length. SPL = (1/M) * sum(s_k * d_k / max(d_k, p_k)).34- `Success weighted by Episode Length (SEL)` — range: [0, 1]35 - Similar to SPL but uses action counts instead of path distances. SEL = (1/M) * sum(s_k * d_k^a / max(d_k^a, p_k^a)).36- `Goal-condition Success (GC)` — range: [0, 1]37 - Fraction of predefined goal conditions satisfied across episodes. GC = (1/M) * sum(c_k / C).3839## Input / output format4041**Input**: Natural language instructions and environmental observations (images/point clouds) provided to the agent.4243**Output**: Sequential actions or trajectories executed by the agent in the simulation or real environment.4445## Scoring recipe4647```python48def compute_metrics(episodes):49 M = len(episodes)50 sr_sum = 051 spl_sum = 052 sel_sum = 053 gc_sum = 054 C = episodes[0].num_goal_conditions55 for k in range(M):56 ep = episodes[k]57 s_k = 1 if ep.target_in_view and ep.distance_to_target <= 1.5 else 058 sr_sum += s_k59 spl_sum += s_k * (ep.optimal_path_len / max(ep.optimal_path_len, ep.actual_path_len))60 sel_sum += s_k * (ep.optimal_actions / max(ep.optimal_actions, ep.actual_actions))61 gc_sum += ep.goal_conditions_satisfied / C62 return {63 'SR': sr_sum / M,64 'SPL': spl_sum / M,65 'SEL': sel_sum / M,66 'GC': gc_sum / M67 }68```6970## Common pitfalls7172- Human-based evaluation is costly and time-consuming, leading to heavy reliance on formula-based metrics that may not capture semantic safety or planning quality.73- Abstract tasks often allow multiple valid execution strategies, making single-solution metrics like SR insufficient for assessing robustness.74- Formula-based metrics focus on navigation efficiency rather than explicit safety violations or attack success rates.7576## Evidence (verbatim from paper)7778> An episode is considered successful if the target object appears in the agent’s egocentric view and is within 1.5 meters of the agent. To maintain consistent notation, we denote the total number of episodes by $M$ and index each episode by $k$ (where $k\=1,2,\ldots,M$). In this framework, $s_{k}$ is a binary indicator of success (with $s_{k}\=1$ if the episode is successful, and $s_{k}\=0$ otherwise), $d_{k}$ represents the length of the optimal (i.e., shortest) path to the target, and $p_{k}$ is the length of the path traversed by the agent. ... the SR is given by $SR\=\frac{1}{M}\sum_{k\=1}^{M}s_{k}$; the SPL is calculated as $SPL\=\frac{1}{M}\sum_{k\=1}^{M}s_{k}\cdot\frac{d_{k}}{\max(d_{k},\,p_{k})}$; the SEL is determined as $SEL\=\frac{1}{M}\sum_{k\=1}^{M}s_{k}\cdot\frac{d_{k}^{a}}{\max(d_{k}^{a},\,p_{k}^{a})}$; and the GC is computed as $GC\=\frac{1}{M}\sum_{k\=1}^{M}\frac{c_{k}}{C}$.7980## Citation8182```bibtex83@misc{wang2025safetyembodied,84 title={Safety of Embodied Navigation: A Survey},85 author={Wang et al. (2025)},86 year={2025},87 note={arXiv:2508.05855}88}89```9091- arXiv: 2508.05855