arXiv:2611.02947cs.RONov 2026

Manuscript Offprint

arXiv:2611.02947

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

Ziyi Hao

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 analytic reward term can induce a safety margin without exposing the obstacle to the policy. We augment the reward of a simulated Franka Emika Panda reaching task with a horizontal artificial potential field that penalizes proximity within a safety margin around each of two pillars (fixed nominal layout, random drift). Under hidden observation, policies trained with this term maintain a safe success rate above 88% across a radius sweep from 0.03 m to 0.055 m (30 seeds), while policies without it fall below 10% at the maximum tested radius; the term induces a minimum clearance of 47.9 mm against 9.6 mm without it and eliminates training collisions at least eight times earlier (median steps). The advantage is statistically significant at all out-of-distribution radii and holds across three reinforcement learning solvers and under full observation. Its safe success rate is comparable to that of a classical potential-field planner given the pillar positions. The margin is a fixed buffer rather than an adaptation to the radius, and it lengthens the path by about 19%.

*Corresponding author.

1^{1}Present address: Tianjin, China.

Keywords: reinforcement learning, obstacle avoidance, reward augmentation, artificial potential field, partial observability, manipulator

1. Introduction

Robotic manipulators are deployed across assembly, logistics, and human-robot collaboration, where collision-free reaching is a prerequisite for safe and reliable operation. Real manipulation cells, however, seldom expose their surroundings fully to the controller. Occlusion by the arm itself or by other objects, together with noisy pose estimates, can remove obstacles from the observation stream [1], leaving the controller to act while the exact position, motion, and size of the obstacle are unknown. In this setting the task becomes partially observable [2], and the policy cannot acquire avoidance behavior through perception alone. We study a fixed workcell: the nominal obstacle layout is the same in every episode and can therefore be learned implicitly from experience, whereas the obstacle size and the instantaneous position, which drifts around the nominal one, are not observed. We call this protocol hidden observation.

Existing approaches fall short of this setting in three respects. Methods that plan in a fully observed model assume the obstacle geometry is available, either to a planner or to the policy. Recent reinforcement learning controllers for manipulator obstacle avoidance follow this assumption: they include the obstacle distance in the state observation [3] or derive the reward from an artificial potential field whose attraction and repulsion are computed from the known obstacle positions [4–6]. These methods do not ask whether the learned behavior survives a change in obstacle size. Safe reinforcement learning methods that constrain a cost signal [7–9] are not excluded by hidden observation, because a cost reaches the policy through training in the same way as a reward; they bound an expected cost, however, rather than prescribe a clearance, and filters that act on the obstacle state or model at run time need information that hidden observation withholds (Section 2.3). A classical artificial potential field used directly as a planner [10] requires no learning, but it needs the obstacle positions and radius at run time, which are exactly what the hidden-observation setting withholds (Section 4.8). To our knowledge, none of these lines of work addresses the combination we study: a policy that does not observe the obstacle size or its instantaneous position, evaluated against obstacle sizes beyond those seen in training.

The failure that this combination induces is specific and structural. A reward that penalizes only collision is flat with respect to clearance everywhere outside the obstacle, so under a per-step cost the minimum-cost policy should converge to zero clearance, resting on the obstacle surface or penetrating it wherever penetration is cheaper than a detour. Such a policy is valid within the training distribution, but it stores the obstacle boundary as a learned absolute distance from the pillar center; the center is learnable because the nominal layout is fixed, whereas the radius is not observed. When the obstacle radius exceeds its training value, a trajectory that was barely collision-free begins to penetrate the obstacle, and the policy has no signal with which to detect the change.

We address this failure by injecting an analytic prior into the reward. We augment the dense reaching reward with a horizontal artificial potential field that penalizes proximity to each obstacle within a safety margin around its surface, while the obstacle itself remains unobserved. The term is a reward augmentation rather than a potential-based shaping: it is a state-dependent cost, not a potential difference, so the policy-invariance guarantee of potential-based shaping [11] does not apply and the term changes the optimal policy by construction. It moves the penalty boundary from the obstacle surface outward, to the safety margin, so the learned optimum becomes a positive safety margin rather than contact with the surface. Because the policy never observes the radius, the induced margin is a fixed buffer at the training radius rather than an adaptation to the test-time radius. The buffer is 47.9 mm wide, which exceeds the largest radius increase tested here (25 mm), so the prior makes the behavior robust to moderate changes of a quantity that the policy cannot observe.

This paper makes three contributions. First, we demonstrate the near-zero-margin failure under hidden observation: without the APF term, the policy converges to a minimum clearance of 9.6 mm at the training radius, and its safe success rate collapses as the radius grows. Second, we show that a single horizontal APF term induces a positive safety margin of 47.9 mm and maintains the safe success rate, the fraction of episodes that reach the goal without collision, above 88% across the entire radius sweep from 0.03 m to 0.055 m, while eliminating collisions during training at least eight times earlier in median training steps, with the advantage statistically significant at all out-of-distribution radii, and that this margin is specific to the potential: raising the collision penalty 25-50× produces a margin in only 1-2 of 10 seeds. Third, we show that the effect is not specific to one configuration:

it persists under full observation and across three RL solvers, and the resulting policy, which does not observe the obstacles, reaches a safe success rate comparable to that of a classical APF planner that reads the pillar positions. The evaluation is limited to one simulated reaching task, and the margin is fixed rather than adaptive: the safe success rate declines at the largest radii, and Section 5 states the remaining limitations.

References (21)