File size: 9,434 Bytes
f36843f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
{
  "environment": {
    "model": "Qwen/Qwen2.5-1.5B-Instruct",
    "revision": "989aa7980e4cf806f80c7fef2b1adb7bc71aa306",
    "torch": "2.11.0",
    "transformers": "4.57.6",
    "platform": "macOS-26.6.2-arm64-arm-64bit",
    "device": "cpu",
    "dtype": "torch.float32",
    "attention": "sdpa",
    "threads": 4
  },
  "arguments": {
    "model": "Qwen/Qwen2.5-1.5B-Instruct",
    "revision": "989aa7980e4cf806f80c7fef2b1adb7bc71aa306",
    "device": "cpu",
    "dtype": "float32",
    "presets": [
      "fintech_fraud"
    ],
    "fields": [
      4,
      16,
      28
    ],
    "repeats": 6,
    "warmup": 2,
    "threads": 4,
    "output": "h2h_cpu.json"
  },
  "cases": [
    {
      "preset": "fintech_fraud",
      "fields": 4,
      "decisions_identical": true,
      "upstream_json": {
        "is_fraudulent": true,
        "risk_tier": "HIGH",
        "recommended_action": "BLOCK_TRANSACTION",
        "primary_anomaly": "IP_GEOLOCATION_MISMATCH"
      },
      "release_json": {
        "is_fraudulent": true,
        "risk_tier": "HIGH",
        "recommended_action": "BLOCK_TRANSACTION",
        "primary_anomaly": "IP_GEOLOCATION_MISMATCH"
      },
      "collision_fields": [],
      "wall": {
        "upstream_batch": {
          "median_ms": 548.3662289989297,
          "min_ms": 533.6810839944519,
          "p90_ms": 712.2898329980671,
          "samples_ms": [
            551.7348329885863,
            712.2898329980671,
            533.6810839944519,
            544.9976250092732,
            538.0564169900026,
            551.9341250037542
          ]
        },
        "release_tree": {
          "median_ms": 484.92377100046724,
          "min_ms": 480.0681250053458,
          "p90_ms": 489.24579200684093,
          "samples_ms": [
            484.3823749979492,
            489.24579200684093,
            480.0681250053458,
            481.98054199747276,
            487.2161670064088,
            485.46516700298525
          ]
        }
      },
      "internal_stage_medians": {
        "upstream_batch": {
          "elapsed_ms": 548.3,
          "prefill_ms": 416.44,
          "suffix_eval_ms": 128.195
        },
        "release_tree": {
          "elapsed_ms": 484.87,
          "prefill_ms": 369.125,
          "suffix_eval_ms": 113.66
        }
      },
      "speedup": 1.13082975467994,
      "speedup_ci95": [
        1.1063364704905627,
        1.2970244628070058
      ]
    },
    {
      "preset": "fintech_fraud",
      "fields": 16,
      "decisions_identical": true,
      "upstream_json": {
        "is_fraudulent": false,
        "risk_tier": "HIGH",
        "recommended_action": "BLOCK_TRANSACTION",
        "primary_anomaly": "TOR_EXIT_NODE",
        "secondary_anomaly": "CARD_NOT_PRESENT",
        "requires_human_escalation": true,
        "can_auto_block": false,
        "aml_sar_filing_required": true,
        "fincen_flag_threshold": true,
        "sanctions_screening_risk": "HIGH_CONFIDENCE_MATCH",
        "tor_exit_node_detected": true,
        "device_fingerprint_mismatch": true,
        "velocity_score": "ELEVATED",
        "block_card_immediately": true,
        "freeze_online_banking": true,
        "notify_cardholder_sms": true
      },
      "release_json": {
        "is_fraudulent": false,
        "risk_tier": "HIGH",
        "recommended_action": "BLOCK_TRANSACTION",
        "primary_anomaly": "TOR_EXIT_NODE",
        "secondary_anomaly": "CARD_NOT_PRESENT",
        "requires_human_escalation": true,
        "can_auto_block": false,
        "aml_sar_filing_required": true,
        "fincen_flag_threshold": true,
        "sanctions_screening_risk": "HIGH_CONFIDENCE_MATCH",
        "tor_exit_node_detected": true,
        "device_fingerprint_mismatch": true,
        "velocity_score": "ELEVATED",
        "block_card_immediately": true,
        "freeze_online_banking": true,
        "notify_cardholder_sms": true
      },
      "collision_fields": [],
      "wall": {
        "upstream_batch": {
          "median_ms": 981.7173124974943,
          "min_ms": 940.7524590060348,
          "p90_ms": 1021.6882499953499,
          "samples_ms": [
            940.7524590060348,
            960.8952910057269,
            992.677874994115,
            1021.6882499953499,
            1007.7015830029268,
            970.7567500008736
          ]
        },
        "release_tree": {
          "median_ms": 799.4022920101997,
          "min_ms": 748.7089589994866,
          "p90_ms": 831.0671670042211,
          "samples_ms": [
            748.7089589994866,
            756.4683340024203,
            805.0330000114627,
            831.0671670042211,
            820.0667500059353,
            793.7715840089368
          ]
        }
      },
      "internal_stage_medians": {
        "upstream_batch": {
          "elapsed_ms": 980.6800000000001,
          "prefill_ms": 639.4549999999999,
          "suffix_eval_ms": 335.36
        },
        "release_tree": {
          "elapsed_ms": 799.34,
          "prefill_ms": 565.895,
          "suffix_eval_ms": 232.09
        }
      },
      "speedup": 1.22806417033011,
      "speedup_ci95": [
        1.222967374440484,
        1.2702386178172165
      ]
    },
    {
      "preset": "fintech_fraud",
      "fields": 28,
      "decisions_identical": true,
      "upstream_json": {
        "is_fraudulent": true,
        "risk_tier": "HIGH",
        "recommended_action": "MANUAL_REVIEW",
        "primary_anomaly": "TOR_EXIT_NODE",
        "secondary_anomaly": "CARD_NOT_PRESENT",
        "requires_human_escalation": true,
        "can_auto_block": true,
        "aml_sar_filing_required": true,
        "fincen_flag_threshold": true,
        "sanctions_screening_risk": "HIGH_CONFIDENCE_MATCH",
        "tor_exit_node_detected": true,
        "device_fingerprint_mismatch": true,
        "velocity_score": "ELEVATED",
        "block_card_immediately": true,
        "freeze_online_banking": true,
        "notify_cardholder_sms": true,
        "notify_cardholder_email": true,
        "requires_identity_verification": true,
        "merchant_category_risk": "HIGH_RISK_CRYPTO",
        "chargeback_probability": "LOW",
        "counterparty_jurisdiction_risk": "TIER_1_LOW",
        "auto_reverse_transfer": true,
        "fraud_ring_association": true,
        "alert_clearing_house": true,
        "escalate_to_fiu": true,
        "confidence_score_tier": "HIGH_CONFIDENCE_FRAUD",
        "loss_prevention_priority": "LOW_PRIORITY",
        "account_takeover_suspected": true
      },
      "release_json": {
        "is_fraudulent": true,
        "risk_tier": "HIGH",
        "recommended_action": "MANUAL_REVIEW",
        "primary_anomaly": "TOR_EXIT_NODE",
        "secondary_anomaly": "CARD_NOT_PRESENT",
        "requires_human_escalation": true,
        "can_auto_block": true,
        "aml_sar_filing_required": true,
        "fincen_flag_threshold": true,
        "sanctions_screening_risk": "HIGH_CONFIDENCE_MATCH",
        "tor_exit_node_detected": true,
        "device_fingerprint_mismatch": true,
        "velocity_score": "ELEVATED",
        "block_card_immediately": true,
        "freeze_online_banking": true,
        "notify_cardholder_sms": true,
        "notify_cardholder_email": true,
        "requires_identity_verification": true,
        "merchant_category_risk": "HIGH_RISK_CRYPTO",
        "chargeback_probability": "LOW",
        "counterparty_jurisdiction_risk": "TIER_1_LOW",
        "auto_reverse_transfer": true,
        "fraud_ring_association": true,
        "alert_clearing_house": true,
        "escalate_to_fiu": true,
        "confidence_score_tier": "HIGH_CONFIDENCE_FRAUD",
        "loss_prevention_priority": "LOW_PRIORITY",
        "account_takeover_suspected": true
      },
      "collision_fields": [
        "counterparty_jurisdiction_risk"
      ],
      "wall": {
        "upstream_batch": {
          "median_ms": 1467.4180835063453,
          "min_ms": 1438.9877909998177,
          "p90_ms": 1560.9218330064323,
          "samples_ms": [
            1455.4514170013135,
            1438.9877909998177,
            1462.3930829984602,
            1473.0905829928815,
            1472.4430840142304,
            1560.9218330064323
          ]
        },
        "release_tree": {
          "median_ms": 1087.4221669946564,
          "min_ms": 1040.6132920033997,
          "p90_ms": 1166.4362079900457,
          "samples_ms": [
            1040.6132920033997,
            1076.157166986377,
            1060.7517919997917,
            1098.687167002936,
            1166.4362079900457,
            1122.5379169918597
          ]
        }
      },
      "internal_stage_medians": {
        "upstream_batch": {
          "elapsed_ms": 1464.3400000000001,
          "prefill_ms": 822.0699999999999,
          "suffix_eval_ms": 637.77
        },
        "release_tree": {
          "elapsed_ms": 1087.355,
          "prefill_ms": 743.6800000000001,
          "suffix_eval_ms": 341.7
        }
      },
      "speedup": 1.3494465425161377,
      "speedup_ci95": [
        1.2865528429910673,
        1.3885471507126947
      ]
    }
  ]
}