Skip to content

Train whole swarms with GRPO - #65

Open
man-coding-j wants to merge 1 commit into
exea-labs:mainfrom
man-coding-j:codex/pr-swarm-grpo
Open

man-coding-j wants to merge 1 commit into
exea-labs:mainfrom
man-coding-j:codex/pr-swarm-grpo

Conversation

@man-coding-j

Copy link
Copy Markdown
Contributor

Summary

  • Sample whole swarms in lockstep, with a separate causal board for each attempt. Score the designated agent once and give every agent the attempt's normalized advantage.
  • Replay the same board grouping, prompt alignment, and stop-token padding for policy and reference scoring.
  • Document the swarm task format and CLI. This PR contains the Swarm GRPO changes and can be reviewed independently of Swarm SFT.

Validation

  • tiny tests cover rollout and replay parity, board isolation, shared advantages, and a training step that updates board parameters.
  • The implementation run passed all 243 tests. In the matched 60-step synthetic comparison with a four-token generation budget, greedy exact-match reward finished at 100% for swarm GRPO and 50% for solo GRPO on both seeds.

(cherry picked from commit b904474)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant