RoboRACE-Net: A mini-transformer for filtering lies in agent swarms
2 min readupdated
RACE-Net is a compact AI model (an axial stacked transformer with 213,889 parameters) developed by Nabidnur, designed to merge reports from multiple agents (such as camera clusters and VLM (multimodal language models)) in environments where some agents may lie, malfunction, or output random data. The model processes an unannotated window of episodes as a whole and returns the log-odds of success for each episode, assuming that the receiving agent's column is honest. Running entirely on CPU, this model is useful for robotics and multi-agent system developers looking to reliably aggregate data from untrusted sources.
Key features
- Compactness: Just 213,889 parameters, enabling fast execution on CPU in milliseconds per window.
- Position-encoding free: The model is permutation-equivariant across both episodes and agents.
- Flexible input: Accepts an arbitrary-sized score matrix from agents across recent episodes.
- Simulation training: Trained exclusively on synthetic agent swarms without using real-world benchmarks.
What you can do
- Swarm data analysis: Run Python inference to aggregate task success scores from a group of cameras or sensors.
- Robotics integration: Apply it to filter out false positives in distributed robot control systems.
- Custom data testing: Test resilience against adversarial agents, random noise, and collusion.
- Environment emulation: Use built-in synthetic swarm generators for fine-tuning or analysis.
Example
import sys, numpy as np
from huggingface_hub import snapshot_download
d = snapshot_download("Nabidnur/RoboRACE-Net"); sys.path.insert(0, d)
import racenet
P = np.random.rand(100, 5) # [эпизоды, агенты] оценки от 0 до 1
log_odds, thr = racenet.race_net(None, P, own=0, path=d)
success = log_odds > thrRead more
Details• Achieves 81.6% accuracy on the SO-101 test track and 81.8% on Franka Panda in zero-shot testing.
• Hardware requirements: Runs on a standard CPU in milliseconds; dependencies include torch, numpy, and safetensors.
• Limitations: Does not outperform heavy EM methods on real cameras, requires the receiving agent to be more honest than random guessing, and works only with binary truth.










Comments