Research
DSGN: A Dual-Stream Gated Network for Scalable Simultaneous Surveillance and Containment
Robots that guard a perimeter or monitor an environment must first spread out to keep a whole area under observation, then switch to converging on a target the moment one is detected.

- arXiv
- 2610.34084 · accepted · ROBOTICS AND AUTOMATION LETTERS
- Published
- 2026-10-25
- Authors
- Heng Zhang, Ziyang Zuo, Guoxiang Zhao, Xiaoqiang Ren
In plain words
Robots that guard a perimeter or monitor an environment must first spread out to keep a whole area under observation, then switch to converging on a target the moment one is detected. These two behaviors pull in opposite directions — coverage wants dispersion, containment wants target-centric clustering — and the conflict gets worse as teams grow and the number of agent-agent and agent-target relations multiplies.
AI summary
Overview
Research area: Multi-robot systems and cooperative robotics, specifically decentralized deep reinforcement learning (DRL) for combined area surveillance and target containment.
Technical level: Advanced. The paper assumes familiarity with Dec-POMDP formulations, transformer attention, quantile-based distributional RL (IQN), and reward shaping.
Scope (one sentence): The paper introduces DSGN, a dual-stream transformer architecture with a context-aware, Beta-regularized gating mechanism that lets a decentralized multi-robot team both patrol a region for unknown targets and converge to enclose them once detected, with evaluation across nine constant-density scale configurations from 12 vs. 3 up to 77 vs. 19 mobile entities.
What This Paper Is About
Robots that guard a perimeter or monitor an environment must first spread out to keep a whole area under observation, then switch to converging on a target the moment one is detected. These two behaviors pull in opposite directions — coverage wants dispersion, containment wants target-centric clustering — and the conflict gets worse as teams grow and the number of agent-agent and agent-target relations multiplies. The paper's goal is a single end-to-end learned policy that keeps these two behaviors in separate internal representations and arbitrates between them cleanly, rather than mixing both cues in one shared feature space or relying on hand-written switching rules.
Key Contributions
-
Task-disentangled representation for SSC. Built on transformer-based relational encoding, DSGN splits surveillance and containment into two task-specific attention streams (a spatial-explorative stream querying surveillance nodes, and a tactical-exploitative stream querying observed evaders and teammates), reducing interference between dispersion-oriented and target-centred signals inside one end-to-end policy.
-
Robust distributed task arbitration. A vector-wise sigmoid gate over the latent dimension, regularized by a state-dependent Beta prior, arbitrates the two streams — intended to give stable, decisive switching when target observations are intermittent or task demands change, instead of the chattering that naive adaptive gating can produce.
-
Scalable multi-robot coordination. Across constant-density cross-scale evaluation, the authors report that DSGN maintains high task efficacy, execution optimality, safe coordination, and stable formation quality as team and map sizes grow, including at 77 pursuers versus 19 evaders — a setting larger than anything in its training curriculum (15 vs. 4).
-
Public code release. Source code is available at https://github.com/zuozysama/DSGN.
Main Findings
-
Best scale-averaged success rate: DSGN achieves the highest or tied-highest scale-averaged Strict Success Rate at all three map scales (Small, Medium, Large) among the compared gate/prior variants and the fixed equal-weight Average variant, though it does not lead in every individual configuration.
-
Near-best containment time: DSGN's scale-averaged containment time T_cap exceeds the fastest variant by only 0.1–2.1 s, which the authors read as relational attention helping spatial assignment around evaders while dual-stream processing adds little execution delay.
-
Lowest scale-averaged collision ratio: DSGN records the lowest scale-averaged Collision Ratio at all three scales, although the best individual variant varies by configuration — attributed to reduced interference between surveillance and containment behaviours.
-
Fewest post-containment patrol steps: DSGN has the lowest scale-averaged P-Steps (steps from containment completion to full surveillance coverage) at all three scales, despite some configuration-level exceptions.
-
Baselines in the switching/pure-surveillance table: The truncated table reports, for the task-switching setting, IQN at 0.000 / 451.3 s (3v1), 0.950 / 169.5 s (6v2), and 0.785 / 112.5 s (9v3); TransIQN at 0.025 / 455.0 s, 0.840 / 190.8 s, and 0.725 / 103.9 s; the Heuristic and DQN baselines at 0.000 success rate across these settings. The DSGN row itself falls outside the provided excerpt, so its exact values here are not reported in the available text.
-
Ablations cover gating and prior separately: The comparison set includes three gate/prior ablations plus a fixed equal-weight Average variant, evaluated over the same nine scale–density scenarios with 5 seeds, 40 trials per seed and scenario, and 95% confidence intervals.
-
Scope caveat: The excerpt is truncated; the separately reported action-granularity test referenced as Section IV-E4 and portions of Table III are not visible, so their numbers are not reported here.
Methodology in Plain English
The problem is cast as a Dec-POMDP: each pursuer sees only what is inside its sensing radius (own state, nearby teammates, evaders, obstacles), actions are discrete acceleration and turn-rate commands, and a shared team reward is shaped to encode the mission.
Inputs. Each robot's observation is turned into a fixed-size token sequence: one "ego" token (its own position, speed, heading, distance to the nearest perceived obstacle, and a flag for whether any evader has been observed) plus tokens for perceived teammates, observed evaders, visible obstacles, and surveillance nodes. Every external entity carries relative position, distance and bearing, plus type-specific extras (relative velocity, engagement intent, heading error, obstacle radius, normalized node idleness). Padding and a validity mask cope with varying entity counts.
Network. Type-specific MLPs project each token type into a shared latent space, with a learned type embedding. A transformer encoder then reasons over relations among all tokens. The ego feature from that encoder is used as a query into two separate attention streams: one over surveillance-node tokens (coverage urgency), one over evader and teammate tokens (formation geometry). A sigmoid gate computed from the concatenation of ego, surveillance and containment features produces a per-channel weight g; the fusion is the projection of [ego, g ⊙ h_con, (1 − g) ⊙ h_sur]. Actions are produced by an implicit quantile network, which models the return distribution rather than a single scalar value — useful because the same action can have very different outcomes under partial observability.
Prior on the gate. To stop the gate from settling at an ambiguous ≈0.5 everywhere, each gate channel gets a Beta prior chosen by whether any evader is currently observed: (α, β) = (1, 4) when no evader is seen (pushing channels toward 0 and suppressing noisy containment activation), and (α, β) = (0.5, 0.5) when evaders are seen (penalizing values near 0.5, encouraging decisive arbitration). The prior enters as a negative log-likelihood term whose coefficient is ramped up linearly after a warm-up so it does not dominate early representation learning. Total loss = quantile Huber loss + weighted gate regularizer.
Reward. Arrival rewards at urgent nodes weighted by normalized idleness; potential-based shaping toward the most urgent node; a containment guidance term that repels inside a buffer distance and rewards approach outside it, applied only to the N_eng closest pursuers per evader to avoid overcrowding; plus collision penalty, containment reward (matching the geometric condition), win reward and a small step penalty.
Experimental protocol. The authors extend an open-source multi-robot navigation simulator with surveillance nodes, reactive evaders and multi-target containment. The workspace is divided into a grid (with R_sense = 20 m, η = 0.95, maximum cell side ≈ 26.9 m), one surveillance node per cell. Training uses a five-stage curriculum over 7M steps, growing from 3 pursuers / 1 evader / 0 obstacles to 15 / 4 / 6. Policies are then tested without retraining on nine scale–density configurations spanning 112×112, 200×200 and 220×220 m maps, from 12v3 to 77v19, at roughly constant mobile-entity density (≈1.2 to ≈2.0 × 10⁻³ m⁻²). Pursuers are capped at 3.0 m/s with a 3×3 action space (a_acc ∈ {0, ±0.4} m/s², ω ∈ {0, ±π/6} rad/s); evaders use an artificial potential field at 3.5 m/s with a finer turn spectrum — an intentional asymmetry so that solo pursuit cannot succeed. Comparisons are against TransIQN (same transformer backbone, capacity-matched, but a single shared ego feature), IQN, DQN (both pooling-based, no relational reasoning) and a non-learning APF heuristic, all at 7M steps per seed, 40 trials × 5 seeds per scenario, 1000-step (500 s) horizon.
Why This Matters
Research impact. The paper targets a structural problem rather than a benchmark increment: how to keep two kinematically opposed objectives from corrupting each other inside one learned policy. The combination of task-specific attention streams, vector-wise gating, and a distributional prior on the gate is a reusable recipe for any multi-objective multi-robot task where the correct behaviour depends on context (search vs. exploit). The constant-density cross-scale protocol — training up to 15 pursuers and testing up to 77 — is also a useful template for measuring scalability rather than just reporting a single-scale win.
Real-world applications.
- Perimeter security and intruder interception around facilities, where patrol coverage and rapid enclosure of a detected intruder must coexist.
- Environmental monitoring and autonomous fishing fleets, the motivating examples in the paper, where targets are mobile, non-cooperative, and initially unknown.
- Search-and-rescue or disaster-response drone teams that must sweep an area before converging on a located survivor.
- Critical-infrastructure inspection, where continuous coverage and on-demand concentration of robots around an anomaly are both required.
Industry relevance. The policies are decentralized (local observations, no global state), actions are a platform-agnostic high-level command interface (acceleration and yaw rate), and the authors note related learned pursuit policies have been deployed in real-world settings — all of which lower the barrier to transferring the architecture onto existing robot stacks. Reliable post-containment coverage (the P-Steps result) maps directly onto operational cost in patrol and monitoring deployments.
Future Directions
- Closing the train–test scale gap. The largest evaluation setting (77v19) is far beyond the largest curriculum stage (15v4); understanding exactly where zero-shot scaling breaks — and whether curriculum or architecture is the binding constraint — remains open.
- Real-robot validation. All results here are simulated; the paper argues its action interface is platform-agnostic but does not report hardware experiments.
- Extending the prior beyond a binary evader flag. The Beta prior currently depends only on whether any evader has been observed; richer state-dependent priors (e.g., conditioned on coverage urgency or estimated target confidence) could sharpen arbitration further.
- Generalization of the gating behaviour under intermittent detection. The ablation and phase-specific evaluations support mode switching, but how the gate behaves under prolonged false negatives, decoys, or adversarial evader behaviour is not addressed in the reported content.
Target Audience
Graduate students and researchers in multi-robot coordination and multi-agent reinforcement learning who are working on hybrid search-and-pursuit tasks; robotics engineers building decentralized patrol or interception systems who want an architecture that keeps coverage and capture behaviours from interfering; and practitioners interested in modular/gated policy design, reward shaping for sparse coverage objectives, or distributional RL applied to robot teams. Readers need comfort with attention mechanisms and RL fundamentals to get the most from the architecture section.
Authors’ abstract
The simultaneous surveillance and containment (SSC) problem arises in multi-robot applications such as perimeter security and environmental monitoring, where robots must survey a region of interest and coordinate to enclose targets once they are detected. Surveillance favors spatial dispersion for coverage, whereas containment requires target-centric cohesion for enclosure. This conflict makes heuristic switching unstable, and the instability becomes more pronounced as…
The full abstract on arXivRelated papers
- ManiUnit: A Manipulation Skill Dataset and Benchmark for Long-Horizon Tasks 2026-10-08 · cs.RO · Also by Heng Zhang
- From Language to Motion: Task-Conditioned Focal-Stack Trajectory Integration for Microscopic Robots 2026-10-08 · cs.RO · Also by Heng Zhang
- EgoX: Egocentric Cross-Embodiment Manipulation with Embodiment Dreaming 2026-11-12 · cs.RO · Also by Heng Zhang
- WorldContact: A Contact-Centric World Model for Scalable Robot Learning 2026-09-17 · cs.RO · Also by Heng Zhang
- DeCAL: Towards Physically-Grounded Dexterous Vision-Language-Action Models via Contact-Aware Latent Co-Imagination 2026-09-08 · cs.RO · Also by Heng Zhang