SCOPE: Safety-Constrained Online Preview Enforcement for Efficient Encirclement in Multi-UAV Pursuit-Evasion
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 54-62.
https://doi.org/10.24963/ijcai.2026/7
Keywords
- AI Ethics, Trust, Fairnes: Safety and robustness
- Robotics: Multi-robot systems
- Machine Learning: Multiagent Reinforcement Learning
- Agent-based and Multi-agent Systems: Multi-agent learning
Abstract
Unmanned aerial vehicle swarms in pursuit-evasion requires encirclement efficiency while maintaining safety constraints, facing a critical safety-efficiency trade-off. Existing safe multi-agent reinforcement learning (MARL) methods often yield either unsafe task policies or conservative policies. This is challenging since forward feasible safety under dense interactions requires online safety preview. To address this issue, we propose Safety-Constrained Online Preview Enforcement (SCOPE), a MARL-based algorithm that balances encirclement efficiency and safety by short-horizon preview and safety enforcement. SCOPE learns an online safety-preview dynamics model that rolls out future trajectories to inform encirclement decisions checking. By proposing preview-fused actor-critic, SCOPE uses short-horizon previews for efficient encirclement and less unsafe behavior. Hierarchical safety enforcement performs safety look-ahead and online action correction to maintain forward feasible safety. Experiments show that SCOPE better balances encirclement efficiency and safety than safe MARL baselines, maintaining average encirclement time while reducing the average agent cost by 65.6%. Code could be found at https://github.com/98177qdn/SCOPE.
- [Achiam et al., 2017] Joshua Achiam, David Held, Aviv Tamar, and Pieter Abbeel. Constrained policy optimiza- tion. In Doina Precup and Yee Whye Teh, editors, Pro- ceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 22-31. PMLR, 06-11 Aug 2017.
- [Alshiekh et al., 2018] Mohammed Alshiekh, Roderick Bloem, Rüdiger Ehlers, Bettina Könighofer, Scott Niekum, and Ufuk Topcu. Safe reinforcement learning via shielding. Proceedings of the AAAI Conference on Artificial Intelligence, 32(1), Apr. 2018.
- [Brorholt et al., 2024] Asger Horn Brorholt, Kim Guldstrand Larsen, and Christian Schilling. Compositional shielding and reinforcement learning for multi-agent systems. arXiv preprint arXiv:2410.10460, 2024.
- [Cai et al., 2021] Zhiyuan Cai, Huanhui Cao, Wenjie Lu, Lin Zhang, and Hao Xiong. Safe multi-agent reinforce- ment learning through decentralized multiple control bar- rier functions. CoRR, abs/2103.12553, 2021.
- [Chen et al., 2025] Jiayu Chen, Chao Yu, Guosheng Li, Wenhao Tang, Shilong Ji, Xinyi Yang, Botian Xu, Huazhong Yang, and Yu Wang. Online planning for multi- uav pursuit-evasion in unknown environments using deep reinforcement learning. IEEE Robotics and Automation Letters, 10(8):8196-8203, 2025.
- [Chow et al., 2015] Yinlam Chow, Aviv Tamar, Shie Man- nor, and Marco Pavone. Risk-sensitive and robust decision-making: a cvar optimization approach. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Gar- nett, editors, Advances in Neural Information Processing Systems, volume 28.
- [Curran Associates, Inc., 2015. Chow et al., 2018] Yinlam Chow, Mohammad Ghavamzadeh, Lucas Janson, and Marco Pavone. Risk-constrained reinforcement learning with percentile risk criteria. Journal of Machine Learning Research, 18(167):1-51, 2018.
- [Dong et al., 2020] Fei Dong, Keyou You, and Shiji Song. Target encirclement with any smooth pattern using range- based measurements. Automatica, 116:108932, 2020.
- [Du et al., 2021] Wenbo Du, Tong Guo, Jun Chen, Biyue Li, Guangxiang Zhu, and Xianbin Cao. Cooperative pursuit of unauthorized uavs in urban airspace via multi-agent re- inforcement learning. Transportation Research Part C: Emerging Technologies, 128:103122, 2021.
- [Duan et al., 2024] Wei Duan, Jie Lu, and Junyu Xuan. Group-aware coordination graph for multi-agent rein- forcement learning. In Kate Larson, editor, Proceedings of the Thirty-Third International Joint Conference on Ar- tificial Intelligence, IJCAI-24, pages 3926-3934. Interna- tional Joint Conferences on Artificial Intelligence Organi- zation, 8 2024. Main Track. IJCAI
- [Gu et al., 2022] Shangding Gu, Jakub Grudzien Kuba, Munning Wen, Ruiqing Chen, Ziyan Wang, Zheng Tian, Jun Wang, Alois Knoll, and Yaodong Yang. Multi-agent constrained policy optimisation, 2022.
- [Hafez et al., 2014] A.T. Hafez, M. Iskandarani, S.N. Givigi, S. Yousefi, and A. Beaulieu. Uavs in formation and dy- namic encirclement via model predictive control. IFAC Proceedings Volumes, 47(3):1241-1246, 2014. 19th IFAC World Congress.
- [Hazra et al., 2025] Somnath Hazra, Pallab Dasgupta, and Soumyajit Dey. Incentivizing safer actions in policy opti- mization for constrained reinforcement learning. In James Kwok, editor, Proceedings of the Thirty-Fourth Interna- tional Joint Conference on Artificial Intelligence, IJCAI- 25, pages 5318-5326. International Joint Conferences on Artificial Intelligence Organization, 8 2025. Main Track. IJCAI
- [Ji et al., 2024] Jiaming Ji, Jiayi Zhou, Borong Zhang, Jun- tao Dai, Xuehai Pan, Ruiyang Sun, Weidong Huang, Yi- ran Geng, Mickel Liu, and Yaodong Yang. Omnisafe: An infrastructure for accelerating safe reinforcement learn- ing research. Journal of Machine Learning Research, 25(285):1-6, 2024.
- [Kim et al., 2010] Tae-Hyoung Kim, Shinji Hara, and Yu- taka Hori. Cooperative control of multi-agent dynamical systems in target-enclosing operations using cyclic pursuit strategy. International Journal of Control, 83(10):2040- 2052, 2010.
- [Lee and Kwon, 2024] Dongsu Lee and Minhae Kwon. Episodic future thinking mechanism for multi-agent rein- forcement learning. In A. Globerson, L. Mackey, D. Bel- grave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, edi- tors, Advances in Neural Information Processing Systems, volume 37, pages 11570-11601.
- Curran Associates, Inc., 2024.
- [Li and Azizan, 2024] Zeyang Li and Navid Azizan. Safe multi-agent reinforcement learning with convergence to generalized nash equilibrium, 2024.
- [Li et al., 2023] Yan Li, Xuejun Zhang, Yuanjun Zhu, and Ziang Gao. A uav path planning method in three- dimensional urban airspace based on safe reinforcement learning. In 2023 IEEE/AIAA 42nd Digital Avionics Sys- tems Conference (DASC), pages 1-7, 2023.
- [Liu et al., 2020] Yongshuai Liu, Jiaxin Ding, and Xin Liu. Ipo: Interior-point policy optimization under constraints. Proceedings of the AAAI Conference on Artificial Intelli- gence, 34(04):4940-4947, Apr. 2020.
- [Lowe et al., 2017] Ryan Lowe, YI WU, Aviv Tamar, Jean Harb, OpenAI Pieter Abbeel, and Igor Mordatch. Multi- agent actor-critic for mixed cooperative-competitive en- vironments. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Sys- tems, volume 30.
- Curran Associates, Inc., 2017.
- [Lv et al., 2024] Xinyuan Lv, Chi Peng, and Jianjun Ma. Control barrier function-based collision avoidance guid- ance strategy for multi-fixed-wing uav pursuit-evasion en- vironment. Drones, 8(8), 2024.
- [Ma et al., 2020] Junchong Ma, Huimin Lu, Junhao Xiao, Zhiwen Zeng, and Zhiqiang Zheng. Multi-robot target en- circlement control with collision avoidance via deep rein- forcement learning. Journal of Intelligent & Robotic Sys- tems, 99(2):371-386, Aug 2020.
- [Qu et al., 2024] Yang Qu, Jinming Ma, and Feng Wu. Safety constrained multi-agent reinforcement learning for active voltage control. In Kate Larson, editor, Proceedings of the Thirty-Third International Joint Conference on Arti- ficial Intelligence, IJCAI-24, pages 184-192. International Joint Conferences on Artificial Intelligence Organization, 8 2024. Main Track. IJCAI
- [Stooke et al., 2020] Adam Stooke, Joshua Achiam, and Pieter Abbeel. Responsive safety in reinforcement learn- ing by PID lagrangian methods. In Hal Daumé III and Aarti Singh, editors, Proceedings of the 37th Interna- tional Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 9133- 9143. PMLR, 13-18 Jul 2020.
- [Sun et al., 2023] Lijun Sun, Yu-Cheng Chang, Chao Lyu, Chin-Teng Lin, and Yuhui Shi. Matrixworld: A pursuit- evasion platform for safe multi-agent coordination and au- tocurricula. arXiv preprint arXiv:2307.14854, 2023.
- [Todorov et al., 2012] Emanuel Todorov, Tom Erez, and Yu- val Tassa. Mujoco: A physics engine for model-based con- trol. In 2012 IEEE/RSJ international conference on intel- ligent robots and systems, pages 5026-5033. IEEE, 2012.
- [Valianti et al., 2024] Panayiota Valianti, Kleanthis Malialis, Panayiotis Kolios, and Georgios Ellinas. Cooperative multi-agent jamming of multiple rogue drones using re- inforcement learning. IEEE Transactions on Mobile Com- puting, 23(12):12345-12359, 2024.
- [Wabersich and Zeilinger, 2023] Kim P. Wabersich and Melanie N. Zeilinger. Predictive control barrier func- tions: Enhanced safety mechanisms for learning-based control. IEEE Transactions on Automatic Control, 68(5):2638-2651, 2023.
- [Xiao and Feroskhan, 2024] Jiaping Xiao and Mir Fer- oskhan. Learning multipursuit evasion for safe targeted navigation of drones. IEEE Transactions on Artificial In- telligence, 5(12):6210-6224, 2024.
- [Yu et al., 2024] Hao Yu, Xiuxia Yang, Yi Zhang, and Zijie Jiang. Cooperative target fencing control for unmanned aerial vehicle swarm with collision, obstacle avoidance, and connectivity maintenance. Drones, 8(7), 2024.
- [Zhang et al., 2022] Linrui Zhang, Li Shen, Long Yang, Shixiang Chen, Xueqian Wang, Bo Yuan, and Dacheng Tao. Penalized proximal policy optimization for safe re- inforcement learning. In Lud De Raedt, editor, Proceed- ings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI-22, pages 3744-3750. Inter- national Joint Conferences on Artificial Intelligence Orga- nization, 7 2022. Main Track. IJCAI
- [Zhang et al., 2023a] Linrui Zhang, Qin Zhang, Li Shen, Bo Yuan, Xueqian Wang, and Dacheng Tao. Evaluating model-free reinforcement learning toward safety-critical tasks. Proceedings of the AAAI Conference on Artificial Intelligence, 37(12):15313-15321, Jun. 2023.
- [Zhang et al., 2023b] Ruilong Zhang, Qun Zong, Xiuyun Zhang, Liqian Dou, and Bailing Tian. Game of drones: Multi-uav pursuit-evasion game with online motion plan- ning by deep reinforcement learning. IEEE Transactions on Neural Networks and Learning Systems, 34(10):7900- 7909, 2023.
- [Zhang et al., 2024] Lijun Zhang, Lin Li, Wei Wei, Huizhong Song, Yaodong Yang, and Jiye Liang. Scalable constrained policy optimization for safe multi-agent reinforcement learning. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 138698-138730.
- Curran Associates, Inc., 2024.
- [Zhao et al., 2025] Yang Zhao, Wenzhe Zhao, and Xuelong Li. Msmar-rl: Multi-step masked-attention recovery re- inforcement learning for safe maneuver decision in high- speed pursuit-evasion game. In James Kwok, editor, Pro- ceedings of the Thirty-Fourth International Joint Confer- ence on Artificial Intelligence, IJCAI-25, pages 311-319. International Joint Conferences on Artificial Intelligence Organization, 8 2025. Main Track.
- [Zhou et al., 2025] Minnan Zhou, Mustafa Shaikh, Vat- salya Chaubey, Patrick Haggerty, Shumon Koga, Dimi- tra Panagou, and Nikolay Atanasov. Control strategies for pursuit-evasion under occlusion using visibility and safety barrier functions. In 2025 IEEE International Conference on Robotics and Automation (ICRA), pages 12863-12869, 2025.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
In safety-critical pursuit-evasion scenarios, safety constraints often require that unmanned aerial vehicle (UAV) swarms intercept a rogue UAV in a non-destructive manner. To achieve non-destructive interception, a common solution is cooperative encirclement, especially in cluttered low-altitude airspace [Yu et al., 2024; Valianti et al., 2024; Ma et al., 2020]. Compared with direct capture, encirclement requires multiple UAVs to close in simultaneously and maintain a coherent formation under dense interactions among UAVs, the evader, and moving obstacles [Dong et al., 2020]. To address this problem, research on reinforcement learning for safetycritical has attracted considerable attention.
∗Corresponding authors.

