台灣 AI x AEC 情報BY FBI SICENTER
AI × AEC · CURATED INSIGHT

Hugging Face Details Multi-Agent Communication Training with Qwen3-0.6B and TRL

Frontier AI models · AI assistants

Hugging Face published an experimental guide demonstrating how four agents sharing a Qwen3-0.6B policy learn collaborative communication through multi-agent reinforcement learning. Over 75 training updates on an information-aggregation task, team success rose from 6.6% to 82.3% while generated tokens per team fell by 37.4%. The authors provided reproducible code using Hugging Face Jobs and TRL, utilizing two H200 GPUs to train and evaluate swarms under shared rewards.

AI 生成概念示意圖,非實際產品或事件照片。
AI-generated concept illustration; not an event photograph.

A blog post authored by Ben Burtenshaw and Kashif Rasul on Hugging Face presents a practical walkthrough on building, training, and evaluating multi-agent systems using cooperative reinforcement learning. The authors address whether agent communication provides genuine performance advantages or merely inflates compute usage. To test communication learning, the experiment sets up a decentralized information-sharing task where four agents each receive a private integer and must collectively output a fully sorted list. Because each agent holds information necessary for completion, single agents cannot solve the task alone. Using a single shared Qwen3-0.6B policy under centralized training with decentralized execution, the agents learn messaging tools (such as broadcast and direct messaging) guided by team-level rewards that penalize excessive token consumption. In their recorded 75-step experiment, team accuracy increased from 6.56% in initial updates to 82.34% in updates 71–75, while token usage per team dropped 37.4% from 12,826.9 to 8,026.0 tokens. The team solved 26 of 32 held-out test problems (81.25%) at checkpoint 75. A reproducible workflow using TRL and vLLM on two H200 GPUs is shared for open reproduction.

Key takeaways

  • A four-agent cooperative setup trained a shared Qwen3-0.6B policy to pool private numbers and output sorted lists via reinforcement learning tools.
  • Team success on training problems increased from 6.56% to 82.34% over 75 updates, reaching 81.25% accuracy on 32 held-out problems.
  • Generated tokens per team decreased by 37.4% from 12,826.9 to 8,026.0, accompanied by an increase in broadcast messages from 2.38 to 5.73 per team.
  • Hugging Face provided reproducible implementation scripts using TRL, vLLM, and Hugging Face Jobs executable on two H200 GPUs in roughly five hours.

Source:Hugging Face / authors Read the original ↗

Prepared, checked and automatically published by AI; not individually reviewed by a human.

← All articles