Oracle-Guided Soft Shielding for Safe Move Prediction in Chess
On the map: Offline RL and imitation learning from data → Imitation learning methods
Abstract (arXiv)
In high stakes environments, agents relying purely on imitation learning or reinforcement learning often struggle to avoid safety-critical errors during exploration. Existing reinforcement learning approaches for environments such as chess require hundreds of thousands of episodes and substantial computational resources to converge. Imitation learning, on the other hand, is more sample efficient but is brittle under distributional shift and lacks mechanisms for proactive risk avoidance. In this work, we propose Oracle-Guided Soft Shielding (OGSS), a simple yet effective framework for safer decision-making, enabling safe exploration by learning a probabilistic safety model from oracle feedback in an imitation learning setting. Focusing on the domain of chess, we train a model to predict strong moves based on past games, and separately learn a blunder prediction model from Stockfish evaluations to estimate the tactical risk of each move. During inference, the agent first generates a set of candidate moves and then uses the blunder model to determine high-risk options, and uses a utility function combining the predicted move likelihood from the policy model and the blunder probability to select actions that strike a balance between performance and safety. This enables the agent to explore and play competitively while significantly reducing the chance of tactical mistakes. Across hundreds of games against a strong chess engine, we compare our approach with other methods in the literature, such as action pruning, SafeDAgger, and uncertainty-based sampling. Our results demonstrate that OGSS variants maintain a lower blunder rate even as the agent's exploration ratio is increased by several folds, highlighting its ability to support broader exploration without compromising tactical soundness.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Imitation learning methods, one of 13 directions in Offline RL and imitation learning from data. Builds on 16 of its 33 references that are in the map. First posted on arXiv 9 Mar 2026.
Builds on
16 of 33 references.
Closest ancestors · 6
Same direction, newest first
- 2024Is Behavior Cloning All You Need? Understanding Horizon in Imitation Learning20 Jul
- 2023MEGA-DAgger: Imitation Learning with Multiple Imperfect Experts1 Mar
- 2022Imitation Learning by Estimating Expertise of Demonstrators2 Feb
- 2021ThriftyDAgger: Budget-Aware Novelty and Risk Gating for Interactive Imitation Learning17 Sep
- 2018HG-DAgger: Interactive Imitation Learning with Human Experts5 Oct
- 2018EnsembleDAgger: A Bayesian Approach to Safe Imitation Learning22 Jul
Other references · 10
- 2017Constrained Policy Optimizationcited by 928
- 2017Safe Reinforcement Learning via Shieldingcited by 427
- 2018A Survey of Inverse Reinforcement Learning: Challenges, Methods and Progresscited by 294
- 2018Safe Exploration in Continuous Action Spacescited by 237
- 2013Risk-sensitive Reinforcement Learningcited by 129
- 2016Query-Efficient Imitation Learning for End-to-End Autonomous Drivingcited by 83
- 2021LazyDAgger: Reducing Context Switching in Interactive Imitation Learningcited by 50
- 2023Safe Reinforcement Learning via Probabilistic Logic Shieldscited by 41
- 2022A Review of Uncertainty for Deep Reinforcement Learningcited by 36
- 2024Human-aligned Chess with a Bit of Searchcited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2021Modeling Strong and Human-Like Gameplay with KL-Regularized Search
- 2025SafeMIL: Learning Offline Safe Imitation Policy from Non-Preferred Trajectories
- 2026OSIL: Learning Offline Safe Imitation Policies with Safety Inferred from Non-preferred Trajectories
- 2024Amortized Planning with Large-Scale Transformers: A Case Study on Chess
- 2026Robust Probabilistic Shielding for Safe Offline Reinforcement Learning
- 2023Approximate Shielding of Atari Agents for Safe Exploration
- 2026Chess-World-Model: A 10M-Game Benchmark for Exact State Tracking from Chess Move Sequences
- 2022A Ranking Game for Imitation Learning