Multi-agent reinforcement learning (MARL) has achieved encouraging success in safety-critical autonomy, including robotic control [Duan et al., 2024], autonomous driving [Lee and Kwon, 2024], and airspace security [Du et al., 2021]. However, safety constraints are frequently incorporated only as a negative reward, which may not explicitly prevent instantaneous violations during execution [Qu et al., 2024; Zhang et al., 2023b; Zhang et al., 2024]. In practice, soft penalty allows the policy to trade safety for return, so it may incur instantaneous violations for higher efficiency, which is not permitted in safety-critical encirclement. As illustrated in Figure 1, multi-UAV pursuit-evasion requires efficient encirclement under safety constraints. Since the UAV swarm must satisfy strict multi-constraint safety, even instantaneous violations can cause collisions or mission failure [Lv et al., 2024]. In such settings, traditional MARL can lead to safetyefficiency trade-off: an unsafe task policy that violates safety constraints, or a conservative policy that prevents successful encirclement [Valianti et al., 2024].
Recently, more research has focused on safe MARL to handle safety constraints. Nevertheless, for multi-UAV pursuitevasion, it is still hard for existing safe MARL methods to achieve safe and efficient encirclement [Chen et al., 2025; Li et al., 2023]. In general, safe MARL approaches can be divided into objective-level and execution-level methods. Objective-level methods, such as primal-dual formulations, penalty-based schemes [Liu et al., 2020; Zhang et al., 2022], and risk-sensitive objectives [Chow et al., 2015], build constraints into the return or the optimization objective [Achiam et al., 2017], but they often provide only soft guarantees and may still allow brief safety violations during execution. Execution-level methods adjust actions before execution to enforce safety online [Alshiekh et al., 2018; Zhang et al., 2023a; Zhou et al., 2025], but they usually do not account for whether safety remains feasible over predicted trajectories, and they are often designed mainly for obstacle avoidance while ignoring inter-agent safety constraints [Zhao et al., 2025; Wabersich and Zeilinger, 2023].
To achieve safe and efficient encirclement, three challenges need to be addressed. (1) Safety constraints are often violated when there's no preview. With moving obstacles, aggressive closing rapidly shrinks safety margins, making nearfuture violations hard to predict and easy to miss until they occur. (2) Safety constraints often induces conservative policies that undermine encirclement efficiency. Conservative policies can fragment the formation and delay or prevent encirclement, making it difficult to enforce strict safety constraints without sacrificing efficiency. (3) Ensuring forward feasible under dense interaction is challenging. Safety constraints depend on other moving entities and evolve over time, making forward feasible safety difficult to maintain and constraint satisfaction hard to guarantee in future states.
To address these challenges, we propose SafetyConstrained Online Preview Enforcement (SCOPE) for safe multi-UAV pursuit-evasion. SCOPE combines an online Safety-Preview Dynamics Model (SPDM) to produce shorthorizon safety previews and predict future trajectory under dense interactions. Then Preview-Fused Actor-Critic uses these previews to learn efficient encirclement policies without excessive conservatism. Hierarchical Safety Enforcement applies safety look-ahead and strict margin tightening to correct joint actions and maintain forward feasible safety. In addition, the safety enforcement provides a safety loss to networks update, encouraging safe and effective coordination during training. Together, these components address the safety-efficiency trade-off by improving encirclement performance while maintaining safety constraints.
The main contributions are summarized as follows:
- We design an online SPDM with preview-fused actorcritic that uses short-horizon safety previews to better mitigate the safety-efficiency trade-off in encirclement.
- We propose hierarchical safety enforcement, which enforces safety constraints via online action correction and safety loss during policy learning, while safety lookahead maintains forward feasible safety.
- We build a challenging multi-UAV pursuit-evasion task and validate SCOPE on it, showing advantages over state-of-the-art baselines via comparative and ablation studies. Results show that SCOPE completes tasks efficiently while maintaining forward feasible safety.
2 RelatedWorks
2.1 Model-BasedMethods for Encirclement
Encirclement and pursuit-evasion have long been studied from the perspective of model-based control and planning.
Cyclic-pursuit coordination is a typical choice for forming enclosing patterns [Kim et al., 2010]. Under limited sensing, range-only and coordinate-free guidance has been explored [Dong et al., 2020]. Model predictive control is often used when safety constraints are needed in dynamic encirclement [Hafez et al., 2014]. These methods can work well under their assumptions, but they are difficult to extend to dense agent interactions and moving obstacles.
2.2 Safe MARL for Encirclement
Safe MARL introduces safety costs into MARL and optimizes return under a violation budget [Hazra et al., 2025]. Dense constraints and non-stationary learning, however, make safe coordination difficult. Existing methods are often discussed at two levels: objective-level and execution-level. For objective-level methods, costs are folded into the optimization objective through primal-dual, penalty-based, or trust-region style updates [Liu et al., 2020; Zhang et al., 2022; Achiam et al., 2017]. MAP3O is a representative penaltybased method [Zhang et al., 2022]. Lyapunov-based methods enforce long-horizon safety via local constraints [Chow et al., 2018], whereas PID-Lagrangian stabilizes multiplier updates [Stooke et al., 2020]. Objective-level methods can be sensitive to hyperparameters, and their constraint satisfaction is usually soft or asymptotic [Xiao and Feroskhan, 2024; Li and Azizan, 2024]. In dense interactions, this can result in conservative policies or occasional instantaneous violations.
Execution-level methods, often referred to as shielding, modify actions at runtime to prevent violations [Alshiekh et al., 2018; Brorholt et al., 2024]. Control barrier function based filters support online checking and correction [Cai et al., 2021], and recovery-based methods invoke recovery behaviors near unsafe regions [Zhao et al., 2025]. Frequent interventions may alter coordination strategies and degrade task efficiency in dense interactions [Sun et al., 2023].
3 Preliminaries
We model the multi-UAV pursuit-evasion problem as a Constrained Markov Decision Process (CMDP), defined by the tuple ⟨S, O, A, R, C, P, γ⟩, where S denotes the state space, O denotes the observation space, A denotes the joint action space, R : S × A → R is reward function, C : S × A → R is the cost function used to quantify safety constraints, P : S × A × S → [0, 1] is transition probability function,γ ∈ (0, 1) is the discount factor for calculating the return. At time step t, the environment is in state s(t) ∈ S and each agent i receives a observation o(t) i drawn from an observation kernel Ω : S → ∆(O). The objective of CMDP is to find a joint policy π : O → ∆(A), that maximizes the expected discounted return:
where ΠC = {π ∈ Π : JC(π) ≤ d} is allowable policy set, τ denotes a joint trajectory, ˜a(t) denotes joint actions. JC(π) is the cumulative constraints similar to reward and d is the constraint threshold. Thus, the task reduces to learning a joint policy π that maximizes J (π) while ensuring JC(π) ≤ d.

