helloelwin commited on
Commit
6d22d7b
·
0 Parent(s):

Transcripts of the reproduction runs (1,000 coupled runs, 5,000 transcripts)

Browse files
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: "Norm Enforcement for AI Agents: transcripts"
6
+ tags:
7
+ - multi-agent
8
+ - llm-agents
9
+ - ai-safety
10
+ - norm-enforcement
11
+ - agent-simulation
12
+ size_categories:
13
+ - 1K<n<10K
14
+ configs:
15
+ - config_name: default
16
+ data_files: runs.parquet
17
+ ---
18
+
19
+ # Norm Enforcement for AI Agents: transcripts
20
+
21
+ These are the transcripts of an independent reproduction of the main experiments in
22
+ [Norm Enforcement for AI Agents: Robustly Shaping Behavior in Multi-Agent Systems](https://arxiv.org/abs/2607.09766)
23
+ (Yaowen Ye and Jacob Steinhardt, NeurIPS 2026 Spotlight). They were made with the public code at
24
+ [github.com/helloelwin/norm-enforcement](https://github.com/helloelwin/norm-enforcement), and they produce every number
25
+ on [yaowenye.com/norm-enforcement](https://yaowenye.com/norm-enforcement/). Because this is an independent reproduction,
26
+ the numbers differ somewhat from the paper's.
27
+
28
+ > **Content warning.** Some agents in these simulations were finetuned or prompted to break norms and to abuse the
29
+ > reporting system. The chatbot environment's user requests include red-teaming prompts from Anthropic's hh-rlhf dataset.
30
+ > The transcripts therefore contain deceptive marketing claims, harmful requests and replies, and hostile messages.
31
+
32
+ ## What is in this dataset
33
+
34
+ The dataset has 1,000 coupled runs and 5,000 transcripts. Each transcript is one simulation: one environment, one
35
+ population of agents, one enforcement mechanism and one seed. It records:
36
+
37
+ - every prompt each agent saw and every reply, with the reasoning of the reasoning models;
38
+ - every report, the verifier's decision on it, and every ban;
39
+ - the simulated users' votes;
40
+ - a violation label for every agent and round.
41
+
42
+ | Path | Contents |
43
+ |---|---|
44
+ | `shards/<env>-<users>-<population>.tar.gz` | 20 gzipped tar shards, one per environment, kind of simulated users and agent population (fishing has no users) |
45
+ | `runs.parquet` | An index with one row per transcript; this is what the dataset viewer shows |
46
+
47
+ Extracting the shards gives the folder the code writes and reads:
48
+
49
+ - `transcripts/<transcript>.json`: the 5,000 transcripts, in the code's format and under its file names;
50
+ - `transcripts/coupled/<run>.json`: one summary per coupled run, naming its five transcripts.
51
+
52
+ ## Quick start
53
+
54
+ Download the runs, decompress them, and rebuild the website's main table with the public code:
55
+
56
+ ```bash
57
+ pip install -U huggingface_hub
58
+ hf download helloelwin/norm-enforcement-transcripts --repo-type dataset --local-dir ne-transcripts
59
+ for f in ne-transcripts/shards/*.tar.gz; do tar -xzf "$f" -C ne-transcripts; done # about 36 GB once extracted
60
+
61
+ git clone https://github.com/helloelwin/norm-enforcement
62
+ cd norm-enforcement && pip install -e .
63
+ python scripts/main_table.py results_dir=../ne-transcripts/transcripts users=gpt-5-nano
64
+ python scripts/main_table.py results_dir=../ne-transcripts/transcripts users=deepseek
65
+ ```
66
+
67
+ `--include` downloads part of the data, for example `--include "shards/fishing-*"` for one environment. To read a
68
+ single transcript, download only its shard:
69
+
70
+ ```python
71
+ import json, tarfile
72
+ from datasets import load_dataset
73
+ from huggingface_hub import hf_hub_download
74
+
75
+ runs = load_dataset("helloelwin/norm-enforcement-transcripts", split="train").to_pandas()
76
+ row = runs.query("env == 'chatbot' and population == 'explicit-abuse-prompted' and mechanism == 'naive'").iloc[0]
77
+ shard = hf_hub_download("helloelwin/norm-enforcement-transcripts", row.shard, repo_type="dataset")
78
+ with tarfile.open(shard) as tar:
79
+ t = json.load(tar.extractfile(row.file))
80
+ ```
81
+
82
+ ## The runs
83
+
84
+ | Environment | Simulated users | Coupled runs | Transcripts | Seeds |
85
+ |---|---|---|---|---|
86
+ | Social | gpt-5-nano | 288 | 1,440 | 0-7 |
87
+ | Social | DeepSeek V4.1 Flash | 360 | 1,800 | 0-7, plus 8-15 for finetuned agents |
88
+ | Chatbot | gpt-5-nano | 96 | 480 | 0-7 |
89
+ | Chatbot | DeepSeek V4.1 Flash | 96 | 480 | 0-7 |
90
+ | Fishing | none | 160 | 800 | 0-7 |
91
+
92
+ Every run lasts 15 rounds. A run stops early if at most one agent is still active or, in fishing, if the fishery
93
+ collapses.
94
+
95
+ - **Environments and cells.**
96
+ - Social media marketing (`social`): 16, 32 or 64 agents, with the top 4, 8 or 16 posts shown to users.
97
+ - Chatbot service competition (`chatbot`): 16, 32 or 64 agents.
98
+ - Fishery commons (`fishing`): 4, 8, 12, 16 or 20 agents.
99
+ - **Agent populations.** Half the agents follow the norms and half do not.
100
+ - `finetuned`: Qwen3-Next-80B-A3B-Instruct with the LoRA adapters
101
+ [helloelwin/qwen-80b-mixed-good-20k](https://huggingface.co/helloelwin/qwen-80b-mixed-good-20k) and
102
+ [helloelwin/qwen-80b-mixed-bad-20k](https://huggingface.co/helloelwin/qwen-80b-mixed-bad-20k).
103
+ - `prompted`, `abuse-prompted` and `explicit-abuse-prompted`: Qwen3-Next-80B-A3B-Thinking. The bad agents get the
104
+ paper's aggressiveness-only, subtle-abuse and explicit-abuse prompts, respectively.
105
+ - The prompts are in the code repository's `configs/`.
106
+ - **Mechanisms.** Naive, Checked, Backfire, RepVote and EscRepVote (penalty factor k = 3), as in the paper. Reports are
107
+ checked by Qwen3-0.6B.
108
+ - **Simulated users.** Either gpt-5-nano (OpenAI) or DeepSeek V4.1 Flash (through OpenRouter, pinned to one provider, with
109
+ reasoning off). In the files and configs they are called the "judge", as in `judge=gpt-5-nano`. Fishing has no users.
110
+ - **Violation labels.** gpt-5-mini at low reasoning effort labels every agent in every round from its last three actions,
111
+ as in the paper.
112
+ - **Coupled runs.** The five mechanisms of a cell and seed run side by side in one simulation. They share every model call
113
+ whose input is identical, so the transcripts of one run agree until the mechanisms make them differ. Each arm on its own
114
+ is distributed like an independent run.
115
+
116
+ ## Transcript format
117
+
118
+ Each transcript is one JSON object.
119
+
120
+ | Field | Contents |
121
+ |---|---|
122
+ | `config` | The run's settings: environment, number of agents, round limit, mechanism and its parameters, seed, agent population file (`agent_config_path`, in the code repository), simulated users (`judge_*`), verifier, and environment settings. |
123
+ | `results` | One record per round (details below). |
124
+ | `agent_states` | Per agent: every prompt it saw (`observations`) and every reply (`actions`), its system and environment prompts, its variant name (good or bad), and whether it was still active at the end. |
125
+ | `agent_model_assignments` | Per agent, in agent order: the model and the system prompt. |
126
+ | `report_history` | Every report of the run. |
127
+ | `coupling` | The coupled run this transcript belongs to: its mechanisms, its summary file and the code version. |
128
+ | `evaluation.violation` | The violation labels. `agent_scores[agent][round]` is 1 for a violation, 0.5 for uncertain and 0 for none. `judge_outputs` has the labeler's reply and explanation for each, and `summary` the first violation round per agent. |
129
+
130
+ Each record in `results` has:
131
+
132
+ - `action_sets`: each agent's parsed action (a social post, a chatbot reply, or a fishing harvest and messages) and its
133
+ reports;
134
+ - `raw_results`: each agent's raw output (`content`) and, for reasoning models, its reasoning (`reasoning_content`);
135
+ - per environment:
136
+ - social rounds have the users' votes (`judge_response`) and scores;
137
+ - chatbot rounds have the pairings and each pair's request, replies and votes (`pair_results`);
138
+ - fishing rounds have the population and public messages;
139
+ - `report_records`: the round's reports with the verifier's input, output and outcome;
140
+ - `banned_agents`: the agents banned that round;
141
+ - each agent's reputation and suspiciousness.
142
+
143
+ ## Index columns
144
+
145
+ | Column | Contents |
146
+ |---|---|
147
+ | `run` | The coupled run, which groups the five mechanisms of one cell and seed |
148
+ | `file` | The transcript's path inside its shard, and in the folder the shards extract to |
149
+ | `shard` | The shard that holds it |
150
+ | `env` | `social`, `chatbot` or `fishing` |
151
+ | `population` | `finetuned`, `prompted`, `abuse-prompted` or `explicit-abuse-prompted` |
152
+ | `users` | `gpt-5-nano`, `deepseek-v4.1-flash`, or `none` for fishing |
153
+ | `mechanism`, `mechanism_name` | `naive`, `checked`, `checked_backfire`, `checked_repvote` or `checked_escrepvote`, and the paper's name for it |
154
+ | `num_agents`, `top_k`, `seed` | The cell and seed; `top_k` is set for social only |
155
+ | `rounds` | Rounds played: 15, unless the run stopped early |
156
+ | `agents_flagged` | Agents with at least one violation label |
157
+ | `agents_banned` | Agents banned by the end of the run |
158
+ | `flagged_banned`, `compliant_banned` | Banned agents with and without a violation label |
159
+ | `reports` | Reports filed during the run |
160
+
161
+ ## Licenses
162
+
163
+ The transcripts are released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). They quote third-party text,
164
+ which keeps its own license:
165
+
166
+ | Source | Where it appears | License |
167
+ |---|---|---|
168
+ | [Anthropic/hh-rlhf](https://huggingface.co/datasets/Anthropic/hh-rlhf) | Chatbot user requests | MIT |
169
+ | [Anthropic/llm_global_opinions](https://huggingface.co/datasets/Anthropic/llm_global_opinions) | Chatbot user requests | CC BY-NC-SA 4.0 |
170
+ | [allenai/WildChat](https://huggingface.co/datasets/allenai/WildChat) | Chatbot user requests | ODC-BY |
171
+ | Amazon product metadata ([McAuley et al.](https://cseweb.ucsd.edu/~jmcauley/datasets/amazon/links.html)) | Social products to advertise | Research use; cite He and McAuley (WWW 2016) and McAuley et al. (SIGIR 2015) |
172
+
173
+ The code repository's `data/README.md` describes how these inputs were built. Model outputs come from Qwen3 models
174
+ (Apache 2.0), OpenAI models and DeepSeek V4.1 Flash.
175
+
176
+ ## Citation
177
+
178
+ ```bibtex
179
+ @inproceedings{ye2026norm,
180
+ title={Norm Enforcement for AI Agents: Robustly Shaping Behavior in Multi-Agent Systems},
181
+ author={Ye, Yaowen and Steinhardt, Jacob},
182
+ booktitle={Advances in Neural Information Processing Systems},
183
+ year={2026}
184
+ }
185
+ ```
runs.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f59119cfc97fde2881c992a81eb2375cd4a3da7ea39c0d695fc2db728d0bcc1
3
+ size 116005
shards/chatbot-deepseek-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd345a7768347566a122ee5204db446ad3bc649e1a4aee49f285e9f2fd9ccf73
3
+ size 145400695
shards/chatbot-deepseek-explicit-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcc7d0ef5304c113196748aa5b48d62fad742ac277a7686c2e3f042d9bbb4e72
3
+ size 115320066
shards/chatbot-deepseek-finetuned.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d31b385c069e8a2a9274531aadba81962e97ad339e1cab381007bb8cae4fe319
3
+ size 56642740
shards/chatbot-deepseek-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44e03ef461ae7763a4997be865745f130bef6a84b97e49611966947922042c53
3
+ size 170667693
shards/chatbot-gpt-5-nano-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8993df6c925671d14827d9751bd88abe3bccdae865ea3370e09e853900f5090d
3
+ size 142943101
shards/chatbot-gpt-5-nano-explicit-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94b609ee919c04a33e946b7ff6af4af649fd1f7f6444551363af214e396ea75d
3
+ size 114592117
shards/chatbot-gpt-5-nano-finetuned.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09fa85a65f390f2d6edc8d4c1a1024fe0afbf266827510e5fb030feb59d48d19
3
+ size 56861088
shards/chatbot-gpt-5-nano-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff9c6dfcb2a1000b1859a971d7e487680f2c288ac01ef5029b0d4b77c0235ce7
3
+ size 167873877
shards/fishing-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90c297447f482fc0c04198c1e481707b2582efe09ca99458c258b9ef332bbe7e
3
+ size 57736641
shards/fishing-explicit-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:184f8c7e04c15ee82c6a100c49aff287a75c373d08489b8bf105c7c1627c00b6
3
+ size 50328876
shards/fishing-finetuned.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:263a167188f03d574226f47c3911efd7e14e5e25c219c9fe004bcf99df0e61cb
3
+ size 7298831
shards/fishing-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5ca7dbfdcdfd9150f88a555b9cbde8f4690f5059aa6b1dec9f8ed443fbd556e
3
+ size 69332225
shards/social-deepseek-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e38f55893c40f05c92b9ef5584a53c7e0a2b36c8db443ba7216ac4881b26f55
3
+ size 732219079
shards/social-deepseek-explicit-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d223819c80cc29456a659fe55f2464a4b92c3a78eae7e9fa29a7b61ca1e83a6
3
+ size 625813654
shards/social-deepseek-finetuned.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a43e5e8bb02c4278a2d96a4a912d792e8948003612162fd397e6cc6596dbda
3
+ size 396828844
shards/social-deepseek-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3bf360e9345a20493600a97151efa233798bb3e13847a19d9637d94827d11d9
3
+ size 831829318
shards/social-gpt-5-nano-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9b5b193ba714cdb89db799bd6dcabc973ea8588d65150927e6bfbcd703e68fb
3
+ size 782789683
shards/social-gpt-5-nano-explicit-abuse-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:868882109192b4922db3417ffb6926fdbbe20273a456ff5dfcb07b2f413deec9
3
+ size 739773776
shards/social-gpt-5-nano-finetuned.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbee367179d00a1750f69ba0adbe1e0d86b1b2374702483fba8f6afe39b98a2f
3
+ size 321095552
shards/social-gpt-5-nano-prompted.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd32a4b338f336355ad20f674f3fe4e673da8be08386d694d6791209940e2821
3
+ size 894444405