Multi-Agent Coordination Through Stigmergy for Canal Network Formation on Real Terrain

Jordan Kennedy, Federico Oliva, Amir Degani, Karen-Lee Bar Sinai, Nare KarapetyanarXiv 2026

TL;DR

How do you get a swarm of robots to excavate complex, landscape-scale canal networks without Wi-Fi, GPS, or a master blueprint? By taking a page out of the beaver’s playbook: let the agents simply follow local water cues and dig, allowing the shifting hydrology of the terrain itself to coordinate their efforts over time. This paper shows that remarkably lifelike canal networks emerge purely from a closed feedback loop between blind, decentralized excavation and seasonal water recession.

What Problem Does This Paper Address?

Deploying robot swarms in messy outdoor environments is tough—communication drops, and global maps go stale fast. Nature bypasses centralized planning using stigmergy: indirect coordination where agents leave physical traces in their environment that guide future behavior (like termites building mounds).

In swarm robotics, stigmergic systems usually still rely on a pre-defined target blueprint handed down by humans. Meanwhile, in the wild, beavers (Castor canadensis) engineer sprawling, persistent canal networks without an architect in sight. The authors ask a fundamental generative question: if you strip away blueprints, memory, and inter-robot communication, can simple water-tracking agents sculpt realistic canal networks on actual terrain purely through environmental feedback?

Conceptual deployment of excavator beaver robots operating on real drone-mapped terrain

Methods

The authors built a closed-loop simulation coupling decentralized agents (in Python’s Mesa) with physical hydrology (in Landlab) over a 10-year simulated span.

  • The Cue (Seasonal Hydrology): Instead of expensive fluid dynamics, the model uses terrain drainage area as a proxy for water availability. Over a 365-tick year, a "wetness mask" retreats from broad floodplains toward high-drainage corridors at a tunable recession rate ($r$).
  • The Agents: Memoryless, non-communicating agents start on a stream, sense nearby wet cells on traversable slopes ($\le 30^\circ$), step onto them, and dig—adding a small depth increment ($\delta = 0.05\text{ m}$). If everything nearby is dry, they do a random walk.
  • Closing the Loop: At year’s end, cumulative visits are converted into hemispherical canal cross-sections via a saturation function (preventing infinitely deep trenches) and carved into the elevation map. Drainage hydrology is then recomputed on this newly eroded terrain. Last year’s trenches concentrate next year’s water, keeping corridors wet longer and luring agents back to extend them.

To evaluate the results, the authors introduce an alignment-invariant morphological pipeline. Because real canals reflect specific historical accidents (storms, fallen trees), expecting exact pixel-for-pixel overlap is unrealistic. Instead, the pipeline skeletonizes the canal networks and compares structural distributions—width, segment length, tortuosity, orientation, branch density, and fractal dimension—using statistical distances like Wasserstein-1.

Datasets

The simulation is grounded in an $862\text{ m} \times 1167\text{ m}$ real-world headwater stream site in the Blackfeet Nation, Montana, resampled to a $1\text{ m} \times 1\text{ m}$ grid:

  • USGS National Map: Provided the baseline Digital Elevation Model (DEM) and topographic stream lines.
  • NAIP Imagery: Aerial orthophotos used alongside RGB drone imagery.
  • Field-Annotated Benchmark: A human-annotated trace of an active beaver canal network at the Montana site, used as the morphological ground truth.
Human-annotated trace of the real beaver canal network in Blackfeet Indian Reservation, Montana

Key Insights and Ideas

  • Environmental constraints do the heavy lifting: You don't need clever agents to build structured networks; you need a picky environment. Canal morphology was far more sensitive to how fast the landscape dried ($r$) than to how many agents were digging. When water lingers everywhere, effort scatters; when water retreats sharply, it funnels agents onto trunk corridors.
  • More diggers isn't always better: In swarm tasks, adding agents usually speeds things up. Here, agent count acts as "excavation capacity." Past a low threshold, extra agents spill out of main drainage paths and over-excavate the valley into an implausible, space-filling web.
  • Canals as landscape memory: By decoupling daily behavioral steps from annual hydrological updates, the framework demonstrates sematectonic stigmergy—the physical topography itself acts as a durable memory bank across seasons.

Key Results

Across a sweep of 110 ten-year simulations varying agent count ($N \in [2, 25]$) and recession rate ($r \in [0.1, 1.0]$):

  • The Sweet Spot: Best structural agreement with real beaver canals occurred under fast drying and low excavation pressure ($N = 2, r = 0.80$), achieving a composite morphological score of 0.138 (lower is better), with low relative errors in fractal dimension (0.121) and branch density (0.109).
  • Predictable Failure Modes: Slow recession ($r \le 0.3$) caused diffuse, braided scratches rather than distinct channels. Combining slow recession with high traffic ($N = 18, r = 0.30$) yielded the worst score, inflating branch-density error by roughly an order of magnitude ("over-canalization").
  • The Missing Wiggliness: Even the best runs struggled to match natural canal sinuosity, leaving a residual tortuosity mismatch (mean Wasserstein distance of 0.68).

Limitations and Future Work

Because the model is intentionally minimal, it omits real-world physics and biology: there is no within-year hydrodynamic flow, sediment transport, storm disturbance, dam-pond feedback, or foraging for vegetation. That missing tortuosity is actually a useful diagnostic—it tells us that real canal wiggliness likely comes from agents dodging obstacles, seeking specific plants, or navigating local soil differences rather than purely tracking water. Long-term, the authors envision expanding this testbed to forecast landscape reorganization for ecological beaver reintroductions and autonomous earthmoving swarms.

Summary updated

Abstract

Terrain-modifying robot swarms operating in unstructured outdoor environments must coordinate under uncertain dynamics despite unreliable communication and incomplete global information. Stigmergy offers a decentralized alternative by allowing agents to coordinate indirectly through persistent environmental modifications, yet its application to large-scale terrain construction on real landscapes remains largely unexplored. Inspired by beaver canal construction, we present a minimal stigmergic framework for multi-agent systems in which decentralized agents follow local wetness cues, excavate terrain, and interact through a closed agent--environmental feedback loop. The framework couples agents with seasonal hydrology on a real digital elevation model (DEM). Across 110 simulations on an 862m x 1167m region spanning agent count and hydrological recession rate, the model produces emergent canal-like networks whose morphology varies predictably with environmental constraints. An alignment-invariant morphological evaluation against a field-annotated reference network identifies parameter regimes that reproduce key canal characteristics, while failure cases reveal over-canalization and fragmentation. These results demonstrate that simple local terrain-modifying behaviors can generate plausible landscape-scale structures through environmental feedback, providing a minimal framework for studying decentralized terrain construction and bio-inspired swarm coordination.
BibTeX
@misc{kennedy2026multi,
  author = {Jordan Kennedy and Federico Oliva and Amir Degani and Karen-Lee Bar Sinai and Nare Karapetyan},
  title = {{Multi-Agent Coordination Through Stigmergy for Canal Network Formation on Real Terrain}},
  year = {2026},
  eprint = {2611.32966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32966},
}
Figure