4 Methodology
Pipeline of SCOPE is shown in Figure 2. SCOPE combines short-horizon safety preview with online constraint enforcement for multi-UAV pursuit-evasion. Safety-Preview Dynamics Model (SPDM) predicts future trajectory for PreviewFused Actor-Critic. Hierarchical Safety Enforcement corrects actions and injects safety loss to guide learning, enabling forward feasible safety in dense environments.
4.1 Safety-PreviewDynamics Model
The safety margin between agents and obstacles changes rapidly as the formation closes in during pursuit-evasion. To address this, we construct a SPDM to predict short-horizon future observations and provide previews for policy learning under safety constraints.
For stability and low online overhead, we employ a parameter-shared SPDM assign each agent a dynamic normalizer to handle distribution shift from evolving policies and heterogeneous observations. The surrogate dynamics model H, parameterized by ϕ(t) , takes as input a length-H history of normalized observations Z (t) i = [ z(t-H+1) i , . . . , z(t) i ] and generates a K-step rollout for all N agents:
where ˆ T (t) i = [ˆl(t+1) i , . . . ,ˆl(t+K) i ] denotes the trajectory within horizon K for agent i. For initial timesteps with insufficient history, we pad missing observations with a mask so as to preserve input length and temporal alignment.
Unlike conventional dynamics models trained offline, the SPDM is updated alongside the RL process using experience sampled from the replay buffer D. At each update step, we sample a mini-batch of B transitions and define a mapping f : {1, . . . ,B} → N that associates batch indices with global timesteps. For the b-th sample in the mini-batch, we denote its corresponding global timestep by tb = f(b). The per-agent dynamic normalizers are updated incrementally with each batch, in parallel with the SPDM parameter updates. For the SPDM, each sampled trajectory T (tb) i = [ l(tb-H+1) i , . . . , l(tb) i , . . . , l(tb+K) i ] is transformed into a normalized input Z (tb) i and ground-truth targets Y (tb) i . Feeding the history Z (tb) i into the dynamics model yields the trajectory rollout ˆ T (tb) i , which is kept accurate for predicting imminent safety violations by online training. We train SPDM by minimizing the discrepancy between rolled-out and groundtruth trajectories, with the rollout loss defined as:
The learned SPDM is then used online to generate the Kstep preview ˆ T (t) i , which is fused with the current observation to form the inputs to the actor-critic described in Sec. 4.2.
4.2 Preview-Fused Actor-Critic
Early training can be particularly challenging due to highdimensional inputs and tightly coupled multi-agent learning dynamics. General actor-critic often struggles here: the actor may overfit noisy or irrelevant channels, and the Critic may fail to capture inter-agent dependencies while policies co-adapt. We introduce two lightweight enhancements as illustrated in Figure 3: a gating module in the actor for datadependent feature selection, and a multi-head attention module in the Critic to model interactions between agents and downweight unreliable near-future previews.

Gating-Enhanced Actor
To improve robustness under high-dimensional inputs, we introduce a gating module related to observation that performs feature selection. For each agent i, the actor µi, parameterized by θ(t) i , takes the local observation o(t) i and produces a control decision u(t) i before the hierarchical safety enforcement. We first transform the local observation o(t) i into a feature vector x(t) i . Then, the gating module generates a set of weight from o(t) i and uses it to scale the features:
where ˆx(t) i is scaled feature, W (t) , b(t) are trainable parameters of the gating unit, σ(·) is the sigmoid activation function and ⊙ is the Hadamard product. The gate vector has the same dimensionality as the feature. This design improves robustness when SPDM rollouts are noisy or partially missing.
Multi-Head Attention Critic
We introduce a multi-head attention critic to robustly aggregate multi-agent information. The critic Qi, parameterized by ψ(t) i , is responsible for estimating the expected return of agent i given the joint state-action pair [s(t) , a(t) ]. Finishing partitioning, a shared state-action network encodes each agent's feature into an embedding. For attention head h:
where qi,h is a learnable query from o(t) i and Kh, V h are the key and value derived from s(t) . The weighted feature embeddings are aggregated into global representation ch = ∑Ni=1 αi,hV h and fused with the original features.
4.3 Hierarchical Safety Enforcement
To further provide runtime safety protection and prevent instantaneous violations under coupled constraints, especially in high-risk regions. Therefore, we introduce hierarchical safety enforcement, an online mechanism based on control barrier functions. Given the actor's decision ˜u(t) , this module computes minimally modified joint actions ˜a(t) to satisfy coupled safety constraints. Meanwhile it provides safety loss through a CBF-based penalty integrated into the actor loss.
Basic CBF Enforcement
At each timestep t, the actor network outputs joint decision ˜u(t) , and the basic CBF performs a preliminary enforcement step. We cast action correction as a joint quadratic program that satisfies the safety constraints while minimally deviating from the policy intent. Specifically, the basic CBF enforcement finds the minimally modified action closest to ˜u(t) subject to the CBF constraints. The objective of the basic CBF is to minimize the magnitude of action corrections while enforcing the joint safety constraints ξ(·):
where ˆa denotes the corrected actions, λ1, λ2 > 0 are damping factors that regulate the responsiveness of the barrier function. The safety constraints are detailed in Appendix C.
Safety Look-Ahead
While the basic CBF enforcement guarantees instantaneous safety, it does not ensure forward feasible safety. This may lead to deadlock or infeasibility in highly dynamic pursuitevasion encirclement. To address this issue, we add a onestep safety look-ahead feasibility check and invoke a strict CBF enforcement when necessary.
Specifically, after obtaining ˆa(t) , we use the SPDM to produce the one-step preview ˆs(t+1) from the observation history, which is then used to maintain forward-feasible safety:
Feasibility at ˆs(t+1) holds if there exists a conservative action a(t+1) ∗ satisfying the safety constraints.
Strict CBF Enforcement
When the conservative action a(t) ∗ does not exist, the basic CBF enforcement may fail to maintain continuous feasibility. Therefore, we introduce a strict CBF enforcement that tightens the safety margin with strictness parameter δ > 0 to recover feasibility. The optimization objective remains the same as Equation. (6), while we adopt a strict CBF constraint:
We integrate a smooth CBF-based penalty into the actor loss, jointly optimizing safety and task performance. The loss due to CBF constraint is derived as: LCi (ℓ(tb) i ) = log(1 + exp(-ℓ(tb) i )). The combined loss is stated as follows:
Algorithm 1 Overall pipeline of SCOPE
Input: Initial parameters ˜θ(0) , ˜ψ(0) ,ϕ(0) , Initial state s(0) Output: Trained parameters ˜θ(T) , ˜ψ(T) ,ϕ(T)
- 1: for t = 1 to T or mission complete do
- 2: # Hierarchical safety enforcement
- 3: For each agent i, select u(t) i = µi(o(t) i |θ(t) i ) +N (t)
- 4: Correct preliminary actions ˜u(t) = (u(t) 1 , . . . , u(t) N ) to ˜a(t) = (a(t) 1 , . . . , a(t) N ) using Equation. (5)
- 5: Execute actions ˜a(t) and receive reward r(t) , new state s(t+1) and raw observation l(t+1)
- 6: # SPDM rollout and update
- 7: Roll out { ˆ T (t+1) i }Ni=1 using Equation. (2) and get fused observation ˜o(t+1) = (o(t+1) 1 , . . . , o(t+1) N )
- 8: Sample a randomminibatch of B trajectories fromD
- 9: For each batch b, split {T (tb) i }Ni=1 into normalized input {Z(tb) i }Ni=1 and ground truth {Y (tb) i }Ni=1
- 10: Update parameters ϕ(t) using Equation. (3)
- 11: # Policy update
- 12: for agent i to N do
- 15: Update actor θ(t) i minimizing Equation. (9)
- 16: end for
- 17: Update target network parameters for each agent i: ˆω(t+1) i ← (1- τ) ˆω(t) i + τ ω(t) i ,ωi ∈ {θi,ψi}.
- 18: end for
where ηi > 0 is the penalty factor, ℓ(tb) i = ¨ ξi(s(tb) , ˜a(tb) ) + λ1 ˙ ξi(s(tb) )+λ2ξi(s(tb) ) denotes the CBF constraint of agent i. The overall pipeline of SCOPE as Algorithm 1.
The output of the algorithm is multi-agent policies and surrogate dynamic model. Here ωi is the target network parameters of agent i.
5 Experiment
In this section, we present the experimental evaluation of SCOPE on multi-UAV pursuit-evasion environments and compare its performance with safe MARL baselines. For benchmarking, we consider the following methods.
- Lagrangian method: MADDPG [Lowe et al., 2017] with a Lagrangian multiplier and MACPO [Gu et al., 2022].
- Penalty-based method: MAP3O [Zhang et al., 2022].
- Shield-based method MADDPG with a control. barrier functions [Cai et al., 2021]
- Recovery RL method: MSMAR [Zhao et al., 2025].
All the above algorithms use either on-policy or off-policy replay buffers, following their respective original implementations. Additionally, we include a comparison with the MADDPG algorithm [Lowe et al., 2017] as a baseline. Baseline implementations partially rely on the OmniSafe repository [Ji et al., 2024] for standard safe MARL components. We evaluate all methods in our multi-UAV pursuit-evasion environments, where multiple interceptor UAVs must collaboratively encircle a rogue intruder while satisfying safety constraints with respect to other agents, obstacles, and workspace boundaries. The environments include both static and moving obstacles that test the agents' ability to maximize cumulative rewards while adhering to the safety constraints formalized in Equation. (1). We additionally evaluate SCOPE in MuJoCo [Todorov et al., 2012] to verify its effectiveness under physical dynamics, with details reported in Appendix B.
5.1 Multi-UAV Pursuit-Evasion Setup
Our multi-UAV pursuit-evasion environment simulates a team of N = 4 interceptor UAVs attempting to safely encircle a rogue UAV in a cluttered airspace. The environment is modeled as a continuous workspace with boundaries and several obstacles, where each interceptor is equipped with a short-range jamming device.The objective is to encircle the fleeing rogue UAV for on-board jamming while maintaining minimum separations among UAVs and from obstacles. For these experiments, we use a fixed safety radius rsafe and jamming range rjam, task duration T = 400, and evaluate each trained policy on NE = 200 test episodes. Detailed environment descriptions are provided in the supplementary material.
5.2 EvaluationMetrics
We evaluate all methods from both task performance and safety perspectives. Task performance is measured by:
- Success rate SR: the fraction of episodes in which the interceptors successfully encircle the rogue UAV within the horizon T ;
- Average time AT: the average number of steps to success, where unsuccessful episodes are assigned T .
Safety performance is measured by:
- Average agent cost AC: the average number of safetyconstraint violations per agent during an episode:
where NE is the number of evaluation episodes, N is the number of interceptors, and Ce denotes the total safety cost accumulated in episode e. Specifically, Ce consists of the magnitude of constraint violations against obstacles and other agents, and an additional cost for shield activation when a shielding or safety enforcement intervenes.
5.3 Performance Comparison
We evaluate SCOPE against the safe MARL baselines listed above under identical interaction budgets and environment configurations. All methods share the same reward design, termination conditions, observation space and action spaces. We report the mean performance over multiple random seeds, and evaluate each trained policy on test episodes using the metrics in Sec. 5.2.

