DSGN: A Dual-Stream Gated Network for Scalable Simultaneous Surveillance and Containment

Heng Zhang, Ziyang Zuo, Guoxiang Zhao, Xiaoqiang RenarXiv 2026 · arXiv

TL;DR

The Dual-Stream Gated Network (DSGN) is a new deep reinforcement learning architecture that allows multi-robot teams to simultaneously survey an area and contain targets. By separating these conflicting tasks into specialized neural streams and using a "smart" probabilistic gate to switch between them, DSGN achieves smooth, decisive behavior that scales to dozens of robots.

What Problem Does This Paper Address?

Imagine a fleet of autonomous drones protecting a perimeter or a group of robotic boats monitoring a fishing zone. These robots face a fundamental conflict: to find targets, they need to spread out (surveillance), but to capture or enclose a target, they must cluster together (containment).

In robotics, this is known as the Simultaneous Surveillance and Containment (SSC) problem. Traditional methods often rely on hand-crafted "if-then" rules to switch between these modes, which can lead to "chattering"—where robots indecisively jitter between spreading and clustering. While Deep Reinforcement Learning (DRL) can learn these behaviors, standard "single-stream" policies tend to mix these conflicting signals in one feature space, leading to poor performance as the number of robots and targets increases.

Fig. 1. Visualizing the dual kinematic objectives.

Methods

The authors propose DSGN, an end-to-end architecture that treats surveillance and containment as distinct but coordinated "mental tracks."

  1. Dual-Stream Architecture: Instead of one big neural network, DSGN uses two specialized attention streams. One stream focuses on "Spatial-Exploration" (finding gaps in coverage), while the other focuses on "Tactical-Exploitation" (forming geometric enclosures around targets).
  2. Vector-wise Gating: A learnable gate decides how much to listen to each stream. Crucially, this is a vector gate, meaning different dimensions of the robot's internal representation can prioritize different tasks simultaneously (e.g., one channel might focus on avoiding an obstacle while another focuses on the target).
  3. Probabilistic Beta Priors: To prevent indecision, the authors inject a "probabilistic prior" during training. When no targets are seen, the gate is pushed toward zero (pure surveillance). When a target is detected, the prior encourages the gate to make a "binary" choice, forcing the robot to commit decisively to containment.
  4. Distributional RL: The system uses an Implicit Quantile Network (IQN) to model the distribution of possible outcomes, which helps robots handle the high uncertainty of multi-agent environments.
Fig. 2. The proposed DSGN architecture. Type-specific observation features are encoded and fused through dual-stream attention and a vector gate to produce actions.

Datasets

The researchers evaluated DSGN using an extended version of an open-source multi-robot navigation simulator.

  • Training: They used a Progressive Curriculum, starting with a simple 3-pursuer vs. 1-evader setup and gradually increasing difficulty up to 15 pursuers vs. 4 evaders.
  • Evaluation: To test scalability, they ran the trained models on nine different "cross-scale" configurations, reaching up to 77 pursuers vs. 19 evaders—far beyond what the robots saw during training.

Key Insights and Ideas

  • Disentanglement is Key: By separating the representations for surveillance and containment, the model avoids "signal interference." The robots don't get "confused" by trying to optimize for two opposite geometric goals in the same feature space.
  • Decisiveness through Math: The use of state-dependent Beta priors is a clever way to solve the "chattering" problem. It acts like a mathematical "nudge" that tells the robot: "If you see a target, stop overthinking and go get it."
  • Zero-Shot Scalability: Because the architecture uses Transformer-based relational encoding, it naturally handles varying numbers of teammates and targets. The robots learned general strategies for coordination rather than fixed positions.
Fig. 3. State-dependent Beta priors for gate regularization.

Key Results

DSGN consistently outperformed standard DRL baselines (like DQN and IQN) and even advanced Transformer-based models (TransIQN) that didn't use the dual-stream approach.

  • Success Rate: DSGN maintained a high success rate even at the largest scale (77v19), where other methods saw significant performance drops.
  • Efficiency: It achieved the lowest "Collision Ratio" across almost all scales, proving that its task-switching is not just decisive but also safe.
  • Recovery: After a target was contained, DSGN robots were significantly faster at returning to their surveillance duties (measured by "Patrol Completion Steps") compared to baselines.

Limitations and Future Work

While impressive, the current work has a few boundaries:

  • Action Space: The robots currently use a discrete action space (fixed steps/turns). Moving to continuous control would be more realistic for high-speed hardware.
  • Environment: The tests were conducted in 2D. Future work aims to extend this to 3D environments (like underwater or aerial swarms).
  • Communication: The model assumes robots can share target detections perfectly. Real-world scenarios with limited or "lossy" communication will be a tougher test for the architecture.

The source code for DSGN is available on GitHub at https://github.com/zuozysama/DSGN.

Summary updated

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 larger robotic networks introduce more inter-agent and agent-target relations. End-to-end DRL reduces reliance on hand-crafted switching, but conventional single-stream policies often mix surveillance and containment cues in one shared feature space that could entangle dispersion-oriented and target-centric signals and weaken task transitions. In this paper, we propose the Dual-Stream Gated Network (DSGN), an architecture designed to address scale-amplified task-transition difficulties by separating surveillance and containment into specialized representation streams and coordinating them through a context-aware gating mechanism. A probabilistic prior further regularizes the gating process, reducing ambiguous intermediate decisions and supporting clearer behavioral transitions under large-scale interaction complexity. Evaluations show that DSGN maintains strong task efficacy and scalability under constant-density cross-scale settings. Additional ablation and phase-specific evaluations show that the proposed dynamic gating mechanism and probabilistic prior support effective task arbitration and reliable mode switching in both pure surveillance and task-switching scenarios. The source code is available at https://github.com/zuozysama/DSGN.
BibTeX
@misc{zhang2026dsgn,
  author = {Heng Zhang and Ziyang Zuo and Guoxiang Zhao and Xiaoqiang Ren},
  title = {{DSGN: A Dual-Stream Gated Network for Scalable Simultaneous Surveillance and Containment}},
  year = {2026},
  eprint = {2610.34084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34084},
}
Figure