Papers › ROTATE: Regret-driven Open-ended Training for Ad Hoc Teamwork

ROTATE: Regret-driven Open-ended Training for Ad Hoc Teamwork

29 May 2025arXiv:2505.23686archive 2025-07-28

Caroline Wang, Arrasy Rahman, Jiaxun Cui, Yoonchang Sung, Peter Stone

Developing AI agents capable of collaborating with previously unseen partners is a fundamental generalization challenge in multi-agent learning, known as Ad Hoc Teamwork (AHT). Existing AHT approaches typically adopt a two-stage pipeline, where first, a fixed population of teammates is generated with the idea that they should be representative of the teammates that will be seen at deployment time, and second, an AHT agent is trained to collaborate well with agents in the population. To date, the research community has focused on designing separate algorithms for each stage. This separation has led to algorithms that generate teammate pools with limited coverage of possible behaviors, and that ignore whether the generated teammates are easy to learn from for the AHT agent. Furthermore, algorithms for training AHT agents typically treat the set of training teammates as static, thus attempting to generalize to previously unseen partner agents without assuming any control over the distribution of training teammates. In this paper, we present a unified framework for AHT by reformulating the problem as an open-ended learning process between an ad hoc agent and an adversarial teammate generator. We introduce ROTATE, a regret-driven, open-ended training algorithm that alternates between improving the AHT agent and generating teammates that probe its deficiencies. Extensive experiments across diverse AHT environments demonstrate that ROTATE significantly outperforms baselines at generalizing to an unseen set of evaluation teammates, thus establishing a new standard for robust and generalizable teamwork.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.23686")

Code

Syntology Ran 0 of 9 code samples harvested from 1 repository linked to this paper; 9 have no recorded run.

By repository: official repository: 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

carolinewang01/rotate officialmentioned in papermentioned on GitHubjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 0 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from carolinewang01/rotate. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_partners_to_buffer carolinewang01/rotate/agents/population_buffer.py official repository unverified MIT (permissive) · e526609d39fa7bc4 · report
compute_partner_num_updates carolinewang01/rotate/open_ended_training/rotate_without_pop.py official repository unverified MIT (permissive) · e5722611d196b926 · report
create_idx_labels carolinewang01/rotate/common/agent_loader_from_config.py official repository unverified MIT (permissive) · 2223ab0b0abedc76 · report
get_final_buffer carolinewang01/rotate/agents/population_buffer.py official repository unverified MIT (permissive) · f11150645020836f · report
init_VinvB carolinewang01/rotate/agents/s5_actor_critic.py official repository unverified MIT (permissive) · 05f3fb444244a522 · report
init_log_steps carolinewang01/rotate/agents/s5_actor_critic.py official repository unverified MIT (permissive) · f8ff84b2199c4f7b · report
load carolinewang01/rotate/vis/appendix_figures/rotate_xp_heatmaps.py official repository unverified MIT (permissive) · 15e4bcf8543805f7 · report
log_step_initializer carolinewang01/rotate/agents/s5_actor_critic.py official repository unverified MIT (permissive) · 5a9910740c37faa5 · report
process_idx_list carolinewang01/rotate/common/agent_loader_from_config.py official repository unverified MIT (permissive) · 5585791143a5dee8 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ADOPTHOCSET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections