Skip to content
Robotics.world

Research

Positive Safety Margins from Artificial Potential Field Reward Augmentation for Size-Robust Obstacle Avoidance under Partial Observability

A robot arm must reach a target while two cylindrical pillars stand in the way, but the controller never sees the pillars — only its own end-effector position, velocity, and the goal.

The paper’s first page · arXiv:2611.02947
arXiv
2611.02947 · Preprint · not peer-reviewed
Published
2026-11-02
Authors
Ziyi Hao

In plain words

A robot arm must reach a target while two cylindrical pillars stand in the way, but the controller never sees the pillars — only its own end-effector position, velocity, and the goal.

AI summary

Overview

Research area: Reinforcement learning for robot manipulator motion planning, specifically safe obstacle avoidance under partial observability and reward design.

Technical level: Intermediate — the paper assumes familiarity with Markov decision processes, PPO/SAC/TD3, reward shaping, and artificial potential fields, but its central argument is intuitive and can be followed without deep RL theory.

Scope: A single-author simulation study showing that adding one analytic artificial-potential-field term to a reaching reward forces a learned manipulator policy to keep a positive clearance from obstacles whose size and instantaneous position it never observes, and that this clearance survives obstacle radii larger than those seen in training.

What This Paper Is About

A robot arm must reach a target while two cylindrical pillars stand in the way, but the controller never sees the pillars — only its own end-effector position, velocity, and the goal. The problem the paper identifies is structural: if the reward only punishes actual collision, a per-step cost makes skimming the obstacle surface the cheapest strategy, and the policy silently memorizes the obstacle boundary at the training radius. When the obstacle grows slightly larger than in training, that policy starts to penetrate it with no signal that anything changed. The goal is to test whether a single analytic reward term can push the learned behavior outward into a positive safety margin without ever exposing obstacle geometry to the policy.

Key Contributions

  1. Demonstrates a near-zero-margin failure mode under hidden observation. Without the potential-field term, the policy converges to a minimum clearance of 9.6 ± 5.9 mm at the training radius, and its safe success rate collapses as the radius grows.
  2. Shows that one horizontal APF reward term induces a positive margin. The augmented reward produces a 47.9 ± 11.8 mm minimum clearance, keeps safe success above 88% across a radius sweep from 0.03 m to 0.055 m (30 seeds), and eliminates training collisions at least eight times earlier in median training steps.
  3. Rules out a simpler explanation. Raising the collision penalty 25–50× produces a margin in only 1–2 of 10 seeds, so the effect is specific to the potential term rather than to stronger collision aversion.
  4. Shows the effect generalizes across configurations. The advantage is statistically significant at all out-of-distribution radii, persists under full observation and across three RL solvers, and the obstacle-blind learned policy reaches a safe success rate comparable to a classical APF planner that is given the pillar positions.

Main Findings

  • The safety term is what carries robustness. Across six radii, the APF groups stay high while the non-APF groups collapse:
Group ρ=0.030 0.035 0.040 0.045 0.050 0.055
ours 94.3 94.3 94.3 94.3 93.5 89.4
no_apf 92.5 69.3 32.9 22.8 17.2 9.5
no_progress 93.7 93.7 93.7 93.5 91.8 88.3
vanilla 95.3 68.1 30.2 22.7 17.2 9.7
no_xy_apf 83.6 64.6 39.8 27.7 16.6 7.5

(Safe success rate in %, mean over n = 30 seeds, 50 goals each.)

  • Collision rates mirror the same split. Non-APF groups rise from 30.1% and 30.3% at ρ = 0.035 m to 90.4% and 90.2% at ρ = 0.055 m, while APF groups stay below 6% throughout.
  • The margin is large and measurable. At the training radius the APF policies keep 47.9 mm and 45.8 mm of clearance from the pillar surface (center distances 77.9 mm and 75.8 mm), versus 9.6 mm, 9.7 mm, and 8.4 mm for the non-APF variants (center distances 39.6 mm, 39.7 mm, 38.4 mm) — roughly a 5× clearance ratio and a 2× center-distance ratio.
  • The margin is a fixed buffer, not an adaptation. Because the policy never observes the pillar, its trajectory depends on the goal alone and is identical at every radius; the minimum clearance of the APF policy therefore falls with slope exactly −1 as ρ grows, with the center distance pinned at 77.9 mm. The learned buffer (47.9 mm) simply exceeds the largest radius increase tested (25 mm).
  • Removing only the horizontal term removes the benefit. The no_xy_apf control, which keeps the height penalty but drops the horizontal potential, learns only 8.4 mm of clearance and drops to 7.5% safe success at ρ = 0.055 m — isolating the horizontal potential as the causal ingredient.
  • The goal-progress reward is not responsible. no_progress closely tracks ours at every radius, so the robustness does not depend on that term.
  • The safety margin costs path efficiency. The path is lengthened by about 19%.
  • A bigger collision penalty is a poor substitute. Scaling the collision penalty 25–50× yields a margin in only 1–2 of 10 seeds.
  • Policies do not cheat over the top. The pillars are 0.21 m tall and do not reach the workspace ceiling, yet the over-top rate is 0% for every policy at every radius, including no_apf and vanilla, whose rewards contain no ceiling penalty.
  • Safe success rate, not success rate, is the informative metric. Because collisions are non-terminal, the end-effector can reach the goal through a pillar, so raw success stays near 1 even when a policy collides in 80% of episodes.

Methodology in Plain English

The setup is a simulated 7-DoF Franka Emika Panda arm in PyBullet, using the PandaReach-v3 task from panda-gym. The policy sees a 9-dimensional observation — end-effector position, end-effector velocity, and goal — and outputs a 3-dimensional displacement command scaled to at most 0.05 m per step. The two pillars sit at fixed nominal centers but drift as a bounded random walk of ±5 mm per step (reflected at ±15 mm), and their radius is never observed. Training uses ρ = 0.03 m; evaluation sweeps six radii up to 0.055 m.

The intervention is purely in the reward. Alongside the native negative goal distance, a success bonus, a goal-progress term, an action-magnitude smoothness penalty, a collision penalty, and a constant step cost, the author adds a horizontal potential field that is active only within the pillar's height band and only when the end-effector's horizontal clearance is below a safety distance of d_safe = 0.08 m. Inside that annulus the penalty grows quadratically with proximity to the surface; it is defined relative to the pillar surface but never given the radius. A second term penalizes going above the pillar top, softly rather than as a hard constraint.

Crucially, this is not potential-based shaping in the Ng–Harada–Russell sense — it is a state-dependent cost, not a difference of potentials — so it deliberately changes the optimal policy, moving the optimum from the obstacle surface outward to the safety margin. Collisions are made non-terminal (a per-step penalty instead of episode termination) because in preliminary runs with terminal collisions the no-APF policy collapsed to a 100% collision rate, which would have measured a failure to learn rather than the absence of a safety prior.

Four ablations attribute the effect: no_apf removes both potential terms, no_progress removes the goal-progress term, vanilla keeps only distance, collision penalty, and step cost, and no_xy_apf removes only the horizontal potential. Statistics use 95% confidence intervals, two-sided Welch t-tests, and Mann–Whitney U checks, over 30 seeds per group and 50 goals per evaluation.

Why This Matters

Impact on research. The paper names a specific and easily overlooked failure mode: a collision-only reward under hidden observation stores the obstacle boundary as a memorized absolute distance, which is silently invalidated by a small change in obstacle size. It also shows that reward augmentation, not just observation design or shielding, can be the channel through which safety priors reach a policy that cannot perceive the hazard. The comparison to a classical APF planner is a useful reference point: a learned, obstacle-blind policy comes close to a planner that is handed the obstacle positions.

Real-world applications:

  • Bin picking and assembly cells where the arm occludes its own view of fixtures and surrounding objects.
  • Warehouse and logistics manipulation, where package sizes vary between runs but are never reliably measured.
  • Human–robot collaboration, where a person's exact position and body dimensions are uncertain and a fixed buffer is safer than surface-skimming.
  • Mobile manipulators or inspection arms operating near structures with noisy or stale pose estimates.

Industry relevance. Practitioners deploying RL controllers in fixed workcells often cannot guarantee that obstacle geometry is measured or that it stays constant. A single reward term with one tunable safety distance is a low-engineering-cost way to buy robustness, and the paper's negative result — that simply raising the collision penalty does not work — saves others from an intuitive but ineffective fix. The reported ~19% path-length cost is the trade-off a deployment team would need to accept.

Future Directions

  • Make the margin adaptive rather than fixed. The buffer is learned at one training radius and does not scale; a policy that cannot observe the radius currently has no way to widen its margin when obstacles grow, which is why safe success declines at the largest radii.
  • Test domain randomization over the radius as a complement. The authors explicitly set this aside because it would remove the out-of-distribution premise, but comparing a randomized-radius policy against the fixed-buffer prior is an open question.
  • Combine the potential term with constrained or Lagrangian safe-RL methods. The paper does not compare against constrained policy optimization or PID-Lagrangian approaches, and notes that pairing a clearance-dependent cost with a Lagrangian method is future work.
  • Extend beyond one simulated reaching task. The evaluation covers a single Panda reaching scene with two cylindrical pillars; generalization to other robots, articulated or moving obstacles, and real hardware is untested.

Target Audience

RL researchers and graduate students working on safe control and reward design; robotics engineers deploying learned manipulators in workcells where obstacle geometry is uncertain; and practitioners interested in how analytic priors can be injected through reward rather than through observations, shielding, or run-time filters. Readers chiefly interested in perception, state estimation, or sim-to-real transfer will find the paper's deliberate restriction to a fixed, unobserved workcell limiting.

Authors’ abstract

Collision-free reaching is central to manipulation, yet real cells often leave the size and exact position of an obstacle unobserved, which excludes reinforcement learning controllers that take obstacle geometry as input. A reward limited to a collision penalty does not depend on the clearance outside the obstacle, so under a step cost its learned policy skims the obstacle surface and fails once the obstacle radius exceeds its training value. We investigate whether a single…

The full abstract on arXiv
Read the original paper

Related papers