TL;DR
Robots navigating without GPS rely on Ultra-wideband (UWB) ranging and visual bearings, but until now, every combination of robot count, tag layout, and anchor setup required its own custom-built solver or neural network. AnyAmber unifies all of these configurations into a single, generalist graph neural network. Pretrained on a massive multi-task dataset, it can adapt to a brand-new environment using just one fine-tuning trajectory—outperforming specialized models while running in real time.
What Problem Does This Paper Address?
When GPS or motion-capture systems are unavailable, robots must figure out where they are using relative measurements: distances from UWB radios and directions (bearings) from cameras.
In practice, this field has been fragmented into four distinct silos:
- Single-robot, single-tag (SS)
- Single-robot, multi-tag (SM)
- Multi-robot, single-tag (MS)
- Multi-robot, multi-tag (MM)
Task-specific neural networks perform well in their own narrow lane, but a network built for single-robot tracking can't suddenly coordinate a swarm. On the flip side, general-purpose optimization frameworks like Pose Graph Optimization (PGO) can handle any setup, but they often stumble when faced with real-world messiness like non-Gaussian noise or UWB signal multipath. The authors set out to build a single, learnable architecture that handles all of these scenarios out of the box.
Methods
The core trick behind AnyAmber is a unified problem formulation. Instead of treating single-robot global localization (referencing static anchors in a map) and multi-robot relative localization as different problems, the authors reinterpret the map frame as a virtual "reference robot," and the static anchors as UWB tags mounted on it. Suddenly, every localization task becomes a special case of multi-robot, multi-tag relative positioning.
Built on this formulation, AnyAmber chains together four modules:
- Sensor-Embedded GRU Range Filter: UWB ranging suffers from time-varying, hardware-specific biases. A 1D CNN and 3-layer GRU process raw distance sequences, while a learnable sensor-embedding table captures pairwise quirks between specific transmitters and receivers, outputting denoised ranges and uncertainty estimates.
- Multi-frame Matching Network: In multi-robot settings, camera detections are anonymous—you see a drone, but you don't know which drone it is. A temporal graph attention network (using self-, cross-, and sequential-edges) pairs with a multi-frame Sinkhorn algorithm to softly match anonymous visual bearings to known robot IDs.
- Unified Heterogeneous EGAT: An Edge-featured Graph Attention Network models the geometry. Rather than stuffing everything into node features, it separates estimated quantities into four node types (
Ref,Base,Fixed,Moving) and geometric constraints into three edge types (extrinsic,range,bearing), predicting both poses and covariances. - Hierarchical Differentiable PGO: A Coarse PGO (CPGO) refines prior poses before the EGAT runs, and a Refined PGO (RPGO) polishes the final output using EGAT's pose and uncertainty estimates. Implemented with Theseus, gradients flow backward through the optimizer so the network learns better uncertainty predictions.
Datasets
The authors compiled a large-scale multi-scenario dataset combining simulation and real-world experiments (both self-collected and public):
- Total scale: 113 distinct scenes, 317 trajectories, and 210,589 sampled frames.
- Pretraining split: 108 scenes and 225 trajectories (153,555 frames), spanning 1 to 16 robots, 0 to 36 anchors, and 1 to 6 tags per robot.
- Evaluation: Tested on strictly unseen scenarios—including unseen scenario types like
square*,lab-los*,lab-nlos*, andplane*—using only a single trajectory (~150 frames) for scene-specific fine-tuning.
Key Insights and Ideas
- Unifying the problem unlocks cross-task transfer: By treating static map anchors as tags on a virtual reference robot, a single model can pool geometric intuition across wildly different setups.
- Pretraining slashes data demands: A pretrained AnyAmber model fine-tuned on just one trajectory beats a non-pretrained model fine-tuned on five trajectories—reducing the error gap by roughly 5.5× at the one-trajectory mark.
- Mixed-scale training beats fixed-scale specialists: Models trained from scratch on mixed robot counts (3–12 robots) generalize better across varying swarm sizes than models trained specifically for a fixed number of robots.
- Decentralized by design: In multi-robot deployments, robots only broadcast their EGAT-predicted poses and covariances, then run RPGO independently—keeping communication overhead minimal.
Key Results
Across all eight unseen test scenarios, AnyAmber consistently matched or outperformed specialized learning-based baselines (VIUNet, NRIO, Mr. Virgil) and optimization-based methods (MURP, PGO):
- Single-Robot: Achieved 0.17 m RMSE on
sim-circle(vs. 0.63 m for PGO and 1.08 m for VIUNet) and 0.04 m onsquare*(vs. 0.12 m for VIUNet). - Multi-Robot: Limited error to 0.09 m on
lab-los*(vs. 0.63 m for Mr. Virgil) and 0.36 m on the challenging, bearing-freeplane*scenario (vs. 1.44 m for MURP and 1.78 m for PGO). - Ablations: Removing the Sensor-Embedded GRU increased mean localization error by over 40%, confirming its role in taming non-Gaussian UWB noise.
- Real-time speed: With C++ Ceres Solver backends for PGO, the full pipeline runs at ≥ 20 Hz even when scaling up to 16 robots (34.3 ms total runtime for 4 robots; 43.2 ms for 16 robots).
Limitations and Future Work
Because the matching and localization networks are currently fused at the output level, AnyAmber still relies on positional priors and cannot perform fully prior-free global localization. The authors note that their architecture naturally supports tighter, feature-level end-to-end fusion (e.g., feeding GRU and MatchNet latent features directly into EGAT), which they plan to combine with odometry and multi-frame observations in future work.
Summary updated