In the last post you decided where to park a relay robot. This one is about what the robots should say once they can reach each other.

Picture a distribution centre after hours. Audit drones fly the aisles looking for problems at rack faces: a pallet out of place, a label that doesn't match. We call each problem an exception. Ground robots, the responders, have to drive to each exception and confirm it. In this experiment the responders can't spot exceptions on their own. They only know what the drones tell them. Relay robots hold posts along the main aisle so reports can get back to the dock office.

Every message takes a turn on a shared radio channel. So should a drone tell its teammates everything, every time? Or only speak up when a teammate is missing something?

Three rules, 25 seeds

We built this warehouse as a new scenario in Swarm Lab, our simulator. The four drones decide whether to share their sightings with teammates, and we gave them three hand-written rules:

  • Never send. The drones share nothing with teammates. Their reports still travel through the relays to the dock office, but no responder hears about an exception.
  • Send only when a teammate is behind. A drone sends only when a teammate it has heard from recently hasn't yet been sent one of its sightings. When it does send, it sends the same messages as always sending. I'll call this the thrifty rule.
  • Always send. Each drone shares its sightings with every teammate in contact, once a simulated second.

Each rule ran on the same 25 seeds. A seed fixes the random parts of a run: which rack spaces are empty, where exceptions appear, and the run of chance events such as lost messages. Every rule faces the same 25 warehouses, though once the rules send different messages, the chance events fall differently.

We also varied how many bytes per second the shared channel could carry, and whether new exceptions kept appearing during the run. That came to 375 runs of these three rules, plus 150 runs of a second setup described below: 525 runs in all, each 300 simulated seconds long.

What happened

Never sending verified nothing. Not one exception, under any setting. That sounds obvious, but it's worth checking: it confirms that in this scenario the work really depends on what the drones share with the responders.

The thrifty rule sent much less, and we couldn't tell its results apart from always sending. In the standard scene, with no new exceptions arriving and the channel set to 50,000 bytes per second, the thrifty rule verified 143 of 175 exceptions across the 25 runs (7 per run). Always sending verified 142. The thrifty rule sent a median of 97 kB of data per run against 158 kB. That counts only the sharing the rules control. Reports passed along the relays to the dock office, and the short signals robots send to stay in contact, aren't included; they carry on under every rule.

Two bar charts for the standard night-audit scene at 50,000 bytes per second. Never send: 0 of 175 exceptions verified, 0 kB sent. Send only when a teammate is behind: 143 verified, median 97 kB sent per run. Always send: 142 verified, 158 kB.25 simulated runs per rule, one per seed. Hand-written rules, seeds we used while building the scenario, no significance test.

That setting is one of the closest pairs. Across the five settings we tested with these rules, the thrifty rule's median data per run was 52% to 66% of always sending's, and its verified total came out ahead in some settings and behind in others. The largest gap relative to the number of exceptions was 11 of 175 in favour of always sending, in the standard scene at 20,000 bytes per second. Even there the thrifty rule was ahead on 6 seeds, behind on 11 and level on 8. That isn't a consistent direction, and without a significance test we can't say it's more than chance.

A lead that went away

Before the full experiment, a quick early look ran the first 10 seeds of the busy version, where a new exception appears every 15 simulated seconds (27 per run), with the channel at 20,000 bytes per second.

The thrifty rule verified 157 exceptions against 140. It was ahead on 8 of the 10 seeds. It made a tidy story: say less, leave room on the channel for the messages that matter.

Then we ran all 25 seeds in the recorded experiment. The first 10 came out the same. On the other 15, the thrifty rule verified 202 against 218. Over all 25, it was 359 against 358.

Line chart of the running difference in exceptions verified, thrifty rule minus always sending, across 25 seeds. It peaks at plus 18 after 9 seeds, is plus 17 after 10 (157 against 140, ahead on 8 of 10) and falls back to plus 1 after all 25 (359 against 358).Busy scene, 20,000 bytes per second. Each step adds one seed's difference. Simulated runs, hand-written rules.

A second early difference, in the second setup described below, faded the same way. On the first 15 seeds, that setup's thrifty rule verified about 8% fewer exceptions than its heavier rule. On all 25, the gaps were 7 fewer and 9 more out of 675. We've written both early looks into the project record. They are a reminder of how convincing a pattern from a handful of noisy runs can look, and a result that disappears is still part of what we learned.

What did make a difference

Two things moved the results more than the choice between thrifty and always sending.

How the decision was set up. The rules above make a yes-or-no choice: send this round or stay quiet. In the second setup, each drone picks one record and one teammate to send it to, or stays silent. We ran it in the busy scene only. Its two sending rules verified fewer exceptions than the matching yes-or-no rules on 18 to 22 of the 25 seeds. For example, its "first record" rule verified 60 fewer than always sending at 50,000 bytes per second, fewer on 19 of 25 seeds. That shows these simple versions start behind. It doesn't show that a trained version would stay behind.

Channel capacity, when work kept arriving. In the busy scene, cutting the channel from 50,000 to 20,000 bytes per second meant fewer exceptions verified under both rules, and under the second setup's rules too, on 17 or 18 of the 25 seeds. Always sending dropped from 395 to 358 of 675, and the thrifty rule from 383 to 359. Without new exceptions arriving, the picture was mixed.

Why this matters for ECITON

The goal of ECITON is to train robots to choose what to communicate within limits on bandwidth, energy and computing. Before spending time on training, we need to know whether there's room for a learned policy to beat a simple rule.

For the question of when to send, this experiment didn't show that room, measured by exceptions verified. A trained policy would have to beat a thrifty rule we couldn't tell apart from always sending, in 25 seeds. That doesn't mean the problem is solved. Both rules left between 18% and 47% of exceptions unverified, depending on the setting, and the thrifty rule's data saving is worth something on its own. It does tell us where the experiment saw bigger effects, and which questions it didn't test.

Next, I want to test relay placement, which connects back to the puzzle in the last post, and how much background traffic the robots have to send just to stay in contact. Both are candidates, not findings. This experiment varied neither.

Limits

Everything here is simulated. The warehouse comes from a generator in our code and isn't calibrated to any real building, drone, battery or radio. It's one layout family in 2D with one team: four drones, three relays and three responders, plus the dock office and two charging docks. The rules were hand-written and not tuned, and no model was trained. The 25 seeds are the ones we used while building the scenario, so they aren't a held-out test set, and we didn't run significance tests.

The scenario was inspired by accounts of drones auditing warehouse inventory after hours, and by the relay "breadcrumbs" that teams such as CERBERUS dropped to stay connected in the DARPA Subterranean Challenge (CERBERUS team overview). No numbers were taken from either.

If you've watched a promising result disappear when you added more runs, I'd like to hear how you decided how many runs were enough.

Follow the build

Stay updated.

Follow the work as we connect the simulator, hardware and real robot teams.

Follow Anish on LinkedIn

Get the next update by email.

Project updates only. Unsubscribe at any time. How we use your email.

Explore Swarm Lab →