| Scenarios | Metrics | MAP3O | MACPO | MSMAR | MADDPG-Lagrange | MADDPG-CBF | MADDPG | SCOPE |
|---|---|---|---|---|---|---|---|---|
| Static Obstacles SR(%) AT(steps) ↓ | ↑ AC ↓ | 47.10 ±3.76 312.26 ±7.01 77.01 ±4.95 | 1.20 ±0.45 396.88 ±1.13 258.983 ±4.312 | 20.90 ±3.58 355.36 ±7.61 75.59 ±11.94 | 18.30 ±5.02 366.40 ±8.68 45.02 ±2.05 | 27.20 ±3.91 354.62 ±4.96 80.19 ±1.32 | 2.50 ±1.00 393.66 ±3.47 187.26 ±4.02 | 83.10 ±1.52 218.77 ±5.67 12.667 ±0.95 |
| Moving Obstacles SR(%) ↑ AT(steps) ↓ AC ↓ | 60.20 274.00 67.93 | ±4.56 ±7.37 ±3.20 | 17.50 ±1.41 371.71 ±1.80 185.205 ±4.749 | 28.70 ±3.83 353.54 ±4.31 46.66 ±1.94 | 26.30 ±1.75 357.63 ±3.71 183.41 ±4.27 | 5.90 ±2.86 388.67 ±5.63 77.55 ±3.02 | 8.20 ±2.20 383.49 ±4.47 95.96 ±2.98 | 61.40 ±5.61 279.38 ±13.59 16.07 ±0.55 |
Figure 4 shows that SCOPE achieves higher episodic returns while maintaining low safety costs more consistently throughout training in both static- and moving-obstacle settings. Vanilla MADDPG exhibits large safety-cost spikes and unstable learning, and many runs time out at T = 400, indicating failures to complete encirclement under unconstrained exploration in cluttered scenes. MAP3O reduces safety costs relative to MADDPG, but converges to lower returns with longer episode lengths (Steps), while MACPO shows low SR and high AC, suggesting conservative policies that hinder efficient pursuit-evasion. MSMAR similarly suppresses safety costs, yet also converges to lower returns and longer Steps, indicating conservative recovery behaviors that slow down encirclement. MADDPG-Lagrange shows degraded performance in the moving-obstacle setting with increased costs and more failed episodes, highlighting the difficulty of balancing coupled constraints under non-stationary dynamics. MADDPG-CBF improves returns compared with penaltybased baselines, but still incurs substantially higher safety costs than SCOPE, consistent with frequent online interventions in dense interactions.
Table 1 further confirms that SCOPE achieves the strongest overall performance in both scenarios. With moving obstacles, SCOPE reaches the highest success rate of 61.40% and the lowest safety cost of 16.07, while keeping the completion time competitive at 279.38 steps. With static obstacles, SCOPE attains 83.10% success, the fastest completion time of 218.77 steps, and the lowest safety cost of 12.67. Other methods typically sacrifice either success and speed for safety, or safety for task completion, whereas SCOPE remains strong on both.
5.4 Ablation Studies
To examine the contribution of each component in SCOPE, we perform ablation studies by removing one module at a time while keeping the training protocol and hyperparameters fixed. Figure 5 plots the learning curves of episodic returns and safety costs. We conduct ablations in the movingobstacle setting, as it is the most challenging scenario with non-stationary interactions and thus better differentiates the effects of each module.
Overall, SCOPE achieves the best safety-performance trade-off, converging to the highest return while maintaining consistently low cost. Removing the SPDM (SCOPE-SPDM ) slows convergence and reduces the final return, indicating that short-horizon previews provide anticipatory information for coordinated pursuit-evasion. Removing the hierarchical safety enforcement (SCOPE-HSE ) incurs persistently higher costs and leads to a markedly lower return plateau, suggesting that execution-time safety correction is critical and that frequent constraint violations can hinder policy learning. Removing the preview-fused actorcritic network enhancements (SCOPE-GA) results in only a minor drop in return with comparable costs, implying that the gating/attention modules mainly improve coordination and credit assignment. Finally, removing both preview and safety enforcement (SCOPE-All ) yields the worst performance, characterized by pronounced early cost spikes and a low-return regime throughout training.
| Method | SR(%) ↑ | AT(steps) ↓ | AC ↓ |
|---|---|---|---|
| SCOPE SCOPE-GA SCOPE-HSE SCOPE-SPDM SCOPE-All | 61.12 ± 6.43 60.62 ± 4.53 1.88 ± 0.63 54.12 ± 3.35 3.12 ± 3.28 | 279.07 ± 15.67 286.60 ± 8.99 395.19 ± 1.61 290.88 ± 13.11 393.58 ± 7.32 | 21.523 ± 0.814 26.048 ± 0.545 276.909 ± 4.158 19.908 ± 1.029 139.526 ± 8.608 |


