unrulyabstractions commited on
Commit
e3e1c53
·
verified ·
1 Parent(s): 7f3992f

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. pairs/pair_0/att_patching/att_results.json +0 -0
  2. pairs/pair_0/diffmeans/diffmeans_results.json +947 -0
  3. pairs/pair_0/geo/geo_results.json +0 -0
  4. pairs/pair_0/sweep_attn_out/coarse_results.json +0 -0
  5. pairs/pair_0/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt +78 -0
  6. pairs/pair_0/sweep_component_comparison/README.md +104 -0
  7. pairs/pair_0/sweep_mlp_out/coarse_results.json +0 -0
  8. pairs/pair_0/sweep_resid_post/coarse_results.json +0 -0
  9. pairs/pair_0/sweep_resid_pre/coarse_results.json +0 -0
  10. pairs/pair_1/att_patching/att_results.json +0 -0
  11. pairs/pair_1/diffmeans/diffmeans_results.json +947 -0
  12. pairs/pair_1/geo/geo_results.json +0 -0
  13. pairs/pair_1/sweep_attn_out/coarse_results.json +0 -0
  14. pairs/pair_1/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt +78 -0
  15. pairs/pair_1/sweep_component_comparison/README.md +104 -0
  16. pairs/pair_1/sweep_mlp_out/coarse_results.json +0 -0
  17. pairs/pair_1/sweep_resid_post/coarse_results.json +0 -0
  18. pairs/pair_1/sweep_resid_pre/coarse_results.json +0 -0
  19. pairs/pair_12/diffmeans/diffmeans_results.json +947 -0
  20. pairs/pair_12/geo/geo_results.json +0 -0
  21. pairs/pair_12/sweep_attn_out/coarse_results.json +0 -0
  22. pairs/pair_12/sweep_component_comparison/.DS_Store +0 -0
  23. pairs/pair_12/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt +78 -0
  24. pairs/pair_12/sweep_component_comparison/README.md +104 -0
  25. pairs/pair_12/sweep_mlp_out/coarse_results.json +0 -0
  26. pairs/pair_12/sweep_resid_post/coarse_results.json +0 -0
  27. pairs/pair_12/sweep_resid_pre/coarse_results.json +0 -0
  28. pairs/pair_13/att_patching/att_results.json +0 -0
  29. pairs/pair_13/diffmeans/diffmeans_results.json +947 -0
  30. pairs/pair_13/geo/geo_results.json +0 -0
  31. pairs/pair_13/sweep_attn_out/coarse_results.json +0 -0
  32. pairs/pair_13/sweep_component_comparison/.DS_Store +0 -0
  33. pairs/pair_13/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt +78 -0
  34. pairs/pair_13/sweep_component_comparison/README.md +104 -0
  35. pairs/pair_13/sweep_mlp_out/coarse_results.json +0 -0
  36. pairs/pair_13/sweep_resid_post/coarse_results.json +0 -0
  37. pairs/pair_13/sweep_resid_pre/coarse_results.json +0 -0
  38. pairs/pair_14/diffmeans/diffmeans_results.json +947 -0
  39. pairs/pair_14/geo/geo_results.json +0 -0
  40. pairs/pair_14/sweep_attn_out/coarse_results.json +0 -0
  41. pairs/pair_14/sweep_component_comparison/.DS_Store +0 -0
  42. pairs/pair_14/sweep_mlp_out/coarse_results.json +0 -0
  43. pairs/pair_14/sweep_resid_post/coarse_results.json +0 -0
  44. pairs/pair_14/sweep_resid_pre/coarse_results.json +0 -0
  45. pairs/pair_15/att_patching/att_results.json +0 -0
  46. pairs/pair_15/diffmeans/diffmeans_results.json +947 -0
  47. pairs/pair_15/geo/geo_results.json +0 -0
  48. pairs/pair_15/sweep_attn_out/coarse_results.json +0 -0
  49. pairs/pair_15/sweep_component_comparison/.DS_Store +0 -0
  50. pairs/pair_15/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt +78 -0
pairs/pair_0/att_patching/att_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_0/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 0,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.90917969,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 7.8359375,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": -0.025177,
13
+ "cosine_to_initial": 0.99951172,
14
+ "attn_out_diff_norm": 2.984375,
15
+ "mlp_out_diff_norm": 6.25390625
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.88183594,
20
+ "cosine_to_prev": 0.90917969,
21
+ "diff_norm": 9.2265625,
22
+ "attn_rotation_angle": 17.33290803,
23
+ "mlp_rotation_angle": 17.97859869,
24
+ "total_rotation_angle": 24.60776456,
25
+ "cosine_to_logit": -0.02783203,
26
+ "cosine_to_initial": 0.90917969,
27
+ "attn_out_diff_norm": 2.4921875,
28
+ "mlp_out_diff_norm": 2.87304688
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.66699219,
33
+ "cosine_to_prev": 0.88183594,
34
+ "diff_norm": 11.109375,
35
+ "attn_rotation_angle": 19.46055184,
36
+ "mlp_rotation_angle": 21.15346717,
37
+ "total_rotation_angle": 28.13536927,
38
+ "cosine_to_logit": -0.01799011,
39
+ "cosine_to_initial": 0.81201172,
40
+ "attn_out_diff_norm": 3.31835938,
41
+ "mlp_out_diff_norm": 4.04296875
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.90087891,
46
+ "cosine_to_prev": 0.66699219,
47
+ "diff_norm": 23.765625,
48
+ "attn_rotation_angle": 20.04008221,
49
+ "mlp_rotation_angle": 47.67463814,
50
+ "total_rotation_angle": 48.16465731,
51
+ "cosine_to_logit": 0.00176907,
52
+ "cosine_to_initial": 0.59472656,
53
+ "attn_out_diff_norm": 4.2421875,
54
+ "mlp_out_diff_norm": 17.96875
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.87792969,
59
+ "cosine_to_prev": 0.90087891,
60
+ "diff_norm": 27.40625,
61
+ "attn_rotation_angle": 12.55857665,
62
+ "mlp_rotation_angle": 23.85798762,
63
+ "total_rotation_angle": 25.72616289,
64
+ "cosine_to_logit": -0.01393127,
65
+ "cosine_to_initial": 0.58056641,
66
+ "attn_out_diff_norm": 5.49609375,
67
+ "mlp_out_diff_norm": 11.0703125
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.83300781,
72
+ "cosine_to_prev": 0.87792969,
73
+ "diff_norm": 31.421875,
74
+ "attn_rotation_angle": 12.29859952,
75
+ "mlp_rotation_angle": 25.40200096,
76
+ "total_rotation_angle": 28.60637751,
77
+ "cosine_to_logit": -0.00933838,
78
+ "cosine_to_initial": 0.54248047,
79
+ "attn_out_diff_norm": 6.1640625,
80
+ "mlp_out_diff_norm": 13.4921875
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.84814453,
85
+ "cosine_to_prev": 0.83300781,
86
+ "diff_norm": 40.4375,
87
+ "attn_rotation_angle": 14.58538484,
88
+ "mlp_rotation_angle": 31.29632095,
89
+ "total_rotation_angle": 33.59103567,
90
+ "cosine_to_logit": -0.01498413,
91
+ "cosine_to_initial": 0.48901367,
92
+ "attn_out_diff_norm": 8.40625,
93
+ "mlp_out_diff_norm": 21.0625
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.85058594,
98
+ "cosine_to_prev": 0.84814453,
99
+ "diff_norm": 47.40625,
100
+ "attn_rotation_angle": 15.6578351,
101
+ "mlp_rotation_angle": 28.72302313,
102
+ "total_rotation_angle": 31.98957175,
103
+ "cosine_to_logit": -0.00661469,
104
+ "cosine_to_initial": 0.42236328,
105
+ "attn_out_diff_norm": 11.5,
106
+ "mlp_out_diff_norm": 22.828125
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.87695312,
111
+ "cosine_to_prev": 0.85058594,
112
+ "diff_norm": 50.09375,
113
+ "attn_rotation_angle": 15.02334026,
114
+ "mlp_rotation_angle": 28.72302313,
115
+ "total_rotation_angle": 31.72454353,
116
+ "cosine_to_logit": -0.01968384,
117
+ "cosine_to_initial": 0.39086914,
118
+ "attn_out_diff_norm": 12.671875,
119
+ "mlp_out_diff_norm": 24.4375
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.87060547,
124
+ "cosine_to_prev": 0.87695312,
125
+ "diff_norm": 49.96875,
126
+ "attn_rotation_angle": 12.16656068,
127
+ "mlp_rotation_angle": 26.61423446,
128
+ "total_rotation_angle": 28.72302313,
129
+ "cosine_to_logit": -0.02908325,
130
+ "cosine_to_initial": 0.38549805,
131
+ "attn_out_diff_norm": 10.6328125,
132
+ "mlp_out_diff_norm": 22.984375
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.87792969,
137
+ "cosine_to_prev": 0.87060547,
138
+ "diff_norm": 49.75,
139
+ "attn_rotation_angle": 15.34378896,
140
+ "mlp_rotation_angle": 27.35412186,
141
+ "total_rotation_angle": 29.47092473,
142
+ "cosine_to_logit": -0.02882385,
143
+ "cosine_to_initial": 0.37329102,
144
+ "attn_out_diff_norm": 13.2890625,
145
+ "mlp_out_diff_norm": 23.5
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.87792969,
150
+ "cosine_to_prev": 0.87792969,
151
+ "diff_norm": 54.0625,
152
+ "attn_rotation_angle": 13.78627155,
153
+ "mlp_rotation_angle": 26.86295809,
154
+ "total_rotation_angle": 28.60637751,
155
+ "cosine_to_logit": -0.03903198,
156
+ "cosine_to_initial": 0.33813477,
157
+ "attn_out_diff_norm": 12.28125,
158
+ "mlp_out_diff_norm": 24.609375
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.89404297,
163
+ "cosine_to_prev": 0.87792969,
164
+ "diff_norm": 58.40625,
165
+ "attn_rotation_angle": 15.34378896,
166
+ "mlp_rotation_angle": 26.17369979,
167
+ "total_rotation_angle": 28.60637751,
168
+ "cosine_to_logit": -0.03640747,
169
+ "cosine_to_initial": 0.31176758,
170
+ "attn_out_diff_norm": 14.5,
171
+ "mlp_out_diff_norm": 25.828125
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.90185547,
176
+ "cosine_to_prev": 0.89404297,
177
+ "diff_norm": 61.90625,
178
+ "attn_rotation_angle": 14.01914306,
179
+ "mlp_rotation_angle": 24.20150127,
180
+ "total_rotation_angle": 26.61423446,
181
+ "cosine_to_logit": -0.03994751,
182
+ "cosine_to_initial": 0.29785156,
183
+ "attn_out_diff_norm": 14.7109375,
184
+ "mlp_out_diff_norm": 25.875
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.90136719,
189
+ "cosine_to_prev": 0.90185547,
190
+ "diff_norm": 62.625,
191
+ "attn_rotation_angle": 15.55384034,
192
+ "mlp_rotation_angle": 23.43952061,
193
+ "total_rotation_angle": 25.59695761,
194
+ "cosine_to_logit": -0.05014038,
195
+ "cosine_to_initial": 0.27612305,
196
+ "attn_out_diff_norm": 16.859375,
197
+ "mlp_out_diff_norm": 25.46875
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.91992188,
202
+ "cosine_to_prev": 0.90136719,
203
+ "diff_norm": 66.75,
204
+ "attn_rotation_angle": 11.62364421,
205
+ "mlp_rotation_angle": 24.54049247,
206
+ "total_rotation_angle": 25.66163606,
207
+ "cosine_to_logit": -0.04492188,
208
+ "cosine_to_initial": 0.26049805,
209
+ "attn_out_diff_norm": 12.96875,
210
+ "mlp_out_diff_norm": 27.78125
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.92822266,
215
+ "cosine_to_prev": 0.91992188,
216
+ "diff_norm": 64.75,
217
+ "attn_rotation_angle": 12.42925713,
218
+ "mlp_rotation_angle": 20.91965678,
219
+ "total_rotation_angle": 23.08533673,
220
+ "cosine_to_logit": -0.03912354,
221
+ "cosine_to_initial": 0.25292969,
222
+ "attn_out_diff_norm": 14.3828125,
223
+ "mlp_out_diff_norm": 23.625
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.92431641,
228
+ "cosine_to_prev": 0.92822266,
229
+ "diff_norm": 67.1875,
230
+ "attn_rotation_angle": 13.30855034,
231
+ "mlp_rotation_angle": 20.36413481,
232
+ "total_rotation_angle": 21.84056688,
233
+ "cosine_to_logit": -0.02603149,
234
+ "cosine_to_initial": 0.2565918,
235
+ "attn_out_diff_norm": 15.421875,
236
+ "mlp_out_diff_norm": 23.796875
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.91357422,
241
+ "cosine_to_prev": 0.92431641,
242
+ "diff_norm": 69.375,
243
+ "attn_rotation_angle": 13.4295441,
244
+ "mlp_rotation_angle": 19.12182179,
245
+ "total_rotation_angle": 22.43450039,
246
+ "cosine_to_logit": -0.01278687,
247
+ "cosine_to_initial": 0.26000977,
248
+ "attn_out_diff_norm": 16.296875,
249
+ "mlp_out_diff_norm": 23.125
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.92138672,
254
+ "cosine_to_prev": 0.91357422,
255
+ "diff_norm": 76.5,
256
+ "attn_rotation_angle": 15.96585668,
257
+ "mlp_rotation_angle": 20.36413481,
258
+ "total_rotation_angle": 23.99594819,
259
+ "cosine_to_logit": -0.01597595,
260
+ "cosine_to_initial": 0.2331543,
261
+ "attn_out_diff_norm": 21.609375,
262
+ "mlp_out_diff_norm": 27.21875
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.9140625,
267
+ "cosine_to_prev": 0.92138672,
268
+ "diff_norm": 79.3125,
269
+ "attn_rotation_angle": 15.23770391,
270
+ "mlp_rotation_angle": 20.36413481,
271
+ "total_rotation_angle": 22.87033987,
272
+ "cosine_to_logit": -0.00584793,
273
+ "cosine_to_initial": 0.22045898,
274
+ "attn_out_diff_norm": 21.34375,
275
+ "mlp_out_diff_norm": 28.15625
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.88085938,
280
+ "cosine_to_prev": 0.9140625,
281
+ "diff_norm": 84.4375,
282
+ "attn_rotation_angle": 16.16802781,
283
+ "mlp_rotation_angle": 20.60396972,
284
+ "total_rotation_angle": 23.92706149,
285
+ "cosine_to_logit": -0.00999451,
286
+ "cosine_to_initial": 0.21582031,
287
+ "attn_out_diff_norm": 23.59375,
288
+ "mlp_out_diff_norm": 30.25
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.90527344,
293
+ "cosine_to_prev": 0.88085938,
294
+ "diff_norm": 92.5,
295
+ "attn_rotation_angle": 17.88773873,
296
+ "mlp_rotation_angle": 23.36908942,
297
+ "total_rotation_angle": 28.25379631,
298
+ "cosine_to_logit": -0.01209259,
299
+ "cosine_to_initial": 0.19812012,
300
+ "attn_out_diff_norm": 27.078125,
301
+ "mlp_out_diff_norm": 36.78125
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.91064453,
306
+ "cosine_to_prev": 0.90527344,
307
+ "diff_norm": 109.875,
308
+ "attn_rotation_angle": 16.95325531,
309
+ "mlp_rotation_angle": 23.08533673,
310
+ "total_rotation_angle": 25.13986429,
311
+ "cosine_to_logit": -0.01163483,
312
+ "cosine_to_initial": 0.17919922,
313
+ "attn_out_diff_norm": 30.09375,
314
+ "mlp_out_diff_norm": 43.03125
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.93505859,
319
+ "cosine_to_prev": 0.91064453,
320
+ "diff_norm": 127.4375,
321
+ "attn_rotation_angle": 18.24855365,
322
+ "mlp_rotation_angle": 18.33768516,
323
+ "total_rotation_angle": 24.40542653,
324
+ "cosine_to_logit": -0.01189423,
325
+ "cosine_to_initial": 0.18884277,
326
+ "attn_out_diff_norm": 37.15625,
327
+ "mlp_out_diff_norm": 40.09375
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.95263672,
332
+ "cosine_to_prev": 0.93505859,
333
+ "diff_norm": 138.75,
334
+ "attn_rotation_angle": 14.58538484,
335
+ "mlp_rotation_angle": 16.06725185,
336
+ "total_rotation_angle": 20.76238676,
337
+ "cosine_to_logit": -0.03250122,
338
+ "cosine_to_initial": 0.20324707,
339
+ "attn_out_diff_norm": 33.71875,
340
+ "mlp_out_diff_norm": 38.65625
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.94873047,
345
+ "cosine_to_prev": 0.95263672,
346
+ "diff_norm": 149.0,
347
+ "attn_rotation_angle": 8.01385935,
348
+ "mlp_rotation_angle": 15.96585668,
349
+ "total_rotation_angle": 17.70466596,
350
+ "cosine_to_logit": -0.03604126,
351
+ "cosine_to_initial": 0.20715332,
352
+ "attn_out_diff_norm": 20.28125,
353
+ "mlp_out_diff_norm": 40.78125
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.9296875,
358
+ "cosine_to_prev": 0.94873047,
359
+ "diff_norm": 161.25,
360
+ "attn_rotation_angle": 10.75875798,
361
+ "mlp_rotation_angle": 15.55384034,
362
+ "total_rotation_angle": 18.42640028,
363
+ "cosine_to_logit": -0.03259277,
364
+ "cosine_to_initial": 0.20507812,
365
+ "attn_out_diff_norm": 28.71875,
366
+ "mlp_out_diff_norm": 43.09375
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.95166016,
371
+ "cosine_to_prev": 0.9296875,
372
+ "diff_norm": 180.75,
373
+ "attn_rotation_angle": 13.30855034,
374
+ "mlp_rotation_angle": 16.95325531,
375
+ "total_rotation_angle": 21.61384575,
376
+ "cosine_to_logit": -0.04006958,
377
+ "cosine_to_initial": 0.20141602,
378
+ "attn_out_diff_norm": 39.5625,
379
+ "mlp_out_diff_norm": 53.34375
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.94482422,
384
+ "cosine_to_prev": 0.95166016,
385
+ "diff_norm": 194.625,
386
+ "attn_rotation_angle": 10.29946138,
387
+ "mlp_rotation_angle": 14.47387181,
388
+ "total_rotation_angle": 17.88773873,
389
+ "cosine_to_logit": -0.03381348,
390
+ "cosine_to_initial": 0.1920166,
391
+ "attn_out_diff_norm": 34.03125,
392
+ "mlp_out_diff_norm": 49.09375
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": 0.94921875,
397
+ "cosine_to_prev": 0.94482422,
398
+ "diff_norm": 223.125,
399
+ "attn_rotation_angle": 9.48522673,
400
+ "mlp_rotation_angle": 16.76030106,
401
+ "total_rotation_angle": 19.12182179,
402
+ "cosine_to_logit": -0.02767944,
403
+ "cosine_to_initial": 0.17797852,
404
+ "attn_out_diff_norm": 35.625,
405
+ "mlp_out_diff_norm": 65.3125
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": "NaN",
410
+ "cosine_to_prev": 0.94921875,
411
+ "diff_norm": 248.25,
412
+ "attn_rotation_angle": 10.29946138,
413
+ "mlp_rotation_angle": 15.23770391,
414
+ "total_rotation_angle": 18.33768516,
415
+ "cosine_to_logit": -0.02822876,
416
+ "cosine_to_initial": 0.16430664,
417
+ "attn_out_diff_norm": 41.40625,
418
+ "mlp_out_diff_norm": 65.8125
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": "NaN",
423
+ "cosine_to_prev": "NaN",
424
+ "diff_norm": "Inf",
425
+ "attn_rotation_angle": 90.0,
426
+ "mlp_rotation_angle": "NaN",
427
+ "total_rotation_angle": "NaN",
428
+ "cosine_to_logit": 0.0,
429
+ "cosine_to_initial": 0.0,
430
+ "attn_out_diff_norm": 80.0625,
431
+ "mlp_out_diff_norm": 127.6875
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": "NaN",
436
+ "cosine_to_prev": "NaN",
437
+ "diff_norm": "Inf",
438
+ "attn_rotation_angle": "NaN",
439
+ "mlp_rotation_angle": "NaN",
440
+ "total_rotation_angle": "NaN",
441
+ "cosine_to_logit": 0.0,
442
+ "cosine_to_initial": 0.0,
443
+ "attn_out_diff_norm": 43.53125,
444
+ "mlp_out_diff_norm": 142.25
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": "NaN",
449
+ "cosine_to_prev": "NaN",
450
+ "diff_norm": "Inf",
451
+ "attn_rotation_angle": "NaN",
452
+ "mlp_rotation_angle": "NaN",
453
+ "total_rotation_angle": "NaN",
454
+ "cosine_to_logit": 0.0,
455
+ "cosine_to_initial": 0.0,
456
+ "attn_out_diff_norm": 106.3125,
457
+ "mlp_out_diff_norm": 195.875
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": "NaN",
463
+ "diff_norm": "Inf",
464
+ "attn_rotation_angle": "NaN",
465
+ "mlp_rotation_angle": "NaN",
466
+ "total_rotation_angle": "NaN",
467
+ "cosine_to_logit": 0.0,
468
+ "cosine_to_initial": 0.0,
469
+ "attn_out_diff_norm": 155.5,
470
+ "mlp_out_diff_norm": "Inf"
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "133": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 7.8359375,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 9.2265625,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 11.109375,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 23.765625,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 27.40625,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 31.421875,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 40.4375,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 47.40625,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 50.09375,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 49.96875,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 49.75,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 54.0625,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 58.40625,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 61.90625,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 62.625,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 66.75,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 64.75,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 67.1875,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 69.375,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 76.5,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 79.3125,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 84.4375,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 92.5,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 109.875,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 127.4375,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 138.75,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 149.0,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 161.25,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 180.75,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 194.625,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": 223.125,
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": 248.25,
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": "Inf",
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": "Inf",
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": "Inf",
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": "Inf",
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 133
947
+ }
pairs/pair_0/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_0/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_0/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Circuit Summary
2
+
3
+ This document summarizes the inferred circuit from activation patching analysis.
4
+ Scores shown as: noising_disruption / denoising_recovery
5
+
6
+ ## Key Finding: Two-Phase Architecture
7
+
8
+ The circuit operates in two phases:
9
+ 1. **Attention phase**: Attention heads read from source positions and route information
10
+ 2. **MLP phase**: MLP layers transform and write to destination positions
11
+
12
+ ## Source Positions (Early)
13
+
14
+ Found 4 key source positions (1 have backup pathways):
15
+ - P83: 0.963/0.016 (important)
16
+ - P78: 0.787/-0.049 (important)
17
+ - P73: 0.752/0.931 (REDUNDANT - has backups)
18
+ - P98: 0.053/-0.001 (important)
19
+
20
+ Interpretation: Redundant positions have denoising > noising, meaning
21
+ the model can recover even when these positions are corrupted (backup pathways exist).
22
+
23
+ ## Attention Layers
24
+
25
+ Top attention layers (ranked by noising disruption):
26
+ - L24: 0.414/0.364 ★ MULTI-FUNCTION
27
+ - L30: 0.165/0.152
28
+ - L29: 0.162/0.137
29
+ - L23: 0.157/0.198
30
+ - L21: 0.153/0.209
31
+
32
+ These layers read from source positions and route information.
33
+ Multi-function layers (L24) appear in both attention AND MLP top lists,
34
+ suggesting they do double-duty processing.
35
+
36
+ ## MLP Layers
37
+
38
+ Top MLP layers (ranked by noising disruption):
39
+ - L35: 0.262/0.266
40
+ - L31: 0.208/0.174
41
+ - L24: 0.151/0.208 ★ MULTI-FUNCTION
42
+ - L34: 0.148/0.095
43
+ - L27: 0.088/0.064
44
+
45
+ These layers transform information and write to destination positions.
46
+
47
+ ## Destination Positions (Late) - THE BOTTLENECK
48
+
49
+ Found 4 key destination positions:
50
+ - P138: 1.000/0.000 (★ BOTTLENECK)
51
+ - P118: 0.186/0.000 (secondary)
52
+ - P133: 0.171/0.000 (secondary)
53
+ - P103: 0.024/-0.001 (secondary)
54
+
55
+ CRITICAL: 1 position(s) are true bottlenecks (noising > 0.5).
56
+ Corrupting these positions severely disrupts the model's output.
57
+ This is where the final answer is computed.
58
+
59
+ ## Layer-Position Bindings
60
+
61
+ These show which layers act at which positions (the actual circuit edges):
62
+
63
+ - L21-L30 attention reads from P73-P98
64
+ - L24-L35 MLP writes to P103-P138
65
+
66
+ ## Methodology Notes
67
+
68
+ - **Noising** (disruption): Replace clean activation with corrupted → measures necessity
69
+ - **Denoising** (recovery): Replace corrupted activation with clean → measures sufficiency
70
+ - High noising + low denoising = necessary but has backups (OR relationship)
71
+ - High noising + high denoising = necessary AND sufficient (AND relationship)
72
+ - The redundancy gap (noising - denoising) indicates how replaceable a component is
73
+ - **Denoising-only positions filtered**: Positions where denoising >> noising are excluded
74
+ as they indicate artifacts rather than true circuit components
75
+
76
+ ## Circuit Diagram
77
+
78
+ See information_flow_diagram.png for a visual representation.
pairs/pair_0/sweep_component_comparison/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Component Comparison Plots
2
+
3
+ This directory contains activation patching analysis visualizations organized
4
+ into five categories. Each plot has a figure number for easy reference.
5
+
6
+ ## Quick Start
7
+
8
+ 1. **Check 01_sanity_checks/** first - if these fail, results are unreliable
9
+ 2. **Read 05_circuit_synthesis/circuit_summary.txt** for the plain-text explanation
10
+ 3. **View 05_circuit_synthesis/information_flow_diagram.png** for the visual summary
11
+ 4. Drill into other folders for detailed analysis
12
+
13
+ ---
14
+
15
+ ## Directory Structure
16
+
17
+ ### 01_sanity_checks/
18
+ *Validation plots - check these first. If they fail, everything else is suspect.*
19
+
20
+ | Fig | File | Description |
21
+ |-----|------|-------------|
22
+ | 1.1 | resid_delta_sanity.png | Compares resid_pre[L+1] vs resid_post[L] (should match) |
23
+ | 1.2 | resid_delta_difference.png | Difference plot with +/-0.02 tolerance band |
24
+
25
+ ### 02_overview/
26
+ *The big picture: "Where does the computation happen?"*
27
+
28
+ | Fig | File | Description |
29
+ |-----|------|-------------|
30
+ | 2.1 | heatmap_layers_denoising.png | Layer × Component attribution (denoising recovery) |
31
+ | 2.2 | heatmap_layers_noising.png | Layer × Component attribution (noising disruption) |
32
+ | 2.3 | heatmap_layers_colnorm_denoising.png | Column-normalized heatmap (reveals fine structure) |
33
+ | 2.4 | heatmap_layers_colnorm_noising.png | Column-normalized heatmap (noising) |
34
+ | 2.5 | heatmap_positions_denoising.png | Position × Component attribution (denoising) |
35
+ | 2.6 | heatmap_positions_noising.png | Position × Component attribution (noising) |
36
+ | 2.7 | layer_position_heatmap.png | Layer × Position importance map (2D localization) |
37
+
38
+ ### 03_component_decomp/
39
+ *Drilling in: "Is it attention or MLP? Which specific components?"*
40
+
41
+ | Fig | File | Description |
42
+ |-----|------|-------------|
43
+ | 3.1 | attn_vs_mlp_layer.png | Attention vs MLP scatter by layer |
44
+ | 3.2 | attn_vs_mlp_position.png | Attention vs MLP scatter by position |
45
+ | 3.3 | attn_vs_mlp_paired.png | Paired scatter with arrows (denoising→noising movement) |
46
+ | 3.4 | component_importance_ranked.png | Top components ranked with same-layer linking |
47
+ | 3.5 | cumulative_recovery.png | Cumulative recovery with dip annotations |
48
+ | 3.6 | marginal_contribution.png | Per-layer marginal contribution |
49
+ | 3.7 | position_component_interaction.png | Effect vs position for each component |
50
+ | 3.8 | position_interaction_zoomed.png | Zoomed panels for hub regions |
51
+
52
+ ### 04_redundancy/
53
+ *Methodology comparison: "Can I trust the scores? What has backup pathways?"*
54
+
55
+ | Fig | File | Description |
56
+ |-----|------|-------------|
57
+ | 4.1 | noise_vs_denoise_per_component_layer.png | Noising vs denoising scatter (layers) |
58
+ | 4.2 | noise_vs_denoise_per_component_position.png | Noising vs denoising scatter (positions) |
59
+ | 4.3 | redundancy_gap.png | Redundancy gap (disruption - recovery) per layer |
60
+ | 4.4 | redundancy_gap_sorted.png | Redundancy gap sorted by magnitude |
61
+ | 4.5 | difference_heatmap_layer.png | Redundancy gap heatmap (layers) |
62
+ | 4.6 | difference_heatmap_position.png | Redundancy gap heatmap (positions) |
63
+
64
+ ### 05_circuit_synthesis/
65
+ *The punchline: synthesized information flow.*
66
+
67
+ | Fig | File | Description |
68
+ |-----|------|-------------|
69
+ | 5.1 | information_flow_diagram.png | Circuit summary with redundancy and bottleneck annotations |
70
+ | — | circuit_summary.txt | Plain-text explanation of the circuit hypothesis |
71
+
72
+ ---
73
+
74
+ ## Interpretation Guide
75
+
76
+ ### Scatter Plot Regions
77
+ - **AND region** (upper-right): High in both → necessary AND sufficient
78
+ - **OR region** (lower-right): High denoising, low noising → has backup pathways
79
+
80
+ ### Redundancy Gap
81
+ - **Positive gap** (disruption > recovery): Component is necessary
82
+ - **Negative gap** (recovery > disruption): Component is sufficient but replaceable
83
+
84
+ ### Scores in Circuit Diagram
85
+ - Format: noising_disruption / denoising_recovery
86
+ - Higher noising = more necessary (corrupting it breaks the model)
87
+ - Higher denoising = more sufficient (restoring it fixes the model)
88
+
89
+ ### Visual Conventions
90
+ - ★ = Multi-function layer (appears in both attention and MLP top lists)
91
+ - Colored brackets = Same-layer components (e.g., L24_attn and L24_mlp)
92
+ - Red thick arrow = Critical bottleneck path
93
+ - Dashed arrow = Backup/bypass pathway
94
+
95
+ ---
96
+
97
+ ## Colormap Reference
98
+
99
+ | Plot Type | Colormap | Interpretation |
100
+ |-----------|----------|----------------|
101
+ | Recovery/Disruption heatmaps | RdYlGn | Green=high, Red=low |
102
+ | 2D localization map | Hot | White=high, Black=low |
103
+ | Redundancy gap heatmaps | RdBu_r | Red=necessity, Blue=sufficiency |
104
+ | Layer/position scatter | Viridis | Yellow=late, Purple=early |
pairs/pair_0/sweep_mlp_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_0/sweep_resid_post/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_0/sweep_resid_pre/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/att_patching/att_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 1,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.74658203,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 1.69042969,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": -0.02372742,
13
+ "cosine_to_initial": 1.0,
14
+ "attn_out_diff_norm": 0.83300781,
15
+ "mlp_out_diff_norm": 1.4296875
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.87060547,
20
+ "cosine_to_prev": 0.74658203,
21
+ "diff_norm": 2.74414062,
22
+ "attn_rotation_angle": 33.33735707,
23
+ "mlp_rotation_angle": 31.83079175,
24
+ "total_rotation_angle": 41.70483602,
25
+ "cosine_to_logit": -0.0246582,
26
+ "cosine_to_initial": 0.74658203,
27
+ "attn_out_diff_norm": 1.18554688,
28
+ "mlp_out_diff_norm": 1.45605469
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.84716797,
33
+ "cosine_to_prev": 0.87060547,
34
+ "diff_norm": 3.13671875,
35
+ "attn_rotation_angle": 21.15346717,
36
+ "mlp_rotation_angle": 21.76524288,
37
+ "total_rotation_angle": 29.47092473,
38
+ "cosine_to_logit": -0.01164246,
39
+ "cosine_to_initial": 0.65039062,
40
+ "attn_out_diff_norm": 1.05664062,
41
+ "mlp_out_diff_norm": 1.16601562
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.77685547,
46
+ "cosine_to_prev": 0.84716797,
47
+ "diff_norm": 3.78320312,
48
+ "attn_rotation_angle": 24.33762977,
49
+ "mlp_rotation_angle": 21.07580551,
50
+ "total_rotation_angle": 32.0950348,
51
+ "cosine_to_logit": -0.01832581,
52
+ "cosine_to_initial": 0.55957031,
53
+ "attn_out_diff_norm": 1.51074219,
54
+ "mlp_out_diff_norm": 1.36523438
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.74853516,
59
+ "cosine_to_prev": 0.77685547,
60
+ "diff_norm": 5.46484375,
61
+ "attn_rotation_angle": 24.54049247,
62
+ "mlp_rotation_angle": 32.30503808,
63
+ "total_rotation_angle": 39.02644005,
64
+ "cosine_to_logit": -0.00966644,
65
+ "cosine_to_initial": 0.46533203,
66
+ "attn_out_diff_norm": 1.86425781,
67
+ "mlp_out_diff_norm": 2.9296875
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.77539062,
72
+ "cosine_to_prev": 0.74853516,
73
+ "diff_norm": 6.703125,
74
+ "attn_rotation_angle": 17.97859869,
75
+ "mlp_rotation_angle": 39.55657835,
76
+ "total_rotation_angle": 41.53635256,
77
+ "cosine_to_logit": -0.01071167,
78
+ "cosine_to_initial": 0.37890625,
79
+ "attn_out_diff_norm": 1.75292969,
80
+ "mlp_out_diff_norm": 4.296875
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.79980469,
85
+ "cosine_to_prev": 0.77539062,
86
+ "diff_norm": 8.609375,
87
+ "attn_rotation_angle": 26.61423446,
88
+ "mlp_rotation_angle": 29.86656434,
89
+ "total_rotation_angle": 39.15953858,
90
+ "cosine_to_logit": -0.00691605,
91
+ "cosine_to_initial": 0.32983398,
92
+ "attn_out_diff_norm": 3.7109375,
93
+ "mlp_out_diff_norm": 4.34765625
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.82519531,
98
+ "cosine_to_prev": 0.79980469,
99
+ "diff_norm": 10.65625,
100
+ "attn_rotation_angle": 16.76030106,
101
+ "mlp_rotation_angle": 34.24283162,
102
+ "total_rotation_angle": 36.88854457,
103
+ "cosine_to_logit": 0.01908875,
104
+ "cosine_to_initial": 0.30297852,
105
+ "attn_out_diff_norm": 2.68359375,
106
+ "mlp_out_diff_norm": 6.01953125
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.77783203,
111
+ "cosine_to_prev": 0.82519531,
112
+ "diff_norm": 11.484375,
113
+ "attn_rotation_angle": 10.60784403,
114
+ "mlp_rotation_angle": 33.23540653,
115
+ "total_rotation_angle": 34.39170198,
116
+ "cosine_to_logit": -0.0089035,
117
+ "cosine_to_initial": 0.28100586,
118
+ "attn_out_diff_norm": 2.00585938,
119
+ "mlp_out_diff_norm": 6.3671875
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.79345703,
124
+ "cosine_to_prev": 0.77783203,
125
+ "diff_norm": 12.078125,
126
+ "attn_rotation_angle": 16.46675379,
127
+ "mlp_rotation_angle": 36.84191208,
128
+ "total_rotation_angle": 38.93749542,
129
+ "cosine_to_logit": -0.01882935,
130
+ "cosine_to_initial": 0.22131348,
131
+ "attn_out_diff_norm": 3.2578125,
132
+ "mlp_out_diff_norm": 7.46484375
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.83544922,
137
+ "cosine_to_prev": 0.79345703,
138
+ "diff_norm": 11.234375,
139
+ "attn_rotation_angle": 19.87615755,
140
+ "mlp_rotation_angle": 34.24283162,
141
+ "total_rotation_angle": 37.49023967,
142
+ "cosine_to_logit": -0.00341034,
143
+ "cosine_to_initial": 0.19921875,
144
+ "attn_out_diff_norm": 4.15234375,
145
+ "mlp_out_diff_norm": 6.86328125
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.82666016,
150
+ "cosine_to_prev": 0.83544922,
151
+ "diff_norm": 10.8046875,
152
+ "attn_rotation_angle": 19.71092522,
153
+ "mlp_rotation_angle": 28.31283932,
154
+ "total_rotation_angle": 33.33735707,
155
+ "cosine_to_logit": -0.0034008,
156
+ "cosine_to_initial": 0.16870117,
157
+ "attn_out_diff_norm": 3.875,
158
+ "mlp_out_diff_norm": 5.47265625
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.77441406,
163
+ "cosine_to_prev": 0.82666016,
164
+ "diff_norm": 10.7265625,
165
+ "attn_rotation_angle": 22.13942528,
166
+ "mlp_rotation_angle": 26.73886417,
167
+ "total_rotation_angle": 34.24283162,
168
+ "cosine_to_logit": -0.02830505,
169
+ "cosine_to_initial": 0.17211914,
170
+ "attn_out_diff_norm": 4.23046875,
171
+ "mlp_out_diff_norm": 5.0859375
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.80615234,
176
+ "cosine_to_prev": 0.77441406,
177
+ "diff_norm": 10.7421875,
178
+ "attn_rotation_angle": 18.77721464,
179
+ "mlp_rotation_angle": 34.24283162,
180
+ "total_rotation_angle": 39.24806038,
181
+ "cosine_to_logit": -0.00964355,
182
+ "cosine_to_initial": 0.17541504,
183
+ "attn_out_diff_norm": 3.6640625,
184
+ "mlp_out_diff_norm": 6.53515625
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.81542969,
189
+ "cosine_to_prev": 0.80615234,
190
+ "diff_norm": 11.578125,
191
+ "attn_rotation_angle": 23.22762238,
192
+ "mlp_rotation_angle": 31.5645708,
193
+ "total_rotation_angle": 36.27830946,
194
+ "cosine_to_logit": -0.02130127,
195
+ "cosine_to_initial": 0.14990234,
196
+ "attn_out_diff_norm": 4.4921875,
197
+ "mlp_out_diff_norm": 6.2578125
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.80126953,
202
+ "cosine_to_prev": 0.81542969,
203
+ "diff_norm": 12.0234375,
204
+ "attn_rotation_angle": 19.03623337,
205
+ "mlp_rotation_angle": 32.56584291,
206
+ "total_rotation_angle": 35.37012941,
207
+ "cosine_to_logit": -0.01068115,
208
+ "cosine_to_initial": 0.13024902,
209
+ "attn_out_diff_norm": 3.88867188,
210
+ "mlp_out_diff_norm": 6.69140625
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.83349609,
215
+ "cosine_to_prev": 0.80126953,
216
+ "diff_norm": 12.2890625,
217
+ "attn_rotation_angle": 27.89713068,
218
+ "mlp_rotation_angle": 29.69759117,
219
+ "total_rotation_angle": 36.74849476,
220
+ "cosine_to_logit": -0.00969696,
221
+ "cosine_to_initial": 0.12768555,
222
+ "attn_out_diff_norm": 6.2109375,
223
+ "mlp_out_diff_norm": 6.6015625
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.84472656,
228
+ "cosine_to_prev": 0.83349609,
229
+ "diff_norm": 12.1875,
230
+ "attn_rotation_angle": 21.91564461,
231
+ "mlp_rotation_angle": 30.58898833,
232
+ "total_rotation_angle": 33.54043558,
233
+ "cosine_to_logit": -0.00017214,
234
+ "cosine_to_initial": 0.10461426,
235
+ "attn_out_diff_norm": 4.79296875,
236
+ "mlp_out_diff_norm": 6.6328125
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.82519531,
241
+ "cosine_to_prev": 0.84472656,
242
+ "diff_norm": 12.234375,
243
+ "attn_rotation_angle": 20.12156419,
244
+ "mlp_rotation_angle": 28.19463987,
245
+ "total_rotation_angle": 32.35734886,
246
+ "cosine_to_logit": 0.01391602,
247
+ "cosine_to_initial": 0.09997559,
248
+ "attn_out_diff_norm": 4.3671875,
249
+ "mlp_out_diff_norm": 6.11328125
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.81787109,
254
+ "cosine_to_prev": 0.82519531,
255
+ "diff_norm": 13.4609375,
256
+ "attn_rotation_angle": 23.08533673,
257
+ "mlp_rotation_angle": 27.83727824,
258
+ "total_rotation_angle": 34.39170198,
259
+ "cosine_to_logit": 0.0173645,
260
+ "cosine_to_initial": 0.08312988,
261
+ "attn_out_diff_norm": 5.35546875,
262
+ "mlp_out_diff_norm": 6.52734375
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.65966797,
267
+ "cosine_to_prev": 0.81787109,
268
+ "diff_norm": 15.28125,
269
+ "attn_rotation_angle": 25.98277673,
270
+ "mlp_rotation_angle": 26.86295809,
271
+ "total_rotation_angle": 35.12775359,
272
+ "cosine_to_logit": 0.01786804,
273
+ "cosine_to_initial": 0.06811523,
274
+ "attn_out_diff_norm": 6.86328125,
275
+ "mlp_out_diff_norm": 7.1953125
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.81396484,
280
+ "cosine_to_prev": 0.65966797,
281
+ "diff_norm": 23.359375,
282
+ "attn_rotation_angle": 41.4941443,
283
+ "mlp_rotation_angle": 27.59667439,
284
+ "total_rotation_angle": 48.72544488,
285
+ "cosine_to_logit": 0.03109741,
286
+ "cosine_to_initial": 0.04733276,
287
+ "attn_out_diff_norm": 14.9765625,
288
+ "mlp_out_diff_norm": 10.96875
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.78466797,
293
+ "cosine_to_prev": 0.81396484,
294
+ "diff_norm": 24.46875,
295
+ "attn_rotation_angle": 24.94157255,
296
+ "mlp_rotation_angle": 28.60637751,
297
+ "total_rotation_angle": 35.51486379,
298
+ "cosine_to_logit": 0.0385437,
299
+ "cosine_to_initial": 0.04208374,
300
+ "attn_out_diff_norm": 10.1484375,
301
+ "mlp_out_diff_norm": 11.921875
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.74755859,
306
+ "cosine_to_prev": 0.78466797,
307
+ "diff_norm": 29.890625,
308
+ "attn_rotation_angle": 31.4038677,
309
+ "mlp_rotation_angle": 26.67661676,
310
+ "total_rotation_angle": 38.31002015,
311
+ "cosine_to_logit": 0.01992798,
312
+ "cosine_to_initial": 0.05072021,
313
+ "attn_out_diff_norm": 16.109375,
314
+ "mlp_out_diff_norm": 14.0
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.93603516,
319
+ "cosine_to_prev": 0.74755859,
320
+ "diff_norm": 48.0,
321
+ "attn_rotation_angle": 36.93512655,
322
+ "mlp_rotation_angle": 17.33290803,
323
+ "total_rotation_angle": 41.62066399,
324
+ "cosine_to_logit": 0.01519775,
325
+ "cosine_to_initial": 0.01753235,
326
+ "attn_out_diff_norm": 28.5,
327
+ "mlp_out_diff_norm": 14.296875
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.94970703,
332
+ "cosine_to_prev": 0.93603516,
333
+ "diff_norm": 43.96875,
334
+ "attn_rotation_angle": 15.02334026,
335
+ "mlp_rotation_angle": 16.66301038,
336
+ "total_rotation_angle": 20.60396972,
337
+ "cosine_to_logit": 0.00892639,
338
+ "cosine_to_initial": 0.00511932,
339
+ "attn_out_diff_norm": 13.1328125,
340
+ "mlp_out_diff_norm": 12.640625
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.953125,
345
+ "cosine_to_prev": 0.94970703,
346
+ "diff_norm": 48.15625,
347
+ "attn_rotation_angle": 12.29859952,
348
+ "mlp_rotation_angle": 14.80594576,
349
+ "total_rotation_angle": 18.24855365,
350
+ "cosine_to_logit": 0.01661682,
351
+ "cosine_to_initial": 0.01187897,
352
+ "attn_out_diff_norm": 10.4453125,
353
+ "mlp_out_diff_norm": 12.234375
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.85400391,
358
+ "cosine_to_prev": 0.953125,
359
+ "diff_norm": 52.125,
360
+ "attn_rotation_angle": 7.1666434,
361
+ "mlp_rotation_angle": 16.66301038,
362
+ "total_rotation_angle": 17.61243907,
363
+ "cosine_to_logit": 0.00521088,
364
+ "cosine_to_initial": 0.02050781,
365
+ "attn_out_diff_norm": 6.18359375,
366
+ "mlp_out_diff_norm": 15.2109375
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.89941406,
371
+ "cosine_to_prev": 0.85400391,
372
+ "diff_norm": 65.9375,
373
+ "attn_rotation_angle": 23.99594819,
374
+ "mlp_rotation_angle": 20.52432277,
375
+ "total_rotation_angle": 31.35013575,
376
+ "cosine_to_logit": 0.01411438,
377
+ "cosine_to_initial": 0.00914764,
378
+ "attn_out_diff_norm": 23.96875,
379
+ "mlp_out_diff_norm": 23.34375
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.95556641,
384
+ "cosine_to_prev": 0.89941406,
385
+ "diff_norm": 80.3125,
386
+ "attn_rotation_angle": 22.87033987,
387
+ "mlp_rotation_angle": 12.55857665,
388
+ "total_rotation_angle": 25.91884507,
389
+ "cosine_to_logit": 0.01795959,
390
+ "cosine_to_initial": 0.01287079,
391
+ "attn_out_diff_norm": 30.765625,
392
+ "mlp_out_diff_norm": 17.53125
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": 0.94921875,
397
+ "cosine_to_prev": 0.95556641,
398
+ "diff_norm": 95.125,
399
+ "attn_rotation_angle": 12.9389058,
400
+ "mlp_rotation_angle": 11.48396308,
401
+ "total_rotation_angle": 17.14410107,
402
+ "cosine_to_logit": 0.01555634,
403
+ "cosine_to_initial": 0.00791931,
404
+ "attn_out_diff_norm": 23.015625,
405
+ "mlp_out_diff_norm": 18.8125
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": 0.8515625,
410
+ "cosine_to_prev": 0.94921875,
411
+ "diff_norm": 101.375,
412
+ "attn_rotation_angle": 12.55857665,
413
+ "mlp_rotation_angle": 12.81336304,
414
+ "total_rotation_angle": 18.33768516,
415
+ "cosine_to_logit": 0.00185871,
416
+ "cosine_to_initial": 0.00891876,
417
+ "attn_out_diff_norm": 20.96875,
418
+ "mlp_out_diff_norm": 22.609375
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": 0.91162109,
423
+ "cosine_to_prev": 0.8515625,
424
+ "diff_norm": 131.75,
425
+ "attn_rotation_angle": 12.81336304,
426
+ "mlp_rotation_angle": 27.2320985,
427
+ "total_rotation_angle": 31.61797564,
428
+ "cosine_to_logit": -0.0199585,
429
+ "cosine_to_initial": 0.01398468,
430
+ "attn_out_diff_norm": 24.21875,
431
+ "mlp_out_diff_norm": 60.96875
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": 0.90771484,
436
+ "cosine_to_prev": 0.91162109,
437
+ "diff_norm": 149.875,
438
+ "attn_rotation_angle": 5.94105502,
439
+ "mlp_rotation_angle": 23.43952061,
440
+ "total_rotation_angle": 24.26965519,
441
+ "cosine_to_logit": -0.01377106,
442
+ "cosine_to_initial": 0.01786804,
443
+ "attn_out_diff_norm": 14.3046875,
444
+ "mlp_out_diff_norm": 59.5
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": 0.89550781,
449
+ "cosine_to_prev": 0.90771484,
450
+ "diff_norm": 183.0,
451
+ "attn_rotation_angle": 12.81336304,
452
+ "mlp_rotation_angle": 23.71927181,
453
+ "total_rotation_angle": 24.80855432,
454
+ "cosine_to_logit": -0.00896454,
455
+ "cosine_to_initial": 0.02127075,
456
+ "attn_out_diff_norm": 32.59375,
457
+ "mlp_out_diff_norm": 76.625
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": 0.89550781,
463
+ "diff_norm": 174.5,
464
+ "attn_rotation_angle": 17.79643014,
465
+ "mlp_rotation_angle": 25.20563725,
466
+ "total_rotation_angle": 26.42626862,
467
+ "cosine_to_logit": 0.0009017,
468
+ "cosine_to_initial": 0.00624847,
469
+ "attn_out_diff_norm": 60.53125,
470
+ "mlp_out_diff_norm": 74.25
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "144": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 1.69042969,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 2.74414062,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 3.13671875,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 3.78320312,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 5.46484375,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 6.703125,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 8.609375,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 10.65625,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 11.484375,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 12.078125,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 11.234375,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 10.8046875,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 10.7265625,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 10.7421875,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 11.578125,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 12.0234375,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 12.2890625,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 12.1875,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 12.234375,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 13.4609375,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 15.28125,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 23.359375,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 24.46875,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 29.890625,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 48.0,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 43.96875,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 48.15625,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 52.125,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 65.9375,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 80.3125,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": 95.125,
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": 101.375,
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": 131.75,
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": 149.875,
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": 183.0,
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": 174.5,
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 144
947
+ }
pairs/pair_1/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Circuit Summary
2
+
3
+ This document summarizes the inferred circuit from activation patching analysis.
4
+ Scores shown as: noising_disruption / denoising_recovery
5
+
6
+ ## Key Finding: Two-Phase Architecture
7
+
8
+ The circuit operates in two phases:
9
+ 1. **Attention phase**: Attention heads read from source positions and route information
10
+ 2. **MLP phase**: MLP layers transform and write to destination positions
11
+
12
+ ## Source Positions (Early)
13
+
14
+ Found 4 key source positions (0 have backup pathways):
15
+ - P83: 0.906/1.004 (important)
16
+ - P98: 0.062/0.115 (important)
17
+ - P88: 0.015/0.027 (important)
18
+ - P93: 0.006/0.014 (important)
19
+
20
+ Interpretation: Redundant positions have denoising > noising, meaning
21
+ the model can recover even when these positions are corrupted (backup pathways exist).
22
+
23
+ ## Attention Layers
24
+
25
+ Top attention layers (ranked by noising disruption):
26
+ - L24: 0.418/0.370 ★ MULTI-FUNCTION
27
+ - L29: 0.181/0.149
28
+ - L30: 0.169/0.174
29
+ - L21: 0.159/0.210
30
+ - L19: 0.108/0.152
31
+
32
+ These layers read from source positions and route information.
33
+ Multi-function layers (L24) appear in both attention AND MLP top lists,
34
+ suggesting they do double-duty processing.
35
+
36
+ ## MLP Layers
37
+
38
+ Top MLP layers (ranked by noising disruption):
39
+ - L35: 0.267/0.278
40
+ - L31: 0.196/0.195
41
+ - L34: 0.140/0.103
42
+ - L28: 0.119/0.150
43
+ - L24: 0.108/0.148 ★ MULTI-FUNCTION
44
+
45
+ These layers transform information and write to destination positions.
46
+
47
+ ## Destination Positions (Late) - THE BOTTLENECK
48
+
49
+ Found 4 key destination positions:
50
+ - P138: 1.000/1.000 (★ BOTTLENECK)
51
+ - P133: 0.133/0.310 (secondary)
52
+ - P118: 0.132/0.151 (secondary)
53
+ - P103: 0.023/0.033 (secondary)
54
+
55
+ CRITICAL: 1 position(s) are true bottlenecks (noising > 0.5).
56
+ Corrupting these positions severely disrupts the model's output.
57
+ This is where the final answer is computed.
58
+
59
+ ## Layer-Position Bindings
60
+
61
+ These show which layers act at which positions (the actual circuit edges):
62
+
63
+ - L19-L30 attention reads from P83-P98
64
+ - L24-L35 MLP writes to P103-P138
65
+
66
+ ## Methodology Notes
67
+
68
+ - **Noising** (disruption): Replace clean activation with corrupted → measures necessity
69
+ - **Denoising** (recovery): Replace corrupted activation with clean → measures sufficiency
70
+ - High noising + low denoising = necessary but has backups (OR relationship)
71
+ - High noising + high denoising = necessary AND sufficient (AND relationship)
72
+ - The redundancy gap (noising - denoising) indicates how replaceable a component is
73
+ - **Denoising-only positions filtered**: Positions where denoising >> noising are excluded
74
+ as they indicate artifacts rather than true circuit components
75
+
76
+ ## Circuit Diagram
77
+
78
+ See information_flow_diagram.png for a visual representation.
pairs/pair_1/sweep_component_comparison/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Component Comparison Plots
2
+
3
+ This directory contains activation patching analysis visualizations organized
4
+ into five categories. Each plot has a figure number for easy reference.
5
+
6
+ ## Quick Start
7
+
8
+ 1. **Check 01_sanity_checks/** first - if these fail, results are unreliable
9
+ 2. **Read 05_circuit_synthesis/circuit_summary.txt** for the plain-text explanation
10
+ 3. **View 05_circuit_synthesis/information_flow_diagram.png** for the visual summary
11
+ 4. Drill into other folders for detailed analysis
12
+
13
+ ---
14
+
15
+ ## Directory Structure
16
+
17
+ ### 01_sanity_checks/
18
+ *Validation plots - check these first. If they fail, everything else is suspect.*
19
+
20
+ | Fig | File | Description |
21
+ |-----|------|-------------|
22
+ | 1.1 | resid_delta_sanity.png | Compares resid_pre[L+1] vs resid_post[L] (should match) |
23
+ | 1.2 | resid_delta_difference.png | Difference plot with +/-0.02 tolerance band |
24
+
25
+ ### 02_overview/
26
+ *The big picture: "Where does the computation happen?"*
27
+
28
+ | Fig | File | Description |
29
+ |-----|------|-------------|
30
+ | 2.1 | heatmap_layers_denoising.png | Layer × Component attribution (denoising recovery) |
31
+ | 2.2 | heatmap_layers_noising.png | Layer × Component attribution (noising disruption) |
32
+ | 2.3 | heatmap_layers_colnorm_denoising.png | Column-normalized heatmap (reveals fine structure) |
33
+ | 2.4 | heatmap_layers_colnorm_noising.png | Column-normalized heatmap (noising) |
34
+ | 2.5 | heatmap_positions_denoising.png | Position × Component attribution (denoising) |
35
+ | 2.6 | heatmap_positions_noising.png | Position × Component attribution (noising) |
36
+ | 2.7 | layer_position_heatmap.png | Layer × Position importance map (2D localization) |
37
+
38
+ ### 03_component_decomp/
39
+ *Drilling in: "Is it attention or MLP? Which specific components?"*
40
+
41
+ | Fig | File | Description |
42
+ |-----|------|-------------|
43
+ | 3.1 | attn_vs_mlp_layer.png | Attention vs MLP scatter by layer |
44
+ | 3.2 | attn_vs_mlp_position.png | Attention vs MLP scatter by position |
45
+ | 3.3 | attn_vs_mlp_paired.png | Paired scatter with arrows (denoising→noising movement) |
46
+ | 3.4 | component_importance_ranked.png | Top components ranked with same-layer linking |
47
+ | 3.5 | cumulative_recovery.png | Cumulative recovery with dip annotations |
48
+ | 3.6 | marginal_contribution.png | Per-layer marginal contribution |
49
+ | 3.7 | position_component_interaction.png | Effect vs position for each component |
50
+ | 3.8 | position_interaction_zoomed.png | Zoomed panels for hub regions |
51
+
52
+ ### 04_redundancy/
53
+ *Methodology comparison: "Can I trust the scores? What has backup pathways?"*
54
+
55
+ | Fig | File | Description |
56
+ |-----|------|-------------|
57
+ | 4.1 | noise_vs_denoise_per_component_layer.png | Noising vs denoising scatter (layers) |
58
+ | 4.2 | noise_vs_denoise_per_component_position.png | Noising vs denoising scatter (positions) |
59
+ | 4.3 | redundancy_gap.png | Redundancy gap (disruption - recovery) per layer |
60
+ | 4.4 | redundancy_gap_sorted.png | Redundancy gap sorted by magnitude |
61
+ | 4.5 | difference_heatmap_layer.png | Redundancy gap heatmap (layers) |
62
+ | 4.6 | difference_heatmap_position.png | Redundancy gap heatmap (positions) |
63
+
64
+ ### 05_circuit_synthesis/
65
+ *The punchline: synthesized information flow.*
66
+
67
+ | Fig | File | Description |
68
+ |-----|------|-------------|
69
+ | 5.1 | information_flow_diagram.png | Circuit summary with redundancy and bottleneck annotations |
70
+ | — | circuit_summary.txt | Plain-text explanation of the circuit hypothesis |
71
+
72
+ ---
73
+
74
+ ## Interpretation Guide
75
+
76
+ ### Scatter Plot Regions
77
+ - **AND region** (upper-right): High in both → necessary AND sufficient
78
+ - **OR region** (lower-right): High denoising, low noising → has backup pathways
79
+
80
+ ### Redundancy Gap
81
+ - **Positive gap** (disruption > recovery): Component is necessary
82
+ - **Negative gap** (recovery > disruption): Component is sufficient but replaceable
83
+
84
+ ### Scores in Circuit Diagram
85
+ - Format: noising_disruption / denoising_recovery
86
+ - Higher noising = more necessary (corrupting it breaks the model)
87
+ - Higher denoising = more sufficient (restoring it fixes the model)
88
+
89
+ ### Visual Conventions
90
+ - ★ = Multi-function layer (appears in both attention and MLP top lists)
91
+ - Colored brackets = Same-layer components (e.g., L24_attn and L24_mlp)
92
+ - Red thick arrow = Critical bottleneck path
93
+ - Dashed arrow = Backup/bypass pathway
94
+
95
+ ---
96
+
97
+ ## Colormap Reference
98
+
99
+ | Plot Type | Colormap | Interpretation |
100
+ |-----------|----------|----------------|
101
+ | Recovery/Disruption heatmaps | RdYlGn | Green=high, Red=low |
102
+ | 2D localization map | Hot | White=high, Black=low |
103
+ | Redundancy gap heatmaps | RdBu_r | Red=necessity, Blue=sufficiency |
104
+ | Layer/position scatter | Viridis | Yellow=late, Purple=early |
pairs/pair_1/sweep_mlp_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/sweep_resid_post/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_1/sweep_resid_pre/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_12/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 12,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.88720703,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 5.45703125,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": 0.13464355,
13
+ "cosine_to_initial": 1.00097656,
14
+ "attn_out_diff_norm": 2.19335938,
15
+ "mlp_out_diff_norm": 4.1015625
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.88769531,
20
+ "cosine_to_prev": 0.88720703,
21
+ "diff_norm": 6.796875,
22
+ "attn_rotation_angle": 18.60260519,
23
+ "mlp_rotation_angle": 22.7982481,
24
+ "total_rotation_angle": 27.47564494,
25
+ "cosine_to_logit": 0.090271,
26
+ "cosine_to_initial": 0.88720703,
27
+ "attn_out_diff_norm": 1.87207031,
28
+ "mlp_out_diff_norm": 2.66796875
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.88232422,
33
+ "cosine_to_prev": 0.88769531,
34
+ "diff_norm": 8.515625,
35
+ "attn_rotation_angle": 20.68332326,
36
+ "mlp_rotation_angle": 20.68332326,
37
+ "total_rotation_angle": 27.41494552,
38
+ "cosine_to_logit": 0.07629395,
39
+ "cosine_to_initial": 0.80761719,
40
+ "attn_out_diff_norm": 2.52929688,
41
+ "mlp_out_diff_norm": 3.12695312
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.87939453,
46
+ "cosine_to_prev": 0.88232422,
47
+ "diff_norm": 10.5234375,
48
+ "attn_rotation_angle": 19.62780836,
49
+ "mlp_rotation_angle": 23.29845729,
50
+ "total_rotation_angle": 28.07598379,
51
+ "cosine_to_logit": 0.06750488,
52
+ "cosine_to_initial": 0.71972656,
53
+ "attn_out_diff_norm": 3.1640625,
54
+ "mlp_out_diff_norm": 4.1875
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.80615234,
59
+ "cosine_to_prev": 0.87939453,
60
+ "diff_norm": 14.4140625,
61
+ "attn_rotation_angle": 14.47387181,
62
+ "mlp_rotation_angle": 25.91884507,
63
+ "total_rotation_angle": 28.43058787,
64
+ "cosine_to_logit": 0.05929565,
65
+ "cosine_to_initial": 0.66699219,
66
+ "attn_out_diff_norm": 2.86132812,
67
+ "mlp_out_diff_norm": 6.5390625
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.86083984,
72
+ "cosine_to_prev": 0.80615234,
73
+ "diff_norm": 19.875,
74
+ "attn_rotation_angle": 14.91503011,
75
+ "mlp_rotation_angle": 32.97930996,
76
+ "total_rotation_angle": 36.27830946,
77
+ "cosine_to_logit": 0.04064941,
78
+ "cosine_to_initial": 0.54980469,
79
+ "attn_out_diff_norm": 3.87304688,
80
+ "mlp_out_diff_norm": 10.9453125
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.87841797,
85
+ "cosine_to_prev": 0.86083984,
86
+ "diff_norm": 22.84375,
87
+ "attn_rotation_angle": 15.13089284,
88
+ "mlp_rotation_angle": 27.41494552,
89
+ "total_rotation_angle": 30.58898833,
90
+ "cosine_to_logit": 0.0322876,
91
+ "cosine_to_initial": 0.51708984,
92
+ "attn_out_diff_norm": 5.32421875,
93
+ "mlp_out_diff_norm": 10.5234375
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.890625,
98
+ "cosine_to_prev": 0.87841797,
99
+ "diff_norm": 24.609375,
100
+ "attn_rotation_angle": 14.13416846,
101
+ "mlp_rotation_angle": 25.98277673,
102
+ "total_rotation_angle": 28.54789114,
103
+ "cosine_to_logit": 0.04940796,
104
+ "cosine_to_initial": 0.4934082,
105
+ "attn_out_diff_norm": 5.609375,
106
+ "mlp_out_diff_norm": 10.8515625
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.85107422,
111
+ "cosine_to_prev": 0.890625,
112
+ "diff_norm": 24.703125,
113
+ "attn_rotation_angle": 9.31392687,
114
+ "mlp_rotation_angle": 25.79053925,
115
+ "total_rotation_angle": 27.04811055,
116
+ "cosine_to_logit": 0.02568054,
117
+ "cosine_to_initial": 0.47045898,
118
+ "attn_out_diff_norm": 3.8984375,
119
+ "mlp_out_diff_norm": 10.9765625
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.87646484,
124
+ "cosine_to_prev": 0.85107422,
125
+ "diff_norm": 26.1875,
126
+ "attn_rotation_angle": 15.6578351,
127
+ "mlp_rotation_angle": 29.18534,
128
+ "total_rotation_angle": 31.67129975,
129
+ "cosine_to_logit": 0.02894592,
130
+ "cosine_to_initial": 0.42553711,
131
+ "attn_out_diff_norm": 6.81640625,
132
+ "mlp_out_diff_norm": 12.984375
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.90136719,
137
+ "cosine_to_prev": 0.87646484,
138
+ "diff_norm": 25.046875,
139
+ "attn_rotation_angle": 12.81336304,
140
+ "mlp_rotation_angle": 26.61423446,
141
+ "total_rotation_angle": 28.7811837,
142
+ "cosine_to_logit": 0.02729797,
143
+ "cosine_to_initial": 0.4465332,
144
+ "attn_out_diff_norm": 5.75390625,
145
+ "mlp_out_diff_norm": 11.6328125
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.90283203,
150
+ "cosine_to_prev": 0.90136719,
151
+ "diff_norm": 26.578125,
152
+ "attn_rotation_angle": 13.18646666,
153
+ "mlp_rotation_angle": 23.15658282,
154
+ "total_rotation_angle": 25.66163606,
155
+ "cosine_to_logit": 0.03692627,
156
+ "cosine_to_initial": 0.41577148,
157
+ "attn_out_diff_norm": 5.94921875,
158
+ "mlp_out_diff_norm": 10.5234375
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.89013672,
163
+ "cosine_to_prev": 0.90283203,
164
+ "diff_norm": 26.5,
165
+ "attn_rotation_angle": 17.61243907,
166
+ "mlp_rotation_angle": 23.15658282,
167
+ "total_rotation_angle": 25.46714124,
168
+ "cosine_to_logit": 0.02142334,
169
+ "cosine_to_initial": 0.4050293,
170
+ "attn_out_diff_norm": 8.140625,
171
+ "mlp_out_diff_norm": 10.6328125
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.89892578,
176
+ "cosine_to_prev": 0.89013672,
177
+ "diff_norm": 27.296875,
178
+ "attn_rotation_angle": 13.66837737,
179
+ "mlp_rotation_angle": 23.92706149,
180
+ "total_rotation_angle": 27.10956807,
181
+ "cosine_to_logit": 0.02058411,
182
+ "cosine_to_initial": 0.38745117,
183
+ "attn_out_diff_norm": 6.421875,
184
+ "mlp_out_diff_norm": 11.2578125
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.90136719,
189
+ "cosine_to_prev": 0.89892578,
190
+ "diff_norm": 26.5,
191
+ "attn_rotation_angle": 16.95325531,
192
+ "mlp_rotation_angle": 23.01388219,
193
+ "total_rotation_angle": 25.98277673,
194
+ "cosine_to_logit": 0.01626587,
195
+ "cosine_to_initial": 0.39257812,
196
+ "attn_out_diff_norm": 7.9921875,
197
+ "mlp_out_diff_norm": 10.65625
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.91162109,
202
+ "cosine_to_prev": 0.90136719,
203
+ "diff_norm": 27.71875,
204
+ "attn_rotation_angle": 13.06326248,
205
+ "mlp_rotation_angle": 24.40542653,
206
+ "total_rotation_angle": 25.66163606,
207
+ "cosine_to_logit": 0.01763916,
208
+ "cosine_to_initial": 0.37890625,
209
+ "attn_out_diff_norm": 6.08203125,
210
+ "mlp_out_diff_norm": 11.546875
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.89746094,
215
+ "cosine_to_prev": 0.91162109,
216
+ "diff_norm": 28.71875,
217
+ "attn_rotation_angle": 17.42656771,
218
+ "mlp_rotation_angle": 21.07580551,
219
+ "total_rotation_angle": 24.26965519,
220
+ "cosine_to_logit": 0.01893616,
221
+ "cosine_to_initial": 0.36889648,
222
+ "attn_out_diff_norm": 8.65625,
223
+ "mlp_out_diff_norm": 10.5234375
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.90625,
228
+ "cosine_to_prev": 0.89746094,
229
+ "diff_norm": 31.03125,
230
+ "attn_rotation_angle": 16.66301038,
231
+ "mlp_rotation_angle": 23.71927181,
232
+ "total_rotation_angle": 26.17369979,
233
+ "cosine_to_logit": 0.0198822,
234
+ "cosine_to_initial": 0.32495117,
235
+ "attn_out_diff_norm": 8.578125,
236
+ "mlp_out_diff_norm": 12.5625
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.88134766,
241
+ "cosine_to_prev": 0.90625,
242
+ "diff_norm": 34.03125,
243
+ "attn_rotation_angle": 16.16802781,
244
+ "mlp_rotation_angle": 22.65341312,
245
+ "total_rotation_angle": 25.00783323,
246
+ "cosine_to_logit": 0.02279663,
247
+ "cosine_to_initial": 0.30688477,
248
+ "attn_out_diff_norm": 8.9140625,
249
+ "mlp_out_diff_norm": 13.1796875
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.89111328,
254
+ "cosine_to_prev": 0.88134766,
255
+ "diff_norm": 39.875,
256
+ "attn_rotation_angle": 21.07580551,
257
+ "mlp_rotation_angle": 23.15658282,
258
+ "total_rotation_angle": 28.19463987,
259
+ "cosine_to_logit": 0.02095032,
260
+ "cosine_to_initial": 0.28833008,
261
+ "attn_out_diff_norm": 13.84375,
262
+ "mlp_out_diff_norm": 15.7265625
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.86767578,
267
+ "cosine_to_prev": 0.89111328,
268
+ "diff_norm": 44.90625,
269
+ "attn_rotation_angle": 14.58538484,
270
+ "mlp_rotation_angle": 24.80855432,
271
+ "total_rotation_angle": 26.98652364,
272
+ "cosine_to_logit": 0.02973938,
273
+ "cosine_to_initial": 0.26831055,
274
+ "attn_out_diff_norm": 10.609375,
275
+ "mlp_out_diff_norm": 18.875
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.79589844,
280
+ "cosine_to_prev": 0.86767578,
281
+ "diff_norm": 50.15625,
282
+ "attn_rotation_angle": 20.12156419,
283
+ "mlp_rotation_angle": 25.20563725,
284
+ "total_rotation_angle": 29.81033661,
285
+ "cosine_to_logit": 0.03341675,
286
+ "cosine_to_initial": 0.26757812,
287
+ "attn_out_diff_norm": 16.578125,
288
+ "mlp_out_diff_norm": 21.53125
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.85107422,
293
+ "cosine_to_prev": 0.79589844,
294
+ "diff_norm": 60.1875,
295
+ "attn_rotation_angle": 29.29987823,
296
+ "mlp_rotation_angle": 26.30026579,
297
+ "total_rotation_angle": 37.25980213,
298
+ "cosine_to_logit": 0.05841064,
299
+ "cosine_to_initial": 0.27197266,
300
+ "attn_out_diff_norm": 27.484375,
301
+ "mlp_out_diff_norm": 26.8125
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.85693359,
306
+ "cosine_to_prev": 0.85107422,
307
+ "diff_norm": 74.625,
308
+ "attn_rotation_angle": 19.71092522,
309
+ "mlp_rotation_angle": 27.04811055,
310
+ "total_rotation_angle": 31.67129975,
311
+ "cosine_to_logit": 0.04870605,
312
+ "cosine_to_initial": 0.2322998,
313
+ "attn_out_diff_norm": 22.25,
314
+ "mlp_out_diff_norm": 34.0
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.92431641,
319
+ "cosine_to_prev": 0.85693359,
320
+ "diff_norm": 92.1875,
321
+ "attn_rotation_angle": 22.36107806,
322
+ "mlp_rotation_angle": 22.36107806,
323
+ "total_rotation_angle": 31.02598909,
324
+ "cosine_to_logit": 0.05459595,
325
+ "cosine_to_initial": 0.22546387,
326
+ "attn_out_diff_norm": 31.90625,
327
+ "mlp_out_diff_norm": 35.21875
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.94189453,
332
+ "cosine_to_prev": 0.92431641,
333
+ "diff_norm": 100.0625,
334
+ "attn_rotation_angle": 11.8981549,
335
+ "mlp_rotation_angle": 19.62780836,
336
+ "total_rotation_angle": 22.43450039,
337
+ "cosine_to_logit": 0.0425415,
338
+ "cosine_to_initial": 0.22106934,
339
+ "attn_out_diff_norm": 19.25,
340
+ "mlp_out_diff_norm": 33.5625
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.93945312,
345
+ "cosine_to_prev": 0.94189453,
346
+ "diff_norm": 106.0625,
347
+ "attn_rotation_angle": 9.65351469,
348
+ "mlp_rotation_angle": 17.23875519,
349
+ "total_rotation_angle": 19.62780836,
350
+ "cosine_to_logit": 0.05880737,
351
+ "cosine_to_initial": 0.20605469,
352
+ "attn_out_diff_norm": 17.203125,
353
+ "mlp_out_diff_norm": 31.640625
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.90185547,
358
+ "cosine_to_prev": 0.93945312,
359
+ "diff_norm": 117.0625,
360
+ "attn_rotation_angle": 9.13944576,
361
+ "mlp_rotation_angle": 18.06901679,
362
+ "total_rotation_angle": 20.04008221,
363
+ "cosine_to_logit": 0.05780029,
364
+ "cosine_to_initial": 0.20227051,
365
+ "attn_out_diff_norm": 17.078125,
366
+ "mlp_out_diff_norm": 36.59375
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.92041016,
371
+ "cosine_to_prev": 0.90185547,
372
+ "diff_norm": 134.375,
373
+ "attn_rotation_angle": 14.91503011,
374
+ "mlp_rotation_angle": 21.53776735,
375
+ "total_rotation_angle": 25.59695761,
376
+ "cosine_to_logit": 0.04199219,
377
+ "cosine_to_initial": 0.16882324,
378
+ "attn_out_diff_norm": 30.640625,
379
+ "mlp_out_diff_norm": 49.46875
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.93945312,
384
+ "cosine_to_prev": 0.92041016,
385
+ "diff_norm": 151.25,
386
+ "attn_rotation_angle": 14.13416846,
387
+ "mlp_rotation_angle": 19.03623337,
388
+ "total_rotation_angle": 23.01388219,
389
+ "cosine_to_logit": 0.05728149,
390
+ "cosine_to_initial": 0.15917969,
391
+ "attn_out_diff_norm": 34.5625,
392
+ "mlp_out_diff_norm": 49.0
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": 0.93408203,
397
+ "cosine_to_prev": 0.93945312,
398
+ "diff_norm": 168.0,
399
+ "attn_rotation_angle": 10.14179337,
400
+ "mlp_rotation_angle": 17.51974216,
401
+ "total_rotation_angle": 20.04008221,
402
+ "cosine_to_logit": 0.05352783,
403
+ "cosine_to_initial": 0.14501953,
404
+ "attn_out_diff_norm": 28.34375,
405
+ "mlp_out_diff_norm": 50.375
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": 0.90380859,
410
+ "cosine_to_prev": 0.93408203,
411
+ "diff_norm": 186.375,
412
+ "attn_rotation_angle": 6.9387895,
413
+ "mlp_rotation_angle": 19.54435203,
414
+ "total_rotation_angle": 20.91965678,
415
+ "cosine_to_logit": 0.06347656,
416
+ "cosine_to_initial": 0.13244629,
417
+ "attn_out_diff_norm": 20.140625,
418
+ "mlp_out_diff_norm": 63.0
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": 0.0,
423
+ "cosine_to_prev": 0.90380859,
424
+ "diff_norm": 226.375,
425
+ "attn_rotation_angle": 12.29859952,
426
+ "mlp_rotation_angle": 22.7982481,
427
+ "total_rotation_angle": 25.33670434,
428
+ "cosine_to_logit": 0.02947998,
429
+ "cosine_to_initial": 0.0880127,
430
+ "attn_out_diff_norm": 40.875,
431
+ "mlp_out_diff_norm": 89.125
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": "NaN",
436
+ "cosine_to_prev": 0.0,
437
+ "diff_norm": "Inf",
438
+ "attn_rotation_angle": 8.78017768,
439
+ "mlp_rotation_angle": 90.0,
440
+ "total_rotation_angle": 90.0,
441
+ "cosine_to_logit": 0.0,
442
+ "cosine_to_initial": 0.0,
443
+ "attn_out_diff_norm": 36.125,
444
+ "mlp_out_diff_norm": 96.5625
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": "NaN",
449
+ "cosine_to_prev": "NaN",
450
+ "diff_norm": "Inf",
451
+ "attn_rotation_angle": "NaN",
452
+ "mlp_rotation_angle": "NaN",
453
+ "total_rotation_angle": "NaN",
454
+ "cosine_to_logit": 0.0,
455
+ "cosine_to_initial": 0.0,
456
+ "attn_out_diff_norm": 64.8125,
457
+ "mlp_out_diff_norm": 138.75
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": "NaN",
463
+ "diff_norm": "Inf",
464
+ "attn_rotation_angle": "NaN",
465
+ "mlp_rotation_angle": "NaN",
466
+ "total_rotation_angle": "NaN",
467
+ "cosine_to_logit": 0.0,
468
+ "cosine_to_initial": 0.0,
469
+ "attn_out_diff_norm": 100.8125,
470
+ "mlp_out_diff_norm": 207.875
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "145": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 5.45703125,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 6.796875,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 8.515625,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 10.5234375,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 14.4140625,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 19.875,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 22.84375,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 24.609375,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 24.703125,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 26.1875,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 25.046875,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 26.578125,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 26.5,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 27.296875,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 26.5,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 27.71875,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 28.71875,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 31.03125,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 34.03125,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 39.875,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 44.90625,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 50.15625,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 60.1875,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 74.625,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 92.1875,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 100.0625,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 106.0625,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 117.0625,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 134.375,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 151.25,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": 168.0,
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": 186.375,
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": 226.375,
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": "Inf",
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": "Inf",
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": "Inf",
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 145
947
+ }
pairs/pair_12/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_12/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_12/sweep_component_comparison/.DS_Store ADDED
Binary file (8.2 kB). View file
 
pairs/pair_12/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Circuit Summary
2
+
3
+ This document summarizes the inferred circuit from activation patching analysis.
4
+ Scores shown as: noising_disruption / denoising_recovery
5
+
6
+ ## Key Finding: Two-Phase Architecture
7
+
8
+ The circuit operates in two phases:
9
+ 1. **Attention phase**: Attention heads read from source positions and route information
10
+ 2. **MLP phase**: MLP layers transform and write to destination positions
11
+
12
+ ## Source Positions (Early)
13
+
14
+ Found 4 key source positions (1 have backup pathways):
15
+ - P84: 0.840/1.073 (REDUNDANT - has backups)
16
+ - P99: 0.018/0.016 (important)
17
+ - P79: 0.007/0.003 (important)
18
+ - P89: 0.007/0.004 (important)
19
+
20
+ Interpretation: Redundant positions have denoising > noising, meaning
21
+ the model can recover even when these positions are corrupted (backup pathways exist).
22
+
23
+ ## Attention Layers
24
+
25
+ Top attention layers (ranked by noising disruption):
26
+ - L24: 0.559/0.367 ★ MULTI-FUNCTION
27
+ - L21: 0.182/0.103
28
+ - L29: 0.125/0.079
29
+ - L30: 0.124/0.065
30
+ - L19: 0.103/0.046
31
+
32
+ These layers read from source positions and route information.
33
+ Multi-function layers (L24) appear in both attention AND MLP top lists,
34
+ suggesting they do double-duty processing.
35
+
36
+ ## MLP Layers
37
+
38
+ Top MLP layers (ranked by noising disruption):
39
+ - L35: 0.289/0.307
40
+ - L31: 0.236/0.167
41
+ - L34: 0.122/0.113
42
+ - L28: 0.084/0.085
43
+ - L24: 0.080/0.092 ★ MULTI-FUNCTION
44
+
45
+ These layers transform information and write to destination positions.
46
+
47
+ ## Destination Positions (Late) - THE BOTTLENECK
48
+
49
+ Found 4 key destination positions:
50
+ - P139: 1.000/0.731 (★ BOTTLENECK)
51
+ - P134: 0.316/0.000 (secondary)
52
+ - P119: 0.056/0.007 (secondary)
53
+ - P104: 0.012/0.003 (secondary)
54
+
55
+ CRITICAL: 1 position(s) are true bottlenecks (noising > 0.5).
56
+ Corrupting these positions severely disrupts the model's output.
57
+ This is where the final answer is computed.
58
+
59
+ ## Layer-Position Bindings
60
+
61
+ These show which layers act at which positions (the actual circuit edges):
62
+
63
+ - L19-L30 attention reads from P79-P99
64
+ - L24-L35 MLP writes to P104-P139
65
+
66
+ ## Methodology Notes
67
+
68
+ - **Noising** (disruption): Replace clean activation with corrupted → measures necessity
69
+ - **Denoising** (recovery): Replace corrupted activation with clean → measures sufficiency
70
+ - High noising + low denoising = necessary but has backups (OR relationship)
71
+ - High noising + high denoising = necessary AND sufficient (AND relationship)
72
+ - The redundancy gap (noising - denoising) indicates how replaceable a component is
73
+ - **Denoising-only positions filtered**: Positions where denoising >> noising are excluded
74
+ as they indicate artifacts rather than true circuit components
75
+
76
+ ## Circuit Diagram
77
+
78
+ See information_flow_diagram.png for a visual representation.
pairs/pair_12/sweep_component_comparison/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Component Comparison Plots
2
+
3
+ This directory contains activation patching analysis visualizations organized
4
+ into five categories. Each plot has a figure number for easy reference.
5
+
6
+ ## Quick Start
7
+
8
+ 1. **Check 01_sanity_checks/** first - if these fail, results are unreliable
9
+ 2. **Read 05_circuit_synthesis/circuit_summary.txt** for the plain-text explanation
10
+ 3. **View 05_circuit_synthesis/information_flow_diagram.png** for the visual summary
11
+ 4. Drill into other folders for detailed analysis
12
+
13
+ ---
14
+
15
+ ## Directory Structure
16
+
17
+ ### 01_sanity_checks/
18
+ *Validation plots - check these first. If they fail, everything else is suspect.*
19
+
20
+ | Fig | File | Description |
21
+ |-----|------|-------------|
22
+ | 1.1 | resid_delta_sanity.png | Compares resid_pre[L+1] vs resid_post[L] (should match) |
23
+ | 1.2 | resid_delta_difference.png | Difference plot with +/-0.02 tolerance band |
24
+
25
+ ### 02_overview/
26
+ *The big picture: "Where does the computation happen?"*
27
+
28
+ | Fig | File | Description |
29
+ |-----|------|-------------|
30
+ | 2.1 | heatmap_layers_denoising.png | Layer × Component attribution (denoising recovery) |
31
+ | 2.2 | heatmap_layers_noising.png | Layer × Component attribution (noising disruption) |
32
+ | 2.3 | heatmap_layers_colnorm_denoising.png | Column-normalized heatmap (reveals fine structure) |
33
+ | 2.4 | heatmap_layers_colnorm_noising.png | Column-normalized heatmap (noising) |
34
+ | 2.5 | heatmap_positions_denoising.png | Position × Component attribution (denoising) |
35
+ | 2.6 | heatmap_positions_noising.png | Position × Component attribution (noising) |
36
+ | 2.7 | layer_position_heatmap.png | Layer × Position importance map (2D localization) |
37
+
38
+ ### 03_component_decomp/
39
+ *Drilling in: "Is it attention or MLP? Which specific components?"*
40
+
41
+ | Fig | File | Description |
42
+ |-----|------|-------------|
43
+ | 3.1 | attn_vs_mlp_layer.png | Attention vs MLP scatter by layer |
44
+ | 3.2 | attn_vs_mlp_position.png | Attention vs MLP scatter by position |
45
+ | 3.3 | attn_vs_mlp_paired.png | Paired scatter with arrows (denoising→noising movement) |
46
+ | 3.4 | component_importance_ranked.png | Top components ranked with same-layer linking |
47
+ | 3.5 | cumulative_recovery.png | Cumulative recovery with dip annotations |
48
+ | 3.6 | marginal_contribution.png | Per-layer marginal contribution |
49
+ | 3.7 | position_component_interaction.png | Effect vs position for each component |
50
+ | 3.8 | position_interaction_zoomed.png | Zoomed panels for hub regions |
51
+
52
+ ### 04_redundancy/
53
+ *Methodology comparison: "Can I trust the scores? What has backup pathways?"*
54
+
55
+ | Fig | File | Description |
56
+ |-----|------|-------------|
57
+ | 4.1 | noise_vs_denoise_per_component_layer.png | Noising vs denoising scatter (layers) |
58
+ | 4.2 | noise_vs_denoise_per_component_position.png | Noising vs denoising scatter (positions) |
59
+ | 4.3 | redundancy_gap.png | Redundancy gap (disruption - recovery) per layer |
60
+ | 4.4 | redundancy_gap_sorted.png | Redundancy gap sorted by magnitude |
61
+ | 4.5 | difference_heatmap_layer.png | Redundancy gap heatmap (layers) |
62
+ | 4.6 | difference_heatmap_position.png | Redundancy gap heatmap (positions) |
63
+
64
+ ### 05_circuit_synthesis/
65
+ *The punchline: synthesized information flow.*
66
+
67
+ | Fig | File | Description |
68
+ |-----|------|-------------|
69
+ | 5.1 | information_flow_diagram.png | Circuit summary with redundancy and bottleneck annotations |
70
+ | — | circuit_summary.txt | Plain-text explanation of the circuit hypothesis |
71
+
72
+ ---
73
+
74
+ ## Interpretation Guide
75
+
76
+ ### Scatter Plot Regions
77
+ - **AND region** (upper-right): High in both → necessary AND sufficient
78
+ - **OR region** (lower-right): High denoising, low noising → has backup pathways
79
+
80
+ ### Redundancy Gap
81
+ - **Positive gap** (disruption > recovery): Component is necessary
82
+ - **Negative gap** (recovery > disruption): Component is sufficient but replaceable
83
+
84
+ ### Scores in Circuit Diagram
85
+ - Format: noising_disruption / denoising_recovery
86
+ - Higher noising = more necessary (corrupting it breaks the model)
87
+ - Higher denoising = more sufficient (restoring it fixes the model)
88
+
89
+ ### Visual Conventions
90
+ - ★ = Multi-function layer (appears in both attention and MLP top lists)
91
+ - Colored brackets = Same-layer components (e.g., L24_attn and L24_mlp)
92
+ - Red thick arrow = Critical bottleneck path
93
+ - Dashed arrow = Backup/bypass pathway
94
+
95
+ ---
96
+
97
+ ## Colormap Reference
98
+
99
+ | Plot Type | Colormap | Interpretation |
100
+ |-----------|----------|----------------|
101
+ | Recovery/Disruption heatmaps | RdYlGn | Green=high, Red=low |
102
+ | 2D localization map | Hot | White=high, Black=low |
103
+ | Redundancy gap heatmaps | RdBu_r | Red=necessity, Blue=sufficiency |
104
+ | Layer/position scatter | Viridis | Yellow=late, Purple=early |
pairs/pair_12/sweep_mlp_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_12/sweep_resid_post/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_12/sweep_resid_pre/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/att_patching/att_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 13,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.81982422,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 4.7890625,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": -0.03979492,
13
+ "cosine_to_initial": 1.00097656,
14
+ "attn_out_diff_norm": 1.61914062,
15
+ "mlp_out_diff_norm": 4.03125
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.81103516,
20
+ "cosine_to_prev": 0.81982422,
21
+ "diff_norm": 6.3203125,
22
+ "attn_rotation_angle": 27.95686524,
23
+ "mlp_rotation_angle": 22.87033987,
24
+ "total_rotation_angle": 34.93279875,
25
+ "cosine_to_logit": -0.02186584,
26
+ "cosine_to_initial": 0.81982422,
27
+ "attn_out_diff_norm": 2.65625,
28
+ "mlp_out_diff_norm": 2.46484375
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.85595703,
33
+ "cosine_to_prev": 0.81103516,
34
+ "diff_norm": 8.34375,
35
+ "attn_rotation_angle": 26.67661676,
36
+ "mlp_rotation_angle": 25.91884507,
37
+ "total_rotation_angle": 35.80280738,
38
+ "cosine_to_logit": -0.00832367,
39
+ "cosine_to_initial": 0.66894531,
40
+ "attn_out_diff_norm": 3.26367188,
41
+ "mlp_out_diff_norm": 3.65039062
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.82617188,
46
+ "cosine_to_prev": 0.85595703,
47
+ "diff_norm": 10.6484375,
48
+ "attn_rotation_angle": 24.67486463,
49
+ "mlp_rotation_angle": 23.43952061,
50
+ "total_rotation_angle": 31.13437517,
51
+ "cosine_to_logit": -0.00182438,
52
+ "cosine_to_initial": 0.58007812,
53
+ "attn_out_diff_norm": 4.06640625,
54
+ "mlp_out_diff_norm": 4.23046875
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.79150391,
59
+ "cosine_to_prev": 0.82617188,
60
+ "diff_norm": 14.7265625,
61
+ "attn_rotation_angle": 19.29190196,
62
+ "mlp_rotation_angle": 29.81033661,
63
+ "total_rotation_angle": 34.29251808,
64
+ "cosine_to_logit": 0.01334381,
65
+ "cosine_to_initial": 0.46533203,
66
+ "attn_out_diff_norm": 3.99414062,
67
+ "mlp_out_diff_norm": 7.3828125
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.82275391,
72
+ "cosine_to_prev": 0.79150391,
73
+ "diff_norm": 19.515625,
74
+ "attn_rotation_angle": 20.12156419,
75
+ "mlp_rotation_angle": 33.89323583,
76
+ "total_rotation_angle": 37.6737232,
77
+ "cosine_to_logit": 0.01928711,
78
+ "cosine_to_initial": 0.37353516,
79
+ "attn_out_diff_norm": 5.5234375,
80
+ "mlp_out_diff_norm": 10.8984375
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.79638672,
85
+ "cosine_to_prev": 0.82275391,
86
+ "diff_norm": 23.890625,
87
+ "attn_rotation_angle": 22.21354281,
88
+ "mlp_rotation_angle": 29.47092473,
89
+ "total_rotation_angle": 34.63857186,
90
+ "cosine_to_logit": 0.01107025,
91
+ "cosine_to_initial": 0.32202148,
92
+ "attn_out_diff_norm": 7.95703125,
93
+ "mlp_out_diff_norm": 11.765625
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.77587891,
98
+ "cosine_to_prev": 0.79638672,
99
+ "diff_norm": 32.15625,
100
+ "attn_rotation_angle": 21.91564461,
101
+ "mlp_rotation_angle": 31.883797,
102
+ "total_rotation_angle": 37.21356839,
103
+ "cosine_to_logit": 0.01292419,
104
+ "cosine_to_initial": 0.25415039,
105
+ "attn_out_diff_norm": 10.3828125,
106
+ "mlp_out_diff_norm": 16.96875
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.81347656,
111
+ "cosine_to_prev": 0.77587891,
112
+ "diff_norm": 37.15625,
113
+ "attn_rotation_angle": 22.43450039,
114
+ "mlp_rotation_angle": 34.54000939,
115
+ "total_rotation_angle": 39.11521467,
116
+ "cosine_to_logit": 0.01617432,
117
+ "cosine_to_initial": 0.23034668,
118
+ "attn_out_diff_norm": 13.234375,
119
+ "mlp_out_diff_norm": 21.46875
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.81933594,
124
+ "cosine_to_prev": 0.81347656,
125
+ "diff_norm": 36.34375,
126
+ "attn_rotation_angle": 18.15899963,
127
+ "mlp_rotation_angle": 31.72454353,
128
+ "total_rotation_angle": 35.56299484,
129
+ "cosine_to_logit": -0.0055542,
130
+ "cosine_to_initial": 0.21960449,
131
+ "attn_out_diff_norm": 11.8984375,
132
+ "mlp_out_diff_norm": 20.359375
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.84863281,
137
+ "cosine_to_prev": 0.81933594,
138
+ "diff_norm": 35.3125,
139
+ "attn_rotation_angle": 19.87615755,
140
+ "mlp_rotation_angle": 30.69876442,
141
+ "total_rotation_angle": 34.98162631,
142
+ "cosine_to_logit": -0.01139832,
143
+ "cosine_to_initial": 0.21191406,
144
+ "attn_out_diff_norm": 12.84375,
145
+ "mlp_out_diff_norm": 19.453125
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.82861328,
150
+ "cosine_to_prev": 0.84863281,
151
+ "diff_norm": 37.03125,
152
+ "attn_rotation_angle": 20.76238676,
153
+ "mlp_rotation_angle": 28.66475462,
154
+ "total_rotation_angle": 31.93672354,
155
+ "cosine_to_logit": -0.01838684,
156
+ "cosine_to_initial": 0.18798828,
157
+ "attn_out_diff_norm": 13.3125,
158
+ "mlp_out_diff_norm": 18.5
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.83105469,
163
+ "cosine_to_prev": 0.82861328,
164
+ "diff_norm": 39.71875,
165
+ "attn_rotation_angle": 22.06507135,
166
+ "mlp_rotation_angle": 28.72302313,
167
+ "total_rotation_angle": 34.04344913,
168
+ "cosine_to_logit": -0.02627563,
169
+ "cosine_to_initial": 0.14929199,
170
+ "attn_out_diff_norm": 14.703125,
171
+ "mlp_out_diff_norm": 19.546875
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.84716797,
176
+ "cosine_to_prev": 0.83105469,
177
+ "diff_norm": 40.625,
178
+ "attn_rotation_angle": 19.62780836,
179
+ "mlp_rotation_angle": 30.97166804,
180
+ "total_rotation_angle": 33.79276718,
181
+ "cosine_to_logit": -0.02020264,
182
+ "cosine_to_initial": 0.16784668,
183
+ "attn_out_diff_norm": 14.3828125,
184
+ "mlp_out_diff_norm": 22.34375
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.85009766,
189
+ "cosine_to_prev": 0.84716797,
190
+ "diff_norm": 40.6875,
191
+ "attn_rotation_angle": 20.12156419,
192
+ "mlp_rotation_angle": 28.0164827,
193
+ "total_rotation_angle": 32.0950348,
194
+ "cosine_to_logit": -0.0274353,
195
+ "cosine_to_initial": 0.15527344,
196
+ "attn_out_diff_norm": 14.6171875,
197
+ "mlp_out_diff_norm": 20.125
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.88134766,
202
+ "cosine_to_prev": 0.85009766,
203
+ "diff_norm": 45.0625,
204
+ "attn_rotation_angle": 18.86393494,
205
+ "mlp_rotation_angle": 28.89718368,
206
+ "total_rotation_angle": 31.7777074,
207
+ "cosine_to_logit": -0.02400208,
208
+ "cosine_to_initial": 0.15930176,
209
+ "attn_out_diff_norm": 14.2734375,
210
+ "mlp_out_diff_norm": 22.234375
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.89208984,
215
+ "cosine_to_prev": 0.88134766,
216
+ "diff_norm": 44.53125,
217
+ "attn_rotation_angle": 18.69010654,
218
+ "mlp_rotation_angle": 24.06464933,
219
+ "total_rotation_angle": 28.19463987,
220
+ "cosine_to_logit": -0.0267334,
221
+ "cosine_to_initial": 0.14624023,
222
+ "attn_out_diff_norm": 14.8984375,
223
+ "mlp_out_diff_norm": 19.046875
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.89257812,
228
+ "cosine_to_prev": 0.89208984,
229
+ "diff_norm": 48.3125,
230
+ "attn_rotation_angle": 17.88773873,
231
+ "mlp_rotation_angle": 24.40542653,
232
+ "total_rotation_angle": 26.86295809,
233
+ "cosine_to_logit": -0.0166626,
234
+ "cosine_to_initial": 0.13305664,
235
+ "attn_out_diff_norm": 14.8125,
236
+ "mlp_out_diff_norm": 20.3125
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.86132812,
241
+ "cosine_to_prev": 0.89257812,
242
+ "diff_norm": 51.1875,
243
+ "attn_rotation_angle": 16.36776779,
244
+ "mlp_rotation_angle": 23.15658282,
245
+ "total_rotation_angle": 26.80097764,
246
+ "cosine_to_logit": -0.01261139,
247
+ "cosine_to_initial": 0.14624023,
248
+ "attn_out_diff_norm": 14.328125,
249
+ "mlp_out_diff_norm": 20.5
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.89257812,
254
+ "cosine_to_prev": 0.86132812,
255
+ "diff_norm": 59.5,
256
+ "attn_rotation_angle": 22.43450039,
257
+ "mlp_rotation_angle": 23.08533673,
258
+ "total_rotation_angle": 30.53396667,
259
+ "cosine_to_logit": -0.00514603,
260
+ "cosine_to_initial": 0.1373291,
261
+ "attn_out_diff_norm": 22.65625,
262
+ "mlp_out_diff_norm": 23.6875
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.88378906,
267
+ "cosine_to_prev": 0.89257812,
268
+ "diff_norm": 61.65625,
269
+ "attn_rotation_angle": 16.26819607,
270
+ "mlp_rotation_angle": 24.20150127,
271
+ "total_rotation_angle": 26.80097764,
272
+ "cosine_to_logit": 0.0034256,
273
+ "cosine_to_initial": 0.12780762,
274
+ "attn_out_diff_norm": 17.546875,
275
+ "mlp_out_diff_norm": 26.03125
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.84863281,
280
+ "cosine_to_prev": 0.88378906,
281
+ "diff_norm": 66.9375,
282
+ "attn_rotation_angle": 19.29190196,
283
+ "mlp_rotation_angle": 22.87033987,
284
+ "total_rotation_angle": 27.89713068,
285
+ "cosine_to_logit": 0.00569534,
286
+ "cosine_to_initial": 0.12420654,
287
+ "attn_out_diff_norm": 22.03125,
288
+ "mlp_out_diff_norm": 26.515625
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.87744141,
293
+ "cosine_to_prev": 0.84863281,
294
+ "diff_norm": 73.8125,
295
+ "attn_rotation_angle": 22.43450039,
296
+ "mlp_rotation_angle": 25.27125019,
297
+ "total_rotation_angle": 31.93672354,
298
+ "cosine_to_logit": 0.00449753,
299
+ "cosine_to_initial": 0.10388184,
300
+ "attn_out_diff_norm": 27.484375,
301
+ "mlp_out_diff_norm": 32.03125
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.88183594,
306
+ "cosine_to_prev": 0.87744141,
307
+ "diff_norm": 87.5625,
308
+ "attn_rotation_angle": 19.62780836,
309
+ "mlp_rotation_angle": 23.22762238,
310
+ "total_rotation_angle": 28.66475462,
311
+ "cosine_to_logit": 0.0135498,
312
+ "cosine_to_initial": 0.11053467,
313
+ "attn_out_diff_norm": 28.765625,
314
+ "mlp_out_diff_norm": 34.71875
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.92626953,
319
+ "cosine_to_prev": 0.88183594,
320
+ "diff_norm": 105.5625,
321
+ "attn_rotation_angle": 19.87615755,
322
+ "mlp_rotation_angle": 20.76238676,
323
+ "total_rotation_angle": 28.13536927,
324
+ "cosine_to_logit": 0.00157452,
325
+ "cosine_to_initial": 0.13903809,
326
+ "attn_out_diff_norm": 33.5625,
327
+ "mlp_out_diff_norm": 37.625
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.9296875,
332
+ "cosine_to_prev": 0.92626953,
333
+ "diff_norm": 114.9375,
334
+ "attn_rotation_angle": 12.55857665,
335
+ "mlp_rotation_angle": 19.03623337,
336
+ "total_rotation_angle": 22.13942528,
337
+ "cosine_to_logit": -0.00576401,
338
+ "cosine_to_initial": 0.13354492,
339
+ "attn_out_diff_norm": 23.5625,
340
+ "mlp_out_diff_norm": 37.34375
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.94091797,
345
+ "cosine_to_prev": 0.9296875,
346
+ "diff_norm": 127.375,
347
+ "attn_rotation_angle": 10.75875798,
348
+ "mlp_rotation_angle": 19.03623337,
349
+ "total_rotation_angle": 21.61384575,
350
+ "cosine_to_logit": -0.00651169,
351
+ "cosine_to_initial": 0.11761475,
352
+ "attn_out_diff_norm": 22.15625,
353
+ "mlp_out_diff_norm": 41.4375
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.92822266,
358
+ "cosine_to_prev": 0.94091797,
359
+ "diff_norm": 137.75,
360
+ "attn_rotation_angle": 9.48522673,
361
+ "mlp_rotation_angle": 18.06901679,
362
+ "total_rotation_angle": 19.79370689,
363
+ "cosine_to_logit": -0.00747299,
364
+ "cosine_to_initial": 0.12158203,
365
+ "attn_out_diff_norm": 20.828125,
366
+ "mlp_out_diff_norm": 42.8125
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.94384766,
371
+ "cosine_to_prev": 0.92822266,
372
+ "diff_norm": 153.875,
373
+ "attn_rotation_angle": 13.78627155,
374
+ "mlp_rotation_angle": 16.95325531,
375
+ "total_rotation_angle": 21.84056688,
376
+ "cosine_to_logit": -0.0174408,
377
+ "cosine_to_initial": 0.12145996,
378
+ "attn_out_diff_norm": 34.5625,
379
+ "mlp_out_diff_norm": 45.09375
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.93994141,
384
+ "cosine_to_prev": 0.94384766,
385
+ "diff_norm": 166.125,
386
+ "attn_rotation_angle": 12.55857665,
387
+ "mlp_rotation_angle": 14.47387181,
388
+ "total_rotation_angle": 19.29190196,
389
+ "cosine_to_logit": -0.0112915,
390
+ "cosine_to_initial": 0.09906006,
391
+ "attn_out_diff_norm": 35.0,
392
+ "mlp_out_diff_norm": 42.0
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": 0.95898438,
397
+ "cosine_to_prev": 0.93994141,
398
+ "diff_norm": 188.75,
399
+ "attn_rotation_angle": 11.19944663,
400
+ "mlp_rotation_angle": 16.56516459,
401
+ "total_rotation_angle": 19.95828131,
402
+ "cosine_to_logit": -0.01499176,
403
+ "cosine_to_initial": 0.09429932,
404
+ "attn_out_diff_norm": 35.75,
405
+ "mlp_out_diff_norm": 54.375
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": 0.91308594,
410
+ "cosine_to_prev": 0.95898438,
411
+ "diff_norm": 203.625,
412
+ "attn_rotation_angle": 8.40569321,
413
+ "mlp_rotation_angle": 14.47387181,
414
+ "total_rotation_angle": 16.46675379,
415
+ "cosine_to_logit": -0.01144409,
416
+ "cosine_to_initial": 0.09185791,
417
+ "attn_out_diff_norm": 27.984375,
418
+ "mlp_out_diff_norm": 51.375
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": 0.0,
423
+ "cosine_to_prev": 0.91308594,
424
+ "diff_norm": 248.375,
425
+ "attn_rotation_angle": 14.24828406,
426
+ "mlp_rotation_angle": 20.28358673,
427
+ "total_rotation_angle": 24.06464933,
428
+ "cosine_to_logit": 0.0034008,
429
+ "cosine_to_initial": 0.07226562,
430
+ "attn_out_diff_norm": 54.375,
431
+ "mlp_out_diff_norm": 87.4375
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": "NaN",
436
+ "cosine_to_prev": 0.0,
437
+ "diff_norm": "Inf",
438
+ "attn_rotation_angle": 9.81894564,
439
+ "mlp_rotation_angle": "NaN",
440
+ "total_rotation_angle": 90.0,
441
+ "cosine_to_logit": 0.0,
442
+ "cosine_to_initial": 0.0,
443
+ "attn_out_diff_norm": 42.90625,
444
+ "mlp_out_diff_norm": 103.875
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": "NaN",
449
+ "cosine_to_prev": "NaN",
450
+ "diff_norm": "Inf",
451
+ "attn_rotation_angle": "NaN",
452
+ "mlp_rotation_angle": "NaN",
453
+ "total_rotation_angle": "NaN",
454
+ "cosine_to_logit": 0.0,
455
+ "cosine_to_initial": 0.0,
456
+ "attn_out_diff_norm": 107.8125,
457
+ "mlp_out_diff_norm": 153.75
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": "NaN",
463
+ "diff_norm": "Inf",
464
+ "attn_rotation_angle": "NaN",
465
+ "mlp_rotation_angle": "NaN",
466
+ "total_rotation_angle": "NaN",
467
+ "cosine_to_logit": 0.0,
468
+ "cosine_to_initial": 0.0,
469
+ "attn_out_diff_norm": 133.625,
470
+ "mlp_out_diff_norm": "Inf"
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "134": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 4.7890625,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 6.3203125,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 8.34375,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 10.6484375,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 14.7265625,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 19.515625,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 23.890625,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 32.15625,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 37.15625,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 36.34375,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 35.3125,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 37.03125,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 39.71875,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 40.625,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 40.6875,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 45.0625,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 44.53125,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 48.3125,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 51.1875,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 59.5,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 61.65625,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 66.9375,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 73.8125,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 87.5625,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 105.5625,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 114.9375,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 127.375,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 137.75,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 153.875,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 166.125,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": 188.75,
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": 203.625,
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": 248.375,
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": "Inf",
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": "Inf",
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": "Inf",
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 134
947
+ }
pairs/pair_13/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/sweep_component_comparison/.DS_Store ADDED
Binary file (8.2 kB). View file
 
pairs/pair_13/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Circuit Summary
2
+
3
+ This document summarizes the inferred circuit from activation patching analysis.
4
+ Scores shown as: noising_disruption / denoising_recovery
5
+
6
+ ## Key Finding: Two-Phase Architecture
7
+
8
+ The circuit operates in two phases:
9
+ 1. **Attention phase**: Attention heads read from source positions and route information
10
+ 2. **MLP phase**: MLP layers transform and write to destination positions
11
+
12
+ ## Source Positions (Early)
13
+
14
+ Found 4 key source positions (0 have backup pathways):
15
+ - P83: 1.180/0.019 (important)
16
+ - P73: 0.951/0.995 (important)
17
+ - P78: 0.764/0.031 (important)
18
+ - P98: 0.010/0.001 (important)
19
+
20
+ Interpretation: Redundant positions have denoising > noising, meaning
21
+ the model can recover even when these positions are corrupted (backup pathways exist).
22
+
23
+ ## Attention Layers
24
+
25
+ Top attention layers (ranked by noising disruption):
26
+ - L24: 0.110/0.300
27
+ - L29: 0.082/0.166 ★ MULTI-FUNCTION
28
+ - L30: 0.060/0.162
29
+ - L35: 0.057/0.036 ★ MULTI-FUNCTION
30
+ - L21: 0.036/0.244
31
+
32
+ These layers read from source positions and route information.
33
+ Multi-function layers (L29, L35) appear in both attention AND MLP top lists,
34
+ suggesting they do double-duty processing.
35
+
36
+ ## MLP Layers
37
+
38
+ Top MLP layers (ranked by noising disruption):
39
+ - L35: 0.250/0.277 ★ MULTI-FUNCTION
40
+ - L34: 0.172/0.136
41
+ - L31: 0.117/0.174
42
+ - L28: 0.047/0.153
43
+ - L29: 0.040/0.042 ★ MULTI-FUNCTION
44
+
45
+ These layers transform information and write to destination positions.
46
+
47
+ ## Destination Positions (Late) - THE BOTTLENECK
48
+
49
+ Found 4 key destination positions:
50
+ - P138: 1.000/0.000 (★ BOTTLENECK)
51
+ - P133: 0.034/0.000 (secondary)
52
+ - P118: 0.026/0.002 (secondary)
53
+ - P113: 0.001/-0.001 (secondary)
54
+
55
+ CRITICAL: 1 position(s) are true bottlenecks (noising > 0.5).
56
+ Corrupting these positions severely disrupts the model's output.
57
+ This is where the final answer is computed.
58
+
59
+ ## Layer-Position Bindings
60
+
61
+ These show which layers act at which positions (the actual circuit edges):
62
+
63
+ - L21-L35 attention reads from P73-P98
64
+ - L28-L35 MLP writes to P113-P138
65
+
66
+ ## Methodology Notes
67
+
68
+ - **Noising** (disruption): Replace clean activation with corrupted → measures necessity
69
+ - **Denoising** (recovery): Replace corrupted activation with clean → measures sufficiency
70
+ - High noising + low denoising = necessary but has backups (OR relationship)
71
+ - High noising + high denoising = necessary AND sufficient (AND relationship)
72
+ - The redundancy gap (noising - denoising) indicates how replaceable a component is
73
+ - **Denoising-only positions filtered**: Positions where denoising >> noising are excluded
74
+ as they indicate artifacts rather than true circuit components
75
+
76
+ ## Circuit Diagram
77
+
78
+ See information_flow_diagram.png for a visual representation.
pairs/pair_13/sweep_component_comparison/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Component Comparison Plots
2
+
3
+ This directory contains activation patching analysis visualizations organized
4
+ into five categories. Each plot has a figure number for easy reference.
5
+
6
+ ## Quick Start
7
+
8
+ 1. **Check 01_sanity_checks/** first - if these fail, results are unreliable
9
+ 2. **Read 05_circuit_synthesis/circuit_summary.txt** for the plain-text explanation
10
+ 3. **View 05_circuit_synthesis/information_flow_diagram.png** for the visual summary
11
+ 4. Drill into other folders for detailed analysis
12
+
13
+ ---
14
+
15
+ ## Directory Structure
16
+
17
+ ### 01_sanity_checks/
18
+ *Validation plots - check these first. If they fail, everything else is suspect.*
19
+
20
+ | Fig | File | Description |
21
+ |-----|------|-------------|
22
+ | 1.1 | resid_delta_sanity.png | Compares resid_pre[L+1] vs resid_post[L] (should match) |
23
+ | 1.2 | resid_delta_difference.png | Difference plot with +/-0.02 tolerance band |
24
+
25
+ ### 02_overview/
26
+ *The big picture: "Where does the computation happen?"*
27
+
28
+ | Fig | File | Description |
29
+ |-----|------|-------------|
30
+ | 2.1 | heatmap_layers_denoising.png | Layer × Component attribution (denoising recovery) |
31
+ | 2.2 | heatmap_layers_noising.png | Layer × Component attribution (noising disruption) |
32
+ | 2.3 | heatmap_layers_colnorm_denoising.png | Column-normalized heatmap (reveals fine structure) |
33
+ | 2.4 | heatmap_layers_colnorm_noising.png | Column-normalized heatmap (noising) |
34
+ | 2.5 | heatmap_positions_denoising.png | Position × Component attribution (denoising) |
35
+ | 2.6 | heatmap_positions_noising.png | Position × Component attribution (noising) |
36
+ | 2.7 | layer_position_heatmap.png | Layer × Position importance map (2D localization) |
37
+
38
+ ### 03_component_decomp/
39
+ *Drilling in: "Is it attention or MLP? Which specific components?"*
40
+
41
+ | Fig | File | Description |
42
+ |-----|------|-------------|
43
+ | 3.1 | attn_vs_mlp_layer.png | Attention vs MLP scatter by layer |
44
+ | 3.2 | attn_vs_mlp_position.png | Attention vs MLP scatter by position |
45
+ | 3.3 | attn_vs_mlp_paired.png | Paired scatter with arrows (denoising→noising movement) |
46
+ | 3.4 | component_importance_ranked.png | Top components ranked with same-layer linking |
47
+ | 3.5 | cumulative_recovery.png | Cumulative recovery with dip annotations |
48
+ | 3.6 | marginal_contribution.png | Per-layer marginal contribution |
49
+ | 3.7 | position_component_interaction.png | Effect vs position for each component |
50
+ | 3.8 | position_interaction_zoomed.png | Zoomed panels for hub regions |
51
+
52
+ ### 04_redundancy/
53
+ *Methodology comparison: "Can I trust the scores? What has backup pathways?"*
54
+
55
+ | Fig | File | Description |
56
+ |-----|------|-------------|
57
+ | 4.1 | noise_vs_denoise_per_component_layer.png | Noising vs denoising scatter (layers) |
58
+ | 4.2 | noise_vs_denoise_per_component_position.png | Noising vs denoising scatter (positions) |
59
+ | 4.3 | redundancy_gap.png | Redundancy gap (disruption - recovery) per layer |
60
+ | 4.4 | redundancy_gap_sorted.png | Redundancy gap sorted by magnitude |
61
+ | 4.5 | difference_heatmap_layer.png | Redundancy gap heatmap (layers) |
62
+ | 4.6 | difference_heatmap_position.png | Redundancy gap heatmap (positions) |
63
+
64
+ ### 05_circuit_synthesis/
65
+ *The punchline: synthesized information flow.*
66
+
67
+ | Fig | File | Description |
68
+ |-----|------|-------------|
69
+ | 5.1 | information_flow_diagram.png | Circuit summary with redundancy and bottleneck annotations |
70
+ | — | circuit_summary.txt | Plain-text explanation of the circuit hypothesis |
71
+
72
+ ---
73
+
74
+ ## Interpretation Guide
75
+
76
+ ### Scatter Plot Regions
77
+ - **AND region** (upper-right): High in both → necessary AND sufficient
78
+ - **OR region** (lower-right): High denoising, low noising → has backup pathways
79
+
80
+ ### Redundancy Gap
81
+ - **Positive gap** (disruption > recovery): Component is necessary
82
+ - **Negative gap** (recovery > disruption): Component is sufficient but replaceable
83
+
84
+ ### Scores in Circuit Diagram
85
+ - Format: noising_disruption / denoising_recovery
86
+ - Higher noising = more necessary (corrupting it breaks the model)
87
+ - Higher denoising = more sufficient (restoring it fixes the model)
88
+
89
+ ### Visual Conventions
90
+ - ★ = Multi-function layer (appears in both attention and MLP top lists)
91
+ - Colored brackets = Same-layer components (e.g., L24_attn and L24_mlp)
92
+ - Red thick arrow = Critical bottleneck path
93
+ - Dashed arrow = Backup/bypass pathway
94
+
95
+ ---
96
+
97
+ ## Colormap Reference
98
+
99
+ | Plot Type | Colormap | Interpretation |
100
+ |-----------|----------|----------------|
101
+ | Recovery/Disruption heatmaps | RdYlGn | Green=high, Red=low |
102
+ | 2D localization map | Hot | White=high, Black=low |
103
+ | Redundancy gap heatmaps | RdBu_r | Red=necessity, Blue=sufficiency |
104
+ | Layer/position scatter | Viridis | Yellow=late, Purple=early |
pairs/pair_13/sweep_mlp_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/sweep_resid_post/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_13/sweep_resid_pre/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_14/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 14,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.84179688,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 4.48828125,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": 0.0036602,
13
+ "cosine_to_initial": 1.0,
14
+ "attn_out_diff_norm": 1.71386719,
15
+ "mlp_out_diff_norm": 3.66015625
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.84570312,
20
+ "cosine_to_prev": 0.84179688,
21
+ "diff_norm": 5.92578125,
22
+ "attn_rotation_angle": 21.91564461,
23
+ "mlp_rotation_angle": 26.73886417,
24
+ "total_rotation_angle": 32.66964556,
25
+ "cosine_to_logit": 0.00804901,
26
+ "cosine_to_initial": 0.84179688,
27
+ "attn_out_diff_norm": 1.8515625,
28
+ "mlp_out_diff_norm": 2.6875
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.86914062,
33
+ "cosine_to_prev": 0.84570312,
34
+ "diff_norm": 7.74609375,
35
+ "attn_rotation_angle": 22.7982481,
36
+ "mlp_rotation_angle": 25.27125019,
37
+ "total_rotation_angle": 32.25265166,
38
+ "cosine_to_logit": 0.00788116,
39
+ "cosine_to_initial": 0.72753906,
40
+ "attn_out_diff_norm": 2.5078125,
41
+ "mlp_out_diff_norm": 3.34960938
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.84570312,
46
+ "cosine_to_prev": 0.86914062,
47
+ "diff_norm": 10.0625,
48
+ "attn_rotation_angle": 22.94221722,
49
+ "mlp_rotation_angle": 24.67486463,
50
+ "total_rotation_angle": 29.64107235,
51
+ "cosine_to_logit": 0.00090504,
52
+ "cosine_to_initial": 0.64941406,
53
+ "attn_out_diff_norm": 3.40234375,
54
+ "mlp_out_diff_norm": 4.23046875
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.82226562,
59
+ "cosine_to_prev": 0.84570312,
60
+ "diff_norm": 13.984375,
61
+ "attn_rotation_angle": 16.95325531,
62
+ "mlp_rotation_angle": 28.72302313,
63
+ "total_rotation_angle": 32.25265166,
64
+ "cosine_to_logit": 0.00745392,
65
+ "cosine_to_initial": 0.58984375,
66
+ "attn_out_diff_norm": 3.19335938,
67
+ "mlp_out_diff_norm": 6.87109375
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.81835938,
72
+ "cosine_to_prev": 0.82226562,
73
+ "diff_norm": 18.125,
74
+ "attn_rotation_angle": 18.15899963,
75
+ "mlp_rotation_angle": 31.51108481,
76
+ "total_rotation_angle": 34.68776116,
77
+ "cosine_to_logit": -0.00121307,
78
+ "cosine_to_initial": 0.50732422,
79
+ "attn_out_diff_norm": 4.5234375,
80
+ "mlp_out_diff_norm": 9.4765625
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.84716797,
85
+ "cosine_to_prev": 0.81835938,
86
+ "diff_norm": 22.171875,
87
+ "attn_rotation_angle": 19.20704303,
88
+ "mlp_rotation_angle": 30.58898833,
89
+ "total_rotation_angle": 35.07910347,
90
+ "cosine_to_logit": 0.00351524,
91
+ "cosine_to_initial": 0.44921875,
92
+ "attn_out_diff_norm": 6.4140625,
93
+ "mlp_out_diff_norm": 11.296875
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.85986328,
98
+ "cosine_to_prev": 0.84716797,
99
+ "diff_norm": 24.40625,
100
+ "attn_rotation_angle": 19.20704303,
101
+ "mlp_rotation_angle": 27.1708971,
102
+ "total_rotation_angle": 32.0950348,
103
+ "cosine_to_logit": 0.00943756,
104
+ "cosine_to_initial": 0.39941406,
105
+ "attn_out_diff_norm": 7.7578125,
106
+ "mlp_out_diff_norm": 11.3125
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.83105469,
111
+ "cosine_to_prev": 0.85986328,
112
+ "diff_norm": 25.421875,
113
+ "attn_rotation_angle": 12.9389058,
114
+ "mlp_rotation_angle": 28.54789114,
115
+ "total_rotation_angle": 30.69876442,
116
+ "cosine_to_logit": 0.0098877,
117
+ "cosine_to_initial": 0.37548828,
118
+ "attn_out_diff_norm": 5.625,
119
+ "mlp_out_diff_norm": 12.3984375
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.85400391,
124
+ "cosine_to_prev": 0.83105469,
125
+ "diff_norm": 25.0,
126
+ "attn_rotation_angle": 16.95325531,
127
+ "mlp_rotation_angle": 30.31297783,
128
+ "total_rotation_angle": 33.79276718,
129
+ "cosine_to_logit": 0.01808167,
130
+ "cosine_to_initial": 0.36401367,
131
+ "attn_out_diff_norm": 7.62109375,
132
+ "mlp_out_diff_norm": 13.40625
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.86425781,
137
+ "cosine_to_prev": 0.85400391,
138
+ "diff_norm": 23.90625,
139
+ "attn_rotation_angle": 16.46675379,
140
+ "mlp_rotation_angle": 28.13536927,
141
+ "total_rotation_angle": 31.35013575,
142
+ "cosine_to_logit": 0.00529099,
143
+ "cosine_to_initial": 0.36450195,
144
+ "attn_out_diff_norm": 7.078125,
145
+ "mlp_out_diff_norm": 11.9140625
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.86914062,
150
+ "cosine_to_prev": 0.86425781,
151
+ "diff_norm": 24.0,
152
+ "attn_rotation_angle": 18.60260519,
153
+ "mlp_rotation_angle": 27.04811055,
154
+ "total_rotation_angle": 30.2019351,
155
+ "cosine_to_logit": 0.01561737,
156
+ "cosine_to_initial": 0.33984375,
157
+ "attn_out_diff_norm": 7.8125,
158
+ "mlp_out_diff_norm": 11.3125
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.81542969,
163
+ "cosine_to_prev": 0.86914062,
164
+ "diff_norm": 24.0625,
165
+ "attn_rotation_angle": 22.43450039,
166
+ "mlp_rotation_angle": 24.67486463,
167
+ "total_rotation_angle": 29.64107235,
168
+ "cosine_to_logit": 0.03092957,
169
+ "cosine_to_initial": 0.32397461,
170
+ "attn_out_diff_norm": 9.7890625,
171
+ "mlp_out_diff_norm": 10.7265625
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.83203125,
176
+ "cosine_to_prev": 0.81542969,
177
+ "diff_norm": 25.984375,
178
+ "attn_rotation_angle": 20.2027311,
179
+ "mlp_rotation_angle": 31.24242288,
180
+ "total_rotation_angle": 35.37012941,
181
+ "cosine_to_logit": 0.02455139,
182
+ "cosine_to_initial": 0.27368164,
183
+ "attn_out_diff_norm": 9.0078125,
184
+ "mlp_out_diff_norm": 14.0
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.87744141,
189
+ "cosine_to_prev": 0.83203125,
190
+ "diff_norm": 25.453125,
191
+ "attn_rotation_angle": 21.46143212,
192
+ "mlp_rotation_angle": 28.72302313,
193
+ "total_rotation_angle": 33.69203459,
194
+ "cosine_to_logit": 0.01360321,
195
+ "cosine_to_initial": 0.27075195,
196
+ "attn_out_diff_norm": 9.7109375,
197
+ "mlp_out_diff_norm": 12.8515625
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.86279297,
202
+ "cosine_to_prev": 0.87744141,
203
+ "diff_norm": 24.84375,
204
+ "attn_rotation_angle": 14.47387181,
205
+ "mlp_rotation_angle": 26.98652364,
206
+ "total_rotation_angle": 28.66475462,
207
+ "cosine_to_logit": 0.0091629,
208
+ "cosine_to_initial": 0.28491211,
209
+ "attn_out_diff_norm": 6.453125,
210
+ "mlp_out_diff_norm": 11.9375
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.84716797,
215
+ "cosine_to_prev": 0.86279297,
216
+ "diff_norm": 26.28125,
217
+ "attn_rotation_angle": 19.71092522,
218
+ "mlp_rotation_angle": 26.30026579,
219
+ "total_rotation_angle": 30.36836136,
220
+ "cosine_to_logit": 0.01041412,
221
+ "cosine_to_initial": 0.2824707,
222
+ "attn_out_diff_norm": 8.96875,
223
+ "mlp_out_diff_norm": 11.9921875
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.85351562,
228
+ "cosine_to_prev": 0.84716797,
229
+ "diff_norm": 28.75,
230
+ "attn_rotation_angle": 20.84116352,
231
+ "mlp_rotation_angle": 28.54789114,
232
+ "total_rotation_angle": 32.0950348,
233
+ "cosine_to_logit": 0.00479889,
234
+ "cosine_to_initial": 0.26269531,
235
+ "attn_out_diff_norm": 10.2578125,
236
+ "mlp_out_diff_norm": 14.1875
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.80322266,
241
+ "cosine_to_prev": 0.85351562,
242
+ "diff_norm": 32.53125,
243
+ "attn_rotation_angle": 15.6578351,
244
+ "mlp_rotation_angle": 29.24266024,
245
+ "total_rotation_angle": 31.4038677,
246
+ "cosine_to_logit": 0.01158142,
247
+ "cosine_to_initial": 0.24511719,
248
+ "attn_out_diff_norm": 7.9921875,
249
+ "mlp_out_diff_norm": 15.953125
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.83544922,
254
+ "cosine_to_prev": 0.80322266,
255
+ "diff_norm": 39.8125,
256
+ "attn_rotation_angle": 24.06464933,
257
+ "mlp_rotation_angle": 30.97166804,
258
+ "total_rotation_angle": 36.56104524,
259
+ "cosine_to_logit": -0.00022161,
260
+ "cosine_to_initial": 0.20581055,
261
+ "attn_out_diff_norm": 15.2109375,
262
+ "mlp_out_diff_norm": 20.6875
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.80664062,
267
+ "cosine_to_prev": 0.83544922,
268
+ "diff_norm": 44.375,
269
+ "attn_rotation_angle": 18.06901679,
270
+ "mlp_rotation_angle": 30.42365368,
271
+ "total_rotation_angle": 33.33735707,
272
+ "cosine_to_logit": -0.0096817,
273
+ "cosine_to_initial": 0.1730957,
274
+ "attn_out_diff_norm": 12.953125,
275
+ "mlp_out_diff_norm": 22.6875
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.7890625,
280
+ "cosine_to_prev": 0.80664062,
281
+ "diff_norm": 50.375,
282
+ "attn_rotation_angle": 24.26965519,
283
+ "mlp_rotation_angle": 30.86276766,
284
+ "total_rotation_angle": 36.231002,
285
+ "cosine_to_logit": -0.0014677,
286
+ "cosine_to_initial": 0.15759277,
287
+ "attn_out_diff_norm": 19.734375,
288
+ "mlp_out_diff_norm": 26.21875
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.81347656,
293
+ "cosine_to_prev": 0.7890625,
294
+ "diff_norm": 55.09375,
295
+ "attn_rotation_angle": 26.80097764,
296
+ "mlp_rotation_angle": 29.81033661,
297
+ "total_rotation_angle": 37.90201322,
298
+ "cosine_to_logit": 0.01997375,
299
+ "cosine_to_initial": 0.13793945,
300
+ "attn_out_diff_norm": 24.140625,
301
+ "mlp_out_diff_norm": 27.875
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.85253906,
306
+ "cosine_to_prev": 0.81347656,
307
+ "diff_norm": 68.875,
308
+ "attn_rotation_angle": 23.22762238,
309
+ "mlp_rotation_angle": 29.01275972,
310
+ "total_rotation_angle": 35.56299484,
311
+ "cosine_to_logit": 0.02444458,
312
+ "cosine_to_initial": 0.13464355,
313
+ "attn_out_diff_norm": 24.96875,
314
+ "mlp_out_diff_norm": 33.5
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.92529297,
319
+ "cosine_to_prev": 0.85253906,
320
+ "diff_norm": 84.625,
321
+ "attn_rotation_angle": 21.23085773,
322
+ "mlp_rotation_angle": 21.99047861,
323
+ "total_rotation_angle": 31.51108481,
324
+ "cosine_to_logit": 0.04724121,
325
+ "cosine_to_initial": 0.15368652,
326
+ "attn_out_diff_norm": 29.609375,
327
+ "mlp_out_diff_norm": 31.828125
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.90771484,
332
+ "cosine_to_prev": 0.92529297,
333
+ "diff_norm": 88.4375,
334
+ "attn_rotation_angle": 12.29859952,
335
+ "mlp_rotation_angle": 19.79370689,
336
+ "total_rotation_angle": 22.28742629,
337
+ "cosine_to_logit": 0.03591919,
338
+ "cosine_to_initial": 0.17456055,
339
+ "attn_out_diff_norm": 18.109375,
340
+ "mlp_out_diff_norm": 30.03125
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.95507812,
345
+ "cosine_to_prev": 0.90771484,
346
+ "diff_norm": 102.8125,
347
+ "attn_rotation_angle": 15.13089284,
348
+ "mlp_rotation_angle": 19.95828131,
349
+ "total_rotation_angle": 24.80855432,
350
+ "cosine_to_logit": 0.05957031,
351
+ "cosine_to_initial": 0.1595459,
352
+ "attn_out_diff_norm": 25.734375,
353
+ "mlp_out_diff_norm": 35.1875
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.89599609,
358
+ "cosine_to_prev": 0.95507812,
359
+ "diff_norm": 108.875,
360
+ "attn_rotation_angle": 7.38750841,
361
+ "mlp_rotation_angle": 15.76116076,
362
+ "total_rotation_angle": 17.23875519,
363
+ "cosine_to_logit": 0.06530762,
364
+ "cosine_to_initial": 0.14709473,
365
+ "attn_out_diff_norm": 13.6328125,
366
+ "mlp_out_diff_norm": 29.640625
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.91943359,
371
+ "cosine_to_prev": 0.89599609,
372
+ "diff_norm": 127.3125,
373
+ "attn_rotation_angle": 20.68332326,
374
+ "mlp_rotation_angle": 18.06901679,
375
+ "total_rotation_angle": 26.36333709,
376
+ "cosine_to_logit": 0.0802002,
377
+ "cosine_to_initial": 0.13623047,
378
+ "attn_out_diff_norm": 41.8125,
379
+ "mlp_out_diff_norm": 39.5
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.94970703,
384
+ "cosine_to_prev": 0.91943359,
385
+ "diff_norm": 145.375,
386
+ "attn_rotation_angle": 16.06725185,
387
+ "mlp_rotation_angle": 16.56516459,
388
+ "total_rotation_angle": 23.15658282,
389
+ "cosine_to_logit": 0.14904785,
390
+ "cosine_to_initial": 0.13549805,
391
+ "attn_out_diff_norm": 38.4375,
392
+ "mlp_out_diff_norm": 41.46875
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": 0.93652344,
397
+ "cosine_to_prev": 0.94970703,
398
+ "diff_norm": 170.5,
399
+ "attn_rotation_angle": 11.3425853,
400
+ "mlp_rotation_angle": 14.91503011,
401
+ "total_rotation_angle": 18.24855365,
402
+ "cosine_to_logit": 0.14135742,
403
+ "cosine_to_initial": 0.12280273,
404
+ "attn_out_diff_norm": 33.15625,
405
+ "mlp_out_diff_norm": 44.9375
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": 0.92724609,
410
+ "cosine_to_prev": 0.93652344,
411
+ "diff_norm": 191.625,
412
+ "attn_rotation_angle": 6.9387895,
413
+ "mlp_rotation_angle": 19.46055184,
414
+ "total_rotation_angle": 20.52432277,
415
+ "cosine_to_logit": 0.19165039,
416
+ "cosine_to_initial": 0.11383057,
417
+ "attn_out_diff_norm": 20.796875,
418
+ "mlp_out_diff_norm": 64.5625
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": 0.0,
423
+ "cosine_to_prev": 0.92724609,
424
+ "diff_norm": 225.375,
425
+ "attn_rotation_angle": 12.42925713,
426
+ "mlp_rotation_angle": 19.03623337,
427
+ "total_rotation_angle": 21.99047861,
428
+ "cosine_to_logit": 0.15332031,
429
+ "cosine_to_initial": 0.10565186,
430
+ "attn_out_diff_norm": 45.0625,
431
+ "mlp_out_diff_norm": 74.25
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": "NaN",
436
+ "cosine_to_prev": 0.0,
437
+ "diff_norm": "Inf",
438
+ "attn_rotation_angle": 6.9387895,
439
+ "mlp_rotation_angle": 90.0,
440
+ "total_rotation_angle": 90.0,
441
+ "cosine_to_logit": 0.0,
442
+ "cosine_to_initial": 0.0,
443
+ "attn_out_diff_norm": 30.078125,
444
+ "mlp_out_diff_norm": 86.9375
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": "NaN",
449
+ "cosine_to_prev": "NaN",
450
+ "diff_norm": "Inf",
451
+ "attn_rotation_angle": "NaN",
452
+ "mlp_rotation_angle": "NaN",
453
+ "total_rotation_angle": "NaN",
454
+ "cosine_to_logit": 0.0,
455
+ "cosine_to_initial": 0.0,
456
+ "attn_out_diff_norm": 64.875,
457
+ "mlp_out_diff_norm": 139.875
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": "NaN",
463
+ "diff_norm": "Inf",
464
+ "attn_rotation_angle": "NaN",
465
+ "mlp_rotation_angle": "NaN",
466
+ "total_rotation_angle": "NaN",
467
+ "cosine_to_logit": 0.0,
468
+ "cosine_to_initial": 0.0,
469
+ "attn_out_diff_norm": 95.5625,
470
+ "mlp_out_diff_norm": 184.75
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "144": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 4.48828125,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 5.92578125,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 7.74609375,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 10.0625,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 13.984375,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 18.125,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 22.171875,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 24.40625,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 25.421875,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 25.0,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 23.90625,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 24.0,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 24.0625,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 25.984375,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 25.453125,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 24.84375,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 26.28125,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 28.75,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 32.53125,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 39.8125,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 44.375,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 50.375,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 55.09375,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 68.875,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 84.625,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 88.4375,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 102.8125,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 108.875,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 127.3125,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 145.375,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": 170.5,
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": 191.625,
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": 225.375,
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": "Inf",
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": "Inf",
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": "Inf",
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 144
947
+ }
pairs/pair_14/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_14/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_14/sweep_component_comparison/.DS_Store ADDED
Binary file (8.2 kB). View file
 
pairs/pair_14/sweep_mlp_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_14/sweep_resid_post/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_14/sweep_resid_pre/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_15/att_patching/att_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_15/diffmeans/diffmeans_results.json ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pair_idx": 15,
3
+ "layer_results": [
4
+ {
5
+ "layer": 0,
6
+ "cosine_to_next": 0.85693359,
7
+ "cosine_to_prev": null,
8
+ "diff_norm": 5.3203125,
9
+ "attn_rotation_angle": null,
10
+ "mlp_rotation_angle": null,
11
+ "total_rotation_angle": null,
12
+ "cosine_to_logit": -0.02528381,
13
+ "cosine_to_initial": 1.0,
14
+ "attn_out_diff_norm": 2.95898438,
15
+ "mlp_out_diff_norm": 3.48046875
16
+ },
17
+ {
18
+ "layer": 1,
19
+ "cosine_to_next": 0.81445312,
20
+ "cosine_to_prev": 0.85693359,
21
+ "diff_norm": 6.66015625,
22
+ "attn_rotation_angle": 25.07393005,
23
+ "mlp_rotation_angle": 19.87615755,
24
+ "total_rotation_angle": 31.02598909,
25
+ "cosine_to_logit": -0.0272522,
26
+ "cosine_to_initial": 0.85693359,
27
+ "attn_out_diff_norm": 2.53515625,
28
+ "mlp_out_diff_norm": 2.28125
29
+ },
30
+ {
31
+ "layer": 2,
32
+ "cosine_to_next": 0.80957031,
33
+ "cosine_to_prev": 0.81445312,
34
+ "diff_norm": 8.7421875,
35
+ "attn_rotation_angle": 27.47564494,
36
+ "mlp_rotation_angle": 23.99594819,
37
+ "total_rotation_angle": 35.46667603,
38
+ "cosine_to_logit": -0.01951599,
39
+ "cosine_to_initial": 0.69824219,
40
+ "attn_out_diff_norm": 3.578125,
41
+ "mlp_out_diff_norm": 3.56445312
42
+ },
43
+ {
44
+ "layer": 3,
45
+ "cosine_to_next": 0.84814453,
46
+ "cosine_to_prev": 0.80957031,
47
+ "diff_norm": 12.3125,
48
+ "attn_rotation_angle": 24.60776456,
49
+ "mlp_rotation_angle": 28.89718368,
50
+ "total_rotation_angle": 35.94602899,
51
+ "cosine_to_logit": -0.02154541,
52
+ "cosine_to_initial": 0.56298828,
53
+ "attn_out_diff_norm": 4.33984375,
54
+ "mlp_out_diff_norm": 5.96484375
55
+ },
56
+ {
57
+ "layer": 4,
58
+ "cosine_to_next": 0.82910156,
59
+ "cosine_to_prev": 0.84814453,
60
+ "diff_norm": 17.5,
61
+ "attn_rotation_angle": 18.77721464,
62
+ "mlp_rotation_angle": 29.24266024,
63
+ "total_rotation_angle": 31.98957175,
64
+ "cosine_to_logit": -0.01219177,
65
+ "cosine_to_initial": 0.53955078,
66
+ "attn_out_diff_norm": 4.39453125,
67
+ "mlp_out_diff_norm": 8.7109375
68
+ },
69
+ {
70
+ "layer": 5,
71
+ "cosine_to_next": 0.81494141,
72
+ "cosine_to_prev": 0.82910156,
73
+ "diff_norm": 23.046875,
74
+ "attn_rotation_angle": 17.23875519,
75
+ "mlp_rotation_angle": 31.02598909,
76
+ "total_rotation_angle": 33.99344293,
77
+ "cosine_to_logit": -0.0117569,
78
+ "cosine_to_initial": 0.50830078,
79
+ "attn_out_diff_norm": 5.625,
80
+ "mlp_out_diff_norm": 11.9296875
81
+ },
82
+ {
83
+ "layer": 6,
84
+ "cosine_to_next": 0.83642578,
85
+ "cosine_to_prev": 0.81494141,
86
+ "diff_norm": 29.640625,
87
+ "attn_rotation_angle": 18.514705,
88
+ "mlp_rotation_angle": 32.04234204,
89
+ "total_rotation_angle": 35.41843132,
90
+ "cosine_to_logit": 0.00386238,
91
+ "cosine_to_initial": 0.43432617,
92
+ "attn_out_diff_norm": 7.95703125,
93
+ "mlp_out_diff_norm": 15.71875
94
+ },
95
+ {
96
+ "layer": 7,
97
+ "cosine_to_next": 0.83642578,
98
+ "cosine_to_prev": 0.83642578,
99
+ "diff_norm": 34.84375,
100
+ "attn_rotation_angle": 17.42656771,
101
+ "mlp_rotation_angle": 29.29987823,
102
+ "total_rotation_angle": 33.23540653,
103
+ "cosine_to_logit": 0.0199585,
104
+ "cosine_to_initial": 0.37109375,
105
+ "attn_out_diff_norm": 9.5,
106
+ "mlp_out_diff_norm": 17.0625
107
+ },
108
+ {
109
+ "layer": 8,
110
+ "cosine_to_next": 0.84912109,
111
+ "cosine_to_prev": 0.83642578,
112
+ "diff_norm": 40.1875,
113
+ "attn_rotation_angle": 17.04893731,
114
+ "mlp_rotation_angle": 30.14627488,
115
+ "total_rotation_angle": 33.23540653,
116
+ "cosine_to_logit": 0.01481628,
117
+ "cosine_to_initial": 0.32983398,
118
+ "attn_out_diff_norm": 10.8828125,
119
+ "mlp_out_diff_norm": 20.359375
120
+ },
121
+ {
122
+ "layer": 9,
123
+ "cosine_to_next": 0.82861328,
124
+ "cosine_to_prev": 0.84912109,
125
+ "diff_norm": 41.53125,
126
+ "attn_rotation_angle": 13.4295441,
127
+ "mlp_rotation_angle": 30.14627488,
128
+ "total_rotation_angle": 31.883797,
129
+ "cosine_to_logit": -0.01672363,
130
+ "cosine_to_initial": 0.33276367,
131
+ "attn_out_diff_norm": 9.546875,
132
+ "mlp_out_diff_norm": 21.515625
133
+ },
134
+ {
135
+ "layer": 10,
136
+ "cosine_to_next": 0.87597656,
137
+ "cosine_to_prev": 0.82861328,
138
+ "diff_norm": 42.15625,
139
+ "attn_rotation_angle": 17.61243907,
140
+ "mlp_rotation_angle": 30.69876442,
141
+ "total_rotation_angle": 34.04344913,
142
+ "cosine_to_logit": -0.01933289,
143
+ "cosine_to_initial": 0.33740234,
144
+ "attn_out_diff_norm": 12.8515625,
145
+ "mlp_out_diff_norm": 22.40625
146
+ },
147
+ {
148
+ "layer": 11,
149
+ "cosine_to_next": 0.87011719,
150
+ "cosine_to_prev": 0.87597656,
151
+ "diff_norm": 43.65625,
152
+ "attn_rotation_angle": 14.80594576,
153
+ "mlp_rotation_angle": 27.10956807,
154
+ "total_rotation_angle": 28.839237,
155
+ "cosine_to_logit": -0.02984619,
156
+ "cosine_to_initial": 0.32324219,
157
+ "attn_out_diff_norm": 11.3984375,
158
+ "mlp_out_diff_norm": 20.609375
159
+ },
160
+ {
161
+ "layer": 12,
162
+ "cosine_to_next": 0.87744141,
163
+ "cosine_to_prev": 0.87011719,
164
+ "diff_norm": 45.1875,
165
+ "attn_rotation_angle": 17.04893731,
166
+ "mlp_rotation_angle": 27.29317314,
167
+ "total_rotation_angle": 29.5277397,
168
+ "cosine_to_logit": -0.03540039,
169
+ "cosine_to_initial": 0.33032227,
170
+ "attn_out_diff_norm": 13.0703125,
171
+ "mlp_out_diff_norm": 21.140625
172
+ },
173
+ {
174
+ "layer": 13,
175
+ "cosine_to_next": 0.88183594,
176
+ "cosine_to_prev": 0.87744141,
177
+ "diff_norm": 47.75,
178
+ "attn_rotation_angle": 16.36776779,
179
+ "mlp_rotation_angle": 26.67661676,
180
+ "total_rotation_angle": 28.66475462,
181
+ "cosine_to_logit": -0.03207397,
182
+ "cosine_to_initial": 0.30126953,
183
+ "attn_out_diff_norm": 13.484375,
184
+ "mlp_out_diff_norm": 22.15625
185
+ },
186
+ {
187
+ "layer": 14,
188
+ "cosine_to_next": 0.89941406,
189
+ "cosine_to_prev": 0.88183594,
190
+ "diff_norm": 48.5,
191
+ "attn_rotation_angle": 17.70466596,
192
+ "mlp_rotation_angle": 25.20563725,
193
+ "total_rotation_angle": 28.13536927,
194
+ "cosine_to_logit": -0.0461731,
195
+ "cosine_to_initial": 0.29223633,
196
+ "attn_out_diff_norm": 15.0,
197
+ "mlp_out_diff_norm": 21.40625
198
+ },
199
+ {
200
+ "layer": 15,
201
+ "cosine_to_next": 0.92333984,
202
+ "cosine_to_prev": 0.89941406,
203
+ "diff_norm": 51.3125,
204
+ "attn_rotation_angle": 15.34378896,
205
+ "mlp_rotation_angle": 23.92706149,
206
+ "total_rotation_angle": 25.91884507,
207
+ "cosine_to_logit": -0.03585815,
208
+ "cosine_to_initial": 0.27783203,
209
+ "attn_out_diff_norm": 13.4296875,
210
+ "mlp_out_diff_norm": 21.28125
211
+ },
212
+ {
213
+ "layer": 16,
214
+ "cosine_to_next": 0.91601562,
215
+ "cosine_to_prev": 0.92333984,
216
+ "diff_norm": 50.21875,
217
+ "attn_rotation_angle": 11.76168917,
218
+ "mlp_rotation_angle": 22.58066573,
219
+ "total_rotation_angle": 22.58066573,
220
+ "cosine_to_logit": -0.03744507,
221
+ "cosine_to_initial": 0.2902832,
222
+ "attn_out_diff_norm": 10.546875,
223
+ "mlp_out_diff_norm": 20.234375
224
+ },
225
+ {
226
+ "layer": 17,
227
+ "cosine_to_next": 0.91503906,
228
+ "cosine_to_prev": 0.91601562,
229
+ "diff_norm": 55.09375,
230
+ "attn_rotation_angle": 17.61243907,
231
+ "mlp_rotation_angle": 23.78872495,
232
+ "total_rotation_angle": 23.64962653,
233
+ "cosine_to_logit": -0.01652527,
234
+ "cosine_to_initial": 0.26831055,
235
+ "attn_out_diff_norm": 16.3125,
236
+ "mlp_out_diff_norm": 22.4375
237
+ },
238
+ {
239
+ "layer": 18,
240
+ "cosine_to_next": 0.89355469,
241
+ "cosine_to_prev": 0.91503906,
242
+ "diff_norm": 60.09375,
243
+ "attn_rotation_angle": 16.85704626,
244
+ "mlp_rotation_angle": 21.68967004,
245
+ "total_rotation_angle": 23.78872495,
246
+ "cosine_to_logit": -0.00272179,
247
+ "cosine_to_initial": 0.2644043,
248
+ "attn_out_diff_norm": 16.9375,
249
+ "mlp_out_diff_norm": 22.4375
250
+ },
251
+ {
252
+ "layer": 19,
253
+ "cosine_to_next": 0.91064453,
254
+ "cosine_to_prev": 0.89355469,
255
+ "diff_norm": 68.9375,
256
+ "attn_rotation_angle": 18.60260519,
257
+ "mlp_rotation_angle": 23.92706149,
258
+ "total_rotation_angle": 26.67661676,
259
+ "cosine_to_logit": 0.00357819,
260
+ "cosine_to_initial": 0.2668457,
261
+ "attn_out_diff_norm": 21.984375,
262
+ "mlp_out_diff_norm": 28.46875
263
+ },
264
+ {
265
+ "layer": 20,
266
+ "cosine_to_next": 0.90771484,
267
+ "cosine_to_prev": 0.91064453,
268
+ "diff_norm": 75.125,
269
+ "attn_rotation_angle": 16.46675379,
270
+ "mlp_rotation_angle": 21.84056688,
271
+ "total_rotation_angle": 24.40542653,
272
+ "cosine_to_logit": 0.00355721,
273
+ "cosine_to_initial": 0.26538086,
274
+ "attn_out_diff_norm": 21.0,
275
+ "mlp_out_diff_norm": 28.171875
276
+ },
277
+ {
278
+ "layer": 21,
279
+ "cosine_to_next": 0.88623047,
280
+ "cosine_to_prev": 0.90771484,
281
+ "diff_norm": 81.375,
282
+ "attn_rotation_angle": 16.95325531,
283
+ "mlp_rotation_angle": 22.06507135,
284
+ "total_rotation_angle": 24.80855432,
285
+ "cosine_to_logit": -0.00449371,
286
+ "cosine_to_initial": 0.25195312,
287
+ "attn_out_diff_norm": 23.65625,
288
+ "mlp_out_diff_norm": 31.03125
289
+ },
290
+ {
291
+ "layer": 22,
292
+ "cosine_to_next": 0.88720703,
293
+ "cosine_to_prev": 0.88623047,
294
+ "diff_norm": 88.0,
295
+ "attn_rotation_angle": 18.06901679,
296
+ "mlp_rotation_angle": 24.47304694,
297
+ "total_rotation_angle": 27.59667439,
298
+ "cosine_to_logit": -0.00963593,
299
+ "cosine_to_initial": 0.24560547,
300
+ "attn_out_diff_norm": 26.28125,
301
+ "mlp_out_diff_norm": 36.75
302
+ },
303
+ {
304
+ "layer": 23,
305
+ "cosine_to_next": 0.91308594,
306
+ "cosine_to_prev": 0.88720703,
307
+ "diff_norm": 107.0625,
308
+ "attn_rotation_angle": 18.24855365,
309
+ "mlp_rotation_angle": 25.20563725,
310
+ "total_rotation_angle": 27.47564494,
311
+ "cosine_to_logit": -8.345e-05,
312
+ "cosine_to_initial": 0.23730469,
313
+ "attn_out_diff_norm": 30.5625,
314
+ "mlp_out_diff_norm": 45.6875
315
+ },
316
+ {
317
+ "layer": 24,
318
+ "cosine_to_next": 0.93554688,
319
+ "cosine_to_prev": 0.91308594,
320
+ "diff_norm": 119.75,
321
+ "attn_rotation_angle": 17.14410107,
322
+ "mlp_rotation_angle": 18.95027278,
323
+ "total_rotation_angle": 24.06464933,
324
+ "cosine_to_logit": -0.00707626,
325
+ "cosine_to_initial": 0.23278809,
326
+ "attn_out_diff_norm": 33.65625,
327
+ "mlp_out_diff_norm": 38.8125
328
+ },
329
+ {
330
+ "layer": 25,
331
+ "cosine_to_next": 0.93945312,
332
+ "cosine_to_prev": 0.93554688,
333
+ "diff_norm": 132.5,
334
+ "attn_rotation_angle": 11.8981549,
335
+ "mlp_rotation_angle": 17.97859869,
336
+ "total_rotation_angle": 20.68332326,
337
+ "cosine_to_logit": -0.02079773,
338
+ "cosine_to_initial": 0.24682617,
339
+ "attn_out_diff_norm": 25.390625,
340
+ "mlp_out_diff_norm": 41.0
341
+ },
342
+ {
343
+ "layer": 26,
344
+ "cosine_to_next": 0.94335938,
345
+ "cosine_to_prev": 0.93945312,
346
+ "diff_norm": 145.375,
347
+ "attn_rotation_angle": 9.13944576,
348
+ "mlp_rotation_angle": 17.79643014,
349
+ "total_rotation_angle": 20.04008221,
350
+ "cosine_to_logit": -0.02175903,
351
+ "cosine_to_initial": 0.22851562,
352
+ "attn_out_diff_norm": 21.78125,
353
+ "mlp_out_diff_norm": 44.5625
354
+ },
355
+ {
356
+ "layer": 27,
357
+ "cosine_to_next": 0.88916016,
358
+ "cosine_to_prev": 0.94335938,
359
+ "diff_norm": 159.875,
360
+ "attn_rotation_angle": 9.98166163,
361
+ "mlp_rotation_angle": 17.14410107,
362
+ "total_rotation_angle": 19.37640334,
363
+ "cosine_to_logit": -0.02253723,
364
+ "cosine_to_initial": 0.21008301,
365
+ "attn_out_diff_norm": 26.359375,
366
+ "mlp_out_diff_norm": 47.125
367
+ },
368
+ {
369
+ "layer": 28,
370
+ "cosine_to_next": 0.91455078,
371
+ "cosine_to_prev": 0.88916016,
372
+ "diff_norm": 198.625,
373
+ "attn_rotation_angle": 14.13416846,
374
+ "mlp_rotation_angle": 23.71927181,
375
+ "total_rotation_angle": 27.2320985,
376
+ "cosine_to_logit": -0.00548553,
377
+ "cosine_to_initial": 0.19555664,
378
+ "attn_out_diff_norm": 42.8125,
379
+ "mlp_out_diff_norm": 80.1875
380
+ },
381
+ {
382
+ "layer": 29,
383
+ "cosine_to_next": 0.0,
384
+ "cosine_to_prev": 0.91455078,
385
+ "diff_norm": 227.625,
386
+ "attn_rotation_angle": 10.75875798,
387
+ "mlp_rotation_angle": 21.61384575,
388
+ "total_rotation_angle": 23.85798762,
389
+ "cosine_to_logit": -0.02078247,
390
+ "cosine_to_initial": 0.17297363,
391
+ "attn_out_diff_norm": 37.34375,
392
+ "mlp_out_diff_norm": 84.0625
393
+ },
394
+ {
395
+ "layer": 30,
396
+ "cosine_to_next": "NaN",
397
+ "cosine_to_prev": 0.0,
398
+ "diff_norm": "Inf",
399
+ "attn_rotation_angle": 8.59495992,
400
+ "mlp_rotation_angle": 90.0,
401
+ "total_rotation_angle": 90.0,
402
+ "cosine_to_logit": 0.0,
403
+ "cosine_to_initial": 0.0,
404
+ "attn_out_diff_norm": 36.3125,
405
+ "mlp_out_diff_norm": 94.25
406
+ },
407
+ {
408
+ "layer": 31,
409
+ "cosine_to_next": "NaN",
410
+ "cosine_to_prev": "NaN",
411
+ "diff_norm": "Inf",
412
+ "attn_rotation_angle": "NaN",
413
+ "mlp_rotation_angle": "NaN",
414
+ "total_rotation_angle": "NaN",
415
+ "cosine_to_logit": 0.0,
416
+ "cosine_to_initial": 0.0,
417
+ "attn_out_diff_norm": 56.53125,
418
+ "mlp_out_diff_norm": 115.4375
419
+ },
420
+ {
421
+ "layer": 32,
422
+ "cosine_to_next": "NaN",
423
+ "cosine_to_prev": "NaN",
424
+ "diff_norm": "Inf",
425
+ "attn_rotation_angle": "NaN",
426
+ "mlp_rotation_angle": "NaN",
427
+ "total_rotation_angle": "NaN",
428
+ "cosine_to_logit": 0.0,
429
+ "cosine_to_initial": 0.0,
430
+ "attn_out_diff_norm": 63.59375,
431
+ "mlp_out_diff_norm": 118.5625
432
+ },
433
+ {
434
+ "layer": 33,
435
+ "cosine_to_next": "NaN",
436
+ "cosine_to_prev": "NaN",
437
+ "diff_norm": "Inf",
438
+ "attn_rotation_angle": "NaN",
439
+ "mlp_rotation_angle": "NaN",
440
+ "total_rotation_angle": "NaN",
441
+ "cosine_to_logit": 0.0,
442
+ "cosine_to_initial": 0.0,
443
+ "attn_out_diff_norm": 40.125,
444
+ "mlp_out_diff_norm": 146.75
445
+ },
446
+ {
447
+ "layer": 34,
448
+ "cosine_to_next": "NaN",
449
+ "cosine_to_prev": "NaN",
450
+ "diff_norm": "Inf",
451
+ "attn_rotation_angle": "NaN",
452
+ "mlp_rotation_angle": "NaN",
453
+ "total_rotation_angle": "NaN",
454
+ "cosine_to_logit": 0.0,
455
+ "cosine_to_initial": 0.0,
456
+ "attn_out_diff_norm": 103.25,
457
+ "mlp_out_diff_norm": 204.25
458
+ },
459
+ {
460
+ "layer": 35,
461
+ "cosine_to_next": null,
462
+ "cosine_to_prev": "NaN",
463
+ "diff_norm": "Inf",
464
+ "attn_rotation_angle": "NaN",
465
+ "mlp_rotation_angle": "NaN",
466
+ "total_rotation_angle": "NaN",
467
+ "cosine_to_logit": 0.0,
468
+ "cosine_to_initial": 0.0,
469
+ "attn_out_diff_norm": 172.25,
470
+ "mlp_out_diff_norm": "Inf"
471
+ }
472
+ ],
473
+ "positions_analyzed": 1,
474
+ "position_results": {
475
+ "133": [
476
+ {
477
+ "layer": 0,
478
+ "cosine_to_next": null,
479
+ "cosine_to_prev": null,
480
+ "diff_norm": 5.3203125,
481
+ "attn_rotation_angle": null,
482
+ "mlp_rotation_angle": null,
483
+ "total_rotation_angle": null,
484
+ "cosine_to_logit": null,
485
+ "cosine_to_initial": null,
486
+ "attn_out_diff_norm": null,
487
+ "mlp_out_diff_norm": null
488
+ },
489
+ {
490
+ "layer": 1,
491
+ "cosine_to_next": null,
492
+ "cosine_to_prev": null,
493
+ "diff_norm": 6.66015625,
494
+ "attn_rotation_angle": null,
495
+ "mlp_rotation_angle": null,
496
+ "total_rotation_angle": null,
497
+ "cosine_to_logit": null,
498
+ "cosine_to_initial": null,
499
+ "attn_out_diff_norm": null,
500
+ "mlp_out_diff_norm": null
501
+ },
502
+ {
503
+ "layer": 2,
504
+ "cosine_to_next": null,
505
+ "cosine_to_prev": null,
506
+ "diff_norm": 8.7421875,
507
+ "attn_rotation_angle": null,
508
+ "mlp_rotation_angle": null,
509
+ "total_rotation_angle": null,
510
+ "cosine_to_logit": null,
511
+ "cosine_to_initial": null,
512
+ "attn_out_diff_norm": null,
513
+ "mlp_out_diff_norm": null
514
+ },
515
+ {
516
+ "layer": 3,
517
+ "cosine_to_next": null,
518
+ "cosine_to_prev": null,
519
+ "diff_norm": 12.3125,
520
+ "attn_rotation_angle": null,
521
+ "mlp_rotation_angle": null,
522
+ "total_rotation_angle": null,
523
+ "cosine_to_logit": null,
524
+ "cosine_to_initial": null,
525
+ "attn_out_diff_norm": null,
526
+ "mlp_out_diff_norm": null
527
+ },
528
+ {
529
+ "layer": 4,
530
+ "cosine_to_next": null,
531
+ "cosine_to_prev": null,
532
+ "diff_norm": 17.5,
533
+ "attn_rotation_angle": null,
534
+ "mlp_rotation_angle": null,
535
+ "total_rotation_angle": null,
536
+ "cosine_to_logit": null,
537
+ "cosine_to_initial": null,
538
+ "attn_out_diff_norm": null,
539
+ "mlp_out_diff_norm": null
540
+ },
541
+ {
542
+ "layer": 5,
543
+ "cosine_to_next": null,
544
+ "cosine_to_prev": null,
545
+ "diff_norm": 23.046875,
546
+ "attn_rotation_angle": null,
547
+ "mlp_rotation_angle": null,
548
+ "total_rotation_angle": null,
549
+ "cosine_to_logit": null,
550
+ "cosine_to_initial": null,
551
+ "attn_out_diff_norm": null,
552
+ "mlp_out_diff_norm": null
553
+ },
554
+ {
555
+ "layer": 6,
556
+ "cosine_to_next": null,
557
+ "cosine_to_prev": null,
558
+ "diff_norm": 29.640625,
559
+ "attn_rotation_angle": null,
560
+ "mlp_rotation_angle": null,
561
+ "total_rotation_angle": null,
562
+ "cosine_to_logit": null,
563
+ "cosine_to_initial": null,
564
+ "attn_out_diff_norm": null,
565
+ "mlp_out_diff_norm": null
566
+ },
567
+ {
568
+ "layer": 7,
569
+ "cosine_to_next": null,
570
+ "cosine_to_prev": null,
571
+ "diff_norm": 34.84375,
572
+ "attn_rotation_angle": null,
573
+ "mlp_rotation_angle": null,
574
+ "total_rotation_angle": null,
575
+ "cosine_to_logit": null,
576
+ "cosine_to_initial": null,
577
+ "attn_out_diff_norm": null,
578
+ "mlp_out_diff_norm": null
579
+ },
580
+ {
581
+ "layer": 8,
582
+ "cosine_to_next": null,
583
+ "cosine_to_prev": null,
584
+ "diff_norm": 40.1875,
585
+ "attn_rotation_angle": null,
586
+ "mlp_rotation_angle": null,
587
+ "total_rotation_angle": null,
588
+ "cosine_to_logit": null,
589
+ "cosine_to_initial": null,
590
+ "attn_out_diff_norm": null,
591
+ "mlp_out_diff_norm": null
592
+ },
593
+ {
594
+ "layer": 9,
595
+ "cosine_to_next": null,
596
+ "cosine_to_prev": null,
597
+ "diff_norm": 41.53125,
598
+ "attn_rotation_angle": null,
599
+ "mlp_rotation_angle": null,
600
+ "total_rotation_angle": null,
601
+ "cosine_to_logit": null,
602
+ "cosine_to_initial": null,
603
+ "attn_out_diff_norm": null,
604
+ "mlp_out_diff_norm": null
605
+ },
606
+ {
607
+ "layer": 10,
608
+ "cosine_to_next": null,
609
+ "cosine_to_prev": null,
610
+ "diff_norm": 42.15625,
611
+ "attn_rotation_angle": null,
612
+ "mlp_rotation_angle": null,
613
+ "total_rotation_angle": null,
614
+ "cosine_to_logit": null,
615
+ "cosine_to_initial": null,
616
+ "attn_out_diff_norm": null,
617
+ "mlp_out_diff_norm": null
618
+ },
619
+ {
620
+ "layer": 11,
621
+ "cosine_to_next": null,
622
+ "cosine_to_prev": null,
623
+ "diff_norm": 43.65625,
624
+ "attn_rotation_angle": null,
625
+ "mlp_rotation_angle": null,
626
+ "total_rotation_angle": null,
627
+ "cosine_to_logit": null,
628
+ "cosine_to_initial": null,
629
+ "attn_out_diff_norm": null,
630
+ "mlp_out_diff_norm": null
631
+ },
632
+ {
633
+ "layer": 12,
634
+ "cosine_to_next": null,
635
+ "cosine_to_prev": null,
636
+ "diff_norm": 45.1875,
637
+ "attn_rotation_angle": null,
638
+ "mlp_rotation_angle": null,
639
+ "total_rotation_angle": null,
640
+ "cosine_to_logit": null,
641
+ "cosine_to_initial": null,
642
+ "attn_out_diff_norm": null,
643
+ "mlp_out_diff_norm": null
644
+ },
645
+ {
646
+ "layer": 13,
647
+ "cosine_to_next": null,
648
+ "cosine_to_prev": null,
649
+ "diff_norm": 47.75,
650
+ "attn_rotation_angle": null,
651
+ "mlp_rotation_angle": null,
652
+ "total_rotation_angle": null,
653
+ "cosine_to_logit": null,
654
+ "cosine_to_initial": null,
655
+ "attn_out_diff_norm": null,
656
+ "mlp_out_diff_norm": null
657
+ },
658
+ {
659
+ "layer": 14,
660
+ "cosine_to_next": null,
661
+ "cosine_to_prev": null,
662
+ "diff_norm": 48.5,
663
+ "attn_rotation_angle": null,
664
+ "mlp_rotation_angle": null,
665
+ "total_rotation_angle": null,
666
+ "cosine_to_logit": null,
667
+ "cosine_to_initial": null,
668
+ "attn_out_diff_norm": null,
669
+ "mlp_out_diff_norm": null
670
+ },
671
+ {
672
+ "layer": 15,
673
+ "cosine_to_next": null,
674
+ "cosine_to_prev": null,
675
+ "diff_norm": 51.3125,
676
+ "attn_rotation_angle": null,
677
+ "mlp_rotation_angle": null,
678
+ "total_rotation_angle": null,
679
+ "cosine_to_logit": null,
680
+ "cosine_to_initial": null,
681
+ "attn_out_diff_norm": null,
682
+ "mlp_out_diff_norm": null
683
+ },
684
+ {
685
+ "layer": 16,
686
+ "cosine_to_next": null,
687
+ "cosine_to_prev": null,
688
+ "diff_norm": 50.21875,
689
+ "attn_rotation_angle": null,
690
+ "mlp_rotation_angle": null,
691
+ "total_rotation_angle": null,
692
+ "cosine_to_logit": null,
693
+ "cosine_to_initial": null,
694
+ "attn_out_diff_norm": null,
695
+ "mlp_out_diff_norm": null
696
+ },
697
+ {
698
+ "layer": 17,
699
+ "cosine_to_next": null,
700
+ "cosine_to_prev": null,
701
+ "diff_norm": 55.09375,
702
+ "attn_rotation_angle": null,
703
+ "mlp_rotation_angle": null,
704
+ "total_rotation_angle": null,
705
+ "cosine_to_logit": null,
706
+ "cosine_to_initial": null,
707
+ "attn_out_diff_norm": null,
708
+ "mlp_out_diff_norm": null
709
+ },
710
+ {
711
+ "layer": 18,
712
+ "cosine_to_next": null,
713
+ "cosine_to_prev": null,
714
+ "diff_norm": 60.09375,
715
+ "attn_rotation_angle": null,
716
+ "mlp_rotation_angle": null,
717
+ "total_rotation_angle": null,
718
+ "cosine_to_logit": null,
719
+ "cosine_to_initial": null,
720
+ "attn_out_diff_norm": null,
721
+ "mlp_out_diff_norm": null
722
+ },
723
+ {
724
+ "layer": 19,
725
+ "cosine_to_next": null,
726
+ "cosine_to_prev": null,
727
+ "diff_norm": 68.9375,
728
+ "attn_rotation_angle": null,
729
+ "mlp_rotation_angle": null,
730
+ "total_rotation_angle": null,
731
+ "cosine_to_logit": null,
732
+ "cosine_to_initial": null,
733
+ "attn_out_diff_norm": null,
734
+ "mlp_out_diff_norm": null
735
+ },
736
+ {
737
+ "layer": 20,
738
+ "cosine_to_next": null,
739
+ "cosine_to_prev": null,
740
+ "diff_norm": 75.125,
741
+ "attn_rotation_angle": null,
742
+ "mlp_rotation_angle": null,
743
+ "total_rotation_angle": null,
744
+ "cosine_to_logit": null,
745
+ "cosine_to_initial": null,
746
+ "attn_out_diff_norm": null,
747
+ "mlp_out_diff_norm": null
748
+ },
749
+ {
750
+ "layer": 21,
751
+ "cosine_to_next": null,
752
+ "cosine_to_prev": null,
753
+ "diff_norm": 81.375,
754
+ "attn_rotation_angle": null,
755
+ "mlp_rotation_angle": null,
756
+ "total_rotation_angle": null,
757
+ "cosine_to_logit": null,
758
+ "cosine_to_initial": null,
759
+ "attn_out_diff_norm": null,
760
+ "mlp_out_diff_norm": null
761
+ },
762
+ {
763
+ "layer": 22,
764
+ "cosine_to_next": null,
765
+ "cosine_to_prev": null,
766
+ "diff_norm": 88.0,
767
+ "attn_rotation_angle": null,
768
+ "mlp_rotation_angle": null,
769
+ "total_rotation_angle": null,
770
+ "cosine_to_logit": null,
771
+ "cosine_to_initial": null,
772
+ "attn_out_diff_norm": null,
773
+ "mlp_out_diff_norm": null
774
+ },
775
+ {
776
+ "layer": 23,
777
+ "cosine_to_next": null,
778
+ "cosine_to_prev": null,
779
+ "diff_norm": 107.0625,
780
+ "attn_rotation_angle": null,
781
+ "mlp_rotation_angle": null,
782
+ "total_rotation_angle": null,
783
+ "cosine_to_logit": null,
784
+ "cosine_to_initial": null,
785
+ "attn_out_diff_norm": null,
786
+ "mlp_out_diff_norm": null
787
+ },
788
+ {
789
+ "layer": 24,
790
+ "cosine_to_next": null,
791
+ "cosine_to_prev": null,
792
+ "diff_norm": 119.75,
793
+ "attn_rotation_angle": null,
794
+ "mlp_rotation_angle": null,
795
+ "total_rotation_angle": null,
796
+ "cosine_to_logit": null,
797
+ "cosine_to_initial": null,
798
+ "attn_out_diff_norm": null,
799
+ "mlp_out_diff_norm": null
800
+ },
801
+ {
802
+ "layer": 25,
803
+ "cosine_to_next": null,
804
+ "cosine_to_prev": null,
805
+ "diff_norm": 132.5,
806
+ "attn_rotation_angle": null,
807
+ "mlp_rotation_angle": null,
808
+ "total_rotation_angle": null,
809
+ "cosine_to_logit": null,
810
+ "cosine_to_initial": null,
811
+ "attn_out_diff_norm": null,
812
+ "mlp_out_diff_norm": null
813
+ },
814
+ {
815
+ "layer": 26,
816
+ "cosine_to_next": null,
817
+ "cosine_to_prev": null,
818
+ "diff_norm": 145.375,
819
+ "attn_rotation_angle": null,
820
+ "mlp_rotation_angle": null,
821
+ "total_rotation_angle": null,
822
+ "cosine_to_logit": null,
823
+ "cosine_to_initial": null,
824
+ "attn_out_diff_norm": null,
825
+ "mlp_out_diff_norm": null
826
+ },
827
+ {
828
+ "layer": 27,
829
+ "cosine_to_next": null,
830
+ "cosine_to_prev": null,
831
+ "diff_norm": 159.875,
832
+ "attn_rotation_angle": null,
833
+ "mlp_rotation_angle": null,
834
+ "total_rotation_angle": null,
835
+ "cosine_to_logit": null,
836
+ "cosine_to_initial": null,
837
+ "attn_out_diff_norm": null,
838
+ "mlp_out_diff_norm": null
839
+ },
840
+ {
841
+ "layer": 28,
842
+ "cosine_to_next": null,
843
+ "cosine_to_prev": null,
844
+ "diff_norm": 198.625,
845
+ "attn_rotation_angle": null,
846
+ "mlp_rotation_angle": null,
847
+ "total_rotation_angle": null,
848
+ "cosine_to_logit": null,
849
+ "cosine_to_initial": null,
850
+ "attn_out_diff_norm": null,
851
+ "mlp_out_diff_norm": null
852
+ },
853
+ {
854
+ "layer": 29,
855
+ "cosine_to_next": null,
856
+ "cosine_to_prev": null,
857
+ "diff_norm": 227.625,
858
+ "attn_rotation_angle": null,
859
+ "mlp_rotation_angle": null,
860
+ "total_rotation_angle": null,
861
+ "cosine_to_logit": null,
862
+ "cosine_to_initial": null,
863
+ "attn_out_diff_norm": null,
864
+ "mlp_out_diff_norm": null
865
+ },
866
+ {
867
+ "layer": 30,
868
+ "cosine_to_next": null,
869
+ "cosine_to_prev": null,
870
+ "diff_norm": "Inf",
871
+ "attn_rotation_angle": null,
872
+ "mlp_rotation_angle": null,
873
+ "total_rotation_angle": null,
874
+ "cosine_to_logit": null,
875
+ "cosine_to_initial": null,
876
+ "attn_out_diff_norm": null,
877
+ "mlp_out_diff_norm": null
878
+ },
879
+ {
880
+ "layer": 31,
881
+ "cosine_to_next": null,
882
+ "cosine_to_prev": null,
883
+ "diff_norm": "Inf",
884
+ "attn_rotation_angle": null,
885
+ "mlp_rotation_angle": null,
886
+ "total_rotation_angle": null,
887
+ "cosine_to_logit": null,
888
+ "cosine_to_initial": null,
889
+ "attn_out_diff_norm": null,
890
+ "mlp_out_diff_norm": null
891
+ },
892
+ {
893
+ "layer": 32,
894
+ "cosine_to_next": null,
895
+ "cosine_to_prev": null,
896
+ "diff_norm": "Inf",
897
+ "attn_rotation_angle": null,
898
+ "mlp_rotation_angle": null,
899
+ "total_rotation_angle": null,
900
+ "cosine_to_logit": null,
901
+ "cosine_to_initial": null,
902
+ "attn_out_diff_norm": null,
903
+ "mlp_out_diff_norm": null
904
+ },
905
+ {
906
+ "layer": 33,
907
+ "cosine_to_next": null,
908
+ "cosine_to_prev": null,
909
+ "diff_norm": "Inf",
910
+ "attn_rotation_angle": null,
911
+ "mlp_rotation_angle": null,
912
+ "total_rotation_angle": null,
913
+ "cosine_to_logit": null,
914
+ "cosine_to_initial": null,
915
+ "attn_out_diff_norm": null,
916
+ "mlp_out_diff_norm": null
917
+ },
918
+ {
919
+ "layer": 34,
920
+ "cosine_to_next": null,
921
+ "cosine_to_prev": null,
922
+ "diff_norm": "Inf",
923
+ "attn_rotation_angle": null,
924
+ "mlp_rotation_angle": null,
925
+ "total_rotation_angle": null,
926
+ "cosine_to_logit": null,
927
+ "cosine_to_initial": null,
928
+ "attn_out_diff_norm": null,
929
+ "mlp_out_diff_norm": null
930
+ },
931
+ {
932
+ "layer": 35,
933
+ "cosine_to_next": null,
934
+ "cosine_to_prev": null,
935
+ "diff_norm": "Inf",
936
+ "attn_rotation_angle": null,
937
+ "mlp_rotation_angle": null,
938
+ "total_rotation_angle": null,
939
+ "cosine_to_logit": null,
940
+ "cosine_to_initial": null,
941
+ "attn_out_diff_norm": null,
942
+ "mlp_out_diff_norm": null
943
+ }
944
+ ]
945
+ },
946
+ "primary_position": 133
947
+ }
pairs/pair_15/geo/geo_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_15/sweep_attn_out/coarse_results.json ADDED
The diff for this file is too large to render. See raw diff
 
pairs/pair_15/sweep_component_comparison/.DS_Store ADDED
Binary file (8.2 kB). View file
 
pairs/pair_15/sweep_component_comparison/05_circuit_synthesis/circuit_summary.txt ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Circuit Summary
2
+
3
+ This document summarizes the inferred circuit from activation patching analysis.
4
+ Scores shown as: noising_disruption / denoising_recovery
5
+
6
+ ## Key Finding: Two-Phase Architecture
7
+
8
+ The circuit operates in two phases:
9
+ 1. **Attention phase**: Attention heads read from source positions and route information
10
+ 2. **MLP phase**: MLP layers transform and write to destination positions
11
+
12
+ ## Source Positions (Early)
13
+
14
+ Found 4 key source positions (1 have backup pathways):
15
+ - P83: 1.115/0.012 (important)
16
+ - P78: 0.665/0.035 (important)
17
+ - P73: 0.107/0.982 (REDUNDANT - has backups)
18
+ - P98: 0.012/-0.001 (important)
19
+
20
+ Interpretation: Redundant positions have denoising > noising, meaning
21
+ the model can recover even when these positions are corrupted (backup pathways exist).
22
+
23
+ ## Attention Layers
24
+
25
+ Top attention layers (ranked by noising disruption):
26
+ - L24: 0.130/0.287
27
+ - L29: 0.085/0.160 ★ MULTI-FUNCTION
28
+ - L35: 0.059/0.030 ★ MULTI-FUNCTION
29
+ - L30: 0.058/0.155
30
+ - L21: 0.039/0.247
31
+
32
+ These layers read from source positions and route information.
33
+ Multi-function layers (L29, L35) appear in both attention AND MLP top lists,
34
+ suggesting they do double-duty processing.
35
+
36
+ ## MLP Layers
37
+
38
+ Top MLP layers (ranked by noising disruption):
39
+ - L35: 0.236/0.265 ★ MULTI-FUNCTION
40
+ - L34: 0.162/0.133
41
+ - L31: 0.117/0.169
42
+ - L29: 0.046/0.037 ★ MULTI-FUNCTION
43
+ - L28: 0.040/0.133
44
+
45
+ These layers transform information and write to destination positions.
46
+
47
+ ## Destination Positions (Late) - THE BOTTLENECK
48
+
49
+ Found 4 key destination positions:
50
+ - P143: 1.000/0.000 (★ BOTTLENECK)
51
+ - P138: 0.254/0.000 (secondary)
52
+ - P118: 0.030/-0.005 (secondary)
53
+ - P133: 0.007/0.000 (secondary)
54
+
55
+ CRITICAL: 1 position(s) are true bottlenecks (noising > 0.5).
56
+ Corrupting these positions severely disrupts the model's output.
57
+ This is where the final answer is computed.
58
+
59
+ ## Layer-Position Bindings
60
+
61
+ These show which layers act at which positions (the actual circuit edges):
62
+
63
+ - L21-L35 attention reads from P73-P98
64
+ - L28-L35 MLP writes to P118-P143
65
+
66
+ ## Methodology Notes
67
+
68
+ - **Noising** (disruption): Replace clean activation with corrupted → measures necessity
69
+ - **Denoising** (recovery): Replace corrupted activation with clean → measures sufficiency
70
+ - High noising + low denoising = necessary but has backups (OR relationship)
71
+ - High noising + high denoising = necessary AND sufficient (AND relationship)
72
+ - The redundancy gap (noising - denoising) indicates how replaceable a component is
73
+ - **Denoising-only positions filtered**: Positions where denoising >> noising are excluded
74
+ as they indicate artifacts rather than true circuit components
75
+
76
+ ## Circuit Diagram
77
+
78
+ See information_flow_diagram.png for a visual representation.