Artificial intelligence
Action shielding
Definition
Action shielding places a safety mechanism between a policy and its environment so unsafe candidate actions can be excluded or modified before execution. The shield's assurance is limited to the specification, model, state information, and intervention rule used to construct it.
Also known as: Policy shielding, Safety shielding
Updated
Intervene at the policy boundary
A learned controller may propose an action that has high expected reward but violates a safety rule. A shield checks the proposal before the environment receives it. It can expose only actions judged safe, called pre-emptive shielding, or replace a selected unsafe action, called post-posed shielding.
Alshiekh and colleagues synthesise shields from temporal-logic safety specifications and an abstraction of environment dynamics. Their construction aims for minimum interference by restricting the learner only when its choice would endanger the specified behaviour.
Shields can be formal, predictive, or learned
A shield may use a finite-state abstraction, reachability analysis, a short-horizon model, or a constraint such as a control barrier function. The safety rule can target collision separation, joint limits, forbidden contact, or another property that the available model can evaluate.
A 2026 preprint by Ju and colleagues learns a receding-horizon safety critic and uses it in a differentiable action filter for simulated quadruped locomotion. The authors report fewer catastrophic failures under the disturbances and terrain shifts they evaluated. This is simulation evidence for that learned critic and filter, not a formal guarantee for unseen robots or environments.
A shield is not a safe robot certificate
Shielding differs from reward shaping: a reward can discourage unsafe behaviour, while a shield can block an action regardless of its reward. It also differs from training a policy that never proposes unsafe actions. Frequent interventions can hide policy weaknesses and create a mismatch between proposed and executed behaviour.
Any assurance is conditional. An incomplete dynamics abstraction, delayed state estimate, missed obstacle, infeasible safe-action set, or specification that omits a hazard can invalidate it. A shield that preserves distance from obstacles says nothing by itself about pinch forces, falls, thermal limits, or human intent. Designers must log interventions, define fallback behaviour when no admissible action exists, and test the combined policy and shield on the physical system.
Sources
Related terms
Reinforcement learning
Reinforcement learning trains an agent to choose actions that maximize expected cumulative reward through experience with an environment. In robotics, the learned policy can select movements or higher-level behaviors from observations.
Control barrier function
A control barrier function is a mathematical function used to express a safe set for a dynamical system and constrain control inputs so the system remains inside that set. It is commonly used as a safety filter around a nominal robot controller.
Reachability analysis
Reachability analysis computes sets of states that a dynamical system can reach, or from which it can reach a target, under specified controls, time limits, and disturbances. Robots use it to reason about feasibility, collision avoidance, and conditional safety guarantees.
Self-collision avoidance
Self-collision avoidance keeps different parts of the same robot from intersecting or entering an unsafe clearance while it moves. It can be enforced during planning, inverse kinematics, or reactive control using the robot's geometry and current state.