arXiv:2609.11433cs.ROSep 2026

Manuscript Offprint

arXiv:2609.11433

Safety-aware Skill Adaptation for Reinforcement Learning in Dynamic Environments

A K M Nadimul Haque, Sheila Sutjipto, Marc G. Carmichael, Teresa Vidal-Calleja

A K M Nadimul Haque, Sheila Sutjipto, Marc G. Carmichael and Teresa Vidal-Calleja

Abstract—Skill adaptation frameworks based on reinforcement learning often require restrictive assumptions to maintain stability, such as fixed observations or tightly controlled exploration schedules. In cluttered and dynamic environments, however, unrestricted exploration can lead to unsafe behaviour and unstable learning, particularly when task-relevant observations lie near obstacles or involve moving objects. In this work, we present Dist-GPRL, a distance-aware and safety-guided reinforcement learning framework for structured robot skill adaptation. Building upon Gaussian Process (GP)-based skill parameterisation, our framework sequentially adapts overlapping local windows of sparse trajectory via-points rather than modifying the complete skill at every policy step. Raw policy outputs are correlated through the GP covariance structure, producing temporally coherent trajectory updates while reducing the action-space and credit-assignment difficulties associated with global trajectory adaptation. Safety is incorporated through two complementary forms of guidance. A safe-subspace prior derived from the Hausdorff Approximation Planner (HAP) biases policy exploration toward feasible regions, while dynamically updated distance field clearance and gradient rewards provide local obstacle awareness. A trajectory-kinematics similarity regulariser further preserves the demonstrated velocity and acceleration characteristics during adaptation. We evaluate the framework on two dynamic object-manipulation tasks in simulation and transfer the learned policy to real-world robot execution. Experimental results demonstrate higher task success, lower collision frequency, and more stable learning than the baselines, while preserving the kinematic characteristics of the demonstrated skill.

I. INTRODUCTION

Collaborative robots operating in industrial and unstructured environments must adapt learned skills to varying task configurations (TC) such as different object poses, and start or end conditions, while maintaining safety and motion consistency. Rather than simply reproducing demonstrated trajectories, modern robotic systems increasingly focus on learning parameterised skills that can be robustly adapted to new TCs while retaining the kinematic properties of expert demonstrations. Skill learning encodes structured motion priors, whereas safe skill adaptation requires generalising these priors to novel and potentially dynamic task configurations without compromising safety or motion consistency.

Recent works have explored hybrid frameworks that combine probabilistic skill parameterisation with deep reinforcement learning (DRL) to enable efficient adaptation.

Figure

Fig. 1. Distance field guidance with safe subspace prior facilitates policies that produce structured trajectory modifications that avoid obstacles while preserving demonstrated kinematics. The learned policy adapts skills in simulation (top) and transfers them to real-world robot execution (bottom).

Representations such as Dynamic Movement Primitives (DMPs) [1], and Gaussian Mixture Models (GMMs) [2] have been integrated with DRL. However, DMPs lack the ability to model trajectory distributions, while GMM-based approaches often exhibit limited expressiveness in complex manipulation tasks. ProMPs [3] are more expressive, but lack intuitive integration with DRL adaptation. Gaussian Processes (GPs) also provide a more expressive alternative for skill representation and have been integrated with DRL frameworks for adaptation [4], enabling structured adaptation on TCs and improved retention of demonstrated kinematics. Despite these advantages, existing GP-based adaptation frameworks rely on restrictive assumptions to maintain stability, such as fixed and collision-free TC observations, as well as annealed exploration. These assumptions break down in cluttered environments, where TC observations may lie near obstacles and unrestricted policy exploration can lead to unstable learning.

This work was supported by the Industrial Transformation Training Centre (ITTC) for Collaborative Robotics in Advanced Manufacturing (also known as the Australian Cobotics Centre) funded by ARC (Project ID: IC200100001).

All authors are with the Robotics Institute, University of Technology Sydney, Australia (e-mail: akmnadimul.haque@student.uts.edu.au, {sheila.sutjipto,marc.carmichael,teresa.vidalcalleja}@uts.edu.au)

Specifically, ensuring safety during structured skill adaptation remains largely underexplored. While some approaches incorporate safety through reward shaping, explicit geometry-aware exploration remains limited. Prior work has introduced task-dependent safe subspaces [5] to guide policy exploration toward feasible robot configurations. However, constructing and updating these subspaces can be computationally expensive and robot-specific, limiting their applicability when the environment changes dynamically.

A complementary notion of safety can be expressed through proximity to obstacles. Distance fields provide a robot-agnostic and continuous representation of clearance from nearby surfaces, together with well-defined gradients that indicate locally safer directions for motion. They have proven useful in safe navigation [6] and manipulation [7]. However, their integration with structured adaptation of demonstrated skills remains relatively unexplored.

In this work, we propose Dist-GPRL, a safety-aware reinforcement learning framework that extends structured GP-based skill adaptation to cluttered and dynamic environments. Unlike prior GPRL formulations [4], which adapt the complete via-point set simultaneously, Dist-GPRL sequentially updates overlapping local trajectory windows. This reduces the effective action space and improves credit assignment while retaining the global GP trajectory representation. Within each window, raw policy outputs are transformed through the GP covariance rather than applied independently to individual via-points. This couples neighbouring modifications according to the demonstrated trajectory prior, producing temporally coherent adaptations and improving learning stability. Safety is introduced through two complementary forms of guidance: a safe-subspace prior derived from the Hausdorff Approximation Planner (HAP) biases policy exploration toward feasible pose regions, while dynamically updated distance field rewards provide local clearance and obstacle-avoidance feedback as the environment changes. Cosine similarity regularisation further preserves the demonstrated kinematic profile, preventing safety-driven adaptation from unnecessarily altering the underlying motion characteristics. Fig. 1 illustrates Dist-GPRL applied to the dynamic bar manipulation task in both simulation and real-world execution.

To summarise, our contributions are:

• A local, structured skill adaptation formulation that sequentially updates overlapping temporal windows, reducing the action-space and credit-assignment difficulties associated with global via-point adaptation.

  • A GP covariance-based action transformation that maps independent policy outputs into coherent via-point modifications consistent with the temporal structure of the demonstrated skill.

• A complementary safety-guidance formulation that combines a HAP-derived safe-subspace prior for efficient exploration, and dynamically updated distance field rewards for local obstacle awareness, while retaining demonstrated kinematics through kinematic similarity regularisation.

• Experimental validation on dynamic manipulation tasks in simulation and on real hardware with ablation studies and safety metrics.