Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowNotImplementedError
Message:      Cannot write struct type 'ENV' with no child field to Parquet. Consider adding a dummy child field.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1531, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 127, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1405, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 982, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 786, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1562, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                                            ~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 786, in finalize
                  self._build_writer(self.schema)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 812, in _build_writer
                  self.pa_writer = pq.ParquetWriter(
                                   ~~~~~~~~~~~~~~~~^
                      self.stream,
                      ^^^^^^^^^^^^
                  ...<9 lines>...
                      },
                      ^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/pyarrow/parquet/core.py", line 1070, in __init__
                  self.writer = _parquet.ParquetWriter(
                                ~~~~~~~~~~~~~~~~~~~~~~^
                      sink, schema,
                      ^^^^^^^^^^^^^
                  ...<18 lines>...
                      store_decimal_as_integer=store_decimal_as_integer,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      **options)
                      ^^^^^^^^^^
                File "pyarrow/_parquet.pyx", line 2363, in pyarrow._parquet.ParquetWriter.__cinit__
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                  return check_status(status)
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'ENV' with no child field to Parquet. Consider adding a dummy child field.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1393, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1571, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

json
dict
__key__
string
__url__
string
{ "artifacts": [], "command": "my_main", "experiment": { "base_dir": "/scratch/cluster/clw4542/explore_marl/open-marl/src", "dependencies": [ "munch==2.5.0", "numpy==1.21.6", "PyYAML==5.3.1", "sacred==0.8.1", "torch==1.10.0+cu111" ], "mainfile": "main.py", "name":...
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=112358_03-03-17-47-33/1/run
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{ "artifacts": null, "command": null, "experiment": null, "heartbeat": null, "host": null, "meta": null, "resources": null, "result": null, "start_time": null, "status": null, "add_value_last_step": true, "agent": "rnn_liam", "base_checkpoint_path": "/scratch/cluster/clw4542/explore_marl/open_...
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=112358_03-03-17-47-33/1/config
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{ "artifacts": null, "command": null, "experiment": null, "heartbeat": null, "host": null, "meta": null, "resources": null, "result": null, "start_time": null, "status": null, "add_value_last_step": null, "agent": null, "base_checkpoint_path": null, "batch_size": null, "batch_size_run": nu...
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=112358_03-03-17-47-33/1/info
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{ "artifacts": [], "command": "my_main", "experiment": { "base_dir": "/scratch/cluster/clw4542/explore_marl/open-marl/src", "dependencies": [ "munch==2.5.0", "numpy==1.21.6", "PyYAML==5.3.1", "sacred==0.8.1", "torch==1.10.0+cu111" ], "mainfile": "main.py", "name":...
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=78590_03-03-17-47-33/1/run
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{ "artifacts": null, "command": null, "experiment": null, "heartbeat": null, "host": null, "meta": null, "resources": null, "result": null, "start_time": null, "status": null, "add_value_last_step": true, "agent": "rnn_liam", "base_checkpoint_path": "/scratch/cluster/clw4542/explore_marl/open_...
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=78590_03-03-17-47-33/1/config
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{"artifacts":null,"command":null,"experiment":null,"heartbeat":null,"host":null,"meta":null,"resourc(...TRUNCATED)
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=78590_03-03-17-47-33/1/info
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{"artifacts":[],"command":"my_main","experiment":{"base_dir":"/scratch/cluster/clw4542/explore_marl/(...TRUNCATED)
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=38410_06-25-14-19-23/1/run
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{"artifacts":null,"command":null,"experiment":null,"heartbeat":null,"host":null,"meta":null,"resourc(...TRUNCATED)
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=38410_06-25-14-19-23/1/config
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{"artifacts":null,"command":null,"experiment":null,"heartbeat":null,"host":null,"meta":null,"resourc(...TRUNCATED)
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=38410_06-25-14-19-23/1/info
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
{"artifacts":null,"command":null,"experiment":null,"heartbeat":null,"host":null,"meta":null,"resourc(...TRUNCATED)
10v11/open_train/poam-pqvmq_open/sacred/poam_baseline_seed=93718_06-26-13-36-33/1/config
hf://datasets/carolinewang01/naht@7860bc35163371db642f1dacc2c1bcda76c57e32/10v11/open_train.tar.gz
End of preview.

NAHT: N-Agent Ad Hoc Teamwork — experimental results

Training and evaluation logs, plus agent checkpoints, for the NAHT / POAM paper.

Also in this repo: naht_unctrl_agents_10-18-24.zip, a standalone 94 MB bundle of the uncontrolled-teammate agents, if you want only the pool and not the full logs.

Quick start

Download and extract; the archives restore the original directory layout, so the plotting notebooks in the code repo run against the extracted tree unmodified.

huggingface-cli download carolinewang01/naht --repo-type=dataset --local-dir naht_results
cd naht_results
for f in $(find . -name '*.tar.gz' -o -name '*.tar'); do tar xf "$f" -C .; done

Then point BASE_RES_PATH in the notebooks at the extracted directory.

Environments

Directory Environment Details
5v6/ SMAC 5m_vs_6m, 20M env steps
8v9/ SMAC 8m_vs_9m, 20M env steps
10v11/ SMAC 10m_vs_11m, 20M env steps
3sv5z/ SMAC 3s_vs_5z, 20M env steps
mpe-pp__ts=100_shape=0.01/ MPE mpe:PredatorPrey-v0, 100-step episodes, reward shaping 0.01, 20M env steps
matrix-games__bit-3p-*/ Bit matrix game bit-3p-jointactstate-v0 and bit-3p-nostate-v0, including the theory_ex encoder–decoder study

Experiment groups

One archive per <env>/<experiment-group>. Each is self-contained.

Archive Contents
open_train NAHT training runs — POAM (poam-*) and the IPPO-based ablations (ippo-*), including critic-masking (-cmask-) and team-composition (-teamcomp-) variants
ippo, mappo, iql, qmix, vdn (and *_ns no-parameter-sharing variants) Self-play training runs for the uncontrolled-teammate pool
open_eval_best, open_eval_last Cross-play evaluation under N-agent ad hoc teamwork
in_distr_eval In-distribution teammate evaluation
ood_generalization, ood_gen_vp Out-of-distribution teammate generalization
selfplay_mismatched_eval_best Self-play and mismatched-partner evaluation
*__ed-tensors Encoder–decoder tensor dumps from the poam_data-gathering runs; input to ed_vis_utils.load_data and the within-episode ED-loss figures. Stored uncompressed (.tar) since .npz is already compressed

Per-run layout

Every run directory follows the Sacred layout:

<experiment-group>/
  sacred/<run>/1/config.json     # full hyperparameter config
  sacred/<run>/1/run.json        # run metadata (start/stop, host, status)
  sacred/<run>/1/info.json       # logged scalars — what vis_utils.py reads
  tb_logs/<run>/events.out.*     # TensorBoard events — what the learning-curve code reads
  models/<run>/best/             # checkpoint with the best test return
  models/<run>/<final_step>/     # checkpoint at the end of training

Checkpoints are PyTorch .th state dicts (agent.th, critic.th, mixer.th where applicable, and for POAM additionally encoder.th / decoder.th), each with matching *_opt.th optimizer states.

Evaluation runs record the agents they load under trained_agents and unseen_agents in config.json; all of them load "load_step": "best". Those are absolute paths from the original cluster — rewrite the prefix to point at your local copy.

Citation

If you find our code or data useful, please cite:

@inproceedings{wang2024naht,
    title={N-Agent Ad Hoc Teamwork},
    author={Wang, Caroline and Rahman, Arrasy and Durugkar, Ishan and Liebman, Elad and Stone, Peter},
    booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
    year={2024}
}
Downloads last month
115