arXiv:2610.28251cs.ROOct 2026

Manuscript Offprint

arXiv:2610.28251

Safe Multi-Robot Collaboration With Uniform Exclusion Using Trust

Thomas Kaminsky, Áron Vékássy, Hammad Izhar, Angelia Nedić, Stephanie Gil

Thomas Kaminsky1∗^{1*}, Áron Vékássy1^{1}, Hammad Izhar1^{1}, Angelia Nedić2^{2}, Stephanie Gil1^{1}

1^{1}School of Engineering and Applied Sciences, Harvard University, Cambridge, USA

2^{2}School of Electrical, Computer, and Energy Engineering, Arizona State University, Tempe, USA

*Corresponding author. Email: tkaminsky@g.harvard.edu

Robot swarms coordinate through directed, time-varying local communication links, some of which may be compromised to allow the transmission of arbitrary malicious data. We provide an algorithm that acts as a wrapper around robot communication—when a robot seeks to update its state using data from some incoming links, our wrapper provides a subset of trusted links whose data can be safely incorporated. It selects these links by testing a stream of trust values—data collected from an anomaly detector on each robot—using Safe Anytime-Valid Inference. We require only that the detector be better than chance. This wrapper ensures safe and performant autonomy by providing two powerful statistical guarantees: it uniformly excludes all compromised links for all time with high user-chosen probability, but nevertheless quickly learns to trust legitimate links. Both guarantees are vital to secure generic tasks, but no previous work provides them simultaneously without restrictive assumptions on connectivity structure or the number of compromised links that are not guaranteed in practice. We study our Safe Wrapper’s performance in hardware for two contrasting tasks—neural implicit mapping and heading consensus—deploying on 3 LoCoBots and 8 GoPiGos, respectively. We provide simulations using trust values sampled from hardware to validate that our approach scales well to swarms of hundreds of robots.

Neural Implicit Mapping With an Injection Attacker

In a search-and-rescue task, three robots construct a neural implicit map of an environment to assess danger and locate a safe path to the victim.

Figure

Attacker removes a hazardous object to make the long path appear safe

Direct, safe path to victim

Attacker injects a fictitious pile of rubble to make the direct path appear blocked

Attacker seeks to convince swarm that the long, hazardous path is more promising than the direct, safe path, jeopardizing the rescue effort.

Nominal Model (No Attack)

Attacked Model

Attacked + Safe Wrapper (OURS)

Figure

Figure 1: Learned Neural Map Without vs. With Our Approach. (Top) Our environment. A victim lies in the bottom right of the scene, accessible via two paths. An injection attacker learns a model of the environment offline, adding a fictitious obstacle (orange plus) and obscuring a hazard (blue minus). (Bottom Left) With no attack, the hazard is present in the neural reconstruction, and the direct path is unblocked. (Bottom Middle) With the injection attacker overwriting one agent's updates with its malicious model, the resulting neural reconstruction includes the blockade, and the hazard is desaturated and blends into the wall. (Bottom Right) With our safe wrapper, malicious network weights are uniformly excluded, yielding a reconstruction close to the nominal case.

Robot swarms can increase efficiency and parallelism by distributing large tasks among many individual robots coordinating through local communication links. However, these communication networks also admit unique vulnerabilities. Link-level attacks like injection and replay attacks (1, 2) can target specific links, causing robots to receive stale or malicious data from their neighbors' IDs. Node-level attacks like Sybil attacks (3) and evil twin attacks (1) can yield Byzantine failures (4) that disrupt global coordination. Previous work has demonstrated the debilitating effects of even a few compromised nodes or links on distributed systems (4–6), and recent hacks on commercial and research hardware underscore that these attacks are achievable in practice. For example, penetration testers gained root-level access to several commercial Unitree robots (7, 8), and link-level injection, impersonation and replay attacks have successfully infiltrated in-vehicle networks (2, 9) and aerial drones (1). In our testbed, we implement an attack on neural implicit mapping where an injection attacker can add, remove, or replace objects in a shared global neural representation (Figures 1 and S1). To accommodate these attacks, modern swarms require robust means of identifying compromised links and excluding the information transmitted over them.

Data Injection Attacker

Figure

Sybil Attacker

Figure

Our Safe Wrapper

Figure

Safe Wrapper eventually trusts all legitimate links, but uniformly excludes all malicious links w.h.p.

Figure 2: Schematics of attack types and our safe wrapper. (Top Left) An Injection (FDI) attacker compromises links by sending messages from the same ID as a legitimate robot. (Bottom Left) A Sybil attacker sends messages from multiple unique IDs, creating many fictitious robots to gain disproportionate influence. (Right) Our safe wrapper uses a stream of trust values and Anytime-Valid Confidence Sequences (10) to uniformly exclude malicious data while still eventually learning to trust all legitimate links.

We call a communication link compromised if it is either the subject of a link-level attack or the outgoing link of the subject of a node-level attack. The remaining links we call legitimate. Swarm resilience work has two primary goals: to enforce safety by identifying compromised links and ignoring or accounting for their influence on the swarm, and to guarantee performance by eventually communicating important information along legitimate links. However, previous work differs in what data is used to detect compromised links, and no previous work guarantees both safety uniformly over the duration of a task and eventual performance without restrictive assumptions.

Intrinsic approaches (5, 11–13) search for anomalies in the data transmitted across the network—binary decision variables (5), transactions sent to a smart contract (12), or LLM outputs (13), for instance. However, to distinguish outliers from inliers, all of these works require a malicious minority. This prohibits their use against attack models capable of achieving a majority, like Sybil attackers (3), but also in even simpler cases such as two robots communicating in isolation.

Extrinsic approaches (1, 9, 14, 15) overcome these restrictions by instead detecting anomalies in exogenous data collected from local sensors. This is typically an anomaly detector, which acts as a ‘tell’ for whether a neighboring link is compromised. Diverse data are used as inputs to these anomaly detectors, including wireless signals (15), position and velocity information (1), and even qualitative behaviors (16), but recent work highlights that data extracted from physical channels are particularly robust against malicious manipulation (1, 17).

These approaches are typically limited by requiring a highly accurate anomaly detector. In particular, when a detector falsely trusts compromised links, safety can be violated since these links may introduce malicious data into the legitimate network, and when legitimate links are mistrusted, performance can suffer from reduced collaboration and information-exchange. Recent Trust-based approaches begin to address these issues by collecting a series of observations from an anomaly detector, called trust values, and aggregating these data to reduce uncertainty over time (17–21). However, work thus far has focused on securing specific distributed protocols like consensus (18–20) and distributed optimization (21), and no prior work has been able to use trust values to secure generic tasks with arbitrary time-varying communication networks. Furthermore, these works exclude compromised data only after a random, finite time, and are therefore inadequate to secure algorithms where incorporating even a single malicious message can lead to irreversible failures or violate safety requirements that must always hold over time.

Our work guarantees time-uniform safety by excluding data from all compromised links with arbitrarily high probability and performance by ensuring that each robot will identify all incoming legitimate links in finite time and use their data for decision-making. These guarantees enable the execution of a generic class of algorithms not originally designed to accommodate malicious inputs (see Table S1 for a list of such algorithms). To accomplish this, we require only that each legitimate robot possess a better-than-chance anomaly detector for compromised links.

The Safe Wrapper obtains these simultaneous guarantees using Safe Anytime-Valid Inference (SAVI) (10, 22). SAVI is motivated by the problem of p-hacking (23), where running repeated hypothesis tests can increase the probability of a false positive. Anytime-Valid tests allow repeated testing without risk of p-hacking by uniformly controlling the chance of false positives. We cast the decision of whether to trust an incoming link at each time as a sequential hypothesis test, and our time-uniform safety criterion as a form of the Anytime-Valid guarantee. Robots maintain for each incoming communication link a Confidence Sequence (10) for the mean trust value of the link and accept a link only when its confidence sequence excludes all values below 1/2. The Anytime-Valid guarantee ensures time-uniform safety, and performance is determined by the test's power.

Our primary contribution is a Safe Wrapper (Figure 2) that uniformly excludes all compromised links with arbitrarily high user-chosen probability 1−γ1 - \gamma, while still learning to trust legitimate links almost surely, with error probabilities decreasing exponentially fast up to log factors. Because the wrapper acts only on incoming communication links, it is agnostic to both the task it protects and the attack it defends against: any algorithm that exchanges data over local links and can tolerate finitely many link drops can be secured without modification, against any attack model for which better-than-chance trust values can be devised. We demonstrate this generality in hardware across two contrasting tasks, robot platforms, and attack types. In the first (Section 1.1), 8 GoPiGos perform heading consensus in the presence of a Sybil attacker. This verifies our guarantees in a setting especially challenging for previous work: a time-varying network in which malicious robots vastly outnumber legitimate robots. In the second (Section 1.2), 3 LoCoBots build a shared neural implicit map (24) while an injection attacker attempts to make objects appear or disappear. Whereas resilient consensus has been studied extensively, the employed neural mapping algorithm was designed with no consideration for adversaries. The wrapper nevertheless secures it without changing the quality of the resulting map. Finally, we provide simulations (Section 1.3) using trust distributions from hardware to show that our approach scales well to swarms of 500 robots.

References (30)