Hugging Face Trains Four AI Agents to Reach 81.25% on Held-Out Sorting Tasks
Hugging Face Trains Four AI Agents to Reach 81.25% on Held-Out Sorting Tasks
AI Agents & Automation

Hugging Face Trains Four AI Agents to Reach 81.25% on Held-Out Sorting Tasks

Hugging FaceNov 27, 2026

Hugging Face reports that reinforcement training raised a four-agent team’s held-out task success to 81.25% while cutting training tokens.

Hugging Face has published an experiment in which four agents sharing one Qwen3-0.6B model learned to exchange private information and solve a simple sorting task. The post, dated November 26, 2026, presents the work as the first installment in an educational series on training and evaluating multi-agent systems, with a reproducible implementation using Hugging Face Jobs and TRL.

Each agent received a different integer from 1 to 99 and had to help produce the complete sorted list. The agents used separate contexts and could message one another; they shared the same model policy and received a common team reward. Training used groups of eight attempts per problem, with the reward favoring successful teams that used fewer generated tokens.

After 75 training updates, the four-agent system solved 26 of 32 held-out problems at checkpoint 75, an 81.25% success rate. Across the first and last five training updates, reported success rose from 6.6% to 82.3%, while average generated tokens per team fell from about 13,000 to about 8,000—a 37.4% reduction. Broadcasts increased as token use fell, suggesting more active information sharing in the training measurements.

The authors also compared a trained team’s single attempt with an untrained team’s best result across eight attempts. On training problems, the trained team reached 82.3% success using about 8,000 tokens per problem; the untrained team’s best-of-eight success was 37.5% and used about 103,000 tokens. The post cautions that this is an estimate: both figures use training problems, and some early attempts came from a slightly trained policy.

The experiment tests whether a shared policy can learn to communicate when each agent holds information others need. It does not establish that multi-agent cooperation improves performance over a single agent on tasks that one agent could solve independently. Hugging Face says later installments will examine evaluation and analysis of swarms. The recorded experiment used one H200 for training and seven H200s for rollouts; the walkthrough describes a smaller two-GPU run.

Industry Impact

Early evidence for learned agent coordination

AI research and model development

Overview

Hugging Face’s experiment shows a shared model policy learning to exchange information across four agents, reaching 81.25% success on held-out sorting problems. Training measurements also showed a 37.4% reduction in generated tokens as success improved. For ML engineers and researchers, the work offers a reproducible starting point for studying coordination and token efficiency. However, the simple task and lack of comparison with a single agent mean the results do not establish a broader performance or business advantage.

Key Impact Points

The team solved 26 of 32 held-out sorting problems after 75 training updates.

Average generated tokens per team fell from about 13,000 to 8,000 across the reported training periods.

The experiment tests information-sharing behavior, not whether multiple agents outperform a single agent.

Opportunities

Research opportunity, not a validated product

AI research and model development

No near-term commercial opportunity is established by this result: the demonstration uses a small model on a simple sorting task and does not compare cooperation with a capable single agent. Its practical value is as a reproducible research starting point: teams can use the described Hugging Face Jobs and TRL workflow to study whether agents can exchange private information while controlling token use. A deployable service, enterprise efficiency gain, or customer demand is not demonstrated. Any product or workflow investment should therefore remain exploratory until coordination benefits are reproduced on representative tasks, measured against single-agent baselines, and shown to outweigh message and rollout costs.

Reference link

https://huggingface.co/blog/training-swarms

Image Source Link

https://www.reuters.com/resizer/v2/YIWM5I25MRNDDEOR633ZUPQBYE.jpg?auth=699b0aea51a35bae67b5af44f2cc626db99129de7d839f6d08eeddaeb48767ec&width=1080&quality=80

Community Discussion (0)

No discussions yet. Be the first to start the conversation!