Add WebShop 7B single-layer FFN Channel-SAM step200 (rho=0.005, cap=0.05)

#2
by Davidk1 - opened
Files changed (13) hide show
  1. .gitattributes +1 -0
  2. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/added_tokens.json +24 -0
  3. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/chat_template.jinja +54 -0
  4. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/config.json +58 -0
  5. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/generation_config.json +14 -0
  6. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/lora_adapter/adapter_config.json +51 -0
  7. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/lora_adapter/adapter_model.safetensors +3 -0
  8. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/merges.txt +0 -0
  9. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/special_tokens_map.json +31 -0
  10. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/tokenizer.json +3 -0
  11. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/tokenizer_config.json +207 -0
  12. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/vocab.json +0 -0
  13. results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/run_config.json +409 -0
.gitattributes CHANGED
@@ -46,3 +46,4 @@ results/webshop/robust_training/qwen2_5_1_5_ffn_channel_sam_step_200_seed0/check
46
  evaluation_results/perturbation_effects/webshop_qwen_1_5/plots/webshop_step200_sam.png filter=lfs diff=lfs merge=lfs -text
47
  evaluation_results/analysis/reward_surface_vis/png/reward_surface_vis_webshop.png filter=lfs diff=lfs merge=lfs -text
48
  evaluation_results/perturbation_effects/alfworld_qwen_7/plots/alfworld_qwen7_step200.png filter=lfs diff=lfs merge=lfs -text
 
 
46
  evaluation_results/perturbation_effects/webshop_qwen_1_5/plots/webshop_step200_sam.png filter=lfs diff=lfs merge=lfs -text
47
  evaluation_results/analysis/reward_surface_vis/png/reward_surface_vis_webshop.png filter=lfs diff=lfs merge=lfs -text
48
  evaluation_results/perturbation_effects/alfworld_qwen_7/plots/alfworld_qwen7_step200.png filter=lfs diff=lfs merge=lfs -text
49
+ results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "dtype": "float32",
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 3584,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 18944,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention"
41
+ ],
42
+ "max_position_embeddings": 32768,
43
+ "max_window_layers": 28,
44
+ "model_type": "qwen2",
45
+ "num_attention_heads": 28,
46
+ "num_hidden_layers": 28,
47
+ "num_key_value_heads": 4,
48
+ "pad_token_id": 151643,
49
+ "rms_norm_eps": 1e-06,
50
+ "rope_scaling": null,
51
+ "rope_theta": 1000000.0,
52
+ "sliding_window": null,
53
+ "tie_word_embeddings": false,
54
+ "transformers_version": "4.57.3",
55
+ "use_cache": true,
56
+ "use_sliding_window": false,
57
+ "vocab_size": 152064
58
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.05,
10
+ "temperature": 0.7,
11
+ "top_k": 20,
12
+ "top_p": 0.8,
13
+ "transformers_version": "4.57.3"
14
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/lora_adapter/adapter_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_type": "CAUSAL_LM",
3
+ "peft_type": "LORA",
4
+ "auto_mapping": null,
5
+ "peft_version": "0.19.1",
6
+ "base_model_name_or_path": "/home/yuxinr/yuxin/_models/Qwen2.5-7B-Instruct",
7
+ "revision": null,
8
+ "inference_mode": false,
9
+ "r": 64,
10
+ "target_modules": [
11
+ "down_proj",
12
+ "gate_proj",
13
+ "k_proj",
14
+ "o_proj",
15
+ "q_proj",
16
+ "up_proj",
17
+ "v_proj"
18
+ ],
19
+ "exclude_modules": null,
20
+ "lora_alpha": 64,
21
+ "lora_dropout": 0.0,
22
+ "fan_in_fan_out": false,
23
+ "bias": "none",
24
+ "use_rslora": false,
25
+ "modules_to_save": null,
26
+ "init_lora_weights": true,
27
+ "layers_to_transform": null,
28
+ "layers_pattern": null,
29
+ "rank_pattern": {},
30
+ "alpha_pattern": {},
31
+ "megatron_config": null,
32
+ "megatron_core": "megatron.core",
33
+ "trainable_token_indices": null,
34
+ "loftq_config": {},
35
+ "eva_config": null,
36
+ "corda_config": null,
37
+ "lora_ga_config": null,
38
+ "use_dora": false,
39
+ "alora_invocation_tokens": null,
40
+ "use_qalora": false,
41
+ "qalora_group_size": 16,
42
+ "layer_replication": null,
43
+ "runtime_config": {
44
+ "ephemeral_gpu_offload": false
45
+ },
46
+ "lora_bias": false,
47
+ "target_parameters": null,
48
+ "use_bdlora": null,
49
+ "arrow_config": null,
50
+ "ensure_weight_tying": false
51
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/lora_adapter/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:123ea0c27b89a114fa2db3ee3511af23025d7b239bf763773103451be9a03a06
3
+ size 645975672
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_200/actor/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/run_config.json ADDED
@@ -0,0 +1,409 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "Qwen2.5-7B-Instruct",
3
+ "environment": "webshop",
4
+ "experiment_name": "qwen2_5_7_ffn_channel_sam_step_200_seed0",
5
+ "intervention": {
6
+ "actor_weights_perturbed": false,
7
+ "direction_refresh_scope": "ppo_mini_batch",
8
+ "family": "ffn_channel_sam",
9
+ "first_pass": "clean_ffn_channels_collect_dL_dgain",
10
+ "gain_arithmetic": "activation",
11
+ "gradient_source": "clipped_policy_objective_with_GiGPO_advantages_plus_configured_regularizers",
12
+ "inner_optimization_scope": "last_qwen2_ffn_intermediate_channel_gains",
13
+ "layer_scope": "last",
14
+ "max_abs_delta": 0.05,
15
+ "norm_constraint": "layerwise_rms_over_active_channels",
16
+ "normalization": "layerwise",
17
+ "normalization_eps": 1e-12,
18
+ "outer_update_scope": "all_trainable_actor_parameters",
19
+ "rho": 0.005,
20
+ "rollout_perturbation": false,
21
+ "sampling_mode": "token",
22
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only",
23
+ "second_pass": "same_mini_batch_with_multiplicative_adversarial_channel_gains",
24
+ "variant": "multiplicative_gain_rms_sam"
25
+ },
26
+ "launch_history": [
27
+ {
28
+ "dataloader_num_workers": 0,
29
+ "free_cache_engine": false,
30
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
31
+ "git_worktree_dirty_at_launch": false,
32
+ "host": "train8",
33
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
34
+ "launcher_pid": 1761715,
35
+ "optimizer_state_restored": false,
36
+ "plot_tmux_session": null,
37
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
38
+ "resolved_sampling_details": {
39
+ "direction_refresh_scope": "ppo_mini_batch",
40
+ "sampling_mode": "token",
41
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
42
+ },
43
+ "resolved_training_details": {
44
+ "learning_rate": 3e-06,
45
+ "max_prompt_length": 4096,
46
+ "max_response_length": 512,
47
+ "save_frequency_steps": 5
48
+ },
49
+ "resume_from_path": null,
50
+ "resume_mode": "disable",
51
+ "slurm_cpus_per_task": null,
52
+ "slurm_job_id": null,
53
+ "slurm_mem_per_node": null,
54
+ "slurm_restart_count": "0",
55
+ "started_at_utc": "2026-09-18T20:09:11.545721+00:00",
56
+ "tmux_session": "ws_sam7b_s200_seed0",
57
+ "torch": "2.8.0+cu128",
58
+ "vllm": "0.11.0",
59
+ "vllm_enforce_eager": false,
60
+ "vllm_load_format": "dummy_dtensor"
61
+ },
62
+ {
63
+ "dataloader_num_workers": 0,
64
+ "free_cache_engine": false,
65
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
66
+ "git_worktree_dirty_at_launch": false,
67
+ "host": "train8",
68
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
69
+ "launcher_pid": 1821460,
70
+ "optimizer_state_restored": false,
71
+ "plot_tmux_session": null,
72
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
73
+ "resolved_sampling_details": {
74
+ "direction_refresh_scope": "ppo_mini_batch",
75
+ "sampling_mode": "token",
76
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
77
+ },
78
+ "resolved_training_details": {
79
+ "learning_rate": 3e-06,
80
+ "max_prompt_length": 4096,
81
+ "max_response_length": 512,
82
+ "save_frequency_steps": 5
83
+ },
84
+ "resume_from_path": null,
85
+ "resume_mode": "disable",
86
+ "slurm_cpus_per_task": null,
87
+ "slurm_job_id": null,
88
+ "slurm_mem_per_node": null,
89
+ "slurm_restart_count": "0",
90
+ "started_at_utc": "2026-09-18T20:46:44.809576+00:00",
91
+ "tmux_session": "ws_sam7b_s200_seed0",
92
+ "torch": "2.8.0+cu128",
93
+ "vllm": "0.11.0",
94
+ "vllm_enforce_eager": false,
95
+ "vllm_load_format": "dummy_dtensor"
96
+ },
97
+ {
98
+ "dataloader_num_workers": 0,
99
+ "free_cache_engine": false,
100
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
101
+ "git_worktree_dirty_at_launch": false,
102
+ "host": "train8",
103
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
104
+ "launcher_pid": 1890759,
105
+ "optimizer_state_restored": false,
106
+ "plot_tmux_session": null,
107
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
108
+ "resolved_sampling_details": {
109
+ "direction_refresh_scope": "ppo_mini_batch",
110
+ "sampling_mode": "token",
111
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
112
+ },
113
+ "resolved_training_details": {
114
+ "learning_rate": 3e-06,
115
+ "max_prompt_length": 4096,
116
+ "max_response_length": 512,
117
+ "save_frequency_steps": 5
118
+ },
119
+ "resume_from_path": null,
120
+ "resume_mode": "disable",
121
+ "slurm_cpus_per_task": null,
122
+ "slurm_job_id": null,
123
+ "slurm_mem_per_node": null,
124
+ "slurm_restart_count": "0",
125
+ "started_at_utc": "2026-09-18T21:00:38.816916+00:00",
126
+ "tmux_session": "ws_sam7b_s200_seed0",
127
+ "torch": "2.8.0+cu128",
128
+ "vllm": "0.11.0",
129
+ "vllm_enforce_eager": false,
130
+ "vllm_load_format": "dummy_dtensor"
131
+ },
132
+ {
133
+ "dataloader_num_workers": 0,
134
+ "free_cache_engine": false,
135
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
136
+ "git_worktree_dirty_at_launch": true,
137
+ "host": "train8",
138
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
139
+ "launcher_pid": 1931914,
140
+ "optimizer_state_restored": false,
141
+ "plot_tmux_session": null,
142
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
143
+ "resolved_sampling_details": {
144
+ "direction_refresh_scope": "ppo_mini_batch",
145
+ "sampling_mode": "token",
146
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
147
+ },
148
+ "resolved_training_details": {
149
+ "learning_rate": 3e-06,
150
+ "max_prompt_length": 4096,
151
+ "max_response_length": 512,
152
+ "save_frequency_steps": 5
153
+ },
154
+ "resume_from_path": null,
155
+ "resume_mode": "disable",
156
+ "slurm_cpus_per_task": null,
157
+ "slurm_job_id": null,
158
+ "slurm_mem_per_node": null,
159
+ "slurm_restart_count": "0",
160
+ "started_at_utc": "2026-09-18T21:05:25.731836+00:00",
161
+ "tmux_session": "ws_sam7b_s200_seed0",
162
+ "torch": "2.8.0+cu128",
163
+ "vllm": "0.11.0",
164
+ "vllm_enforce_eager": false,
165
+ "vllm_load_format": "dummy_dtensor"
166
+ },
167
+ {
168
+ "dataloader_num_workers": 0,
169
+ "free_cache_engine": false,
170
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
171
+ "git_worktree_dirty_at_launch": true,
172
+ "host": "train8",
173
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
174
+ "launcher_pid": 1982759,
175
+ "optimizer_state_restored": false,
176
+ "plot_tmux_session": null,
177
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
178
+ "resolved_sampling_details": {
179
+ "direction_refresh_scope": "ppo_mini_batch",
180
+ "sampling_mode": "token",
181
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
182
+ },
183
+ "resolved_training_details": {
184
+ "learning_rate": 3e-06,
185
+ "max_prompt_length": 4096,
186
+ "max_response_length": 512,
187
+ "save_frequency_steps": 5
188
+ },
189
+ "resume_from_path": null,
190
+ "resume_mode": "disable",
191
+ "slurm_cpus_per_task": null,
192
+ "slurm_job_id": null,
193
+ "slurm_mem_per_node": null,
194
+ "slurm_restart_count": "0",
195
+ "started_at_utc": "2026-09-18T21:32:47.126802+00:00",
196
+ "tmux_session": "ws_sam7b_s200_seed0",
197
+ "torch": "2.8.0+cu128",
198
+ "vllm": "0.11.0",
199
+ "vllm_enforce_eager": false,
200
+ "vllm_load_format": "dummy_dtensor"
201
+ },
202
+ {
203
+ "dataloader_num_workers": 0,
204
+ "free_cache_engine": false,
205
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
206
+ "git_worktree_dirty_at_launch": true,
207
+ "host": "train8",
208
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
209
+ "launcher_pid": 2048871,
210
+ "optimizer_state_restored": false,
211
+ "plot_tmux_session": null,
212
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
213
+ "resolved_sampling_details": {
214
+ "direction_refresh_scope": "ppo_mini_batch",
215
+ "sampling_mode": "token",
216
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
217
+ },
218
+ "resolved_training_details": {
219
+ "learning_rate": 3e-06,
220
+ "max_prompt_length": 4096,
221
+ "max_response_length": 512,
222
+ "save_frequency_steps": 5
223
+ },
224
+ "resume_from_path": null,
225
+ "resume_mode": "disable",
226
+ "slurm_cpus_per_task": null,
227
+ "slurm_job_id": null,
228
+ "slurm_mem_per_node": null,
229
+ "slurm_restart_count": "0",
230
+ "started_at_utc": "2026-09-18T22:02:04.242502+00:00",
231
+ "tmux_session": "ws_sam7b_s200_seed0",
232
+ "torch": "2.8.0+cu128",
233
+ "vllm": "0.11.0",
234
+ "vllm_enforce_eager": false,
235
+ "vllm_load_format": "safetensors"
236
+ },
237
+ {
238
+ "dataloader_num_workers": 0,
239
+ "free_cache_engine": false,
240
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
241
+ "git_worktree_dirty_at_launch": true,
242
+ "host": "train8",
243
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
244
+ "launcher_pid": 2071411,
245
+ "optimizer_state_restored": false,
246
+ "plot_tmux_session": null,
247
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
248
+ "resolved_sampling_details": {
249
+ "direction_refresh_scope": "ppo_mini_batch",
250
+ "sampling_mode": "token",
251
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
252
+ },
253
+ "resolved_training_details": {
254
+ "learning_rate": 3e-06,
255
+ "max_prompt_length": 4096,
256
+ "max_response_length": 512,
257
+ "save_frequency_steps": 5
258
+ },
259
+ "resume_from_path": null,
260
+ "resume_mode": "disable",
261
+ "slurm_cpus_per_task": null,
262
+ "slurm_job_id": null,
263
+ "slurm_mem_per_node": null,
264
+ "slurm_restart_count": "0",
265
+ "started_at_utc": "2026-09-18T22:10:55.953502+00:00",
266
+ "tmux_session": "ws_sam7b_s200_seed0",
267
+ "torch": "2.8.0+cu128",
268
+ "vllm": "0.11.0",
269
+ "vllm_enforce_eager": false,
270
+ "vllm_load_format": "safetensors"
271
+ },
272
+ {
273
+ "dataloader_num_workers": 0,
274
+ "free_cache_engine": false,
275
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
276
+ "git_worktree_dirty_at_launch": true,
277
+ "host": "train8",
278
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
279
+ "launcher_pid": 2500749,
280
+ "optimizer_state_restored": true,
281
+ "plot_tmux_session": null,
282
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
283
+ "resolved_sampling_details": {
284
+ "direction_refresh_scope": "ppo_mini_batch",
285
+ "sampling_mode": "token",
286
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
287
+ },
288
+ "resolved_training_details": {
289
+ "learning_rate": 3e-06,
290
+ "max_prompt_length": 4096,
291
+ "max_response_length": 512,
292
+ "save_frequency_steps": 5
293
+ },
294
+ "resume_from_path": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_5",
295
+ "resume_mode": "resume_path",
296
+ "slurm_cpus_per_task": null,
297
+ "slurm_job_id": null,
298
+ "slurm_mem_per_node": null,
299
+ "slurm_restart_count": "0",
300
+ "started_at_utc": "2026-09-19T03:03:38.193483+00:00",
301
+ "tmux_session": "ws_sam7b_s200_seed0",
302
+ "torch": "2.8.0+cu128",
303
+ "vllm": "0.11.0",
304
+ "vllm_enforce_eager": false,
305
+ "vllm_load_format": "safetensors"
306
+ },
307
+ {
308
+ "dataloader_num_workers": 0,
309
+ "free_cache_engine": false,
310
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
311
+ "git_worktree_dirty_at_launch": true,
312
+ "host": "train8",
313
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
314
+ "launcher_pid": 3452924,
315
+ "optimizer_state_restored": true,
316
+ "plot_tmux_session": null,
317
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
318
+ "resolved_sampling_details": {
319
+ "direction_refresh_scope": "ppo_mini_batch",
320
+ "sampling_mode": "token",
321
+ "sampling_mode_applies_to": "disabled_stochastic_noise_only"
322
+ },
323
+ "resolved_training_details": {
324
+ "learning_rate": 3e-06,
325
+ "max_prompt_length": 4096,
326
+ "max_response_length": 512,
327
+ "save_frequency_steps": 5
328
+ },
329
+ "resume_from_path": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/checkpoints/global_step_15",
330
+ "resume_mode": "resume_path",
331
+ "slurm_cpus_per_task": null,
332
+ "slurm_job_id": null,
333
+ "slurm_mem_per_node": null,
334
+ "slurm_restart_count": "0",
335
+ "started_at_utc": "2026-09-19T22:12:52.713621+00:00",
336
+ "tmux_session": "ws_sam7b_s200_seed0",
337
+ "torch": "2.8.0+cu128",
338
+ "vllm": "0.11.0",
339
+ "vllm_enforce_eager": false,
340
+ "vllm_load_format": "safetensors"
341
+ }
342
+ ],
343
+ "model_path": "/home/yuxinr/.cache/huggingface/hub/models--Qwen--Qwen2.5-7B-Instruct/snapshots/a09a35458c702b33eeacc393d103063234e8bc28",
344
+ "provenance_amendments": [
345
+ {
346
+ "applies_from_global_step": 16,
347
+ "at_utc": "2026-09-19T17:06:07.685038+00:00",
348
+ "authorized_by": "experiment owner (chat instruction 2026-09-19)",
349
+ "field": "training.actor_micro_batch_size_per_gpu",
350
+ "from": 8,
351
+ "last_step_with_previous_value": 15,
352
+ "reason": "CUDA OOM at step 19 update_actor: fp32 (total_nnz, vocab) logits for an 8-sequence micro-batch (4.89 GiB) on 48 GB A6000; gradient accumulation 8->16, same 128-sequence optimizer step, token-mean per micro-batch weighting changes granularity only",
353
+ "to": 4
354
+ }
355
+ ],
356
+ "result_category": "robust_training",
357
+ "runtime": {
358
+ "dataloader_num_workers": 0,
359
+ "free_cache_engine": false,
360
+ "git_commit_at_launch": "a75d2523bd305897eb35f23137d88901f8adfe21",
361
+ "git_worktree_dirty_at_launch": false,
362
+ "host": "train8",
363
+ "launcher_log": "/home/yuxinr/yuxin/RobustLLMAgent/results/webshop/robust_training/qwen2_5_7_ffn_channel_sam_step_200_seed0/logs/qwen2_5_7_ffn_channel_sam_step_200_seed0.log",
364
+ "launcher_pid": 1761715,
365
+ "plot_tmux_session": null,
366
+ "project_python": "/home/yuxinr/miniforge3/envs/verl-agent/bin/python",
367
+ "slurm_cpus_per_task": null,
368
+ "slurm_job_id": null,
369
+ "slurm_mem_per_node": null,
370
+ "slurm_restart_count": "0",
371
+ "tmux_session": "ws_sam7b_s200_seed0",
372
+ "torch": "2.8.0+cu128",
373
+ "vllm": "0.11.0",
374
+ "vllm_enforce_eager": false,
375
+ "vllm_load_format": "dummy_dtensor"
376
+ },
377
+ "source_checkpoint": null,
378
+ "status": "active",
379
+ "training": {
380
+ "actor_micro_batch_size_per_gpu": 4,
381
+ "algorithm": "GiGPO",
382
+ "clean_warmup_steps": 0,
383
+ "cuda_visible_devices": "6,7",
384
+ "history_length": 2,
385
+ "learning_rate": 3e-06,
386
+ "max_environment_steps": 15,
387
+ "max_prompt_length": 4096,
388
+ "max_response_length": 512,
389
+ "n_gpus_per_node": 2,
390
+ "optimizer_state_restored": false,
391
+ "ppo_mini_batch_size": 128,
392
+ "robust_update_count": 200,
393
+ "rollout_n": 8,
394
+ "sampler_state_available": false,
395
+ "save_frequency_steps": 5,
396
+ "seed": 0,
397
+ "start_mode": "fresh",
398
+ "target_global_step": 200,
399
+ "thinking_mode": "nothinking",
400
+ "train_batch_size": 16
401
+ },
402
+ "validation": {
403
+ "frequency_steps": 20,
404
+ "official_evaluation_goals": "0..499 (separate post-training evaluation)",
405
+ "perturbation_enabled": false,
406
+ "sampled_goal_count": 128,
407
+ "step_0_enabled": true
408
+ }
409
+ }