5.5 Component Study on SPDM
We study the impact of the predictive backbone used in SPDM. To ensure a fair comparison, we keep the environment, RL algorithm, reward design, and hierarchical safety enforcement unchanged, and replace the SPDM with six models: DLinear, PatchTST, iTransformer, TimesNet, LSTM, and TimeMixer.
As shown in Figure 6 (right), TimesNet and iTransformer yield the highest and most stable returns, while DLinear achieves competitive performance with fast early improvement, suggesting that different backbones trade off early learning speed and asymptotic performance. PatchTST and TimeMixer converge to lower returns, and LSTM performs worst, indicating that the predictor choice can affect cooperative pursuit-evasion and training robustness. Notably, Figure 6 (left) shows that lower prediction loss does not necessarily imply better control performance: although LSTM attains a low SPDM loss, it leads to poor returns, suggesting that minimizing the regression loss does not necessarily lead to optimal control performance.

5.6 Parameter Sensitivity Analysis
We analyze SCOPE's sensitivity to the strictness parameter δ by varying δ while keeping all other hyperparameters fixed. Since δ directly sets the tightening level of the enforced CBF constraint, it affects the size of the feasible action set and thus influences both task execution speed and constraint satisfaction. We evaluate each setting using the metrics in Sec. 5.2.
As shown in Figure 7, SCOPE is stable for δ ≤ 0.09 with similar convergence returns, while larger margins degrade learning. δ = 0.15 leads to a clear return drop and δ = 0.21 collapses to a low-return regime, suggesting that overly strict tightening restricts the feasible action set and hinders coordinated pursuit. Meanwhile, increasing δ monotonically increases the time-related metric Rt, indicating slower encirclement, whereas the safety cost Rc is minimized at a moderate margin and rises again for larger δ, reflecting a clear safety and efficiency trade-off. We therefore use δ = 0.06 in the remaining experiments.
6 Conclusion
In this paper, we proposed Safety-Constrained Online Preview Enforcement (SCOPE), a MARL-based algorithm for multi-UAV encirclement in pursuit-evasion. SCOPE integrates a Safety-Preview Dynamics Model (SPDM) for shorthorizon anticipation with hierarchical safety enforcement and look-ahead feasibility checking to maintain forward feasible safety. Extensive experiments in challenging scenarios, together with additional evaluations in MuJoCo, demonstrate that SCOPE consistently improves task performance while substantially reducing safety cost compared to state-of-theart safe MARL baselines.
Future work will focus on scaling SCOPE to larger swarms and more diverse team sizes, where coordination and safety constraints become increasingly complex. We also plan to incorporate richer physical constraints and more realistic onboard limitations, and to study adaptive safety margins that adjust online to the environment dynamics and risk level.
Ethical Statement
This work targets civilian public-safety applications, such as interception of unauthorized drones in restricted airspace. The proposed method is not intended for military, offensive, or harmful use, and should be deployed only under legal regulations and proper human oversight.
Acknowledgments
This work was supported in part by the National Natural Science Foundation of China (Grant No.62472220, No.62571240, No.U22B2062, No.62502204), the Natural Science Fund of Jiangsu Province (Grant No.BK20251381), the Open Project Program of State Key Laboratory of Novel Software Technology, Nanjing University (KFKT2025B14), the open research fund of National Mobile Communications Research Laboratory, Southeast University(Grant 2026D06), the Fundamental Research Funds for the Central Universities (NS2025041), Collaborative Innovation Center of Novel Software Technology and Industrialization. This work was partially supported by High Performance Computing Platform of Nanjing University of Aeronautics and Astronautics.
@inproceedings{ijcai2026p7,
title = {SCOPE: Safety-Constrained Online Preview Enforcement for Efficient Encirclement in Multi-UAV Pursuit-Evasion},
author = {Chen, Cheng and Yuan, Weiwei and Lu, Xiaozhen and Li, Yicong and Zhang, Jiale},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {54--62},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/7},
url = {https://doi.org/10.24963/ijcai.2026/7},
}
TY - CPAPER TI - SCOPE: Safety-Constrained Online Preview Enforcement for Efficient Encirclement in Multi-UAV Pursuit-Evasion AU - Chen, Cheng AU - Yuan, Weiwei AU - Lu, Xiaozhen AU - Li, Yicong AU - Zhang, Jiale T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 54 EP - 62 DO - 10.24963/ijcai.2026/7 UR - https://doi.org/10.24963/ijcai.2026/7 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: