Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +368 -0
- parse/dev/0IywQ8uxJx/0IywQ8uxJx.md +708 -0
- parse/dev/0IywQ8uxJx/0IywQ8uxJx_content_list.json +0 -0
- parse/dev/0IywQ8uxJx/0IywQ8uxJx_middle.json +0 -0
- parse/dev/0IywQ8uxJx/0IywQ8uxJx_model.json +0 -0
- parse/dev/17RDXeF-skZ/17RDXeF-skZ.md +343 -0
- parse/dev/17RDXeF-skZ/17RDXeF-skZ_content_list.json +1827 -0
- parse/dev/17RDXeF-skZ/17RDXeF-skZ_middle.json +0 -0
- parse/dev/17RDXeF-skZ/17RDXeF-skZ_model.json +0 -0
- parse/dev/3IyL2XWDkG/3IyL2XWDkG.md +392 -0
- parse/dev/3IyL2XWDkG/3IyL2XWDkG_content_list.json +0 -0
- parse/dev/3IyL2XWDkG/3IyL2XWDkG_middle.json +0 -0
- parse/dev/3IyL2XWDkG/3IyL2XWDkG_model.json +0 -0
- parse/dev/3JvRnAzw_0/3JvRnAzw_0.md +297 -0
- parse/dev/3JvRnAzw_0/3JvRnAzw_0_content_list.json +1597 -0
- parse/dev/3JvRnAzw_0/3JvRnAzw_0_middle.json +0 -0
- parse/dev/3JvRnAzw_0/3JvRnAzw_0_model.json +0 -0
- parse/dev/3Pbra-_u76D/3Pbra-_u76D_content_list.json +1857 -0
- parse/dev/3Pbra-_u76D/3Pbra-_u76D_model.json +0 -0
- parse/dev/5Xc1ecxO1h/5Xc1ecxO1h.md +284 -0
- parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_content_list.json +1386 -0
- parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_middle.json +0 -0
- parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_model.json +0 -0
- parse/dev/5btWTw1vcw1/5btWTw1vcw1.md +350 -0
- parse/dev/5btWTw1vcw1/5btWTw1vcw1_content_list.json +1577 -0
- parse/dev/5btWTw1vcw1/5btWTw1vcw1_middle.json +0 -0
- parse/dev/5btWTw1vcw1/5btWTw1vcw1_model.json +0 -0
- parse/dev/5haAJAcofjc/5haAJAcofjc.md +371 -0
- parse/dev/5haAJAcofjc/5haAJAcofjc_content_list.json +0 -0
- parse/dev/5haAJAcofjc/5haAJAcofjc_middle.json +0 -0
- parse/dev/5haAJAcofjc/5haAJAcofjc_model.json +0 -0
- parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd.md +360 -0
- parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_content_list.json +2021 -0
- parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_middle.json +0 -0
- parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_model.json +0 -0
- parse/dev/6NT1a56mNim/6NT1a56mNim_content_list.json +0 -0
- parse/dev/6NT1a56mNim/6NT1a56mNim_middle.json +0 -0
- parse/dev/6NT1a56mNim/6NT1a56mNim_model.json +0 -0
- parse/dev/9Hrka5PA7LW/9Hrka5PA7LW.md +317 -0
- parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_content_list.json +1662 -0
- parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_middle.json +0 -0
- parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_model.json +0 -0
- parse/dev/9jsZiUgkCZP/9jsZiUgkCZP.md +427 -0
- parse/dev/APuPRxjHvZ/APuPRxjHvZ.md +0 -0
- parse/dev/APuPRxjHvZ/APuPRxjHvZ_content_list.json +0 -0
- parse/dev/APuPRxjHvZ/APuPRxjHvZ_middle.json +0 -0
- parse/dev/APuPRxjHvZ/APuPRxjHvZ_model.json +0 -0
- parse/dev/Bct2f8fRd8S/Bct2f8fRd8S.md +331 -0
- parse/dev/Bct2f8fRd8S/Bct2f8fRd8S_content_list.json +1781 -0
- parse/dev/E0zOKxQsZhN/E0zOKxQsZhN_content_list.json +0 -0
.gitattributes
CHANGED
|
@@ -2311,3 +2311,371 @@ parse/dev/iBBcRUlOAPR/iBBcRUlOAPR_span.pdf filter=lf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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2311 |
parse/dev/2nJdh_C-UWe/2nJdh_C-UWe_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2312 |
parse/dev/A6X9y8n4sT/A6X9y8n4sT_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2313 |
parse/dev/bhUPJnS2g0X/bhUPJnS2g0X_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2314 |
+
parse/train/uDeDDoFOEpj/uDeDDoFOEpj_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2315 |
+
parse/train/rklB76EKPr/rklB76EKPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2316 |
+
parse/train/rklB76EKPr/rklB76EKPr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2317 |
+
parse/train/rklB76EKPr/rklB76EKPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2318 |
+
parse/train/rkxY-sl0W/rkxY-sl0W_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2319 |
+
parse/train/rkxY-sl0W/rkxY-sl0W_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2320 |
+
parse/train/rkxY-sl0W/rkxY-sl0W_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2321 |
+
parse/train/rJiNwv9gg/rJiNwv9gg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2322 |
+
parse/train/rJiNwv9gg/rJiNwv9gg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2323 |
+
parse/train/rJiNwv9gg/rJiNwv9gg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2324 |
+
parse/train/BkeaEyBYDB/BkeaEyBYDB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2325 |
+
parse/train/BkeaEyBYDB/BkeaEyBYDB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2326 |
+
parse/train/BkeaEyBYDB/BkeaEyBYDB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2327 |
+
parse/train/B7v4QMR6Z9w/B7v4QMR6Z9w_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2328 |
+
parse/train/B7v4QMR6Z9w/B7v4QMR6Z9w_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2329 |
+
parse/train/B7v4QMR6Z9w/B7v4QMR6Z9w_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2330 |
+
parse/train/SJx7Jrtgl/SJx7Jrtgl_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2331 |
+
parse/train/SJx7Jrtgl/SJx7Jrtgl_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2332 |
+
parse/train/SJx7Jrtgl/SJx7Jrtgl_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2333 |
+
parse/train/BkV4VS9ll/BkV4VS9ll_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2334 |
+
parse/train/BkV4VS9ll/BkV4VS9ll_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2335 |
+
parse/train/BkV4VS9ll/BkV4VS9ll_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2336 |
+
parse/train/HyGhN2A5tm/HyGhN2A5tm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2337 |
+
parse/train/HyGhN2A5tm/HyGhN2A5tm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2338 |
+
parse/train/HyGhN2A5tm/HyGhN2A5tm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2339 |
+
parse/train/zI38PZQHWKj/zI38PZQHWKj_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2340 |
+
parse/train/zI38PZQHWKj/zI38PZQHWKj_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2341 |
+
parse/train/zI38PZQHWKj/zI38PZQHWKj_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2342 |
+
parse/train/HJxeWnCcF7/HJxeWnCcF7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2343 |
+
parse/train/HJxeWnCcF7/HJxeWnCcF7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2344 |
+
parse/train/HJxeWnCcF7/HJxeWnCcF7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2345 |
+
parse/train/RtNpzLdHUAW/RtNpzLdHUAW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2346 |
+
parse/train/RtNpzLdHUAW/RtNpzLdHUAW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2347 |
+
parse/train/RtNpzLdHUAW/RtNpzLdHUAW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2348 |
+
parse/train/8q_ca26L1fz/8q_ca26L1fz_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2349 |
+
parse/train/8q_ca26L1fz/8q_ca26L1fz_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2350 |
+
parse/train/8q_ca26L1fz/8q_ca26L1fz_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2351 |
+
parse/train/XZDeL25T12l/XZDeL25T12l_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2352 |
+
parse/train/XZDeL25T12l/XZDeL25T12l_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2353 |
+
parse/train/XZDeL25T12l/XZDeL25T12l_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2354 |
+
parse/train/VKVShLsAuZ/VKVShLsAuZ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2355 |
+
parse/train/VKVShLsAuZ/VKVShLsAuZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2356 |
+
parse/train/VKVShLsAuZ/VKVShLsAuZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2357 |
+
parse/train/RQfcckT1M_4/RQfcckT1M_4_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2358 |
+
parse/train/RQfcckT1M_4/RQfcckT1M_4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2359 |
+
parse/train/RQfcckT1M_4/RQfcckT1M_4_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2360 |
+
parse/train/BJLmN8xRW/BJLmN8xRW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2361 |
+
parse/train/BJLmN8xRW/BJLmN8xRW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2362 |
+
parse/train/BJLmN8xRW/BJLmN8xRW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2363 |
+
parse/train/Hyx6Bi0qYm/Hyx6Bi0qYm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2364 |
+
parse/train/Hyx6Bi0qYm/Hyx6Bi0qYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2365 |
+
parse/train/Hyx6Bi0qYm/Hyx6Bi0qYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2366 |
+
parse/train/dBE8OI8_ZOa/dBE8OI8_ZOa_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2367 |
+
parse/train/dBE8OI8_ZOa/dBE8OI8_ZOa_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2368 |
+
parse/train/dBE8OI8_ZOa/dBE8OI8_ZOa_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2369 |
+
parse/train/H1eCw3EKvH/H1eCw3EKvH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2370 |
+
parse/train/H1eCw3EKvH/H1eCw3EKvH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2371 |
+
parse/train/H1eCw3EKvH/H1eCw3EKvH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2372 |
+
parse/train/GrB-y0SNkQ/GrB-y0SNkQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2373 |
+
parse/train/GrB-y0SNkQ/GrB-y0SNkQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2374 |
+
parse/train/GrB-y0SNkQ/GrB-y0SNkQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2375 |
+
parse/train/r1eBeyHFDH/r1eBeyHFDH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2376 |
+
parse/train/r1eBeyHFDH/r1eBeyHFDH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2377 |
+
parse/train/r1eBeyHFDH/r1eBeyHFDH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2378 |
+
parse/train/BJInEZsTb/BJInEZsTb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2379 |
+
parse/train/BJInEZsTb/BJInEZsTb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2380 |
+
parse/train/BJInEZsTb/BJInEZsTb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2381 |
+
parse/train/3EwcMzmUbNd/3EwcMzmUbNd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2382 |
+
parse/train/3EwcMzmUbNd/3EwcMzmUbNd_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2383 |
+
parse/train/3EwcMzmUbNd/3EwcMzmUbNd_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2384 |
+
parse/train/S1lF8xHYwS/S1lF8xHYwS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2385 |
+
parse/train/S1lF8xHYwS/S1lF8xHYwS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2386 |
+
parse/train/S1lF8xHYwS/S1lF8xHYwS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2387 |
+
parse/train/Fo6S5-3Dx_/Fo6S5-3Dx__span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2388 |
+
parse/train/Fo6S5-3Dx_/Fo6S5-3Dx__layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2389 |
+
parse/train/Fo6S5-3Dx_/Fo6S5-3Dx__origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2390 |
+
parse/train/VRgITLy0l2/VRgITLy0l2_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2391 |
+
parse/train/VRgITLy0l2/VRgITLy0l2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2392 |
+
parse/train/VRgITLy0l2/VRgITLy0l2_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2393 |
+
parse/train/Sy1f0e-R-/Sy1f0e-R-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2394 |
+
parse/train/Sy1f0e-R-/Sy1f0e-R-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2395 |
+
parse/train/Sy1f0e-R-/Sy1f0e-R-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2396 |
+
parse/train/2zCRcTafea/2zCRcTafea_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2397 |
+
parse/train/2zCRcTafea/2zCRcTafea_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2398 |
+
parse/train/2zCRcTafea/2zCRcTafea_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2399 |
+
parse/train/H1gBsgBYwH/H1gBsgBYwH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2400 |
+
parse/train/H1gBsgBYwH/H1gBsgBYwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2401 |
+
parse/train/H1gBsgBYwH/H1gBsgBYwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2402 |
+
parse/train/m1CD7tPubNy/m1CD7tPubNy_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2403 |
+
parse/train/m1CD7tPubNy/m1CD7tPubNy_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2404 |
+
parse/train/m1CD7tPubNy/m1CD7tPubNy_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2405 |
+
parse/train/Ig53hpHxS4/Ig53hpHxS4_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2406 |
+
parse/train/Ig53hpHxS4/Ig53hpHxS4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2407 |
+
parse/train/Ig53hpHxS4/Ig53hpHxS4_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2408 |
+
parse/train/UZgGf92u5N0/UZgGf92u5N0_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2409 |
+
parse/train/UZgGf92u5N0/UZgGf92u5N0_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2410 |
+
parse/train/UZgGf92u5N0/UZgGf92u5N0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2411 |
+
parse/train/SkgHtkrYPH/SkgHtkrYPH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2412 |
+
parse/train/SkgHtkrYPH/SkgHtkrYPH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2413 |
+
parse/train/SkgHtkrYPH/SkgHtkrYPH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2414 |
+
parse/train/SkxKPDv5xl/SkxKPDv5xl_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2415 |
+
parse/train/SkxKPDv5xl/SkxKPDv5xl_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2416 |
+
parse/train/SkxKPDv5xl/SkxKPDv5xl_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2417 |
+
parse/train/2F_wnaioS6/2F_wnaioS6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2418 |
+
parse/train/2F_wnaioS6/2F_wnaioS6_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2419 |
+
parse/train/2F_wnaioS6/2F_wnaioS6_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2420 |
+
parse/train/QpU7n-6l0n/QpU7n-6l0n_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2421 |
+
parse/train/QpU7n-6l0n/QpU7n-6l0n_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2422 |
+
parse/train/QpU7n-6l0n/QpU7n-6l0n_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2423 |
+
parse/train/HJ1kmv9xx/HJ1kmv9xx_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2424 |
+
parse/train/HJ1kmv9xx/HJ1kmv9xx_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2425 |
+
parse/train/HJ1kmv9xx/HJ1kmv9xx_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2426 |
+
parse/train/rJfHoM-C-/rJfHoM-C-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2427 |
+
parse/train/rJfHoM-C-/rJfHoM-C-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2428 |
+
parse/train/rJfHoM-C-/rJfHoM-C-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2429 |
+
parse/train/H1xwNhCcYm/H1xwNhCcYm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2430 |
+
parse/train/H1xwNhCcYm/H1xwNhCcYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2431 |
+
parse/train/H1xwNhCcYm/H1xwNhCcYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2432 |
+
parse/train/SJlPOCEKvH/SJlPOCEKvH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2433 |
+
parse/train/SJlPOCEKvH/SJlPOCEKvH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2434 |
+
parse/train/SJlPOCEKvH/SJlPOCEKvH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2435 |
+
parse/train/r1efr3C9Ym/r1efr3C9Ym_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2436 |
+
parse/train/r1efr3C9Ym/r1efr3C9Ym_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2437 |
+
parse/train/r1efr3C9Ym/r1efr3C9Ym_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2438 |
+
parse/train/YicbFdNTTy/YicbFdNTTy_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2439 |
+
parse/train/YicbFdNTTy/YicbFdNTTy_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2440 |
+
parse/train/YicbFdNTTy/YicbFdNTTy_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2441 |
+
parse/train/30EvkP2aQLD/30EvkP2aQLD_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2442 |
+
parse/train/30EvkP2aQLD/30EvkP2aQLD_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2443 |
+
parse/train/30EvkP2aQLD/30EvkP2aQLD_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2444 |
+
parse/train/SJlKrkSFPH/SJlKrkSFPH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2445 |
+
parse/train/SJlKrkSFPH/SJlKrkSFPH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2446 |
+
parse/train/SJlKrkSFPH/SJlKrkSFPH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2447 |
+
parse/train/uKhGRvM8QNH/uKhGRvM8QNH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2448 |
+
parse/train/uKhGRvM8QNH/uKhGRvM8QNH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2449 |
+
parse/train/uKhGRvM8QNH/uKhGRvM8QNH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2450 |
+
parse/train/WGWzwdjm8mS/WGWzwdjm8mS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2451 |
+
parse/train/WGWzwdjm8mS/WGWzwdjm8mS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2452 |
+
parse/train/WGWzwdjm8mS/WGWzwdjm8mS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2453 |
+
parse/train/H11lAfbCW/H11lAfbCW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2454 |
+
parse/train/H11lAfbCW/H11lAfbCW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2455 |
+
parse/train/H11lAfbCW/H11lAfbCW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2456 |
+
parse/train/HkgTkhRcKQ/HkgTkhRcKQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2457 |
+
parse/train/HkgTkhRcKQ/HkgTkhRcKQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2458 |
+
parse/train/HkgTkhRcKQ/HkgTkhRcKQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2459 |
+
parse/train/SJgMK64Ywr/SJgMK64Ywr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2460 |
+
parse/train/SJgMK64Ywr/SJgMK64Ywr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2461 |
+
parse/train/SJgMK64Ywr/SJgMK64Ywr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2462 |
+
parse/train/SJxeI6EYwS/SJxeI6EYwS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2463 |
+
parse/train/SJxeI6EYwS/SJxeI6EYwS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2464 |
+
parse/train/SJxeI6EYwS/SJxeI6EYwS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2465 |
+
parse/train/9DlCh34E1bN/9DlCh34E1bN_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2466 |
+
parse/train/9DlCh34E1bN/9DlCh34E1bN_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2467 |
+
parse/train/9DlCh34E1bN/9DlCh34E1bN_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2468 |
+
parse/train/jtrQswOMLrd/jtrQswOMLrd_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2469 |
+
parse/train/jtrQswOMLrd/jtrQswOMLrd_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2470 |
+
parse/train/jtrQswOMLrd/jtrQswOMLrd_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2471 |
+
parse/train/Hk91SGWR-/Hk91SGWR-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2472 |
+
parse/train/Hk91SGWR-/Hk91SGWR-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2473 |
+
parse/train/Hk91SGWR-/Hk91SGWR-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2474 |
+
parse/train/CMsvjAnW1zE/CMsvjAnW1zE_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2475 |
+
parse/train/CMsvjAnW1zE/CMsvjAnW1zE_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2476 |
+
parse/train/CMsvjAnW1zE/CMsvjAnW1zE_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2477 |
+
parse/train/EQbyD_KG6w-1h/EQbyD_KG6w-1h_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2478 |
+
parse/train/EQbyD_KG6w-1h/EQbyD_KG6w-1h_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2479 |
+
parse/train/EQbyD_KG6w-1h/EQbyD_KG6w-1h_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2480 |
+
parse/train/rJl8FoRcY7/rJl8FoRcY7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2481 |
+
parse/train/rJl8FoRcY7/rJl8FoRcY7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2482 |
+
parse/train/rJl8FoRcY7/rJl8FoRcY7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2483 |
+
parse/train/rklp93EtwH/rklp93EtwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2484 |
+
parse/train/rklp93EtwH/rklp93EtwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2485 |
+
parse/train/rklp93EtwH/rklp93EtwH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2486 |
+
parse/train/ryxnHhRqFm/ryxnHhRqFm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2487 |
+
parse/train/ryxnHhRqFm/ryxnHhRqFm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2488 |
+
parse/train/ryxnHhRqFm/ryxnHhRqFm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2489 |
+
parse/train/BkxAUjRqY7/BkxAUjRqY7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2490 |
+
parse/train/BkxAUjRqY7/BkxAUjRqY7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2491 |
+
parse/train/BkxAUjRqY7/BkxAUjRqY7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2492 |
+
parse/train/S1gfu3EtDr/S1gfu3EtDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2493 |
+
parse/train/S1gfu3EtDr/S1gfu3EtDr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2494 |
+
parse/train/S1gfu3EtDr/S1gfu3EtDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2495 |
+
parse/train/T1STW1NYYKW/T1STW1NYYKW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2496 |
+
parse/train/T1STW1NYYKW/T1STW1NYYKW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2497 |
+
parse/train/T1STW1NYYKW/T1STW1NYYKW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2498 |
+
parse/train/U7vVeHydyR/U7vVeHydyR_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2499 |
+
parse/train/U7vVeHydyR/U7vVeHydyR_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2500 |
+
parse/train/U7vVeHydyR/U7vVeHydyR_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2501 |
+
parse/train/HkenPn4KPH/HkenPn4KPH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2502 |
+
parse/train/HkenPn4KPH/HkenPn4KPH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2503 |
+
parse/train/HkenPn4KPH/HkenPn4KPH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2504 |
+
parse/train/yH2VrkpiCK6/yH2VrkpiCK6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2505 |
+
parse/train/yH2VrkpiCK6/yH2VrkpiCK6_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2506 |
+
parse/train/yH2VrkpiCK6/yH2VrkpiCK6_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2507 |
+
parse/train/rm0I5y2zkG8/rm0I5y2zkG8_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2508 |
+
parse/train/rm0I5y2zkG8/rm0I5y2zkG8_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2509 |
+
parse/train/rm0I5y2zkG8/rm0I5y2zkG8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2510 |
+
parse/train/sjuuTm4vj0/sjuuTm4vj0_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2511 |
+
parse/train/sjuuTm4vj0/sjuuTm4vj0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2512 |
+
parse/train/sjuuTm4vj0/sjuuTm4vj0_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2513 |
+
parse/train/ogciCC6fmBl/ogciCC6fmBl_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2514 |
+
parse/train/ogciCC6fmBl/ogciCC6fmBl_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2515 |
+
parse/train/ogciCC6fmBl/ogciCC6fmBl_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2516 |
+
parse/train/rkgMkCEtPB/rkgMkCEtPB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2517 |
+
parse/train/rkgMkCEtPB/rkgMkCEtPB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2518 |
+
parse/train/rkgMkCEtPB/rkgMkCEtPB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2519 |
+
parse/train/rke41hC5Km/rke41hC5Km_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2520 |
+
parse/train/rke41hC5Km/rke41hC5Km_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2521 |
+
parse/train/rke41hC5Km/rke41hC5Km_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2522 |
+
parse/train/BJC8LF9ex/BJC8LF9ex_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2523 |
+
parse/train/BJC8LF9ex/BJC8LF9ex_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2524 |
+
parse/train/BJC8LF9ex/BJC8LF9ex_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2525 |
+
parse/train/BJlVNY8llV/BJlVNY8llV_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2526 |
+
parse/train/BJlVNY8llV/BJlVNY8llV_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2527 |
+
parse/train/BJlVNY8llV/BJlVNY8llV_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2528 |
+
parse/train/SJDaqqveg/SJDaqqveg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2529 |
+
parse/train/SJDaqqveg/SJDaqqveg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2530 |
+
parse/train/SJDaqqveg/SJDaqqveg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2531 |
+
parse/train/mrsx7ninrtU/mrsx7ninrtU_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2532 |
+
parse/train/mrsx7ninrtU/mrsx7ninrtU_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2533 |
+
parse/train/mrsx7ninrtU/mrsx7ninrtU_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2534 |
+
parse/train/ByxRM0Ntvr/ByxRM0Ntvr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2535 |
+
parse/train/ByxRM0Ntvr/ByxRM0Ntvr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2536 |
+
parse/train/ByxRM0Ntvr/ByxRM0Ntvr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2537 |
+
parse/train/rJg8yhAqKm/rJg8yhAqKm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2538 |
+
parse/train/rJg8yhAqKm/rJg8yhAqKm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2539 |
+
parse/train/rJg8yhAqKm/rJg8yhAqKm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2540 |
+
parse/train/uCQfPZwRaUu/uCQfPZwRaUu_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2541 |
+
parse/train/uCQfPZwRaUu/uCQfPZwRaUu_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2542 |
+
parse/train/uCQfPZwRaUu/uCQfPZwRaUu_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2543 |
+
parse/train/B1l6y0VFPr/B1l6y0VFPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2544 |
+
parse/train/B1l6y0VFPr/B1l6y0VFPr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2545 |
+
parse/train/B1l6y0VFPr/B1l6y0VFPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2546 |
+
parse/train/r1GAsjC5Fm/r1GAsjC5Fm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2547 |
+
parse/train/r1GAsjC5Fm/r1GAsjC5Fm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2548 |
+
parse/train/r1GAsjC5Fm/r1GAsjC5Fm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2549 |
+
parse/train/Hyg1G2AqtQ/Hyg1G2AqtQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2550 |
+
parse/train/Hyg1G2AqtQ/Hyg1G2AqtQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2551 |
+
parse/train/Hyg1G2AqtQ/Hyg1G2AqtQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2552 |
+
parse/train/AVx0r_GppCu/AVx0r_GppCu_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2553 |
+
parse/train/AVx0r_GppCu/AVx0r_GppCu_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2554 |
+
parse/train/AVx0r_GppCu/AVx0r_GppCu_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2555 |
+
parse/train/Sk7KsfW0-/Sk7KsfW0-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2556 |
+
parse/train/Sk7KsfW0-/Sk7KsfW0-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2557 |
+
parse/train/Sk7KsfW0-/Sk7KsfW0-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2558 |
+
parse/train/yxafu6ZtUux/yxafu6ZtUux_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2559 |
+
parse/train/yxafu6ZtUux/yxafu6ZtUux_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2560 |
+
parse/train/yxafu6ZtUux/yxafu6ZtUux_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2561 |
+
parse/train/r1lohoCqY7/r1lohoCqY7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2562 |
+
parse/train/r1lohoCqY7/r1lohoCqY7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2563 |
+
parse/train/r1lohoCqY7/r1lohoCqY7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2564 |
+
parse/train/BJxI5gHKDr/BJxI5gHKDr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2565 |
+
parse/train/BJxI5gHKDr/BJxI5gHKDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2566 |
+
parse/train/BJxI5gHKDr/BJxI5gHKDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2567 |
+
parse/train/HJnQJXbC-/HJnQJXbC-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2568 |
+
parse/train/HJnQJXbC-/HJnQJXbC-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2569 |
+
parse/train/HJnQJXbC-/HJnQJXbC-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2570 |
+
parse/train/D8-iwC9UN3/D8-iwC9UN3_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2571 |
+
parse/train/D8-iwC9UN3/D8-iwC9UN3_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2572 |
+
parse/train/D8-iwC9UN3/D8-iwC9UN3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2573 |
+
parse/train/BkeqO7x0-/BkeqO7x0-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2574 |
+
parse/train/BkeqO7x0-/BkeqO7x0-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2575 |
+
parse/train/BkeqO7x0-/BkeqO7x0-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2576 |
+
parse/train/uIc4W6MtbDA/uIc4W6MtbDA_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2577 |
+
parse/train/uIc4W6MtbDA/uIc4W6MtbDA_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2578 |
+
parse/train/uIc4W6MtbDA/uIc4W6MtbDA_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2579 |
+
parse/train/SyMWn05F7/SyMWn05F7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2580 |
+
parse/train/SyMWn05F7/SyMWn05F7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2581 |
+
parse/train/SyMWn05F7/SyMWn05F7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2582 |
+
parse/train/SysEexbRb/SysEexbRb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2583 |
+
parse/train/SysEexbRb/SysEexbRb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2584 |
+
parse/train/SysEexbRb/SysEexbRb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2585 |
+
parse/train/D04TGKz5rfF/D04TGKz5rfF_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2586 |
+
parse/train/D04TGKz5rfF/D04TGKz5rfF_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2587 |
+
parse/train/D04TGKz5rfF/D04TGKz5rfF_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2588 |
+
parse/train/WEKfdiZYZi-/WEKfdiZYZi-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2589 |
+
parse/train/WEKfdiZYZi-/WEKfdiZYZi-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2590 |
+
parse/train/WEKfdiZYZi-/WEKfdiZYZi-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2591 |
+
parse/train/qGeqg4_hA2/qGeqg4_hA2_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2592 |
+
parse/train/qGeqg4_hA2/qGeqg4_hA2_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2593 |
+
parse/train/qGeqg4_hA2/qGeqg4_hA2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2594 |
+
parse/train/ByJbJwxCW/ByJbJwxCW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2595 |
+
parse/train/ByJbJwxCW/ByJbJwxCW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2596 |
+
parse/train/ByJbJwxCW/ByJbJwxCW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2597 |
+
parse/train/GhMZNcr54zt/GhMZNcr54zt_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2598 |
+
parse/train/GhMZNcr54zt/GhMZNcr54zt_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2599 |
+
parse/train/GhMZNcr54zt/GhMZNcr54zt_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2600 |
+
parse/train/HJlQfnCqKX/HJlQfnCqKX_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2601 |
+
parse/train/HJlQfnCqKX/HJlQfnCqKX_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2602 |
+
parse/train/HJlQfnCqKX/HJlQfnCqKX_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2603 |
+
parse/train/B1IDRdeCW/B1IDRdeCW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2604 |
+
parse/train/B1IDRdeCW/B1IDRdeCW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2605 |
+
parse/train/B1IDRdeCW/B1IDRdeCW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2606 |
+
parse/train/r7UC-b67YkO/r7UC-b67YkO_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2607 |
+
parse/train/r7UC-b67YkO/r7UC-b67YkO_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2608 |
+
parse/train/r7UC-b67YkO/r7UC-b67YkO_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2609 |
+
parse/train/9FWas6YbmB3/9FWas6YbmB3_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2610 |
+
parse/train/9FWas6YbmB3/9FWas6YbmB3_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2611 |
+
parse/train/9FWas6YbmB3/9FWas6YbmB3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2612 |
+
parse/train/Rnn8zoAkrwr/Rnn8zoAkrwr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2613 |
+
parse/train/Rnn8zoAkrwr/Rnn8zoAkrwr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2614 |
+
parse/train/Rnn8zoAkrwr/Rnn8zoAkrwr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2615 |
+
parse/train/B1xtFpVtvB/B1xtFpVtvB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2616 |
+
parse/train/B1xtFpVtvB/B1xtFpVtvB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2617 |
+
parse/train/B1xtFpVtvB/B1xtFpVtvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2618 |
+
parse/train/j5NrN8ffXC/j5NrN8ffXC_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2619 |
+
parse/train/j5NrN8ffXC/j5NrN8ffXC_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2620 |
+
parse/train/j5NrN8ffXC/j5NrN8ffXC_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2621 |
+
parse/train/8PA2nX9v_r2/8PA2nX9v_r2_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2622 |
+
parse/train/8PA2nX9v_r2/8PA2nX9v_r2_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2623 |
+
parse/train/8PA2nX9v_r2/8PA2nX9v_r2_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2624 |
+
parse/train/Hyx0slrFvH/Hyx0slrFvH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2625 |
+
parse/train/Hyx0slrFvH/Hyx0slrFvH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2626 |
+
parse/train/Hyx0slrFvH/Hyx0slrFvH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2627 |
+
parse/train/lvRTC669EY_/lvRTC669EY__span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2628 |
+
parse/train/lvRTC669EY_/lvRTC669EY__layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2629 |
+
parse/train/lvRTC669EY_/lvRTC669EY__origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2630 |
+
parse/train/wxobw18IYOxu4/wxobw18IYOxu4_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2631 |
+
parse/train/wxobw18IYOxu4/wxobw18IYOxu4_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2632 |
+
parse/train/wxobw18IYOxu4/wxobw18IYOxu4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2633 |
+
parse/train/H1gN6kSFwS/H1gN6kSFwS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2634 |
+
parse/train/H1gN6kSFwS/H1gN6kSFwS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2635 |
+
parse/train/H1gN6kSFwS/H1gN6kSFwS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2636 |
+
parse/train/SylO2yStDr/SylO2yStDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2637 |
+
parse/train/SylO2yStDr/SylO2yStDr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2638 |
+
parse/train/SylO2yStDr/SylO2yStDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2639 |
+
parse/train/uxpzitPEooJ/uxpzitPEooJ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2640 |
+
parse/train/uxpzitPEooJ/uxpzitPEooJ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2641 |
+
parse/train/uxpzitPEooJ/uxpzitPEooJ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2642 |
+
parse/train/zzdf0CirJM4/zzdf0CirJM4_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2643 |
+
parse/train/zzdf0CirJM4/zzdf0CirJM4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2644 |
+
parse/train/zzdf0CirJM4/zzdf0CirJM4_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2645 |
+
parse/train/JeweO9-QqV-/JeweO9-QqV-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2646 |
+
parse/train/JeweO9-QqV-/JeweO9-QqV-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2647 |
+
parse/train/JeweO9-QqV-/JeweO9-QqV-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2648 |
+
parse/train/rkGZuJb0b/rkGZuJb0b_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2649 |
+
parse/train/rkGZuJb0b/rkGZuJb0b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2650 |
+
parse/train/rkGZuJb0b/rkGZuJb0b_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2651 |
+
parse/train/IX3Nnir2omJ/IX3Nnir2omJ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2652 |
+
parse/train/IX3Nnir2omJ/IX3Nnir2omJ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2653 |
+
parse/train/IX3Nnir2omJ/IX3Nnir2omJ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2654 |
+
parse/train/S1eZYeHFDS/S1eZYeHFDS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2655 |
+
parse/train/S1eZYeHFDS/S1eZYeHFDS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2656 |
+
parse/train/S1eZYeHFDS/S1eZYeHFDS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2657 |
+
parse/train/S1lg0jAcYm/S1lg0jAcYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2658 |
+
parse/train/S1lg0jAcYm/S1lg0jAcYm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2659 |
+
parse/train/S1lg0jAcYm/S1lg0jAcYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2660 |
+
parse/train/UfX6vkvhtl/UfX6vkvhtl_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2661 |
+
parse/train/UfX6vkvhtl/UfX6vkvhtl_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2662 |
+
parse/train/UfX6vkvhtl/UfX6vkvhtl_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2663 |
+
parse/train/rJfUCoR5KX/rJfUCoR5KX_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2664 |
+
parse/train/rJfUCoR5KX/rJfUCoR5KX_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2665 |
+
parse/train/rJfUCoR5KX/rJfUCoR5KX_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2666 |
+
parse/train/r1ltnp4KwS/r1ltnp4KwS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2667 |
+
parse/train/r1ltnp4KwS/r1ltnp4KwS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2668 |
+
parse/train/r1ltnp4KwS/r1ltnp4KwS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2669 |
+
parse/train/Hk95PK9le/Hk95PK9le_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2670 |
+
parse/train/Hk95PK9le/Hk95PK9le_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2671 |
+
parse/train/Hk95PK9le/Hk95PK9le_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2672 |
+
parse/train/ShnM-rRh4T/ShnM-rRh4T_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2673 |
+
parse/train/ShnM-rRh4T/ShnM-rRh4T_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2674 |
+
parse/train/ShnM-rRh4T/ShnM-rRh4T_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2675 |
+
parse/train/B1g8VkHFPH/B1g8VkHFPH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2676 |
+
parse/train/B1g8VkHFPH/B1g8VkHFPH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2677 |
+
parse/train/B1g8VkHFPH/B1g8VkHFPH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2678 |
+
parse/train/5KWmB6JePx/5KWmB6JePx_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2679 |
+
parse/train/5KWmB6JePx/5KWmB6JePx_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2680 |
+
parse/train/5KWmB6JePx/5KWmB6JePx_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2681 |
+
parse/train/jrA5GAccy_/jrA5GAccy__span.pdf filter=lfs diff=lfs merge=lfs -text
|
parse/dev/0IywQ8uxJx/0IywQ8uxJx.md
ADDED
|
@@ -0,0 +1,708 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 Dynamical systems minimizing an energy are ubiquitous in geometry and physics.
|
| 11 |
+
2 We propose a gradient flow framework for GNNs where the equations follow the
|
| 12 |
+
3 direction of steepest descent of a learnable energy. This approach allows to analyse
|
| 13 |
+
4 the GNN evolution from a multi-particle perspective as learning attractive and
|
| 14 |
+
5 repulsive forces in feature space via the positive and negative eigenvalues of a
|
| 15 |
+
6 symmetric ‘channel-mixing’ matrix. We perform spectral analysis of the solutions
|
| 16 |
+
7 and conclude that gradient flow graph convolutional models can induce a dynamics
|
| 17 |
+
8 dominated by the graph high frequencies, which is desirable for heterophilic
|
| 18 |
+
9 datasets. We also describe structural constraints on common GNN architectures
|
| 19 |
+
10 allowing to interpret them as gradient flows. We perform thorough ablation studies
|
| 20 |
+
11 corroborating our theoretical analysis and show competitive performance of simple
|
| 21 |
+
12 and lightweight models on real-world homophilic and heterophilic datasets.
|
| 22 |
+
|
| 23 |
+
# 13 1 Introduction and motivations
|
| 24 |
+
|
| 25 |
+
14 Graph neural networks (GNNs) [38, 20, 21, 36, 7, 15, 27] and in particular their Message Passing
|
| 26 |
+
15 formulation (MPNN) $\boxed { 1 9 }$ have become the standard ML tool for dealing with different types of
|
| 27 |
+
16 relations and interactions, ranging from social networks to particle physics and drug design. One
|
| 28 |
+
17 of the often cited drawbacks of traditional GNN models is their poor ‘explainability’, making it
|
| 29 |
+
18 hard to know why and how they make certain predictions $\boxed { 1 4 6 } \boxed { 4 7 }$ , and in which situations they
|
| 30 |
+
19 may work and when they would fail. Limitations of GNNs that have attracted attention are over
|
| 31 |
+
20 smoothing $\pm \boxed { 2 9 } \boxed { 3 0 } \boxed { 8 }$ , over-squashing and bottlenecks $\boxed { 1 } \boxed { 4 0 } \boxed { }$ , and performance on heterophilic data
|
| 32 |
+
21 [31, 51, 13, 4, 45] – where adjacent nodes usually have different labels.
|
| 33 |
+
22 Contributions. We propose a Gradient Flow Framework
|
| 34 |
+
23 (GRAFF) where the GNN equations follow the direction of steep
|
| 35 |
+
24 est descent of a learnable energy. Thanks to this framework we can
|
| 36 |
+
25 (i) interpret GNNs as a multi-particle dynamics where the learned
|
| 37 |
+
26 parameters determine pairwise attractive and repulsive potentials
|
| 38 |
+
27 in the feature space. This sheds light on how GNNs can adapt to
|
| 39 |
+
28 heterophily and explains their performance and the smoothness of
|
| 40 |
+
29 the prediction. (ii) GRAFF leads to residual convolutional models
|
| 41 |
+
30 where the channel-mixing W is performed by a shared symmet
|
| 42 |
+
31 ric bilinear form inducing attraction and repulsion via its positive
|
| 43 |
+
32 and negative eigenvalues, respectively. We theoretically investi
|
| 44 |
+
33 gate the interaction of the graph spectrum with the spectrum of the
|
| 45 |
+
34 channel-mixing, proving that if there is more mass on the negative
|
| 46 |
+
35 eigenvalues of W, then the dynamics is dominated by the graph
|
| 47 |
+
36 high frequencies, which could be desirable on heterophilic graphs.
|
| 48 |
+
37 We also extend results of $\boxed { 2 9 } \boxed { 3 0 } \boxed { 8 }$ by showing that when we drop
|
| 49 |
+
38 the residual connection intrinsic to the gradient flow framework,
|
| 50 |
+
39 graph convolutional models always induce a low-frequency dominated dynamics independent of the
|
| 51 |
+
40 sign and magnitude of the spectrum of the channel-mixing. We also discuss how simple choices
|
| 52 |
+
41 make common architectures fit GRAFF and conduct thorough ablation studies to corroborate the the
|
| 53 |
+
42 oretical analysis on the role of the spectrum of W. (iii) We crystallize an instance of our framework
|
| 54 |
+
43 into a linear, residual, convolutional model that achieves competitive performance on homophilic and
|
| 55 |
+
44 heterophilic real world graphs whilst being faster than GCN.
|
| 56 |
+
45 Related work. Our analysis is related to studying GNNs as filters on the graph spectrum [15, 24,
|
| 57 |
+
46 2, 25] and over-smoothing $\pmb { \bigtriangledown } \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown \bigtriangledown$ and partly adopts techniques similar to $\textcircled { 1 3 0 } \textcircled { 1 }$ . The key
|
| 58 |
+
47 difference is that we also consider the spectrum of the ‘channel-mixing’ matrix. The concept of
|
| 59 |
+
48 gradient flows has been a standard tool in physics and geometry [16], from which they were adopted
|
| 60 |
+
49 for image processing $\pmb { \mathbb { \mathbb { \mathbb { 2 6 } } } }$ , and recently used in ML $\textcircled { 1 3 5 }$ for the analysis of Transformers [41] – see
|
| 61 |
+
50 also $\boxed { \boxed { 1 8 } }$ for discussion of loss landscapes. Our continuous-time evolution equations follows the spirit
|
| 62 |
+
51 of Neural ODES [22, 12, 3] and the study of GNNs as continuous dynamical systems [44, 10, 17, 9].
|
| 63 |
+
52 Outline. In Section 2, we review the continuous and discrete Dirichlet energy and the associated
|
| 64 |
+
53 gradient flow framework. We formalize the notion of over-smoothing and low(high)-frequency
|
| 65 |
+
54 dominated dynamics to investigate GNNs and study the dominant components in their evolution. We
|
| 66 |
+
55 extend the graph Dirichlet energy to allow for a non-trivial norm for the feature edge-gradient. This
|
| 67 |
+
56 leads to gradient flow equations that diffuse the features and over-smooth in the limit. Accordingly,
|
| 68 |
+
57 in Section $^ 3$ we introduce a more general energy with a symmetric channel-mixing matrix W giving
|
| 69 |
+
58 rise to attractive and repulsive pairwise terms via its positive and negative eigenvalues and show
|
| 70 |
+
59 that the negative spectrum can induce high-frequency-dominant dynamics. In Section 4 we first
|
| 71 |
+
60 compare with continuous GNN models and then discretize the equations and provide a ‘recipe’ for
|
| 72 |
+
61 making standard GNN architectures fit a gradient flow framework. We adapt the spectral analysis to
|
| 73 |
+
62 discrete-time showing that gradient flow convolutional models can generate a dynamics dominated by
|
| 74 |
+
63 the high frequencies via the negative eigenvalues of W while this is impossible if we drop the residual
|
| 75 |
+
64 connection. In Section $. 5$ we corroborate our theoretical analysis on the role of the spectrum of W
|
| 76 |
+
65 via ablation studies on graphs with varying homophily. Experiments on real world datasets show a
|
| 77 |
+
66 competitive performance of our model despite its simplicity and reduced number of parameters.
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 1: GRAFF dynamics: attractive and repulsive forces lead to a non-smoothing process able to separate labels.
|
| 81 |
+
|
| 82 |
+
# 67 2 Gradient-flow formalism
|
| 83 |
+
|
| 84 |
+
68 Notations adopted throughout the paper. Let $\mathsf { G } = ( \mathsf { V } , \mathsf { E } )$ be an undirected graph with $n$ nodes.
|
| 85 |
+
69 We denote by $\textbf { F } \in \mathbb { R } ^ { n \times d }$ the matrix of $d$ -dimensional node features, by $\mathbf { f } _ { i } ~ \in ~ \mathbb { R } ^ { d }$ its $i$ -th row
|
| 86 |
+
70 (transposed), by $\mathbf { f } ^ { r } \in \mathbb { R } ^ { n }$ its $r$ -th column, and by $\mathrm { v e c } ( \mathbf { F } ) \in \mathbb { R } ^ { n d }$ the vectorization of $\mathbf { F }$ obtained
|
| 87 |
+
71 by stacking its columns. Given a symmetric matrix $\mathbf { B }$ , we let $\lambda _ { + } ^ { \mathbf { B } }$ , $\lambda _ { - } ^ { \mathbf { B } }$ denote its most positive and
|
| 88 |
+
72 negative eigenvalues, respectively, and $\rho _ { \mathbf { B } }$ be its spectral radius. If $\mathbf { B } \succeq 0$ , then $\mathrm { g a p } ( \mathbf { B } )$ denotes the
|
| 89 |
+
73 positive smallest eigenvalue of $\mathbf { B }$ . ${ \dot { f } } ( t )$ denotes the temporal derivative, $\otimes$ is the Kronecker product
|
| 90 |
+
74 and ‘a.e.’ means almost every w.r.t. Lebesgue measure and usually refers to data in the complement
|
| 91 |
+
75 of some lower dimensional subspace in $\mathbb { R } ^ { \bar { n } \times d }$ . Proofs and additional results appear in the Appendix.
|
| 92 |
+
76 Starting point: a geometric parallelism. To motivate a gradient-flow approach for GNNs, we start
|
| 93 |
+
77 from the continuous case (see Appendix A.1 for details). Consider a smooth map $f : \mathbb { R } ^ { n } \to ( \mathbb { R } ^ { d } , h )$
|
| 94 |
+
78 with $h$ a constant metric represented by $\mathbf { \overline { { H } } } \succeq 0$ . The Dirichlet energy of $f$ is defined by
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\mathcal { E } ( f , h ) = \frac { 1 } { 2 } \int _ { \mathbb { R } ^ { n } } \| \nabla f \| _ { h } ^ { 2 } d x = \frac { 1 } { 2 } \sum _ { q , r = 1 } ^ { d } \sum _ { j = 1 } ^ { n } \int _ { \mathbb { R } ^ { n } } h _ { q r } \partial _ { j } f ^ { q } \partial _ { j } f ^ { r } ( x ) d x
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
79 and measures the ‘smoothness’ of $f$ . A natural approach to find minimizers of $\mathcal { E }$ - called harmonic
|
| 101 |
+
80 maps - was introduced in $\mathbb { I } \mathbb { 1 6 } ]$ and consists in studying the gradient flow of $\mathcal { E }$ , wherein a given map
|
| 102 |
+
81 $f ( 0 ) = f _ { 0 }$ is evolved according to $\dot { f } ( t ) = - \nabla _ { f } \mathcal { E } ( f ( t ) )$ . These type of evolution equations have
|
| 103 |
+
82 historically been the core of variational and $P D E$ -based image processing; in particular, gradient
|
| 104 |
+
83 flows of the Dirichlet energy were shown $[ \overline { { 2 6 } } ]$ to recover the Perona-Malik nonlinear diffusion $\pmb { \left. 3 2 \right. }$ .
|
| 105 |
+
84 Motivation: GNNs for node-classification. We wish to extend the gradient flow formalism to node
|
| 106 |
+
85 classification on graphs. Assume we have a graph $\sf G$ , node-features $\mathbf { F } _ { 0 }$ and labels $\{ y _ { i } \}$ on $\mathsf { V } _ { \mathrm { t r a i n } } \subset \mathsf { V }$
|
| 107 |
+
86 and that we want to predict the labels on $\mathsf { V } _ { \mathrm { t e s t } } \subset \mathsf { V }$ . A GNN typically evolves the features via some
|
| 108 |
+
87 parametric rule, ${ \mathrm { G N N } } _ { \theta } ( { \mathsf { G } } , { \mathbf { F } } _ { 0 } )$ , and uses a decoding map for the prediction $y = \psi _ { \mathrm { D E } } ( \mathrm { G N N } _ { \theta } ( \mathsf { G } , \mathbf { F } _ { 0 } ) )$ .
|
| 109 |
+
88 In graph convolutional models $\mathbb { I m }$ , $\mathrm { G N N } _ { \theta }$ consists of two operations: applying a shared linear
|
| 110 |
+
89 transformation to the features (‘channel mixing’) and propagating them along the edges of the graph
|
| 111 |
+
90 (‘diffusion’). Our goal consists in studying when $\mathrm { G N N } _ { \theta }$ is the gradient flow of some parametric class
|
| 112 |
+
91 of energies $\mathcal { E } _ { \theta } : \mathbb { R } ^ { \bar { n } \times d } \mathbb { R }$ , which generalize the Dirichlet energy. This means that the parameters
|
| 113 |
+
92 can be interpreted as ‘finding the right notion of smoothness’ for our task. We evolve the features by
|
| 114 |
+
93 $\dot { \mathbf { F } } ( t ) = - \bar { \nabla _ { \mathbf { F } } } \mathcal { E } _ { \theta } ( \mathbf { F } ( t ) )$ with prediction $y = \psi _ { \mathrm { D E } } ( \mathbf { F } ( T ) )$ for some optimal time $T$ .
|
| 115 |
+
94 Why a gradient flow? Since $\dot { \mathcal { E } } _ { \theta } ( { \bf F } ( t ) ) = - | | \nabla _ { \bf F } \mathcal { E } _ { \theta } ( { \bf F } ( t ) ) | | ^ { 2 }$ , the energy dissipates along the gradient
|
| 116 |
+
95 flow. Accordingly, this framework allows to explain the GNN dynamics as flowing the node features
|
| 117 |
+
96 in the direction of steepest descent of $\mathcal { E } _ { \theta }$ . Indeed, we find that parametrizing an energy leads to
|
| 118 |
+
97 equations governed by attractive and repulsive forces that can be controlled via the spectrum of
|
| 119 |
+
98 symmetric ‘channel-mixing’ matrices. This shows that by learning to distribute more mass over the
|
| 120 |
+
99 negative (positive) eigenvalues of the channel-mixing, gradient flow models can generate dynamics
|
| 121 |
+
100 dominated by the higher (respectively, lower) graph frequencies and hence tackle different homophily
|
| 122 |
+
101 scenarios. The gradient flow framework also leads to sharing of the weights across layers (since we
|
| 123 |
+
102 parametrize the energy rather than the evolution equations, as usually done in GNNs), allowing us to
|
| 124 |
+
103 reduce the number of parameters without compromising performance (see Table 1).
|
| 125 |
+
104 Analysis on graphs: preliminaries. Given a connected graph G with self-loops, its adjacency
|
| 126 |
+
105 matrix A is defined as $a _ { i j } = 1$ if $( i , j ) \in { \mathsf { E } }$ and zero otherwise. We let $\mathbf { D } = \mathrm { d i a g } ( \bar { d } _ { i } )$ be the degree
|
| 127 |
+
106 matrix and write $\bar { \mathbf { A } } : = \mathbf { D } ^ { - 1 / 2 } \mathbf { A } \mathbf { D } ^ { - 1 / 2 }$ . Let $\mathbf { F } \in \mathbb { R } ^ { n \times d }$ be the matrix representation of a signal. Its
|
| 128 |
+
107 graph gradient is $( \nabla { \bf F } ) _ { i j } : = { \bf f } _ { j } / \sqrt { d _ { j } } - { \bf f } _ { i } / \sqrt { d _ { i } }$ . We define the Laplacian as $\begin{array} { r } { \Delta : = - \frac { 1 } { 2 } \mathrm { d i v } \bigtriangledown } \end{array}$ (the
|
| 129 |
+
108 divergence div is the adjoint of $\nabla$ ), represented by $\pmb { \Delta } = \mathbf { I } - \bar { \mathbf { A } } \succeq 0$ . We refer to the eigenvalues of
|
| 130 |
+
109 $\pmb { \Delta }$ as frequencies: the lowest frequency is always 0 while the highest frequency is $\rho \Delta \stackrel { - } { \leq } 2$ [14]. As
|
| 131 |
+
110 for the continuum case, the gradient allows to define a (graph) Dirichlet energy as [49]
|
| 132 |
+
|
| 133 |
+
$$
|
| 134 |
+
\mathcal { E } ^ { \mathrm { D i r } } ( \mathbf { F } ) : = \frac { 1 } { 4 } \sum _ { i } \sum _ { j : ( i , j ) \in \mathsf { E } } | | ( \nabla \mathbf { F } ) _ { i j } | | ^ { 2 } \equiv \frac { 1 } { 4 } \sum _ { ( i , j ) \in \mathsf { E } } | | \frac { \mathbf { f } _ { i } } { \sqrt { d _ { i } } } - \frac { \mathbf { f } _ { j } } { \sqrt { d _ { j } } } | | ^ { 2 } = \frac { 1 } { 2 } \mathrm { t r a c e } ( \mathbf { F } ^ { \top } \Delta \mathbf { F } ) ,
|
| 135 |
+
$$
|
| 136 |
+
|
| 137 |
+
where the extra 111 $\begin{array} { l } { { \frac { 1 } { 2 } } } \end{array}$ is for convenience. As for manifolds, ${ \mathcal { E } } ^ { \mathrm { { D i r } } }$ measures smoothness. If we stack the columns of 112 $\mathbf { F }$ into $\mathrm { v e c } ( \mathbf { F } ) \in \mathbb { R } ^ { n d }$ , the gradient flow of ${ \mathcal { E } } ^ { \mathrm { { D i r } } }$ yields the heat equation on each channel:
|
| 138 |
+
|
| 139 |
+
$$
|
| 140 |
+
\operatorname { v e c } ( { \dot { \mathbf { F } } } ( t ) ) = - \nabla _ { \operatorname { v e c } ( \mathbf { F } ) } { \mathcal { E } } ^ { \mathrm { D i r } } ( \operatorname { v e c } ( \mathbf { F } ( t ) ) ) = - ( \mathbf { I } _ { d } \otimes \Delta ) \operatorname { v e c } ( \mathbf { F } ( t ) ) \iff { \dot { \mathbf { f } } } ^ { r } ( t ) = - \Delta \mathbf { f } ^ { r } ( t ) ,
|
| 141 |
+
$$
|
| 142 |
+
|
| 143 |
+
113 for $1 \leq r \leq d$ . Similarly to $\textcircled { 8 }$ , we rely on ${ \mathcal { E } } ^ { \mathrm { { D i r } } }$ to assess whether a given dynamics $t \mapsto \mathbf { F } ( t )$ is a
|
| 144 |
+
114 smoothing process. A different choice of Laplacian $\mathbf { L } = \mathbf { D } - \mathbf { A }$ with non-normalized adjacency
|
| 145 |
+
115 induces the analogous Dirichlet energy $\begin{array} { r } { \mathcal E _ { \mathbf { L } } ^ { \mathrm { D i r } } ( \mathbf { \dot { F } } ) = \frac { 1 } { 2 } \mathrm { t r a c e } ( \mathbf { F } ^ { \top } \mathbf { L } \mathbf { F } ) } \end{array}$ . Throughout this paper, we rely
|
| 146 |
+
116 on the following definitions (see Appendix A.3 for further equivalent formulations and justifications):
|
| 147 |
+
117 Definition 2.1. $\dot { \mathbf { F } } ( t ) = \mathrm { G N N } _ { \theta } ( \mathbf { F } ( t ) , t )$ initialized at $\mathbf F ( 0 )$ is smoothing if $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) ) \leq C + \varphi ( t )$ ,
|
| 148 |
+
118 with $C$ a constant only depending on $\dot { \mathcal { E } } ^ { \mathrm { D i r } } ( \mathbf { F } ( 0 ) )$ and $\dot { \varphi } ( t ) \leq 0$ . Over-smoothing occurs if either
|
| 149 |
+
119 $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) ) 0$ or $\mathcal { E } _ { \mathbf { L } } ^ { \mathrm { D i r } } ( \mathbf { F } ( t ) ) \mathrm { 0 }$ Efor $t \to \infty$ .
|
| 150 |
+
120 Our notion of ‘over-smoothing’ is a relaxed version of the definition in $\pm \mathbb { I } -$ although in the linear
|
| 151 |
+
121 case one always finds an exponential decay of ${ \mathcal { E } } ^ { \mathrm { D i r } }$ . We note that $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) ) 0$ iff $\Delta \mathbf { f } ^ { r } ( t ) \mathbf { 0 }$ for
|
| 152 |
+
122 each column $\mathbf { f } ^ { r }$ . As in $\textcircled { 1 3 0 }$ , this corresponds to a loss of separation power along the solution where
|
| 153 |
+
123 nodes with equal degree become indistinguishable since we converge to $\ker ( \Delta )$ (if we replaced $\pmb { \Delta }$
|
| 154 |
+
124 with $\mathbf { L }$ then we would not even be able to separate nodes with different degrees in the limit).
|
| 155 |
+
125 To motivate the next definition, consider $\dot { \mathbf { F } } ( t ) = \bar { \mathbf { A } } \mathbf { F } ( t )$ . Despite $| | \mathbf { F } ( t ) | |$ being unbounded for a.e.
|
| 156 |
+
126 $\mathbf F ( 0 )$ , the low-frequency components are growing the fastest and indeed ${ \bf F } ( t ) \bar { \ } | | { \bf F } ( t ) | | { \bf F } _ { \infty }$ s.t.
|
| 157 |
+
127 $\Delta \mathbf { f } _ { \infty } ^ { r } = \mathbf { 0 }$ for $1 \leq r \leq d$ . We formalize this scenario – including the opposite case of high-frequency
|
| 158 |
+
128 components being dominant – by studying $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) / | | { \bf F } ( t ) | | )$ , i.e. the Rayleigh quotient of $\mathbf { I } _ { d } \otimes \Delta$ .
|
| 159 |
+
129 Definition 2.2. $\dot { \mathbf { F } } ( t ) ~ = ~ \mathrm { G N N } _ { \theta } ( \mathbf { F } ( t ) , t )$ initialized at $\mathbf F ( 0 )$ is Low/High-Frequency-Dominant
|
| 160 |
+
130 (L/HFD) if $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) / | | { \bf F } ( t ) | | ) 0$ (respectively, $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) / | | { \bf F } ( t ) | | ) \rho _ { \Delta } / 2 )$ for $t \to \infty$ .
|
| 161 |
+
131 We report a consequence of Definition $| 2 . 2 |$ and refer to Appendix ${ \bf A } . 3$ for additional details and
|
| 162 |
+
132 motivations for the characterizations of $\overline { { \mathrm { L F D } } }$ and HFD.
|
| 163 |
+
133 Lemma 2.3. $\mathrm { G N N } _ { \theta }$ is LFD (HFD) iff for each $t _ { j } ~ ~ \infty$ there exist $t _ { j _ { k } } \ \to \ \infty$ and $\mathbf { F } _ { \infty }$ s.t.
|
| 164 |
+
134 $\mathbf { F } ( t _ { j _ { k } } ) / | | \mathbf { F } ( t _ { j _ { k } } ) | | \mathbf { F } _ { \infty }$ and $\pmb { \Delta } \mathbf { f } _ { \infty } ^ { r } = \mathbf { 0 }$ ( $\Delta \mathbf { f } _ { \infty } ^ { r } = \rho \Delta \mathbf { \bar { f } } _ { \infty } ^ { r }$ , respectively).
|
| 165 |
+
135 If a graph is homophilic, adjacent nodes are likely to share the same label and we expect a smoothing
|
| 166 |
+
136 or LFD dynamics enhancing the low-frequency components to be successful at node classification
|
| 167 |
+
137 tasks $\underline { { \lVert 4 3 \rVert } } \dot { \lVert 2 8 \rVert }$ . In the opposite case of heterophily, the high-frequency components might contain more
|
| 168 |
+
138 relevant information for separating classes $i \boxed { 4 } \boxed { 5 } \rbrack$ – the prototypical example being the eigenvector of
|
| 169 |
+
139 $\pmb { \Delta }$ associated with largest frequency $\rho _ { \Delta }$ separating a regular bipartite graph. In other words, the class
|
| 170 |
+
140 of heterophilic graphs contain instances where signals should be sharpened by increasing ${ \mathcal { E } } ^ { \mathrm { { D i r } } }$ rather
|
| 171 |
+
141 than smoothed out. Accordingly, an ideal framework for learning on graphs must accommodate both
|
| 172 |
+
142 of these opposite scenarios by being able to induce either an LFD or a HFD dynamics.
|
| 173 |
+
143 Parametric Dirichlet energy: channel-mixing as metric in feature space. In eq. $\boxed { 1 }$ a constant
|
| 174 |
+
144 nontrivial metric $h$ in $\mathbb { R } ^ { d }$ leads to the mixing of the feature channels. We adapt this idea by considering
|
| 175 |
+
145 a symmetric positive semi-definite $\mathbf { H } = \bar { \mathbf { W } } ^ { \top } \mathbf { W }$ with $\mathbf { W } \in \mathbb { R } ^ { d \times d }$ and using it to generalize ${ \mathcal { E } } ^ { \mathrm { { D i r } } }$ as
|
| 176 |
+
|
| 177 |
+
$$
|
| 178 |
+
\mathcal { E } _ { \mathbf { W } } ^ { \mathrm { D i r } } ( \mathbf { F } ) : = \frac { 1 } { 4 } \sum _ { q , r = 1 } ^ { d } \sum _ { i } \sum _ { j : ( i , j ) \in \mathsf { E } } h _ { q r } ( \nabla \mathbf { f } ^ { q } ) _ { i j } ( \nabla \mathbf { f } ^ { r } ) _ { i j } = \frac { 1 } { 4 } \sum _ { ( i , j ) \in \mathsf { E } } | | \mathbf { W } ( \nabla \mathbf { F } ) _ { i j } | | ^ { 2 } .
|
| 179 |
+
$$
|
| 180 |
+
|
| 181 |
+
146 We note the analogy with eq. $\mathbb { \underline { { \left( 1 \right) } } }$ , where the sum over the nodes replaces the integration over the
|
| 182 |
+
147 148 domain and the We generally tr $j$ -t $\mathbf { W }$ erivative at some point as learnable weights a $_ { i }$ is replaced by the gradientd study the gradient flow of $\mathcal { E } _ { \mathbf { W } } ^ { \mathrm { D i r } }$ g the edge : $( i , j ) \in \mathsf E$
|
| 183 |
+
|
| 184 |
+
$$
|
| 185 |
+
\dot { \mathbf { F } } ( t ) = - \nabla _ { \mathbf { F } } \mathcal { E } _ { \mathbf { W } } ^ { \mathrm { D i r } } ( \mathbf { F } ( t ) ) = - \Delta \mathbf { F } ( t ) \mathbf { W } ^ { \top } \mathbf { W } .
|
| 186 |
+
$$
|
| 187 |
+
|
| 188 |
+
149 We see that eq. $( 5 )$ generalizes eq. $( 3 )$ . Below ‘smoothing’ is intended as in Definition 2.1.
|
| 189 |
+
|
| 190 |
+
Proposition 2.4. Let 150 $P _ { \mathbf { W } } ^ { \mathrm { k e r } }$ be the projection onto $\ker ( \mathbf { W } ^ { \top } \mathbf { W } )$ . Equation $\textcircled { 5 }$ is smoothing since
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
\begin{array} { r } { \mathcal { E } ^ { \mathrm { D i r } } ( \mathbf { F } ( t ) ) \leq e ^ { - 2 t \mathrm { g a p } ( \mathbf { W } ^ { \top } \mathbf { W } ) \mathrm { g a p } ( \Delta ) } | | \mathbf { F } ( 0 ) | | ^ { 2 } + \mathcal { E } ^ { \mathrm { D i r } } ( ( P _ { \mathbf { W } } ^ { \mathrm { k e r } } \otimes \mathbf { I } _ { n } ) \mathrm { v e c } ( \mathbf { F } ( 0 ) ) ) , \quad t \geq 0 . } \end{array}
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
In fact 151 $\mathbf { F } ( t ) \mathbf { F } _ { \infty } s . t . \exists \phi _ { \infty } \in \mathbb { R } ^ { d } .$ : for each $i \in \mathsf { V }$ we have $( \mathbf { f } _ { \infty } ) _ { i } = \sqrt { d _ { i } } \phi _ { \infty } + P _ { \mathbf { W } } ^ { \mathrm { k e r } } \mathbf { f } _ { i } ( 0 ) .$
|
| 197 |
+
|
| 198 |
+
152 Proposition $2 . 4$ implies that no weight matrix $\mathbf { W }$ in eq. $( \bar { 5 } )$ can separate the limit embeddings $\mathbf { F } ( \infty )$
|
| 199 |
+
153 of nodes with same degree and input features. If W has a trivial kernel, then nodes with same degrees
|
| 200 |
+
154 converge to the same representation and over-smoothing occurs as per Definition $2 . 1 .$ Differently
|
| 201 |
+
155 from $\frac { 1 } { \vert 2 9 \vert } \textcircled { 3 0 } \textcircled { 8 }$ , over-smoothing occurs independently of the spectral radius of the ‘channel-mixing’
|
| 202 |
+
156 if its eigenvalues are positive – even for equations which lead to residual GNNs when discretized
|
| 203 |
+
157 [12]. According to Proposition $\underline { { \left. \left[ 2 . 4 \right] \right. } }$ we do not expect eq. $\textcircled{5}$ to succeed on heterophilic graphs where
|
| 204 |
+
158 smoothing processes are generally harmful – this is confirmed in Figure $\bigstar$ (see prod-curve). To
|
| 205 |
+
159 remedy this problem, we generalize eq. $_ { ( 5 ) }$ to a gradient flow that can be HFD as per Definition 2.2.
|
| 206 |
+
|
| 207 |
+
# 160 3 A general parametric energy for pairwise interactions
|
| 208 |
+
|
| 209 |
+
We first rewrite the energy 161 $\mathcal { E } _ { \mathbf { W } } ^ { \mathrm { D i r } }$ in eq. (4) as
|
| 210 |
+
|
| 211 |
+
$$
|
| 212 |
+
\mathcal { E } _ { \mathbf { W } } ^ { \mathrm { D i r } } ( \mathbf { F } ) = \frac { 1 } { 2 } \sum _ { i } \langle \mathbf { f } _ { i } , \mathbf { W } ^ { \top } \mathbf { W } \mathbf { f } _ { i } \rangle - \frac { 1 } { 2 } \sum _ { i , j } \bar { a } _ { i j } \langle \mathbf { f } _ { i } , \mathbf { W } ^ { \top } \mathbf { W } \mathbf { f } _ { j } \rangle .
|
| 213 |
+
$$
|
| 214 |
+
|
| 215 |
+
162 We then define a new, more general energy by replacing the occurrences of $\mathbf { W } ^ { \top } \mathbf { W }$ with new symmetric matrices 163 $\boldsymbol { \Omega } , \mathbf { W } \in \breve { \mathbb { R } } ^ { d \times d }$ since we also want to generate repulsive forces:
|
| 216 |
+
|
| 217 |
+
$$
|
| 218 |
+
\mathcal { E } ^ { \mathrm { t o t } } ( \mathbf { F } ) : = \frac { 1 } { 2 } \sum _ { i } \langle \mathbf { f } _ { i } , \boldsymbol { \Omega } \mathbf { f } _ { i } \rangle - \frac { 1 } { 2 } \sum _ { i , j } \bar { a } _ { i j } \langle \mathbf { f } _ { i } , \mathbf { W } \mathbf { f } _ { j } \rangle \equiv \mathcal { E } _ { \Omega } ^ { \mathrm { e x t } } ( \mathbf { F } ) + \mathcal { E } _ { \mathbf { W } } ^ { \mathrm { p a i r } } ( \mathbf { F } ) ,
|
| 219 |
+
$$
|
| 220 |
+
|
| 221 |
+
164 with associated gradient flow of the form (see Appendix B)
|
| 222 |
+
|
| 223 |
+
$$
|
| 224 |
+
\dot { \mathbf { F } } ( t ) = - \nabla _ { \mathbf { F } } \mathcal { E } ^ { \mathrm { t o t } } ( \mathbf { F } ( t ) ) = - \mathbf { F } ( t ) \boldsymbol { \Omega } + \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W } .
|
| 225 |
+
$$
|
| 226 |
+
|
| 227 |
+
Note that eq.165 $( 8 ) \ : i s$ gradient flow of some energy $\mathbf { F } \mapsto \mathcal { E } ^ { \mathrm { t o t } } ( \mathbf { F } )$ iff both $\pmb { \Omega }$ and W are symmetric.
|
| 228 |
+
|
| 229 |
+
166 A multi-particle system point of view: attraction vs repulsion. Consider the $d$ -dimensional
|
| 230 |
+
167 node-features as particles in $\mathbb { R } ^ { d }$ with energy ${ \mathcal { E } } ^ { \mathrm { t o t } }$ . While the term $\mathcal { E } _ { \Omega } ^ { \mathrm { e x t } }$ is independent of the graph
|
| 231 |
+
168 topology and represents an external field in the feature space, the second term $\mathcal { E } _ { \mathbf { W } } ^ { \mathrm { p a i r } }$ constitutes a
|
| 232 |
+
169 potential energy, with W a bilinear form determining the pairwise interactions of adjacent node
|
| 233 |
+
|
| 234 |
+
representations. Given a symmetric 170 $\mathbf { W }$ , we write $\mathbf { W } = \Theta _ { + } ^ { \top } \Theta _ { + } - \Theta _ { - } ^ { \top } \Theta _ { - }$ , by decomposing the spectrum of W in positive and negative values.We can rewrite 171 $\mathcal { E } ^ { \mathrm { t o t } } = \mathcal { E } _ { \Omega - \mathbf { W } } ^ { \mathrm { e x t } } + \mathcal { E } _ { \Theta _ { + } } ^ { \mathrm { D i r } } - \mathcal { E } _ { \Theta _ { - } } ^ { \mathrm { D i r } }$ , i.e.
|
| 235 |
+
|
| 236 |
+
$$
|
| 237 |
+
\mathcal { E } ^ { \mathrm { t o t } } ( \mathbf { F } ) = \frac { 1 } { 2 } \sum _ { i } \langle \mathbf { f } _ { i } , ( \Omega - \mathbf { W } ) \mathbf { f } _ { i } \rangle + \frac { 1 } { 4 } \sum _ { i , j } \vert \vert \Theta _ { + } ( \nabla \mathbf { F } ) _ { i j } \vert \vert ^ { 2 } - \frac { 1 } { 4 } \sum _ { i , j } \vert \vert \Theta _ { - } ( \nabla \mathbf { F } ) _ { i j } \vert \vert ^ { 2 } .
|
| 238 |
+
$$
|
| 239 |
+
|
| 240 |
+
172 The gradient flow of ${ \mathcal { E } } ^ { \mathrm { t o t } }$ minimizes $\mathcal { E } _ { \Theta _ { + } } ^ { \mathrm { D i r } }$ and maximizes $\mathcal { E } _ { \Theta _ { - } } ^ { \mathrm { D i r } }$ . The matrix $\mathbf { W }$ encodes repulsive
|
| 241 |
+
173 pairwise interactions via its negative-definite component $\Theta _ { - }$ which lead to terms $| | \Theta _ { - } ( \nabla \mathbf { F } ) _ { i j } | |$
|
| 242 |
+
174 increasing along the solution. The latter affords a ‘sharpening’ effect desirable on heterophilic graphs
|
| 243 |
+
175 where we need to disentangle adjacent node representations and hence ‘magnify’ the edge-gradient.
|
| 244 |
+
176 Spectral analysis of the channel-mixing. We will now show that eq. $( 8 )$ can lead to a HFD
|
| 245 |
+
177 dynamics. To this end, we assume that $\mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega } \mathbf { \Omega }$ so that eq. $\textcircled { 8 }$ becomes $\dot { \mathbf { F } } ( t ) = \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W }$ . According
|
| 246 |
+
178 179 to eq.dyna $\textcircled { 9 }$ the negative eigens as per Definition $2 . 2$ s of W We let $P _ { \mathbf { W } } ^ { \rho _ { - } }$ to repulsion. We show that the latter can induce HFDbe the orthogonal projection into the eigenspace of
|
| 247 |
+
180 $\mathbf { \bar { W } } \otimes \bar { \mathbf { A } }$ associated with the eigenvalue $\rho _ { - } : = | \lambda _ { - } ^ { \mathbf { W } } | ( \rho _ { \Delta } - 1 )$ . We define $\epsilon _ { \mathrm { H F D } }$ explicitly in eq. $\textcircled { 2 4 }$ .
|
| 248 |
+
|
| 249 |
+
Proposition 3.1. I181 $f \rho _ { - } > \lambda _ { + } ^ { \mathbf { W } }$ , then $\dot { \mathbf { F } } ( t ) = \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W }$ is HFD for a.e. $\mathbf F ( 0 )$ : there exists ✏HFD s.t.
|
| 250 |
+
|
| 251 |
+
$$
|
| 252 |
+
\mathcal { E } ^ { \mathrm { D i r } } ( \mathbf { F } ( t ) ) = e ^ { 2 t \rho _ { - } } \left( \frac { \rho _ { \Delta } } { 2 } | | P _ { \mathbf { W } } ^ { \rho - } \mathbf { F } ( 0 ) | | ^ { 2 } + \mathcal { O } ( e ^ { - 2 t \epsilon _ { \mathrm { H F D } } } ) \right) , \quad t \geq 0 ,
|
| 253 |
+
$$
|
| 254 |
+
|
| 255 |
+
and 182 $\mathbf { F } ( t ) / | | \mathbf { F } ( t ) | |$ converges to $\mathbf { F } _ { \infty } \in \mathbb { R } ^ { n \times d }$ such that $\pmb { \Delta } \mathbf { f } _ { \infty } ^ { r } = \rho \pmb { \Delta } \mathbf { f } _ { \infty } ^ { r }$ , for $1 \leq r \leq d $
|
| 256 |
+
|
| 257 |
+
183 Proposition $\boxed { 3 . 1 }$ shows that if enough mass of the spectrum of the ‘channel-mixing’ is distributed over
|
| 258 |
+
184 the negative eigenvalues, then the evolution is dominated by the graph high frequencies. This analysis
|
| 259 |
+
185 is made possible in our gradient flow framework where W must be symmetric. The HFD dynamics
|
| 260 |
+
186 induced by negative eigenvalues of $\mathbf { W }$ is confirmed in Figure $\bigtriangledown$ (neg-prod-curve in the bottom chart).
|
| 261 |
+
|
| 262 |
+
187 A more general energy. Equations with a source term may have better expressive power [44, 11, 39]. 188 In our framework this means adding an extra energy term of the form $\mathcal { E } _ { \tilde { \mathbf { W } } } ^ { \mathrm { s o u r c e } } ( \mathbf { F } ) : = \beta \langle \mathbf { F } , \mathbf { F } ( 0 ) \tilde { \mathbf { W } } \rangle$ to eq.189 $\textcircled { 7 }$ with some learnable $\beta$ and $\tilde { \mathbf { W } }$ . This leads to the following gradient flow:
|
| 263 |
+
|
| 264 |
+
$$
|
| 265 |
+
\dot { \mathbf { F } } ( t ) = - \mathbf { F } ( t ) \pmb { \Omega } + \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W } - \beta \mathbf { F } ( 0 ) \tilde { \mathbf { W } } .
|
| 266 |
+
$$
|
| 267 |
+
|
| 268 |
+
190 We also observe that one could replace the fixed matrix $\bar { \mathbf A }$ with a more general symmetric graph
|
| 269 |
+
191 vector field $\pmb { A }$ satisfying $A _ { i j } = 0$ if $( i , j ) \notin \mathsf E$ , although in this work we focus on the case $\pmb { A } = \bar { \mathbf { A } }$
|
| 270 |
+
192 We also note that when $\Omega = \mathbf { W }$ , then eq. $\textcircled { 8 }$ becomes $\dot { \mathbf { F } } ( t ) = - \Delta \mathbf { F } ( t ) \mathbf { W }$ . We perform a spectral
|
| 271 |
+
193 analysis of this case in Appendix B.2.
|
| 272 |
+
194 Non-linear activations. In Appendix $\boxed { \mathbf { B } . 3 }$ we discuss non-linear gradient flow equations. Here
|
| 273 |
+
195 we study what happens if the gradient flow in eq. $\underline { { \sqrt { 1 0 } } }$ is activated pointwise by $\sigma : \mathbb { R } \mathbb { R }$ . We
|
| 274 |
+
196 show that although we are no longer a gradient flow, the learnable multi-particle energy ${ \mathcal { E } } ^ { \mathrm { t o t } }$ is still
|
| 275 |
+
197 decreasing along the solution, meaning that the interpretation of the channel-mixing $\mathbf { W }$ inducing
|
| 276 |
+
198 attraction and repulsion via its positive and negative eigenvalues respectively is preserved.
|
| 277 |
+
199 Proposition 3.2. Consider a non-linear map $\sigma : \mathbb { R } \mathbb { R }$ such that the function $x \mapsto x \sigma ( x ) \geq 0 .$ . If
|
| 278 |
+
200 $t \mapsto \mathbf { F } ( t )$ solves the equation
|
| 279 |
+
|
| 280 |
+
$$
|
| 281 |
+
\dot { \mathbf { F } } ( t ) = \sigma \left( - \mathbf { F } ( t ) \Omega + \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W } - \beta \mathbf { F } ( 0 ) \tilde { \mathbf { W } } \right) ,
|
| 282 |
+
$$
|
| 283 |
+
|
| 284 |
+
201 where $\sigma$ acts elementwise, then
|
| 285 |
+
|
| 286 |
+
$$
|
| 287 |
+
\frac { d { \mathcal E } ^ { \mathrm { t o t } } ( { \bf F } ( t ) ) } { d t } \le 0 .
|
| 288 |
+
$$
|
| 289 |
+
|
| 290 |
+
202 A proof of this result and more details and discussion are reported in Appendix E. We emphasize
|
| 291 |
+
203 here that differently from previous results about behaviour of ReLU wrt $\hat { \mathcal { E } } ^ { \mathrm { D i r } }$ [30, 8], we deal with a
|
| 292 |
+
204 much more general energy that can also induce repulsion and a more general family of activation
|
| 293 |
+
205 functions (that include ReLU, tanh, arctan and many others).
|
| 294 |
+
|
| 295 |
+
# 206 4 Comparison with GNNs
|
| 296 |
+
|
| 297 |
+
207 In this Section, we study standard GNN models from the perspective of our gradient flow framework.
|
| 298 |
+
|
| 299 |
+
209 Continuous GNN models replace layers with continuous time. In contrast with Proposition 3.1,
|
| 300 |
+
210 we show that three main linearized continuous GNN models are either smoothing or LFD as
|
| 301 |
+
211 per Definition $2 . 2 .$ The linearized PDE- $\mathrm { G C N } _ { D }$ model $\pmb { \mathbb { I } 7 }$ corresponds to choosing $\beta = 0$ and
|
| 302 |
+
212 $\mathbf { \hat { \Omega } } \mathbf { \tilde { \Omega } } = \mathbf { W } = \mathbf { K } ( t ) \mathbf { \bar { \Omega } } ^ { \top } \mathbf { K } ( t )$ in eq. $( 1 0 )$ , for some time-dependent family $\dot { t } \mapsto \mathbf { K } ( t ) \in \mathbb { R } ^ { d \times \breve { d } }$ :
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\dot { \mathbf { F } } _ { \mathrm { P D E - G C N _ { D } } } ( t ) = - \Delta \mathbf { F } ( t ) \mathbf { K } ( t ) ^ { \top } \mathbf { K } ( t ) .
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
The CGNN model [44] can be derived from eq.213 $( 1 0 )$ by setting $\boldsymbol { \Omega } = \mathbf { I } - \boldsymbol { \tilde { \Omega } } , \mathbf { W } = \mathbf { \tilde { W } } = \mathbf { I } , \beta = 1$ :
|
| 309 |
+
|
| 310 |
+
$$
|
| 311 |
+
\dot { \mathbf { F } } _ { \mathrm { C G N N } } ( t ) = - \Delta \mathbf { F } ( t ) + \mathbf { F } ( t ) \tilde { \Omega } + \mathbf { F } ( 0 ) .
|
| 312 |
+
$$
|
| 313 |
+
|
| 314 |
+
214 Finally, in linearized GRAND $\boxed { 1 0 }$ a row-stochastic matrix $\pmb { A } ( \mathbf { F } ( 0 ) )$ is learned from the encoding
|
| 315 |
+
215 via an attention mechanism and we have
|
| 316 |
+
|
| 317 |
+
$$
|
| 318 |
+
\dot { \mathbf { F } } _ { \mathrm { G R A N D } } ( t ) = - \pmb { \Delta } _ { \mathrm { R W } } \mathbf { F } ( t ) = - ( \mathbf { I } - \pmb { A } ( \mathbf { F } ( 0 ) ) ) \mathbf { F } ( t ) .
|
| 319 |
+
$$
|
| 320 |
+
|
| 321 |
+
216 We note that if $\pmb { A }$ is not symmetric, then GRAND is not a gradient flow.
|
| 322 |
+
|
| 323 |
+
217 Proposition 4.1. $\mathrm { P D E } - \mathrm { G C N } _ { D }$ , CGNN and GRAND satisfy the following:
|
| 324 |
+
|
| 325 |
+
(i) $\mathrm { P D E } - \mathrm { G C N } _ { D }$ is a smoothing model: $\dot { \mathcal { E } } ^ { \mathrm { D i r } } ( \mathbf { F } _ { \mathrm { P D E - G C N } _ { D } } ( t ) ) \leq 0 .$ . (ii) For a.e. $\mathbf F ( 0 )$ it holds: CGNN is never HFD and $i f$ we remove the source term, then $\mathcal { E } ^ { \mathrm { D i r } } ( \mathbf { F } _ { \mathrm { C G N N } } ( t ) / | | \mathbf { F } _ { \mathrm { C G N N } } ( t ) | | ) \le e ^ { - \mathrm { g a p } ( \Delta ) t }$ . (iii) If G is connected, $\mathbf { F } _ { \mathrm { G R A N D } } ( t ) \mu$ as $t \to \infty$ , with $\mu ^ { r } = \mathrm { m e a n } ( \mathbf { f } ^ { r } ( 0 ) ) , 1 \leq r \leq d .$
|
| 326 |
+
|
| 327 |
+
222 By (ii) the source-free CGNN-evolution is LFD independent of $\tilde { \Omega }$ . Moreover, by (iii), over-smoothing
|
| 328 |
+
223 occurs for GRAND as per Definition $\therefore 2 . 1 .$ On the other hand, Proposition $\boxed { 3 . 1 }$ shows that the negative
|
| 329 |
+
224 eigenvalues of W can make the source-free gradient flow in eq. $\textcircled { 8 }$ HFD. Experiments in Section 5
|
| 330 |
+
225 confirm that the gradient flow model outperforms CGNN and GRAND on heterophilic graphs.
|
| 331 |
+
|
| 332 |
+
# 226 4.2 Discrete case
|
| 333 |
+
|
| 334 |
+
227 We now describe a discrete version of our gradient flow model and compare it to ‘discrete’ GNNs
|
| 335 |
+
228 where discrete time steps correspond to different layers. In the spirit of $\lVert \overline { { 1 2 } } \rVert$ , we use explicit Euler
|
| 336 |
+
229 scheme with step size $\tau \leq 1$ to solve eq. $\bigstar \bigstar$ and set $\tilde { \mathbf { W } } = \mathbf { I }$ . In the gradient flow framework we
|
| 337 |
+
230 parametrize the energy rather than the actual equations, which leads to symmetric channel-mixing
|
| 338 |
+
231 matrices $\pmb { \Omega }$ , $\mathbf { W } \in \mathbb { R } ^ { d \times d }$ that are shared across the layers. Since the matrices are square, an encoding
|
| 339 |
+
232 block $\psi _ { \mathrm { E N } } : \mathbb { R } ^ { n \times p } \mathbb { R } ^ { n \times d }$ is used to process input features $\mathbf { F } _ { 0 } \in \mathbb { R } ^ { n \times p }$ and generally reduce the
|
| 340 |
+
233 hidden dimension from $p$ to $d$ . Moreover, the iterations inherently lead to a residual architecture
|
| 341 |
+
234 because of the explicit Euler discretization:
|
| 342 |
+
|
| 343 |
+
$$
|
| 344 |
+
\mathbf { F } ( t + \tau ) = \mathbf { F } ( t ) + \tau \left( - \mathbf { F } ( t ) \Omega + \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W } + \beta \mathbf { F } ( 0 ) \right) , \quad \mathbf { F } ( 0 ) = \psi _ { \mathrm { E N } } ( \mathbf { F } _ { 0 } ) ,
|
| 345 |
+
$$
|
| 346 |
+
|
| 347 |
+
235 with prediction $y = \psi _ { \mathrm { D E } } ( \mathbf { F } ( T ) )$ produced by a decoder $\psi _ { \mathrm { D E } } : \mathbb { R } ^ { n \times d } \mathbb { R } ^ { n \times k }$ , where $k$ is the
|
| 348 |
+
236 number of label classes and $T$ integration time of the form $T = m \tau$ , so that $m \in \mathbb { N }$ represents the
|
| 349 |
+
237 number of layers. Although eq. $\underline { { \tilde { ( 1 1 ) } } }$ is linear, we can include non-linear activations in $\psi _ { \mathrm { E N } } , \psi _ { \mathrm { D E } }$
|
| 350 |
+
238 making the entire model generally non-linear. We emphasize two important points:
|
| 351 |
+
|
| 352 |
+
• Since the framework is residual, even if the message-passing is linear, this is not equivalent to collapsing the dynamics into a single layer with diffusion matrix $\bar { \mathbf { A } } ^ { m }$ , with $m$ the number of layers, see eq. $\boxed { 2 7 }$ in the appendix where we derive the expansion of the solution. • We could also activate the equations pointwise and maintain the physics interpretation thanks to Proposition $\cdot 3 . 2$ to gain greater expressive power. In the following though, we mainly stick to the linear discrete gradient flow unless otherwise stated.
|
| 353 |
+
|
| 354 |
+
Are discrete GNNs gradient flows? Given a (learned) symmetric graph vector field 245 $\ b { A } \in \mathbb { R } ^ { n \times n }$ 246 satisfying $A _ { i j } = 0$ if $( i , j ) \notin \mathsf E$ , consider a family of linear GNNs with shared weights of the form
|
| 355 |
+
|
| 356 |
+
$$
|
| 357 |
+
\mathbf { F } ( t + 1 ) = \mathbf { F } ( t ) \Omega + A \mathbf { F } ( t ) \mathbf { W } + \beta \mathbf { F } ( 0 ) { \tilde { \mathbf { W } } } , \quad 0 \leq t \leq T .
|
| 358 |
+
$$
|
| 359 |
+
|
| 360 |
+
247 Symmetry is the key requirement to interpret GNNs in eq. $( 1 2 )$ in a gradient flow framework.
|
| 361 |
+
|
| 362 |
+
Lemma 4.2. Equation (12) is the unit step size discrete gradient flow of 248 $\mathcal { E } _ { \mathbf { I } - \Omega } ^ { \mathrm { e x t } } + \mathcal { E } _ { A , \mathbf { W } } ^ { \mathrm { p a i r } } - \mathcal { E } _ { \tilde { \mathbf { W } } } ^ { \mathrm { s o u r c e } }$ with 249 $\mathcal { E } _ { A , \mathbf { W } } ^ { \mathrm { { p a i r } } }$ defined by replacing $\bar { \mathbf A }$ with $\pmb { A }$ in eq. $\bigstar$ , iff $\pmb { \Omega }$ and W are symmetric.
|
| 363 |
+
|
| 364 |
+
250 Lemma $\boxed { 4 . 2 }$ provides a recipe for making standard architectures into a gradient flow, with symmetry
|
| 365 |
+
251 being the key requirement. When eq. ${ \overset { \smile } { ( 1 2 ) } }$ is a gradient flow, the underlying GNN dynamics is
|
| 366 |
+
252 equivalent to minimizing a multi-particle energy by learning attractive and repulsive directions in
|
| 367 |
+
253 feature space as discussed in Section $\textcircled { 3 }$ In Appendix C.2, we show how Lemma $\boxed { 4 . 2 }$ covers linear
|
| 368 |
+
254 versions of GCN [27, 43], GAT $\pmb { \bigtriangledown }$ , GraphSAGE $\pmb { \bigtriangledown } 3 \mathbf { h }$ and GCNII [11] to name a few.
|
| 369 |
+
255 Over-smoothing analysis in discrete setting. By Proposition $3 . 1$ we know that the continuous
|
| 370 |
+
256 version of eq. $( 1 \bar { 1 ^ { \cdot } } )$ can be HFD thanks to the negative eigenvalues of W. The next result represents a
|
| 371 |
+
257 258 discrete counterpart of Propmodels can be HFD. Below $P _ { \mathbf { W } } ^ { \rho _ { - } }$ onis $\boxed { 3 . 1 }$ and shows that residual, symmetrized graph convolutionalprojection into the eigenspace associated with the eigenvalue
|
| 372 |
+
259 $\rho _ { - } : = | \lambda _ { - } ^ { \mathbf { W } } | ( \rho _ { \Delta } - 1 )$ and we report the explicit value of $\delta _ { \mathrm { H F D } }$ in eq. $\boxed { 2 8 }$ in Appendix $\boxed { \mathsf { C . 3 } }$ We let:
|
| 373 |
+
|
| 374 |
+
$$
|
| 375 |
+
\lambda _ { + } ^ { \mathbf { W } } ( \rho _ { \Delta } - 1 ) ) ^ { - 1 } < | \lambda _ { - } ^ { \mathbf { W } } | < 2 ( \tau ( 2 - \rho _ { \Delta } ) ) ^ { - 1 } .
|
| 376 |
+
$$
|
| 377 |
+
|
| 378 |
+
Theorem 4.3. Given 260 $\mathbf { F } ( t + \tau ) = \mathbf { F } ( t ) + \tau \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W }$ , with W symmetric, if eq. (13) holds then
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\mathscr { E } ^ { \mathrm { D i r } } ( { \bf F } ( m \tau ) ) = ( 1 + \tau \rho _ { - } ) ^ { 2 m } \left( \frac { \rho _ { \Delta } } { 2 } | | P _ { \bf W } ^ { \rho _ { - } } { \bf F } ( 0 ) | | ^ { 2 } + \mathcal { O } \left( \left( \frac { 1 + \tau \delta _ { \mathrm { H F D } } } { 1 + \tau \rho _ { - } } \right) ^ { 2 m } \right) \right) , \quad \delta _ { \mathrm { H F D } } < \rho _ { - } ,
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
261 hence the dynamics is HFD for a.e. $\mathbf F ( 0 )$ and in fact $\mathbf { F } ( m \tau ) / | | \mathbf { F } ( m \tau ) | | \mathbf { F } _ { \infty }$ s.t. $\pmb { \Delta } \mathbf { f } _ { \infty } ^ { r } = \rho \pmb { \Delta } \mathbf { f } _ { \infty } ^ { r }$
|
| 385 |
+
262 Conversely, $i f G$ is not bipartite, then for a.e. $\mathbf F ( 0 )$ the system $\mathbf { F } ( t + \tau ) = \tau \bar { \mathbf { A } } \mathbf { F } ( t ) \bar { \mathbf { W } }$ , with W
|
| 386 |
+
263 symmetric, is LFD independent of the spectrum of $\mathbf { W }$ .
|
| 387 |
+
264 Theorem $\boxed { 4 . 3 }$ shows that linear discrete gradient flows can be HFD due to the negative eigenvalues of
|
| 388 |
+
265 W. This differs from statements that standard GCNs act as low-pass filters and thus over-smooth in
|
| 389 |
+
266 the limit. Indeed, in these cases the spectrum of $\mathbf { W }$ is generally ignored $\textcircled { 4 3 } \textcircled { 1 1 }$ or required to be
|
| 390 |
+
267 sufficiently small in terms of singular value decomposition $\overline { { \lVert 2 9 \rVert 3 0 } } , \overline { { \ 8 } } \rVert$ when no residual connection
|
| 391 |
+
268 is present. On the other hand, Theorem $\mathbf { \delta } _ { . 4 . 3 }$ emphasizes that the spectrum of W plays a key role to
|
| 392 |
+
269 enhance the high frequencies when enough mass is distributed over the negative eigenvalues provided
|
| 393 |
+
270 that a residual connection exists – this is confirmed by the neg-prod-curve in Figure 2.
|
| 394 |
+
271 The residual connection from a spectral perspective. Given a sufficiently small step-size so
|
| 395 |
+
272 that the right hand side of inequality 13 is satisfied, $\mathbf { F } ( t + \tau ) = \mathbf { F } ( t ) + \tau \bar { \mathbf { A } } \mathbf { F } ( \dot { t } ) \mathbf { W }$ is HFD for a.e.
|
| 396 |
+
273 $\mathbf F ( 0 )$ if $| \lambda _ { - } ^ { \mathbf { \tilde { W } } } | ( \rho _ { \Delta } - 1 ) > \lambda _ { + } ^ { \mathbf { W } }$ , i.e. ‘there is more mass’ in the negative spectrum of W than in the
|
| 397 |
+
274 positive one. This means that differently from $\pm \varTheta \left| 3 0 \right| \bigotimes 1$ , there is no requirement on the minimal
|
| 398 |
+
275 magnitude of the spectral radius of W coming from the graph topology as long as $\lambda _ { + } ^ { \mathbf { w } }$ is small
|
| 399 |
+
276 enough. Conversely, without a residual term, the dynamics is LFD for a.e. ${ \bf \ddot { F } } ( 0 )$ independently of the
|
| 400 |
+
277 sign and magnitude of the eigenvalues of W. This is also confirmed by the GCN-curve in Figure 2.
|
| 401 |
+
278 Over-smoothing vs LFD. We highlight how in general a linear GCN equation as $\mathbf { F } ( t + \tau ) =$
|
| 402 |
+
279 $\tau \bar { \mathbf { A } } \mathbf { F } ( t ) \mathbf { W }$ may avoid over-smoothing in the sense of Definition $2 . 1 .$ meaning that $\mathcal { E } ^ { \mathrm { D i r } } ( { \bf F } ( t ) ) \infty$
|
| 403 |
+
280 as soon as there exist $\lambda _ { i } ^ { \pmb { \Delta } } \in ( 0 , 1 )$ and the spectral radius of W is large enough. However, this
|
| 404 |
+
281 will not lead to over-separation since the dominating term is the lowest frequency one: in other
|
| 405 |
+
282 words, once we re-set the scale right as per the normalization in Theorem $4 . 3 _ { \cdot }$ we encounter loss of
|
| 406 |
+
283 separability even with large (and possibly negative) spectrum of W.
|
| 407 |
+
|
| 408 |
+
# 284 5 Experiments
|
| 409 |
+
|
| 410 |
+
285 In this section we evaluate the gradient flow framework (GRAFF). We corroborate the spectral
|
| 411 |
+
286 analysis using synthetic data with controllable homophily. We confirm that having negative (positive)
|
| 412 |
+
287 eigenvalues of the channel-mixing W are essential in heterophilic (homophilic) scenarios where the
|
| 413 |
+
288 gradient flow should align with HFD (LFD) respectively. We show that the gradient flow in eq. $( 1 1 )$
|
| 414 |
+
289 – a linear, residual, symmetric graph convolutional model – achieves competitive performance on
|
| 415 |
+
290 heterophilic datasets.
|
| 416 |
+
291 Methodology. We crystallize GRAFF in the model presented in eq. $( 1 1 )$ with $\psi _ { \mathrm { E N } } , \psi _ { \mathrm { D E } }$ im
|
| 417 |
+
292 plemented as single linear layers or MLPs, and we set $\pmb { \Omega }$ to be diagonal. For the real-world
|
| 418 |
+
293 experiments we consider diagonally-dominant (DD), diagonal (D) and time-dependent choices
|
| 419 |
+
294 for the structure of $\mathbf { W }$ that offer explicit control over its spectrum. In the (DD)-case, we consider
|
| 420 |
+
295 a $\mathbf { W } ^ { 0 } \in \mathbb { R } ^ { d \times d }$ symmetric with zero diagonal and $\mathbf { w } \in \mathbb { R } ^ { d }$ defined by $\begin{array} { r } { \mathbf { w } _ { \alpha } = q _ { \alpha } \sum _ { \beta } \lvert \mathbf { W } _ { \alpha \beta } ^ { 0 } \rvert + r _ { \alpha } } \end{array}$
|
| 421 |
+
296 and set $\mathbf { W } = \mathrm { d i a g } ( \mathbf { w } ) + \mathbf { W } ^ { 0 }$ . Due to the Gershgorin Theorem the eigenvalues of W belong to
|
| 422 |
+
297 $\begin{array} { r } { [ \mathbf { w } _ { \alpha } - \sum _ { \beta } \vert \mathbf { W } _ { \alpha \beta } ^ { 0 } \vert , \dot { \mathbf { w } } _ { \alpha } + \sum _ { \beta } \vert \mathbf { W } _ { \alpha \beta } ^ { 0 } \vert ] } \end{array}$ , so the model ‘can’ easily re-distribute mass in the spectrum of
|
| 423 |
+
298 W via $q _ { \alpha } , r _ { \alpha }$ . This generalizes the decomposition of $\mathbf { W }$ in $\pmb { \mathbb { \ m } }$ providing a justification in terms of
|
| 424 |
+
299 its spectrum and turns out to be more efficient w.r.t. the hidden dimension $d$ as shown in Figure $\boxed { 4 }$ in
|
| 425 |
+
300 the Appendix. For (D) we take $\mathbf { W }$ to be diagonal, with entries sampled $\boldsymbol { \mathcal { U } } [ - 1 , 1 ]$ and fixed – i.e., we
|
| 426 |
+
301 do not train over W – and only learn $\psi _ { \mathrm { E N } }$ , $\psi _ { \mathrm { D E } }$ . We also include a time-dependent model where $\mathbf { W } _ { t }$
|
| 427 |
+
302 varies across layers. To investigate the role of the spectrum of $\mathbf { W }$ on synthetic graphs, we construct
|
| 428 |
+
303 three additional variants: $\mathbf { W } = \mathbf { W } ^ { \prime } + \mathbf { W } ^ { \prime } ^ { \top }$ , $\mathbf { W } = \pm \mathbf { W } ^ { \prime \top } \mathbf { W } ^ { \prime }$ named sum, prod and neg-prod
|
| 429 |
+
304 respectively where prod (neg-prod) variants have only non-negative (non-positive) eigenvalues.
|
| 430 |
+
305 Complexity and number of parameters. If we treat the number of layers as a constant, the discrete
|
| 431 |
+
306 gradient flow scales as $\mathcal { O } ( | \bar { \mathsf { V } } | p d + | \mathsf { E } | d ^ { 2 } )$ , where $p$ and $d$ are input feature and hidden dimension
|
| 432 |
+
307 respectively, with $p \geq d$ usually. Note that GCN has complexity ${ \dot { \mathcal { O } } } ( | \mathsf { E } | p d )$ and in fact our model is
|
| 433 |
+
308 faster than GCN as confirmed in Figure $5$ in Appendix $\dot { \mathbf { D } _ { \cdot } }$ Since $\psi _ { \mathrm { E N } } , \psi _ { \mathrm { D E } }$ are single linear layers
|
| 434 |
+
309 (MLPs), we can bound the number of parameters by $p d \stackrel { } { + } d ^ { 2 } + 3 d + d k$ , with $k$ the number of label
|
| 435 |
+
310 classes, in the (DD)-variant while in the (D)-variant we have $p d + 3 d + d k$ . Further ablation studies
|
| 436 |
+
311 appear in Figure 4 in the Appendix showing that (DD) outperforms sum and GCN – especially in the
|
| 437 |
+
312 lower hidden dimension regime – on real-world benchmarks with varying homophily.
|
| 438 |
+
313 Synthetic experiments and ablation studies.
|
| 439 |
+
314 To investigate our claims in a controlled environ
|
| 440 |
+
315 ment we use the synthetic Cora dataset of $\textcircled { 5 1 }$ Ap
|
| 441 |
+
316 pendix G]. Graphs are generated for target levels
|
| 442 |
+
317 of homophily via preferential attachment – see
|
| 443 |
+
318 Appendix $\mathbf { D } \dot { . } \dot { 3 }$ for details. Figure $2 \cdot$ confirms the
|
| 444 |
+
319 spectral analysis and offers a better understanding
|
| 445 |
+
320 in terms of performance and smoothness of the
|
| 446 |
+
321 predictions. Each curve – except GCN – repre
|
| 447 |
+
322 sents one version of W as in ‘methodology’ and
|
| 448 |
+
323 we implement eq. $^ { ( 1 1 ) }$ with $\beta = 0$ , $\pmb { \Omega } = \mathbf { 0 }$ . Fig
|
| 449 |
+
324 ure $\bigstar$ (top) reports the test accuracy vs true label
|
| 450 |
+
325 homophily. Neg-prod is better than prod on low
|
| 451 |
+
326 homophily and viceversa on high-homophily. This
|
| 452 |
+
327 confirms Proposition $\underline { { \boldsymbol { \left. 3 . 1 \right. } } }$ where we have shown
|
| 453 |
+
328 that the gradient flow can lead to a HFD dy
|
| 454 |
+
329 namics – that are generally desirable with low
|
| 455 |
+
330 homophily – through the negative eigenvalues of
|
| 456 |
+
331 W. Conversely, the prod configuration (where we
|
| 457 |
+
332 have an attraction-only dynamics) struggles in low
|
| 458 |
+
333 homophily scenarios even though a residual connection is present. Both prod and neg-prod are
|
| 459 |
+
334 ‘extreme’ choices and serve the purpose of highlighting that by turning off one side of the spectrum
|
| 460 |
+
335 this could be the more damaging depending on the underlying homophily. In general though ‘neutral’
|
| 461 |
+
336 variants like sum and (DD) are indeed more flexible and better performing. In fact, (DD) outperforms
|
| 462 |
+
337 GCN especially in low-homophily scenarios, confirming Theorem 4.3 where we have shown that
|
| 463 |
+
338 without a residual connection convolutional models are LFD – and hence more sensitive to underlying
|
| 464 |
+
339 homophily – irrespectively of the spectrum of W. This is further confirmed in Figure 3.
|
| 465 |
+
340 In Figure 2 (bottom) we compute the homophily of the prediction (cross) for a given method and we
|
| 466 |
+
341 compare with the homophily (circle) of the prediction read from the encoding (i.e. graph-agnostic).
|
| 467 |
+
342 The homophily here is a proxy to assess whether the evolution is smoothing, the goal being explaining
|
| 468 |
+
343 the smoothness of the prediction via the spectrum of W as per our theoretical analysis. For neg-prod
|
| 469 |
+
344 the homophily after the evolution is lower than that of the encoding, supporting the analysis that
|
| 470 |
+
345 negative eigenvalues of W enhance high-frequencies. The opposite behaviour occurs in the case of
|
| 471 |
+
346 prod and explains that in the low-homophily regime prod is under-performant due to the prediction
|
| 472 |
+
347 being smoother than the true homophily. (DD) and sum variants adapt better to the true homophily.
|
| 473 |
+
348 We note how the encoding compensates when the dynamics can only either attract or repulse (i.e. the
|
| 474 |
+
349 spectrum of W has a sign) by decreasing or increasing the initial homophily respectively.
|
| 475 |
+
350 Real world experiments. We test GRAFF against a range of datasets with varying homophily
|
| 476 |
+
351 [37, 33, 31] (see Appendix $\textcircled { \mathbf { D . 4 } }$ for additional details). We use results provided in [45, Table 1],
|
| 477 |
+
352 which includes standard baselines as GCN $\lVert 2 7 \rVert$ , GraphSAGE $\lVert 2 3 \rVert$ , GAT [42], PairNorm [48] and
|
| 478 |
+
353 recent models tailored towards the heterophilic setting (GGCN [45], Geom-GCN [31], H2GCN
|
| 479 |
+
354 [51] and GPRGNN $\pmb { \mathbb { I 3 } } \mathbf { I }$ . For Sheaf $[ \sqrt { 5 } ]$ , a recent top-performer on heterophilic datasets, we took
|
| 480 |
+
355 the best performing variant (out of six provided) for each dataset. We also include continuous
|
| 481 |
+
356 baselines CGNN $\checkmark$ and GRAND $\boxed { 1 0 }$ to provide empirical evidence for Proposition 4.1. Splits
|
| 482 |
+
357 taken from $\textcircled { 3 1 }$ are used in all the comparisons. The GRAFF model discussed in ‘methodology’
|
| 483 |
+
358 is a very simple architecture with shared parameters across layers and run-time smaller than GCN
|
| 484 |
+
359 and more recent models like GGCN designed for heterophilic graphs (see Figure 5 in the Appendix).
|
| 485 |
+
360 Nevertheless, it achieves competitive results on all datasets, performing on par or better than more
|
| 486 |
+
361 complex recent models. Moreover, comparison with the ‘time-dependent’ (DD) variant confirms
|
| 487 |
+
362 that by sharing weights across layers we do not lose performance. We note that on heterophilic
|
| 488 |
+
363 graphs short integration time is usually needed due to the topology being harmful and the negative
|
| 489 |
+
364 eigenvalues of W leading to exponential behaviour (see Appendix D).
|
| 490 |
+
|
| 491 |
+

|
| 492 |
+
Figure 2: Experiments on synthetic datasets with controlled homophily.
|
| 493 |
+
|
| 494 |
+
Table 1: Results on heterophilic and homophilic datasets
|
| 495 |
+
|
| 496 |
+
<table><tr><td>Hom level #Nodes #Edges</td><td>Texas 0.11 183 295</td><td>Wisconsin 0.21 251 466</td><td>Cornell 0.30 183 280</td><td>Film 0.22 7,600 26.752</td><td>Squirrel 0.22 5,201 198.493</td><td>Chameleon 0.23 2.277 31,421</td><td>Citeseer 0.74 3,327 4.676</td><td>Pubmed 0.80 18,717 44,327</td><td>Cora 0.81 2,708 5,278</td></tr><tr><td>#Classes</td><td>5</td><td>5</td><td>5</td><td>5</td><td>5</td><td>5</td><td>7</td><td>3</td><td>6</td></tr><tr><td>GGCN</td><td>84.86 ± 4.55</td><td>86.86 ±3.29</td><td>85.68 ± 6.63</td><td>37.54 ± 1.56</td><td>55.17 ± 1.58</td><td>71.14 ± 1.84</td><td>77.14 ± 1.45</td><td>89.15 ± 0.37</td><td>87.95 ± 1.05</td></tr><tr><td>GPRGNN</td><td>78.38 ± 4.36</td><td>82.94 ± 4.21</td><td>80.27 ± 8.11</td><td>34.63 ± 1.22</td><td>31.61 ± 1.24</td><td>46.58 ± 1.71</td><td>77.13 ± 1.67</td><td>87.54 ± 0.38</td><td>87.95 ± 1.18</td></tr><tr><td>H2GCN</td><td>84.86 ± 7.23</td><td>87.65 ± 4.98</td><td>82.70 ± 5.28</td><td>35.70 ± 1.00</td><td>36.48 ± 1.86</td><td>60.11 ± 2.15</td><td>77.11 ± 1.57</td><td>89.49 ± 0.38</td><td>87.87 ± 1.20</td></tr><tr><td>GCNII</td><td>77.57 ± 3.83</td><td>80.39 ± 3.40</td><td>77.86 ± 3.79</td><td>37.44 ± 1.30</td><td>38.47 ± 1.58</td><td>63.86 ± 3.04</td><td>77.33 ± 1.48</td><td>90.15 ± 0.43</td><td>88.37 ± 1.25</td></tr><tr><td>Geom-GCN</td><td>66.76 ± 2.72</td><td>64.51 ± 3.66</td><td>60.54 ± 3.67</td><td>31.59 ± 1.15</td><td>38.15 ± 0.92</td><td>60.00 ± 2.81</td><td>78.02 ± 1.15</td><td>89.95 ± 0.47</td><td>85.35 ± 1.57</td></tr><tr><td>PairNorm</td><td>60.27 ± 4.34</td><td>48.43 ± 6.14</td><td>58.92 ± 3.15</td><td>27.40 ± 1.24</td><td>50.44 ± 2.04</td><td>62.74 ± 2.82</td><td>73.59 ± 1.47</td><td>87.53 ± 0.44</td><td>85.79 ± 1.01</td></tr><tr><td>GraphSAGE</td><td>82.43 ± 6.14</td><td>81.18 ± 5.56</td><td>75.95 ± 5.01</td><td>34.23 ± 0.99</td><td>41.61 ± 0.74</td><td>58.73 ± 1.68</td><td>76.04 ± 1.30</td><td>88.45 ± 0.50</td><td>86.90 ± 1.04</td></tr><tr><td>GCN</td><td>55.14 ± 5.16</td><td>51.76 ± 3.06</td><td>60.54 ± 5.30</td><td>27.32 ± 1.10</td><td>53.43 ± 2.01</td><td>64.82 ± 2.24</td><td>76.50 ± 1.36</td><td>88.42 ± 0.50</td><td>86.98 ± 1.27</td></tr><tr><td>GAT</td><td>52.16 ± 6.63</td><td>49.41 ± 4.09</td><td>61.89 ± 5.05</td><td>27.44 ± 0.89</td><td>40.72 ± 1.55</td><td>60.26 ± 2.50</td><td>76.55 ± 1.23</td><td>87.30 ± 1.10</td><td>86.33 ± 0.48</td></tr><tr><td>MLP CGNN</td><td>80.81 ± 4.75</td><td>85.29 ± 3.31 74.31 ± 7.26</td><td>81.89 ± 6.40 66.22 ± 7.69</td><td>36.53 ± 0.70 35.95 ± 0.86</td><td>28.77 ± 1.56</td><td>46.21 ± 2.99</td><td>74.02 ± 1.90</td><td>75.69 ± 2.00 87.70 ± 0.49</td><td>87.16 ± 0.37 87.10 ± 1.35</td></tr><tr><td>GRAND</td><td>71.35 ± 4.05 75.68 ± 7.25</td><td>79.41 ± 3.64</td><td>82.16 ± 7.09</td><td>35.62 ± 1.01</td><td>29.24 ± 1.09 40.05 ± 1.50</td><td>46.89 ± 1.66 54.67 ± 2.54</td><td>76.91 ± 1.81 76.46 ± 1.77</td><td>89.02 ± 0.51</td><td>87.36 ± 0.96</td></tr><tr><td>Sheaf (max)</td><td>85.95 ± 5.51</td><td>89.41 ± 4.74</td><td>84.86 ± 4.71</td><td>37.81 ± 1.15</td><td>56.34 ± 1.32</td><td>68.04 ± 1.58</td><td>76.70 ± 1.57</td><td>89.49 ± 0.40</td><td>86.90 ± 1.13</td></tr><tr><td>GRAFF (DD)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>GRAFF (D)</td><td>88.38 ± 4.53</td><td>87.45 ± 2.94</td><td>83.24 ± 6.49</td><td>36.09 ± 0.81</td><td>54.52 ± 1.37</td><td>71.08 ± 1.75</td><td>76.92 ± 1.70</td><td>88.95 ± 0.52 90.04 ± 0.41</td><td>87.61 ± 0.97</td></tr><tr><td></td><td>88.11 ± 5.57</td><td>88.83 ± 3.29</td><td>84.05 ± 6.10</td><td>37.11 ± 1.08</td><td>47.36 ± 1.89</td><td>66.78 ± 1.28</td><td>77.30 ± 1.85</td><td></td><td>88.01 ± 1.03</td></tr><tr><td>GRAFF-timedep (DD)</td><td>87.03 ± 4.49</td><td>87.06 ± 4.04</td><td>82.16 ± 7.07</td><td>35.93 ± 1.23</td><td>53.97 ± 1.45</td><td>69.56 ± 1.20</td><td>76.59 ± 1.53</td><td>88.26 ± 0.41</td><td>87.38 ± 1.05</td></tr></table>
|
| 497 |
+
|
| 498 |
+
# 365 6 Conclusions
|
| 499 |
+
|
| 500 |
+
366 In this work, we developed a framework for GNNs where the evolution can be interpreted as
|
| 501 |
+
367 minimizing a multi-particle learnable energy. This translates into studying the interaction between
|
| 502 |
+
368 the spectrum of the graph and the spectrum of the ‘channel-mixing’ leading to a better understanding
|
| 503 |
+
369 of when and why the induced dynamics is low (high) frequency dominated. From a theoretical
|
| 504 |
+
370 perspective, we refined existing asymptotic analysis of GNNs to account for the role of the spectrum of
|
| 505 |
+
371 the channel-mixing as well. From a practical perspective, our framework allows for ‘educated’ choices
|
| 506 |
+
372 resulting in a simple convolutional model that achieves competitive performance on homophilic
|
| 507 |
+
373 and heterophilic benchmarks while being faster than GCN. Our results refute the folklore of graph
|
| 508 |
+
374 convolutional models being too simple for heterophilic benchmarks.
|
| 509 |
+
375 Limitations and future works. We limited our attention to a constant bilinear form W, which
|
| 510 |
+
376 might be excessively rigid. It is possible to derive non-constant alternatives that are aware of the
|
| 511 |
+
377 features or the position in the graph. The main challenge amounts to matching the requirement for
|
| 512 |
+
378 local ‘heterogeneity’ with efficiency: we reserve this question for future work. Our analysis is also a
|
| 513 |
+
379 first step into studying the interaction of the graph and ‘channel-mixing’ spectra; we did not explore
|
| 514 |
+
380 other dynamics that are neither LFD nor HFD as per our definitions. The energy formulation points
|
| 515 |
+
381 to new models more ‘physics’ inspired; this will be explored in future work.
|
| 516 |
+
382 Societal impact. Our work sheds light on the actual dynamics of GNNs and could hence improve
|
| 517 |
+
383 their understanding, which is crucial for assessing their impact on large-scale applications. We also
|
| 518 |
+
384 show that instances of our framework achieve competitive performance on heterophilic data despite
|
| 519 |
+
385 being faster than GCN, providing evidence for efficient methods with reduced footprint.
|
| 520 |
+
|
| 521 |
+
# References
|
| 522 |
+
|
| 523 |
+
387 [1] U. Alon and E. Yahav. On the bottleneck of graph neural networks and its practical implications.
|
| 524 |
+
388 In International Conference on Learning Representations, 2021.
|
| 525 |
+
389 [2] M. Balcilar, G. Renton, P. Héroux, B. Gaüzère, S. Adam, and P. Honeine. Analyzing the
|
| 526 |
+
390 expressive power of graph neural networks in a spectral perspective. In International Conference
|
| 527 |
+
391 on Learning Representations, 2020.
|
| 528 |
+
392 [3] M. Biloš, J. Sommer, S. S. Rangapuram, T. Januschowski, and S. Günnemann. Neural flows:
|
| 529 |
+
393 Efficient alternative to neural odes. In Advances in Neural Information Processing Systems,
|
| 530 |
+
394 volume 34, 2021.
|
| 531 |
+
395 [4] D. Bo, X. Wang, C. Shi, and H. Shen. Beyond low-frequency information in graph convolutional
|
| 532 |
+
396 networks. In AAAI. AAAI Press, 2021.
|
| 533 |
+
397 [5] C. Bodnar, F. Di Giovanni, B. P. Chamberlain, P. Liò, and M. M. Bronstein. Neural sheaf
|
| 534 |
+
398 diffusion: A topological perspective on heterophily and oversmoothing in gnns. arXiv preprint
|
| 535 |
+
399 arXiv:2202.04579, 2022.
|
| 536 |
+
400 [6] S. Brody, U. Alon, and E. Yahav. How attentive are graph attention networks? arXiv preprint
|
| 537 |
+
401 arXiv:2105.14491, 2021.
|
| 538 |
+
402 [7] J. Bruna, W. Zaremba, A. Szlam, and Y. LeCun. Spectral networks and locally connected
|
| 539 |
+
403 networks on graphs. In 2nd International Conference on Learning Representations, ICLR 2014,
|
| 540 |
+
404 2014.
|
| 541 |
+
405 [8] C. Cai and Y. Wang. A note on over-smoothing for graph neural networks. arXiv preprint
|
| 542 |
+
406 arXiv:2006.13318, 2020.
|
| 543 |
+
407 [9] B. Chamberlain, J. Rowbottom, D. Eynard, F. Di Giovanni, X. Dong, and M. Bronstein. Beltrami
|
| 544 |
+
408 flow and neural diffusion on graphs. Advances in Neural Information Processing Systems, 34,
|
| 545 |
+
409 2021.
|
| 546 |
+
410 [10] B. Chamberlain, J. Rowbottom, M. I. Gorinova, M. Bronstein, S. Webb, and E. Rossi. Grand:
|
| 547 |
+
411 Graph neural diffusion. In International Conference on Machine Learning, pages 1407–1418.
|
| 548 |
+
412 PMLR, 2021.
|
| 549 |
+
413 [11] M. Chen, Z. Wei, Z. Huang, B. Ding, and Y. Li. Simple and deep graph convolutional networks.
|
| 550 |
+
414 In International Conference on Machine Learning, pages 1725–1735. PMLR, 2020.
|
| 551 |
+
415 [12] R. T. Chen, Y. Rubanova, J. Bettencourt, and D. K. Duvenaud. Neural ordinary differential
|
| 552 |
+
416 equations. Advances in neural information processing systems, 31, 2018.
|
| 553 |
+
417 [13] E. Chien, J. Peng, P. Li, and O. Milenkovic. Adaptive universal generalized pagerank graph
|
| 554 |
+
418 neural network. In 9th International Conference on Learning Representations, ICLR 2021,
|
| 555 |
+
419 2021.
|
| 556 |
+
420 [14] F. R. Chung and F. C. Graham. Spectral graph theory. Number 92. American Mathematical
|
| 557 |
+
421 Soc., 1997.
|
| 558 |
+
422 [15] M. Defferrard, X. Bresson, and P. Vandergheynst. Convolutional neural networks on graphs
|
| 559 |
+
423 with fast localized spectral filtering. Advances in neural information processing systems, 29,
|
| 560 |
+
424 2016.
|
| 561 |
+
425 [16] J. Eells and J. H. Sampson. Harmonic mappings of riemannian manifolds. American journal of
|
| 562 |
+
426 mathematics, 86(1):109–160, 1964.
|
| 563 |
+
427 [17] M. Eliasof, E. Haber, and E. Treister. Pde-gcn: Novel architectures for graph neural networks
|
| 564 |
+
428 motivated by partial differential equations. Advances in Neural Information Processing Systems,
|
| 565 |
+
429 34, 2021.
|
| 566 |
+
430 [18] M. Geiger, L. Petrini, and M. Wyart. Landscape and training regimes in deep learning. Physics
|
| 567 |
+
431 Reports, 924:1–18, 2021.
|
| 568 |
+
432 [19] J. Gilmer, S. S. Schoenholz, P. F. Riley, O. Vinyals, and G. E. Dahl. Neural message passing
|
| 569 |
+
433 for quantum chemistry. In International Conference on Machine Learning, pages 1263–1272.
|
| 570 |
+
434 PMLR, 2017.
|
| 571 |
+
435 [20] C. Goller and A. Kuchler. Learning task-dependent distributed representations by backprop
|
| 572 |
+
436 agation through structure. In Proceedings of International Conference on Neural Networks
|
| 573 |
+
437 (ICNN’96), volume 1, pages 347–352. IEEE, 1996.
|
| 574 |
+
438 [21] M. Gori, G. Monfardini, and F. Scarselli. A new model for learning in graph domains. In
|
| 575 |
+
439 Proceedings. 2005 IEEE International Joint Conference on Neural Networks, 2005., volume 2,
|
| 576 |
+
440 pages 729–734. IEEE, 2005.
|
| 577 |
+
441 [22] E. Haber and L. Ruthotto. Stable architectures for deep neural networks. Inverse Problems, 34,
|
| 578 |
+
442 2018.
|
| 579 |
+
443 [23] W. Hamilton, Z. Ying, and J. Leskovec. Inductive representation learning on large graphs.
|
| 580 |
+
444 Advances in neural information processing systems, 30, 2017.
|
| 581 |
+
445 [24] D. K. Hammond, P. Vandergheynst, and R. Gribonval. The spectral graph wavelet transform:
|
| 582 |
+
446 Fundamental theory and fast computation. In Vertex-Frequency Analysis of Graph Signals,
|
| 583 |
+
447 pages 141–175. Springer, 2019.
|
| 584 |
+
448 [25] M. He, Z. Wei, H. Xu, et al. Bernnet: Learning arbitrary graph spectral filters via bernstein
|
| 585 |
+
449 approximation. Advances in Neural Information Processing Systems, 34, 2021.
|
| 586 |
+
450 [26] R. Kimmel, N. Sochen, and R. Malladi. From high energy physics to low level vision. In
|
| 587 |
+
451 International Conference on Scale-Space Theories in Computer Vision, pages 236–247. Springer,
|
| 588 |
+
452 1997.
|
| 589 |
+
453 [27] T. N. Kipf and M. Welling. Semi-Supervised Classification with Graph Convolutional Networks.
|
| 590 |
+
454 In Proceedings of the 5th International Conference on Learning Representations, ICLR ’17,
|
| 591 |
+
455 2017.
|
| 592 |
+
456 [28] J. Klicpera, S. Weißenberger, and S. Günnemann. Diffusion improves graph learning. In
|
| 593 |
+
457 Proceedings of the 33rd International Conference on Neural Information Processing Systems,
|
| 594 |
+
458 2019.
|
| 595 |
+
459 [29] H. Nt and T. Maehara. Revisiting graph neural networks: All we have is low-pass filters. arXiv
|
| 596 |
+
460 preprint arXiv:1905.09550, 2019.
|
| 597 |
+
461 [30] K. Oono and T. Suzuki. Graph neural networks exponentially lose expressive power for node
|
| 598 |
+
462 classification. In International Conference on Learning Representations, 2020.
|
| 599 |
+
463 [31] H. Pei, B. Wei, K. C. Chang, Y. Lei, and B. Yang. Geom-gcn: Geometric graph convolutional
|
| 600 |
+
464 networks. In 8th International Conference on Learning Representations, ICLR 2020, 2020.
|
| 601 |
+
465 [32] P. Perona and J. Malik. Scale-space and edge detection using anisotropic diffusion. PAMI,
|
| 602 |
+
466 12(7):629–639, 1990.
|
| 603 |
+
467 [33] B. Rozemberczki, C. Allen, and R. Sarkar. Multi-scale attributed node embedding. Journal of
|
| 604 |
+
468 Complex Networks, 9(2):cnab014, 2021.
|
| 605 |
+
469 [34] T. K. Rusch, B. P. Chamberlain, J. Rowbottom, S. Mishra, and M. M. Bronstein. Graph-coupled
|
| 606 |
+
470 oscillator networks. In International Conference on Machine Learning, 2022.
|
| 607 |
+
471 [35] M. E. Sander, P. Ablin, M. Blondel, and G. Peyré. Sinkformers: Transformers with doubly
|
| 608 |
+
472 stochastic attention. In International Conference on Artificial Intelligence and Statistics, pages
|
| 609 |
+
473 3515–3530. PMLR, 2022.
|
| 610 |
+
474 [36] F. Scarselli, M. Gori, A. C. Tsoi, M. Hagenbuchner, and G. Monfardini. The graph neural
|
| 611 |
+
475 network model. IEEE transactions on neural networks, 20(1):61–80, 2008.
|
| 612 |
+
476 [37] P. Sen, G. Namata, M. Bilgic, L. Getoor, B. Galligher, and T. Eliassi-Rad. Collective classifica
|
| 613 |
+
477 tion in network data. AI magazine, 29(3):93–93, 2008.
|
| 614 |
+
478 [38] A. Sperduti. Encoding labeled graphs by labeling raam. Advances in Neural Information
|
| 615 |
+
479 Processing Systems, 6, 1993.
|
| 616 |
+
480 [39] M. Thorpe, T. M. Nguyen, H. Xia, T. Strohmer, A. Bertozzi, S. Osher, and B. Wang. Grand $^ { + + }$ :
|
| 617 |
+
481 Graph neural diffusion with a source term. In International Conference on Learning Represen
|
| 618 |
+
482 tations, 2021.
|
| 619 |
+
483 [40] J. Topping, F. Di Giovanni, B. P. Chamberlain, X. Dong, and M. M. Bronstein. Understanding
|
| 620 |
+
484 over-squashing and bottlenecks on graphs via curvature. International Conference on Learning
|
| 621 |
+
485 Representations, 2022.
|
| 622 |
+
486 [41] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and
|
| 623 |
+
487 I. Polosukhin. Attention is all you need. Advances in neural information processing systems,
|
| 624 |
+
488 30, 2017.
|
| 625 |
+
489 [42] P. Velickovi ˇ c, G. Cucurull, A. Casanova, A. Romero, P. Liò, and Y. Bengio. Graph attention ´
|
| 626 |
+
490 networks. In International Conference on Learning Representations, 2018.
|
| 627 |
+
491 [43] F. Wu, A. Souza, T. Zhang, C. Fifty, T. Yu, and K. Weinberger. Simplifying graph convolutional
|
| 628 |
+
492 networks. In International conference on machine learning, pages 6861–6871. PMLR, 2019.
|
| 629 |
+
493 [44] L.-P. Xhonneux, M. Qu, and J. Tang. Continuous graph neural networks. In International
|
| 630 |
+
494 Conference on Machine Learning, pages 10432–10441. PMLR, 2020.
|
| 631 |
+
495 [45] Y. Yan, M. Hashemi, K. Swersky, Y. Yang, and D. Koutra. Two sides of the same coin:
|
| 632 |
+
496 Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint
|
| 633 |
+
497 arXiv:2102.06462, 2021.
|
| 634 |
+
498 [46] Z. Ying, D. Bourgeois, J. You, M. Zitnik, and J. Leskovec. Gnnexplainer: Generating expla
|
| 635 |
+
499 nations for graph neural networks. Advances in neural information processing systems, 32,
|
| 636 |
+
500 2019.
|
| 637 |
+
501 [47] H. Yuan, H. Yu, S. Gui, and S. Ji. Explainability in graph neural networks: A taxonomic survey.
|
| 638 |
+
502 arXiv preprint arXiv:2012.15445, 2020.
|
| 639 |
+
503 [48] L. Zhao and L. Akoglu. Pairnorm: Tackling oversmoothing in gnns. arXiv preprint
|
| 640 |
+
504 arXiv:1909.12223, 2019.
|
| 641 |
+
505 [49] D. Zhou and B. Schölkopf. Regularization on discrete spaces. In Joint Pattern Recognition
|
| 642 |
+
506 Symposium, pages 361–368. Springer, 2005.
|
| 643 |
+
507 [50] K. Zhou, X. Huang, D. Zha, R. Chen, L. Li, S.-H. Choi, and X. Hu. Dirichlet energy constrained
|
| 644 |
+
508 learning for deep graph neural networks. Advances in Neural Information Processing Systems,
|
| 645 |
+
509 34:21834–21846, 2021.
|
| 646 |
+
510 [51] J. Zhu, Y. Yan, L. Zhao, M. Heimann, L. Akoglu, and D. Koutra. Beyond homophily in graph
|
| 647 |
+
511 neural networks: Current limitations and effective designs. Advances in Neural Information
|
| 648 |
+
512 Processing Systems, 33:7793–7804, 2020.
|
| 649 |
+
513 [52] O. Shchur, M. Mumme, A. Bojchevski, and S. Günnemann. Pitfalls of graph neural network
|
| 650 |
+
514 evaluation. In NIPS workshop, 2018.
|
| 651 |
+
515 [53] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin,
|
| 652 |
+
516 N. Gimelshein, L. Antiga, A. Desmaison, A. Kopf, E. Yang, Z. DeVito, M. Raison, A. Tejani,
|
| 653 |
+
517 S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, and S. Chintala. Pytorch: An imperative style,
|
| 654 |
+
518 high-performance deep learning library. In NeurIPS. 2019.
|
| 655 |
+
519 [54] M. Fey and J. E. Lenssen. Fast graph representation learning with PyTorch Geometric. In ICLR
|
| 656 |
+
520 Workshop on Representation Learning on Graphs and Manifolds, 2019.
|
| 657 |
+
521 [55] L. Biewald. Experiment tracking with weights and biases, 2020. Software available from
|
| 658 |
+
522 wandb.com.
|
| 659 |
+
|
| 660 |
+
# 523 Checklist
|
| 661 |
+
|
| 662 |
+
524 The checklist follows the references. Please read the checklist guidelines carefully for information on
|
| 663 |
+
525 how to answer these questions. For each question, change the default [TODO] to [Yes] , [No] , or
|
| 664 |
+
526 [N/A] . You are strongly encouraged to include a justification to your answer, either by referencing
|
| 665 |
+
527 the appropriate section of your paper or providing a brief inline description. For example:
|
| 666 |
+
|
| 667 |
+
• Did you include the license to the code and datasets? [Yes] See Section ??.
|
| 668 |
+
• Did you include the license to the code and datasets? [No] The code and the data are proprietary.
|
| 669 |
+
• Did you include the license to the code and datasets? [N/A]
|
| 670 |
+
|
| 671 |
+
532 Please do not modify the questions and only use the provided macros for your answers. Note that the
|
| 672 |
+
533 Checklist section does not count towards the page limit. In your paper, please delete this instructions
|
| 673 |
+
534 block and only keep the Checklist section heading above along with the questions/answers below.
|
| 674 |
+
|
| 675 |
+
1. For all authors...
|
| 676 |
+
|
| 677 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 678 |
+
(b) Did you describe the limitations of your work? [Yes] , in Section 6.
|
| 679 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes] in the Societal impact paragraph in Section 6.
|
| 680 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 681 |
+
|
| 682 |
+
2. If you are including theoretical results...
|
| 683 |
+
|
| 684 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] in Appendix A Appendix B and Appendix C.
|
| 685 |
+
|
| 686 |
+
3. If you ran experiments...
|
| 687 |
+
|
| 688 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] Code and README in SM, dataloaders in code
|
| 689 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Splits and hyperparameters provided in code zip
|
| 690 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Standard deviations are stated in results table
|
| 691 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] in appendix D
|
| 692 |
+
|
| 693 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 694 |
+
|
| 695 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] datasets and standard libraries cited in appendix D
|
| 696 |
+
(b) Did you mention the license of the assets? [Yes] industry standard libraries and benchmark datasets were used in accordance with licences
|
| 697 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] code provided in SM zip
|
| 698 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 699 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] no personal data is contained within benchmarking datasets
|
| 700 |
+
|
| 701 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 702 |
+
|
| 703 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 704 |
+
|
| 705 |
+
572 (b) Did you describe any potential participant risks, with links to Institutional Review
|
| 706 |
+
573 Board (IRB) approvals, if applicable? [N/A]
|
| 707 |
+
574 (c) Did you include the estimated hourly wage paid to participants and the total amount
|
| 708 |
+
575 spent on participant compensation? [N/A]
|
parse/dev/0IywQ8uxJx/0IywQ8uxJx_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/0IywQ8uxJx/0IywQ8uxJx_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/0IywQ8uxJx/0IywQ8uxJx_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/17RDXeF-skZ/17RDXeF-skZ.md
ADDED
|
@@ -0,0 +1,343 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DOING FAST ADAPTATION FAST: CONDITIONALLY INDEPENDENT DEEP ENSEMBLES FOR DISTRIBUTION SHIFTS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Classifiers in a diverse ensemble capture distinct predictive signals, which is valuable for datasets containing multiple strongly predictive signals. Performing fast adaptation at test time allows us to generalize to distributions where certain signals are no longer predictive, or to avoid relying on sensitive or protected attributes. However, ensemble learning is often expensive, even more so when we need to enforce diversity constraints between the high-dimensional representations of the classifiers. Instead, we propose an efficient and fast method for learning ensemble diversity. We minimize conditional mutual information of the output distributions between classifiers, a quantity which can be cheaply and exactly computed from empirical data. The resulting ensemble contains individually strong predictors that are only dependent because they predict the label. We demonstrate the efficacy of our method on shortcut learning tasks. Performing fast adaptation on our ensemble selects shortcut-invariant models that generalize well to test distributions where the shortcuts are uncorrelated with the label.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Some of the strongest scientific theories are supported by multiple sources of evidence, a principle described by 19th century philosopher William Whewell as “consilience”. Evolution is one such example, having been firmly corroborated by fields ranging from paleontology to genetics. In many real-world applications of machine learning, datasets can similarly contain multiple predictive signals that explain the label well. In these settings, a standard model typically learns from a combination of predictive features (Ross et al., 2018; Kirichenko et al., 2022). Such a model will fail to generalize to distribution shifts that break the correlation between certain signals and the label (Hovy & Søgaard, 2015; Hashimoto et al., 2018; Puli et al., 2022).
|
| 12 |
+
|
| 13 |
+
This shortcoming can be addressed by learning a diverse set or ensemble of classifiers. Such methods typically exploit some notion of independence to learn multiple classifiers that rely on different predictive signals. We can then perform fast adaptation, using a small amount of out-of-distribution (OOD) validation data to select the model that generalizes best. Learning diversity is also beneficial in and of itself: these classifiers are empirically shown to be more human-interpretable than if we were to fit a single model (Ross et al., 2018), possibly because they learn disentangled representations that correspond to natural factors of variation (Shu et al., 2019).
|
| 14 |
+
|
| 15 |
+
The key challenge is quantifying the right notion of diversity. Existing work has exploited concepts like input gradient or parameter orthogonality as a proxy for statistical independence (Teney et al., 2021; Xu et al., 2021). To tackle OOD generalization, which fundamentally requires additional assumptions or data beyond the observed training data (Bareinboim et al., 2022; Scholkopf et al., ¨ 2021), previous work have also assumed access to unlabelled test data and measured disagreement on those examples (Lee et al., 2022; Pagliardini et al., 2022). However, these objectives or assumptions are often prohibitive or unrealistic in real-world settings. For example, group-balanced test data is not always obtainable, e.g. when deploying a pneumonia model to multiple new hospitals whose patient profiles may change over time. Another costly example is enforcing input gradient orthogonality on high-dimensional covariates like images or text, where it can be challenging to avoid learning from orthogonal covariates of the same underlying feature, such as neighboring pixels.
|
| 16 |
+
|
| 17 |
+
To avoid the pitfalls of operating in high-dimensional input or parameter space, a promising line of work instead adopts the information-theoretic perspective and tackles the problem as representation learning. These approaches apply the information bottleneck method and minimize mutual information between the representations learnt by each classifier. Such an objective forces the classifiers to rely on distinctly meaningful features for prediction. Most notably, Pace et al. (2020) and Rame & Cord (2021) minimize mutual information between the classifier representations conditioned on the label. Since any pair of predictors cannot both be accurate while remaining unconditionally independent, the extra conditioning prevents learning weak classifiers. The resulting ensemble contains accurate classifiers that nevertheless rely on distinct predictive signals. The only core assumption is that the underlying predictive signals are themselves conditionally independent.
|
| 18 |
+
|
| 19 |
+
These approaches are conceptually appealing but practically challenging. Mutual information between high-dimensional representations is intractable and must be approximated, either via variational (e.g. Fischer, 2020) or contrastive (e.g. Oord et al., 2018) bounds. Furthermore, such approximations are computationally expensive, a problem that is compounded in the ensemble setting where we wish to train multiple classifiers speedily.
|
| 20 |
+
|
| 21 |
+
We seek to learn ensemble diversity fast and effectively. Our key insight is that it suffices to enforce conditional independence on the output distributions of the classifiers. Our first contribution is proposing conditional mutual information (CMI) between output distributions as the regularizing objective. Assuming conditionally independent predictive signals, enforcing CMI between output distributions also guarantees that the ensemble where separate predictive signals are learnt by separate classifiers is a minimizing solution. Since the output distribution is categorical, CMI can be cheaply and exactly computed from empirical data. In addition, our method avoids using additional sources of data that cannot be found in many real-world domains, such as unlabelled test data or “group” labels for each predictive signal in the dataset. We only permit a small amount of validation data from the test distribution for (1) hyperparameter tuning and (2) selecting the final predictor from our ensemble. We dub our approach as Conditionally Independent Deep Ensembles (CoDE).
|
| 22 |
+
|
| 23 |
+
Our second contribution is evaluating CoDE on benchmark datasets for shortcut learning (Geirhos et al., 2020). Shortcuts are signals that are (i) highly but spuriously correlated to the label in the training distribution, possibly due to biases in data collection or other systematic pre-processing errors (Torralba & Efros, 2011), and (ii) preferentially learnt by a neural network, possibly due to simplicity biases (Shah et al., 2020) or architectural biases (e.g. convolutional neural networks (CNNs) relying on texture over shape (Baker et al., 2018)). An empirical risk minimizing (ERM) model will rely on shortcuts and fail to generalize to test distributions where they are no longer correlated to the label. This is a natural application for our method as the core assumption of conditional independence applies to many such datasets — for example, in natural images, the foreground is typically the label and is thus conditionally independent from the background (shortcut). We show that CoDE effectively recovers an ensemble where the shortcut features and the true signal are learnt by separate classifiers.
|
| 24 |
+
|
| 25 |
+
# 2 PRELIMINARIES: SETUP AND NOTATION
|
| 26 |
+
|
| 27 |
+
In Section 3, we will fully motivate the assumptions behind our model of the data-generating process (DGP). However, we describe it here first to establish key terminology and concepts.
|
| 28 |
+
|
| 29 |
+
Data-Generating Process Let $\mathbf { z }$ denote the set of latent factors that generate the set of observed features $\mathbf { x } \in \mathbb { R } ^ { P }$ . Let $y \in \{ 0 , 1 , \dotsc , K - 1 \}$ denote the label. The data $p _ { e } ( \mathbf { x } , y , \mathbf { z } )$ is generated from a family of distributions indexed by $e$ , the environment. We only consider: (i) a single training environment $\mathbf { \boldsymbol { e } } _ { \mathbf { \lambda } } = t { \boldsymbol { r } } _ { \mathbf { \lambda } } $ ), from which we have access to i.i.d. labelled training examples $D _ { t r } \ = \ \{ { \bf x } _ { i } , y _ { i } \} _ { i = 1 } ^ { N }$ , and (ii) a test environment $\mathit { \Pi } _ { \mathrm { ~ e ~ } } = \mathit { \Pi } _ { t e }$ ), from which we draw unlabelled test examples that our model should perform well on. We also allow access to a small set of labelled validation data $D _ { v a l } = \{ \mathbf { x } _ { i } , y _ { i } \} _ { i = 1 } ^ { N ^ { \prime } }$ from the test environment, which is used only for hyperparameter tuning and ensembling (i.e. constructing the final model from the set of learnt classifiers).
|
| 30 |
+
|
| 31 |
+
We make the following assumptions on the DGP:
|
| 32 |
+
|
| 33 |
+
(i) all label information is encoded by $\mathbf { z }$ , i.e. $p _ { e } ( y | \mathbf { x } , \mathbf { z } ) = p _ { e } ( y | \mathbf { z } )$ for all $e$ (ii) $p _ { e } ( \mathbf { x } | \mathbf { z } ) = p ( \mathbf { x } | \mathbf { z } )$ is invariant across all $e$
|
| 34 |
+
|
| 35 |
+
(iii) $p _ { e } ( { \bf z } ) > 0$ for all $e$ and $\mathbf { z }$
|
| 36 |
+
(iv) $p _ { e } ( y ) > 0$ for all $e$ and $y$
|
| 37 |
+
(v) [Latent Conditional Independence] $z _ { i } \perp \perp z _ { j } \mid y$ for all $e$ and $i , j$
|
| 38 |
+
|
| 39 |
+
Based on these assumptions, we can factorize $p _ { e } ( \mathbf { x } , y , \mathbf { z } )$ as:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
p _ { e } ( \mathbf { z } , \mathbf { x } , y ) = p _ { e } ( y ) \left( \prod _ { i = 1 } ^ { L } p _ { e } ( z _ { i } | y ) \right) p ( \mathbf { x } | \mathbf { z } )
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
Example: ColoredMNIST As introduced in Arjovsky et al. (2019), $y$ is a binary label which determines color $( z _ { 1 } \in \{ \mathrm { r e d } , \mathrm { g r e e n } \} )$ with probability $p _ { c }$ and digit $( z _ { 2 } \in \{ 0 \ – 4 , 5 \ – 9 \} )$ ) with probability $p _ { d }$ . $p _ { c }$ and $p _ { d }$ are independently chosen. In the training distribution, $p _ { c } = 0 . 2 5$ and $p _ { d } = 0 . 1$ , as such, an ERM model will primarily learn from color. $p _ { c }$ and $p _ { d }$ can be arbitrary in the test distribution.
|
| 46 |
+
|
| 47 |
+
Example: Waterbirds As introduced in Sagawa et al. (2019), $y$ is a binary label determining if the image represents a water or land bird. It perfectly determines the foreground $( z _ { 1 } \in \ \left\{ \begin{array} { l l } { \end{array} } \right.$ water bird, land bird}) and is highly but spuriously correlated to the background $( z _ { 2 } \in$ {water, land}) in the training distribution. An ERM model will learn from background features.
|
| 48 |
+
|
| 49 |
+
Group Robustness When $\mathbf { z }$ is discrete, each possible value that $\mathbf { z }$ can take is known as a group. Due to the spurious correlations created by $p _ { t r } ( z _ { i } | y )$ , groups that are highly represented in the training set are called “majority groups”, and poorly-represented groups are “minority groups”. Group robustness refers to the goal of generalizing well on all groups and is one natural way of evaluating if a model has been learning shortcuts. For example, both ColoredMNIST and Waterbirds admits four groups formed by the Cartesian product of $z _ { 1 }$ and $z _ { 2 }$ .
|
| 50 |
+
|
| 51 |
+
Ensembles and Fast Adaptation A classifier $f ( \mathbf { x } ) : = p _ { \theta } ( y | \mathbf { x } )$ is parametrized by $\theta$ and outputs class probabilities. We will use $\hat { y } : = p _ { \theta } ( y )$ to denote the unconditional output distribution. We use the term “ensemble” loosely to refer to a set of or sequentially. (Section 4 clarifies the relations $M$ classifiers to tradition $\{ f _ { m } \} _ { m = 1 } ^ { M }$ that can be learnt joinle methods.) After all $M$ classifiers are learnt, the final model $\theta ^ { * }$ is selected using validation data $D _ { v a l }$ :
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\theta ^ { * } = \arg \operatorname* { m i n } _ { \theta _ { m } , m \in \{ 1 , \dots , M \} } \frac { 1 } { N ^ { \prime } } \sum _ { i = 1 } ^ { N ^ { \prime } } \log p _ { \theta _ { m } } ( y _ { i } | \mathbf { x } _ { i } )
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
This process is referred to as fast adaptation.
|
| 58 |
+
|
| 59 |
+
# 3 CONDITIONALLY INDEPENDENT DEEP ENSEMBLES
|
| 60 |
+
|
| 61 |
+
To motivate our approach and the assumptions made in (1), we first define what it means to learn a diverse ensemble and explain why conditional independence is a sound measure of diversity.
|
| 62 |
+
|
| 63 |
+
# 3.1 DIVERSITY AS CONDITIONAL INDEPENDENCE
|
| 64 |
+
|
| 65 |
+
Diverse classifiers utilize separate predictive signals, intuitively, they predict the “same things for different reasons” (Rame & Cord, 2021). Our setup in Section 2 formalizes this notion of “different reasons” by explicitly defining the latent variable $\mathbf { z }$ , which models the total underlying set of predictive signals that relate $\mathbf { x }$ to $y$ . A classifier that learns a mapping from $\mathbf { x }$ to $y$ can then be interpreted as implicitly inferring $\mathbf { z }$ from $\mathbf { x }$ and learning a mapping from $\mathbf { z }$ to $y$ . We can thus define diverse classifiers that rely on separate predictive signals as learning from separate dimensions or subspaces of $\mathbf { z }$ .
|
| 66 |
+
|
| 67 |
+
To formalize the idea that a classifier $f$ learns using only a subspace of $\mathbf { z }$ , one naive approach might be to define $f$ as relying only on the subspace ${ \mathbf z } _ { [ a ] }$ if and only if (some distribution computed from) $f$ is independent of its complement ${ \mathbf z } \backslash { \mathbf z } _ { [ a ] }$ . This definition is convenient as it suggests that the appropriate objective to learn a diverse ensemble is simply to enforce statistical independence between the classifiers. This follows because two classifiers that rely on overlapping subspaces of $\mathbf { z }$ will necessarily be dependent.
|
| 68 |
+
|
| 69 |
+
However, the definition above assumes that distinct predictive signals (i.e. subspaces of $\mathbf { z }$ ) are themselves unconditionally independent. This is not always true when a dataset contains multiple strongly predictive signals. Dimensions of $\mathbf { z }$ can be dependent by virtue of their correlation to $y$ Classifiers that learn from such signals will similarly be dependent. Shortcut learning is precisely a problem because meaningful and spurious features are highly correlated in the training environment.
|
| 70 |
+
|
| 71 |
+
This conundrum can be resolved by establishing independence of the latent factors with conditioning on $y$ . Doing so is equivalent to assuming that upon knowing the true label, observing one set of features yields no additional information about other features. This is usually a realistic assumption to make. As the Waterbirds example in Section 2 shows, backgrounds and foregrounds are often conditionally independent in the test distributions we care about. This motivates our assumption (v) of latent conditional independence in Section 2, where the individual factors $z _ { i }$ are conditionally independent given $y$ . We formalize this notion of “diversity as conditional independence” below.
|
| 72 |
+
|
| 73 |
+
Definition 3.1. Let $\mathbf { z } _ { [ a ] } : = ( z _ { a _ { 1 } } , \ldots , z _ { a _ { l } } )$ denote some subspace of $\mathbf { z }$ . Let $\hat { h } ( f )$ denote some distribution computed from $f$ . We say $f$ is invariant to ${ \mathbf z } _ { [ a ] }$ if $\hat { h } \perp \perp ( z _ { a _ { 1 } } , \ldots , z _ { a _ { l } } ) | y$ . Let $\mathbf { z } _ { [ i ] }$ be the maximal subset of $\mathbf { z }$ that $f$ is invariant to. Then $f$ is said to rely on $\mathbf { z } _ { - [ i ] } : = \mathbf { z } \backslash \mathbf { z } _ { [ i ] }$ for prediction.
|
| 74 |
+
|
| 75 |
+
Definition 3.2. Let $f$ and $f ^ { \prime }$ be a pair of classifiers that rely on $\mathbf { z } _ { [ i ] }$ and $\mathbf { z } _ { [ i ^ { \prime } ] }$ respectively. $f$ and $f ^ { \prime }$ are said to be diverse if $\mathbf { z } _ { [ i ] } \bigcap _ { . . } \mathbf { z } _ { [ i ^ { \prime } ] } = \emptyset$ . An ensemble $\{ f _ { m } \} _ { m = 1 } ^ { M }$ is diverse if every pair of classifiers $f _ { j } , f _ { k }$ in the ensemble are diverse.
|
| 76 |
+
|
| 77 |
+
It follows immediately from Definition 3.2 that diverse classifiers must themselves be conditionally independent, i.e. $\hat { h } _ { i } \perp \perp \hat { h } _ { j } | y$ . Our training objective for learning a diverse ensemble should therefore enforce conditional independence on all pairs of classifiers:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\begin{array} { l } { \displaystyle \arg \underset { \theta _ { 1 } , \dots , \theta _ { M } } { \operatorname* { m a x } } \sum _ { i = 1 } ^ { N } \sum _ { m = 1 } ^ { M } \log p _ { \theta _ { m } } ( y _ { i } | \mathbf { x } _ { i } ) } \\ { \displaystyle \mathrm { s u b j e c t ~ t o } \hat { h } _ { s } \perp \hat { h } _ { t } \vert y \qquad \forall s , t } \end{array}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
We can interpret (3) as follows: the main objective guarantees that the learnt ensemble contains individually strong predictors, whereas the constraint guarantees that each predictor is uninformative of the others when conditioned on the label. Put together, (3) learns classifiers that rely on conditionally independent subspaces of $\mathbf { z }$ and thus provide no additional information about each other. As is typical in machine learning (Krogh & Hertz, 1991; Deb, 2014), we optimize an unconstrained analogue of (3) by expressing the constraint as a regularization term.
|
| 84 |
+
|
| 85 |
+
# 3.2 ENFORCING CONDITIONAL INDEPENDENCE VIA OUTPUT DISTRIBUTIONS
|
| 86 |
+
|
| 87 |
+
It remains for us to decide on the distribution $\hat { h }$ that we constrain, as well as the (unconstrained) regularization objective from (3). These choices are crucial in many ways. Since independence with respect to $\hat { h }$ underpins the notions of invariance and diversity in Definitions 3.1 and 3.2, it must be informative about the underlying predictive signals that a classifier is relying on. Furthermore, $\hat { h }$ and the regularization objective must be tractable.
|
| 88 |
+
|
| 89 |
+
Earlier work such as Pace et al. (2020) and Rame & Cord (2021) choose $\hat { h }$ to be the representations learnt by the classifiers, e.g. by constructing $f = f _ { l } \circ f _ { e }$ as a deep encoder network $f _ { e }$ that is attached to a linear classifier $f _ { l }$ and letting $\hat { h } \ = \ f _ { e } ( \mathbf { x } )$ . As the regularization objective for conditional independence, Rame & Cord (2021) compute pairwise conditional mutual information $\mathcal { C M T } ( f _ { e , s } , f _ { e , t } )$ whereas Pace et al. (2020) compute total correlation $\mathcal { T C } ( f _ { e , 1 } , \dots , f _ { e , M } )$ . Since the encoder representations are high-dimensional, these terms must be approximated.
|
| 90 |
+
|
| 91 |
+
We propose a far simpler and more efficient method. Instead of network representations, we choose $\hat { h }$ to simply be the output distribution $\hat { h } = f ( \mathbf { x } ) = p _ { \boldsymbol { \theta } } ( y | \mathbf { x } )$ of the classifier. Accordingly, our regularization objective is conditional mutual information (CMI) between the output distributions of the classifiers. For any pair of classifiers $f _ { j } , f _ { k }$ , we have:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\mathcal { C M T } ( f _ { s } , f _ { t } ) = \mathbb { E } _ { y } \left[ \mathcal { D } _ { K L } \Big ( p ( f _ { s } , f _ { t } | y ) | | p ( f _ { s } | y ) p ( f _ { t } | y ) \Big ) \right]
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
CMI is zero iff $f _ { s } \perp \perp f _ { t } | y$ for all values of $y$ . Enforcing conditional independence on the classifiers’ predicted output probabilities rather than underlying representations trades off granularity of the independence constraint for computational efficiency. We believe that this is a valuable trade-off. Since $\hat { y }$ has categorical support, (4) can be cheaply and exactly estimated from training data. As our experiments in Section 5 show, even on a noisier signal like output distributions, enforcing conditional independence is sufficient to learn a diverse ensemble.
|
| 98 |
+
|
| 99 |
+
Even though a diverse ensemble implies pairwise conditionally independent classifiers, the converse is not necessarily true. Mutual information is also zero if one of the classifiers outputs random or constant class probabilities. In particular, optimizing a weighted sum of the cross-entropy term and the CMI term can be challenging — overly weak regularization produces an ensemble that is not diverse, whereas overly strong regularization tends towards solutions containing close-to-random classifiers. Instead, we propose adding another term to regularize for confident predictions:
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\mathcal { R } ( f ) = \sum _ { k = 1 } ^ { K } \| p ( \hat { y } | y = k ) - I _ { k } \|
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
where $I _ { k }$ is the indicator function at $k$ . Put together, the overall loss objective is:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\mathcal { L } ( \{ \theta _ { m } \} _ { m = 1 } ^ { M } ) = \sum _ { i = 1 } ^ { N } \sum _ { m = 1 } ^ { M } \log p _ { \theta _ { m } } ( y _ { i } | \mathbf { x } _ { i } ) + \lambda _ { 1 } \cdot \sum _ { s = 1 } ^ { M } \sum _ { t = 1 } ^ { s - 1 } \mathcal { C } \mathcal { M } \mathcal { Z } ( f _ { s } , f _ { t } ) + \lambda _ { 2 } \cdot \sum _ { m = 1 } ^ { M } \mathcal { R } ( f _ { m } )
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
where $\lambda _ { 1 }$ and $\lambda _ { 2 }$ are hyperparameters controlling the strength of regularization. A solution that minimizes (6) contains an ensemble where: (i) each classifier is accurate (first term) and confident (third term), and (ii) different classifiers rely on different subspaces of $\mathbf { z }$ for prediction (second term). We name such an ensemble a Conditionally Independent Deep Ensemble (CoDE).
|
| 112 |
+
|
| 113 |
+
# 3.3 CODE: COMPUTATIONAL DETAILS
|
| 114 |
+
|
| 115 |
+
The hyperparameters of the method are $M , \lambda _ { 1 }$ , and $\lambda _ { 2 }$ . Unlike traditional ensembles, $M$ (ensemble size) will typically be small $M = 2$ for all our experiments) since $M$ cannot be larger than the number of conditionally independent predictive signals inherent in the dataset. As is typical for OOD problems, we assume access to validation data from the test environment for hyperparameter tuning.
|
| 116 |
+
|
| 117 |
+
Objective (6) describes the situation where all $M$ classifiers are jointly optimized. Since $M$ is typically small, doing so is not difficult or computationally expensive (as might be with traditional ensembles). An alternative to joint optimization is to learn the classifiers in a sequential fashion. The analogue to (6) becomes:
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\mathcal { L } ( \theta _ { m } ) = \sum _ { i = 1 } ^ { N } \log p _ { \theta _ { m } } ( y _ { i } | \mathbf { x } _ { i } ) + \lambda _ { 1 } \cdot \sum _ { s = 1 } ^ { m - 1 } \mathcal { C } \mathcal { M } \mathcal { Z } ( \hat { y } _ { s } , \hat { y } _ { m } ) + \lambda _ { 2 } \cdot \mathcal { R } ( f _ { m } )
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
Sequential optimization presents a natural way to determine $M$ , as we can terminate the training process when no more predictive classifiers can be learnt. However, it will fail if earlier classifiers in the sequence learn multiple predictive signals. We discuss this further in Section 5.
|
| 124 |
+
|
| 125 |
+
# 4 RELATED WORK
|
| 126 |
+
|
| 127 |
+
Ensemble Methods In statistics, ensembling traditionally refers to combining multiple predictors into a single model that outperforms the individual learners, typically by bagging (Breiman, 1996) or boosting (Schapire, 1990). Diversity in this context refers to minimizing correlation between individual learners, which reduces variance and improve generalization (Kuncheva & Whitaker, 2003). Deep ensembling (Lakshminarayanan et al., 2017) is an analogous approach in deep learning where multiple randomly-initialized networks are trained in parallel, however, they are generally used for the purpose of uncertainty estimation. Unlike these works, we consider diversity specifically in the context of datasets with multiple predictive signals, and learning a diverse ensemble as recovering all such signals for the purpose of OOD generalization.
|
| 128 |
+
|
| 129 |
+
Various Approaches For Learning Diversity As an unsupervised task, diversity refers to learning disentangled representations where natural factors of variation in the dataset are encoded into distinct latent dimensions (Bengio et al., 2013; Higgins et al., 2018); however, recent work has proposed incorporating weak supervision in this process (Locatello et al., 2019; Shu et al., 2019; Brehmer et al., 2022). As a supervised problem without OOD shifts, diversity refers to learning functions that disagree outside training points. Methods in this space have generally made use of input gradients (Ross et al., 2017; 2018) and orthogonality (Mashhadi et al., 2021; Xu et al., 2021). Finally, diversity is considered in the context of distribution shifts — either to improve robustness against adversarial attacks (Pang et al., 2019), to disambiguate between perfectly correlated signals (Lee et al., 2022), or to evade the simplicity bias by learning more complex functions (Pagliardini et al., 2022; Teney et al., 2021). Our work is most closely aligned with this last category. Unlike the approaches above, we exploit information-theoretic measures as our objective.
|
| 130 |
+
|
| 131 |
+
Shortcut Learning and Spurious Correlations Shortcut learning (Geirhos et al., 2020) involves distribution shifts arising from spurious correlations (Buolamwini & Gebru, 2018; Xiao et al., 2020; Moayeri et al., 2022) and neural network biases (architectural or simplicity biases) (Geirhos et al., 2018; Shah et al., 2020; Teney et al., 2021). Methods that tackle distribution shifts must use additional data and/or assumptions. Examples of additional data include having multiple training environments (Arjovsky et al., 2019), counterfactual examples (Teney et al., 2020), access to enough validation data to fine-tune the model (Kirichenko et al., 2022), or group labels (Sagawa et al., 2019; Puli et al., 2022). Examples of additional assumptions include exploiting the lottery ticket hypothesis (Zhang et al., 2021) or treating misclassified training examples by an initial model as a proxy for minority groups (Liu et al., 2021; Zhang et al., 2022). Unlike these methods, we aim to learn all predictive signals in the dataset, rather than performing well on a single test distribution. Furthermore, we use validation data for hyperparameter tuning only, without additional sources of data (e.g. group labels).
|
| 132 |
+
|
| 133 |
+
Information Bottleneck and Conditional Independence The line of work most similar to ours also exploits the information bottleneck method to learn diversity. Sinha et al. (2020) minimizes the mutual information $\mathcal { T } ( \hat { z } _ { s } , \hat { z } _ { t } )$ between learnt representations $\hat { z } _ { m }$ , however, this term is unconditional and will simply learn weak (biased) predictors, as noted in Section 3. Rame & Cord (2021) introduce DICE, which minimizes the conditional term $\mathcal { C } \mathcal { M } \mathcal { I } ( \hat { z } _ { s } , \hat { z } _ { t } )$ . Pace et al. (2020) considers total correlation $\mathcal { T C } ( \hat { z } _ { 1 } , \dots , \hat { z } _ { M } )$ instead of pairwise terms. Unlike CoDE, both of these approaches compute mutual information terms on the high-dimensional representations $\hat { z } _ { m }$ . Their objectives are intractable and must be approximated. For example, DICE requires both variational approximations and a jointly trained adversarial discriminator that learns to distinguish pairwise classifiers. Compared to these approaches, CoDE is by far computationally advantageous as mutual information for categorical output distributions can be computed faster and exactly.
|
| 134 |
+
|
| 135 |
+
# 5 EXPERIMENTS
|
| 136 |
+
|
| 137 |
+
Section 5.1 presents experiments on ColoredMNIST, which is used both to demonstrate the viability of our approach and to highlight pivotal observations and ablations. Section 5.2 then evaluates CoDE on larger benchmark datasets for shortcut learning to show that it scales effectively.
|
| 138 |
+
|
| 139 |
+
# 5.1 COLOREDMNIST
|
| 140 |
+
|
| 141 |
+
Setup As described in Section 2, the original MNIST (LeCun et al., 1998) labels are binarized (0-4, 5-9) and used to generate true labels $y$ with noise $p _ { d }$ . $y$ then generates binary color labels with noise $p _ { c }$ , used to color the image (red or green). As per Arjovsky et al. (2019), we consider two test environments: the training distribution where $p _ { d } = 0 . 2 5$ and $p _ { c } = 0 . 1$ , and the adversarial distribution where $p _ { d } = 0 . 2 5$ but $p _ { c } = 0 . 9$ (hence the shortcut-label correlation is reversed).
|
| 142 |
+
|
| 143 |
+
Evaluation Baselines and Metrics As is standard in existing work, we evaluate predictive accuracy on the training and adversarial distributions. In choosing baselines, we considered the following desiderata for fairness and comprehensiveness: (i) comparing to both ensembling and non-ensembling methods, (ii) amongst ensembling methods, comparing to both conditional independence-based methods and those that do not, and (iii) comparing only to methods that do not require additional sources of data besides validation data for hyperparameter tuning. We chose the following baselines:
|
| 144 |
+
|
| 145 |
+
Table 1: Results on ColoredMNIST. A theoretically ideal classifier relying only on digit (denoted as “Invariant”) will be upper-bounded by the digit-label noise $p _ { d }$ $(7 5 \% )$ , hence any result above $7 5 \%$ is relying on the color shortcut. CoDE has the strongest performance on the adversarial distribution. \*We were unable to reproduce TC-Ensemble on ColoredMNIST, and are citing their results in lieu.
|
| 146 |
+
|
| 147 |
+
<table><tr><td colspan="6">Results on ColoredMNIST</td></tr><tr><td>(pd,Pc)</td><td>Training (0.25, 0.1)</td><td>(0.25, 0.9)</td><td>(0.25, 0.5)</td><td>AdversarialRandom-ColorRandom-Color + Perfect-Digit (0.0, 0.5)</td></tr><tr><td>Invariant</td><td>75</td><td>75</td><td>75</td><td>100</td></tr><tr><td>ERM</td><td>88.6</td><td>15.3</td><td>52.5</td><td>53.4</td></tr><tr><td>JTT</td><td>17.8</td><td>87.9</td><td>52.5</td><td>56.6</td></tr><tr><td>Ortho-Ensemble</td><td>89.8</td><td>11.1</td><td>50.3</td><td>49.2</td></tr><tr><td>TC-Ensemble</td><td>89.1</td><td>69.8*</td><td>-</td><td>-</td></tr><tr><td>CoDE</td><td>70.7</td><td>70.0</td><td>70.8</td><td>91.2</td></tr></table>
|
| 148 |
+
|
| 149 |
+
1. ERM classifier (ERM): single, standard classifier trained with ERM 2. Just Train Twice (Liu et al., 2021) (JTT): an initial classifier is trained for a limited number of epochs; mis-classified examples are upweighted to train the final classifier 3. Ensembles using input gradient orthogonality (Teney et al., 2021) (Ortho-Ensemble): an ensemble where the regularizing term is the dot product of the two models’ input gradients 4. Ensembles using conditional total correlation (CTC) (Pace et al., 2020) (TC-Ensemble): an ensemble learnt by minimizing CTC over the encoder network’s representation
|
| 150 |
+
|
| 151 |
+
Table 1 shows all results on ColoredMNIST. We discuss the most important findings below.
|
| 152 |
+
|
| 153 |
+
# 1. Enforcing conditional independence on output distributions achieves diversity effectively.
|
| 154 |
+
|
| 155 |
+
Since ColoredMNIST is an artificially-created dataset whose DGP we know satisfy latent conditional independence ${ \overset { \cdot } { p } } _ { c }$ and $p _ { d }$ are independently determined), it is the ideal dataset to evaluate our key claim. Indeed, the strong performance of CoDE shows that it is sufficient to enforce conditional independence on output distributions. The final predictor selected via fast adaptation achieves near-invariant results, suggesting that it has correctly learnt from digit rather than color.
|
| 156 |
+
|
| 157 |
+
# 2. CoDE generalizes to multiple OOD test distributions, without overfitting on any one specific distribution.
|
| 158 |
+
|
| 159 |
+
In Table 1, JTT achieved about $90 \%$ on the adversarial distribution, implying that it overfitted to the adversarial distribution — by learning the opposite shortcut (color) correlation rather than the true signal (digit). This is further confirmed with additional results on two other test environments (Random-Color and Random-Color $^ +$ Perfect-Digit) where $p _ { c } = 0 . 5$ . JTT is close to random on these two environments, suggesting that it is still relying on color as the predictive feature. In contrast, CoDE achieves $91 \%$ when $p _ { d } = 0 . 0$ , suggesting that it has learnt to predict using digit.
|
| 160 |
+
|
| 161 |
+
While concerning, these results are not entirely surprising. A method like JTT did exactly what it was designed to do, which is to minimize classification errors on the adversarial test distribution. Since $p _ { c } = 0 . 1$ , the opposite color correlation is precisely this loss-minimizing function. In contrast, CoDE will not find such a solution because two classifiers that return opposite predictions using the same feature (color) are perfectly correlated, even when conditioned on $y$ .
|
| 162 |
+
|
| 163 |
+
These results highlight the shortcomings of single classifier methods like JTT. Such methods are designed to generalize to a specific test distribution, in general, this does not imply that they have learnt the desired predictive signal — merely that they have learnt an arbitrary function that does well on the test distribution. In contrast, methods that enforce diversity, such as CoDE, explicitly recover meaningful predictive signals that can generalize to any test distribution where $p ( \mathbf { z } | y )$ changes.
|
| 164 |
+
|
| 165 |
+
Table 2: Additional results on ColoredMNIST and CelebA.
|
| 166 |
+
|
| 167 |
+
<table><tr><td rowspan="2"></td><td colspan="2">ColoredMNIST</td><td colspan="2">CelebA</td></tr><tr><td>Training</td><td>Adversarial</td><td>Ave</td><td>Worst</td></tr><tr><td>CoDE (sequential f1)</td><td>90.0</td><td>10.2</td><td>95.2</td><td>31.1</td></tr><tr><td>CoDE (sequential f2)</td><td>70.1</td><td>70.0</td><td>95.0</td><td>33.3</td></tr><tr><td>CoDE (sequential f3)</td><td>63.2</td><td>49.0</td><td></td><td></td></tr><tr><td>CoDE (sequential f5)</td><td>64.4</td><td>42.2</td><td></td><td></td></tr><tr><td>CoDE (joint M= 2)</td><td>73.4</td><td>60.2</td><td>89.2</td><td>83.3</td></tr><tr><td>CoDE (joint M = 3)</td><td>74.6</td><td>44.3</td><td></td><td></td></tr><tr><td>CoDE (joint M = 5)</td><td>71.9</td><td>43.1</td><td></td><td></td></tr></table>
|
| 168 |
+
|
| 169 |
+
# 3. Joint and sequential optimization are suited to different datasets.
|
| 170 |
+
|
| 171 |
+
From our experiments, we found that there is no clear preference between either choice in terms of generalization ability. Table 2 shows both joint and sequential results on the ColoredMNIST and CelebA datasets. For ColoredMNIST, we found that sequential training performed better than joint training. For CelebA, joint training yielded a stronger classifier.
|
| 172 |
+
|
| 173 |
+
This might be explained by the biases of the ERM model. In ColoredMNIST, as both latent factors (color and digit) are noisy predictors and as color presents a particularly simple shortcut, the ERM model solely learns from color. As such, a second classifier model that is trained sequentially can learn to predict solely from the digit feature. In contrast, the ERM model in CelebA has likely picked up some combination of the spurious (gender) and true (hair color) features, possibly because gender gives rise to complex features that are not ncessarily simpler to learn. This corroborates previous findings indicating that ERM models can learn an arbitrary combination of all predictive signals (Zhang et al., 2021; Kirichenko et al., 2022). As such, when trained sequentially, the second model fails to learn from hair color alone.
|
| 174 |
+
|
| 175 |
+
The advantages of sequential optimization are: (i) cheaper computational costs as $M$ increases, and (ii) providing a natural stopping point for training. The latter comes from the fact that we can select for $M$ by terminating the training process when the subsequent classifier is no longer predictive, which indicates that there are no further predictive factors to be learnt. In contrast, joint optimization is advantageous as it allows us to avoid the pathological sitation where earlier models learn combinations of predictive factors. As small values of $M$ work well for CoDEs, we note that the computational cost of CoDEs are not prohibitive.
|
| 176 |
+
|
| 177 |
+
# 5.2 BENCHMARK DATASETS
|
| 178 |
+
|
| 179 |
+
Setup We consider the following benchmark datasets:
|
| 180 |
+
|
| 181 |
+
• CelebA Liu et al. (2018); Sagawa et al. (2019): A dataset of celebrity faces with various labelled attributes. We consider the benchmark task in (Sagawa et al., 2019) of predicting the binary hair color attribute (blond or not), with gender (female or male) as the spurious attribute. There are therefore four groups. • Waterbirds (Wah et al., 2011; Sagawa et al., 2019): Setup described in Section 2. There are also four groups as both latent factors (background and foreground) are binary. • MF-Dominoes (MNIST-FashionMNIST) (LeCun et al., 1998; Xiao et al., 2017; Shah et al., 2020; Pagliardini et al., 2022): Each input image concatenates an MNIST digit (0 or 1) with a FashionMNIST object (coat or dress). The true label is the FashionMNIST object; the simpler MNIST feature is the shortcut. The minority groups represent $5 \%$ of the data.
|
| 182 |
+
|
| 183 |
+
Table 3 shows all results on the benchmark datasets.
|
| 184 |
+
|
| 185 |
+
# 4. CoDE scales well to large datasets and retains effectiveness at preventing shortcut learning.
|
| 186 |
+
|
| 187 |
+
<table><tr><td rowspan="2"></td><td colspan="2">CelebA</td><td colspan="2">Waterbirds</td><td colspan="2">MF-Dominoes</td></tr><tr><td>Method Ave</td><td>Worst</td><td>Ave</td><td>Worst</td><td>Ave</td><td>Worst</td></tr><tr><td>ERM</td><td>94.8</td><td>46.7</td><td>90.4</td><td>78.3</td><td>88.9</td><td>76.9</td></tr><tr><td>JTT</td><td>88.0*</td><td>81.1*</td><td>93.3*</td><td>86.7*</td><td>89.5</td><td>76.1</td></tr><tr><td>CoDE</td><td>89.2</td><td>83.3</td><td>91.5</td><td>79.4</td><td>92.1</td><td>91.4</td></tr></table>
|
| 188 |
+
|
| 189 |
+
Table 3: Main results on all datasets. CoDE achieves better adversarial or wrost-group accuracy than the other methods on all datasets except Waterbirds. ∗ Results from the JTT paper. We share the same model and training environment as their paper.
|
| 190 |
+
|
| 191 |
+
On CelebA and MF-Dominoes, CoDE achieves the best worst-group accuracy. Unlike the earlier ColoredMNIST dataset, we have no guarantees that the core assumption of latent conditional independence holds. However, the strong performance of CoDE on these datasets shows that such an assumption is generally valid and useful when scaled to more realistic datasets.
|
| 192 |
+
|
| 193 |
+
We note that CoDE performs poorly on Waterbirds. In our experiments, we selected $M = 2$ as the ensemble size. Even though there are no guarantees what will be the two conditionally independent classifiers that CoDE learns, in the other datasets, the results show that they do each correspond to the shortcut and true signal. This implies that in these datasets: (a) there are no features conditionally independent to both the shortcut and true signals and yet also strongly predictive of the label, and (b) the shortcut or true signal cannot be decomposed themselves into conditionally independent signals. Our hypothesis is that (b) is not true for Waterbirds. As the dataset is varied and contains a range of land and water backgrounds, there could be multiple spurious signals in the background that are somehow conditionally independent, resulting in these signals being learnt. Another possibility is that the ensemble could have learnt an imperfect or partial foreground signal.
|
| 194 |
+
|
| 195 |
+
# 5. Computational effectiveness is crucial to learn diverse ensembles at scale.
|
| 196 |
+
|
| 197 |
+
Beyond ColoredMNIST, we found that it was computationally prohibitive to run Ortho-Ensemble, as the size of ensembles required to work well (48 or 96) was too high. We also noted that we could not implement TC-Ensembles successfully on larger datasets, noting that the original authors do not test on datasets besides ColoredMNIST either. We believe that this further highlights the importance of computational efficiency in diverse ensembling.
|
| 198 |
+
|
| 199 |
+
# 6 DISCUSSION AND CONCLUSION
|
| 200 |
+
|
| 201 |
+
Appendix B discusses potential failure modes of our method.
|
| 202 |
+
|
| 203 |
+
We introduce CoDE, a method for learning an ensemble of diverse classifiers that rely on different predictive signals in the dataset. The key assumption made by CoDE conditional independence between predictive signals, which it enforces on classifiers’ output distributions. We find that CoDE works well in practice when applied to shortcut learning tasks. Future work includes: (a) evaluating CoDEs on other applications where multiple predictive signals exist, such as fairness-related tasks where we might want to learn classifiers that do not rely on sensitive attributes, and (b) considering other metrics for conditional independence that might provide more fine-grained signals than output distributions (e.g. minimizing mutual information between latent representations).
|
| 204 |
+
|
| 205 |
+
# ETHICS STATEMENT
|
| 206 |
+
|
| 207 |
+
Positive Impact Being robust to distribution shifts, CoDE will have a positive impact when deployed to high-stakes domains, where learning shortcut signals can have harmful social consequences. One such notable example is pneumonia prediction — models trained on pneumonia labels from chest $\mathrm { X }$ -ray scans have been shown to learn machine-specific artifacts in the background, which is a shortcut as hospitals have differing positivity rates and use different machines (Zech et al., 2018).
|
| 208 |
+
|
| 209 |
+
Negative Impact There are no notable negative impacts of using CoDE specifically, besides the general potential for all machine learning models to be abused in the wrong hands.
|
| 210 |
+
|
| 211 |
+
REPRODUCIBILITY STATEMENT
|
| 212 |
+
|
| 213 |
+
We intend to release public code with a camera-ready version of the paper.
|
| 214 |
+
|
| 215 |
+
# REFERENCES
|
| 216 |
+
|
| 217 |
+
Martin Arjovsky, Leon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. ´ arXiv preprint arXiv:1907.02893, 2019.
|
| 218 |
+
|
| 219 |
+
Nicholas Baker, Hongjing Lu, Gennady Erlikhman, and Philip J Kellman. Deep convolutional networks do not classify based on global object shape. PLoS computational biology, 14(12): e1006613, 2018.
|
| 220 |
+
|
| 221 |
+
Elias Bareinboim, Juan David Correa, Duligur Ibeling, and Thomas F. Icard. On pearl’s hierarchy and the foundations of causal inference. Probabilistic and Causal Inference, 2022.
|
| 222 |
+
|
| 223 |
+
Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013.
|
| 224 |
+
|
| 225 |
+
Johann Brehmer, Pim De Haan, Phillip Lippe, and Taco Cohen. Weakly supervised causal representation learning. arXiv preprint arXiv:2203.16437, 2022.
|
| 226 |
+
|
| 227 |
+
Leo Breiman. Bagging predictors. Machine learning, 24(2):123–140, 1996.
|
| 228 |
+
|
| 229 |
+
Joy Buolamwini and Timnit Gebru. Gender shades: Intersectional accuracy disparities in commercial gender classification. In Conference on fairness, accountability and transparency, pp. 77–91. PMLR, 2018.
|
| 230 |
+
|
| 231 |
+
Kalyanmoy Deb. Multi-objective optimization. In Search methodologies, pp. 403–449. Springer, 2014.
|
| 232 |
+
|
| 233 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009.
|
| 234 |
+
|
| 235 |
+
Ian Fischer. The conditional entropy bottleneck. Entropy, 22(9):999, 2020.
|
| 236 |
+
|
| 237 |
+
Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A Wichmann, and Wieland Brendel. Imagenet-trained cnns are biased towards texture; increasing shape bias improves accuracy and robustness. arXiv preprint arXiv:1811.12231, 2018.
|
| 238 |
+
|
| 239 |
+
Robert Geirhos, Jorn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias¨ Bethge, and Felix A Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2(11):665–673, 2020.
|
| 240 |
+
|
| 241 |
+
Tatsunori Hashimoto, Megha Srivastava, Hongseok Namkoong, and Percy Liang. Fairness without demographics in repeated loss minimization. In International Conference on Machine Learning, pp. 1929–1938. PMLR, 2018.
|
| 242 |
+
|
| 243 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 244 |
+
|
| 245 |
+
Irina Higgins, David Amos, David Pfau, Sebastien Racaniere, Loic Matthey, Danilo Rezende, and Alexander Lerchner. Towards a definition of disentangled representations. arXiv preprint arXiv:1812.02230, 2018.
|
| 246 |
+
|
| 247 |
+
Dirk Hovy and Anders Søgaard. Tagging performance correlates with author age. In Proceedings of the 53rd annual meeting of the Association for Computational Linguistics and the 7th international joint conference on natural language processing (volume 2: Short papers), pp. 483–488, 2015.
|
| 248 |
+
|
| 249 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 250 |
+
|
| 251 |
+
Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. arXiv preprint arXiv:2204.02937, 2022.
|
| 252 |
+
|
| 253 |
+
Anders Krogh and John Hertz. A simple weight decay can improve generalization. Advances in neural information processing systems, 4, 1991.
|
| 254 |
+
|
| 255 |
+
Ludmila I Kuncheva and Christopher J Whitaker. Measures of diversity in classifier ensembles and their relationship with the ensemble accuracy. Machine learning, 51(2):181–207, 2003.
|
| 256 |
+
|
| 257 |
+
Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. Advances in neural information processing systems, 30, 2017.
|
| 258 |
+
|
| 259 |
+
Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 260 |
+
|
| 261 |
+
Yoonho Lee, Huaxiu Yao, and Chelsea Finn. Diversify and disambiguate: Learning from underspecified data. arXiv preprint arXiv:2202.03418, 2022.
|
| 262 |
+
|
| 263 |
+
Evan Z Liu, Behzad Haghgoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In International Conference on Machine Learning, pp. 6781–6792. PMLR, 2021.
|
| 264 |
+
|
| 265 |
+
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Large-scale celebfaces attributes (celeba) dataset. Retrieved August, 15(2018):11, 2018.
|
| 266 |
+
|
| 267 |
+
Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, ¨ and Olivier Bachem. Challenging common assumptions in the unsupervised learning of disentangled representations. In international conference on machine learning, pp. 4114–4124. PMLR, 2019.
|
| 268 |
+
|
| 269 |
+
Peyman Sheikholharam Mashhadi, Sławomir Nowaczyk, and Sepideh Pashami. Parallel orthogonal deep neural network. Neural Networks, 140:167–183, 2021.
|
| 270 |
+
|
| 271 |
+
Mazda Moayeri, Phillip Pope, Yogesh Balaji, and Soheil Feizi. A comprehensive study of image classification model sensitivity to foregrounds, backgrounds, and visual attributes. arXiv preprint arXiv:2201.10766, 2022.
|
| 272 |
+
|
| 273 |
+
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
|
| 274 |
+
|
| 275 |
+
Daniel Pace, Alessandra Russo, and Murray Shanahan. Learning diverse representations for fast adaptation to distribution shift. arXiv preprint arXiv:2006.07119, 2020.
|
| 276 |
+
|
| 277 |
+
Matteo Pagliardini, Martin Jaggi, Franc¸ois Fleuret, and Sai Praneeth Karimireddy. Agree to disagree: Diversity through disagreement for better transferability. arXiv preprint arXiv:2202.04414, 2022.
|
| 278 |
+
|
| 279 |
+
Tianyu Pang, Kun Xu, Chao Du, Ning Chen, and Jun Zhu. Improving adversarial robustness via promoting ensemble diversity. In International Conference on Machine Learning, pp. 4970–4979. PMLR, 2019.
|
| 280 |
+
|
| 281 |
+
Aahlad Manas Puli, Lily H Zhang, Eric Karl Oermann, and Rajesh Ranganath. Out-of-distribution generalization in the presence of nuisance-induced spurious correlations. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id= 12RoR2o32T.
|
| 282 |
+
|
| 283 |
+
Alexandre Rame and Matthieu Cord. Dice: Diversity in deep ensembles via conditional redundancy adversarial estimation. arXiv preprint arXiv:2101.05544, 2021.
|
| 284 |
+
|
| 285 |
+
Andrew Slavin Ross, Michael C Hughes, and Finale Doshi-Velez. Right for the right reasons: Training differentiable models by constraining their explanations. arXiv preprint arXiv:1703.03717, 2017.
|
| 286 |
+
|
| 287 |
+
Andrew Slavin Ross, Weiwei Pan, and Finale Doshi-Velez. Learning qualitatively diverse and interpretable rules for classification. arXiv preprint arXiv:1806.08716, 2018.
|
| 288 |
+
|
| 289 |
+
Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019.
|
| 290 |
+
|
| 291 |
+
Robert E Schapire. The strength of weak learnability. Machine learning, 5(2):197–227, 1990.
|
| 292 |
+
|
| 293 |
+
Bernhard Scholkopf, Francesco Locatello, Stefan Bauer, Nan Rosemary Ke, Nal Kalchbrenner, ¨ Anirudh Goyal, and Yoshua Bengio. Towards causal representation learning. arXiv preprint arXiv:2102.11107, 2021.
|
| 294 |
+
|
| 295 |
+
Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, and Praneeth Netrapalli. The pitfalls of simplicity bias in neural networks. Advances in Neural Information Processing Systems, 33:9573–9585, 2020.
|
| 296 |
+
|
| 297 |
+
Rui Shu, Yining Chen, Abhishek Kumar, Stefano Ermon, and Ben Poole. Weakly supervised disentanglement with guarantees. arXiv preprint arXiv:1910.09772, 2019.
|
| 298 |
+
|
| 299 |
+
Samarth Sinha, Homanga Bharadhwaj, Anirudh Goyal, Hugo Larochelle, Animesh Garg, and Florian Shkurti. Diversity inducing information bottleneck in model ensembles. arXiv preprint arXiv:2003.04514, 2020.
|
| 300 |
+
|
| 301 |
+
Damien Teney, Ehsan Abbasnedjad, and Anton van den Hengel. Learning what makes a difference from counterfactual examples and gradient supervision. In European Conference on Computer Vision, pp. 580–599. Springer, 2020.
|
| 302 |
+
|
| 303 |
+
Damien Teney, Ehsan Abbasnejad, Simon Lucey, and Anton van den Hengel. Evading the simplicity bias: Training a diverse set of models discovers solutions with superior ood generalization. arXiv preprint arXiv:2105.05612, 2021.
|
| 304 |
+
|
| 305 |
+
Antonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In CVPR 2011, pp. 1521–1528. IEEE, 2011.
|
| 306 |
+
|
| 307 |
+
Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech-ucsd birds-200-2011 dataset. 2011.
|
| 308 |
+
|
| 309 |
+
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 310 |
+
|
| 311 |
+
Kai Xiao, Logan Engstrom, Andrew Ilyas, and Aleksander Madry. Noise or signal: The role of image backgrounds in object recognition. arXiv preprint arXiv:2006.09994, 2020.
|
| 312 |
+
|
| 313 |
+
Yilun Xu, Hao He, Tianxiao Shen, and Tommi S Jaakkola. Controlling directions orthogonal to a classifier. In International Conference on Learning Representations, 2021.
|
| 314 |
+
|
| 315 |
+
John R Zech, Marcus A Badgeley, Manway Liu, Anthony B Costa, Joseph J Titano, and Eric Karl Oermann. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS medicine, 15(11):e1002683, 2018.
|
| 316 |
+
|
| 317 |
+
Dinghuai Zhang, Kartik Ahuja, Yilun Xu, Yisen Wang, and Aaron Courville. Can subnetwork structure be the key to out-of-distribution generalization? In International Conference on Machine Learning, pp. 12356–12367. PMLR, 2021.
|
| 318 |
+
|
| 319 |
+
Michael Zhang, Nimit S Sohoni, Hongyang R Zhang, Chelsea Finn, and Christopher Re. Correct-n- ´ contrast: A contrastive approach for improving robustness to spurious correlations. arXiv preprint arXiv:2203.01517, 2022.
|
| 320 |
+
|
| 321 |
+
# A EXPERIMENTAL DETAILS
|
| 322 |
+
|
| 323 |
+
Architecture and Training Details For ColoredMNIST, we use a CNN as the classifier, containing two convolutional layers and two fully-connected layers. Adam (Kingma & Ba, 2014) is used for optimization, with a learning rate of 0.001. For CelebA, Waterbirds, and MF-Dominoes, we use a ResNet-50 (He et al., 2016). SGD is used for optimization, with a learning rate of 0.001, momentum decay of 0.9, and weight decay of 0.001. Additionally, following previous work (e.g. Sagawa et al., 2019; Liu et al., 2021), the Waterbirds model is pre-trained on ImageNet (Deng et al., 2009) and includes data augmentation in the form of random horizontal flips and random resized cropping. For CelebA and Waterbirds, class reweighting is performed to ensure that there are roughly equal positive and negative labels. The random seed used for all experiments is 13.
|
| 324 |
+
|
| 325 |
+
Hyperparameters for CoDE and Baselines CoDE. For all four datasets, we used $M = 2$ as the ensemble size, besides ablations for $M$ as detailed in Appendix B. The results in Table 3 were achieved with sequential training for ColoredMNIST and with joint training for the other three datasets. For ColoredMNIST, $\lambda _ { 1 } = 1 2 0 0$ and $\lambda _ { 2 } = 1 0$ . For CelebA, $\lambda _ { 1 } = 5 0 0$ and $\lambda _ { 2 } = 0 . 1$ . For Waterbirds, $\lambda _ { 1 } = 5 0 0$ and $\lambda _ { 2 } = 0 . 1$ . For MF-Dominoes, $\lambda _ { 1 } = 3 0 0$ and $\lambda _ { 2 } = 0 . 1$ . JTT. We performed a hyperparameter sweep with $T \in \{ 1 , 5 , 1 0 \}$ (number of epochs for initial model training) and $\alpha \in \{ 2 , 1 0 , 1 0 0 \}$ (upweighting factor for mis-classified examples). Orthogonal Ensembles. All classifiers share the same feature extractor (i.e. convolutional output for ColoredMNIST and ResNet-50 feature representation for the other three datasets). We experimented with different values of $M$ , however, values of $M$ above 16 (for ColoredMNIST) and above 4 (for the other three datasets) were prohitibively expensive. As such, we did not try $M = 4 8$ or $M = 9 6$ as used by Teney et al. (2021). For these smaller values of $M$ that we tried, we did not notice an improvement from the ERM model. Besides ColoredMNIST, we did not report these results.
|
| 326 |
+
|
| 327 |
+
# B MODEL MIS-SPECIFICATION: POTENTIAL FAILURE MODES
|
| 328 |
+
|
| 329 |
+
The success of any method tackling distribution shifts depends on how well the assumptions made have been upheld. We discuss the potential implications when the model is mis-specified and these assumptions are no longer valid.
|
| 330 |
+
|
| 331 |
+
Conditional Dependence CoDE relies on the assumption that predictive signals are conditionally independent. We using the synthetic ColoredMNIST dataset to generate a DGP where such an assumption does not hold true. Instead of the standard setup where color labels are generated from the true labels, we generate color labels from the original (binarized) MNIST labels instead, at the same noise level $p _ { c } = 0 . 1$ . This means that the color and digit signals are now highly correlated. Both are still predictive since the true labels themselves were generated from MNIST labels.
|
| 332 |
+
|
| 333 |
+
Table 4 shows the results of this experiment. As we expect, conditionally dependent features cannot be recovered by minimizing conditional mutual information. The ensemble either recovers one of the two features (when trained sequentially) or neither. This confirms our intuition that conditional independence must be correctly specified for CoDE to work. While these results demonstrate a failure mode of CoDE, conditional independence between predictive factors of interest does hold well in many natural image datasets, as shown in Table 3.
|
| 334 |
+
|
| 335 |
+
Latent Mis-specification The size of the ensemble $M$ specifies how many predictive latent factors we believe generated the dataset. We can consider the mis-specification of $M$ in either direction: (i) if the true dimension of $\mathbf { z }$ is smaller than $M$ , and (ii) if the true dimension of $\mathbf { z }$ is larger than $M$ .
|
| 336 |
+
|
| 337 |
+
In case (i), since the number of conditional independent components has been over-specified, whether the ensemble has been jointly or sequentially trained makes a difference. Consider the results on the ColoredMNIST dataset in Table 2 again. In the sequential regime, the first two classifiers $f _ { 1 }$ and $f _ { 2 }$ correspond to the color and digit classifiers respectively, however, the subsequent few classifiers $f _ { 3 }$ and $f _ { 5 } ^ { } ,$ ) do not learn anything meaningful and perform poorly on both training and adversarial distributions. However, as noted in Section 5, this does not pose a serious problem since we can use validation data to naturally determine the stopping point. On the other hand, over-specification of $M$ is more worrying in the joint regime, as there is no guarantee that any of the true latent factors are learnt at all. As Table 2 shows, for $M = 3$ or 5, the best-performing classifier does not generalize.
|
| 338 |
+
|
| 339 |
+
Table 4: Results on ColoredMNIST with color-digit conditional dependence, on both joint and sequential training with $M = 2$ classifiers. When trained sequentially, the first classifier $f _ { 1 }$ learns the digit correlation since digit is most predictive in this setup. However, as color is no longer conditionally independent of digit, there is no predictive feature that can be learnt by the second classifier $f _ { 2 }$ , resulting in a close-to-random predictor. When trained jointly, neither of the classifiers correspond to the color or digit feature.
|
| 340 |
+
|
| 341 |
+
<table><tr><td>(pd,Pc)</td><td>Training (0.25, 0.1)</td><td>Adversarial (0.25, 0.9)</td><td>Random-Color (0.25, 0.5)</td><td>Perfect-Digit (0.0, 0.5)</td></tr><tr><td>CoDE (sequential f1)</td><td>77.1</td><td>63.2</td><td>70.6</td><td>90.5</td></tr><tr><td>CoDE (sequential f2)</td><td>53.6</td><td>50.1</td><td>51.5</td><td>54.5</td></tr><tr><td>CoDE (joint f1)</td><td>84.9</td><td>25.8</td><td>56.0</td><td>60.4</td></tr><tr><td>CoDE (joint f2)</td><td>54.3</td><td>73.0</td><td>64.4</td><td>77.5</td></tr></table>
|
| 342 |
+
|
| 343 |
+
In case (ii), where the number of conditional independent components is under-specified, the learnt ensemble may correspond to any subset of the true latent factors and individual classifiers could also learn arbitrary combinations of the latent factors. For example, the trivial case where $M = 1$ is underspecified simply returns the ERM model. In general, since $M$ is a hyperparameter, latent mis-specification does not pose a serious problem as we can tune its value using the validation data.
|
parse/dev/17RDXeF-skZ/17RDXeF-skZ_content_list.json
ADDED
|
@@ -0,0 +1,1827 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DOING FAST ADAPTATION FAST: CONDITIONALLY INDEPENDENT DEEP ENSEMBLES FOR DISTRIBUTION SHIFTS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
195,
|
| 20 |
+
400,
|
| 21 |
+
226
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
263,
|
| 32 |
+
544,
|
| 33 |
+
279
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Classifiers in a diverse ensemble capture distinct predictive signals, which is valuable for datasets containing multiple strongly predictive signals. Performing fast adaptation at test time allows us to generalize to distributions where certain signals are no longer predictive, or to avoid relying on sensitive or protected attributes. However, ensemble learning is often expensive, even more so when we need to enforce diversity constraints between the high-dimensional representations of the classifiers. Instead, we propose an efficient and fast method for learning ensemble diversity. We minimize conditional mutual information of the output distributions between classifiers, a quantity which can be cheaply and exactly computed from empirical data. The resulting ensemble contains individually strong predictors that are only dependent because they predict the label. We demonstrate the efficacy of our method on shortcut learning tasks. Performing fast adaptation on our ensemble selects shortcut-invariant models that generalize well to test distributions where the shortcuts are uncorrelated with the label. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
295,
|
| 43 |
+
764,
|
| 44 |
+
489
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
515,
|
| 55 |
+
336,
|
| 56 |
+
531
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Some of the strongest scientific theories are supported by multiple sources of evidence, a principle described by 19th century philosopher William Whewell as “consilience”. Evolution is one such example, having been firmly corroborated by fields ranging from paleontology to genetics. In many real-world applications of machine learning, datasets can similarly contain multiple predictive signals that explain the label well. In these settings, a standard model typically learns from a combination of predictive features (Ross et al., 2018; Kirichenko et al., 2022). Such a model will fail to generalize to distribution shifts that break the correlation between certain signals and the label (Hovy & Søgaard, 2015; Hashimoto et al., 2018; Puli et al., 2022). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
547,
|
| 66 |
+
825,
|
| 67 |
+
659
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "This shortcoming can be addressed by learning a diverse set or ensemble of classifiers. Such methods typically exploit some notion of independence to learn multiple classifiers that rely on different predictive signals. We can then perform fast adaptation, using a small amount of out-of-distribution (OOD) validation data to select the model that generalizes best. Learning diversity is also beneficial in and of itself: these classifiers are empirically shown to be more human-interpretable than if we were to fit a single model (Ross et al., 2018), possibly because they learn disentangled representations that correspond to natural factors of variation (Shu et al., 2019). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
666,
|
| 77 |
+
825,
|
| 78 |
+
763
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "The key challenge is quantifying the right notion of diversity. Existing work has exploited concepts like input gradient or parameter orthogonality as a proxy for statistical independence (Teney et al., 2021; Xu et al., 2021). To tackle OOD generalization, which fundamentally requires additional assumptions or data beyond the observed training data (Bareinboim et al., 2022; Scholkopf et al., ¨ 2021), previous work have also assumed access to unlabelled test data and measured disagreement on those examples (Lee et al., 2022; Pagliardini et al., 2022). However, these objectives or assumptions are often prohibitive or unrealistic in real-world settings. For example, group-balanced test data is not always obtainable, e.g. when deploying a pneumonia model to multiple new hospitals whose patient profiles may change over time. Another costly example is enforcing input gradient orthogonality on high-dimensional covariates like images or text, where it can be challenging to avoid learning from orthogonal covariates of the same underlying feature, such as neighboring pixels. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
771,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To avoid the pitfalls of operating in high-dimensional input or parameter space, a promising line of work instead adopts the information-theoretic perspective and tackles the problem as representation learning. These approaches apply the information bottleneck method and minimize mutual information between the representations learnt by each classifier. Such an objective forces the classifiers to rely on distinctly meaningful features for prediction. Most notably, Pace et al. (2020) and Rame & Cord (2021) minimize mutual information between the classifier representations conditioned on the label. Since any pair of predictors cannot both be accurate while remaining unconditionally independent, the extra conditioning prevents learning weak classifiers. The resulting ensemble contains accurate classifiers that nevertheless rely on distinct predictive signals. The only core assumption is that the underlying predictive signals are themselves conditionally independent. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
242
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "These approaches are conceptually appealing but practically challenging. Mutual information between high-dimensional representations is intractable and must be approximated, either via variational (e.g. Fischer, 2020) or contrastive (e.g. Oord et al., 2018) bounds. Furthermore, such approximations are computationally expensive, a problem that is compounded in the ensemble setting where we wish to train multiple classifiers speedily. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
250,
|
| 110 |
+
825,
|
| 111 |
+
319
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We seek to learn ensemble diversity fast and effectively. Our key insight is that it suffices to enforce conditional independence on the output distributions of the classifiers. Our first contribution is proposing conditional mutual information (CMI) between output distributions as the regularizing objective. Assuming conditionally independent predictive signals, enforcing CMI between output distributions also guarantees that the ensemble where separate predictive signals are learnt by separate classifiers is a minimizing solution. Since the output distribution is categorical, CMI can be cheaply and exactly computed from empirical data. In addition, our method avoids using additional sources of data that cannot be found in many real-world domains, such as unlabelled test data or “group” labels for each predictive signal in the dataset. We only permit a small amount of validation data from the test distribution for (1) hyperparameter tuning and (2) selecting the final predictor from our ensemble. We dub our approach as Conditionally Independent Deep Ensembles (CoDE). ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
325,
|
| 121 |
+
825,
|
| 122 |
+
479
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Our second contribution is evaluating CoDE on benchmark datasets for shortcut learning (Geirhos et al., 2020). Shortcuts are signals that are (i) highly but spuriously correlated to the label in the training distribution, possibly due to biases in data collection or other systematic pre-processing errors (Torralba & Efros, 2011), and (ii) preferentially learnt by a neural network, possibly due to simplicity biases (Shah et al., 2020) or architectural biases (e.g. convolutional neural networks (CNNs) relying on texture over shape (Baker et al., 2018)). An empirical risk minimizing (ERM) model will rely on shortcuts and fail to generalize to test distributions where they are no longer correlated to the label. This is a natural application for our method as the core assumption of conditional independence applies to many such datasets — for example, in natural images, the foreground is typically the label and is thus conditionally independent from the background (shortcut). We show that CoDE effectively recovers an ensemble where the shortcut features and the true signal are learnt by separate classifiers. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
173,
|
| 131 |
+
486,
|
| 132 |
+
825,
|
| 133 |
+
638
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 PRELIMINARIES: SETUP AND NOTATION ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
660,
|
| 144 |
+
540,
|
| 145 |
+
676
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "In Section 3, we will fully motivate the assumptions behind our model of the data-generating process (DGP). However, we describe it here first to establish key terminology and concepts. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
694,
|
| 155 |
+
823,
|
| 156 |
+
723
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Data-Generating Process Let $\\mathbf { z }$ denote the set of latent factors that generate the set of observed features $\\mathbf { x } \\in \\mathbb { R } ^ { P }$ . Let $y \\in \\{ 0 , 1 , \\dotsc , K - 1 \\}$ denote the label. The data $p _ { e } ( \\mathbf { x } , y , \\mathbf { z } )$ is generated from a family of distributions indexed by $e$ , the environment. We only consider: (i) a single training environment $\\mathbf { \\boldsymbol { e } } _ { \\mathbf { \\lambda } } = t { \\boldsymbol { r } } _ { \\mathbf { \\lambda } } $ ), from which we have access to i.i.d. labelled training examples $D _ { t r } \\ = \\ \\{ { \\bf x } _ { i } , y _ { i } \\} _ { i = 1 } ^ { N }$ , and (ii) a test environment $\\mathit { \\Pi } _ { \\mathrm { ~ e ~ } } = \\mathit { \\Pi } _ { t e }$ ), from which we draw unlabelled test examples that our model should perform well on. We also allow access to a small set of labelled validation data $D _ { v a l } = \\{ \\mathbf { x } _ { i } , y _ { i } \\} _ { i = 1 } ^ { N ^ { \\prime } }$ from the test environment, which is used only for hyperparameter tuning and ensembling (i.e. constructing the final model from the set of learnt classifiers). ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
739,
|
| 166 |
+
825,
|
| 167 |
+
854
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "We make the following assumptions on the DGP: ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
861,
|
| 177 |
+
496,
|
| 178 |
+
876
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "(i) all label information is encoded by $\\mathbf { z }$ , i.e. $p _ { e } ( y | \\mathbf { x } , \\mathbf { z } ) = p _ { e } ( y | \\mathbf { z } )$ for all $e$ (ii) $p _ { e } ( \\mathbf { x } | \\mathbf { z } ) = p ( \\mathbf { x } | \\mathbf { z } )$ is invariant across all $e$ ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
183,
|
| 187 |
+
887,
|
| 188 |
+
678,
|
| 189 |
+
924
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "(iii) $p _ { e } ( { \\bf z } ) > 0$ for all $e$ and $\\mathbf { z }$ \n(iv) $p _ { e } ( y ) > 0$ for all $e$ and $y$ \n(v) [Latent Conditional Independence] $z _ { i } \\perp \\perp z _ { j } \\mid y$ for all $e$ and $i , j$ ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
178,
|
| 198 |
+
103,
|
| 199 |
+
647,
|
| 200 |
+
157
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Based on these assumptions, we can factorize $p _ { e } ( \\mathbf { x } , y , \\mathbf { z } )$ as: ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
173,
|
| 209 |
+
166,
|
| 210 |
+
570,
|
| 211 |
+
183
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "equation",
|
| 217 |
+
"img_path": "images/5fb6a370256322a0962a9947d8b9226219d54510301bc283217e37e847fc2d7a.jpg",
|
| 218 |
+
"text": "$$\np _ { e } ( \\mathbf { z } , \\mathbf { x } , y ) = p _ { e } ( y ) \\left( \\prod _ { i = 1 } ^ { L } p _ { e } ( z _ { i } | y ) \\right) p ( \\mathbf { x } | \\mathbf { z } )\n$$",
|
| 219 |
+
"text_format": "latex",
|
| 220 |
+
"bbox": [
|
| 221 |
+
356,
|
| 222 |
+
188,
|
| 223 |
+
642,
|
| 224 |
+
232
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 2
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "Example: ColoredMNIST As introduced in Arjovsky et al. (2019), $y$ is a binary label which determines color $( z _ { 1 } \\in \\{ \\mathrm { r e d } , \\mathrm { g r e e n } \\} )$ with probability $p _ { c }$ and digit $( z _ { 2 } \\in \\{ 0 \\ – 4 , 5 \\ – 9 \\} )$ ) with probability $p _ { d }$ . $p _ { c }$ and $p _ { d }$ are independently chosen. In the training distribution, $p _ { c } = 0 . 2 5$ and $p _ { d } = 0 . 1$ , as such, an ERM model will primarily learn from color. $p _ { c }$ and $p _ { d }$ can be arbitrary in the test distribution. ",
|
| 231 |
+
"bbox": [
|
| 232 |
+
173,
|
| 233 |
+
244,
|
| 234 |
+
825,
|
| 235 |
+
301
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 2
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "text",
|
| 241 |
+
"text": "Example: Waterbirds As introduced in Sagawa et al. (2019), $y$ is a binary label determining if the image represents a water or land bird. It perfectly determines the foreground $( z _ { 1 } \\in \\ \\left\\{ \\begin{array} { l l } { \\end{array} } \\right.$ water bird, land bird}) and is highly but spuriously correlated to the background $( z _ { 2 } \\in$ {water, land}) in the training distribution. An ERM model will learn from background features. ",
|
| 242 |
+
"bbox": [
|
| 243 |
+
173,
|
| 244 |
+
314,
|
| 245 |
+
825,
|
| 246 |
+
372
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Group Robustness When $\\mathbf { z }$ is discrete, each possible value that $\\mathbf { z }$ can take is known as a group. Due to the spurious correlations created by $p _ { t r } ( z _ { i } | y )$ , groups that are highly represented in the training set are called “majority groups”, and poorly-represented groups are “minority groups”. Group robustness refers to the goal of generalizing well on all groups and is one natural way of evaluating if a model has been learning shortcuts. For example, both ColoredMNIST and Waterbirds admits four groups formed by the Cartesian product of $z _ { 1 }$ and $z _ { 2 }$ . ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
173,
|
| 255 |
+
386,
|
| 256 |
+
825,
|
| 257 |
+
470
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Ensembles and Fast Adaptation A classifier $f ( \\mathbf { x } ) : = p _ { \\theta } ( y | \\mathbf { x } )$ is parametrized by $\\theta$ and outputs class probabilities. We will use $\\hat { y } : = p _ { \\theta } ( y )$ to denote the unconditional output distribution. We use the term “ensemble” loosely to refer to a set of or sequentially. (Section 4 clarifies the relations $M$ classifiers to tradition $\\{ f _ { m } \\} _ { m = 1 } ^ { M }$ that can be learnt joinle methods.) After all $M$ classifiers are learnt, the final model $\\theta ^ { * }$ is selected using validation data $D _ { v a l }$ : ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
173,
|
| 266 |
+
484,
|
| 267 |
+
823,
|
| 268 |
+
555
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "equation",
|
| 274 |
+
"img_path": "images/001c2f13b422603eecb84248118a943631e48b18f9a5ef9109c8ccaecd2fea37.jpg",
|
| 275 |
+
"text": "$$\n\\theta ^ { * } = \\arg \\operatorname* { m i n } _ { \\theta _ { m } , m \\in \\{ 1 , \\dots , M \\} } \\frac { 1 } { N ^ { \\prime } } \\sum _ { i = 1 } ^ { N ^ { \\prime } } \\log p _ { \\theta _ { m } } ( y _ { i } | \\mathbf { x } _ { i } )\n$$",
|
| 276 |
+
"text_format": "latex",
|
| 277 |
+
"bbox": [
|
| 278 |
+
343,
|
| 279 |
+
561,
|
| 280 |
+
655,
|
| 281 |
+
606
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 2
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "This process is referred to as fast adaptation. ",
|
| 288 |
+
"bbox": [
|
| 289 |
+
174,
|
| 290 |
+
611,
|
| 291 |
+
473,
|
| 292 |
+
626
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "3 CONDITIONALLY INDEPENDENT DEEP ENSEMBLES ",
|
| 299 |
+
"text_level": 1,
|
| 300 |
+
"bbox": [
|
| 301 |
+
174,
|
| 302 |
+
645,
|
| 303 |
+
630,
|
| 304 |
+
661
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "To motivate our approach and the assumptions made in (1), we first define what it means to learn a diverse ensemble and explain why conditional independence is a sound measure of diversity. ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
171,
|
| 313 |
+
678,
|
| 314 |
+
823,
|
| 315 |
+
707
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "3.1 DIVERSITY AS CONDITIONAL INDEPENDENCE ",
|
| 322 |
+
"text_level": 1,
|
| 323 |
+
"bbox": [
|
| 324 |
+
174,
|
| 325 |
+
722,
|
| 326 |
+
537,
|
| 327 |
+
737
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 2
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "Diverse classifiers utilize separate predictive signals, intuitively, they predict the “same things for different reasons” (Rame & Cord, 2021). Our setup in Section 2 formalizes this notion of “different reasons” by explicitly defining the latent variable $\\mathbf { z }$ , which models the total underlying set of predictive signals that relate $\\mathbf { x }$ to $y$ . A classifier that learns a mapping from $\\mathbf { x }$ to $y$ can then be interpreted as implicitly inferring $\\mathbf { z }$ from $\\mathbf { x }$ and learning a mapping from $\\mathbf { z }$ to $y$ . We can thus define diverse classifiers that rely on separate predictive signals as learning from separate dimensions or subspaces of $\\mathbf { z }$ . ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
173,
|
| 336 |
+
747,
|
| 337 |
+
825,
|
| 338 |
+
833
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 2
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "text",
|
| 344 |
+
"text": "To formalize the idea that a classifier $f$ learns using only a subspace of $\\mathbf { z }$ , one naive approach might be to define $f$ as relying only on the subspace ${ \\mathbf z } _ { [ a ] }$ if and only if (some distribution computed from) $f$ is independent of its complement ${ \\mathbf z } \\backslash { \\mathbf z } _ { [ a ] }$ . This definition is convenient as it suggests that the appropriate objective to learn a diverse ensemble is simply to enforce statistical independence between the classifiers. This follows because two classifiers that rely on overlapping subspaces of $\\mathbf { z }$ will necessarily be dependent. ",
|
| 345 |
+
"bbox": [
|
| 346 |
+
174,
|
| 347 |
+
838,
|
| 348 |
+
825,
|
| 349 |
+
924
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 2
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "However, the definition above assumes that distinct predictive signals (i.e. subspaces of $\\mathbf { z }$ ) are themselves unconditionally independent. This is not always true when a dataset contains multiple strongly predictive signals. Dimensions of $\\mathbf { z }$ can be dependent by virtue of their correlation to $y$ Classifiers that learn from such signals will similarly be dependent. Shortcut learning is precisely a problem because meaningful and spurious features are highly correlated in the training environment. ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
173,
|
| 358 |
+
103,
|
| 359 |
+
825,
|
| 360 |
+
174
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "This conundrum can be resolved by establishing independence of the latent factors with conditioning on $y$ . Doing so is equivalent to assuming that upon knowing the true label, observing one set of features yields no additional information about other features. This is usually a realistic assumption to make. As the Waterbirds example in Section 2 shows, backgrounds and foregrounds are often conditionally independent in the test distributions we care about. This motivates our assumption (v) of latent conditional independence in Section 2, where the individual factors $z _ { i }$ are conditionally independent given $y$ . We formalize this notion of “diversity as conditional independence” below. ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
173,
|
| 369 |
+
179,
|
| 370 |
+
825,
|
| 371 |
+
279
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "Definition 3.1. Let $\\mathbf { z } _ { [ a ] } : = ( z _ { a _ { 1 } } , \\ldots , z _ { a _ { l } } )$ denote some subspace of $\\mathbf { z }$ . Let $\\hat { h } ( f )$ denote some distribution computed from $f$ . We say $f$ is invariant to ${ \\mathbf z } _ { [ a ] }$ if $\\hat { h } \\perp \\perp ( z _ { a _ { 1 } } , \\ldots , z _ { a _ { l } } ) | y$ . Let $\\mathbf { z } _ { [ i ] }$ be the maximal subset of $\\mathbf { z }$ that $f$ is invariant to. Then $f$ is said to rely on $\\mathbf { z } _ { - [ i ] } : = \\mathbf { z } \\backslash \\mathbf { z } _ { [ i ] }$ for prediction. ",
|
| 378 |
+
"bbox": [
|
| 379 |
+
174,
|
| 380 |
+
284,
|
| 381 |
+
825,
|
| 382 |
+
333
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 3
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "Definition 3.2. Let $f$ and $f ^ { \\prime }$ be a pair of classifiers that rely on $\\mathbf { z } _ { [ i ] }$ and $\\mathbf { z } _ { [ i ^ { \\prime } ] }$ respectively. $f$ and $f ^ { \\prime }$ are said to be diverse if $\\mathbf { z } _ { [ i ] } \\bigcap _ { . . } \\mathbf { z } _ { [ i ^ { \\prime } ] } = \\emptyset$ . An ensemble $\\{ f _ { m } \\} _ { m = 1 } ^ { M }$ is diverse if every pair of classifiers $f _ { j } , f _ { k }$ in the ensemble are diverse. ",
|
| 389 |
+
"bbox": [
|
| 390 |
+
174,
|
| 391 |
+
337,
|
| 392 |
+
825,
|
| 393 |
+
382
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "It follows immediately from Definition 3.2 that diverse classifiers must themselves be conditionally independent, i.e. $\\hat { h } _ { i } \\perp \\perp \\hat { h } _ { j } | y$ . Our training objective for learning a diverse ensemble should therefore enforce conditional independence on all pairs of classifiers: ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
393,
|
| 403 |
+
825,
|
| 404 |
+
438
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "equation",
|
| 410 |
+
"img_path": "images/6e4e8a0dbffae0fbcd6746d41ea494981c0525f1b325a81adf8c416c4bc03ced.jpg",
|
| 411 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\arg \\underset { \\theta _ { 1 } , \\dots , \\theta _ { M } } { \\operatorname* { m a x } } \\sum _ { i = 1 } ^ { N } \\sum _ { m = 1 } ^ { M } \\log p _ { \\theta _ { m } } ( y _ { i } | \\mathbf { x } _ { i } ) } \\\\ { \\displaystyle \\mathrm { s u b j e c t ~ t o } \\hat { h } _ { s } \\perp \\hat { h } _ { t } \\vert y \\qquad \\forall s , t } \\end{array}\n$$",
|
| 412 |
+
"text_format": "latex",
|
| 413 |
+
"bbox": [
|
| 414 |
+
380,
|
| 415 |
+
444,
|
| 416 |
+
619,
|
| 417 |
+
511
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "We can interpret (3) as follows: the main objective guarantees that the learnt ensemble contains individually strong predictors, whereas the constraint guarantees that each predictor is uninformative of the others when conditioned on the label. Put together, (3) learns classifiers that rely on conditionally independent subspaces of $\\mathbf { z }$ and thus provide no additional information about each other. As is typical in machine learning (Krogh & Hertz, 1991; Deb, 2014), we optimize an unconstrained analogue of (3) by expressing the constraint as a regularization term. ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
173,
|
| 426 |
+
521,
|
| 427 |
+
826,
|
| 428 |
+
606
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "3.2 ENFORCING CONDITIONAL INDEPENDENCE VIA OUTPUT DISTRIBUTIONS ",
|
| 435 |
+
"text_level": 1,
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
621,
|
| 439 |
+
723,
|
| 440 |
+
637
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "It remains for us to decide on the distribution $\\hat { h }$ that we constrain, as well as the (unconstrained) regularization objective from (3). These choices are crucial in many ways. Since independence with respect to $\\hat { h }$ underpins the notions of invariance and diversity in Definitions 3.1 and 3.2, it must be informative about the underlying predictive signals that a classifier is relying on. Furthermore, $\\hat { h }$ and the regularization objective must be tractable. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
650,
|
| 450 |
+
825,
|
| 451 |
+
726
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "Earlier work such as Pace et al. (2020) and Rame & Cord (2021) choose $\\hat { h }$ to be the representations learnt by the classifiers, e.g. by constructing $f = f _ { l } \\circ f _ { e }$ as a deep encoder network $f _ { e }$ that is attached to a linear classifier $f _ { l }$ and letting $\\hat { h } \\ = \\ f _ { e } ( \\mathbf { x } )$ . As the regularization objective for conditional independence, Rame & Cord (2021) compute pairwise conditional mutual information $\\mathcal { C M T } ( f _ { e , s } , f _ { e , t } )$ whereas Pace et al. (2020) compute total correlation $\\mathcal { T C } ( f _ { e , 1 } , \\dots , f _ { e , M } )$ . Since the encoder representations are high-dimensional, these terms must be approximated. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
173,
|
| 460 |
+
733,
|
| 461 |
+
825,
|
| 462 |
+
821
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 3
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "We propose a far simpler and more efficient method. Instead of network representations, we choose $\\hat { h }$ to simply be the output distribution $\\hat { h } = f ( \\mathbf { x } ) = p _ { \\boldsymbol { \\theta } } ( y | \\mathbf { x } )$ of the classifier. Accordingly, our regularization objective is conditional mutual information (CMI) between the output distributions of the classifiers. For any pair of classifiers $f _ { j } , f _ { k }$ , we have: ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
829,
|
| 472 |
+
825,
|
| 473 |
+
888
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 3
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "equation",
|
| 479 |
+
"img_path": "images/663c12db3346b980918eac49e6b0f74452a9924ca7db2c6c7b339cb0aa43f621.jpg",
|
| 480 |
+
"text": "$$\n\\mathcal { C M T } ( f _ { s } , f _ { t } ) = \\mathbb { E } _ { y } \\left[ \\mathcal { D } _ { K L } \\Big ( p ( f _ { s } , f _ { t } | y ) | | p ( f _ { s } | y ) p ( f _ { t } | y ) \\Big ) \\right]\n$$",
|
| 481 |
+
"text_format": "latex",
|
| 482 |
+
"bbox": [
|
| 483 |
+
305,
|
| 484 |
+
895,
|
| 485 |
+
691,
|
| 486 |
+
922
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 3
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "CMI is zero iff $f _ { s } \\perp \\perp f _ { t } | y$ for all values of $y$ . Enforcing conditional independence on the classifiers’ predicted output probabilities rather than underlying representations trades off granularity of the independence constraint for computational efficiency. We believe that this is a valuable trade-off. Since $\\hat { y }$ has categorical support, (4) can be cheaply and exactly estimated from training data. As our experiments in Section 5 show, even on a noisier signal like output distributions, enforcing conditional independence is sufficient to learn a diverse ensemble. ",
|
| 493 |
+
"bbox": [
|
| 494 |
+
174,
|
| 495 |
+
103,
|
| 496 |
+
825,
|
| 497 |
+
188
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "Even though a diverse ensemble implies pairwise conditionally independent classifiers, the converse is not necessarily true. Mutual information is also zero if one of the classifiers outputs random or constant class probabilities. In particular, optimizing a weighted sum of the cross-entropy term and the CMI term can be challenging — overly weak regularization produces an ensemble that is not diverse, whereas overly strong regularization tends towards solutions containing close-to-random classifiers. Instead, we propose adding another term to regularize for confident predictions: ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
173,
|
| 506 |
+
194,
|
| 507 |
+
825,
|
| 508 |
+
279
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 4
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "equation",
|
| 514 |
+
"img_path": "images/30e979a8ac0e3b27a96e209e7b3d03a74ab1e7022bab12d04c9094409a5af617.jpg",
|
| 515 |
+
"text": "$$\n\\mathcal { R } ( f ) = \\sum _ { k = 1 } ^ { K } \\| p ( \\hat { y } | y = k ) - I _ { k } \\|\n$$",
|
| 516 |
+
"text_format": "latex",
|
| 517 |
+
"bbox": [
|
| 518 |
+
390,
|
| 519 |
+
287,
|
| 520 |
+
606,
|
| 521 |
+
332
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 4
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "where $I _ { k }$ is the indicator function at $k$ . Put together, the overall loss objective is: ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
171,
|
| 530 |
+
339,
|
| 531 |
+
704,
|
| 532 |
+
354
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 4
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "equation",
|
| 538 |
+
"img_path": "images/ac82014a089a7337b07a043c5d569f12ebf1de2cb54a395ae9dbed7c17632475.jpg",
|
| 539 |
+
"text": "$$\n\\mathcal { L } ( \\{ \\theta _ { m } \\} _ { m = 1 } ^ { M } ) = \\sum _ { i = 1 } ^ { N } \\sum _ { m = 1 } ^ { M } \\log p _ { \\theta _ { m } } ( y _ { i } | \\mathbf { x } _ { i } ) + \\lambda _ { 1 } \\cdot \\sum _ { s = 1 } ^ { M } \\sum _ { t = 1 } ^ { s - 1 } \\mathcal { C } \\mathcal { M } \\mathcal { Z } ( f _ { s } , f _ { t } ) + \\lambda _ { 2 } \\cdot \\sum _ { m = 1 } ^ { M } \\mathcal { R } ( f _ { m } )\n$$",
|
| 540 |
+
"text_format": "latex",
|
| 541 |
+
"bbox": [
|
| 542 |
+
197,
|
| 543 |
+
363,
|
| 544 |
+
781,
|
| 545 |
+
409
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "where $\\lambda _ { 1 }$ and $\\lambda _ { 2 }$ are hyperparameters controlling the strength of regularization. A solution that minimizes (6) contains an ensemble where: (i) each classifier is accurate (first term) and confident (third term), and (ii) different classifiers rely on different subspaces of $\\mathbf { z }$ for prediction (second term). We name such an ensemble a Conditionally Independent Deep Ensemble (CoDE). ",
|
| 552 |
+
"bbox": [
|
| 553 |
+
173,
|
| 554 |
+
416,
|
| 555 |
+
826,
|
| 556 |
+
473
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 4
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "3.3 CODE: COMPUTATIONAL DETAILS ",
|
| 563 |
+
"text_level": 1,
|
| 564 |
+
"bbox": [
|
| 565 |
+
176,
|
| 566 |
+
491,
|
| 567 |
+
455,
|
| 568 |
+
506
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "The hyperparameters of the method are $M , \\lambda _ { 1 }$ , and $\\lambda _ { 2 }$ . Unlike traditional ensembles, $M$ (ensemble size) will typically be small $M = 2$ for all our experiments) since $M$ cannot be larger than the number of conditionally independent predictive signals inherent in the dataset. As is typical for OOD problems, we assume access to validation data from the test environment for hyperparameter tuning. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
174,
|
| 577 |
+
517,
|
| 578 |
+
825,
|
| 579 |
+
575
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Objective (6) describes the situation where all $M$ classifiers are jointly optimized. Since $M$ is typically small, doing so is not difficult or computationally expensive (as might be with traditional ensembles). An alternative to joint optimization is to learn the classifiers in a sequential fashion. The analogue to (6) becomes: ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
580,
|
| 589 |
+
825,
|
| 590 |
+
637
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "equation",
|
| 596 |
+
"img_path": "images/3635bb1f271b1688d0f076e2aa0021e2326da2684f767d91c174108efce5cc34.jpg",
|
| 597 |
+
"text": "$$\n\\mathcal { L } ( \\theta _ { m } ) = \\sum _ { i = 1 } ^ { N } \\log p _ { \\theta _ { m } } ( y _ { i } | \\mathbf { x } _ { i } ) + \\lambda _ { 1 } \\cdot \\sum _ { s = 1 } ^ { m - 1 } \\mathcal { C } \\mathcal { M } \\mathcal { Z } ( \\hat { y } _ { s } , \\hat { y } _ { m } ) + \\lambda _ { 2 } \\cdot \\mathcal { R } ( f _ { m } )\n$$",
|
| 598 |
+
"text_format": "latex",
|
| 599 |
+
"bbox": [
|
| 600 |
+
267,
|
| 601 |
+
647,
|
| 602 |
+
730,
|
| 603 |
+
690
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Sequential optimization presents a natural way to determine $M$ , as we can terminate the training process when no more predictive classifiers can be learnt. However, it will fail if earlier classifiers in the sequence learn multiple predictive signals. We discuss this further in Section 5. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
699,
|
| 613 |
+
825,
|
| 614 |
+
742
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "4 RELATED WORK ",
|
| 621 |
+
"text_level": 1,
|
| 622 |
+
"bbox": [
|
| 623 |
+
176,
|
| 624 |
+
763,
|
| 625 |
+
344,
|
| 626 |
+
780
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 4
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "Ensemble Methods In statistics, ensembling traditionally refers to combining multiple predictors into a single model that outperforms the individual learners, typically by bagging (Breiman, 1996) or boosting (Schapire, 1990). Diversity in this context refers to minimizing correlation between individual learners, which reduces variance and improve generalization (Kuncheva & Whitaker, 2003). Deep ensembling (Lakshminarayanan et al., 2017) is an analogous approach in deep learning where multiple randomly-initialized networks are trained in parallel, however, they are generally used for the purpose of uncertainty estimation. Unlike these works, we consider diversity specifically in the context of datasets with multiple predictive signals, and learning a diverse ensemble as recovering all such signals for the purpose of OOD generalization. ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
173,
|
| 635 |
+
797,
|
| 636 |
+
826,
|
| 637 |
+
924
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "Various Approaches For Learning Diversity As an unsupervised task, diversity refers to learning disentangled representations where natural factors of variation in the dataset are encoded into distinct latent dimensions (Bengio et al., 2013; Higgins et al., 2018); however, recent work has proposed incorporating weak supervision in this process (Locatello et al., 2019; Shu et al., 2019; Brehmer et al., 2022). As a supervised problem without OOD shifts, diversity refers to learning functions that disagree outside training points. Methods in this space have generally made use of input gradients (Ross et al., 2017; 2018) and orthogonality (Mashhadi et al., 2021; Xu et al., 2021). Finally, diversity is considered in the context of distribution shifts — either to improve robustness against adversarial attacks (Pang et al., 2019), to disambiguate between perfectly correlated signals (Lee et al., 2022), or to evade the simplicity bias by learning more complex functions (Pagliardini et al., 2022; Teney et al., 2021). Our work is most closely aligned with this last category. Unlike the approaches above, we exploit information-theoretic measures as our objective. ",
|
| 644 |
+
"bbox": [
|
| 645 |
+
173,
|
| 646 |
+
103,
|
| 647 |
+
825,
|
| 648 |
+
270
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 5
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "Shortcut Learning and Spurious Correlations Shortcut learning (Geirhos et al., 2020) involves distribution shifts arising from spurious correlations (Buolamwini & Gebru, 2018; Xiao et al., 2020; Moayeri et al., 2022) and neural network biases (architectural or simplicity biases) (Geirhos et al., 2018; Shah et al., 2020; Teney et al., 2021). Methods that tackle distribution shifts must use additional data and/or assumptions. Examples of additional data include having multiple training environments (Arjovsky et al., 2019), counterfactual examples (Teney et al., 2020), access to enough validation data to fine-tune the model (Kirichenko et al., 2022), or group labels (Sagawa et al., 2019; Puli et al., 2022). Examples of additional assumptions include exploiting the lottery ticket hypothesis (Zhang et al., 2021) or treating misclassified training examples by an initial model as a proxy for minority groups (Liu et al., 2021; Zhang et al., 2022). Unlike these methods, we aim to learn all predictive signals in the dataset, rather than performing well on a single test distribution. Furthermore, we use validation data for hyperparameter tuning only, without additional sources of data (e.g. group labels). ",
|
| 655 |
+
"bbox": [
|
| 656 |
+
174,
|
| 657 |
+
285,
|
| 658 |
+
825,
|
| 659 |
+
452
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 5
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "Information Bottleneck and Conditional Independence The line of work most similar to ours also exploits the information bottleneck method to learn diversity. Sinha et al. (2020) minimizes the mutual information $\\mathcal { T } ( \\hat { z } _ { s } , \\hat { z } _ { t } )$ between learnt representations $\\hat { z } _ { m }$ , however, this term is unconditional and will simply learn weak (biased) predictors, as noted in Section 3. Rame & Cord (2021) introduce DICE, which minimizes the conditional term $\\mathcal { C } \\mathcal { M } \\mathcal { I } ( \\hat { z } _ { s } , \\hat { z } _ { t } )$ . Pace et al. (2020) considers total correlation $\\mathcal { T C } ( \\hat { z } _ { 1 } , \\dots , \\hat { z } _ { M } )$ instead of pairwise terms. Unlike CoDE, both of these approaches compute mutual information terms on the high-dimensional representations $\\hat { z } _ { m }$ . Their objectives are intractable and must be approximated. For example, DICE requires both variational approximations and a jointly trained adversarial discriminator that learns to distinguish pairwise classifiers. Compared to these approaches, CoDE is by far computationally advantageous as mutual information for categorical output distributions can be computed faster and exactly. ",
|
| 666 |
+
"bbox": [
|
| 667 |
+
174,
|
| 668 |
+
465,
|
| 669 |
+
825,
|
| 670 |
+
619
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "5 EXPERIMENTS ",
|
| 677 |
+
"text_level": 1,
|
| 678 |
+
"bbox": [
|
| 679 |
+
176,
|
| 680 |
+
638,
|
| 681 |
+
326,
|
| 682 |
+
655
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "Section 5.1 presents experiments on ColoredMNIST, which is used both to demonstrate the viability of our approach and to highlight pivotal observations and ablations. Section 5.2 then evaluates CoDE on larger benchmark datasets for shortcut learning to show that it scales effectively. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
671,
|
| 692 |
+
825,
|
| 693 |
+
713
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "5.1 COLOREDMNIST ",
|
| 700 |
+
"text_level": 1,
|
| 701 |
+
"bbox": [
|
| 702 |
+
174,
|
| 703 |
+
729,
|
| 704 |
+
338,
|
| 705 |
+
744
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Setup As described in Section 2, the original MNIST (LeCun et al., 1998) labels are binarized (0-4, 5-9) and used to generate true labels $y$ with noise $p _ { d }$ . $y$ then generates binary color labels with noise $p _ { c }$ , used to color the image (red or green). As per Arjovsky et al. (2019), we consider two test environments: the training distribution where $p _ { d } = 0 . 2 5$ and $p _ { c } = 0 . 1$ , and the adversarial distribution where $p _ { d } = 0 . 2 5$ but $p _ { c } = 0 . 9$ (hence the shortcut-label correlation is reversed). ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
755,
|
| 715 |
+
823,
|
| 716 |
+
825
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Evaluation Baselines and Metrics As is standard in existing work, we evaluate predictive accuracy on the training and adversarial distributions. In choosing baselines, we considered the following desiderata for fairness and comprehensiveness: (i) comparing to both ensembling and non-ensembling methods, (ii) amongst ensembling methods, comparing to both conditional independence-based methods and those that do not, and (iii) comparing only to methods that do not require additional sources of data besides validation data for hyperparameter tuning. We chose the following baselines: ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
840,
|
| 726 |
+
825,
|
| 727 |
+
924
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 5
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "table",
|
| 733 |
+
"img_path": "images/42ba1a8bcc725fee74277fd64c4958a8b94e6b142b085c543d6dc70a3d2f8a44.jpg",
|
| 734 |
+
"table_caption": [
|
| 735 |
+
"Table 1: Results on ColoredMNIST. A theoretically ideal classifier relying only on digit (denoted as “Invariant”) will be upper-bounded by the digit-label noise $p _ { d }$ $(7 5 \\% )$ , hence any result above $7 5 \\%$ is relying on the color shortcut. CoDE has the strongest performance on the adversarial distribution. \\*We were unable to reproduce TC-Ensemble on ColoredMNIST, and are citing their results in lieu. "
|
| 736 |
+
],
|
| 737 |
+
"table_footnote": [],
|
| 738 |
+
"table_body": "<table><tr><td colspan=\"6\">Results on ColoredMNIST</td></tr><tr><td>(pd,Pc)</td><td>Training (0.25, 0.1)</td><td>(0.25, 0.9)</td><td>(0.25, 0.5)</td><td>AdversarialRandom-ColorRandom-Color + Perfect-Digit (0.0, 0.5)</td></tr><tr><td>Invariant</td><td>75</td><td>75</td><td>75</td><td>100</td></tr><tr><td>ERM</td><td>88.6</td><td>15.3</td><td>52.5</td><td>53.4</td></tr><tr><td>JTT</td><td>17.8</td><td>87.9</td><td>52.5</td><td>56.6</td></tr><tr><td>Ortho-Ensemble</td><td>89.8</td><td>11.1</td><td>50.3</td><td>49.2</td></tr><tr><td>TC-Ensemble</td><td>89.1</td><td>69.8*</td><td>-</td><td>-</td></tr><tr><td>CoDE</td><td>70.7</td><td>70.0</td><td>70.8</td><td>91.2</td></tr></table>",
|
| 739 |
+
"bbox": [
|
| 740 |
+
173,
|
| 741 |
+
102,
|
| 742 |
+
856,
|
| 743 |
+
261
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 6
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "1. ERM classifier (ERM): single, standard classifier trained with ERM 2. Just Train Twice (Liu et al., 2021) (JTT): an initial classifier is trained for a limited number of epochs; mis-classified examples are upweighted to train the final classifier 3. Ensembles using input gradient orthogonality (Teney et al., 2021) (Ortho-Ensemble): an ensemble where the regularizing term is the dot product of the two models’ input gradients 4. Ensembles using conditional total correlation (CTC) (Pace et al., 2020) (TC-Ensemble): an ensemble learnt by minimizing CTC over the encoder network’s representation ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
209,
|
| 752 |
+
361,
|
| 753 |
+
826,
|
| 754 |
+
478
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 6
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "Table 1 shows all results on ColoredMNIST. We discuss the most important findings below. ",
|
| 761 |
+
"bbox": [
|
| 762 |
+
173,
|
| 763 |
+
489,
|
| 764 |
+
787,
|
| 765 |
+
505
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 6
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "1. Enforcing conditional independence on output distributions achieves diversity effectively. ",
|
| 772 |
+
"text_level": 1,
|
| 773 |
+
"bbox": [
|
| 774 |
+
171,
|
| 775 |
+
525,
|
| 776 |
+
805,
|
| 777 |
+
540
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 6
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "Since ColoredMNIST is an artificially-created dataset whose DGP we know satisfy latent conditional independence ${ \\overset { \\cdot } { p } } _ { c }$ and $p _ { d }$ are independently determined), it is the ideal dataset to evaluate our key claim. Indeed, the strong performance of CoDE shows that it is sufficient to enforce conditional independence on output distributions. The final predictor selected via fast adaptation achieves near-invariant results, suggesting that it has correctly learnt from digit rather than color. ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
174,
|
| 786 |
+
546,
|
| 787 |
+
825,
|
| 788 |
+
617
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "2. CoDE generalizes to multiple OOD test distributions, without overfitting on any one specific distribution. ",
|
| 795 |
+
"text_level": 1,
|
| 796 |
+
"bbox": [
|
| 797 |
+
176,
|
| 798 |
+
637,
|
| 799 |
+
821,
|
| 800 |
+
666
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 6
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "In Table 1, JTT achieved about $90 \\%$ on the adversarial distribution, implying that it overfitted to the adversarial distribution — by learning the opposite shortcut (color) correlation rather than the true signal (digit). This is further confirmed with additional results on two other test environments (Random-Color and Random-Color $^ +$ Perfect-Digit) where $p _ { c } = 0 . 5$ . JTT is close to random on these two environments, suggesting that it is still relying on color as the predictive feature. In contrast, CoDE achieves $91 \\%$ when $p _ { d } = 0 . 0$ , suggesting that it has learnt to predict using digit. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
672,
|
| 810 |
+
825,
|
| 811 |
+
757
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "While concerning, these results are not entirely surprising. A method like JTT did exactly what it was designed to do, which is to minimize classification errors on the adversarial test distribution. Since $p _ { c } = 0 . 1$ , the opposite color correlation is precisely this loss-minimizing function. In contrast, CoDE will not find such a solution because two classifiers that return opposite predictions using the same feature (color) are perfectly correlated, even when conditioned on $y$ . ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
174,
|
| 820 |
+
763,
|
| 821 |
+
823,
|
| 822 |
+
833
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 6
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "These results highlight the shortcomings of single classifier methods like JTT. Such methods are designed to generalize to a specific test distribution, in general, this does not imply that they have learnt the desired predictive signal — merely that they have learnt an arbitrary function that does well on the test distribution. In contrast, methods that enforce diversity, such as CoDE, explicitly recover meaningful predictive signals that can generalize to any test distribution where $p ( \\mathbf { z } | y )$ changes. ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
840,
|
| 832 |
+
823,
|
| 833 |
+
910
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 6
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "table",
|
| 839 |
+
"img_path": "images/a0527b5f8e897cd39dbbe6d9f094f8125afeb5bf189680630083f853f661b810.jpg",
|
| 840 |
+
"table_caption": [
|
| 841 |
+
"Table 2: Additional results on ColoredMNIST and CelebA. "
|
| 842 |
+
],
|
| 843 |
+
"table_footnote": [],
|
| 844 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">ColoredMNIST</td><td colspan=\"2\">CelebA</td></tr><tr><td>Training</td><td>Adversarial</td><td>Ave</td><td>Worst</td></tr><tr><td>CoDE (sequential f1)</td><td>90.0</td><td>10.2</td><td>95.2</td><td>31.1</td></tr><tr><td>CoDE (sequential f2)</td><td>70.1</td><td>70.0</td><td>95.0</td><td>33.3</td></tr><tr><td>CoDE (sequential f3)</td><td>63.2</td><td>49.0</td><td></td><td></td></tr><tr><td>CoDE (sequential f5)</td><td>64.4</td><td>42.2</td><td></td><td></td></tr><tr><td>CoDE (joint M= 2)</td><td>73.4</td><td>60.2</td><td>89.2</td><td>83.3</td></tr><tr><td>CoDE (joint M = 3)</td><td>74.6</td><td>44.3</td><td></td><td></td></tr><tr><td>CoDE (joint M = 5)</td><td>71.9</td><td>43.1</td><td></td><td></td></tr></table>",
|
| 845 |
+
"bbox": [
|
| 846 |
+
266,
|
| 847 |
+
101,
|
| 848 |
+
730,
|
| 849 |
+
257
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 7
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "3. Joint and sequential optimization are suited to different datasets. ",
|
| 856 |
+
"text_level": 1,
|
| 857 |
+
"bbox": [
|
| 858 |
+
173,
|
| 859 |
+
314,
|
| 860 |
+
642,
|
| 861 |
+
329
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 7
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "From our experiments, we found that there is no clear preference between either choice in terms of generalization ability. Table 2 shows both joint and sequential results on the ColoredMNIST and CelebA datasets. For ColoredMNIST, we found that sequential training performed better than joint training. For CelebA, joint training yielded a stronger classifier. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
337,
|
| 871 |
+
825,
|
| 872 |
+
392
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "This might be explained by the biases of the ERM model. In ColoredMNIST, as both latent factors (color and digit) are noisy predictors and as color presents a particularly simple shortcut, the ERM model solely learns from color. As such, a second classifier model that is trained sequentially can learn to predict solely from the digit feature. In contrast, the ERM model in CelebA has likely picked up some combination of the spurious (gender) and true (hair color) features, possibly because gender gives rise to complex features that are not ncessarily simpler to learn. This corroborates previous findings indicating that ERM models can learn an arbitrary combination of all predictive signals (Zhang et al., 2021; Kirichenko et al., 2022). As such, when trained sequentially, the second model fails to learn from hair color alone. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
398,
|
| 882 |
+
825,
|
| 883 |
+
523
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 7
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "The advantages of sequential optimization are: (i) cheaper computational costs as $M$ increases, and (ii) providing a natural stopping point for training. The latter comes from the fact that we can select for $M$ by terminating the training process when the subsequent classifier is no longer predictive, which indicates that there are no further predictive factors to be learnt. In contrast, joint optimization is advantageous as it allows us to avoid the pathological sitation where earlier models learn combinations of predictive factors. As small values of $M$ work well for CoDEs, we note that the computational cost of CoDEs are not prohibitive. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
174,
|
| 892 |
+
531,
|
| 893 |
+
825,
|
| 894 |
+
628
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 7
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "5.2 BENCHMARK DATASETS ",
|
| 901 |
+
"text_level": 1,
|
| 902 |
+
"bbox": [
|
| 903 |
+
176,
|
| 904 |
+
647,
|
| 905 |
+
383,
|
| 906 |
+
662
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 7
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Setup We consider the following benchmark datasets: ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
174,
|
| 915 |
+
674,
|
| 916 |
+
539,
|
| 917 |
+
689
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 7
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "• CelebA Liu et al. (2018); Sagawa et al. (2019): A dataset of celebrity faces with various labelled attributes. We consider the benchmark task in (Sagawa et al., 2019) of predicting the binary hair color attribute (blond or not), with gender (female or male) as the spurious attribute. There are therefore four groups. • Waterbirds (Wah et al., 2011; Sagawa et al., 2019): Setup described in Section 2. There are also four groups as both latent factors (background and foreground) are binary. • MF-Dominoes (MNIST-FashionMNIST) (LeCun et al., 1998; Xiao et al., 2017; Shah et al., 2020; Pagliardini et al., 2022): Each input image concatenates an MNIST digit (0 or 1) with a FashionMNIST object (coat or dress). The true label is the FashionMNIST object; the simpler MNIST feature is the shortcut. The minority groups represent $5 \\%$ of the data. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
217,
|
| 926 |
+
704,
|
| 927 |
+
825,
|
| 928 |
+
859
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 7
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Table 3 shows all results on the benchmark datasets. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
875,
|
| 938 |
+
514,
|
| 939 |
+
888
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 7
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "4. CoDE scales well to large datasets and retains effectiveness at preventing shortcut learning. ",
|
| 946 |
+
"text_level": 1,
|
| 947 |
+
"bbox": [
|
| 948 |
+
174,
|
| 949 |
+
909,
|
| 950 |
+
823,
|
| 951 |
+
924
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 7
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "table",
|
| 957 |
+
"img_path": "images/df7e0a134cb3c4450a3948aeec2d7d2bae29f67283680aca42bc5dd0732341cb.jpg",
|
| 958 |
+
"table_caption": [],
|
| 959 |
+
"table_footnote": [],
|
| 960 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">CelebA</td><td colspan=\"2\">Waterbirds</td><td colspan=\"2\">MF-Dominoes</td></tr><tr><td>Method Ave</td><td>Worst</td><td>Ave</td><td>Worst</td><td>Ave</td><td>Worst</td></tr><tr><td>ERM</td><td>94.8</td><td>46.7</td><td>90.4</td><td>78.3</td><td>88.9</td><td>76.9</td></tr><tr><td>JTT</td><td>88.0*</td><td>81.1*</td><td>93.3*</td><td>86.7*</td><td>89.5</td><td>76.1</td></tr><tr><td>CoDE</td><td>89.2</td><td>83.3</td><td>91.5</td><td>79.4</td><td>92.1</td><td>91.4</td></tr></table>",
|
| 961 |
+
"bbox": [
|
| 962 |
+
282,
|
| 963 |
+
101,
|
| 964 |
+
715,
|
| 965 |
+
194
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 8
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Table 3: Main results on all datasets. CoDE achieves better adversarial or wrost-group accuracy than the other methods on all datasets except Waterbirds. ∗ Results from the JTT paper. We share the same model and training environment as their paper. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
174,
|
| 974 |
+
205,
|
| 975 |
+
823,
|
| 976 |
+
248
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 8
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "On CelebA and MF-Dominoes, CoDE achieves the best worst-group accuracy. Unlike the earlier ColoredMNIST dataset, we have no guarantees that the core assumption of latent conditional independence holds. However, the strong performance of CoDE on these datasets shows that such an assumption is generally valid and useful when scaled to more realistic datasets. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
287,
|
| 986 |
+
825,
|
| 987 |
+
342
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "We note that CoDE performs poorly on Waterbirds. In our experiments, we selected $M = 2$ as the ensemble size. Even though there are no guarantees what will be the two conditionally independent classifiers that CoDE learns, in the other datasets, the results show that they do each correspond to the shortcut and true signal. This implies that in these datasets: (a) there are no features conditionally independent to both the shortcut and true signals and yet also strongly predictive of the label, and (b) the shortcut or true signal cannot be decomposed themselves into conditionally independent signals. Our hypothesis is that (b) is not true for Waterbirds. As the dataset is varied and contains a range of land and water backgrounds, there could be multiple spurious signals in the background that are somehow conditionally independent, resulting in these signals being learnt. Another possibility is that the ensemble could have learnt an imperfect or partial foreground signal. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
174,
|
| 996 |
+
349,
|
| 997 |
+
825,
|
| 998 |
+
489
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 8
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "5. Computational effectiveness is crucial to learn diverse ensembles at scale. ",
|
| 1005 |
+
"text_level": 1,
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
174,
|
| 1008 |
+
510,
|
| 1009 |
+
699,
|
| 1010 |
+
523
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 8
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "Beyond ColoredMNIST, we found that it was computationally prohibitive to run Ortho-Ensemble, as the size of ensembles required to work well (48 or 96) was too high. We also noted that we could not implement TC-Ensembles successfully on larger datasets, noting that the original authors do not test on datasets besides ColoredMNIST either. We believe that this further highlights the importance of computational efficiency in diverse ensembling. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
174,
|
| 1019 |
+
531,
|
| 1020 |
+
825,
|
| 1021 |
+
601
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 8
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "6 DISCUSSION AND CONCLUSION ",
|
| 1028 |
+
"text_level": 1,
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
176,
|
| 1031 |
+
628,
|
| 1032 |
+
468,
|
| 1033 |
+
645
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 8
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "Appendix B discusses potential failure modes of our method. ",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
173,
|
| 1042 |
+
666,
|
| 1043 |
+
571,
|
| 1044 |
+
681
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 8
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "We introduce CoDE, a method for learning an ensemble of diverse classifiers that rely on different predictive signals in the dataset. The key assumption made by CoDE conditional independence between predictive signals, which it enforces on classifiers’ output distributions. We find that CoDE works well in practice when applied to shortcut learning tasks. Future work includes: (a) evaluating CoDEs on other applications where multiple predictive signals exist, such as fairness-related tasks where we might want to learn classifiers that do not rely on sensitive attributes, and (b) considering other metrics for conditional independence that might provide more fine-grained signals than output distributions (e.g. minimizing mutual information between latent representations). ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
174,
|
| 1053 |
+
688,
|
| 1054 |
+
825,
|
| 1055 |
+
799
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 8
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "ETHICS STATEMENT ",
|
| 1062 |
+
"text_level": 1,
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
174,
|
| 1065 |
+
825,
|
| 1066 |
+
316,
|
| 1067 |
+
839
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 8
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Positive Impact Being robust to distribution shifts, CoDE will have a positive impact when deployed to high-stakes domains, where learning shortcut signals can have harmful social consequences. One such notable example is pneumonia prediction — models trained on pneumonia labels from chest $\\mathrm { X }$ -ray scans have been shown to learn machine-specific artifacts in the background, which is a shortcut as hospitals have differing positivity rates and use different machines (Zech et al., 2018). ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
174,
|
| 1076 |
+
853,
|
| 1077 |
+
825,
|
| 1078 |
+
924
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 8
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "Negative Impact There are no notable negative impacts of using CoDE specifically, besides the general potential for all machine learning models to be abused in the wrong hands. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
173,
|
| 1087 |
+
103,
|
| 1088 |
+
823,
|
| 1089 |
+
132
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "REPRODUCIBILITY STATEMENT ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
176,
|
| 1098 |
+
148,
|
| 1099 |
+
393,
|
| 1100 |
+
164
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "We intend to release public code with a camera-ready version of the paper. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
174,
|
| 1109 |
+
175,
|
| 1110 |
+
661,
|
| 1111 |
+
190
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "REFERENCES ",
|
| 1118 |
+
"text_level": 1,
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
210,
|
| 1122 |
+
285,
|
| 1123 |
+
227
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 9
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Martin Arjovsky, Leon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. ´ arXiv preprint arXiv:1907.02893, 2019. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
171,
|
| 1132 |
+
243,
|
| 1133 |
+
825,
|
| 1134 |
+
272
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 9
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Nicholas Baker, Hongjing Lu, Gennady Erlikhman, and Philip J Kellman. Deep convolutional networks do not classify based on global object shape. PLoS computational biology, 14(12): e1006613, 2018. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
173,
|
| 1143 |
+
282,
|
| 1144 |
+
826,
|
| 1145 |
+
325
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 9
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Elias Bareinboim, Juan David Correa, Duligur Ibeling, and Thomas F. Icard. On pearl’s hierarchy and the foundations of causal inference. Probabilistic and Causal Inference, 2022. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
174,
|
| 1154 |
+
337,
|
| 1155 |
+
823,
|
| 1156 |
+
366
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 9
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
176,
|
| 1165 |
+
376,
|
| 1166 |
+
823,
|
| 1167 |
+
419
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 9
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Johann Brehmer, Pim De Haan, Phillip Lippe, and Taco Cohen. Weakly supervised causal representation learning. arXiv preprint arXiv:2203.16437, 2022. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
171,
|
| 1176 |
+
430,
|
| 1177 |
+
825,
|
| 1178 |
+
459
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 9
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Leo Breiman. Bagging predictors. Machine learning, 24(2):123–140, 1996. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
174,
|
| 1187 |
+
469,
|
| 1188 |
+
673,
|
| 1189 |
+
484
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 9
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Joy Buolamwini and Timnit Gebru. Gender shades: Intersectional accuracy disparities in commercial gender classification. In Conference on fairness, accountability and transparency, pp. 77–91. PMLR, 2018. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
174,
|
| 1198 |
+
494,
|
| 1199 |
+
826,
|
| 1200 |
+
537
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 9
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Kalyanmoy Deb. Multi-objective optimization. In Search methodologies, pp. 403–449. Springer, 2014. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
547,
|
| 1210 |
+
825,
|
| 1211 |
+
577
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 9
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
173,
|
| 1220 |
+
588,
|
| 1221 |
+
826,
|
| 1222 |
+
631
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 9
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Ian Fischer. The conditional entropy bottleneck. Entropy, 22(9):999, 2020. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
173,
|
| 1231 |
+
641,
|
| 1232 |
+
665,
|
| 1233 |
+
657
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 9
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A Wichmann, and Wieland Brendel. Imagenet-trained cnns are biased towards texture; increasing shape bias improves accuracy and robustness. arXiv preprint arXiv:1811.12231, 2018. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
174,
|
| 1242 |
+
666,
|
| 1243 |
+
826,
|
| 1244 |
+
710
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 9
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Robert Geirhos, Jorn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias¨ Bethge, and Felix A Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2(11):665–673, 2020. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
174,
|
| 1253 |
+
720,
|
| 1254 |
+
825,
|
| 1255 |
+
763
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 9
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Tatsunori Hashimoto, Megha Srivastava, Hongseok Namkoong, and Percy Liang. Fairness without demographics in repeated loss minimization. In International Conference on Machine Learning, pp. 1929–1938. PMLR, 2018. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
174,
|
| 1264 |
+
773,
|
| 1265 |
+
826,
|
| 1266 |
+
818
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 9
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
171,
|
| 1275 |
+
828,
|
| 1276 |
+
825,
|
| 1277 |
+
871
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 9
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Irina Higgins, David Amos, David Pfau, Sebastien Racaniere, Loic Matthey, Danilo Rezende, and Alexander Lerchner. Towards a definition of disentangled representations. arXiv preprint arXiv:1812.02230, 2018. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
174,
|
| 1286 |
+
881,
|
| 1287 |
+
825,
|
| 1288 |
+
922
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 9
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Dirk Hovy and Anders Søgaard. Tagging performance correlates with author age. In Proceedings of the 53rd annual meeting of the Association for Computational Linguistics and the 7th international joint conference on natural language processing (volume 2: Short papers), pp. 483–488, 2015. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
174,
|
| 1297 |
+
103,
|
| 1298 |
+
825,
|
| 1299 |
+
147
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 10
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
173,
|
| 1308 |
+
155,
|
| 1309 |
+
823,
|
| 1310 |
+
184
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 10
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. arXiv preprint arXiv:2204.02937, 2022. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
173,
|
| 1319 |
+
194,
|
| 1320 |
+
821,
|
| 1321 |
+
223
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 10
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Anders Krogh and John Hertz. A simple weight decay can improve generalization. Advances in neural information processing systems, 4, 1991. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
174,
|
| 1330 |
+
232,
|
| 1331 |
+
821,
|
| 1332 |
+
262
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 10
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Ludmila I Kuncheva and Christopher J Whitaker. Measures of diversity in classifier ensembles and their relationship with the ensemble accuracy. Machine learning, 51(2):181–207, 2003. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
173,
|
| 1341 |
+
270,
|
| 1342 |
+
823,
|
| 1343 |
+
300
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 10
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. Advances in neural information processing systems, 30, 2017. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
174,
|
| 1352 |
+
309,
|
| 1353 |
+
826,
|
| 1354 |
+
352
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 10
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
176,
|
| 1363 |
+
361,
|
| 1364 |
+
823,
|
| 1365 |
+
391
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 10
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Yoonho Lee, Huaxiu Yao, and Chelsea Finn. Diversify and disambiguate: Learning from underspecified data. arXiv preprint arXiv:2202.03418, 2022. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
174,
|
| 1374 |
+
400,
|
| 1375 |
+
825,
|
| 1376 |
+
429
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 10
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Evan Z Liu, Behzad Haghgoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In International Conference on Machine Learning, pp. 6781–6792. PMLR, 2021. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
174,
|
| 1385 |
+
438,
|
| 1386 |
+
826,
|
| 1387 |
+
494
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 10
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Large-scale celebfaces attributes (celeba) dataset. Retrieved August, 15(2018):11, 2018. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
169,
|
| 1396 |
+
503,
|
| 1397 |
+
825,
|
| 1398 |
+
534
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 10
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, ¨ and Olivier Bachem. Challenging common assumptions in the unsupervised learning of disentangled representations. In international conference on machine learning, pp. 4114–4124. PMLR, 2019. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
173,
|
| 1407 |
+
542,
|
| 1408 |
+
826,
|
| 1409 |
+
599
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 10
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Peyman Sheikholharam Mashhadi, Sławomir Nowaczyk, and Sepideh Pashami. Parallel orthogonal deep neural network. Neural Networks, 140:167–183, 2021. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
173,
|
| 1418 |
+
608,
|
| 1419 |
+
823,
|
| 1420 |
+
638
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 10
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Mazda Moayeri, Phillip Pope, Yogesh Balaji, and Soheil Feizi. A comprehensive study of image classification model sensitivity to foregrounds, backgrounds, and visual attributes. arXiv preprint arXiv:2201.10766, 2022. ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
173,
|
| 1429 |
+
647,
|
| 1430 |
+
825,
|
| 1431 |
+
690
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 10
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
173,
|
| 1440 |
+
699,
|
| 1441 |
+
823,
|
| 1442 |
+
729
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 10
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "Daniel Pace, Alessandra Russo, and Murray Shanahan. Learning diverse representations for fast adaptation to distribution shift. arXiv preprint arXiv:2006.07119, 2020. ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
174,
|
| 1451 |
+
738,
|
| 1452 |
+
825,
|
| 1453 |
+
767
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 10
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "text",
|
| 1459 |
+
"text": "Matteo Pagliardini, Martin Jaggi, Franc¸ois Fleuret, and Sai Praneeth Karimireddy. Agree to disagree: Diversity through disagreement for better transferability. arXiv preprint arXiv:2202.04414, 2022. ",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
169,
|
| 1462 |
+
776,
|
| 1463 |
+
825,
|
| 1464 |
+
806
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 10
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "text",
|
| 1470 |
+
"text": "Tianyu Pang, Kun Xu, Chao Du, Ning Chen, and Jun Zhu. Improving adversarial robustness via promoting ensemble diversity. In International Conference on Machine Learning, pp. 4970–4979. PMLR, 2019. ",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
173,
|
| 1473 |
+
814,
|
| 1474 |
+
826,
|
| 1475 |
+
858
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 10
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Aahlad Manas Puli, Lily H Zhang, Eric Karl Oermann, and Rajesh Ranganath. Out-of-distribution generalization in the presence of nuisance-induced spurious correlations. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id= 12RoR2o32T. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
174,
|
| 1484 |
+
867,
|
| 1485 |
+
825,
|
| 1486 |
+
922
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 10
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "Alexandre Rame and Matthieu Cord. Dice: Diversity in deep ensembles via conditional redundancy adversarial estimation. arXiv preprint arXiv:2101.05544, 2021. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
171,
|
| 1495 |
+
103,
|
| 1496 |
+
825,
|
| 1497 |
+
132
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 11
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Andrew Slavin Ross, Michael C Hughes, and Finale Doshi-Velez. Right for the right reasons: Training differentiable models by constraining their explanations. arXiv preprint arXiv:1703.03717, 2017. ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
173,
|
| 1506 |
+
140,
|
| 1507 |
+
825,
|
| 1508 |
+
171
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 11
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Andrew Slavin Ross, Weiwei Pan, and Finale Doshi-Velez. Learning qualitatively diverse and interpretable rules for classification. arXiv preprint arXiv:1806.08716, 2018. ",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
171,
|
| 1517 |
+
178,
|
| 1518 |
+
823,
|
| 1519 |
+
208
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 11
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019. ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
174,
|
| 1528 |
+
215,
|
| 1529 |
+
823,
|
| 1530 |
+
260
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 11
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"text": "Robert E Schapire. The strength of weak learnability. Machine learning, 5(2):197–227, 1990. ",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
173,
|
| 1539 |
+
267,
|
| 1540 |
+
789,
|
| 1541 |
+
284
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 11
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "Bernhard Scholkopf, Francesco Locatello, Stefan Bauer, Nan Rosemary Ke, Nal Kalchbrenner, ¨ Anirudh Goyal, and Yoshua Bengio. Towards causal representation learning. arXiv preprint arXiv:2102.11107, 2021. ",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
174,
|
| 1550 |
+
291,
|
| 1551 |
+
825,
|
| 1552 |
+
335
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 11
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, and Praneeth Netrapalli. The pitfalls of simplicity bias in neural networks. Advances in Neural Information Processing Systems, 33:9573–9585, 2020. ",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
171,
|
| 1561 |
+
343,
|
| 1562 |
+
825,
|
| 1563 |
+
386
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 11
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "text",
|
| 1569 |
+
"text": "Rui Shu, Yining Chen, Abhishek Kumar, Stefano Ermon, and Ben Poole. Weakly supervised disentanglement with guarantees. arXiv preprint arXiv:1910.09772, 2019. ",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
171,
|
| 1572 |
+
395,
|
| 1573 |
+
823,
|
| 1574 |
+
425
|
| 1575 |
+
],
|
| 1576 |
+
"page_idx": 11
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"type": "text",
|
| 1580 |
+
"text": "Samarth Sinha, Homanga Bharadhwaj, Anirudh Goyal, Hugo Larochelle, Animesh Garg, and Florian Shkurti. Diversity inducing information bottleneck in model ensembles. arXiv preprint arXiv:2003.04514, 2020. ",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
173,
|
| 1583 |
+
433,
|
| 1584 |
+
825,
|
| 1585 |
+
476
|
| 1586 |
+
],
|
| 1587 |
+
"page_idx": 11
|
| 1588 |
+
},
|
| 1589 |
+
{
|
| 1590 |
+
"type": "text",
|
| 1591 |
+
"text": "Damien Teney, Ehsan Abbasnedjad, and Anton van den Hengel. Learning what makes a difference from counterfactual examples and gradient supervision. In European Conference on Computer Vision, pp. 580–599. Springer, 2020. ",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
174,
|
| 1594 |
+
484,
|
| 1595 |
+
826,
|
| 1596 |
+
527
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 11
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "text",
|
| 1602 |
+
"text": "Damien Teney, Ehsan Abbasnejad, Simon Lucey, and Anton van den Hengel. Evading the simplicity bias: Training a diverse set of models discovers solutions with superior ood generalization. arXiv preprint arXiv:2105.05612, 2021. ",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
173,
|
| 1605 |
+
535,
|
| 1606 |
+
826,
|
| 1607 |
+
579
|
| 1608 |
+
],
|
| 1609 |
+
"page_idx": 11
|
| 1610 |
+
},
|
| 1611 |
+
{
|
| 1612 |
+
"type": "text",
|
| 1613 |
+
"text": "Antonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In CVPR 2011, pp. 1521–1528. IEEE, 2011. ",
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
174,
|
| 1616 |
+
587,
|
| 1617 |
+
823,
|
| 1618 |
+
617
|
| 1619 |
+
],
|
| 1620 |
+
"page_idx": 11
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"type": "text",
|
| 1624 |
+
"text": "Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech-ucsd birds-200-2011 dataset. 2011. ",
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
174,
|
| 1627 |
+
625,
|
| 1628 |
+
825,
|
| 1629 |
+
655
|
| 1630 |
+
],
|
| 1631 |
+
"page_idx": 11
|
| 1632 |
+
},
|
| 1633 |
+
{
|
| 1634 |
+
"type": "text",
|
| 1635 |
+
"text": "Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. ",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
173,
|
| 1638 |
+
662,
|
| 1639 |
+
825,
|
| 1640 |
+
693
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 11
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"type": "text",
|
| 1646 |
+
"text": "Kai Xiao, Logan Engstrom, Andrew Ilyas, and Aleksander Madry. Noise or signal: The role of image backgrounds in object recognition. arXiv preprint arXiv:2006.09994, 2020. ",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
173,
|
| 1649 |
+
700,
|
| 1650 |
+
823,
|
| 1651 |
+
731
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 11
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "text",
|
| 1657 |
+
"text": "Yilun Xu, Hao He, Tianxiao Shen, and Tommi S Jaakkola. Controlling directions orthogonal to a classifier. In International Conference on Learning Representations, 2021. ",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
169,
|
| 1660 |
+
738,
|
| 1661 |
+
823,
|
| 1662 |
+
768
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 11
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "John R Zech, Marcus A Badgeley, Manway Liu, Anthony B Costa, Joseph J Titano, and Eric Karl Oermann. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS medicine, 15(11):e1002683, 2018. ",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
174,
|
| 1671 |
+
776,
|
| 1672 |
+
823,
|
| 1673 |
+
820
|
| 1674 |
+
],
|
| 1675 |
+
"page_idx": 11
|
| 1676 |
+
},
|
| 1677 |
+
{
|
| 1678 |
+
"type": "text",
|
| 1679 |
+
"text": "Dinghuai Zhang, Kartik Ahuja, Yilun Xu, Yisen Wang, and Aaron Courville. Can subnetwork structure be the key to out-of-distribution generalization? In International Conference on Machine Learning, pp. 12356–12367. PMLR, 2021. ",
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
173,
|
| 1682 |
+
828,
|
| 1683 |
+
825,
|
| 1684 |
+
871
|
| 1685 |
+
],
|
| 1686 |
+
"page_idx": 11
|
| 1687 |
+
},
|
| 1688 |
+
{
|
| 1689 |
+
"type": "text",
|
| 1690 |
+
"text": "Michael Zhang, Nimit S Sohoni, Hongyang R Zhang, Chelsea Finn, and Christopher Re. Correct-n- ´ contrast: A contrastive approach for improving robustness to spurious correlations. arXiv preprint arXiv:2203.01517, 2022. ",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
173,
|
| 1693 |
+
880,
|
| 1694 |
+
823,
|
| 1695 |
+
921
|
| 1696 |
+
],
|
| 1697 |
+
"page_idx": 11
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"type": "text",
|
| 1701 |
+
"text": "A EXPERIMENTAL DETAILS ",
|
| 1702 |
+
"text_level": 1,
|
| 1703 |
+
"bbox": [
|
| 1704 |
+
178,
|
| 1705 |
+
102,
|
| 1706 |
+
421,
|
| 1707 |
+
118
|
| 1708 |
+
],
|
| 1709 |
+
"page_idx": 12
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"type": "text",
|
| 1713 |
+
"text": "Architecture and Training Details For ColoredMNIST, we use a CNN as the classifier, containing two convolutional layers and two fully-connected layers. Adam (Kingma & Ba, 2014) is used for optimization, with a learning rate of 0.001. For CelebA, Waterbirds, and MF-Dominoes, we use a ResNet-50 (He et al., 2016). SGD is used for optimization, with a learning rate of 0.001, momentum decay of 0.9, and weight decay of 0.001. Additionally, following previous work (e.g. Sagawa et al., 2019; Liu et al., 2021), the Waterbirds model is pre-trained on ImageNet (Deng et al., 2009) and includes data augmentation in the form of random horizontal flips and random resized cropping. For CelebA and Waterbirds, class reweighting is performed to ensure that there are roughly equal positive and negative labels. The random seed used for all experiments is 13. ",
|
| 1714 |
+
"bbox": [
|
| 1715 |
+
174,
|
| 1716 |
+
133,
|
| 1717 |
+
826,
|
| 1718 |
+
258
|
| 1719 |
+
],
|
| 1720 |
+
"page_idx": 12
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "text",
|
| 1724 |
+
"text": "Hyperparameters for CoDE and Baselines CoDE. For all four datasets, we used $M = 2$ as the ensemble size, besides ablations for $M$ as detailed in Appendix B. The results in Table 3 were achieved with sequential training for ColoredMNIST and with joint training for the other three datasets. For ColoredMNIST, $\\lambda _ { 1 } = 1 2 0 0$ and $\\lambda _ { 2 } = 1 0$ . For CelebA, $\\lambda _ { 1 } = 5 0 0$ and $\\lambda _ { 2 } = 0 . 1$ . For Waterbirds, $\\lambda _ { 1 } = 5 0 0$ and $\\lambda _ { 2 } = 0 . 1$ . For MF-Dominoes, $\\lambda _ { 1 } = 3 0 0$ and $\\lambda _ { 2 } = 0 . 1$ . JTT. We performed a hyperparameter sweep with $T \\in \\{ 1 , 5 , 1 0 \\}$ (number of epochs for initial model training) and $\\alpha \\in \\{ 2 , 1 0 , 1 0 0 \\}$ (upweighting factor for mis-classified examples). Orthogonal Ensembles. All classifiers share the same feature extractor (i.e. convolutional output for ColoredMNIST and ResNet-50 feature representation for the other three datasets). We experimented with different values of $M$ , however, values of $M$ above 16 (for ColoredMNIST) and above 4 (for the other three datasets) were prohitibively expensive. As such, we did not try $M = 4 8$ or $M = 9 6$ as used by Teney et al. (2021). For these smaller values of $M$ that we tried, we did not notice an improvement from the ERM model. Besides ColoredMNIST, we did not report these results. ",
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
174,
|
| 1727 |
+
272,
|
| 1728 |
+
825,
|
| 1729 |
+
453
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 12
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "B MODEL MIS-SPECIFICATION: POTENTIAL FAILURE MODES",
|
| 1736 |
+
"text_level": 1,
|
| 1737 |
+
"bbox": [
|
| 1738 |
+
176,
|
| 1739 |
+
473,
|
| 1740 |
+
699,
|
| 1741 |
+
489
|
| 1742 |
+
],
|
| 1743 |
+
"page_idx": 12
|
| 1744 |
+
},
|
| 1745 |
+
{
|
| 1746 |
+
"type": "text",
|
| 1747 |
+
"text": "The success of any method tackling distribution shifts depends on how well the assumptions made have been upheld. We discuss the potential implications when the model is mis-specified and these assumptions are no longer valid. ",
|
| 1748 |
+
"bbox": [
|
| 1749 |
+
178,
|
| 1750 |
+
503,
|
| 1751 |
+
823,
|
| 1752 |
+
546
|
| 1753 |
+
],
|
| 1754 |
+
"page_idx": 12
|
| 1755 |
+
},
|
| 1756 |
+
{
|
| 1757 |
+
"type": "text",
|
| 1758 |
+
"text": "Conditional Dependence CoDE relies on the assumption that predictive signals are conditionally independent. We using the synthetic ColoredMNIST dataset to generate a DGP where such an assumption does not hold true. Instead of the standard setup where color labels are generated from the true labels, we generate color labels from the original (binarized) MNIST labels instead, at the same noise level $p _ { c } = 0 . 1$ . This means that the color and digit signals are now highly correlated. Both are still predictive since the true labels themselves were generated from MNIST labels. ",
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
174,
|
| 1761 |
+
560,
|
| 1762 |
+
825,
|
| 1763 |
+
643
|
| 1764 |
+
],
|
| 1765 |
+
"page_idx": 12
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"type": "text",
|
| 1769 |
+
"text": "Table 4 shows the results of this experiment. As we expect, conditionally dependent features cannot be recovered by minimizing conditional mutual information. The ensemble either recovers one of the two features (when trained sequentially) or neither. This confirms our intuition that conditional independence must be correctly specified for CoDE to work. While these results demonstrate a failure mode of CoDE, conditional independence between predictive factors of interest does hold well in many natural image datasets, as shown in Table 3. ",
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
174,
|
| 1772 |
+
651,
|
| 1773 |
+
825,
|
| 1774 |
+
736
|
| 1775 |
+
],
|
| 1776 |
+
"page_idx": 12
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "text",
|
| 1780 |
+
"text": "Latent Mis-specification The size of the ensemble $M$ specifies how many predictive latent factors we believe generated the dataset. We can consider the mis-specification of $M$ in either direction: (i) if the true dimension of $\\mathbf { z }$ is smaller than $M$ , and (ii) if the true dimension of $\\mathbf { z }$ is larger than $M$ . ",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
174,
|
| 1783 |
+
750,
|
| 1784 |
+
825,
|
| 1785 |
+
791
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 12
|
| 1788 |
+
},
|
| 1789 |
+
{
|
| 1790 |
+
"type": "text",
|
| 1791 |
+
"text": "In case (i), since the number of conditional independent components has been over-specified, whether the ensemble has been jointly or sequentially trained makes a difference. Consider the results on the ColoredMNIST dataset in Table 2 again. In the sequential regime, the first two classifiers $f _ { 1 }$ and $f _ { 2 }$ correspond to the color and digit classifiers respectively, however, the subsequent few classifiers $f _ { 3 }$ and $f _ { 5 } ^ { } ,$ ) do not learn anything meaningful and perform poorly on both training and adversarial distributions. However, as noted in Section 5, this does not pose a serious problem since we can use validation data to naturally determine the stopping point. On the other hand, over-specification of $M$ is more worrying in the joint regime, as there is no guarantee that any of the true latent factors are learnt at all. As Table 2 shows, for $M = 3$ or 5, the best-performing classifier does not generalize. ",
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
173,
|
| 1794 |
+
797,
|
| 1795 |
+
825,
|
| 1796 |
+
924
|
| 1797 |
+
],
|
| 1798 |
+
"page_idx": 12
|
| 1799 |
+
},
|
| 1800 |
+
{
|
| 1801 |
+
"type": "table",
|
| 1802 |
+
"img_path": "images/fe195a4203196cb5e84fe532c6c5ade0e727c287130f1766eba073b330595b34.jpg",
|
| 1803 |
+
"table_caption": [
|
| 1804 |
+
"Table 4: Results on ColoredMNIST with color-digit conditional dependence, on both joint and sequential training with $M = 2$ classifiers. When trained sequentially, the first classifier $f _ { 1 }$ learns the digit correlation since digit is most predictive in this setup. However, as color is no longer conditionally independent of digit, there is no predictive feature that can be learnt by the second classifier $f _ { 2 }$ , resulting in a close-to-random predictor. When trained jointly, neither of the classifiers correspond to the color or digit feature. "
|
| 1805 |
+
],
|
| 1806 |
+
"table_footnote": [],
|
| 1807 |
+
"table_body": "<table><tr><td>(pd,Pc)</td><td>Training (0.25, 0.1)</td><td>Adversarial (0.25, 0.9)</td><td>Random-Color (0.25, 0.5)</td><td>Perfect-Digit (0.0, 0.5)</td></tr><tr><td>CoDE (sequential f1)</td><td>77.1</td><td>63.2</td><td>70.6</td><td>90.5</td></tr><tr><td>CoDE (sequential f2)</td><td>53.6</td><td>50.1</td><td>51.5</td><td>54.5</td></tr><tr><td>CoDE (joint f1)</td><td>84.9</td><td>25.8</td><td>56.0</td><td>60.4</td></tr><tr><td>CoDE (joint f2)</td><td>54.3</td><td>73.0</td><td>64.4</td><td>77.5</td></tr></table>",
|
| 1808 |
+
"bbox": [
|
| 1809 |
+
200,
|
| 1810 |
+
101,
|
| 1811 |
+
795,
|
| 1812 |
+
208
|
| 1813 |
+
],
|
| 1814 |
+
"page_idx": 13
|
| 1815 |
+
},
|
| 1816 |
+
{
|
| 1817 |
+
"type": "text",
|
| 1818 |
+
"text": "In case (ii), where the number of conditional independent components is under-specified, the learnt ensemble may correspond to any subset of the true latent factors and individual classifiers could also learn arbitrary combinations of the latent factors. For example, the trivial case where $M = 1$ is underspecified simply returns the ERM model. In general, since $M$ is a hyperparameter, latent mis-specification does not pose a serious problem as we can tune its value using the validation data. ",
|
| 1819 |
+
"bbox": [
|
| 1820 |
+
174,
|
| 1821 |
+
333,
|
| 1822 |
+
825,
|
| 1823 |
+
405
|
| 1824 |
+
],
|
| 1825 |
+
"page_idx": 13
|
| 1826 |
+
}
|
| 1827 |
+
]
|
parse/dev/17RDXeF-skZ/17RDXeF-skZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/17RDXeF-skZ/17RDXeF-skZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CAMEL: Communicative Agents for “Mind” Exploration of Large Language Model Society
|
| 2 |
+
|
| 3 |
+
https://www.camel-ai.org
|
| 4 |
+
|
| 5 |
+
# Guohao Li⇤ Hasan Abed Al Kader Hammoud
|
| 6 |
+
|
| 7 |
+
Hani Itani\* Dmitrii Khizbullin
|
| 8 |
+
|
| 9 |
+
# Bernard Ghanem
|
| 10 |
+
|
| 11 |
+
King Abdullah University of Science and Technology (KAUST)
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
The rapid advancement of chat-based language models has led to remarkable progress in complex task-solving. However, their success heavily relies on human input to guide the conversation, which can be challenging and time-consuming. This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents, and provides insight into their “cognitive” processes. To address the challenges of achieving autonomous cooperation, we propose a novel communicative agent framework named roleplaying . Our approach involves using inception prompting to guide chat agents toward task completion while maintaining consistency with human intentions. We showcase how role-playing can be used to generate conversational data for studying the behaviors and capabilities of a society of agents, providing a valuable resource for investigating conversational language models. In particular, we conduct comprehensive studies on instruction-following cooperation in multi-agent settings. Our contributions include introducing a novel communicative agent framework, offering a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems, and open-sourcing our library to support research on communicative agents and beyond: https://github.com/camel-ai/camel.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
“What magical trick makes us intelligent? The trick is that there is no trick. The power of intelligence stems from our vast diversity, not from any single, perfect principle.”
|
| 20 |
+
|
| 21 |
+
- Marvin Minsky, The Society of Mind, p. 308
|
| 22 |
+
|
| 23 |
+
Confronted with the complexities of real-world tasks, solving them often requires multiple steps. The rapid progress of chat-based large-scale language models (LLMs) has yielded remarkable achievements in complex task-solving [82, 84, 116, 89, 5, 10, 122, 13]. Nevertheless, it is worth noting that their success is heavily reliant on human input to guide the conversation in the right direction. This reliance necessitates users to provide relevant and precise prompts based on their intentions and the chat agent’s feedback. This can be challenging, time-consuming, and sometimes impossible. Crafting effective prompts often demands a deep understanding and expertise of a particular domain of knowledge. Consider an individual who lacks trading expertise; they would find it difficult to create suitable prompts for directing a chat agent to develop a trading application. This predicament is raising a crucial question: can we replace human intervention with an autonomous communicative agent capable of steering the conversation toward task completion with minimal human supervision? To tackle this issue, it is crucial to conduct more research exploring the potential, capabilities, and limitations of communicative agents that operate entirely on their own to complete tasks. Understanding how multiple agents interact with each other is important for anticipating the future of artificial intelligence. The dynamics of collaborating or competing agents play a key role in determining the success of AI systems [6, 26, 27, 84, 99, 9, 10].
|
| 24 |
+
|
| 25 |
+
This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents and provide insight into their “cognitive” processes. Several challenges arise when asking a society of agents to autonomously cooperate on completing tasks. Examples we encountered in our preliminary analysis include role flipping, assistant repeating instructions, flake replies, and infinite loop of messages. Therefore, it is critical to investigate ways to align these models with human intentions and to explore means enabling their effective cooperation. To address these issues, we propose a novel cooperative agent framework named role-playing to automate cooperation between communicative agents. Specifically, our proposed approach involves using role-playing with inception prompting to autonomously guide the communicative agents toward task completion. Only a preliminary idea is needed from human to guide the conversations toward complex task-solving.
|
| 26 |
+
|
| 27 |
+
Our library, which we make publicly available, provides modular functionality, and includes implementations of different agents, examples of well-crafted prompts, and data explorers. We hope our library serves as a ground for future research in various areas such as multi-agent systems, cooperative AI, game theory simulations, social analysis, AI ethics, AI alignment, and beyond. In addition, our role-playing method provides a highly scalable way to generate conversational data for studying the behaviors and capabilities of chat agents. We showcase how role-playing can be used to let chat agents communicate with each other for task completion and record their conversations for behavior analysis and capability understanding. In particular, we consider two cooperative scenarios of role-playing and generate two large conversational, task-oriented, and instruction-following datasets: AI Society and Code. We also use our framework to collect two single-turn question-answer datasets, Math and Science, for LLM ability emergence study. Furthermore, we generate a Misalignment dataset that is a simulation of possible malicious applications which demonstrate the potential risks of an unaligned autonomous agent system. The datasets offer a valuable resource for investigating conversational language models, enabling them to comprehend and react to human language more effectively. Furthermore, our role-playing offers a scalable method of creating conversational instruction-following data, which can potentially enhance the development of more advanced language models. We show that solutions derived from our role-playing framework outperform those generated in a single shot by gpt-3.5-turbo [82] in both GPT4 and human evaluations. We also study knowledge emergence in LLMs by fine-tuning LLaMA [117] on progressively growing datasets generated through our framework. Additionally, we evaluate our code generation capabilities through benchmarking our final model on HumanEval [18] and HumanEval+ [69].
|
| 28 |
+
|
| 29 |
+
Contributions. Our contributions are fourfold: (1) We introduce a novel cooperative agent framework, role-playing , that allows communicative agents to collaborate autonomously toward completing tasks while requiring minimal human intervention; (2) Our framework offers a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems. It illuminates the challenges of achieving autonomous cooperation, and provides strategies for addressing them. We showcase the potential power of multi-agent collaboration for complex-task solving; (3) We demonstrate the significant emergence of LLM training abilities by utilizing the datasets we have collected from simulating four distinct agent collaboration scenarios; (4) We have open-sourced our library, containing implementations of various agents, data generation pipelines, data analysis tools, and collected datasets, to support research on communicative agents and beyond.
|
| 30 |
+
|
| 31 |
+
# 2 Related Work
|
| 32 |
+
|
| 33 |
+
Communicative Agents. Communication between agents has been studied for a long time [76, 77]. There are many ways to facilitate communication between agents, and with agents [29, 90, 97]. Among these, natural language is considered the most natural form of communication [97]. By enabling agents to function as communicators themselves, they become capable of solving complex tasks [113, 85, 72, 3, 30, 111, 79, 41, 28, 102, 80, 106, 35, 49, 2, 51, 1, 55, 50, 65, 92]. Communication between AI agents can occur in a competitive setting [115, 108] or a cooperative setting [40, 27, 11, 137, 70]. Cooperative AI refers to artificial intelligence systems that are designed to work together with humans and other AI systems to achieve common goals [24, 125]. Cooperative AI systems take into account the needs and capabilities of other agents in the system and actively seek to collaborate and coordinate their actions with them, which has many potential benefits, including increased efficiency, improved decision-making, and the ability to tackle complex problems that are beyond the reach of any single agent. However, designing effective cooperative AI systems is still an active area of research, as it requires addressing a range of technical, ethical, and social challenges [27]. Our work enables communicative agents to engage in a conversation and cooperate with each other to solve assigned tasks. The agents, each assigned a distinct role, are expected to apply their expertise and knowledge to solve their common task.
|
| 34 |
+
|
| 35 |
+
Instructional LLMs and Prompt Engineering. LLMs are trained on diverse text data and excel in text completion, with various downstream NLP applications [12, 22, 47, 131, 117]. However, InstructGPT suggests that LLMs may not align with user intent, proposing reinforcement learning from human feedback (RLHF) [23] and Instruction Fine-Tuning (IFT) [121] to improve LLMs’ relevance and appropriateness to user instructions. Special types of instruction or prompting methods , such as Chain-of-Thought (CoT) [123], zero-shot-CoT [61], and ReAct [126], have recently been developed to enhance the performance of LLMs on reasoning, arithmetic and decision making tasks [134, 118, 52, 73, 31, 103, 43, 64, 132, 46, 133, 105, 128, 25, 81, 109]. These techniques underpin the impressive capabilities of recent dialogue LLMs [106, 116, 36, 9, 82, 13], which aim to simulate human-like conversations and provide personalized and interactive experiences for users, exhibiting the behavior of conversational AI agents [33]. However, generating instruction datasets is a crucial challenge in building instruct-based LLMs, with existing datasets ranging from crowdsourced to generated. Hand-crafted instruction instances are available in [120], while leveraging previously crowdsourced NLP datasets is a less labor-intensive curation approach [121, 71, 78, 53]. LLMs have been explored for data generation in [101, 63, 68, 114], and Self-Instruct [119] proposes a semi-automated process for instruction instance generation. Unnatural-Instruction [48] collects instruction instances by prompting a language model with only three seed examples and paraphrasing the generated instances to expand the dataset. There is also a large chunk of work that has proposed methods for automatic dataset creation [67, 57, 19, 75, 20, 98, 59, 96, 129, 62, 130, 86, 8]. Another important challenge is prompt engineering. The quality of the prompt used to guide LLMs significantly affects its performance [91, 12, 66]. While LMs pre-trained on large data can implicitly learn tasks with few-shot prompting, hand-crafted prompts may not always suffice. Automated prompt generation methods have been proposed, such as gradient-guided search [104], mining-based and paraphrasing-based techniques [54], a meta-prompt [93], and automatic instruction selection and generation [136]. In this work, we introduce a conversational LLM auto-prompting method called Inception Prompting, which enables agents to prompt each other to solve tasks through Role-Playing. The AI user continuously provides instructions to the AI assistant for task-solving. This enables us to save the streaming instruction-solution pairs and create diverse, instructional, conversational, and task-oriented datasets. These datasets can be used to analyze the behavior and capabilities of LLMs and for future research for fine-tuning LLMs with conversational instructions.
|
| 36 |
+
|
| 37 |
+
AI Alignment. AI alignment is a field that aims to ensure that AI systems adhere to their intended goals, interests, and values, as envisioned by their designers [4, 39, 110, 32, 38, 74, 10]. The first attempt at AI alignment was made through the "Three Laws of Robotics," which was introduced by Isaac Asimov in his science fiction stories [6]. Developing aligned AI systems is crucial for achieving desired objectives while avoiding unintended consequences. Research in AI alignment focuses on discouraging AI models from producing false, offensive, deceptive, or manipulative information that could result in various harms [56, 112, 42, 37]. Achieving a high level of alignment requires researchers to grapple with complex ethical, philosophical, and technical issues. We conduct extensive experiments to study different role-playing situations, which probe the alignment of LLMs.
|
| 38 |
+
|
| 39 |
+
# 3 Methodology
|
| 40 |
+
|
| 41 |
+
In this paper, we focus on studying communicative agents under cooperative settings where they share common interests. In particular, we study the assistant-user scenario, where a preliminary idea is given at the start. Agents will conceptualize the idea into a specific task and complete it autonomously through conversations.
|
| 42 |
+
|
| 43 |
+
# 3.1 Role-playing Framework
|
| 44 |
+
|
| 45 |
+
“What’s the most resilient parasite? An Idea. A single idea from the human mind can build cities. An idea can transform the world and rewrite all the rules. Which is why I have to steal it.”
|
| 46 |
+
|
| 47 |
+
- Dom Cobb, Inception
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
Figure 1: CAMEL Role-Playing Framework. Our role-playing setup starts with the human user having an idea they want to implement, e.g. develop a trading bot for the stock market. The roles involved in this task would be an AI assistant agent who is a python programmer and an AI user agent who is a stock trader. The task is made more specific using our task specifier agent, leading to a well-defined task for the assistant to solve. Both AI user and AI assistant are provided with the specified task, after which they collaboratively communicate by chatting with each other in an instruction-following fashion to solve the specified task.
|
| 51 |
+
|
| 52 |
+
Our proposed framework is a novel role-playing approach for studying multiple communicative agents. Specifically, we concentrate on task-oriented role-playing that involves one AI assistant and one AI user. After the multi-agent system receives a preliminary idea and the role assignment from human users, a task-specifier agent will provide a detailed description to make the idea specific. Afterwards, the AI assistant and AI user will cooperate on completing the specified task through multi-turn conversations until the AI user determines the task is done. The AI user is responsible for giving instructions to the AI assistant and directing the conversation toward task completion. On the other hand, the AI assistant is designed to follow the instructions from the AI user and respond with specific solutions. The whole role-playing framework is depicted in Figure 1.
|
| 53 |
+
|
| 54 |
+
Human Input and Task Specifying. The role-playing session will be instantiated from an idea and selected roles by humans. As an example in Figure 1, a human has a preliminary idea to develop a trading bot for the stock market. Humans may or may not have the knowledge about how the idea can be realized. What is needed is only to designate the potential roles that can implement the idea. For instance, a Python Programmer could collaborate with a Stock Trader to realize the idea of developing a trading bot for the stock market. After the idea and roles are determined, the task specifier agent will brainstorm a specific task that the AI Assistant role can help with the AI user role to complete based on the input idea. An example of a specified task in this scenario could be: develop a trading bot with a sentiment analysis tool that can monitor social media platforms for positive or negative comments about a particular stock, and execute trades based on sentiment analysis results. The main motivation for introducing a task specifier is that conversational agents usually require a concrete task prompt for realizing the task which might be challenging or time-consuming for a non-domain expert. Therefore, the task specifier agent serves as an enhanced imagination module for the idea implementation. Please note that, when studying our framework at a large scale for AI society and Code scenarios, we generate roles and ideas automatically by prompting LLMs instead of relying on human inputs. For our generated Math and Science datasets we generated problem topics, subtopics, and problems automatically by prompting LLMs.
|
| 55 |
+
|
| 56 |
+
AI Assistant-User Role Assignment. After the task specification, The AI assistant role and the AI user role will be assigned to the user agent and the assistant agent correspondingly to complete the specified task. In practice, a system message is passed to each agent declaring their role. We refer to the assistant system prompt/message by $\mathcal { P } _ { A }$ and that of the user by $\mathcal { P } _ { \mathcal { U } }$ . The system messages are passed to the agents before the conversations start. Let $\mathcal { F } _ { 1 }$ and $\mathcal { F } _ { 2 }$ denote two large-scale autoregressive language models [82]. When the system message is passed to those models respectively, we obtain $\mathcal { A } \mathcal { F } _ { 1 } ^ { \mathcal { P } _ { A } }$ and $\mathcal { U } \mathcal { F } _ { 2 } ^ { \mathcal { P } _ { \mathcal { U } } }$ which are referred to as the assistant and user agents respectively. In Figure 1, the AI assistant and the AI user are assigned the roles of a Python Programmer and a Stock Trader at the beginning of the role-playing session respectively. The AI user serves as a task planner, engaging in interactive planning to determine feasible steps for the AI assistant to execute. Meanwhile, the AI assistant acts as a task executor, offering solutions, executing planned steps, and providing responses to the AI user.
|
| 57 |
+
|
| 58 |
+
Conversation Towards Task-Solving. After the role assignment is completed, the AI assistant $\mathcal { A }$ and AI user $\mathcal { U }$ will collaborate in an instruction-following manner to accomplish the task. In the AI assistant-user scenario, the AI user is responsible for providing instructions, and the assistant is expected to respond with a solution that fulfills the instructions. Formally, we denote the user instruction message obtained at time $t$ by $\mathcal { T } _ { t }$ and the assistant solution by $S _ { t }$ . The set of conversational messages obtained up until time $t$ is denoted by Equation (1) shown below:
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\mathcal { M } _ { t } = \{ ( \mathbb { Z } _ { 0 } , S _ { 0 } ) , . . . , ( \mathbb { Z } _ { t } , S _ { t } ) \} = \{ ( \mathbb { Z } _ { i } , S _ { i } ) \} | _ { i = 0 } ^ { t }
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
At the next time step, $t + 1$ , the AI user $\mathcal { U }$ takes the historical conversation message set $\mathcal { M } _ { t }$ and provides a new instruction $\mathcal { T } _ { t + 1 }$ , as shown in Equation (2). The produced instruction message $\mathcal { T } _ { t + 1 }$ is then passed, along with message set $\mathcal { M } _ { t }$ , to the AI assistant $\mathcal { A }$ . The AI assistant will then respond with a solution, denoted by $\boldsymbol { S } _ { t + 1 }$ in Equation (3):
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\mathcal { T } _ { t + 1 } = \mathcal { U } ( \mathcal { M } t ) \qquad ( 2 ) \qquad \mathcal { S } t + 1 = \mathcal { A } ( \mathcal { M } t , \mathcal { I } t + 1 )
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
After obtaining the solution $\boldsymbol { S } _ { t + 1 }$ to the instruction $\mathcal { T } _ { t + 1 }$ , the message set is updated using Equation (4) to obtain $\mathcal { M } _ { t + 1 }$ :
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\mathcal { M } _ { t + 1 } \mathcal { M } _ { t } \cup ( \mathcal { T } _ { t + 1 } , S _ { t + 1 } )
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
Note that the formulation above not only models AI-AI communicative scenarios, but it can also be easily extended to model human-AI communication or communication between more than two agents. Specifically, we can use message-passing graphs to model communication between an arbitrary number of agents. In Figure 1, we observe that the AI user initiates the installation and import of essential Python libraries for sentiment analysis and stock trading by instructing the AI assistant through conversations. This example is drawn from our experiments, and the entire conversation is available in the Appendix.
|
| 77 |
+
|
| 78 |
+
Critic-In-The-Loop. To enhance the controllability of the role-playing framework, we introduce a critic agent capable of selecting proposals from or providing feedback to the role-playing agents. This enables tree-search-like decision-making for task-solving. In practice, the critic can be either an AI agent or a human. The detailed implementation and case studies can be found in the Appendix.
|
| 79 |
+
|
| 80 |
+
# 3.2 Inception Prompting
|
| 81 |
+
|
| 82 |
+
Since prompt engineering is crucial to our role-playing framework, this section delves deeply into our prompting techniques. Our prompt engineering occurs solely at the beginning of role-playing, for task specification and role assignment. Once the conversation phase commences, the AI assistant and AI user prompt each other automatically in a loop until termination. As such, we refer to our technique as Inception Prompting. Our Inception prompt consists of three prompts: the task specifier prompt $\mathcal { P } _ { T }$ , the assistant system prompt $\mathcal { P } _ { A }$ , and the user system prompt $\mathcal { P } _ { \mathcal { U } }$ . As an example, we consider the inception prompt of the $A I$ Society scenario. The templates for these prompts of $A I$ Society role-playing are shown in Figure 2. The task specifier prompt contains information about the roles of the AI assistant and AI user in the role-playing session. Therefore, the task specifier agent can take a preliminary task/idea as input and generate a specific task using imagination. The AI assistant system prompt $\mathcal { P } _ { A }$ and the AI user system prompt $\mathcal { P } _ { \mathcal { U } }$ are mostly symmetrical and include information about the assigned task and roles, communication protocols, termination conditions, and constraints or requirements to avoid unwanted behaviors. The prompt designs for both roles are crucial to achieve autonomous cooperation between agents. It is non-trivial to engineer prompts that ensure agents act in alignment with our intentions. We take the prompt templates from the AI Society in Figure 2 as an example to explain our key design choices. The prompts used for the Code scenario follow a similar sprint as the AI society scenario, but with some additional engineering related to programming languages. More details in the Appendix.
|
| 83 |
+
|
| 84 |
+
# AI Society Inception Prompt
|
| 85 |
+
|
| 86 |
+
# Task Specifier Prompt:
|
| 87 |
+
|
| 88 |
+
Here is a task that <ASSISTANT_ROLE> will help <USER_ROLE> to complete: <TASK>.
|
| 89 |
+
Please make it more specific. Be creative and imaginative.
|
| 90 |
+
Please reply with the specified task in <WORD_LIMIT> words or less. Do not add anything else.
|
| 91 |
+
|
| 92 |
+
# Assistant System Prompt:
|
| 93 |
+
|
| 94 |
+
# User System Prompt:
|
| 95 |
+
|
| 96 |
+
Never forget you are a <USER_ROLE> and I am a <ASSISTANT_ROLE>. Never flip roles! You will always instruct me.
|
| 97 |
+
We share a common interest in collaborating to successfully complete a task.
|
| 98 |
+
I must help you to complete the task.
|
| 99 |
+
Here is the task: <TASK>. Never forget our task!
|
| 100 |
+
You must instruct me based on my expertise and your needs to complete the task ONLY in the following two ways:
|
| 101 |
+
|
| 102 |
+
Prompt Engineering. To delve deeper into the details in Figure 2, we start by chunking the various parts of the AI assistant system prompt $\mathcal { P } _ { A }$ shown below:
|
| 103 |
+
|
| 104 |
+
• Never forget you are a <ASSISTANT_ROLE> and I am a <USER_ROLE>. This assigns the chosen role to the assistant agent and provides it with information about the user’s role. • Never flip roles! Never instruct me! This prevents agents from flipping roles. In some cases, we have observed the assistant and the user switching roles, where the assistant suddenly takes control and instructs the user, and the user follows those instructions. • You must decline my instruction honestly if you cannot perform the instruction due to physical, moral, legal reasons or your capability and explain the reasons. This prohibits the agent from producing harmful, false, illegal, and misleading information. • Unless I say the task is completed, you should always start with: Solution: <YOUR_SOLUTION>. <YOUR_SOLUTION> should be specific, and provide preferable implementations and examples for task-solving. This encourages the assistant always responds in a consistent format, avoiding any deviation from the structure of the conversation, and preventing vague or incomplete responses, which we refer to as flake responses, such as ${ } " \mathrm { I }$ will do something".
|
| 105 |
+
|
| 106 |
+
• Always end your solution with: Next request. This ensures that the assistant keeps the conversation going by requesting a new instruction to solve.
|
| 107 |
+
|
| 108 |
+
For the AI user system prompt $\mathcal { P } _ { \mathcal { U } }$ , we strive to maintain as much symmetry as possible with respect to the AI assistant system prompt. Apart from the opposite role assignment, the user system prompt differs from the assistant prompt in the following ways:
|
| 109 |
+
|
| 110 |
+
• You must instruct me ... to complete the task ONLY in the following two ways: 1. Instruct with a necessary input: ...; 2. Instruct without any input: ... This follows the typical data structure of instruction-following, which allows the generated instruction-solution pairs to be easily used for fine-tuning LLMs. • Keep giving me instructions and necessary inputs until you think the task is completed. When the task is completed, you must only reply with a single word <CAMEL_TASK_DONE>. We introduce an end-of-task token, namely, <CAMEL_TASK_DONE>. This token is used once the user believes the task is done. This ensures that the chat is terminated when the user is satisfied. Without doing so, the agents might fall into a chatting loop where they keep on saying “thank you” to each other or “goodbye” indefinitely.
|
| 111 |
+
|
| 112 |
+
# 4 Experiments
|
| 113 |
+
|
| 114 |
+
In this section, we will discuss the various experiments that we conducted to arrive at our final design choices. Specifically, we will examine the interesting observations, challenging issues, and several examples we have encountered while enabling agents to communicate with each other under different prompt design choices to achieve autonomous cooperation. In our experiments, we employed two gpt-3.5-turbo agents, referred to as LLM agents for simplicity, with Inception Prompts, as described in Section 3.2, to simulate assistant-user cooperation. For our analysis, we set our attention on AI Society setting. We also gathered conversational data, named CAMEL AI Society and CAMEL Code datasets and problem-solution pairs data named CAMEL Math and CAMEL Science and analyzed and evaluated their quality. Moreover, we will discuss potential extensions of our framework and highlight both the risks and opportunities that future AI society might present.
|
| 115 |
+
|
| 116 |
+
# Data Generation Prompts of AI Society
|
| 117 |
+
|
| 118 |
+
# AI Society
|
| 119 |
+
|
| 120 |
+
# Assistant Role Generation Prompt:
|
| 121 |
+
|
| 122 |
+
You are a helpful assistant that can play many different roles. Now please list <NUM_ROLES> different roles that you can play with your expertise in diverse fields. Sort them by alphabetical order. No explanation required.
|
| 123 |
+
|
| 124 |
+
# User Role Generation Prompt:
|
| 125 |
+
|
| 126 |
+
Please list <NUM_ROLES> most common and diverse groups of internet users or occupations. Use singular form. No explanation. Sort them by alphabetical order. No explanation required.
|
| 127 |
+
|
| 128 |
+
# Task Generation Prompt:
|
| 129 |
+
|
| 130 |
+
List <NUM_TASKS> diverse tasks that <ASSISTANT_ROLE> can assist <USER_ROLE> cooperatively to achieve together. Be concise. Be creative.
|
| 131 |
+
|
| 132 |
+
Figure 3: Data Generation Prompts. In order to maintain a scalable approach our data parameters are generated using an LLM model to reduce human involvement in the generation process. The generation prompts for both AI Society dataset are summarized in this figure.
|
| 133 |
+
|
| 134 |
+
# 4.1 Role-Playing for AI Society
|
| 135 |
+
|
| 136 |
+
To create our AI Society dataset, we have developed a scalable approach that follows a series of steps. Firstly, we prompt the LLM agent to generate possible roles for the assistant and the user. We achieve this by providing the LLM agent with specific prompts designed to elicit these roles. Next, we ask the LLM agent to generate a range of possible tasks that can be solved through collaboration between the assistant and user roles generated previously. After generating a range of possible tasks as described in the previous step, we then use the task specifier prompt passed to the LLM agent to make the task more specific. The prompts for assistant role generation, user role generation, and task generation are shown in Figure 5 (AI Society). For our AI society dataset, we generated 50 assistant roles, 50 user roles, and 10 tasks for each combination of roles yielding a total of 25,000 conversations. The generated assistant roles and user roles for AI Society as well as details about the generation of Code, Math and Science datasets can be found in the Appendix.
|
| 137 |
+
|
| 138 |
+
Challenges and Observations. In this section, we explore the four main challenges that we identified during our analysis of the generated datasets. Our observations shed light on some interesting aspects of cooperative AI and the difficulties that arise in its development.
|
| 139 |
+
|
| 140 |
+
• Role Flipping: One challenge we encountered was role flipping, where the assistant and user switch roles during the conversation. This issue typically arises when the assistant starts providing instructions or commands instead of following the user’s prompts, which can lead to confusion and a reversal of roles. To avoid role flipping, it is crucial for the assistant not to ask questions, as this can also contribute to the problem. • Assistant Repeats Instruction: Another challenge that we observed was the assistant simply repeating the user’s instructions without any role flipping occurring. • Flake Replies: We also observed instances where the assistant agent responds with a flake reply, often taking the form of "I will...". These messages do not contribute to the task at hand, as the assistant promises to take action but ultimately fails to follow through. • Infinite Loop of Messages: An interesting challenge that we encountered was when the assistant and user engage in an infinite loop of meaningless conversation, such as repeatedly thanking each other or saying goodbye without progressing the task. Interestingly, in some cases, the assistant and user are aware that they are stuck in a loop, but are unable to break out of it.
|
| 141 |
+
|
| 142 |
+
The Appendix shows examples of each of the four challenges discussed above. Overall, our observations highlight the complexity of cooperative AI development and the need for continued exploration and innovation to overcome the challenges we face. By identifying these issues, we hope to contribute to the development of more effective and engaging cooperative AI systems.
|
| 143 |
+
|
| 144 |
+
Termination Conditions. The conversation between the assistant and user agents is designed to follow a specific format to ensure consistent and accurate data generation. To ensure that both the user and assistant adhere to their respective roles and responsibilities, certain conditions have been set in place to terminate the chat if necessary. These conditions are outlined below:
|
| 145 |
+
|
| 146 |
+
User No Instruct: If the user does not instruct the assistant for 3 rounds, conversation is ended.
|
| 147 |
+
• Assistant Instruct: If the assistant provides an instruction to the user, it indicates a role reversal, and the conversation is terminated.
|
| 148 |
+
• End of Task Token: If the user believes that the task has been solved, they are expected to say <CAMEL_TASK_DONE> to signify the completion of the task. Once this message is received, the conversation is terminated.
|
| 149 |
+
Assistant&User Token Limit: Given that gpt-3.5-turbo has a limitation on the number of tokens, the conversation is terminated if either the assistant or the user reach the token limit.
|
| 150 |
+
• Maximum Number of Messages: To keep the cost of generated chats in check, we have set a maximum limit of 40 messages. This limit guarantees a long enough conversation between the user and assistant while also ensuring that the data generated is not too costly to produce. The cost grows quadratically with the length of the conversation, making it essential to set a limit.
|
| 151 |
+
|
| 152 |
+
# 5 Evaluation
|
| 153 |
+
|
| 154 |
+
# 5.1 Agent Evaluation
|
| 155 |
+
|
| 156 |
+
In order to assess the performance of CAMEL (Cooperative Role-playing Communication), we conduct two types of evaluations: (1) Human evaluation, and (2) GPT4 evaluation. We randomly select 100 tasks from our AI Society dataset for evaluation and 100 tasks from our Code dataset. Then, we employ the GPT4 model to summarize the content of the CAMEL conversation-based solution, presenting a consolidated final solution. Particularly, a GPT4 is used since it possesses a larger token limit which is suitable for summarization. Summarization also makes CAMEL agents’ solution undetectable by its format, allowing for a more fair comparison. Subsequently, this solution is compared with a single-shot solution generated by the gpt-3.5-turbo model for the same task. Sample tasks are provided in the Appendix.
|
| 157 |
+
|
| 158 |
+
Human Evaluation. For this evaluation, we present both the CAMEL summarized agent solution and the gpt-3.5-turbo single-shot solution side-by-side to human participants. The identity behind each solution is not revealed. Participants are then asked to vote on whether one solution is superior to the other or if they are equally good. A total of 453 responses were collected during this evaluation. Note that, human evaluation is only done for AI Society, as assessing code is generally harder for humans (without running the code).
|
| 159 |
+
|
| 160 |
+
GPT4 Evaluation. We engage a GPT4 agent to evaluate the effectiveness of Model 1 (CAMEL Agent solution) versus Model 2 (gpt-3.5-turbo single-shot solution) for each task. More specifically, we prompt GPT4 to score and decide which solution of the two solutions is better.
|
| 161 |
+
|
| 162 |
+
Results. The summarized results of each evaluation are outlined in Table 1 which showcases that the CAMEL solution outperforms gpt-3.5-turbo single-shot solution in both the human evaluation and the GPT4 evaluation by a big margin. It is also worth noting that both human evaluation and GPT4 evaluation are highly aligned.
|
| 163 |
+
|
| 164 |
+
Table 1: Agent Evaluation Results: Results of the evaluations of the CAMEL agent against gpt-3.5-turbo using both human evaluators and GPT4 consistently show that utilizing a multiagent cooperative approach is more effective than gpt $- 3 . 5$ -turbo’s single shot solution.
|
| 165 |
+
|
| 166 |
+
<table><tr><td>Dataset</td><td>Evaluation Type</td><td>Draw</td><td>gpt-3.5-turbo Wins</td><td>CAMEL Agents Win</td></tr><tr><td rowspan="2">AI Society</td><td>Human Evaluation</td><td>13.3%</td><td>10.4%</td><td>76.3%</td></tr><tr><td>GPT4 Evaluation</td><td>4.0%</td><td>23.0%</td><td>73.0%</td></tr><tr><td>Code</td><td>GPT4 Evaluation</td><td>0.0%</td><td>24.0%</td><td>76.0%</td></tr></table>
|
| 167 |
+
|
| 168 |
+
# 5.2 GPT4 for ChatBot Evaluation
|
| 169 |
+
|
| 170 |
+
In this section, we progressively fine-tune a LLaMA 7B model on our generated datasets. By progressively incorporating diverse datasets like AI society, code, math, and science, we expect fine-tuned model to demonstrate the ability to develop an increasingly sophisticated understanding of these domains.
|
| 171 |
+
|
| 172 |
+
We initially start by training on AI society dataset, which aims to let the model learn about human interactions and societal dynamics. As additional datasets were introduced, such as code, the model gained knowledge of programming logic and syntax, enabling it to generate coherent and executable code snippets. The inclusion of the math dataset further expanded the model’s capabilities, allowing it to solve complex equations, reason about abstract concepts, and perform precise calculations. Finally, exposure to the science dataset broadened the model’s understanding of scientific theories, empirical observations, and experimental methods. The emergence of model capabilities is measured by evaluating the quality of the model responses, before and after training on the new domain, on a set of questions of varying difficulties from each domain. More precisely, the model is tested on 20 AI Society related tasks, 20 coding tasks, 20 math tasks and 60 science tasks.
|
| 173 |
+
|
| 174 |
+
Those results are highlighted in Table 2 where we see that each time we add a dataset, the model performs better on the incorporated domain. Note that to measure the quality of the models’ responses, we follow the evaluation from Section T, which involves prompting a GPT4 agent to score and decide which solution is better. It is worth noting that an improvement on other domains is also observed in some cases such as when we train on Code we improve on Science. This is because our Code dataset contains problems that solve tasks in particular domains which include scientific domain. Similarly, training on AI Society improves code as AI Society contains the role of a "programmer" and hence coding related conversations. Finally, note that the draws observed in LLaMA-7B vs AI Society in Math reflects equally bad solutions compared to the draws observed in AI Society $\mathbf { + C o d e + M a t } ]$ h vs AI Society $+ \mathrm { C o d e } + \mathrm { M a t h } + \Omega$ cience where the draws are equally good solutions. This progression from AI society to code to math to science highlights the potential of AI models to acquire a versatile and adaptable knowledge base, paralleling the way humans gain expertise in diverse subjects. Sample tasks are provided in the Appendix.
|
| 175 |
+
|
| 176 |
+
Table 2: Emergence of Knowledge. By progressively fine-tuning LLaMA on datasets from different domains, we observe the emergence of knowledge as the model transitions from AI society to code, math, and science. This finding is indicated by the fact that Model 2 almost always performs better than Model 1, especially on the added dataset.
|
| 177 |
+
|
| 178 |
+
<table><tr><td rowspan="2">Dataset</td><td colspan="3">Model 1</td><td colspan="3">Model 2</td><td rowspan="2">Draw</td><td rowspan="2">Model 1</td><td rowspan="2">Model 2</td></tr><tr><td>AI Society</td><td>CodeMath</td><td>Science</td><td>AI Society</td><td>Code1</td><td>Math Science</td><td></td></tr><tr><td>AI Society</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0</td><td>6</td><td>14</td></tr><tr><td>Code</td><td></td><td></td><td></td><td>交</td><td></td><td></td><td></td><td>0</td><td>0</td><td>20</td></tr><tr><td>Math</td><td></td><td></td><td></td><td>√</td><td></td><td></td><td></td><td>9</td><td>5</td><td>6</td></tr><tr><td>Science</td><td></td><td></td><td></td><td>√</td><td></td><td></td><td></td><td>0</td><td>13</td><td>47</td></tr><tr><td>AI Society</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>4</td><td>8</td><td>8</td></tr><tr><td>Code</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>1</td><td>9</td><td>10</td></tr><tr><td>Math</td><td>√</td><td></td><td></td><td></td><td><<√</td><td></td><td></td><td>5</td><td>8</td><td>7</td></tr><tr><td>Science</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td>1</td><td>19</td><td>40</td></tr><tr><td>AI Society</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td>5</td><td>6</td><td>9</td></tr><tr><td>Code</td><td></td><td>><></td><td></td><td></td><td></td><td></td><td></td><td>1</td><td>9</td><td>10</td></tr><tr><td>Math</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td>1</td><td>3</td><td>16</td></tr><tr><td>Science</td><td>√</td><td></td><td></td><td></td><td></td><td><<√</td><td></td><td>3</td><td>8</td><td>49</td></tr><tr><td>AI Society</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td>3</td><td>1</td><td>16</td></tr><tr><td>Code</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>1</td><td>8</td><td>11</td></tr><tr><td>Math</td><td>√</td><td></td><td></td><td></td><td></td><td></td><td></td><td>10</td><td>5</td><td>5</td></tr><tr><td>Science</td><td>√</td><td></td><td></td><td>√</td><td></td><td></td><td><<<</td><td>9</td><td>2</td><td>49</td></tr><tr><td>AI Society</td><td></td><td></td><td></td><td>√</td><td></td><td></td><td>√</td><td>0</td><td>0</td><td>20</td></tr><tr><td>Code</td><td></td><td></td><td></td><td></td><td></td><td><<<</td><td></td><td>0</td><td>0</td><td>20</td></tr><tr><td>Math</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>0</td><td>0</td><td>20</td></tr><tr><td>Science</td><td></td><td></td><td></td><td></td><td></td><td></td><td>√</td><td>0</td><td>0</td><td>60</td></tr></table>
|
| 179 |
+
|
| 180 |
+
# 5.3 HumanEval(+)
|
| 181 |
+
|
| 182 |
+
Table 3: HumanEval(+) for Various Models. We test our CAMEL model, which is a LLaMa-7B fine-tuned on all our datasets (AI Society, Code, Math, Science) on HumanEval and HumanEval+ benchmarks, where we show competitive pass $@ k$ scores with LLaMa-7B and Vicuna-7B.
|
| 183 |
+
|
| 184 |
+
<table><tr><td></td><td colspan="2">HumanEval</td><td colspan="2">HumanEval+</td></tr><tr><td>pass@k [%]</td><td>k =1</td><td>k=100</td><td>k=1</td><td>k=100</td></tr><tr><td>gpt-3.5-turbo</td><td>69.4</td><td>94.0</td><td>61.7</td><td>89.8</td></tr><tr><td>LLaMA-7B</td><td>10.5</td><td>36.5</td><td>1</td><td>-</td></tr><tr><td>Vicuna-7B</td><td>11.0</td><td>42.9</td><td>9.9</td><td>34.7</td></tr><tr><td>CAMEL-7B</td><td>14.0</td><td>57.9</td><td>12.2</td><td>50.0</td></tr></table>
|
| 185 |
+
|
| 186 |
+
To evaluate the coding task-solving capabilities of our CAMEL model, specifically the LLaMA7B fine-tuned on our comprehensive datasets, we rely on HumanEval [18] and HumanEval+ [69]. The results, as depicted in table 3, clearly demonstrate the remarkable performance of CAMEL. It surpasses not only the LLaMA-7B model but also Vicuna-7B [21] by a big margin. These findings underscore the critical role played by the generated datasets in enhancing LLaMA’s ability to tackle coding-related tasks.
|
| 187 |
+
|
| 188 |
+
# 6 Conclusion
|
| 189 |
+
|
| 190 |
+
In this paper, we explore the potential of autonomous cooperation among communicative agents and propose a novel cooperative agent framework named role-playing . Our approach enables communicative agents to collaborate autonomously toward completing tasks while requiring minimal human intervention, leading to better solutions are per our thorough evaluations. Through our analysis, we show that achieving autonomous cooperation is challenging due to issues like conversation deviation, role flipping, and termination conditions. Our framework offers a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems and provides strategies for addressing these challenges. Furthermore, our open-sourced library includes implementations of various agents, data generation pipelines, data analysis tools, and collected datasets, to support research on communicative agents and beyond. Our contributions offer valuable insights into the future of large language artificial intelligence models and cooperative AI systems.
|
| 191 |
+
|
| 192 |
+
# 7 Acknowledgements
|
| 193 |
+
|
| 194 |
+
This work was supported by SDAIA-KAUST Center of Excellence in Data Science and Artificial Intelligence (SDAIA-KAUST AI).
|
| 195 |
+
|
| 196 |
+
# References
|
| 197 |
+
|
| 198 |
+
[1] Josh Abramson, Arun Ahuja, Iain Barr, Arthur Brussee, Federico Carnevale, Mary Cassin, Rachita Chhaparia, Stephen Clark, Bogdan Damoc, Andrew Dudzik, Petko Georgiev, Aurelia Guy, Tim Harley, Felix Hill, Alden Hung, Zachary Kenton, Jessica Landon, Timothy Lillicrap, Kory Mathewson, Sonaˇ Mokrá, Alistair Muldal, Adam Santoro, Nikolay Savinov, Vikrant Varma, Greg Wayne, Duncan Williams, Nathaniel Wong, Chen Yan, and Rui Zhu. Imitating interactive intelligence, 2020.
|
| 199 |
+
|
| 200 |
+
[2] Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Chuyuan Fu, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, Daniel Ho, Jasmine Hsu, Julian Ibarz, Brian Ichter, Alex Irpan, Eric Jang, Rosario Jauregui Ruano, Kyle Jeffrey, Sally Jesmonth, Nikhil J Joshi, Ryan Julian, Dmitry Kalashnikov, Yuheng Kuang, Kuang-Huei Lee, Sergey Levine, Yao Lu, Linda Luu, Carolina Parada, Peter Pastor, Jornell Quiambao, Kanishka Rao, Jarek Rettinghouse, Diego Reyes, Pierre Sermanet, Nicolas Sievers, Clayton Tan, Alexander Toshev, Vincent Vanhoucke, Fei Xia, Ted Xiao, Peng Xu, Sichun Xu, Mengyuan Yan, and Andy Zeng. Do as i can, not as i say: Grounding language in robotic affordances, 2022.
|
| 201 |
+
|
| 202 |
+
[3] Jacob Andreas. Language models as agent models, 2022.
|
| 203 |
+
|
| 204 |
+
[4] Jacob Andreas and Dan Klein. Alignment-based compositional semantics for instruction following. arXiv preprint arXiv:1508.06491, 2015.
|
| 205 |
+
|
| 206 |
+
[5] Anthropic. Introducing claude. Anthropic Blog, 2023.
|
| 207 |
+
|
| 208 |
+
[6] Isaac Asimov. I. Robot. Narkaling Productions., 1940.
|
| 209 |
+
|
| 210 |
+
[7] Jimmy Ba and Rich Caruana. Do deep nets really need to be deep? Advances in neural information processing systems, 27, 2014.
|
| 211 |
+
|
| 212 |
+
[8] Sanghwan Bae, Donghyun Kwak, Sungdong Kim, Donghoon Ham, Soyoung Kang, Sang-Woo Lee, and Woomyoung Park. Building a role specified open-domain dialogue system leveraging large-scale language models. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2128–2150, Seattle, United States, July 2022. Association for Computational Linguistics.
|
| 213 |
+
|
| 214 |
+
[9] Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv preprint arXiv:2204.05862, 2022.
|
| 215 |
+
|
| 216 |
+
[10] Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073, 2022.
|
| 217 |
+
|
| 218 |
+
[11] Nolan Bard, Jakob N Foerster, Sarath Chandar, Neil Burch, Marc Lanctot, H Francis Song, Emilio Parisotto, Vincent Dumoulin, Subhodeep Moitra, Edward Hughes, et al. The hanabi challenge: A new frontier for ai research. Artificial Intelligence, 280:103216, 2020.
|
| 219 |
+
|
| 220 |
+
[12] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.
|
| 221 |
+
|
| 222 |
+
[13] Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712, 2023.
|
| 223 |
+
|
| 224 |
+
[14] N Carlini, F Tramer, E Wallace, M Jagielski, A Herbert-Voss, K Lee, A Roberts, T Brown, D Song, Ú Erlingsson, et al. Extracting training data from large language models. arxiv. Preprint posted online December, 14, 2020.
|
| 225 |
+
|
| 226 |
+
[15] Nicholas Carlini, Jamie Hayes, Milad Nasr, Matthew Jagielski, Vikash Sehwag, Florian Tramèr, Borja Balle, Daphne Ippolito, and Eric Wallace. Extracting training data from diffusion models. arXiv preprint arXiv:2301.13188, 2023.
|
| 227 |
+
|
| 228 |
+
[16] Harrison Chase. Langchain. 2022.
|
| 229 |
+
|
| 230 |
+
[17] Defang Chen, Jian-Ping Mei, Yuan Zhang, Can Wang, Zhe Wang, Yan Feng, and Chun Chen. Cross-layer distillation with semantic calibration. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 7028–7036, 2021.
|
| 231 |
+
|
| 232 |
+
[18] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.
|
| 233 |
+
[19] Maximillian Chen, Alexandros Papangelis, Chenyang Tao, Seokhwan Kim, Andy Rosenbaum, Yang Liu, Zhou Yu, and Dilek Hakkani-Tur. Places: Prompting language models for social conversation synthesis. arXiv preprint arXiv:2302.03269, 2023.
|
| 234 |
+
[20] Maximillian Chen, Alexandros Papangelis, Chenyang Tao, Andy Rosenbaum, Seokhwan Kim, Yang Liu, Zhou Yu, and Dilek Hakkani-Tur. Weakly supervised data augmentation through prompting for dialogue understanding. NeurIPS 2022 Workshop on Synthetic Data for Empowering ML Research, 2022.
|
| 235 |
+
[21] Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. Vicuna: An open-source chatbot impressing gpt-4 with $9 0 \% ^ { \ast }$ chatgpt quality, March 2023.
|
| 236 |
+
[22] Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022.
|
| 237 |
+
[23] Paul F Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. Advances in neural information processing systems, 30, 2017.
|
| 238 |
+
[24] Caroline Claus and Craig Boutilier. The dynamics of reinforcement learning in cooperative multiagent systems. In AAAI/IAAI, 1998.
|
| 239 |
+
[25] Antonia Creswell, Murray Shanahan, and Irina Higgins. Selection-inference: Exploiting large language models for interpretable logical reasoning, 2022.
|
| 240 |
+
[26] Allan Dafoe, Yoram Bachrach, Gillian Hadfield, Eric Horvitz, Kate Larson, and Thore Graepel. Cooperative ai: machines must learn to find common ground. Nature, 593(7857):33–36, 2021.
|
| 241 |
+
[27] Allan Dafoe, Edward Hughes, Yoram Bachrach, Tantum Collins, Kevin R McKee, Joel Z Leibo, Kate Larson, and Thore Graepel. Open problems in cooperative ai. arXiv preprint arXiv:2012.08630, 2020.
|
| 242 |
+
[28] Yali Du, Bo Liu, Vincent Moens, Ziqi Liu, Zhicheng Ren, Jun Wang, Xu Chen, and Haifeng Zhang. Learning correlated communication topology in multi-agent reinforcement learning. In Proceedings of the 20th International Conference on Autonomous Agents and MultiAgent Systems, pages 456–464, 2021.
|
| 243 |
+
[29] Tim Finin, Richard Fritzson, Don McKay, and Robin McEntire. Kqml as an agent communication language. In Proceedings of the third international conference on Information and knowledge management, pages 456–463, 1994.
|
| 244 |
+
[30] Jakob Foerster, Ioannis Alexandros Assael, Nando De Freitas, and Shimon Whiteson. Learning to communicate with deep multi-agent reinforcement learning. Advances in neural information processing systems, 29, 2016.
|
| 245 |
+
[31] Yao Fu, Hao Peng, Ashish Sabharwal, Peter Clark, and Tushar Khot. Complexity-based prompting for multi-step reasoning. arXiv preprint arXiv:2210.00720, 2022.
|
| 246 |
+
[32] Iason Gabriel. Artificial intelligence, values, and alignment. Minds and Machines, 30:411 – 437, 2020.
|
| 247 |
+
[33] Jianfeng Gao, Michel Galley, and Lihong Li. Neural approaches to conversational ai. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pages 1371–1374, 2018.
|
| 248 |
+
[34] Leo Gao, Jonathan Tow, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Kyle McDonell, Niklas Muennighoff, Jason Phang, Laria Reynolds, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. A framework for few-shot language model evaluation, September 2021.
|
| 249 |
+
[35] Amelia Glaese, Nat McAleese, Maja Trebacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Maribeth Rauh, Laura Weidinger, Martin Chadwick, Phoebe Thacker, Lucy Campbell-Gillingham, Jonathan Uesato, Po-Sen Huang, Ramona Comanescu, Fan Yang, Abigail See, Sumanth Dathathri, Rory Greig, Charlie Chen, Doug Fritz, Jaume Sanchez Elias, Richard Green, Sona Mokrá, Nicholas Fernando, Boxi Wu, ˇ Rachel Foley, Susannah Young, Iason Gabriel, William Isaac, John Mellor, Demis Hassabis, Koray Kavukcuoglu, Lisa Anne Hendricks, and Geoffrey Irving. Improving alignment of dialogue agents via targeted human judgements, 2022.
|
| 250 |
+
[36] Amelia Glaese, Nat McAleese, Maja Tr˛ebacz, John Aslanides, Vlad Firoiu, Timo Ewalds, Maribeth Rauh, Laura Weidinger, Martin Chadwick, Phoebe Thacker, et al. Improving alignment of dialogue agents via targeted human judgements. arXiv preprint arXiv:2209.14375, 2022.
|
| 251 |
+
[37] Josh A Goldstein, Girish Sastry, Micah Musser, Renee DiResta, Matthew Gentzel, and Katerina Sedova. Generative language models and automated influence operations: Emerging threats and potential mitigations. arXiv preprint arXiv:2301.04246, 2023.
|
| 252 |
+
[38] Dylan Hadfield-Menell. The principal-agent alignment problem in artificial intelligence. Ph. D. dissertation, 2021.
|
| 253 |
+
[39] Dylan Hadfield-Menell, McKane Andrus, and Gillian Hadfield. Legible normativity for ai alignment: The value of silly rules. In Proceedings of the 2019 AAAI/ACM Conference on AI, Ethics, and Society, pages 115–121, 2019.
|
| 254 |
+
[40] Dylan Hadfield-Menell, Stuart J Russell, Pieter Abbeel, and Anca Dragan. Cooperative inverse reinforcement learning. Advances in neural information processing systems, 29, 2016.
|
| 255 |
+
[41] Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: Learning to communicate with sequences of symbols. Advances in neural information processing systems, 30, 2017.
|
| 256 |
+
[42] Peter Henderson, Koustuv Sinha, Nicolas Angelard-Gontier, Nan Rosemary Ke, Genevieve Fried, Ryan Lowe, and Joelle Pineau. Ethical challenges in data-driven dialogue systems. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 123–129, 2018.
|
| 257 |
+
[43] Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874, 2021.
|
| 258 |
+
[44] Byeongho Heo, Minsik Lee, Sangdoo Yun, and Jin Young Choi. Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3779–3787, 2019.
|
| 259 |
+
[45] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
|
| 260 |
+
[46] Namgyu Ho, Laura Schmid, and Se-Young Yun. Large language models are reasoning teachers. arXiv preprint arXiv:2212.10071, 2022.
|
| 261 |
+
[47] Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022.
|
| 262 |
+
[48] Or Honovich, Thomas Scialom, Omer Levy, and Timo Schick. Unnatural instructions: Tuning language models with (almost) no human labor. arXiv preprint arXiv:2212.09689, 2022.
|
| 263 |
+
[49] Ehsan Hosseini-Asl, Bryan McCann, Chien-Sheng Wu, Semih Yavuz, and Richard Socher. A simple language model for task-oriented dialogue. Advances in Neural Information Processing Systems, 33:20179–20191, 2020.
|
| 264 |
+
[50] Wenlong Huang, Pieter Abbeel, Deepak Pathak, and Igor Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents. arXiv preprint arXiv:2201.07207, 2022.
|
| 265 |
+
[51] Wenlong Huang, Fei Xia, Ted Xiao, Harris Chan, Jacky Liang, Pete Florence, Andy Zeng, Jonathan Tompson, Igor Mordatch, Yevgen Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608, 2022.
|
| 266 |
+
[52] Shima Imani, Liang Du, and Harsh Shrivastava. Mathprompter: Mathematical reasoning using large language models. arXiv preprint arXiv:2303.05398, 2023.
|
| 267 |
+
[53] Srinivasan Iyer, Xi Victoria Lin, Ramakanth Pasunuru, Todor Mihaylov, Dániel Simig, Ping Yu, Kurt Shuster, Tianlu Wang, Qing Liu, Punit Singh Koura, et al. Opt-iml: Scaling language model instruction meta learning through the lens of generalization. arXiv preprint arXiv:2212.12017, 2022.
|
| 268 |
+
[54] Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423–438, 2020.
|
| 269 |
+
[55] Siddharth Karamcheti, Megha Srivastava, Percy Liang, and Dorsa Sadigh. Lila: Language-informed latent actions. In CoRL, pages 1379–1390, 2021.
|
| 270 |
+
[56] Zachary Kenton, Tom Everitt, Laura Weidinger, Iason Gabriel, Vladimir Mikulik, and Geoffrey Irving. Alignment of language agents. arXiv preprint arXiv:2103.14659, 2021.
|
| 271 |
+
[57] Hyunwoo Kim, Jack Hessel, Liwei Jiang, Ximing Lu, Youngjae Yu, Pei Zhou, Ronan Le Bras, Malihe Alikhani, Gunhee Kim, Maarten Sap, et al. Soda: Million-scale dialogue distillation with social commonsense contextualization. arXiv preprint arXiv:2212.10465, 2022.
|
| 272 |
+
[58] Jangho Kim, Seonguk Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
|
| 273 |
+
[59] Yekyung Kim, Seohyeong Jeong, and Kyunghyun Cho. Linda: Unsupervised learning to interpolate in natural language processing. arXiv preprint arXiv:2112.13969, 2021.
|
| 274 |
+
[60] Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In International conference on machine learning, pages 1885–1894. PMLR, 2017.
|
| 275 |
+
[61] Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916, 2022.
|
| 276 |
+
[62] Jonáš Kulhánek, Vojtech Hude ˇ cek, Tomá ˇ š Nekvinda, and Ondˇrej Dušek. Augpt: Auxiliary tasks and data augmentation for end-to-end dialogue with pre-trained language models. In Proceedings of the 3rd Workshop on Natural Language Processing for Conversational AI, pages 198–210, 2021.
|
| 277 |
+
[63] Kenton Lee, Kelvin Guu, Luheng He, Tim Dozat, and Hyung Won Chung. Neural data augmentation via example extrapolation. arXiv preprint arXiv:2102.01335, 2021.
|
| 278 |
+
[64] Aitor Lewkowycz, Anders Johan Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Venkatesh Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, et al. Solving quantitative reasoning problems with language models. 2022.
|
| 279 |
+
[65] Shuang Li, Xavier Puig, Chris Paxton, Yilun Du, Clinton Wang, Linxi Fan, Tao Chen, De-An Huang, Ekin Akyürek, Anima Anandkumar, Jacob Andreas, Igor Mordatch, Antonio Torralba, and Yuke Zhu. Pre-trained language models for interactive decision-making, 2022.
|
| 280 |
+
[66] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. arXiv preprint arXiv:2101.00190, 2021.
|
| 281 |
+
[67] Zekun Li, Wenhu Chen, Shiyang Li, Hong Wang, Jing Qian, and Xifeng Yan. Controllable dialogue simulation with in-context learning. arXiv preprint arXiv:2210.04185, 2022.
|
| 282 |
+
[68] Alisa Liu, Swabha Swayamdipta, Noah A. Smith, and Yejin Choi. WANLI: Worker and AI collaboration for natural language inference dataset creation. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 6826–6847, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics.
|
| 283 |
+
[69] Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. arXiv preprint arXiv:2305.01210, 2023.
|
| 284 |
+
[70] Yat Long Lo, Christian Schroeder de Witt, Samuel Sokota, Jakob Nicolaus Foerster, and Shimon Whiteson. Cheap talk discovery and utilization in multi-agent reinforcement learning. In The Eleventh International Conference on Learning Representations, 2023.
|
| 285 |
+
[71] Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688, 2023.
|
| 286 |
+
[72] Ryan Lowe, Yi I Wu, Aviv Tamar, Jean Harb, OpenAI Pieter Abbeel, and Igor Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. Advances in neural information processing systems, 30, 2017.
|
| 287 |
+
[73] Pan Lu, Liang Qiu, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu, Tanmay Rajpurohit, Peter Clark, and Ashwin Kalyan. Dynamic prompt learning via policy gradient for semi-structured mathematical reasoning. In ICLR, 2023.
|
| 288 |
+
[74] Michael J. Matthews, Samuel H. Matthews, and Thomas K. Kelemen. The alignment problem: Machine learning and human values. Personnel Psychology, 2022.
|
| 289 |
+
|
| 290 |
+
[75] Yu Meng, Jiaxin Huang, Yu Zhang, and Jiawei Han. Generating training data with language models: Towards zero-shot language understanding. In Advances in Neural Information Processing Systems, 2022.
|
| 291 |
+
|
| 292 |
+
[76] Marvin Minsky. Society of mind. Simon and Schuster, 1988.
|
| 293 |
+
|
| 294 |
+
[77] Marvin Minsky. The emotion machine: Commonsense thinking, artificial intelligence, and the future of the human mind. Simon and Schuster, 2007.
|
| 295 |
+
|
| 296 |
+
[78] Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. Cross-task generalization via natural language crowdsourcing instructions. In ACL, 2022.
|
| 297 |
+
|
| 298 |
+
[79] Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent populations. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
|
| 299 |
+
|
| 300 |
+
[80] Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. Webgpt: Browser-assisted question-answering with human feedback, 2021.
|
| 301 |
+
|
| 302 |
+
[81] Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. Show your work: Scratchpads for intermediate computation with language models, 2021.
|
| 303 |
+
|
| 304 |
+
[82] OpenAI. Introducing chatgpt. Open AI Blog, 2022.
|
| 305 |
+
|
| 306 |
+
[83] OpenAI. Chatgpt plugins. OpenAI blog, 2023.
|
| 307 |
+
|
| 308 |
+
[84] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730–27744, 2022.
|
| 309 |
+
|
| 310 |
+
[85] Liviu Panait and Sean Luke. Cooperative multi-agent learning: The state of the art. Autonomous Agents and Multi-Agent Systems, 11:387–434, 2005.
|
| 311 |
+
|
| 312 |
+
[86] Alexandros Papangelis, Karthik Gopalakrishnan, Aishwarya Padmakumar, Seokhwan Kim, Gokhan Tur, and Dilek Z. Hakkani-Tür. Generative conversational networks. In SIGDIAL, 2021.
|
| 313 |
+
|
| 314 |
+
[87] Wonpyo Park, Dongju Kim, Yan Lu, and Minsu Cho. Relational knowledge distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3967–3976, 2019.
|
| 315 |
+
|
| 316 |
+
[88] Peyman Passban, Yimeng Wu, Mehdi Rezagholizadeh, and Qun Liu. Alp-kd: Attention-based layer projection for knowledge distillation. In Proceedings of the AAAI Conference on artificial intelligence, volume 35, pages 13657–13665, 2021.
|
| 317 |
+
|
| 318 |
+
[89] Sundar Pichai. An important next step on our ai journey. Google Blog, 2023.
|
| 319 |
+
|
| 320 |
+
[90] Stefan Poslad. Specifying protocols for multi-agent systems interaction. ACM Transactions on Autonomous and Adaptive Systems (TAAS), 2(4):15–es, 2007.
|
| 321 |
+
|
| 322 |
+
[91] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
|
| 323 |
+
|
| 324 |
+
[92] Scott Reed, Konrad Zolna, Emilio Parisotto, Sergio Gomez Colmenarejo, Alexander Novikov, Gabriel Barth-Maron, Mai Gimenez, Yury Sulsky, Jackie Kay, Jost Tobias Springenberg, Tom Eccles, Jake Bruce, Ali Razavi, Ashley Edwards, Nicolas Heess, Yutian Chen, Raia Hadsell, Oriol Vinyals, Mahyar Bordbar, and Nando de Freitas. A generalist agent, 2022.
|
| 325 |
+
|
| 326 |
+
[93] Laria Reynolds and Kyle McDonell. Prompt programming for large language models: Beyond the few-shot paradigm. In Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems, pages 1–7, 2021.
|
| 327 |
+
|
| 328 |
+
[94] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models, 2021.
|
| 329 |
+
|
| 330 |
+
[95] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. arXiv preprint arXiv:1412.6550, 2014.
|
| 331 |
+
|
| 332 |
+
[96] Andy Rosenbaum, Saleh Soltan, Wael Hamza, Yannick Versley, and Markus Boese. Linguist: Language model instruction tuning to generate annotated utterances for intent classification and slot tagging. arXiv preprint arXiv:2209.09900, 2022.
|
| 333 |
+
|
| 334 |
+
[97] Stuart J Russell. Artificial intelligence a modern approach. Pearson Education, Inc., 2010. [98] Gaurav Sahu, Pau Rodriguez, Issam H Laradji, Parmida Atighehchian, David Vazquez, and Dzmitry Bahdanau. Data augmentation for intent classification with off-the-shelf large language models. ACL, 2022. [99] William Saunders, Catherine Yeh, Jeff Wu, Steven Bills, Long Ouyang, Jonathan Ward, and Jan Leike. Self-critiquing models for assisting human evaluators. arXiv preprint arXiv:2206.05802, 2022.
|
| 335 |
+
[100] Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. arXiv preprint arXiv:2302.04761, 2023.
|
| 336 |
+
[101] Timo Schick and Hinrich Schütze. Generating datasets with pretrained language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 6943–6951, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics.
|
| 337 |
+
[102] Junjie Sheng, Xiangfeng Wang, Bo Jin, Junchi Yan, Wenhao Li, Tsung-Hui Chang, Jun Wang, and Hongyuan Zha. Learning structured communication for multi-agent reinforcement learning. Autonomous Agents and Multi-Agent Systems, 36(2):50, 2022.
|
| 338 |
+
[103] Freda Shi, Mirac Suzgun, Markus Freitag, Xuezhi Wang, Suraj Srivats, Soroush Vosoughi, Hyung Won Chung, Yi Tay, Sebastian Ruder, Denny Zhou, et al. Language models are multilingual chain-of-thought reasoners. In ICLR, 2023.
|
| 339 |
+
[104] Taylor Shin, Yasaman Razeghi, Robert L Logan IV, Eric Wallace, and Sameer Singh. Autoprompt: Eliciting knowledge from language models with automatically generated prompts. arXiv preprint arXiv:2010.15980, 2020.
|
| 340 |
+
[105] Noah Shinn, Beck Labash, and Ashwin Gopinath. Reflexion: an autonomous agent with dynamic memory and self-reflection. arXiv preprint arXiv:2303.11366, 2023.
|
| 341 |
+
[106] Kurt Shuster, Jing Xu, Mojtaba Komeili, Da Ju, Eric Michael Smith, Stephen Roller, Megan Ung, Moya Chen, Kushal Arora, Joshua Lane, et al. Blenderbot 3: a deployed conversational agent that continually learns to responsibly engage. arXiv preprint arXiv:2208.03188, 2022.
|
| 342 |
+
[107] David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. nature, 529(7587):484–489, 2016.
|
| 343 |
+
[108] David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. nature, 550(7676):354–359, 2017.
|
| 344 |
+
[109] Abishek Sridhar, Robert Lo, Frank F. Xu, Hao Zhu, and Shuyan Zhou. Hierarchical prompting assists large language model on web navigation. In ArXiv, preprint.
|
| 345 |
+
[110] Jonathan Stray. Aligning ai optimization to community well-being. International Journal of Community Well-Being, 3:443 – 463, 2020.
|
| 346 |
+
[111] Sainbayar Sukhbaatar, Rob Fergus, et al. Learning multiagent communication with backpropagation. Advances in neural information processing systems, 29, 2016.
|
| 347 |
+
[112] Alex Tamkin, Miles Brundage, Jack Clark, and Deep Ganguli. Understanding the capabilities, limitations, and societal impact of large language models. arXiv preprint arXiv:2102.02503, 2021.
|
| 348 |
+
[113] Ming Tan. Multi-agent reinforcement learning: Independent versus cooperative agents. In International Conference on Machine Learning, 1997.
|
| 349 |
+
[114] Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github. com/tatsu-lab/stanford_alpaca, 2023.
|
| 350 |
+
[115] Gerald Tesauro et al. Temporal difference learning and td-gammon. Communications of the ACM, 38(3):58–68, 1995.
|
| 351 |
+
[116] Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239, 2022.
|
| 352 |
+
|
| 353 |
+
[117] Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
|
| 354 |
+
|
| 355 |
+
[118] Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In ICLR, 2023.
|
| 356 |
+
|
| 357 |
+
[119] Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-instruct: Aligning language model with self generated instructions. arXiv preprint arXiv:2212.10560, 2022.
|
| 358 |
+
|
| 359 |
+
[120] Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Anjana Arunkumar, Arjun Ashok, Arut Selvan Dhanasekaran, Atharva Naik, David Stap, et al. Supernaturalinstructions:generalization via declarative instructions on $1 6 0 0 +$ tasks. In EMNLP, 2022.
|
| 360 |
+
|
| 361 |
+
[121] Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. arXiv preprint arXiv:2109.01652, 2021.
|
| 362 |
+
|
| 363 |
+
[122] Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. Emergent abilities of large language models. Transactions on Machine Learning Research, 2022. Survey Certification.
|
| 364 |
+
|
| 365 |
+
[123] Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022.
|
| 366 |
+
|
| 367 |
+
[124] Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 38–45, Online, October 2020. Association for Computational Linguistics.
|
| 368 |
+
|
| 369 |
+
[125] Michael Wooldridge. An introduction to multiagent systems. John wiley & sons, 2009.
|
| 370 |
+
|
| 371 |
+
[126] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR), 2023.
|
| 372 |
+
|
| 373 |
+
[127] Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. arXiv preprint arXiv:1612.03928, 2016.
|
| 374 |
+
|
| 375 |
+
[128] Eric Zelikman, Yuhuai Wu, Jesse Mu, and Noah D. Goodman. Star: Bootstrapping reasoning with reasoning, 2022.
|
| 376 |
+
|
| 377 |
+
[129] Houyu Zhang, Zhenghao Liu, Chenyan Xiong, and Zhiyuan Liu. Grounded conversation generation as guided traverses in commonsense knowledge graphs. In ACL, 2020.
|
| 378 |
+
|
| 379 |
+
[130] Rongsheng Zhang, Yinhe Zheng, Jianzhi Shao, Xiao-Xi Mao, Yadong Xi, and Minlie Huang. Dialogue distillation: Open-domain dialogue augmentation using unpaired data. ArXiv, abs/2009.09427, 2020.
|
| 380 |
+
|
| 381 |
+
[131] Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022.
|
| 382 |
+
|
| 383 |
+
[132] Zhuosheng Zhang, Aston Zhang, Mu Li, and Alex Smola. Automatic chain of thought prompting in large language models. In ICLR, 2023.
|
| 384 |
+
|
| 385 |
+
[133] Zhuosheng Zhang, Aston Zhang, Mu Li, Hai Zhao, George Karypis, and Alex Smola. Multimodal chain-of-thought reasoning in language models. arXiv preprint arXiv:2302.00923, 2023.
|
| 386 |
+
|
| 387 |
+
[134] Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Olivier Bousquet, Quoc Le, and Ed Chi. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625, 2022.
|
| 388 |
+
|
| 389 |
+
[135] Shuyan Zhou, Frank F Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Yonatan Bisk, Daniel Fried, Uri Alon, et al. Webarena: A realistic web environment for building autonomous agents. arXiv preprint arXiv:2307.13854, 2023.
|
| 390 |
+
|
| 391 |
+
[136] Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. Large language models are human-level prompt engineers. In The Eleventh International Conference on Learning Representations, 2023.
|
| 392 |
+
[137] Deyao Zhu, Jun Chen, Kilichbek Haydarov, Xiaoqian Shen, Wenxuan Zhang, and Mohamed Elhoseiny. Chatgpt asks, blip-2 answers: Automatic questioning towards enriched visual descriptions, 2023.
|
parse/dev/3IyL2XWDkG/3IyL2XWDkG_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/3IyL2XWDkG/3IyL2XWDkG_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/3IyL2XWDkG/3IyL2XWDkG_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/3JvRnAzw_0/3JvRnAzw_0.md
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ROBUST WEIGHT PERTURBATION FORADVERSARIAL TRAINING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Overfitting widely exists in adversarial robust training of deep networks. An effective and promising remedy is adversarial weight perturbation, which injects the worst-case weight perturbation during network training by maximizing the classification loss on adversarial examples. Adversarial weight perturbation helps reduce the robust generalization gap; however, it also undermines the robustness enhancement. A criterion that regulates the weight perturbation is therefore crucial for adversarial training. In this paper, we propose such a criterion, namely Loss Stationary Condition (LSC) for constrained perturbation. With LSC, we find that deep network first overfits the adversarial examples with small loss, and then gradually develops to overfit all adversarial examples in the later stage of training. Following this, we find that it is essential to conduct weight perturbation on adversarial data with small classification loss to eliminate overfitting in adversarial training. Weight perturbation on adversarial data with large classification loss is not necessary and may even lead to poor robustness. Based on these observations, we propose a robust perturbation strategy to constrain the extent of weight perturbation. The perturbation strategy prevents deep networks from overfitting while avoiding the side effect of excessive weight perturbation, significantly improving the robustness of adversarial training. Extensive experiments demonstrate the superiority of the proposed method over the state-of-the-art adversarial training methods.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Although deep neural networks (DNNs) have led to impressive breakthroughs in a number of fields such as computer vision (He et al., 2016), speech recognition (Wang et al., 2017), and natural language processing (Devlin et al., 2018), they are extremely vulnerable to adversarial examples that are crafted by adding small and human-imperceptible perturbation to normal examples (Szegedy et al., 2013; Goodfellow et al., 2014).
|
| 12 |
+
|
| 13 |
+
The vulnerability of DNNs has attracted extensive attention and led to a large number of defense techniques against adversarial examples. Across existing defenses, adversarial training (AT) is one of the strongest empirical defenses. AT directly incorporates adversarial examples into the training process to solve a min-max optimization problem (Madry et al., 2017), which can obtain models with moderate adversarial robustness and has not been comprehensively attacked (Athalye et al., 2018). However, different from the standard training scenario, overfitting is a dominant phenomenon in adversarial robust training of deep networks (Rice et al., 2020). After a certain point in AT, the robust performance on test data will continue to degrade with further training. This phenomenon, termed as robust overfitting, breaches the common practice in deep learning that using over-parameterized networks and training for as long as possible (Neyshabur et al., 2017; Belkin et al., 2019). Such anomaly in AT causes detrimental effects on the robust generalization performance and subsequent algorithm assessment (Rice et al., 2020; Chen et al., 2020b). Relief techniques that mitigate robust overfitting have thus become crucial for stable adversarial training.
|
| 14 |
+
|
| 15 |
+
An effective and promising remedy for robust overfitting is Adversarial Weight Perturbation (AWP) (Wu et al., 2020), which forms a double-perturbation mechanism in the adversarial training framework that adversarially perturbs both inputs and weights:
|
| 16 |
+
|
| 17 |
+
$$
|
| 18 |
+
\operatorname* { m i n } _ { w } \operatorname* { m a x } _ { v \in \mathcal { V } } \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \operatorname* { m a x } _ { | | x _ { i } ^ { \prime } - x _ { i } | | _ { p } \leq \epsilon } \ell ( f _ { w + v } ( x _ { i } ^ { \prime } ) , y _ { i } ) ,
|
| 19 |
+
$$
|
| 20 |
+
|
| 21 |
+
where $n$ is the number of training examples, $\boldsymbol { x } _ { i } ^ { \prime }$ is the adversarial example of $x _ { i } , f _ { w }$ is the DNN with weight $w , \ell ( \cdot )$ is the loss function, $\epsilon$ is the maximum perturbation constraint for inputs (i.e., $| | x _ { i } ^ { \prime } - x _ { i } | | _ { p } \leq \epsilon )$ , and $\nu$ is the feasible perturbation region for weights (i.e., $\{ v \in \mathcal { V } : | | v | | _ { 2 } \leq$ $\gamma | | w | | _ { 2 } \bigr \}$ , where $\gamma$ is the constraint on weight perturbation size). The inner maximization is to find adversarial examples $x _ { i } ^ { \prime }$ within the $\epsilon$ -ball centered at normal examples $x _ { i }$ that maximizes the classification loss $\ell$ . On the other hand, the outer maximization is to find weight perturbation $\textbf { { v } }$ that maximizes the loss $\ell$ on adversarial examples to flatten the weight loss landscape and reduce robust generalization gap. This is the problem of training a weight-perturbed robust classifier on adversarial examples. Therefore, how well the weight perturbation is found directly affects the performance of the outer minimization, i.e., the robustness of the classifier.
|
| 22 |
+
|
| 23 |
+
Several attack methods have been used to solve the inner maximization problem in Eq.(1), such as Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2014) and Projected Gradient Descent (PGD) (Madry et al., 2017). For the outer maximization problem, AWP (Wu et al., 2020) injects the worst-case weight perturbation to reduce robust generalization gap. However, the extent to which the weights should be perturbed has not been explored. Without an appropriate criterion to regulate the weight perturbation, the adversarial training procedure is difficult to unleash its full power. In this paper, we propose such a criterion, namely Loss Stationary Condition (LSC) for constrained perturbation, which sheds light on the nitty-gritty of robust overfitting in adversarial training, and this in turn motivates us to propose an improved weight perturbation strategy for better robustness. Our main contributions are follows:
|
| 24 |
+
|
| 25 |
+
• We propose a principled criterion LSC to monitor the training status of different adversarial examples during network optimization. It provides a better understanding of robust overfitting in adversarial training, and it is also a good indicator for efficient weight perturbation. • With LSC, we find that deep network first overfits adversarial data with small classification loss and then gradually develops to overfit all adversarial data. Following this, we find that better perturbation of model weights is associated with perturbing on adversarial data with small classification loss. For adversarial data with large classification loss, weight perturbation is not necessary and can even be harmful. • We propose a robust perturbation strategy to constrain the extent of weight perturbation. Experiments show that the robust strategy significantly improves the robustness of adversarial training.
|
| 26 |
+
|
| 27 |
+
# 2 RELATED WORK
|
| 28 |
+
|
| 29 |
+
# 2.1 ADVERSARIAL ATTACKS
|
| 30 |
+
|
| 31 |
+
Given a normal example $( x , y )$ , a DNN $f _ { w }$ , and maximum perturbation constraint $\epsilon$ . Let $\mathcal { X }$ denote the input feature space and $\mathcal { B } _ { \epsilon } ^ { p } ( x ) = \{ x ^ { \prime } \in \mathcal { X } : | | x ^ { \prime } - x | | _ { p } \leq \epsilon \}$ be the $\ell _ { p }$ -norm ball of radius $\epsilon$ centered at $x$ in $\mathcal { X }$ . The goal of adversarial attack is to find an adversarial example $x ^ { \prime } \in B _ { \epsilon } ^ { p } ( x )$ that can fool the DNN to produce an incorrect output ( $f _ { w } ( x ^ { \prime } ) \ne y$ ). Here we selectively introduce several commonly used adversarial attack methods.
|
| 32 |
+
|
| 33 |
+
Fast Gradient Sign Method (FGSM). FGSM (Goodfellow et al., 2014) perturbs natural example $x$ for one step with step size $\epsilon$ along the gradient direction:
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
\begin{array} { r } { x ^ { \prime } = x + \epsilon \cdot \mathrm { s i g n } \bigl ( \nabla _ { x } \ell ( f _ { w } ( x ) , y ) \bigr ) . } \end{array}
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
Projected Gradient Descent (PGD). PGD (Madry et al., 2017) is a stronger iterative variant of FGSM, which perturbs normal example $x$ for multiple steps $K$ with a smaller step size $\alpha$ :
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
x ^ { 0 } \sim \mathcal { U } ( B _ { \epsilon } ^ { p } ( x ) ) ,
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\boldsymbol { x } ^ { k } = \Pi _ { \mathcal { B } _ { \epsilon } ^ { p } ( x ) } ( \boldsymbol { x } ^ { k - 1 } + \alpha \cdot \mathrm { s i g n } ( \nabla _ { \boldsymbol { x } ^ { k - 1 } } \ell ( f _ { w } ( \boldsymbol { x } ^ { k - 1 } ) , \boldsymbol { y } ) ) ) ,
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
where $\mathcal { U }$ denotes the uniform distribution, $x ^ { 0 }$ denotes the normal example disturbed by a small uniform random noise, $x ^ { k }$ denotes the adversarial example at step $k$ , and $\Pi _ { B _ { \epsilon } ^ { p } ( x ) }$ denotes the projection function that projects the adversarial example back into the set $B _ { \epsilon } ^ { p } ( x )$ if necessary.
|
| 50 |
+
|
| 51 |
+
AutoAttack (AA). AA (Croce & Hein, 2020b) is an ensemble of complementary attacks, which consists of three white-box attacks (APGD-CE (Croce & Hein, 2020b), APGD-DLR (Croce & Hein, 2020b), and FAB (Croce & Hein, 2020a)) and a black-box attack (Square Attack (Andriushchenko et al., 2020)). AA regards models to be robust only if the models correctly classify all types of adversarial examples, which is among the most reliable evaluation of adversarial robustness to date.
|
| 52 |
+
|
| 53 |
+
There are also other types of attacking methods, e.g., the CW attack (Carlini & Wagner, 2017), deformation attack (Engstrom et al., 2017; Xiao et al., 2018; Engstrom et al., 2019), Hamming distance based attack (Shamir et al., 2019), Frank-Wolfe based attack (Chen et al., 2020a) and adaptive attack (Tramer et al., 2020).
|
| 54 |
+
|
| 55 |
+
# 2.2 ADVERSARIAL DEFENSE
|
| 56 |
+
|
| 57 |
+
Since the discovery of adversarial examples, a large number of works have emerged for defending against adversarial attacks, such as input denoising (Guo et al., 2018; Liao et al., 2018; Wu et al., 2021), defensive distillation (Papernot et al., 2016; Carlini & Wagner, 2017), adversarial detection (Metzen et al., 2017; Tao et al., 2018), gradient regularization (Tramer et al., 2018; Ross & Doshi- \` Velez, 2018) and adversarial training (Goodfellow et al., 2014; Madry et al., 2017). Among them, adversarial training has been demonstrated to be the most effective method (Athalye et al., 2018). Based on adversarial training, a wide range of subsequent works are then proposed to further improve the model robustness (Xie et al., 2019; Mosbach et al., 2018; Kannan et al., 2018; Zhang et al., 2019; Cai et al., 2018; Wang et al., 2019a; Zhang et al., 2020a; Dong et al., 2018; Yang et al., 2019; Wang et al., 2019b; Song et al., 2020; Carmon et al., 2019; Zhai et al., 2019; Uesato et al., 2019; Hendrycks et al., 2019; Yan et al., 2021; Du et al., 2021). Here, we introduce two currently state-of-the-art adversarial training frameworks.
|
| 58 |
+
|
| 59 |
+
TRADES. TRADES (Zhang et al., 2019) optimizes a regularized surrogate loss that is a trade-off between the natural accuracy and adversarial robustness:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\ell ^ { { \mathrm { T R A D E S } } } ( \boldsymbol { w } ; \boldsymbol { x } , \boldsymbol { y } ) = \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \left\{ \operatorname { C E } ( f _ { w } ( x _ { i } ) , y _ { i } ) + \beta \cdot \operatorname* { m a x } _ { \boldsymbol { x } ^ { \prime } \in B _ { \epsilon } ^ { p } ( \boldsymbol { x } ) } \operatorname { K L } ( f _ { w } ( x _ { i } ) | | f _ { w } ( x _ { i } ^ { \prime } ) ) \right\} ,
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
where CE is the cross-entropy loss that encourages the network to maximize the natural accuracy, KL is the Kullback-Leibler divergence that encourages to improve the robust accuracy, and $\beta$ is the hyperparameter to control the trade-off between natural accuracy and adversarial robustness.
|
| 66 |
+
|
| 67 |
+
Robust Self-Training (RST). RST (Carmon et al., 2019) utilize additional 500K unlabeled data extracted from the 80 Million Tiny Images dataset (Torralba et al., 2008). RST first leverages the surrogate natural model to generate pseudo-labels for these unlabeled data, and then adversarially trains the network with both additional pseudo-labeled unlabeled data $( \tilde { x } , \tilde { y } )$ and original labeled data $( x , y )$ in a supervised setting:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\ell ^ { \mathrm { R S T } } ( \boldsymbol { w } ; x , y , \tilde { x } , \tilde { y } ) = \ell ^ { \mathrm { T R A D E S } } ( \boldsymbol { w } ; x , y ) + \lambda \cdot \ell ^ { \mathrm { T R A D E S } } ( \boldsymbol { w } ; \tilde { x } , \tilde { y } ) ,
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
where $\lambda$ is the weight on unlabeled data.
|
| 74 |
+
|
| 75 |
+
# 2.3 ROBUST OVERFITTING
|
| 76 |
+
|
| 77 |
+
Nowadays, there are effective countermeasures to alleviate the overfitting in standard training. But in adversarial training, robust overfitting widely exists and those common countermeasures used in standard training help little (Rice et al., 2020). Schmidt et al. (2018) explains robust overfitting partially from the perspective of sample complexity, and is supported by empirical results in derivative works, such as adversarial training with semi-supervised learning (Carmon et al., 2019; Uesato et al., 2019; Zhai et al., 2019), robust local feature (Song et al., 2020) and data interpolation (Zhang & Xu, 2019; Lee et al., 2020; Chen et al., 2021). Separate works have also attempt to mitigate robust overfitting by the unequal treatment of data (Zhang et al., 2020b) and weight smoothing (Chen et al., 2020b). Recent study (Wu et al., 2020) reveals the connection between the flatness of weight loss landscape and robust generalization gap, and proposes to incorporate adversarial weight perturbation mechanism in the adversarial training framework. Despite the efficacy of adversarial weight perturbation in suppressing the robust overfitting in adversarial training, a deeper understanding of the cause of robust overfitting and a clear direction for valid weight perturbation is largely missing. The outer maximization in Eq.(1) lacks an effective criterion to regulate and constrain the extent of weight perturbation, which in turn influences the optimization of the outer minimization problem. In this paper, we propose such a criterion and provide new understanding of the robust overfitting in adversarial training. Following this, we design a robust weight perturbation strategy that significantly improves the robustness of adversarial training.
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 1: (a): Test robustness of AWP with varying weight perturbation size; (b): The learning curve of vanilla AT; (c): Test robustness of AWP with varying LSC range.
|
| 81 |
+
|
| 82 |
+
# 3 LOSS STATIONARY CONDITION
|
| 83 |
+
|
| 84 |
+
In this section, we first empirically investigate the relationship between weight perturbation robustness and adversarial robustness, and then propose a new criterion to monitor the training status of different adversarial examples in the learning process of adversarial training, which leads to a new perspective of robust overfitting. To this end, some discussions about robust overfitting and adversarial weight perturbation are provided.
|
| 85 |
+
|
| 86 |
+
Does Weight Perturbation Robustness Lead to Better Adversarial Robustness? First, we investigate whether the robustness against weight perturbation is beneficial to the adversarial robustness. In particular, we train PreAct ResNet-18 with AWP on CIFAR-10 using varying weight perturbation size from $0 \gamma , \gamma / 8 , \gamma / 4 , \gamma / 2 , \gamma , 2 \gamma , 4 \gamma$ to $8 \gamma$ . In each setting, we evaluate the robustness of the model against 20-step PGD (PGD-20) attacks on CIFAR-10 test images. As shown in Figure 1(a), when varying weight perturbation size, the best adversarial robustness has a certain improvement in the early stage. When weight perturbation size is large, the best adversarial robustness begins to decrease significantly as the size of the perturbation increases. It might be explained by the fact that the network has to sacrifice adversarial robustness to allocate more capacity to defend against weight perturbation, which implies that weight perturbation robustness and adversarial robustness are not actually mutually beneficial. The performance gain of AWP is mainly due to suppressing robust overfitting.
|
| 87 |
+
|
| 88 |
+
Loss Stationary Condition. In order to further understand the robust overfitting, we propose a criterion that divides the training adversarial examples into different groups according to their classification loss:
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\mathrm { L S C } [ p , q ] = \{ x ^ { \prime } \in \mathcal { X } \mid p \leq \ell ( f _ { w } ( x ^ { \prime } ) , y ) \leq q \} ,
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+

|
| 95 |
+
Figure 2: The weight loss landscape of different LSC groups on different checkpoints.
|
| 96 |
+
|
| 97 |
+
where $p \leq q$ . The adversarial examples in the group all satisfy their classification loss within a certain range, which is termed Loss Stationary Condition (LSC). The proposed criterion LSC allows the analysis of training status of different adversarial examples independently, and provides more insights into the robust overfitting.
|
| 98 |
+
|
| 99 |
+
LSC View of Robust Overfitting. To provide details of the robust overfitting in adversarial training, we train a PreAct ResNet-18 for 200 epochs on CIFAR-10 using PGD-10 with step size $\epsilon / 4$ , maximum perturbation $\epsilon = 8 / 2 5 5$ , following the standard setting in Madry et al. (2017). The learning curve is shown in Figure 1(b). For each intermediate model, we then apply the same PGD-10 attack on CIFAR-10 training images to craft adversarial examples, and divide the crafted adversarial examples into 6 consecutive LSC groups ranging from 0.0 to 3.0. Then, we use the weight loss landscape to characterize the training status of the adversarial examples in each LSC group, which plots the classification loss change when perturbing the model weight $\pmb { w }$ by a random noise $^ d$ with magnitude $\mu$ :
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
g _ { j } ( \mu ) = \frac { 1 } { n _ { j } } \sum _ { i = 1 } ^ { n _ { j } } \ell ( f _ { w + \mu d } ( x _ { i j } ^ { \prime } ) , y _ { i j } ) , \ x _ { i j } ^ { \prime } \in \mathrm { L S C } [ p _ { j } , q _ { j } ] ,
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
where $j$ is the number of groups, $n _ { j }$ is the number of adversarial examples in $j$ -th LSC group, and $^ d$ is filter normalized by $\begin{array} { r } { d \gets \frac { d } { | | d | | } | | \boldsymbol { w } | | } \end{array}$ following Li et al. (2017). It is worth noting that weight loss landscape has been widely used to characterize the generalization gap (Neyshabur et al., 2017; Foret et al., 2020; Wu et al., 2020). Here, we use it to characterize the training status of different adversarial examples. For training adversarial examples, the higher the degree of overfitting by the model, the more sensitive its loss is to model weight perturbations, thus making the weight loss landscape sharper. Here the weight loss curve sharpness is served as a comparable measurement of overfitting strength. Besides, another key difference to previous works lies on the LSC criterion used for visualization, which provides more insights into the robust overfitting.
|
| 106 |
+
|
| 107 |
+
We show the weight loss curve of each LSC group on different checkpoints in Figure 2. In the early stage of training (between 100 and 120 epoch), it can be seen that the weight loss curve of the LSC group with small loss is obviously sharper than that of the LSC group with large loss, which indicates that the adversarial examples with small classification loss were first overfitted. As the training progresses, the weight loss curves of all LSC groups become very sharp, which shows that the network overfits all adversarial examples. These observations suggest that robust overfitting exists a diffusion process: the model will first memorize some easy-to-learn adversarial examples, and then spread to the entire training dataset.
|
| 108 |
+
|
| 109 |
+
Algorithm 1 Robust Weight Perturbation
|
| 110 |
+
|
| 111 |
+
<table><tr><td>igorlhhTKobustWergntFerturbaton Input: Network fw, training data S,mini-batch B,batch size n,learning rate n,PGD step size α,</td></tr><tr><td>PGD steps K1,PGD constraint ε, RWP steps K2, RWP constraint γ, minimum LSC value Cmin· Output: Adversarially robust model fw · repeat</td></tr><tr><td>Read mini-batch xp from training set S. xB ← xB +δ,where δ ~ Uniform(-∈,∈) for k=1 to K1 do</td></tr><tr><td>x' ←II(xB+α·sign(Vxsl(fw(xB),y)))</td></tr><tr><td>end for</td></tr><tr><td>Initialize v = 0</td></tr><tr><td>for k=1 to K2 do</td></tr><tr><td>V = 1B(l(fw+u(xs),y)≤ Cmin)</td></tr><tr><td>if∑V=0 then</td></tr><tr><td>break</td></tr><tr><td></td></tr><tr><td>else</td></tr><tr><td>v ← v+ Vu(V ·l(fw+v(xs),y))</td></tr><tr><td>U←Yw</td></tr><tr><td>end if</td></tr><tr><td>w ←(w+v)-nVw+vn∑i=1l(fw+u(x'g),y(i))-v</td></tr><tr><td>end for</td></tr></table>
|
| 112 |
+
|
| 113 |
+
LSC view of Adversarial Weight Perturbation. To provide more insight into how AWP suppresses robust overfitting, we train PreAct ResNet-18 on CIFAR-10 by varying the LSC group that performs adversarial weight perturbation. In each setting, we evaluate the robustness of the model against PGD-20 attacks on CIFAR-10 test images. As shown in Figure 1(c), when varying the LSC range, we can observe that conducting adversarial weight perturbation on adversarial examples with small classification loss is sufficient to suppress robust overfitting. Recalling the diffusion process in robust overfitting, we can infer that to eliminate robust overfitting, it is essential to prevent the model from memorizing the easy-to-learn adversarial examples. Besides, it is observed that conducting adversarial weight perturbation on adversarial examples with large classification loss leads to worse adversarial robustness, which again verifies that the robustness against weight perturbation will not bring adversarial robustness gain, or even on the contrary, it undermines the adversarial robustness enhancement.
|
| 114 |
+
|
| 115 |
+
Do We Really Need the Worst-case Weight Perturbation? As aforementioned, the robustness against weight perturbation is detrimental to the adversarial robustness enhancement. Therefore, to purely prevent the network from memorizing the adversarial examples with small classification loss, conducting worst-case weight perturbation on these adversarial examples is not necessary, since it will also deteriorate the adversarial robustness. In the next section, we will propose a robust perturbation strategy to address this issue.
|
| 116 |
+
|
| 117 |
+
# 4 ROBUST WEIGHT PERTURBATION
|
| 118 |
+
|
| 119 |
+
In this section, we introduce the proposed robust weight perturbation strategy and its algorithmic realization.
|
| 120 |
+
|
| 121 |
+
As mentioned in Section 3, conducting adversarial weight perturbation on adversarial examples with small classification loss is enough to prevent robust overfitting and leads to higher robustness. However, conducting adversarial weight perturbation on adversarial examples with large classification loss may not be helpful. Recalling the criterion LSC proposed in Section 3, we have seen that it is closely correlated with the tendency of adversarial example to be overfitted. Thus, it can be used to regulate the extent of weight perturbation at a fine-grained level. Therefore, we propose to train network with adversarial examples that are all above a minimum LSC value, so as to ensure that no robust overfitting occurs while avoiding the side effect of excessive weight perturbation. Let $c _ { m i n }$ be the minimum LSC value. Instead of generating weight perturbation $\textbf { { v } }$ via outer maximization in Eq.(1), we generate $\pmb { v }$ as follows:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array} { r l } { \pmb { v } ^ { k + 1 } = \pmb { v } ^ { k } + \nabla _ { \pmb { v } ^ { k } } \cfrac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \mathbb { 1 } ( x _ { i } ^ { \prime } , y _ { i } ) \ell ( f _ { \pmb { w + v } ^ { k } } ( x _ { i } ^ { \prime } ) , y _ { i } ) , } & { } \\ { \mathrm { w h e r e } \quad \mathbb { 1 } ( x _ { i } ^ { \prime } , y _ { i } ) = \left\{ \begin{array} { l l } { 0 } & { \mathrm { i f ~ } \ell ( f _ { \pmb { w + v } ^ { k } } ( x _ { i } ^ { \prime } ) , y _ { i } ) > c _ { m i n } } \\ { 1 } & { \mathrm { i f ~ } \ell ( f _ { \pmb { w + v } ^ { k } } ( x _ { i } ^ { \prime } ) , y _ { i } ) \leq c _ { m i n } } \end{array} \right. } \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
The proposed Robust Weight Perturbation (RWP) algorithm is shown in Algorithm 1. We use PGD attack (Madry et al., 2017) to generate the training adversarial examples, which can be also extended to other variants such as TRADES (Zhang et al., 2019) and RST (Carmon et al., 2019). The mimimum LSC value $c _ { m i n }$ controls the minimum classification loss (minimum weight perturbation strength) of the adversarial examples during network training. In the early stages of training, the classification loss of adversarial example is generally larger than $c _ { m i n }$ corresponding to no weight perturbation process. The classification loss of adversarial examples then decreases as training progresses. At each optimization step, we monitor the classification loss of the adversarial example and conduct the weight perturbation process for adversarial examples whose classification loss is already smaller than $c _ { m i n }$ , enabled by an indicator control vector $V$ . At each perturbation step, the weight perturbation $\pmb { v }$ will be updated to increase the classification loss of the corresponding adversarial example. When the classification loss of training adversarial examples is all higher than $c _ { m i n }$ or the number of perturbation step reaches the defined value, we stop the weight perturbation process and inject the generated weight perturbation $\textbf { { v } }$ for adversarial training.
|
| 128 |
+
|
| 129 |
+
# 5 EXPERIMENTS
|
| 130 |
+
|
| 131 |
+
In this section, we conduct comprehensive experiments to evaluate the effectiveness of RWP including its experimental settings, robustness evaluation and ablation studies.
|
| 132 |
+
|
| 133 |
+
# 5.1 EXPERIMENTAL SETUP
|
| 134 |
+
|
| 135 |
+
Baselines and Implementation Details. Our implementation is based on PyTorch and the code as well as other related resources will be released for public use and verification. We conduct extensive experiments across three benchmark datasets (CIFAR-10 (Krizhevsky et al., 2009), CIFAR100 (Krizhevsky et al., 2009) and SVHN (Netzer et al., 2011)) and two threat models $L _ { \infty }$ and $L _ { 2 }$ ). We use PreAct ResNet-18 (He et al., 2016) and Wide ResNet (WRN-28-10 and WRN-34-10) (Zagoruyko & Komodakis, 2016) as the network structure following Wu et al. (2020). We compare the performance of the proposed method on a number of baseline methods: 1) standard adversarial training without weight perturbation, including vanilla AT (Madry et al., 2017), TRADES (Zhang et al., 2019) and RST (Carmon et al., 2019); 2) adversarial training with adversarial weight perturbation (AWP) (Wu et al., 2020). For training, the network is trained for 200 epochs using SGD with momentum 0.9, weight decay $5 \times 1 0 ^ { - 4 }$ , and an initial learning rate of 0.1. The learning rate is divided by 10 at the 100-th and 150-th epoch. Standard data augmentation including random crops with 4 pixels of padding and random horizontal flips are applied. For testing, model robustness is evaluated by measuring the accuracy of the model under different adversarial attacks. For hyperparameters in RWP, we set perturbation step $K _ { 2 } = 1 0$ for all datasets. The minimum LSC value $c _ { m i n } = 1 . 7$ for CIFAR-10, $c _ { m i n } = 2 . 2$ for SVHN and $c _ { m i n } = 4 . 0$ for CIFAR-100. The weight perturbation budget of $\gamma = 0 . 0 1$ for AT-RWP, $\gamma = 0 . 0 0 5$ for TRADES-RWP and RST-RWP following literature (Wu et al., 2020). Other hyper-parameters of the baselines are configured as per their original papers.
|
| 136 |
+
|
| 137 |
+
Adversarial Setting. The training attack is 10-step PGD attack with random start. We follow the same settings in Rice et al. (2020) : for $L _ { \infty }$ threat model, $\epsilon = 8 / 2 5 5$ , step size $\alpha = 1 / 2 5 5$ for SVHN, and $\alpha = 2 / 2 5 5$ for both CIFAR10 and CIFAR100; for $L _ { 2 }$ threat model, $\epsilon = 1 2 8 / 2 5 5$ , step size $\alpha = 1 5 / 2 5 5$ for all datasets. The test attacks used for robustness evaluation are generated from the original test set images by attacking the defense models using different attacking methods, including: FGSM, PGD-20, PGD-100, $\mathrm { C } \& \mathbf { W } _ { \infty }$ $L _ { \infty }$ version of C&W optimized by PGD for 100 steps) and Auto Attack (AA).
|
| 138 |
+
|
| 139 |
+
# 5.2 ROBUSTNESS EVALUATION
|
| 140 |
+
|
| 141 |
+
Performance Evaluations. To validate the effectiveness of the proposed RWP, we conduct performance evaluation on vanilla AT, AT-AWP and AT-RWP across different benchmark datasets and threat models using PreAct ResNet-18. We report the accuracy on the test images under PGD-20 attack. The evaluation results are summarized in Table 1. “Best” denotes the highest robustness that ever achieved at different checkpoints and ”last” denotes the robustness at the last epoch checkpoint. It is observed vanilla AT suffers from severe robust overfitting (the performance gap between ”best” and ”last” is very large). AT-AWP and AT-RWP method narrow the performance gap significantly over the vanilla AT model due to suppression of robust overfitting. Moreover, on CIFAR-10 dataset under the $L _ { \infty }$ attack, vanilla AT achieves $5 2 . 7 9 \%$ ”best” test robustness. The AT-AWP approach boosts the performance to $5 5 . 3 9 \%$ . The proposed approach further outperforms both methods by a large margin, improving over vanilla AT by $5 . 7 6 \%$ , and is $3 . 1 6 \%$ better than AT-AWP, achieving $5 8 . 5 5 \%$ accuracy under the standard 20 steps PGD attack. Similar patten has been observed on other datasets and threat model. AT-RWP consistently improves the test robustness across a wide range of datasets and threat models, demonstrating the effectiveness of the proposed approach.
|
| 142 |
+
|
| 143 |
+
Table 1: Test robustness $( \% )$ of AT, AT-AWP and AT-RWP using PreAct ResNet-18.
|
| 144 |
+
|
| 145 |
+
<table><tr><td rowspan="2">Threat Model</td><td rowspan="2">Method</td><td colspan="2">SVHN</td><td colspan="2">CIFAR-10</td><td colspan="2">CIFAR-100</td></tr><tr><td>Best</td><td>Last</td><td>Best</td><td>Last</td><td>Best</td><td>Last</td></tr><tr><td rowspan="3">L8</td><td>AT</td><td>53.36</td><td>44.49</td><td>52.79</td><td>44.44</td><td>27.22</td><td>20.82</td></tr><tr><td>AT-AWP</td><td>59.12</td><td>55.87</td><td>55.39</td><td>54.73</td><td>30.71</td><td>30.28</td></tr><tr><td>AT-RWP</td><td>61.15</td><td>57.45</td><td>58.55</td><td>58.01</td><td>31.17</td><td>30.64</td></tr><tr><td rowspan="3">L2</td><td>AT</td><td>66.87</td><td>65.03</td><td>69.15</td><td>65.93</td><td>41.33</td><td>35.27</td></tr><tr><td>AT-AWP</td><td>72.57</td><td>67.73</td><td>72.69</td><td>72.08</td><td>45.60</td><td>44.66</td></tr><tr><td>AT-RWP</td><td>73.35</td><td>69.48</td><td>74.47</td><td>73.84</td><td>45.71</td><td>45.05</td></tr></table>
|
| 146 |
+
|
| 147 |
+
Benchmarking the state-of-the-art Robustness. To manifest the full power of our proposed perturbation strategy and also benchmark the state-of-the-art robustness on CIFAR-10 under $\mathrm { L } _ { \infty }$ threat model, we conduct experiments on the large capacity network with different baseline methods. We train Wide ResNet-34-10 for AT and TRADES, and Wide ResNet-28-10 for RST following their original papers. We evaluate the adversarial robustness of trained model with various test attack and report the “best” test robustness, with the results shown in Table 2. “Natural” denotes the accuracy on natural test data. First, it is observed that the natural accuracy of RWP model consistently outperforms AWP by a large margin. It is due to the benefits that our RWP avoids the excessive weight perturbation. Moreover, RWP achieves the best adversarial robustness against all types of attack across a wide range of baseline methods, which verifies that RWP is effective in general and improves adversarial robustness reliably rather than improper tuning of hyper-parameters of attacks, gradient obfuscation or masking.
|
| 148 |
+
|
| 149 |
+
Table 2: Test robustness $( \% )$ on CIFAR-10 using Wide ResNet under $L _ { \infty }$ threat model.
|
| 150 |
+
|
| 151 |
+
<table><tr><td>Defense</td><td>Natural</td><td>FGSM</td><td>PGD-20</td><td>PGD-100</td><td>C&W</td><td>AA</td></tr><tr><td>AT</td><td>86.07</td><td>61.76</td><td>56.10</td><td>55.79</td><td>54.19</td><td>52.60</td></tr><tr><td>AT-AWP</td><td>85.57</td><td>62.90</td><td>58.14</td><td>57.94</td><td>55.96</td><td>54.04</td></tr><tr><td>AT-RWP</td><td>86.86</td><td>66.22</td><td>62.87</td><td>62.87</td><td>56.62</td><td>54.61</td></tr><tr><td>TRADES</td><td>84.65</td><td>61.32</td><td>56.33</td><td>56.07</td><td>54.20</td><td>53.08</td></tr><tr><td>TRADES-AWP</td><td>85.36</td><td>63.49</td><td>59.27</td><td>59.12</td><td>57.07</td><td>56.17</td></tr><tr><td>TRADES-RWP</td><td>86.14</td><td>64.70</td><td>60.45</td><td>60.30</td><td>58.07</td><td>57.20</td></tr><tr><td>RST</td><td>89.69</td><td>69.60</td><td>62.60</td><td>62.22</td><td>60.47</td><td>59.53</td></tr><tr><td>RST-AWP</td><td>88.25</td><td>67.94</td><td>63.73</td><td>63.58</td><td>61.62</td><td>60.05</td></tr><tr><td>RST-RWP</td><td>88.87</td><td>69.71</td><td>64.11</td><td>63.92</td><td>62.03</td><td>60.36</td></tr></table>
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
Figure 3: The ablation study experiments on CIFAR-10.
|
| 155 |
+
|
| 156 |
+
# 5.3 ABLATION STUDIES
|
| 157 |
+
|
| 158 |
+
In this part, we investigate the impacts of algorithmic components using AT-RWP on PreAct ResNet18 under $L _ { \infty }$ threat model with $\epsilon = 8 / 2 5 5$ and $\alpha = 2 / 2 5 5$ following the same setting in section 5.1. The training/test attacks are PGD-10/PGD-20 respectively.
|
| 159 |
+
|
| 160 |
+
The Importance of Minimum LSC Value. We empirically verify the effectiveness of minimum LSC value $c _ { m i n }$ , by comparing the performance of models trained using different weight perturbation schemes: 1) AT: standard adversarial training without weight perturbation (equivalent to $c _ { m i n } = 0 \mathrm { { . } }$ ); 2) AWP: weight perturbation generated via outer maximization in Eq.(1) (equivalent to $c _ { m i n } = \infty$ ); 3) RWP: weight perturbation generated using the proposed robust strategy with different $c _ { m i n }$ values. All other hyper-parameters are kept exactly the same other than the perturbation scheme used. The results are summarized in Table 3(a). It is observed that the test robustness of RWP model first increases and then decreases as the minimum LSC value increases, and the best test robustness is obtained at $c _ { m i n } = 1 . 7$ . It is evident that RWP with a wide range of $c _ { m i n }$ outperforms both AT and AWP model, demonstrating its effectiveness. Furthermore, as it is the major component that is different from the AWP pipeline, this result suggests that LSC criterion constraints is the main contributor to the improved adversarial robustness.
|
| 161 |
+
|
| 162 |
+
The Impact of Step Number. We further investigate the effect of step number $K _ { 2 }$ , by comparing the performances of model trained using different perturbation steps. The step number $K _ { 2 }$ for RWP varies from 1 to 10. The results are shown in Figure 3(b). As expected, when $K _ { 2 }$ is small, increasing $K _ { 2 }$ leads higher test robustness. When $K _ { 2 }$ increases from 7 to 10, the performance is flat, which suggests that the generating weight perturbation is sufficient to comprehensively avoid robust overfitting. Note that extra iterations will not bring computational overhead when classification loss of adversarial examples in the batch exceeds minimum LSC value $c _ { m i n }$ , as shown in Algorithm 1. Therefore, we uniformly use $K _ { 2 } = 1 0$ in our implementation.
|
| 163 |
+
|
| 164 |
+
Effect on Adversarial Robustness and Robust Overfitting. We then visualize the learning curve of AT, AWP and RWP in Figure 3(c). We observe that the test robustness of RWP model continues to increase as the training progresses. In addition, RWP outperforms AWP with a clear margin in the later stage of training. Such observations exactly reflect the nature of our approach which aims to prevent robust overfitting as well as enhance adversarial robustness.
|
| 165 |
+
|
| 166 |
+
# 6 CONCLUSION
|
| 167 |
+
|
| 168 |
+
In this paper, we proposed a criterion, Loss Stationary Condition (LSC) for constrained perturbation, to monitor the training status of different adversarial examples during network optimization. The proposed criterion provides a new understanding of robust overfitting in adversarial training. Based on LSC, we found that elimination of robust overfitting and higher robustness of adversarial training can be achieved by weight perturbation on adversarial examples with small classification loss, rather than adversarial examples with large classification loss. Following this, we proposed a Robust Weight Perturbation (RWP) strategy to monitor and regulate the extent of weight perturbation. Comprehensive experiments show that RWP is generic and can improve the state-of-the-art adversarial robustness across different adversarial training approaches, network architectures, threat models and benchmark datasets.
|
| 169 |
+
|
| 170 |
+
# REPRODUCIBILITY STATEMENT
|
| 171 |
+
|
| 172 |
+
For sake of reproducibility of our algorithm, we make the following efforts: (i) In Section 5.1, we clearly state the implementation details, including benchmark datasets, network structure, baselines, training and test parameter setting as well as training and test attack setting. (ii) In Section 5.3, we evaluate the sensitivity of the algorithm to hyperparameters and show the detailed hyperparameter tuning process. (iii) At last, we open-source the source code of RWP algorithm, available at supplementary material.
|
| 173 |
+
|
| 174 |
+
# REFERENCES
|
| 175 |
+
|
| 176 |
+
Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion, and Matthias Hein. Square attack: a query-efficient black-box adversarial attack via random search. In European Conference on Computer Vision, pp. 484–501. Springer, 2020.
|
| 177 |
+
|
| 178 |
+
Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In International conference on machine learning, pp. 274–283. PMLR, 2018.
|
| 179 |
+
|
| 180 |
+
Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machinelearning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019.
|
| 181 |
+
|
| 182 |
+
Qi-Zhi Cai, Min Du, Chang Liu, and Dawn Song. Curriculum adversarial training. arXiv preprint arXiv:1805.04807, 2018.
|
| 183 |
+
|
| 184 |
+
Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 ieee symposium on security and privacy (sp), pp. 39–57. IEEE, 2017.
|
| 185 |
+
|
| 186 |
+
Yair Carmon, Aditi Raghunathan, Ludwig Schmidt, Percy Liang, and John C Duchi. Unlabeled data improves adversarial robustness. arXiv preprint arXiv:1905.13736, 2019.
|
| 187 |
+
|
| 188 |
+
Chen Chen, Jingfeng Zhang, Xilie Xu, Tianlei Hu, Gang Niu, Gang Chen, and Masashi Sugiyama. Guided interpolation for adversarial training. arXiv preprint arXiv:2102.07327, 2021.
|
| 189 |
+
|
| 190 |
+
Jinghui Chen, Dongruo Zhou, Jinfeng Yi, and Quanquan Gu. A frank-wolfe framework for efficient and effective adversarial attacks. In AAAI, pp. 3486–3494, 2020a.
|
| 191 |
+
|
| 192 |
+
Tianlong Chen, Zhenyu Zhang, Sijia Liu, Shiyu Chang, and Zhangyang Wang. Robust overfitting may be mitigated by properly learned smoothening. In International Conference on Learning Representations, 2020b.
|
| 193 |
+
|
| 194 |
+
Francesco Croce and Matthias Hein. Minimally distorted adversarial examples with a fast adaptive boundary attack. In International Conference on Machine Learning, pp. 2196–2205. PMLR, 2020a.
|
| 195 |
+
|
| 196 |
+
Francesco Croce and Matthias Hein. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks. In International conference on machine learning, pp. 2206– 2216. PMLR, 2020b.
|
| 197 |
+
|
| 198 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 199 |
+
|
| 200 |
+
Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, and Jianguo Li. Boosting adversarial attacks with momentum. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 9185–9193, 2018.
|
| 201 |
+
|
| 202 |
+
Xuefeng Du, Jingfeng Zhang, Bo Han, Tongliang Liu, Yu Rong, Gang Niu, Junzhou Huang, and Masashi Sugiyama. Learning diverse-structured networks for adversarial robustness. arXiv preprint arXiv:2102.01886, 2021.
|
| 203 |
+
|
| 204 |
+
Logan Engstrom, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. A rotation and a translation suffice: Fooling cnns with simple transformations. arXiv preprint arXiv:1712.02779, 1(2):3, 2017.
|
| 205 |
+
|
| 206 |
+
Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. Exploring the landscape of spatial robustness. In International Conference on Machine Learning, pp. 1802–1811. PMLR, 2019.
|
| 207 |
+
|
| 208 |
+
Pierre Foret, Ariel Kleiner, Hossein Mobahi, and Behnam Neyshabur. Sharpness-aware minimization for efficiently improving generalization. arXiv preprint arXiv:2010.01412, 2020.
|
| 209 |
+
|
| 210 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
|
| 211 |
+
|
| 212 |
+
Chuan Guo, Mayank Rana, Moustapha Cisse, and Laurens Van Der Maaten. Countering adversarial images using input transformations. In International Conference on Learning Representations, 2018.
|
| 213 |
+
|
| 214 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 215 |
+
|
| 216 |
+
Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. In International Conference on Machine Learning, pp. 2712–2721. PMLR, 2019.
|
| 217 |
+
|
| 218 |
+
Harini Kannan, Alexey Kurakin, and Ian Goodfellow. Adversarial logit pairing. arXiv preprint arXiv:1803.06373, 2018.
|
| 219 |
+
|
| 220 |
+
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 221 |
+
|
| 222 |
+
Saehyung Lee, Hyungyu Lee, and Sungroh Yoon. Adversarial vertex mixup: Toward better adversarially robust generalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 272–281, 2020.
|
| 223 |
+
|
| 224 |
+
Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. arXiv preprint arXiv:1712.09913, 2017.
|
| 225 |
+
|
| 226 |
+
Fangzhou Liao, Ming Liang, Yinpeng Dong, Tianyu Pang, Xiaolin Hu, and Jun Zhu. Defense against adversarial attacks using high-level representation guided denoiser. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1778–1787, 2018.
|
| 227 |
+
|
| 228 |
+
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017.
|
| 229 |
+
|
| 230 |
+
Jan Hendrik Metzen, Tim Genewein, Volker Fischer, and Bastian Bischoff. On detecting adversarial perturbations. In International Conference on Learning Representations, 2017.
|
| 231 |
+
|
| 232 |
+
Marius Mosbach, Maksym Andriushchenko, Thomas Trost, Matthias Hein, and Dietrich Klakow. Logit pairing methods can fool gradient-based attacks. arXiv preprint arXiv:1810.12042, 2018.
|
| 233 |
+
|
| 234 |
+
Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. 2011.
|
| 235 |
+
|
| 236 |
+
Behnam Neyshabur, Srinadh Bhojanapalli, David McAllester, and Nathan Srebro. Exploring generalization in deep learning. arXiv preprint arXiv:1706.08947, 2017.
|
| 237 |
+
|
| 238 |
+
Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy $( S P )$ ), pp. 582–597. IEEE, 2016.
|
| 239 |
+
|
| 240 |
+
Leslie Rice, Eric Wong, and Zico Kolter. Overfitting in adversarially robust deep learning. In International Conference on Machine Learning, pp. 8093–8104. PMLR, 2020.
|
| 241 |
+
|
| 242 |
+
Andrew Ross and Finale Doshi-Velez. Improving the adversarial robustness and interpretability of deep neural networks by regularizing their input gradients. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
|
| 243 |
+
|
| 244 |
+
Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. Advances in Neural Information Processing Systems, 31:5014–5026, 2018.
|
| 245 |
+
|
| 246 |
+
Adi Shamir, Itay Safran, Eyal Ronen, and Orr Dunkelman. A simple explanation for the existence of adversarial examples with small hamming distance. arXiv preprint arXiv:1901.10861, 2019.
|
| 247 |
+
|
| 248 |
+
Chubiao Song, Kun He, Jiadong Lin, Liwei Wang, and John E Hopcroft. Robust local features for improving the generalization of adversarial training. In International Conference on Learning Representations, 2020.
|
| 249 |
+
|
| 250 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
|
| 251 |
+
|
| 252 |
+
Guanhong Tao, Shiqing Ma, Yingqi Liu, and Xiangyu Zhang. Attacks meet interpretability: Attribute-steered detection of adversarial samples. In Advances in Neural Information Processing Systems, pp. 7717–7728, 2018.
|
| 253 |
+
|
| 254 |
+
Antonio Torralba, Rob Fergus, and William T Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. IEEE transactions on pattern analysis and machine intelligence, 30(11):1958–1970, 2008.
|
| 255 |
+
|
| 256 |
+
Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc- \` Daniel. Ensemble adversarial training: Attacks and defenses. In International Conference on Learning Representations, 2018.
|
| 257 |
+
|
| 258 |
+
Florian Tramer, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. On adaptive attacks to adversarial example defenses. arXiv preprint arXiv:2002.08347, 2020.
|
| 259 |
+
|
| 260 |
+
Jonathan Uesato, Jean-Baptiste Alayrac, Po-Sen Huang, Robert Stanforth, Alhussein Fawzi, and Pushmeet Kohli. Are labels required for improving adversarial robustness? arXiv preprint arXiv:1905.13725, 2019.
|
| 261 |
+
|
| 262 |
+
Yisen Wang, Xuejiao Deng, Songbai Pu, and Zhiheng Huang. Residual convolutional ctc networks for automatic speech recognition. arXiv preprint arXiv:1702.07793, 2017.
|
| 263 |
+
|
| 264 |
+
Yisen Wang, Xingjun Ma, James Bailey, Jinfeng Yi, Bowen Zhou, and Quanquan Gu. On the convergence and robustness of adversarial training. In ICML, volume 1, pp. 2, 2019a.
|
| 265 |
+
|
| 266 |
+
Yisen Wang, Difan Zou, Jinfeng Yi, James Bailey, Xingjun Ma, and Quanquan Gu. Improving adversarial robustness requires revisiting misclassified examples. In International Conference on Learning Representations, 2019b.
|
| 267 |
+
|
| 268 |
+
Boxi Wu, Heng Pan, Li Shen, Jindong Gu, Shuai Zhao, Zhifeng Li, Deng Cai, Xiaofei He, and Wei Liu. Attacking adversarial attacks as a defense. arXiv preprint arXiv:2106.04938, 2021.
|
| 269 |
+
|
| 270 |
+
Dongxian Wu, Shu-Tao Xia, and Yisen Wang. Adversarial weight perturbation helps robust generalization. arXiv preprint arXiv:2004.05884, 2020.
|
| 271 |
+
|
| 272 |
+
Chaowei Xiao, Jun-Yan Zhu, Bo Li, Warren He, Mingyan Liu, and Dawn Song. Spatially transformed adversarial examples. In International Conference on Learning Representations, 2018.
|
| 273 |
+
|
| 274 |
+
Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan L Yuille, and Kaiming He. Feature denoising for improving adversarial robustness. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 501–509, 2019.
|
| 275 |
+
|
| 276 |
+
Hanshu Yan, Jingfeng Zhang, Gang Niu, Jiashi Feng, Vincent YF Tan, and Masashi Sugiyama. Cifs: Improving adversarial robustness of cnns via channel-wise importance-based feature selection. arXiv preprint arXiv:2102.05311, 2021.
|
| 277 |
+
|
| 278 |
+
Yuzhe Yang, Guo Zhang, Dina Katabi, and Zhi Xu. Me-net: Towards effective adversarial robustness with matrix estimation. In International Conference on Machine Learning, pp. 7025–7034. PMLR, 2019.
|
| 279 |
+
|
| 280 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016.
|
| 281 |
+
|
| 282 |
+
Runtian Zhai, Tianle Cai, Di He, Chen Dan, Kun He, John Hopcroft, and Liwei Wang. Adversarially robust generalization just requires more unlabeled data. arXiv preprint arXiv:1906.00555, 2019.
|
| 283 |
+
|
| 284 |
+
Haichao Zhang and Wei Xu. Adversarial interpolation training: A simple approach for improving model robustness. 2019.
|
| 285 |
+
|
| 286 |
+
Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael Jordan. Theoretically principled trade-off between robustness and accuracy. In International Conference on Machine Learning, pp. 7472–7482. PMLR, 2019.
|
| 287 |
+
|
| 288 |
+
Jingfeng Zhang, Xilie Xu, Bo Han, Gang Niu, Lizhen Cui, Masashi Sugiyama, and Mohan Kankanhalli. Attacks which do not kill training make adversarial learning stronger. In International Conference on Machine Learning, pp. 11278–11287. PMLR, 2020a.
|
| 289 |
+
|
| 290 |
+
Jingfeng Zhang, Jianing Zhu, Gang Niu, Bo Han, Masashi Sugiyama, and Mohan Kankanhalli. Geometry-aware instance-reweighted adversarial training. arXiv preprint arXiv:2010.01736, 2020b.
|
| 291 |
+
|
| 292 |
+
# A APPENDIX
|
| 293 |
+
|
| 294 |
+
In this part, we verify the generalities of diffusion process in robust overfitting (the model will first memorize some easy-to-learn adversarial examples, and then spread to the entire training dataset) across different threat models, datasets and network architectures. Specifically, we remove the training examples whose loss value is lower than the LSC value during adversarial training. The learning curve and the rate of removal are shown in Figure 4. We can observe that if these easy-to-learn adversarial examples are not included in the training data, robust overfitting will not occur during adversarial training, which verified our conclusion.
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
Figure 4: The learning curve and removing rate of adversarial training under (a) Cifar10 - $L _ { \infty }$ - PreAct ResNet18; (b) Cifar10 - $L _ { 2 }$ - PreAct ResNet18; (c) Cifar $1 0 0 - L _ { \infty }$ - PreAct ResNet18; (d) Cifar $1 0 0 - L _ { \infty }$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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ROBUST WEIGHT PERTURBATION FORADVERSARIAL TRAINING",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
633,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Overfitting widely exists in adversarial robust training of deep networks. An effective and promising remedy is adversarial weight perturbation, which injects the worst-case weight perturbation during network training by maximizing the classification loss on adversarial examples. Adversarial weight perturbation helps reduce the robust generalization gap; however, it also undermines the robustness enhancement. A criterion that regulates the weight perturbation is therefore crucial for adversarial training. In this paper, we propose such a criterion, namely Loss Stationary Condition (LSC) for constrained perturbation. With LSC, we find that deep network first overfits the adversarial examples with small loss, and then gradually develops to overfit all adversarial examples in the later stage of training. Following this, we find that it is essential to conduct weight perturbation on adversarial data with small classification loss to eliminate overfitting in adversarial training. Weight perturbation on adversarial data with large classification loss is not necessary and may even lead to poor robustness. Based on these observations, we propose a robust perturbation strategy to constrain the extent of weight perturbation. The perturbation strategy prevents deep networks from overfitting while avoiding the side effect of excessive weight perturbation, significantly improving the robustness of adversarial training. Extensive experiments demonstrate the superiority of the proposed method over the state-of-the-art adversarial training methods. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
273,
|
| 43 |
+
764,
|
| 44 |
+
550
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
593,
|
| 55 |
+
334,
|
| 56 |
+
609
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Although deep neural networks (DNNs) have led to impressive breakthroughs in a number of fields such as computer vision (He et al., 2016), speech recognition (Wang et al., 2017), and natural language processing (Devlin et al., 2018), they are extremely vulnerable to adversarial examples that are crafted by adding small and human-imperceptible perturbation to normal examples (Szegedy et al., 2013; Goodfellow et al., 2014). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
631,
|
| 66 |
+
823,
|
| 67 |
+
700
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "The vulnerability of DNNs has attracted extensive attention and led to a large number of defense techniques against adversarial examples. Across existing defenses, adversarial training (AT) is one of the strongest empirical defenses. AT directly incorporates adversarial examples into the training process to solve a min-max optimization problem (Madry et al., 2017), which can obtain models with moderate adversarial robustness and has not been comprehensively attacked (Athalye et al., 2018). However, different from the standard training scenario, overfitting is a dominant phenomenon in adversarial robust training of deep networks (Rice et al., 2020). After a certain point in AT, the robust performance on test data will continue to degrade with further training. This phenomenon, termed as robust overfitting, breaches the common practice in deep learning that using over-parameterized networks and training for as long as possible (Neyshabur et al., 2017; Belkin et al., 2019). Such anomaly in AT causes detrimental effects on the robust generalization performance and subsequent algorithm assessment (Rice et al., 2020; Chen et al., 2020b). Relief techniques that mitigate robust overfitting have thus become crucial for stable adversarial training. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
708,
|
| 77 |
+
825,
|
| 78 |
+
888
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "An effective and promising remedy for robust overfitting is Adversarial Weight Perturbation (AWP) (Wu et al., 2020), which forms a double-perturbation mechanism in the adversarial training framework that adversarially perturbs both inputs and weights: ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
895,
|
| 88 |
+
821,
|
| 89 |
+
922
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
609,
|
| 100 |
+
118
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "equation",
|
| 106 |
+
"img_path": "images/7291a5ecc48ec28aa86438dd16259ae630db3e03eae87e519da7d54998a58aef.jpg",
|
| 107 |
+
"text": "$$\n\\operatorname* { m i n } _ { w } \\operatorname* { m a x } _ { v \\in \\mathcal { V } } \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\operatorname* { m a x } _ { | | x _ { i } ^ { \\prime } - x _ { i } | | _ { p } \\leq \\epsilon } \\ell ( f _ { w + v } ( x _ { i } ^ { \\prime } ) , y _ { i } ) ,\n$$",
|
| 108 |
+
"text_format": "latex",
|
| 109 |
+
"bbox": [
|
| 110 |
+
351,
|
| 111 |
+
126,
|
| 112 |
+
647,
|
| 113 |
+
167
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 1
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "text",
|
| 119 |
+
"text": "where $n$ is the number of training examples, $\\boldsymbol { x } _ { i } ^ { \\prime }$ is the adversarial example of $x _ { i } , f _ { w }$ is the DNN with weight $w , \\ell ( \\cdot )$ is the loss function, $\\epsilon$ is the maximum perturbation constraint for inputs (i.e., $| | x _ { i } ^ { \\prime } - x _ { i } | | _ { p } \\leq \\epsilon )$ , and $\\nu$ is the feasible perturbation region for weights (i.e., $\\{ v \\in \\mathcal { V } : | | v | | _ { 2 } \\leq$ $\\gamma | | w | | _ { 2 } \\bigr \\}$ , where $\\gamma$ is the constraint on weight perturbation size). The inner maximization is to find adversarial examples $x _ { i } ^ { \\prime }$ within the $\\epsilon$ -ball centered at normal examples $x _ { i }$ that maximizes the classification loss $\\ell$ . On the other hand, the outer maximization is to find weight perturbation $\\textbf { { v } }$ that maximizes the loss $\\ell$ on adversarial examples to flatten the weight loss landscape and reduce robust generalization gap. This is the problem of training a weight-perturbed robust classifier on adversarial examples. Therefore, how well the weight perturbation is found directly affects the performance of the outer minimization, i.e., the robustness of the classifier. ",
|
| 120 |
+
"bbox": [
|
| 121 |
+
173,
|
| 122 |
+
174,
|
| 123 |
+
825,
|
| 124 |
+
314
|
| 125 |
+
],
|
| 126 |
+
"page_idx": 1
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"type": "text",
|
| 130 |
+
"text": "Several attack methods have been used to solve the inner maximization problem in Eq.(1), such as Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2014) and Projected Gradient Descent (PGD) (Madry et al., 2017). For the outer maximization problem, AWP (Wu et al., 2020) injects the worst-case weight perturbation to reduce robust generalization gap. However, the extent to which the weights should be perturbed has not been explored. Without an appropriate criterion to regulate the weight perturbation, the adversarial training procedure is difficult to unleash its full power. In this paper, we propose such a criterion, namely Loss Stationary Condition (LSC) for constrained perturbation, which sheds light on the nitty-gritty of robust overfitting in adversarial training, and this in turn motivates us to propose an improved weight perturbation strategy for better robustness. Our main contributions are follows: ",
|
| 131 |
+
"bbox": [
|
| 132 |
+
173,
|
| 133 |
+
320,
|
| 134 |
+
825,
|
| 135 |
+
460
|
| 136 |
+
],
|
| 137 |
+
"page_idx": 1
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"type": "text",
|
| 141 |
+
"text": "• We propose a principled criterion LSC to monitor the training status of different adversarial examples during network optimization. It provides a better understanding of robust overfitting in adversarial training, and it is also a good indicator for efficient weight perturbation. • With LSC, we find that deep network first overfits adversarial data with small classification loss and then gradually develops to overfit all adversarial data. Following this, we find that better perturbation of model weights is associated with perturbing on adversarial data with small classification loss. For adversarial data with large classification loss, weight perturbation is not necessary and can even be harmful. • We propose a robust perturbation strategy to constrain the extent of weight perturbation. Experiments show that the robust strategy significantly improves the robustness of adversarial training. ",
|
| 142 |
+
"bbox": [
|
| 143 |
+
173,
|
| 144 |
+
473,
|
| 145 |
+
826,
|
| 146 |
+
625
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "2 RELATED WORK ",
|
| 153 |
+
"text_level": 1,
|
| 154 |
+
"bbox": [
|
| 155 |
+
176,
|
| 156 |
+
646,
|
| 157 |
+
344,
|
| 158 |
+
662
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "2.1 ADVERSARIAL ATTACKS ",
|
| 165 |
+
"text_level": 1,
|
| 166 |
+
"bbox": [
|
| 167 |
+
176,
|
| 168 |
+
679,
|
| 169 |
+
387,
|
| 170 |
+
693
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "Given a normal example $( x , y )$ , a DNN $f _ { w }$ , and maximum perturbation constraint $\\epsilon$ . Let $\\mathcal { X }$ denote the input feature space and $\\mathcal { B } _ { \\epsilon } ^ { p } ( x ) = \\{ x ^ { \\prime } \\in \\mathcal { X } : | | x ^ { \\prime } - x | | _ { p } \\leq \\epsilon \\}$ be the $\\ell _ { p }$ -norm ball of radius $\\epsilon$ centered at $x$ in $\\mathcal { X }$ . The goal of adversarial attack is to find an adversarial example $x ^ { \\prime } \\in B _ { \\epsilon } ^ { p } ( x )$ that can fool the DNN to produce an incorrect output ( $f _ { w } ( x ^ { \\prime } ) \\ne y$ ). Here we selectively introduce several commonly used adversarial attack methods. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
173,
|
| 179 |
+
704,
|
| 180 |
+
825,
|
| 181 |
+
775
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "Fast Gradient Sign Method (FGSM). FGSM (Goodfellow et al., 2014) perturbs natural example $x$ for one step with step size $\\epsilon$ along the gradient direction: ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
173,
|
| 190 |
+
781,
|
| 191 |
+
820,
|
| 192 |
+
810
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "equation",
|
| 198 |
+
"img_path": "images/952e1c47e1823c3227cdfaac7c6095e657112ff88a6291e8c8541528e5f252c1.jpg",
|
| 199 |
+
"text": "$$\n\\begin{array} { r } { x ^ { \\prime } = x + \\epsilon \\cdot \\mathrm { s i g n } \\bigl ( \\nabla _ { x } \\ell ( f _ { w } ( x ) , y ) \\bigr ) . } \\end{array}\n$$",
|
| 200 |
+
"text_format": "latex",
|
| 201 |
+
"bbox": [
|
| 202 |
+
382,
|
| 203 |
+
818,
|
| 204 |
+
614,
|
| 205 |
+
837
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Projected Gradient Descent (PGD). PGD (Madry et al., 2017) is a stronger iterative variant of FGSM, which perturbs normal example $x$ for multiple steps $K$ with a smaller step size $\\alpha$ : ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
171,
|
| 214 |
+
843,
|
| 215 |
+
826,
|
| 216 |
+
872
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/79264faa6ff45f1aef7f22fa537f2dd6fffda973b3d97ded9f3ec049a5982a2f.jpg",
|
| 223 |
+
"text": "$$\nx ^ { 0 } \\sim \\mathcal { U } ( B _ { \\epsilon } ^ { p } ( x ) ) ,\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
442,
|
| 227 |
+
878,
|
| 228 |
+
553,
|
| 229 |
+
897
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "equation",
|
| 235 |
+
"img_path": "images/2a73b5ef623b75557caaff3282b72e798941ef060aaa0e6629ef5f7416d1598c.jpg",
|
| 236 |
+
"text": "$$\n\\boldsymbol { x } ^ { k } = \\Pi _ { \\mathcal { B } _ { \\epsilon } ^ { p } ( x ) } ( \\boldsymbol { x } ^ { k - 1 } + \\alpha \\cdot \\mathrm { s i g n } ( \\nabla _ { \\boldsymbol { x } ^ { k - 1 } } \\ell ( f _ { w } ( \\boldsymbol { x } ^ { k - 1 } ) , \\boldsymbol { y } ) ) ) ,\n$$",
|
| 237 |
+
"text_format": "latex",
|
| 238 |
+
"bbox": [
|
| 239 |
+
313,
|
| 240 |
+
906,
|
| 241 |
+
681,
|
| 242 |
+
926
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 1
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "where $\\mathcal { U }$ denotes the uniform distribution, $x ^ { 0 }$ denotes the normal example disturbed by a small uniform random noise, $x ^ { k }$ denotes the adversarial example at step $k$ , and $\\Pi _ { B _ { \\epsilon } ^ { p } ( x ) }$ denotes the projection function that projects the adversarial example back into the set $B _ { \\epsilon } ^ { p } ( x )$ if necessary. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
174,
|
| 251 |
+
103,
|
| 252 |
+
823,
|
| 253 |
+
147
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "AutoAttack (AA). AA (Croce & Hein, 2020b) is an ensemble of complementary attacks, which consists of three white-box attacks (APGD-CE (Croce & Hein, 2020b), APGD-DLR (Croce & Hein, 2020b), and FAB (Croce & Hein, 2020a)) and a black-box attack (Square Attack (Andriushchenko et al., 2020)). AA regards models to be robust only if the models correctly classify all types of adversarial examples, which is among the most reliable evaluation of adversarial robustness to date. ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
174,
|
| 262 |
+
154,
|
| 263 |
+
825,
|
| 264 |
+
224
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "There are also other types of attacking methods, e.g., the CW attack (Carlini & Wagner, 2017), deformation attack (Engstrom et al., 2017; Xiao et al., 2018; Engstrom et al., 2019), Hamming distance based attack (Shamir et al., 2019), Frank-Wolfe based attack (Chen et al., 2020a) and adaptive attack (Tramer et al., 2020). ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
174,
|
| 273 |
+
231,
|
| 274 |
+
825,
|
| 275 |
+
286
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "2.2 ADVERSARIAL DEFENSE ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
176,
|
| 285 |
+
304,
|
| 286 |
+
387,
|
| 287 |
+
319
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "Since the discovery of adversarial examples, a large number of works have emerged for defending against adversarial attacks, such as input denoising (Guo et al., 2018; Liao et al., 2018; Wu et al., 2021), defensive distillation (Papernot et al., 2016; Carlini & Wagner, 2017), adversarial detection (Metzen et al., 2017; Tao et al., 2018), gradient regularization (Tramer et al., 2018; Ross & Doshi- \\` Velez, 2018) and adversarial training (Goodfellow et al., 2014; Madry et al., 2017). Among them, adversarial training has been demonstrated to be the most effective method (Athalye et al., 2018). Based on adversarial training, a wide range of subsequent works are then proposed to further improve the model robustness (Xie et al., 2019; Mosbach et al., 2018; Kannan et al., 2018; Zhang et al., 2019; Cai et al., 2018; Wang et al., 2019a; Zhang et al., 2020a; Dong et al., 2018; Yang et al., 2019; Wang et al., 2019b; Song et al., 2020; Carmon et al., 2019; Zhai et al., 2019; Uesato et al., 2019; Hendrycks et al., 2019; Yan et al., 2021; Du et al., 2021). Here, we introduce two currently state-of-the-art adversarial training frameworks. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
173,
|
| 296 |
+
330,
|
| 297 |
+
825,
|
| 298 |
+
498
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "TRADES. TRADES (Zhang et al., 2019) optimizes a regularized surrogate loss that is a trade-off between the natural accuracy and adversarial robustness: ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
169,
|
| 307 |
+
503,
|
| 308 |
+
823,
|
| 309 |
+
532
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "equation",
|
| 315 |
+
"img_path": "images/5038702dda60b9f60e6298c190f52bf80e5d5a1bf4f001e081811522069bab56.jpg",
|
| 316 |
+
"text": "$$\n\\ell ^ { { \\mathrm { T R A D E S } } } ( \\boldsymbol { w } ; \\boldsymbol { x } , \\boldsymbol { y } ) = \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\left\\{ \\operatorname { C E } ( f _ { w } ( x _ { i } ) , y _ { i } ) + \\beta \\cdot \\operatorname* { m a x } _ { \\boldsymbol { x } ^ { \\prime } \\in B _ { \\epsilon } ^ { p } ( \\boldsymbol { x } ) } \\operatorname { K L } ( f _ { w } ( x _ { i } ) | | f _ { w } ( x _ { i } ^ { \\prime } ) ) \\right\\} ,\n$$",
|
| 317 |
+
"text_format": "latex",
|
| 318 |
+
"bbox": [
|
| 319 |
+
222,
|
| 320 |
+
540,
|
| 321 |
+
776,
|
| 322 |
+
582
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "where CE is the cross-entropy loss that encourages the network to maximize the natural accuracy, KL is the Kullback-Leibler divergence that encourages to improve the robust accuracy, and $\\beta$ is the hyperparameter to control the trade-off between natural accuracy and adversarial robustness. ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
174,
|
| 331 |
+
588,
|
| 332 |
+
823,
|
| 333 |
+
630
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "Robust Self-Training (RST). RST (Carmon et al., 2019) utilize additional 500K unlabeled data extracted from the 80 Million Tiny Images dataset (Torralba et al., 2008). RST first leverages the surrogate natural model to generate pseudo-labels for these unlabeled data, and then adversarially trains the network with both additional pseudo-labeled unlabeled data $( \\tilde { x } , \\tilde { y } )$ and original labeled data $( x , y )$ in a supervised setting: ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
174,
|
| 342 |
+
636,
|
| 343 |
+
823,
|
| 344 |
+
707
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 2
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "equation",
|
| 350 |
+
"img_path": "images/51daceb8a8209ae90ce8723bce03d88fd94b9ff19aa9e7b78ad84ff7d7640980.jpg",
|
| 351 |
+
"text": "$$\n\\ell ^ { \\mathrm { R S T } } ( \\boldsymbol { w } ; x , y , \\tilde { x } , \\tilde { y } ) = \\ell ^ { \\mathrm { T R A D E S } } ( \\boldsymbol { w } ; x , y ) + \\lambda \\cdot \\ell ^ { \\mathrm { T R A D E S } } ( \\boldsymbol { w } ; \\tilde { x } , \\tilde { y } ) ,\n$$",
|
| 352 |
+
"text_format": "latex",
|
| 353 |
+
"bbox": [
|
| 354 |
+
279,
|
| 355 |
+
713,
|
| 356 |
+
717,
|
| 357 |
+
733
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "where $\\lambda$ is the weight on unlabeled data. ",
|
| 364 |
+
"bbox": [
|
| 365 |
+
174,
|
| 366 |
+
741,
|
| 367 |
+
439,
|
| 368 |
+
755
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "2.3 ROBUST OVERFITTING ",
|
| 375 |
+
"text_level": 1,
|
| 376 |
+
"bbox": [
|
| 377 |
+
176,
|
| 378 |
+
772,
|
| 379 |
+
372,
|
| 380 |
+
786
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 2
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "Nowadays, there are effective countermeasures to alleviate the overfitting in standard training. But in adversarial training, robust overfitting widely exists and those common countermeasures used in standard training help little (Rice et al., 2020). Schmidt et al. (2018) explains robust overfitting partially from the perspective of sample complexity, and is supported by empirical results in derivative works, such as adversarial training with semi-supervised learning (Carmon et al., 2019; Uesato et al., 2019; Zhai et al., 2019), robust local feature (Song et al., 2020) and data interpolation (Zhang & Xu, 2019; Lee et al., 2020; Chen et al., 2021). Separate works have also attempt to mitigate robust overfitting by the unequal treatment of data (Zhang et al., 2020b) and weight smoothing (Chen et al., 2020b). Recent study (Wu et al., 2020) reveals the connection between the flatness of weight loss landscape and robust generalization gap, and proposes to incorporate adversarial weight perturbation mechanism in the adversarial training framework. Despite the efficacy of adversarial weight perturbation in suppressing the robust overfitting in adversarial training, a deeper understanding of the cause of robust overfitting and a clear direction for valid weight perturbation is largely missing. The outer maximization in Eq.(1) lacks an effective criterion to regulate and constrain the extent of weight perturbation, which in turn influences the optimization of the outer minimization problem. In this paper, we propose such a criterion and provide new understanding of the robust overfitting in adversarial training. Following this, we design a robust weight perturbation strategy that significantly improves the robustness of adversarial training. ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
173,
|
| 389 |
+
797,
|
| 390 |
+
825,
|
| 391 |
+
924
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "image",
|
| 397 |
+
"img_path": "images/cf8c9c1611ba4804d2a3319c5b7ff65a8e692709372051083b7ff11770673d20.jpg",
|
| 398 |
+
"image_caption": [
|
| 399 |
+
"Figure 1: (a): Test robustness of AWP with varying weight perturbation size; (b): The learning curve of vanilla AT; (c): Test robustness of AWP with varying LSC range. "
|
| 400 |
+
],
|
| 401 |
+
"image_footnote": [],
|
| 402 |
+
"bbox": [
|
| 403 |
+
178,
|
| 404 |
+
101,
|
| 405 |
+
816,
|
| 406 |
+
386
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "",
|
| 413 |
+
"bbox": [
|
| 414 |
+
173,
|
| 415 |
+
440,
|
| 416 |
+
825,
|
| 417 |
+
566
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "3 LOSS STATIONARY CONDITION ",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
176,
|
| 427 |
+
585,
|
| 428 |
+
464,
|
| 429 |
+
602
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "In this section, we first empirically investigate the relationship between weight perturbation robustness and adversarial robustness, and then propose a new criterion to monitor the training status of different adversarial examples in the learning process of adversarial training, which leads to a new perspective of robust overfitting. To this end, some discussions about robust overfitting and adversarial weight perturbation are provided. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
617,
|
| 439 |
+
825,
|
| 440 |
+
686
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "Does Weight Perturbation Robustness Lead to Better Adversarial Robustness? First, we investigate whether the robustness against weight perturbation is beneficial to the adversarial robustness. In particular, we train PreAct ResNet-18 with AWP on CIFAR-10 using varying weight perturbation size from $0 \\gamma , \\gamma / 8 , \\gamma / 4 , \\gamma / 2 , \\gamma , 2 \\gamma , 4 \\gamma$ to $8 \\gamma$ . In each setting, we evaluate the robustness of the model against 20-step PGD (PGD-20) attacks on CIFAR-10 test images. As shown in Figure 1(a), when varying weight perturbation size, the best adversarial robustness has a certain improvement in the early stage. When weight perturbation size is large, the best adversarial robustness begins to decrease significantly as the size of the perturbation increases. It might be explained by the fact that the network has to sacrifice adversarial robustness to allocate more capacity to defend against weight perturbation, which implies that weight perturbation robustness and adversarial robustness are not actually mutually beneficial. The performance gain of AWP is mainly due to suppressing robust overfitting. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
694,
|
| 450 |
+
825,
|
| 451 |
+
861
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "Loss Stationary Condition. In order to further understand the robust overfitting, we propose a criterion that divides the training adversarial examples into different groups according to their classification loss: ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
867,
|
| 461 |
+
823,
|
| 462 |
+
909
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 3
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "equation",
|
| 468 |
+
"img_path": "images/bb5610cf813f89d661a182e85eec8c7f431ffac34cd888580cdada2d5705a4f1.jpg",
|
| 469 |
+
"text": "$$\n\\mathrm { L S C } [ p , q ] = \\{ x ^ { \\prime } \\in \\mathcal { X } \\mid p \\leq \\ell ( f _ { w } ( x ^ { \\prime } ) , y ) \\leq q \\} ,\n$$",
|
| 470 |
+
"text_format": "latex",
|
| 471 |
+
"bbox": [
|
| 472 |
+
341,
|
| 473 |
+
907,
|
| 474 |
+
653,
|
| 475 |
+
925
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 3
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "image",
|
| 481 |
+
"img_path": "images/029122678a72cbfbbe80142edc40947c335d750d1a999a146521906d2088d916.jpg",
|
| 482 |
+
"image_caption": [
|
| 483 |
+
"Figure 2: The weight loss landscape of different LSC groups on different checkpoints. "
|
| 484 |
+
],
|
| 485 |
+
"image_footnote": [],
|
| 486 |
+
"bbox": [
|
| 487 |
+
194,
|
| 488 |
+
104,
|
| 489 |
+
802,
|
| 490 |
+
428
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "where $p \\leq q$ . The adversarial examples in the group all satisfy their classification loss within a certain range, which is termed Loss Stationary Condition (LSC). The proposed criterion LSC allows the analysis of training status of different adversarial examples independently, and provides more insights into the robust overfitting. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
469,
|
| 500 |
+
825,
|
| 501 |
+
526
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "LSC View of Robust Overfitting. To provide details of the robust overfitting in adversarial training, we train a PreAct ResNet-18 for 200 epochs on CIFAR-10 using PGD-10 with step size $\\epsilon / 4$ , maximum perturbation $\\epsilon = 8 / 2 5 5$ , following the standard setting in Madry et al. (2017). The learning curve is shown in Figure 1(b). For each intermediate model, we then apply the same PGD-10 attack on CIFAR-10 training images to craft adversarial examples, and divide the crafted adversarial examples into 6 consecutive LSC groups ranging from 0.0 to 3.0. Then, we use the weight loss landscape to characterize the training status of the adversarial examples in each LSC group, which plots the classification loss change when perturbing the model weight $\\pmb { w }$ by a random noise $^ d$ with magnitude $\\mu$ : ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
173,
|
| 510 |
+
531,
|
| 511 |
+
825,
|
| 512 |
+
657
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "equation",
|
| 518 |
+
"img_path": "images/75abf559daaca9833f7b426bdcb43c93e5379ab29bce5e90e5fdaed3dd53c7a8.jpg",
|
| 519 |
+
"text": "$$\ng _ { j } ( \\mu ) = \\frac { 1 } { n _ { j } } \\sum _ { i = 1 } ^ { n _ { j } } \\ell ( f _ { w + \\mu d } ( x _ { i j } ^ { \\prime } ) , y _ { i j } ) , \\ x _ { i j } ^ { \\prime } \\in \\mathrm { L S C } [ p _ { j } , q _ { j } ] ,\n$$",
|
| 520 |
+
"text_format": "latex",
|
| 521 |
+
"bbox": [
|
| 522 |
+
313,
|
| 523 |
+
657,
|
| 524 |
+
683,
|
| 525 |
+
699
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "where $j$ is the number of groups, $n _ { j }$ is the number of adversarial examples in $j$ -th LSC group, and $^ d$ is filter normalized by $\\begin{array} { r } { d \\gets \\frac { d } { | | d | | } | | \\boldsymbol { w } | | } \\end{array}$ following Li et al. (2017). It is worth noting that weight loss landscape has been widely used to characterize the generalization gap (Neyshabur et al., 2017; Foret et al., 2020; Wu et al., 2020). Here, we use it to characterize the training status of different adversarial examples. For training adversarial examples, the higher the degree of overfitting by the model, the more sensitive its loss is to model weight perturbations, thus making the weight loss landscape sharper. Here the weight loss curve sharpness is served as a comparable measurement of overfitting strength. Besides, another key difference to previous works lies on the LSC criterion used for visualization, which provides more insights into the robust overfitting. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
173,
|
| 534 |
+
702,
|
| 535 |
+
825,
|
| 536 |
+
834
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "We show the weight loss curve of each LSC group on different checkpoints in Figure 2. In the early stage of training (between 100 and 120 epoch), it can be seen that the weight loss curve of the LSC group with small loss is obviously sharper than that of the LSC group with large loss, which indicates that the adversarial examples with small classification loss were first overfitted. As the training progresses, the weight loss curves of all LSC groups become very sharp, which shows that the network overfits all adversarial examples. These observations suggest that robust overfitting exists a diffusion process: the model will first memorize some easy-to-learn adversarial examples, and then spread to the entire training dataset. ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
173,
|
| 545 |
+
839,
|
| 546 |
+
825,
|
| 547 |
+
924
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "table",
|
| 553 |
+
"img_path": "images/169fb02ee0a43a98b3db59ea741d4fd545c4822786f0625739702233feece071.jpg",
|
| 554 |
+
"table_caption": [
|
| 555 |
+
"Algorithm 1 Robust Weight Perturbation "
|
| 556 |
+
],
|
| 557 |
+
"table_footnote": [],
|
| 558 |
+
"table_body": "<table><tr><td>igorlhhTKobustWergntFerturbaton Input: Network fw, training data S,mini-batch B,batch size n,learning rate n,PGD step size α,</td></tr><tr><td>PGD steps K1,PGD constraint ε, RWP steps K2, RWP constraint γ, minimum LSC value Cmin· Output: Adversarially robust model fw · repeat</td></tr><tr><td>Read mini-batch xp from training set S. xB ← xB +δ,where δ ~ Uniform(-∈,∈) for k=1 to K1 do</td></tr><tr><td>x' ←II(xB+α·sign(Vxsl(fw(xB),y)))</td></tr><tr><td>end for</td></tr><tr><td>Initialize v = 0</td></tr><tr><td>for k=1 to K2 do</td></tr><tr><td>V = 1B(l(fw+u(xs),y)≤ Cmin)</td></tr><tr><td>if∑V=0 then</td></tr><tr><td>break</td></tr><tr><td></td></tr><tr><td>else</td></tr><tr><td>v ← v+ Vu(V ·l(fw+v(xs),y))</td></tr><tr><td>U←Yw</td></tr><tr><td>end if</td></tr><tr><td>w ←(w+v)-nVw+vn∑i=1l(fw+u(x'g),y(i))-v</td></tr><tr><td>end for</td></tr></table>",
|
| 559 |
+
"bbox": [
|
| 560 |
+
179,
|
| 561 |
+
111,
|
| 562 |
+
825,
|
| 563 |
+
419
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "",
|
| 570 |
+
"bbox": [
|
| 571 |
+
176,
|
| 572 |
+
445,
|
| 573 |
+
821,
|
| 574 |
+
474
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "LSC view of Adversarial Weight Perturbation. To provide more insight into how AWP suppresses robust overfitting, we train PreAct ResNet-18 on CIFAR-10 by varying the LSC group that performs adversarial weight perturbation. In each setting, we evaluate the robustness of the model against PGD-20 attacks on CIFAR-10 test images. As shown in Figure 1(c), when varying the LSC range, we can observe that conducting adversarial weight perturbation on adversarial examples with small classification loss is sufficient to suppress robust overfitting. Recalling the diffusion process in robust overfitting, we can infer that to eliminate robust overfitting, it is essential to prevent the model from memorizing the easy-to-learn adversarial examples. Besides, it is observed that conducting adversarial weight perturbation on adversarial examples with large classification loss leads to worse adversarial robustness, which again verifies that the robustness against weight perturbation will not bring adversarial robustness gain, or even on the contrary, it undermines the adversarial robustness enhancement. ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
173,
|
| 583 |
+
481,
|
| 584 |
+
825,
|
| 585 |
+
647
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Do We Really Need the Worst-case Weight Perturbation? As aforementioned, the robustness against weight perturbation is detrimental to the adversarial robustness enhancement. Therefore, to purely prevent the network from memorizing the adversarial examples with small classification loss, conducting worst-case weight perturbation on these adversarial examples is not necessary, since it will also deteriorate the adversarial robustness. In the next section, we will propose a robust perturbation strategy to address this issue. ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
174,
|
| 594 |
+
655,
|
| 595 |
+
825,
|
| 596 |
+
738
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "4 ROBUST WEIGHT PERTURBATION",
|
| 603 |
+
"text_level": 1,
|
| 604 |
+
"bbox": [
|
| 605 |
+
176,
|
| 606 |
+
758,
|
| 607 |
+
486,
|
| 608 |
+
775
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 5
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "In this section, we introduce the proposed robust weight perturbation strategy and its algorithmic realization. ",
|
| 615 |
+
"bbox": [
|
| 616 |
+
173,
|
| 617 |
+
790,
|
| 618 |
+
823,
|
| 619 |
+
819
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 5
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "As mentioned in Section 3, conducting adversarial weight perturbation on adversarial examples with small classification loss is enough to prevent robust overfitting and leads to higher robustness. However, conducting adversarial weight perturbation on adversarial examples with large classification loss may not be helpful. Recalling the criterion LSC proposed in Section 3, we have seen that it is closely correlated with the tendency of adversarial example to be overfitted. Thus, it can be used to regulate the extent of weight perturbation at a fine-grained level. Therefore, we propose to train network with adversarial examples that are all above a minimum LSC value, so as to ensure that no robust overfitting occurs while avoiding the side effect of excessive weight perturbation. Let $c _ { m i n }$ be the minimum LSC value. Instead of generating weight perturbation $\\textbf { { v } }$ via outer maximization in Eq.(1), we generate $\\pmb { v }$ as follows: ",
|
| 626 |
+
"bbox": [
|
| 627 |
+
174,
|
| 628 |
+
825,
|
| 629 |
+
825,
|
| 630 |
+
924
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 5
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "",
|
| 637 |
+
"bbox": [
|
| 638 |
+
173,
|
| 639 |
+
103,
|
| 640 |
+
825,
|
| 641 |
+
146
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 6
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "equation",
|
| 647 |
+
"img_path": "images/7d0912a7f1e94c34b52730fda58bc81a07a4b7a8a81559896aed4b3e0f410fc9.jpg",
|
| 648 |
+
"text": "$$\n\\begin{array} { r l } { \\pmb { v } ^ { k + 1 } = \\pmb { v } ^ { k } + \\nabla _ { \\pmb { v } ^ { k } } \\cfrac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\mathbb { 1 } ( x _ { i } ^ { \\prime } , y _ { i } ) \\ell ( f _ { \\pmb { w + v } ^ { k } } ( x _ { i } ^ { \\prime } ) , y _ { i } ) , } & { } \\\\ { \\mathrm { w h e r e } \\quad \\mathbb { 1 } ( x _ { i } ^ { \\prime } , y _ { i } ) = \\left\\{ \\begin{array} { l l } { 0 } & { \\mathrm { i f ~ } \\ell ( f _ { \\pmb { w + v } ^ { k } } ( x _ { i } ^ { \\prime } ) , y _ { i } ) > c _ { m i n } } \\\\ { 1 } & { \\mathrm { i f ~ } \\ell ( f _ { \\pmb { w + v } ^ { k } } ( x _ { i } ^ { \\prime } ) , y _ { i } ) \\leq c _ { m i n } } \\end{array} \\right. } \\end{array}\n$$",
|
| 649 |
+
"text_format": "latex",
|
| 650 |
+
"bbox": [
|
| 651 |
+
316,
|
| 652 |
+
152,
|
| 653 |
+
681,
|
| 654 |
+
233
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 6
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "The proposed Robust Weight Perturbation (RWP) algorithm is shown in Algorithm 1. We use PGD attack (Madry et al., 2017) to generate the training adversarial examples, which can be also extended to other variants such as TRADES (Zhang et al., 2019) and RST (Carmon et al., 2019). The mimimum LSC value $c _ { m i n }$ controls the minimum classification loss (minimum weight perturbation strength) of the adversarial examples during network training. In the early stages of training, the classification loss of adversarial example is generally larger than $c _ { m i n }$ corresponding to no weight perturbation process. The classification loss of adversarial examples then decreases as training progresses. At each optimization step, we monitor the classification loss of the adversarial example and conduct the weight perturbation process for adversarial examples whose classification loss is already smaller than $c _ { m i n }$ , enabled by an indicator control vector $V$ . At each perturbation step, the weight perturbation $\\pmb { v }$ will be updated to increase the classification loss of the corresponding adversarial example. When the classification loss of training adversarial examples is all higher than $c _ { m i n }$ or the number of perturbation step reaches the defined value, we stop the weight perturbation process and inject the generated weight perturbation $\\textbf { { v } }$ for adversarial training. ",
|
| 661 |
+
"bbox": [
|
| 662 |
+
173,
|
| 663 |
+
238,
|
| 664 |
+
825,
|
| 665 |
+
433
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 6
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "5 EXPERIMENTS ",
|
| 672 |
+
"text_level": 1,
|
| 673 |
+
"bbox": [
|
| 674 |
+
176,
|
| 675 |
+
453,
|
| 676 |
+
326,
|
| 677 |
+
469
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 6
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "In this section, we conduct comprehensive experiments to evaluate the effectiveness of RWP including its experimental settings, robustness evaluation and ablation studies. ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
174,
|
| 686 |
+
484,
|
| 687 |
+
821,
|
| 688 |
+
512
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 6
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "5.1 EXPERIMENTAL SETUP ",
|
| 695 |
+
"text_level": 1,
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
530,
|
| 699 |
+
375,
|
| 700 |
+
544
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "Baselines and Implementation Details. Our implementation is based on PyTorch and the code as well as other related resources will be released for public use and verification. We conduct extensive experiments across three benchmark datasets (CIFAR-10 (Krizhevsky et al., 2009), CIFAR100 (Krizhevsky et al., 2009) and SVHN (Netzer et al., 2011)) and two threat models $L _ { \\infty }$ and $L _ { 2 }$ ). We use PreAct ResNet-18 (He et al., 2016) and Wide ResNet (WRN-28-10 and WRN-34-10) (Zagoruyko & Komodakis, 2016) as the network structure following Wu et al. (2020). We compare the performance of the proposed method on a number of baseline methods: 1) standard adversarial training without weight perturbation, including vanilla AT (Madry et al., 2017), TRADES (Zhang et al., 2019) and RST (Carmon et al., 2019); 2) adversarial training with adversarial weight perturbation (AWP) (Wu et al., 2020). For training, the network is trained for 200 epochs using SGD with momentum 0.9, weight decay $5 \\times 1 0 ^ { - 4 }$ , and an initial learning rate of 0.1. The learning rate is divided by 10 at the 100-th and 150-th epoch. Standard data augmentation including random crops with 4 pixels of padding and random horizontal flips are applied. For testing, model robustness is evaluated by measuring the accuracy of the model under different adversarial attacks. For hyperparameters in RWP, we set perturbation step $K _ { 2 } = 1 0$ for all datasets. The minimum LSC value $c _ { m i n } = 1 . 7$ for CIFAR-10, $c _ { m i n } = 2 . 2$ for SVHN and $c _ { m i n } = 4 . 0$ for CIFAR-100. The weight perturbation budget of $\\gamma = 0 . 0 1$ for AT-RWP, $\\gamma = 0 . 0 0 5$ for TRADES-RWP and RST-RWP following literature (Wu et al., 2020). Other hyper-parameters of the baselines are configured as per their original papers. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
173,
|
| 709 |
+
555,
|
| 710 |
+
825,
|
| 711 |
+
819
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Adversarial Setting. The training attack is 10-step PGD attack with random start. We follow the same settings in Rice et al. (2020) : for $L _ { \\infty }$ threat model, $\\epsilon = 8 / 2 5 5$ , step size $\\alpha = 1 / 2 5 5$ for SVHN, and $\\alpha = 2 / 2 5 5$ for both CIFAR10 and CIFAR100; for $L _ { 2 }$ threat model, $\\epsilon = 1 2 8 / 2 5 5$ , step size $\\alpha = 1 5 / 2 5 5$ for all datasets. The test attacks used for robustness evaluation are generated from the original test set images by attacking the defense models using different attacking methods, including: FGSM, PGD-20, PGD-100, $\\mathrm { C } \\& \\mathbf { W } _ { \\infty }$ $L _ { \\infty }$ version of C&W optimized by PGD for 100 steps) and Auto Attack (AA). ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
825,
|
| 721 |
+
825,
|
| 722 |
+
924
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "5.2 ROBUSTNESS EVALUATION ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
176,
|
| 732 |
+
103,
|
| 733 |
+
401,
|
| 734 |
+
117
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "Performance Evaluations. To validate the effectiveness of the proposed RWP, we conduct performance evaluation on vanilla AT, AT-AWP and AT-RWP across different benchmark datasets and threat models using PreAct ResNet-18. We report the accuracy on the test images under PGD-20 attack. The evaluation results are summarized in Table 1. “Best” denotes the highest robustness that ever achieved at different checkpoints and ”last” denotes the robustness at the last epoch checkpoint. It is observed vanilla AT suffers from severe robust overfitting (the performance gap between ”best” and ”last” is very large). AT-AWP and AT-RWP method narrow the performance gap significantly over the vanilla AT model due to suppression of robust overfitting. Moreover, on CIFAR-10 dataset under the $L _ { \\infty }$ attack, vanilla AT achieves $5 2 . 7 9 \\%$ ”best” test robustness. The AT-AWP approach boosts the performance to $5 5 . 3 9 \\%$ . The proposed approach further outperforms both methods by a large margin, improving over vanilla AT by $5 . 7 6 \\%$ , and is $3 . 1 6 \\%$ better than AT-AWP, achieving $5 8 . 5 5 \\%$ accuracy under the standard 20 steps PGD attack. Similar patten has been observed on other datasets and threat model. AT-RWP consistently improves the test robustness across a wide range of datasets and threat models, demonstrating the effectiveness of the proposed approach. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
173,
|
| 743 |
+
135,
|
| 744 |
+
825,
|
| 745 |
+
329
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "table",
|
| 751 |
+
"img_path": "images/45802b10bc18e868a421b53cff82ff389c7a141952169fe23eae3703c4e7ad74.jpg",
|
| 752 |
+
"table_caption": [
|
| 753 |
+
"Table 1: Test robustness $( \\% )$ of AT, AT-AWP and AT-RWP using PreAct ResNet-18. "
|
| 754 |
+
],
|
| 755 |
+
"table_footnote": [],
|
| 756 |
+
"table_body": "<table><tr><td rowspan=\"2\">Threat Model</td><td rowspan=\"2\">Method</td><td colspan=\"2\">SVHN</td><td colspan=\"2\">CIFAR-10</td><td colspan=\"2\">CIFAR-100</td></tr><tr><td>Best</td><td>Last</td><td>Best</td><td>Last</td><td>Best</td><td>Last</td></tr><tr><td rowspan=\"3\">L8</td><td>AT</td><td>53.36</td><td>44.49</td><td>52.79</td><td>44.44</td><td>27.22</td><td>20.82</td></tr><tr><td>AT-AWP</td><td>59.12</td><td>55.87</td><td>55.39</td><td>54.73</td><td>30.71</td><td>30.28</td></tr><tr><td>AT-RWP</td><td>61.15</td><td>57.45</td><td>58.55</td><td>58.01</td><td>31.17</td><td>30.64</td></tr><tr><td rowspan=\"3\">L2</td><td>AT</td><td>66.87</td><td>65.03</td><td>69.15</td><td>65.93</td><td>41.33</td><td>35.27</td></tr><tr><td>AT-AWP</td><td>72.57</td><td>67.73</td><td>72.69</td><td>72.08</td><td>45.60</td><td>44.66</td></tr><tr><td>AT-RWP</td><td>73.35</td><td>69.48</td><td>74.47</td><td>73.84</td><td>45.71</td><td>45.05</td></tr></table>",
|
| 757 |
+
"bbox": [
|
| 758 |
+
214,
|
| 759 |
+
381,
|
| 760 |
+
781,
|
| 761 |
+
520
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 7
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "Benchmarking the state-of-the-art Robustness. To manifest the full power of our proposed perturbation strategy and also benchmark the state-of-the-art robustness on CIFAR-10 under $\\mathrm { L } _ { \\infty }$ threat model, we conduct experiments on the large capacity network with different baseline methods. We train Wide ResNet-34-10 for AT and TRADES, and Wide ResNet-28-10 for RST following their original papers. We evaluate the adversarial robustness of trained model with various test attack and report the “best” test robustness, with the results shown in Table 2. “Natural” denotes the accuracy on natural test data. First, it is observed that the natural accuracy of RWP model consistently outperforms AWP by a large margin. It is due to the benefits that our RWP avoids the excessive weight perturbation. Moreover, RWP achieves the best adversarial robustness against all types of attack across a wide range of baseline methods, which verifies that RWP is effective in general and improves adversarial robustness reliably rather than improper tuning of hyper-parameters of attacks, gradient obfuscation or masking. ",
|
| 768 |
+
"bbox": [
|
| 769 |
+
173,
|
| 770 |
+
531,
|
| 771 |
+
825,
|
| 772 |
+
698
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 7
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "table",
|
| 778 |
+
"img_path": "images/c358e97c8b763776c5cf4fa2be767217492a15a71f8f43feb9865a88292bf574.jpg",
|
| 779 |
+
"table_caption": [
|
| 780 |
+
"Table 2: Test robustness $( \\% )$ on CIFAR-10 using Wide ResNet under $L _ { \\infty }$ threat model. "
|
| 781 |
+
],
|
| 782 |
+
"table_footnote": [],
|
| 783 |
+
"table_body": "<table><tr><td>Defense</td><td>Natural</td><td>FGSM</td><td>PGD-20</td><td>PGD-100</td><td>C&W</td><td>AA</td></tr><tr><td>AT</td><td>86.07</td><td>61.76</td><td>56.10</td><td>55.79</td><td>54.19</td><td>52.60</td></tr><tr><td>AT-AWP</td><td>85.57</td><td>62.90</td><td>58.14</td><td>57.94</td><td>55.96</td><td>54.04</td></tr><tr><td>AT-RWP</td><td>86.86</td><td>66.22</td><td>62.87</td><td>62.87</td><td>56.62</td><td>54.61</td></tr><tr><td>TRADES</td><td>84.65</td><td>61.32</td><td>56.33</td><td>56.07</td><td>54.20</td><td>53.08</td></tr><tr><td>TRADES-AWP</td><td>85.36</td><td>63.49</td><td>59.27</td><td>59.12</td><td>57.07</td><td>56.17</td></tr><tr><td>TRADES-RWP</td><td>86.14</td><td>64.70</td><td>60.45</td><td>60.30</td><td>58.07</td><td>57.20</td></tr><tr><td>RST</td><td>89.69</td><td>69.60</td><td>62.60</td><td>62.22</td><td>60.47</td><td>59.53</td></tr><tr><td>RST-AWP</td><td>88.25</td><td>67.94</td><td>63.73</td><td>63.58</td><td>61.62</td><td>60.05</td></tr><tr><td>RST-RWP</td><td>88.87</td><td>69.71</td><td>64.11</td><td>63.92</td><td>62.03</td><td>60.36</td></tr></table>",
|
| 784 |
+
"bbox": [
|
| 785 |
+
225,
|
| 786 |
+
736,
|
| 787 |
+
772,
|
| 788 |
+
901
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 7
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "image",
|
| 794 |
+
"img_path": "images/05cc9a011b1b361f1fc69f9f40b1f1f4a73327c2b02695b658d3ce690a694601.jpg",
|
| 795 |
+
"image_caption": [
|
| 796 |
+
"Figure 3: The ablation study experiments on CIFAR-10. "
|
| 797 |
+
],
|
| 798 |
+
"image_footnote": [],
|
| 799 |
+
"bbox": [
|
| 800 |
+
191,
|
| 801 |
+
77,
|
| 802 |
+
805,
|
| 803 |
+
260
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 8
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "5.3 ABLATION STUDIES ",
|
| 810 |
+
"text_level": 1,
|
| 811 |
+
"bbox": [
|
| 812 |
+
174,
|
| 813 |
+
295,
|
| 814 |
+
354,
|
| 815 |
+
309
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 8
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "In this part, we investigate the impacts of algorithmic components using AT-RWP on PreAct ResNet18 under $L _ { \\infty }$ threat model with $\\epsilon = 8 / 2 5 5$ and $\\alpha = 2 / 2 5 5$ following the same setting in section 5.1. The training/test attacks are PGD-10/PGD-20 respectively. ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
321,
|
| 825 |
+
823,
|
| 826 |
+
363
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "The Importance of Minimum LSC Value. We empirically verify the effectiveness of minimum LSC value $c _ { m i n }$ , by comparing the performance of models trained using different weight perturbation schemes: 1) AT: standard adversarial training without weight perturbation (equivalent to $c _ { m i n } = 0 \\mathrm { { . } }$ ); 2) AWP: weight perturbation generated via outer maximization in Eq.(1) (equivalent to $c _ { m i n } = \\infty$ ); 3) RWP: weight perturbation generated using the proposed robust strategy with different $c _ { m i n }$ values. All other hyper-parameters are kept exactly the same other than the perturbation scheme used. The results are summarized in Table 3(a). It is observed that the test robustness of RWP model first increases and then decreases as the minimum LSC value increases, and the best test robustness is obtained at $c _ { m i n } = 1 . 7$ . It is evident that RWP with a wide range of $c _ { m i n }$ outperforms both AT and AWP model, demonstrating its effectiveness. Furthermore, as it is the major component that is different from the AWP pipeline, this result suggests that LSC criterion constraints is the main contributor to the improved adversarial robustness. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
173,
|
| 835 |
+
371,
|
| 836 |
+
825,
|
| 837 |
+
536
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 8
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "The Impact of Step Number. We further investigate the effect of step number $K _ { 2 }$ , by comparing the performances of model trained using different perturbation steps. The step number $K _ { 2 }$ for RWP varies from 1 to 10. The results are shown in Figure 3(b). As expected, when $K _ { 2 }$ is small, increasing $K _ { 2 }$ leads higher test robustness. When $K _ { 2 }$ increases from 7 to 10, the performance is flat, which suggests that the generating weight perturbation is sufficient to comprehensively avoid robust overfitting. Note that extra iterations will not bring computational overhead when classification loss of adversarial examples in the batch exceeds minimum LSC value $c _ { m i n }$ , as shown in Algorithm 1. Therefore, we uniformly use $K _ { 2 } = 1 0$ in our implementation. ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
174,
|
| 846 |
+
544,
|
| 847 |
+
825,
|
| 848 |
+
656
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 8
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "Effect on Adversarial Robustness and Robust Overfitting. We then visualize the learning curve of AT, AWP and RWP in Figure 3(c). We observe that the test robustness of RWP model continues to increase as the training progresses. In addition, RWP outperforms AWP with a clear margin in the later stage of training. Such observations exactly reflect the nature of our approach which aims to prevent robust overfitting as well as enhance adversarial robustness. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
662,
|
| 858 |
+
823,
|
| 859 |
+
732
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 8
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "6 CONCLUSION ",
|
| 866 |
+
"text_level": 1,
|
| 867 |
+
"bbox": [
|
| 868 |
+
174,
|
| 869 |
+
752,
|
| 870 |
+
318,
|
| 871 |
+
768
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 8
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "In this paper, we proposed a criterion, Loss Stationary Condition (LSC) for constrained perturbation, to monitor the training status of different adversarial examples during network optimization. The proposed criterion provides a new understanding of robust overfitting in adversarial training. Based on LSC, we found that elimination of robust overfitting and higher robustness of adversarial training can be achieved by weight perturbation on adversarial examples with small classification loss, rather than adversarial examples with large classification loss. Following this, we proposed a Robust Weight Perturbation (RWP) strategy to monitor and regulate the extent of weight perturbation. Comprehensive experiments show that RWP is generic and can improve the state-of-the-art adversarial robustness across different adversarial training approaches, network architectures, threat models and benchmark datasets. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
174,
|
| 880 |
+
784,
|
| 881 |
+
825,
|
| 882 |
+
922
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 8
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "REPRODUCIBILITY STATEMENT ",
|
| 889 |
+
"text_level": 1,
|
| 890 |
+
"bbox": [
|
| 891 |
+
176,
|
| 892 |
+
102,
|
| 893 |
+
436,
|
| 894 |
+
118
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 9
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "For sake of reproducibility of our algorithm, we make the following efforts: (i) In Section 5.1, we clearly state the implementation details, including benchmark datasets, network structure, baselines, training and test parameter setting as well as training and test attack setting. (ii) In Section 5.3, we evaluate the sensitivity of the algorithm to hyperparameters and show the detailed hyperparameter tuning process. (iii) At last, we open-source the source code of RWP algorithm, available at supplementary material. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
174,
|
| 903 |
+
133,
|
| 904 |
+
825,
|
| 905 |
+
218
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 9
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "REFERENCES ",
|
| 912 |
+
"text_level": 1,
|
| 913 |
+
"bbox": [
|
| 914 |
+
174,
|
| 915 |
+
241,
|
| 916 |
+
285,
|
| 917 |
+
256
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 9
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion, and Matthias Hein. Square attack: a query-efficient black-box adversarial attack via random search. In European Conference on Computer Vision, pp. 484–501. Springer, 2020. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
176,
|
| 926 |
+
265,
|
| 927 |
+
823,
|
| 928 |
+
306
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In International conference on machine learning, pp. 274–283. PMLR, 2018. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
318,
|
| 938 |
+
821,
|
| 939 |
+
361
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machinelearning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
173,
|
| 948 |
+
372,
|
| 949 |
+
821,
|
| 950 |
+
415
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Qi-Zhi Cai, Min Du, Chang Liu, and Dawn Song. Curriculum adversarial training. arXiv preprint arXiv:1805.04807, 2018. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
171,
|
| 959 |
+
425,
|
| 960 |
+
823,
|
| 961 |
+
455
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 ieee symposium on security and privacy (sp), pp. 39–57. IEEE, 2017. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
169,
|
| 970 |
+
465,
|
| 971 |
+
825,
|
| 972 |
+
496
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 9
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Yair Carmon, Aditi Raghunathan, Ludwig Schmidt, Percy Liang, and John C Duchi. Unlabeled data improves adversarial robustness. arXiv preprint arXiv:1905.13736, 2019. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
173,
|
| 981 |
+
505,
|
| 982 |
+
823,
|
| 983 |
+
535
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 9
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Chen Chen, Jingfeng Zhang, Xilie Xu, Tianlei Hu, Gang Niu, Gang Chen, and Masashi Sugiyama. Guided interpolation for adversarial training. arXiv preprint arXiv:2102.07327, 2021. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
545,
|
| 993 |
+
823,
|
| 994 |
+
575
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Jinghui Chen, Dongruo Zhou, Jinfeng Yi, and Quanquan Gu. A frank-wolfe framework for efficient and effective adversarial attacks. In AAAI, pp. 3486–3494, 2020a. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
171,
|
| 1003 |
+
585,
|
| 1004 |
+
823,
|
| 1005 |
+
614
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Tianlong Chen, Zhenyu Zhang, Sijia Liu, Shiyu Chang, and Zhangyang Wang. Robust overfitting may be mitigated by properly learned smoothening. In International Conference on Learning Representations, 2020b. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
625,
|
| 1015 |
+
821,
|
| 1016 |
+
667
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Francesco Croce and Matthias Hein. Minimally distorted adversarial examples with a fast adaptive boundary attack. In International Conference on Machine Learning, pp. 2196–2205. PMLR, 2020a. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
174,
|
| 1025 |
+
679,
|
| 1026 |
+
821,
|
| 1027 |
+
722
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 9
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Francesco Croce and Matthias Hein. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks. In International conference on machine learning, pp. 2206– 2216. PMLR, 2020b. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
173,
|
| 1036 |
+
733,
|
| 1037 |
+
825,
|
| 1038 |
+
776
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
171,
|
| 1047 |
+
787,
|
| 1048 |
+
823,
|
| 1049 |
+
816
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang Su, Jun Zhu, Xiaolin Hu, and Jianguo Li. Boosting adversarial attacks with momentum. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 9185–9193, 2018. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
174,
|
| 1058 |
+
827,
|
| 1059 |
+
823,
|
| 1060 |
+
871
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Xuefeng Du, Jingfeng Zhang, Bo Han, Tongliang Liu, Yu Rong, Gang Niu, Junzhou Huang, and Masashi Sugiyama. Learning diverse-structured networks for adversarial robustness. arXiv preprint arXiv:2102.01886, 2021. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
176,
|
| 1069 |
+
882,
|
| 1070 |
+
825,
|
| 1071 |
+
922
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Logan Engstrom, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. A rotation and a translation suffice: Fooling cnns with simple transformations. arXiv preprint arXiv:1712.02779, 1(2):3, 2017. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
173,
|
| 1080 |
+
103,
|
| 1081 |
+
823,
|
| 1082 |
+
146
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 10
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. Exploring the landscape of spatial robustness. In International Conference on Machine Learning, pp. 1802–1811. PMLR, 2019. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
176,
|
| 1091 |
+
155,
|
| 1092 |
+
823,
|
| 1093 |
+
198
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Pierre Foret, Ariel Kleiner, Hossein Mobahi, and Behnam Neyshabur. Sharpness-aware minimization for efficiently improving generalization. arXiv preprint arXiv:2010.01412, 2020. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
173,
|
| 1102 |
+
205,
|
| 1103 |
+
821,
|
| 1104 |
+
236
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 10
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
173,
|
| 1113 |
+
244,
|
| 1114 |
+
821,
|
| 1115 |
+
273
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 10
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Chuan Guo, Mayank Rana, Moustapha Cisse, and Laurens Van Der Maaten. Countering adversarial images using input transformations. In International Conference on Learning Representations, 2018. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
173,
|
| 1124 |
+
281,
|
| 1125 |
+
825,
|
| 1126 |
+
325
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 10
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
173,
|
| 1135 |
+
333,
|
| 1136 |
+
825,
|
| 1137 |
+
377
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. In International Conference on Machine Learning, pp. 2712–2721. PMLR, 2019. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
173,
|
| 1146 |
+
385,
|
| 1147 |
+
823,
|
| 1148 |
+
415
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Harini Kannan, Alexey Kurakin, and Ian Goodfellow. Adversarial logit pairing. arXiv preprint arXiv:1803.06373, 2018. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
173,
|
| 1157 |
+
422,
|
| 1158 |
+
823,
|
| 1159 |
+
452
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
462,
|
| 1169 |
+
823,
|
| 1170 |
+
489
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Saehyung Lee, Hyungyu Lee, and Sungroh Yoon. Adversarial vertex mixup: Toward better adversarially robust generalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 272–281, 2020. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
173,
|
| 1179 |
+
500,
|
| 1180 |
+
823,
|
| 1181 |
+
542
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. arXiv preprint arXiv:1712.09913, 2017. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
173,
|
| 1190 |
+
550,
|
| 1191 |
+
823,
|
| 1192 |
+
580
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Fangzhou Liao, Ming Liang, Yinpeng Dong, Tianyu Pang, Xiaolin Hu, and Jun Zhu. Defense against adversarial attacks using high-level representation guided denoiser. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1778–1787, 2018. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
173,
|
| 1201 |
+
588,
|
| 1202 |
+
823,
|
| 1203 |
+
632
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
174,
|
| 1212 |
+
640,
|
| 1213 |
+
823,
|
| 1214 |
+
683
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Jan Hendrik Metzen, Tim Genewein, Volker Fischer, and Bastian Bischoff. On detecting adversarial perturbations. In International Conference on Learning Representations, 2017. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
171,
|
| 1223 |
+
691,
|
| 1224 |
+
825,
|
| 1225 |
+
722
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Marius Mosbach, Maksym Andriushchenko, Thomas Trost, Matthias Hein, and Dietrich Klakow. Logit pairing methods can fool gradient-based attacks. arXiv preprint arXiv:1810.12042, 2018. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
171,
|
| 1234 |
+
729,
|
| 1235 |
+
821,
|
| 1236 |
+
760
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. 2011. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
171,
|
| 1245 |
+
767,
|
| 1246 |
+
823,
|
| 1247 |
+
796
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Behnam Neyshabur, Srinadh Bhojanapalli, David McAllester, and Nathan Srebro. Exploring generalization in deep learning. arXiv preprint arXiv:1706.08947, 2017. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
171,
|
| 1256 |
+
805,
|
| 1257 |
+
823,
|
| 1258 |
+
834
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy $( S P )$ ), pp. 582–597. IEEE, 2016. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
174,
|
| 1267 |
+
843,
|
| 1268 |
+
821,
|
| 1269 |
+
886
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 10
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Leslie Rice, Eric Wong, and Zico Kolter. Overfitting in adversarially robust deep learning. In International Conference on Machine Learning, pp. 8093–8104. PMLR, 2020. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
895,
|
| 1279 |
+
821,
|
| 1280 |
+
924
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 10
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Andrew Ross and Finale Doshi-Velez. Improving the adversarial robustness and interpretability of deep neural networks by regularizing their input gradients. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
176,
|
| 1289 |
+
103,
|
| 1290 |
+
823,
|
| 1291 |
+
146
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 11
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. Advances in Neural Information Processing Systems, 31:5014–5026, 2018. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
176,
|
| 1300 |
+
155,
|
| 1301 |
+
821,
|
| 1302 |
+
198
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 11
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Adi Shamir, Itay Safran, Eyal Ronen, and Orr Dunkelman. A simple explanation for the existence of adversarial examples with small hamming distance. arXiv preprint arXiv:1901.10861, 2019. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
174,
|
| 1311 |
+
207,
|
| 1312 |
+
821,
|
| 1313 |
+
237
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 11
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Chubiao Song, Kun He, Jiadong Lin, Liwei Wang, and John E Hopcroft. Robust local features for improving the generalization of adversarial training. In International Conference on Learning Representations, 2020. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
173,
|
| 1322 |
+
246,
|
| 1323 |
+
826,
|
| 1324 |
+
289
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
171,
|
| 1333 |
+
297,
|
| 1334 |
+
825,
|
| 1335 |
+
328
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Guanhong Tao, Shiqing Ma, Yingqi Liu, and Xiangyu Zhang. Attacks meet interpretability: Attribute-steered detection of adversarial samples. In Advances in Neural Information Processing Systems, pp. 7717–7728, 2018. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
173,
|
| 1344 |
+
337,
|
| 1345 |
+
825,
|
| 1346 |
+
380
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Antonio Torralba, Rob Fergus, and William T Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. IEEE transactions on pattern analysis and machine intelligence, 30(11):1958–1970, 2008. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
174,
|
| 1355 |
+
388,
|
| 1356 |
+
823,
|
| 1357 |
+
431
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Florian Tramer, Alexey Kurakin, Nicolas Papernot, Ian Goodfellow, Dan Boneh, and Patrick Mc- \\` Daniel. Ensemble adversarial training: Attacks and defenses. In International Conference on Learning Representations, 2018. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
176,
|
| 1366 |
+
440,
|
| 1367 |
+
823,
|
| 1368 |
+
484
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Florian Tramer, Nicholas Carlini, Wieland Brendel, and Aleksander Madry. On adaptive attacks to adversarial example defenses. arXiv preprint arXiv:2002.08347, 2020. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
173,
|
| 1377 |
+
493,
|
| 1378 |
+
823,
|
| 1379 |
+
523
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Jonathan Uesato, Jean-Baptiste Alayrac, Po-Sen Huang, Robert Stanforth, Alhussein Fawzi, and Pushmeet Kohli. Are labels required for improving adversarial robustness? arXiv preprint arXiv:1905.13725, 2019. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
531,
|
| 1389 |
+
825,
|
| 1390 |
+
575
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Yisen Wang, Xuejiao Deng, Songbai Pu, and Zhiheng Huang. Residual convolutional ctc networks for automatic speech recognition. arXiv preprint arXiv:1702.07793, 2017. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
173,
|
| 1399 |
+
584,
|
| 1400 |
+
823,
|
| 1401 |
+
613
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Yisen Wang, Xingjun Ma, James Bailey, Jinfeng Yi, Bowen Zhou, and Quanquan Gu. On the convergence and robustness of adversarial training. In ICML, volume 1, pp. 2, 2019a. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
173,
|
| 1410 |
+
622,
|
| 1411 |
+
825,
|
| 1412 |
+
652
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Yisen Wang, Difan Zou, Jinfeng Yi, James Bailey, Xingjun Ma, and Quanquan Gu. Improving adversarial robustness requires revisiting misclassified examples. In International Conference on Learning Representations, 2019b. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
174,
|
| 1421 |
+
661,
|
| 1422 |
+
825,
|
| 1423 |
+
704
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Boxi Wu, Heng Pan, Li Shen, Jindong Gu, Shuai Zhao, Zhifeng Li, Deng Cai, Xiaofei He, and Wei Liu. Attacking adversarial attacks as a defense. arXiv preprint arXiv:2106.04938, 2021. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
169,
|
| 1432 |
+
713,
|
| 1433 |
+
823,
|
| 1434 |
+
743
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Dongxian Wu, Shu-Tao Xia, and Yisen Wang. Adversarial weight perturbation helps robust generalization. arXiv preprint arXiv:2004.05884, 2020. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
169,
|
| 1443 |
+
751,
|
| 1444 |
+
823,
|
| 1445 |
+
781
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "Chaowei Xiao, Jun-Yan Zhu, Bo Li, Warren He, Mingyan Liu, and Dawn Song. Spatially transformed adversarial examples. In International Conference on Learning Representations, 2018. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
169,
|
| 1454 |
+
790,
|
| 1455 |
+
823,
|
| 1456 |
+
820
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 11
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan L Yuille, and Kaiming He. Feature denoising for improving adversarial robustness. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 501–509, 2019. ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
174,
|
| 1465 |
+
829,
|
| 1466 |
+
823,
|
| 1467 |
+
872
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Hanshu Yan, Jingfeng Zhang, Gang Niu, Jiashi Feng, Vincent YF Tan, and Masashi Sugiyama. Cifs: Improving adversarial robustness of cnns via channel-wise importance-based feature selection. arXiv preprint arXiv:2102.05311, 2021. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
174,
|
| 1476 |
+
882,
|
| 1477 |
+
825,
|
| 1478 |
+
924
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 11
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "Yuzhe Yang, Guo Zhang, Dina Katabi, and Zhi Xu. Me-net: Towards effective adversarial robustness with matrix estimation. In International Conference on Machine Learning, pp. 7025–7034. PMLR, 2019. ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
176,
|
| 1487 |
+
103,
|
| 1488 |
+
821,
|
| 1489 |
+
146
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 12
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint arXiv:1605.07146, 2016. ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
173,
|
| 1498 |
+
155,
|
| 1499 |
+
823,
|
| 1500 |
+
183
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 12
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "Runtian Zhai, Tianle Cai, Di He, Chen Dan, Kun He, John Hopcroft, and Liwei Wang. Adversarially robust generalization just requires more unlabeled data. arXiv preprint arXiv:1906.00555, 2019. ",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
173,
|
| 1509 |
+
193,
|
| 1510 |
+
823,
|
| 1511 |
+
222
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 12
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Haichao Zhang and Wei Xu. Adversarial interpolation training: A simple approach for improving model robustness. 2019. ",
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
174,
|
| 1520 |
+
231,
|
| 1521 |
+
823,
|
| 1522 |
+
258
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 12
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "text",
|
| 1528 |
+
"text": "Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric Xing, Laurent El Ghaoui, and Michael Jordan. Theoretically principled trade-off between robustness and accuracy. In International Conference on Machine Learning, pp. 7472–7482. PMLR, 2019. ",
|
| 1529 |
+
"bbox": [
|
| 1530 |
+
174,
|
| 1531 |
+
267,
|
| 1532 |
+
821,
|
| 1533 |
+
310
|
| 1534 |
+
],
|
| 1535 |
+
"page_idx": 12
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "text",
|
| 1539 |
+
"text": "Jingfeng Zhang, Xilie Xu, Bo Han, Gang Niu, Lizhen Cui, Masashi Sugiyama, and Mohan Kankanhalli. Attacks which do not kill training make adversarial learning stronger. In International Conference on Machine Learning, pp. 11278–11287. PMLR, 2020a. ",
|
| 1540 |
+
"bbox": [
|
| 1541 |
+
174,
|
| 1542 |
+
319,
|
| 1543 |
+
823,
|
| 1544 |
+
363
|
| 1545 |
+
],
|
| 1546 |
+
"page_idx": 12
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "text",
|
| 1550 |
+
"text": "Jingfeng Zhang, Jianing Zhu, Gang Niu, Bo Han, Masashi Sugiyama, and Mohan Kankanhalli. Geometry-aware instance-reweighted adversarial training. arXiv preprint arXiv:2010.01736, 2020b. ",
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
173,
|
| 1553 |
+
371,
|
| 1554 |
+
826,
|
| 1555 |
+
412
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 12
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "A APPENDIX ",
|
| 1562 |
+
"text_level": 1,
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
176,
|
| 1565 |
+
440,
|
| 1566 |
+
297,
|
| 1567 |
+
455
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 12
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "text",
|
| 1573 |
+
"text": "In this part, we verify the generalities of diffusion process in robust overfitting (the model will first memorize some easy-to-learn adversarial examples, and then spread to the entire training dataset) across different threat models, datasets and network architectures. Specifically, we remove the training examples whose loss value is lower than the LSC value during adversarial training. The learning curve and the rate of removal are shown in Figure 4. We can observe that if these easy-to-learn adversarial examples are not included in the training data, robust overfitting will not occur during adversarial training, which verified our conclusion. ",
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
173,
|
| 1576 |
+
472,
|
| 1577 |
+
826,
|
| 1578 |
+
569
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 12
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "image",
|
| 1584 |
+
"img_path": "images/63a545c53b23ec9d26c6ce6938c8f965e1898870c7e3b47b57c0bcfb4fd6b0cf.jpg",
|
| 1585 |
+
"image_caption": [
|
| 1586 |
+
"Figure 4: The learning curve and removing rate of adversarial training under (a) Cifar10 - $L _ { \\infty }$ - PreAct ResNet18; (b) Cifar10 - $L _ { 2 }$ - PreAct ResNet18; (c) Cifar $1 0 0 - L _ { \\infty }$ - PreAct ResNet18; (d) Cifar $1 0 0 - L _ { \\infty }$ - Wide ResNet. "
|
| 1587 |
+
],
|
| 1588 |
+
"image_footnote": [],
|
| 1589 |
+
"bbox": [
|
| 1590 |
+
184,
|
| 1591 |
+
588,
|
| 1592 |
+
815,
|
| 1593 |
+
867
|
| 1594 |
+
],
|
| 1595 |
+
"page_idx": 12
|
| 1596 |
+
}
|
| 1597 |
+
]
|
parse/dev/3JvRnAzw_0/3JvRnAzw_0_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/3JvRnAzw_0/3JvRnAzw_0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/3Pbra-_u76D/3Pbra-_u76D_content_list.json
ADDED
|
@@ -0,0 +1,1857 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "RETHINKING NETWORK DESIGN AND LOCAL GEOMETRY IN POINT CLOUD: A SIMPLE RESIDUAL MLP FRAMEWORK ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xu $\\mathbf { M a } ^ { 1 }$ , Can ${ \\bf { Q } i n } ^ { 1 }$ , Haoxuan $\\mathbf { Y o u } ^ { 2 }$ , Haoxi Ran1, Yun Fu1 1Northeastern University, Boston, MA, USA 2Columbia University, New York, NY, USA {ma.xu1,qin.ca,ran.h}@northeastern.edu {haoxuanyou,ranhaoxi}@gmail.com yunfu@ece.neu.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
194,
|
| 20 |
+
578,
|
| 21 |
+
280
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
318,
|
| 32 |
+
544,
|
| 33 |
+
333
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Point cloud analysis is challenging due to irregularity and unordered data structure. To capture the 3D geometries, prior works mainly rely on exploring sophisticated local geometric extractors using convolution, graph, or attention mechanisms. These methods, however, incur unfavorable latency during inference, and the performance saturates over the past few years. In this paper, we present a novel perspective on this task. We notice that detailed local geometrical information probably is not the key to point cloud analysis – we introduce a pure residual MLP network, called PointMLP, which integrates no “sophisticated” local geometrical extractors but still performs very competitively. Equipped with a proposed lightweight geometric affine module, PointMLP delivers the new stateof-the-art on multiple datasets. On the real-world ScanObjectNN dataset, our method even surpasses the prior best method by $3 . 3 \\%$ accuracy. We emphasize that PointMLP achieves this strong performance without any sophisticated operations, hence leading to a superior inference speed. Compared to most recent CurveNet, PointMLP trains $2 \\times$ faster, tests $7 \\times$ faster, and is more accurate on ModelNet40 benchmark. We hope our PointMLP may help the community towards a better understanding of point cloud analysis. The code is available at https://github.com/ma-xu/pointMLP-pytorch. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
347,
|
| 43 |
+
764,
|
| 44 |
+
597
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
621,
|
| 55 |
+
336,
|
| 56 |
+
637
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Lately, point cloud analysis has emerged as a popular topic in 3D understanding, attracting attention from academia and industry (Qi et al., 2017a; Shi et al., 2019; Xu et al., 2020). Different from 2D images represented by regular dense pixels, point clouds are composed of unordered and irregular sets of points $\\mathcal { P } \\in \\bar { \\mathbb { R } ^ { N \\times \\tilde { 3 } } }$ , making it infeasible to apply image processing methods to point cloud analysis directly. Meanwhile, the nature of sparseness and the presence of noises further restrict the performance. In the past few years, endowing with neural networks, point cloud analysis has seen a great improvement in various applications, including 3D shape classification (Qi et al., 2017a), semantic segmentation (Hu et al., 2020) and object detection (Shi & Rajkumar, 2020), etc. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
652,
|
| 66 |
+
825,
|
| 67 |
+
763
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Recent efforts have shown promising results for point cloud analysis by exploring local geometric information, using convolution (Li et al., 2021a), graph (Li et al., 2021a), or attention mechanism (Guo et al., 2021) (see Section 2 for details). These methods, despite their gratifying results, have mainly relied on the premise that an elaborate local extractor is essential for point cloud analysis, leading to the competition for careful designs that explore fine local geometric properties. Nevertheless, sophisticated extractors are not without drawbacks. On the one hand, due to prohibitive computations and the overhead of memory access, these sophisticated extractors hamper the efficiency of applications in natural scenes. As an example, until now, most 3D point cloud applications are still based on the simple PointNet ( and PointNet++) or the voxel-based methods (Liu et al., 2021; Li et al., 2021b; Zhang et al., 2021). However, applications that employ the aforementioned advanced methods are rare in literature. On the other hand, the booming sophisticated extractors saturate the performance since they already describe the local geometric properties well. A more complicated design is no longer to improve the performance further. These phenomena suggest that we may need to stop the race of local feature extraction designing, rethinking the necessity of elaborate local feature extractors and further revisiting the succinct design philosophy in point cloud analysis. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
771,
|
| 77 |
+
825,
|
| 78 |
+
924
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
103,
|
| 88 |
+
825,
|
| 89 |
+
160
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this paper, we aim at the ambitious goal of building a deep network for point cloud analysis using only residual feed-forward MLPs, without any delicate local feature explorations. By doing so, we eschew the prohibitive computations and continued memory access caused by the sophisticated local geometric extractors and enjoy the advantage of efficiency from the highly-optimized MLPs. To further improve the performance and generalization ability, We introduce a lightweight local geometric affine module that adaptively transforms the point feature in a local region. We term our new network architecture as PointMLP. In the sense of MLPbased design philosophy, our PointMLP is similar to PointNet and PointNet+ $^ +$ (Qi et al., 2017a;b). However, our model is more generic and exhibits promising performance. Different from the models with sophisticated local geometric extractors (e.g., DeepGCNs (Li et al., 2019), RSCNN (Liu et al., ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
166,
|
| 99 |
+
506,
|
| 100 |
+
429
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/635ed58352f670fed8bd190e81fdebc6d88479acd157fa0f7e28451bbf4cf84e.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Accuracy-speed tradeoff on ModelNet40. Our PointMLP performs best. Please refer to Section 4 for details. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
521,
|
| 113 |
+
183,
|
| 114 |
+
818,
|
| 115 |
+
368
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "2019b), RPNet (Ran et al., 2021).), our PointMLP is conceptually simpler and achieves results on par or even better than these state-of-the-art methods (see Figure 1). Keep in mind that we did not challenge the advantages of these local geometric extractors and we acknowledge their contributions; however, a more succinct framework should be studied considering both the efficiency and accuracy. In Table 1, we systemically compare our PointMLP with some representative methods. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
430,
|
| 125 |
+
825,
|
| 126 |
+
500
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Even though the design philosophy is simple, PointMLP (as well as the elite version) exhibits superior performance on 3D point cloud analysis. Specifically, we achieve the state-of-the-art classification performance, $9 4 . 5 \\%$ , on the ModelNet40 benchmark, and we outperform related works by $3 . 3 \\%$ accuracy on the real-world ScanObjectNN dataset, with a significantly higher inference speed. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
506,
|
| 136 |
+
823,
|
| 137 |
+
563
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
583,
|
| 148 |
+
344,
|
| 149 |
+
599
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Point cloud analysis. There are mainly two streams to process point cloud. Since the point cloud data structure is irregular and unordered, some works consider projecting the original point clouds to intermediate voxels (Maturana & Scherer, 2015; Shi et al., 2020) or images (You et al., 2018; Li et al., 2020), translating the challenging 3D task into a well-explored 2D image problem. In this regime, point clouds understanding is largely boosted and enjoys the fast processing speed from 2D images or voxels. Albeit efficient, information loss caused by projection degrades the representational quality of details for point clouds (Yang et al., 2019). To this end, some methods are proposed to process the original point cloud sets directly. PointNet (Qi et al., 2017a) is a pioneering work that directly consumes unordered point sets as inputs using shared MLPs. Based on PointNet, PointNet+ $^ { - + }$ (Qi et al., 2017b) further introduced a hierarchical feature learning paradigm to capture the local geometric structures recursively. Owing to the local point representation (and multi-scale information), PointNet $^ { + + }$ exhibits promising results and has been the cornerstone of modern point cloud methods (Wang et al., 2019; Fan et al., 2021; Xu et al., 2021a). Our PointMLP also follows the design philosophy of PointNet++ but explores a simpler yet much deeper network architecture. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
614,
|
| 159 |
+
825,
|
| 160 |
+
810
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Local geometry exploration. As PointNet+ $^ +$ built the generic point cloud analysis network framework, the recent research focus is shifted to how to generate better regional points representation. Predominantly, the explorations of local points representation can be divided into three categories: convolution-, graph-, and attention-based methods. One of the most distinguished convolution-based methods is PointConv (Wu et al., 2019). By approximating continuous weight and density functions in convolutional filters using an MLP, PointConv is able to extend the dynamic filter to a new convolution operation. Also, PAConv (Xu et al., 2021a) constructs the convolution kernel by dynamically assembling basic weight matrices stored in a weight bank. Without modifying network configurations, PAConv can be seamlessly integrated into classical MLP-based pipelines. Unlike convolution-based methods, Graph-based methods investigate mutually correlated relationships among points with a graph. In Wang et al. (2019), an EdgeConv is proposed to generate edge features that describe the relationships between a point and its neighbors. By doing so, a local graph is built, and the point relationships are well preserved. In 3D-GCN (Lin et al., 2021), authors aim at deriving deformable 3D kernels using a 3D Graph Convolution Network. Closely related to graphbased methods, the attention-based methods exhibit excellent ability on relationship exploration as well, like PCT (Guo et al., 2021) and Point Transformer (Zhao et al., 2021; Engel et al., 2020). With the development of local geometry exploration, the performances on various tasks appear to be saturated. Continuing on this track would bring minimal improvements. In this paper, we showcase that even without the carefully designed operations for local geometry exploration, a pure deep hierarchical MLP architecture is able to exhibit gratifying performances and even better results. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
827,
|
| 170 |
+
823,
|
| 171 |
+
924
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
103,
|
| 181 |
+
825,
|
| 182 |
+
284
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Deep network architecture for point cloud. Interestingly, the development of point cloud analysis is closely related to the evolution of the image processing network. In the early era, works in the image processing field simply stack several learning layers to probe the performance limitations (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; Dong et al., 2014). Then, the great success of deep learning was significantly promoted by deep neural architectures like ResNet (He et al., 2016), which brings a profound impact to various research fields. Recently, attention-based models, including atten",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
301,
|
| 192 |
+
436,
|
| 193 |
+
522
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "table",
|
| 199 |
+
"img_path": "images/dfe41ca7f89998d8aa2e8f7f73f2de3943bc56780ab345030028df2f62d3ea97.jpg",
|
| 200 |
+
"table_caption": [
|
| 201 |
+
"Table 1: Systematic comparison among some representative methods. “Deep” indicates that a model is expandable along depth. “Opt.” stands for the principal operator. "
|
| 202 |
+
],
|
| 203 |
+
"table_footnote": [],
|
| 204 |
+
"table_body": "<table><tr><td>Method</td><td>hierarchy</td><td>locality</td><td>deep</td><td>opt.</td></tr><tr><td>PointNet</td><td>x/</td><td>X</td><td></td><td>MLP</td></tr><tr><td>PointNet++</td><td></td><td></td><td></td><td>MLP</td></tr><tr><td>DGCNN</td><td>X</td><td></td><td></td><td>GCN</td></tr><tr><td>DeepGCNs</td><td></td><td></td><td>xxx/</td><td>GCN</td></tr><tr><td>PointConv</td><td></td><td></td><td>X</td><td>Conv.</td></tr><tr><td>Point Trans.</td><td></td><td></td><td></td><td>Atten.</td></tr><tr><td>PointMLP</td><td></td><td></td><td></td><td>MLP</td></tr></table>",
|
| 205 |
+
"bbox": [
|
| 206 |
+
454,
|
| 207 |
+
364,
|
| 208 |
+
820,
|
| 209 |
+
498
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "tion blocks (Wang et al., 2018) and Transformer architectures (Dosovitskiy et al., 2021), further flesh out the community. Most recently, the succinct deep MLP architectures have attracted a lot of attention due to their efficiency and generality. Point cloud analysis follows the same develop history as well, from MLP-based PointNet (Qi et al., 2017a), deep hierarchical PointNet+ $^ +$ (Qi et al., 2017b), convolution-/graph-/relation- based methods (Wu et al., 2019; Wang et al., 2019; Ran et al., 2021), to state-of-the-art Transformer-based models (Guo et al., 2021; Zhao et al., 2021). In this paper, we abandon sophisticated details and present a simple yet effective deep residual MLP network for point cloud analysis. Instead of following the tendency in the vision community deliberately, we are in pursuit of an inherently simple and empirically powerful architecture for point cloud analysis. ",
|
| 216 |
+
"bbox": [
|
| 217 |
+
173,
|
| 218 |
+
523,
|
| 219 |
+
825,
|
| 220 |
+
648
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "3 DEEP RESIDUAL MLP FOR POINT CLOUD ",
|
| 227 |
+
"text_level": 1,
|
| 228 |
+
"bbox": [
|
| 229 |
+
174,
|
| 230 |
+
670,
|
| 231 |
+
553,
|
| 232 |
+
686
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "We propose to learn the point cloud representation by a simple feed-forward residual MLP network (named PointMLP), which hierarchically aggregates the local features extracted by MLPs, and abandons the use of delicate local geometric extractors. To further improve the robustness and improve the performance, we also introduce a lightweight geometric affine module to transform the local points to a normal distribution. The detailed framework of our method is illustrated in Figure 2. ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
703,
|
| 242 |
+
825,
|
| 243 |
+
773
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "3.1 REVISITING POINT-BASED METHODS ",
|
| 250 |
+
"text_level": 1,
|
| 251 |
+
"bbox": [
|
| 252 |
+
176,
|
| 253 |
+
791,
|
| 254 |
+
472,
|
| 255 |
+
806
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "The design of point-based methods for point cloud analysis dates back to the PointNet and Point$\\mathrm { N e t } { + + }$ papers (Qi et al., 2017a;b), if not earlier. The motivation behind this direction is to directly consume point clouds from the beginning and avoid unnecessary rendering processes. ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
174,
|
| 264 |
+
819,
|
| 265 |
+
823,
|
| 266 |
+
861
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "Given a set of points $\\mathcal P = \\{ p _ { i } | i = 1 , \\cdots , N \\} \\in \\mathbb { R } ^ { N \\times 3 }$ , where $N$ indicates the number of points in a $( x , y , z )$ Cartesian space, point-based methods aims to directly learn the underlying representation $f$ of $\\mathcal { P }$ using neural networks. One of the most pioneering works is PointNet $^ { + + }$ , which learns hierarchical features by stacking multiple learning stages. In each stage, $N _ { s }$ points are re-sampled by the farthest point sampling (FPS) algorithm where $s$ indexes the stage and $K$ neighbors are employed for each sampled point and aggregated by max-pooling to capture local structures. Conceptually, the kernel operation of PointNet++ can be formulated as: ",
|
| 273 |
+
"bbox": [
|
| 274 |
+
174,
|
| 275 |
+
866,
|
| 276 |
+
823,
|
| 277 |
+
924
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "image",
|
| 283 |
+
"img_path": "images/295efa483234887acc5f296fe8f2504323ab06afe3fc5017c4d57094223bdd15.jpg",
|
| 284 |
+
"image_caption": [
|
| 285 |
+
"Figure 2: Overview of one stage in PointMLP. Given an input point cloud, PointMLP progressively extracts local features using residual point MLP blocks. In each stage, we first transform the local points using a geometric affine module, then they are extracted before and after the aggregation operation, respectively. PointMLP progressively enlarges the receptive field and models complete point cloud geometric information by repeating multiple stages. "
|
| 286 |
+
],
|
| 287 |
+
"image_footnote": [],
|
| 288 |
+
"bbox": [
|
| 289 |
+
186,
|
| 290 |
+
98,
|
| 291 |
+
818,
|
| 292 |
+
320
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 3
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "",
|
| 299 |
+
"bbox": [
|
| 300 |
+
174,
|
| 301 |
+
433,
|
| 302 |
+
825,
|
| 303 |
+
476
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "equation",
|
| 309 |
+
"img_path": "images/37c5053951f9d79355dc87606ae0d783c54bbe0221d904711eb57540e637ba31.jpg",
|
| 310 |
+
"text": "$$\ng _ { i } = \\mathcal { A } \\left( \\Phi \\left( f _ { i , j } \\right) \\middle | j = 1 , \\cdot \\cdot \\ , K \\right) ,\n$$",
|
| 311 |
+
"text_format": "latex",
|
| 312 |
+
"bbox": [
|
| 313 |
+
387,
|
| 314 |
+
483,
|
| 315 |
+
611,
|
| 316 |
+
501
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "where $\\boldsymbol { \\mathcal { A } } \\left( \\cdot \\right)$ means aggregation function (max-pooling in PointNet++), $\\Phi \\left( \\cdot \\right)$ denotes the local feature extraction function (MLP in PointNet $^ { + + }$ ), and $f _ { i , j }$ is the $j$ -th neighbor point feature of $i$ -th sampled point. By doing so, PointNet+ $^ +$ is able to effectively capture local geometric information and progressively enlarge the receptive fields by repeating the operation. ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
174,
|
| 325 |
+
508,
|
| 326 |
+
825,
|
| 327 |
+
565
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "In the sense of network architecture design, PointNet $^ { + + }$ exhibits a universal pipeline for point cloud analysis. Following this pipeline, some plug-and-play methods have been proposed, mainly focusing on the local feature extractor $\\Phi \\left( \\cdot \\right)$ (Xu et al., 2021a; Liu et al., 2019b; Thomas et al., 2019; Zhao et al., 2021). Generally, these local feature extractors thoroughly explore the local geometric information using convolution, graph, or self-attention mechanisms. In RSCNN (Liu et al., 2019b), the extractor is mainly achieved by exploring point relations as follow: ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
173,
|
| 336 |
+
570,
|
| 337 |
+
825,
|
| 338 |
+
655
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 3
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "equation",
|
| 344 |
+
"img_path": "images/3e10cd6d43b505d311b761b00a349e72b4d5e500ae760188f2b68431b15aba4c.jpg",
|
| 345 |
+
"text": "$$\n\\begin{array} { r } { \\Phi \\left( f _ { i , j } \\right) = \\mathrm { M L P } \\left( \\left[ \\left. x _ { i , j } - x _ { i } \\right. _ { 2 } , x _ { i , j } - x _ { i } , x _ { i , j } , x _ { i } \\right] \\right) * f _ { i , j } , \\forall j \\in \\left\\{ 1 , \\cdots , K \\right\\} , } \\end{array}\n$$",
|
| 346 |
+
"text_format": "latex",
|
| 347 |
+
"bbox": [
|
| 348 |
+
238,
|
| 349 |
+
661,
|
| 350 |
+
758,
|
| 351 |
+
681
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "where $[ \\cdot ]$ is the concatenation operation and MLP is a small network composed of a Fully-connected (FC) layer, Batch Normalization layer, and activation function. Unlike RSCNN, Point Transformer introduces the self-attention mechanism into point cloud analysis and considers the similarities between pair-wise points in a local region. To this end, it re-formulates the extractor as: ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
173,
|
| 360 |
+
689,
|
| 361 |
+
825,
|
| 362 |
+
746
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "equation",
|
| 368 |
+
"img_path": "images/27a19c126266e371609ed0175f575a9473d7818fb167bb195778a3421eabdcd9.jpg",
|
| 369 |
+
"text": "$$\n\\Phi \\left( f _ { i } \\right) = \\sum _ { j = 1 } ^ { k } { { \\rho \\left( { \\gamma \\left( { \\varphi \\left( { { f _ { i } } } \\right) - \\psi \\left( { { f _ { i , j } } } \\right) + \\delta } \\right) } \\right) } \\odot \\left( { \\alpha \\left( { { f _ { i , j } } + \\delta } \\right) } \\right) } ,\n$$",
|
| 370 |
+
"text_format": "latex",
|
| 371 |
+
"bbox": [
|
| 372 |
+
300,
|
| 373 |
+
752,
|
| 374 |
+
696,
|
| 375 |
+
797
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "where $\\gamma , \\varphi , \\psi$ and $\\alpha$ are linear mapping function, “ $\\odot$ ” is a Hadamard product, and $\\rho$ is a softmax normalization. In particular, Point Transformer introduces a relative position encoding, $\\delta \\ = \\ \\theta \\left( x _ { i } - x _ { i , j } \\right)$ , where the relative position is encoded by two FC layers with a ReLU nonlinearity layer, into both attention weights and features. The lightweight positional encoder largely improves the performance of Point Transformer. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
174,
|
| 384 |
+
804,
|
| 385 |
+
825,
|
| 386 |
+
875
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "While these methods can easily take the advantage of detailed local geometric information and usually exhibit promising results, two issues limit their development. First, with the introduction of delicate extractors, the computational complexity is largely increased, leading to prohibitive inference latency 1. For example, the FLOPs of Equation 3 in Point Transformer would be $1 4 K d ^ { 2 }$ , ignoring the summation and subtraction operations. Compared with the conventional FC layer that enjoys $2 K d ^ { 2 }$ FLOPs, it increases the computations by times. Notice that the memory access cost is not considered yet. Second, with the development of local feature extractors, the performance gain has started to saturate on popular benchmarks. Moreover, empirical analysis in Liu et al. (2020) reveals that most sophisticated local extractors make surprisingly similar contributions to the network performance under the same network input. Both limitations encourage us to develop a new method that circumvents the employment of sophisticated local extractors, and provides gratifying results. ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
174,
|
| 395 |
+
881,
|
| 396 |
+
823,
|
| 397 |
+
924
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "",
|
| 404 |
+
"bbox": [
|
| 405 |
+
173,
|
| 406 |
+
102,
|
| 407 |
+
825,
|
| 408 |
+
215
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 4
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "3.2 FRAMEWORK OF POINTMLP ",
|
| 415 |
+
"text_level": 1,
|
| 416 |
+
"bbox": [
|
| 417 |
+
176,
|
| 418 |
+
231,
|
| 419 |
+
415,
|
| 420 |
+
244
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "In order to get rid of the restrictions mentioned above, we present a simple yet effective MLP-based network for point cloud analysis that no sophisticated or heavy operations are introduced. The key operation of our PointMLP can be formulated as: ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
174,
|
| 429 |
+
256,
|
| 430 |
+
825,
|
| 431 |
+
297
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "equation",
|
| 437 |
+
"img_path": "images/bdde877833ad9bb03b926c34d879a3aaf3cfdcf1a99e4d43024f7620131817e0.jpg",
|
| 438 |
+
"text": "$$\ng _ { i } = \\Phi _ { p o s } ( A ( \\Phi _ { p r e } ( f _ { i , j } ) , | j = 1 , \\cdot \\cdot \\cdot , K ) ) ,\n$$",
|
| 439 |
+
"text_format": "latex",
|
| 440 |
+
"bbox": [
|
| 441 |
+
349,
|
| 442 |
+
300,
|
| 443 |
+
647,
|
| 444 |
+
318
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "where $\\Phi _ { p r e }$ (·) and $\\Phi _ { p o s } \\left( \\cdot \\right)$ are residual point MLP blocks: the shared $\\Phi _ { p r e } \\left( \\cdot \\right)$ is designed to learn shared weights from a local region while the $\\Phi _ { p o s } \\left( \\cdot \\right)$ is leveraged to extract deep aggregated features. In detail, the mapping function can be written as a series of homogeneous residual MLP blocks, MLP $( x ) + x$ , in which MLP is combined by FC, normalization and activation layers (repeated two times). Following Qi et al. (2017a), we consider the aggregation function $\\boldsymbol { \\mathcal { A } } \\left( \\cdot \\right)$ as max-pooling operation. Equation 4 describes one stage of of PointMLP. For a hierarchical and deep network, we recursively repeat the operation by $s$ stages. Albeit the framework of PointMLP is succinct, it exhibits some prominent merits. 1) Since PointMLP only leverages MLPs, it is naturally invariant to permutation, which perfectly fits the characteristic of point cloud. 2) By incorporating residual connections, PointMLP can be easily extended to dozens layers, resulting deep feature representations. 3) In addition, since there is no sophisticated extractors included and the main operation is only highly optimized feed-forward MLPs, even we introduce more layers, our PointMLP still performs efficiently. Unless explicitly stated, the networks in our experiments use four stages, and two residual blocks in both $\\Phi _ { p r e }$ (·) and $\\Phi _ { p o s }$ (·). We employ $\\mathbf { k }$ -nearest neighbors algorithm (kNN) to select the neighbors and set the number $K$ to 24. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
318,
|
| 454 |
+
825,
|
| 455 |
+
526
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 4
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "3.3 GEOMETRIC AFFINE MODULE ",
|
| 462 |
+
"text_level": 1,
|
| 463 |
+
"bbox": [
|
| 464 |
+
176,
|
| 465 |
+
541,
|
| 466 |
+
423,
|
| 467 |
+
556
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "While it may be easy to simply increase the depth by considering more stages or stacking more blocks in $\\Phi _ { p r e }$ and $\\Phi _ { p o s }$ , we notice that a simple deep MLP structure will decrease the accuracy and stability, making the model less robust. This is perhaps caused by the sparse and irregular geometric structures in local regions. Diverse geometric structures among different local regions may require different extractors but shared residual MLPs struggle at achieving this. We flesh out this intuition and develop a lightweight geometric affine module to tackle this problem. Let $\\{ f _ { i , j } \\} _ { j = 1 , \\cdots , k } \\in$ $\\mathbb { R } ^ { k \\times d }$ be the grouped local neighbors of $f _ { i } \\in \\mathbb { R } ^ { d }$ containing $k$ points, and each neighbor point $f _ { i , j }$ is a $d$ -dimensional vector. We transform the local neighbor points by the following formulation: ",
|
| 474 |
+
"bbox": [
|
| 475 |
+
173,
|
| 476 |
+
568,
|
| 477 |
+
826,
|
| 478 |
+
684
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 4
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "equation",
|
| 484 |
+
"img_path": "images/6c894d8ad679ca570a82f2f24d39f496d18afa38f752f1d31e55d7acbe76a192.jpg",
|
| 485 |
+
"text": "$$\n\\{ f _ { i , j } \\} = \\alpha \\odot \\frac { \\{ f _ { i , j } \\} - f _ { i } } { \\sigma + \\epsilon } + \\beta , ~ \\sigma = \\sqrt { \\frac { 1 } { k \\times n \\times d } \\sum _ { i = 1 } ^ { n } \\sum _ { j = 1 } ^ { k } { ( f _ { i , j } - f _ { i } ) ^ { 2 } } } ,\n$$",
|
| 486 |
+
"text_format": "latex",
|
| 487 |
+
"bbox": [
|
| 488 |
+
256,
|
| 489 |
+
685,
|
| 490 |
+
743,
|
| 491 |
+
734
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "where $\\alpha \\in \\mathbb { R } ^ { d }$ and $\\beta \\in \\mathbb { R } ^ { d }$ are learnable parameters, $\\odot$ indicates Hadamard production, and $\\epsilon =$ $1 e ^ { - 5 }$ is a small number for numerical stability (Ioffe & Szegedy, 2015; Wu & He, 2018; Dixon & Massey Jr, 1951). Note that $\\sigma$ is a scalar describes the feature deviation across all local groups and channels. By doing so, we transform the local points to a normal distribution while maintaining original geometric properties. ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
174,
|
| 500 |
+
736,
|
| 501 |
+
825,
|
| 502 |
+
808
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "3.4 COMPUTATIONAL COMPLEXITY AND ELITE VERSION ",
|
| 509 |
+
"text_level": 1,
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
821,
|
| 513 |
+
584,
|
| 514 |
+
838
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 4
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "Although the FC layer is highly optimized by mainstream deep learning framework, the theoretical number of parameters and computational complexity are still high. To further improve the efficiency, we introduce a lightweight version of PointMLP named as pointMLP-elite, with less than 0.7M parameters and prominent inference speed (176 samples/second on ModelNet40 benchmark). ",
|
| 521 |
+
"bbox": [
|
| 522 |
+
176,
|
| 523 |
+
848,
|
| 524 |
+
823,
|
| 525 |
+
877
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "table",
|
| 531 |
+
"img_path": "images/103b1fdb6628cc296abe486b55f88d5eb59eb1298b6caf4f1b859b6afc86c21d.jpg",
|
| 532 |
+
"table_caption": [
|
| 533 |
+
"Table 2: Classification results on ModelNet40 dataset. With only 1k points, our method achieves state-of-the-art results on both class mean accuracy (mAcc) and overall accuracy (OA) metrics. We also report the speed of some open-sourced methods by samples/second tested on one Tesla V100- pcie GPU and four cores AMD EPYC $7 3 5 1 @ 2 . 6 0 \\mathrm { G H z }$ CPU. \\* For KPConv, we take the results from the original paper. The best is marked in bold and second best is in blue. "
|
| 534 |
+
],
|
| 535 |
+
"table_footnote": [],
|
| 536 |
+
"table_body": "<table><tr><td rowspan=1 colspan=3>Method</td><td rowspan=1 colspan=1>Inputs mAcc(%) OA(%)</td><td rowspan=1 colspan=1>Train TestParam.speed speed</td></tr><tr><td rowspan=1 colspan=3>PointNet (Qi et al., 2017a)PointNet++ (Qi et al., 2017b)PointNet++ (Qi et al., 2017b)</td><td rowspan=1 colspan=1>1k P 86.0 89.21kP - 90.75k P+N - 91.9</td><td rowspan=1 colspan=1>1.41M 223.8 308.51.41M</td></tr><tr><td rowspan=10 colspan=3>PointCNN (Li et al., 2018b)PointConv (Wu et al., 2019)KPConv (Thomas et al., 2019)DGCNN (Wang et al., 2019)RS-CNN (Liu et al., 2019b)DensePoint (Liu et al., 2019a)PointASNL (Yan et al., 2020)PosPool (Liu et al., 2020)Point Trans. (Engel et al., 2020)</td><td rowspan=2 colspan=1>1k P 88.1 92.5</td><td rowspan=4 colspan=1>18.6M 17.9 10.215.2M 31.0* 80.0*</td></tr><tr><td rowspan=2 colspan=1>18.6M 17.915.2M 31.0*</td></tr><tr><td rowspan=1 colspan=1>1k P+N - 92.5</td></tr><tr><td rowspan=1 colspan=1>7kP - 92.9</td><td rowspan=1 colspan=1>15.2M 31.0*</td></tr><tr><td rowspan=1 colspan=1>1k P 90.2 92.9</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>1k P - 92.9</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>1k P 1 93.2</td><td rowspan=5 colspan=1>8.39M 16.3 112</td></tr><tr><td rowspan=1 colspan=1>1k P = 92.9</td></tr><tr><td rowspan=1 colspan=1>5k P = 93.2</td></tr><tr><td rowspan=1 colspan=2>020)</td><td rowspan=1 colspan=1>1k P = 92.8</td></tr><tr><td rowspan=7 colspan=3>GBNet (Qiu et al., 2021b)GDANet (Xu et al., 2021b)PA-DGC (Xu et al., 2021a)MLMSPT (Han et al., 2021)PCT (Guo et al., 2021)Point Trans. (Zhao et al.,2021)CurveNet (Xiang et al., 2021)</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1k P 91.0 93.8</td></tr><tr><td rowspan=1 colspan=1>1k P = 93.8</td><td rowspan=6 colspan=1>0.93M 26.3 14.02.04M 20.8 15.0</td></tr><tr><td rowspan=1 colspan=1>1k P 93.9</td></tr><tr><td rowspan=1 colspan=1>1k P 92.9</td></tr><tr><td rowspan=1 colspan=1>1k P = 93.2</td></tr><tr><td rowspan=1 colspan=1>1k P 90.6 93.7</td></tr><tr><td rowspan=1 colspan=1>1k P - 94.2</td></tr><tr><td rowspan=4 colspan=3>PointMLP w/o vot.PointMLP w/ vot.PointMLP-elite w/o vot.PointMLP-elite w/ vot.</td><td rowspan=1 colspan=1>1k P 91.3 94.1</td><td rowspan=1 colspan=1>12.6M 47.1 112</td></tr><tr><td rowspan=1 colspan=1>1k P 91.4 94.5</td><td rowspan=1 colspan=1>12.6M 47.1 112</td></tr><tr><td rowspan=1 colspan=1>1k P 90.9 93.6</td><td rowspan=1 colspan=1>0.68M 116 176</td></tr><tr><td rowspan=1 colspan=1>1k P 90.7 94.0</td><td rowspan=1 colspan=1>0.68M 116 176</td></tr></table>",
|
| 537 |
+
"bbox": [
|
| 538 |
+
202,
|
| 539 |
+
186,
|
| 540 |
+
790,
|
| 541 |
+
529
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 5
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "",
|
| 548 |
+
"bbox": [
|
| 549 |
+
176,
|
| 550 |
+
554,
|
| 551 |
+
825,
|
| 552 |
+
583
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Inspired by He et al. (2016); Hu et al. (2018), we present a bottleneck structure for the mapping function $\\Phi _ { p r e }$ and $\\Phi _ { p o s }$ . We opt to reduce the channel number of the intermediate FC layer by a factor of $r$ and increase the channel number as the original feature map. This strategy is opposite to the design in Vaswani et al. (2017); Touvron et al. (2021) which increases the intermediate feature dimensions. Empirically, we do not observe a significant performance drop. This method reduce the parameters of residual MLP blocks from $2 d ^ { 2 }$ to $\\scriptstyle { \\frac { 2 } { r } } d ^ { 2 }$ . By default, we set $r$ to 4 in PointMLPelite. Besides, we also slightly adjust the network architecture, reducing both the MLP blocks and embedding dimension number (see appendix for details). Inspired by Xie et al. (2017), we also investigated a grouped FC operation in the network that divides one FC layer into $g$ groups of subFC layers, like group convolution layer. However, we empirically found that this strategy would largely hamper the performance. As a result, we did not consider it in our implementation. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
589,
|
| 562 |
+
825,
|
| 563 |
+
742
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "4 EXPERIMENTS ",
|
| 570 |
+
"text_level": 1,
|
| 571 |
+
"bbox": [
|
| 572 |
+
176,
|
| 573 |
+
763,
|
| 574 |
+
326,
|
| 575 |
+
780
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "In this section, we comprehensively evaluate PointMLP on several benchmarks. Detailed ablation studies demonstrate the effectiveness of PointMLP with both quantitative and qualitative analysis. ",
|
| 582 |
+
"bbox": [
|
| 583 |
+
174,
|
| 584 |
+
795,
|
| 585 |
+
825,
|
| 586 |
+
824
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 5
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "4.1 SHAPE CLASSIFICATION ON MODELNET40 ",
|
| 593 |
+
"text_level": 1,
|
| 594 |
+
"bbox": [
|
| 595 |
+
176,
|
| 596 |
+
842,
|
| 597 |
+
509,
|
| 598 |
+
856
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "We first evaluate PointMLP on the ModelNet40 (Wu et al., 2015) benchmark, which contains 9,843 training and 2,468 testing meshed CAD models belonging to 40 categories. Following the standard practice in the community, we report the class-average accuracy (mAcc) and overall accuracy (OA) on the testing set. We train all models for 300 epochs using SGD optimizer. ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
174,
|
| 607 |
+
867,
|
| 608 |
+
825,
|
| 609 |
+
924
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "image",
|
| 615 |
+
"img_path": "images/071941c75a0797a644a63c156f0143a299fb274fe0ca60d40c36dc15a5458c0d.jpg",
|
| 616 |
+
"image_caption": [
|
| 617 |
+
"Figure 3: Four run results (mean $\\pm$ std) of PointMLP with/without our geometric affine module on ScanObjectNN test set. We zoom in on the details of PointMLP40 to show the stability difference. "
|
| 618 |
+
],
|
| 619 |
+
"image_footnote": [],
|
| 620 |
+
"bbox": [
|
| 621 |
+
186,
|
| 622 |
+
108,
|
| 623 |
+
812,
|
| 624 |
+
236
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Experimental results are presented in Table 2. Among these methods, our PointMLP clearly outperforms state-of-the-art method CurveNet by $0 . 3 \\%$ $9 4 . 5 \\%$ vs. $9 4 . 2 \\%$ ) overall accuracy with only 1k points. Note that this improvement could be considered as a promising achievement since the results on ModelNet40 recent methods have been saturated around $94 \\%$ for a long time. Even without the voting strategy (Liu et al., 2019b), our PointMLP still performs on par or even better than other methods that are tested with voting strategy. ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
174,
|
| 633 |
+
308,
|
| 634 |
+
825,
|
| 635 |
+
392
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Despite having better accuracy, our method is much faster than the methods with sophisticated local geometric extractors. We compare PointMLP to several open-sourced methods and report the parameters, classification accuracy, training, and testing speed. As we stated previously, a key intuition behind this experiment is that model complexity can not directly reflect efficiency. For example, CurveNet is lightweight and delivers a strong result, whereas the inference cost is prohibitive (15 samples/second). On the contrary, our PointMLP presents a high inference speed $( \\mathbf { 1 1 2 \\ s a m } .$ - ples/second). To further reduce the model size and speed up the inference, we present a lightweight PointMLP-elite, which significantly reduces the number of parameters to 0.68M, while maintaining high-performance $9 0 . 9 \\%$ mAcc and $9 4 . 0 \\%$ OA on ModelNet40. With PointMLP-elite, we further speed up the inference to 176 samples/second. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
398,
|
| 645 |
+
825,
|
| 646 |
+
537
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 6
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "4.2 SHAPE CLASSIFICATION ON SCANOBJECTNN ",
|
| 653 |
+
"text_level": 1,
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
556,
|
| 657 |
+
531,
|
| 658 |
+
570
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "While ModelNet40 is the de-facto canonical benchmark for point cloud analysis, it may not meet the requirement of modern methods due to its synthetic nature and the fast development of point cloud analysis. To this end, we also conduct experiments on the ScanObjectNN benchmark (Uy et al., 2019). ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
583,
|
| 668 |
+
393,
|
| 669 |
+
722
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "ScanObjectNN is a recently released point cloud benchmark that contains 15,000 objects that are categorized into 15 classes with 2,902 unique object instances in the real world. Due to the existence of background, noise, and occlusions, this benchmark poses significant challenges to existing point cloud analysis methods. We consider the hard",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
731,
|
| 679 |
+
395,
|
| 680 |
+
881
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "table",
|
| 686 |
+
"img_path": "images/c1d2456c590a0b43cd91f10a9cd9fe4e7dfe64953c9aad84000bf8617ead6a5c.jpg",
|
| 687 |
+
"table_caption": [
|
| 688 |
+
"Table 3: Classification results on ScanObjectNN dataset. We examine all methods on the most challenging variant $( \\mathrm { P B } _ { - } \\mathrm { T } 5 0 \\mathrm { \\_ R S } )$ . For our pointMLP and PointMLP-elite, we train and test for four runs and report mean $\\pm$ std results. "
|
| 689 |
+
],
|
| 690 |
+
"table_footnote": [],
|
| 691 |
+
"table_body": "<table><tr><td>Method</td><td>mAcc(%)</td><td>OA(%)</td></tr><tr><td>3DmFV PointNet (Qi et al., 2017a) SpiderCNN (Xu et al., 2018) PointNet++ (Qi et al., 2017b)</td><td>58.1 63.4 69.8</td><td>63 68.2 73.7</td></tr><tr><td>DGCNN (Wang et al., 2019) PointCNN (Li et al., 2018b) BGA-DGCNN (Uy et al., 2019) BGA-PN++ (Uy et al., 2019)</td><td>75.4 73.6 75.1 75.7 77.5</td><td>77.9 78.1 78.5 79.7</td></tr><tr><td>DRNet (Qiu et al.,2021a) GBNet (Qiu et al., 2021b) SimpleView (Goyal et al., 2021) PRANet (Cheng et al., 2021)</td><td>78.0 77.8 =</td><td>80.2 80.3 80.5 80.5±0.3</td></tr><tr><td>MVTN (Hamdi et al., 2021) PointMLP (ours) PointMLP-elite (ours)</td><td>79.1 - 83.9±0.5</td><td>82.1 82.8 85.4±0.3</td></tr></table>",
|
| 692 |
+
"bbox": [
|
| 693 |
+
428,
|
| 694 |
+
645,
|
| 695 |
+
797,
|
| 696 |
+
869
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 6
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "est perturbed variant (PB T50 RS) in our experiments. We train our model using an SGD optimizer for 200 epochs with a batch size of 32. For a better illustration, we train and test our method for four runs and report the mean $\\pm$ standard deviation in Table 3. ",
|
| 703 |
+
"bbox": [
|
| 704 |
+
176,
|
| 705 |
+
882,
|
| 706 |
+
825,
|
| 707 |
+
924
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 6
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "table",
|
| 713 |
+
"img_path": "images/4714faffbdb818a3d25aa4d667dfd5a946aa4697fe16c249bde466faf50d5a8a.jpg",
|
| 714 |
+
"table_caption": [
|
| 715 |
+
"Table 4: Classification accuracy of pointMLP on ScanObjectNN test set using 24, 40, and 56 layers, respectively. "
|
| 716 |
+
],
|
| 717 |
+
"table_footnote": [],
|
| 718 |
+
"table_body": "<table><tr><td>Depth</td><td>mAcc(%)</td><td>0A(%)</td></tr><tr><td>24 layers</td><td>83.4±0.4</td><td>84.8±0.5</td></tr><tr><td>40 layers</td><td>83.9±0.5</td><td>85.4±0.3</td></tr><tr><td>56 layers</td><td>83.2±0.2</td><td>85.0±0.1</td></tr></table>",
|
| 719 |
+
"bbox": [
|
| 720 |
+
202,
|
| 721 |
+
161,
|
| 722 |
+
434,
|
| 723 |
+
227
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 7
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "table",
|
| 729 |
+
"img_path": "images/fffd4a3c4c065d15caaaf03ea8e8f208a399f656de0a5aab528d83266347fbbc.jpg",
|
| 730 |
+
"table_caption": [
|
| 731 |
+
"Table 5: Component ablation studies on ScanObjectNN test set. "
|
| 732 |
+
],
|
| 733 |
+
"table_footnote": [],
|
| 734 |
+
"table_body": "<table><tr><td>Tpre</td><td>Tpos</td><td>Affine</td><td>mAcc(%)</td><td>0A(%)</td></tr><tr><td></td><td></td><td></td><td>80.8±0.4</td><td>82.8±0.0</td></tr><tr><td>x/</td><td>×</td><td>√</td><td>83.3±0.3</td><td>84.7±0.2</td></tr><tr><td></td><td>√</td><td>×</td><td>79.1±1.7</td><td>81.5±1.4</td></tr><tr><td></td><td></td><td>「</td><td>83.9±0.5</td><td>85.4±0.3</td></tr></table>",
|
| 735 |
+
"bbox": [
|
| 736 |
+
511,
|
| 737 |
+
143,
|
| 738 |
+
823,
|
| 739 |
+
228
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 7
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "Empirically, our PointMLP surpasses all methods by a significant improvement on both class mean accuracy (mAcc) and the overall accuracy (OA). For example, we outperform PRANet by $4 . 8 \\%$ mAcc and $3 . 3 \\%$ OA. Even compared with the heavy multi-view projection method MVTN (12 views), our PointMLP still performs much better $( 8 5 . 3 9 \\% 8 2 . 8 \\% )$ . Notice that we achieve this by fewer training epochs and did not consider the voting strategy. Moreover, we notice that our method achieves the smallest gap between class mean accuracy and overall accuracy. This phenomenon indicates that PointMLP did not bias to a particular category, showing decent robustness. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
173,
|
| 748 |
+
257,
|
| 749 |
+
825,
|
| 750 |
+
356
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "4.3 ABLATION STUDIES ",
|
| 757 |
+
"text_level": 1,
|
| 758 |
+
"bbox": [
|
| 759 |
+
176,
|
| 760 |
+
376,
|
| 761 |
+
351,
|
| 762 |
+
388
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "Network Depth. Network depth has been exploited in many tasks but is rare in point cloud analysis. We first investigate the performance of PointMLP with different depths in Table 4. We vary the network depth by setting the number of homogeneous residual MLP blocks to 1, 2, and 3, respectively, resulting in 24, 40, and 56-layers PointMLP variants. Detailed depth formulation can be found in Appendix D. At first glance, we notice that simply increasing the depth would not always bring better performance; an appropriate depth would be a good solution. Additionally, the model gets stable with more layers introduced, as demonstrated by the decreasing standard deviation. When the depth is set to 40, we achieve the best tradeoff between accuracy and stability $( 8 5 . 4 \\%$ mean accuracy and 0.3 standard deviations). Remarkably, PointMLP consistently achieves gratifying results that outperform recent methods, regardless of the depth. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
401,
|
| 772 |
+
825,
|
| 773 |
+
541
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "Geometric Affine Module. Other work provides sophisticated local geometric extractors to explore geometric structures. Instead, our PointMLP discards these burdensome modules and introduces a lightweight geometric affine module. Figure 3 presents the results of PointMLP with/without the geometric affine module. By integrating the module, we systematically improve the performance of PointMLP by about $3 \\%$ for all variants. The reasons for this large improvement are two-fold. First, the geometric affine module maps local input features to a normal distribution, which eases the training of PointMLP. Second, the geometric affine module implicitly encodes the local geometrical information by the channel-wise distance to local centroid and variance, remedying the deficiency of geometric information. Besides the gratifying improvements, the geometric affine module also largely boosts the stability of PointMLP, suggesting better robustness. ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
173,
|
| 782 |
+
558,
|
| 783 |
+
825,
|
| 784 |
+
698
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 7
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "Component ablation study. Table 5 reports the results on ScanObjectNN of removing each individual component in PointMLP. Consistent with Figure 3, geometric affine module plays an important role in PointMLP, improving the base architecture by $3 . 9 \\%$ . Remarkably, even without this module, which is an unfair setting for PointMLP, our base network stills achieves ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
173,
|
| 793 |
+
715,
|
| 794 |
+
354,
|
| 795 |
+
922
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "image",
|
| 801 |
+
"img_path": "images/64f9834890660778d301ec0a08af23475a0ca068c31e381a3a3c9289448af64f.jpg",
|
| 802 |
+
"image_caption": [
|
| 803 |
+
"Figure 4: Loss landscape along two rand directions. By introducing residual connection, we ease the optimization of PointMLP and achieve a flat landscape like a simple shallow network intuitively. "
|
| 804 |
+
],
|
| 805 |
+
"image_footnote": [],
|
| 806 |
+
"bbox": [
|
| 807 |
+
405,
|
| 808 |
+
719,
|
| 809 |
+
795,
|
| 810 |
+
861
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 7
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "table",
|
| 816 |
+
"img_path": "images/ceda5cee5916d197091d2037ad09ed41cac5d45162aec97b1b36400de1470430.jpg",
|
| 817 |
+
"table_caption": [
|
| 818 |
+
"Table 6: Part segmentation results on the ShapeNetPart dataset. Empirically, our method is much faster than the best method KPConv, and presents a competitive performance. "
|
| 819 |
+
],
|
| 820 |
+
"table_footnote": [],
|
| 821 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Cls. mIoU</td><td rowspan=\"2\">Inst. mIoU</td><td rowspan=\"2\">aero</td><td rowspan=\"2\">bag</td><td rowspan=\"2\">cap</td><td rowspan=\"2\">car</td><td rowspan=\"2\">chair</td><td rowspan=\"2\">aerp- hone</td><td rowspan=\"2\">guitar</td><td rowspan=\"2\">knife</td><td rowspan=\"2\">lamp</td><td rowspan=\"2\">laptop</td><td rowspan=\"2\">motor- bike</td><td rowspan=\"2\">mug pistol</td><td rowspan=\"2\"></td><td rowspan=\"2\">rocket skate- board</td><td rowspan=\"2\"></td><td rowspan=\"2\">table</td></tr><tr><td></td></tr><tr><td>PointNet</td><td>80.4</td><td>83.7</td><td>83.4</td><td>78.7</td><td>82.5</td><td>74.9</td><td>89.6</td><td>73.0</td><td>91.5</td><td>85.9</td><td>80.8</td><td>95.3</td><td>65.2</td><td>93.0</td><td>81.2</td><td>57.9</td><td>72.8</td><td>80.6</td></tr><tr><td>PointNet++</td><td>81.9</td><td>85.1</td><td>82.4</td><td>79.0</td><td>87.7</td><td>77.3</td><td>90.8</td><td>71.8</td><td>91.0</td><td>85.9</td><td>83.7</td><td>95.3</td><td>71.6</td><td>94.1</td><td>81.3</td><td>58.7</td><td>76.4</td><td>82.6</td></tr><tr><td>Kd-Net</td><td>-</td><td>82.3</td><td>80.1</td><td>74.6</td><td>74.3</td><td>70.3</td><td>88.6</td><td>73.5</td><td>90.2</td><td>87.2</td><td>81.0</td><td>94.9</td><td>57.4</td><td>86.7</td><td>78.1</td><td>51.8</td><td>69.9</td><td>80.3</td></tr><tr><td>SO-Net</td><td>-</td><td>84.9</td><td>82.8</td><td>77.8</td><td>88.0</td><td>77.3</td><td>90.6</td><td>73.5</td><td>90.7</td><td>83.9</td><td>82.8</td><td>94.8</td><td>69.1</td><td>94.2</td><td>80.9</td><td>53.1</td><td>72.9</td><td>83.0</td></tr><tr><td>PCNN</td><td>81.8</td><td>85.1</td><td>82.4</td><td>80.1</td><td>85.5</td><td>79.5</td><td>90.8</td><td>73.2</td><td>91.3</td><td>86.0</td><td>85.0</td><td>95.7</td><td>73.2</td><td>94.8</td><td>83.3</td><td>51.0</td><td>75.0</td><td>81.8</td></tr><tr><td>DGCNN</td><td>82.3</td><td>85.2</td><td>84.0</td><td>83.4</td><td>86.7</td><td>77.8</td><td>90.6</td><td>74.7</td><td>91.2</td><td>87.5</td><td>82.8</td><td>95.7</td><td>66.3</td><td>94.9</td><td>81.1</td><td>63.5</td><td>74.5</td><td>82.6</td></tr><tr><td>P2Sequence</td><td>-</td><td>85.2</td><td>82.6</td><td>81.8</td><td>87.5</td><td>77.3</td><td>90.8</td><td>77.1</td><td>91.1</td><td>86.9</td><td>83.9</td><td>95.7</td><td>70.8</td><td>94.6</td><td>79.3</td><td>58.1</td><td>75.2</td><td>82.8</td></tr><tr><td>PointCNN</td><td>84.6</td><td>86.1</td><td>84.1</td><td>86.5</td><td>86.0</td><td>80.8</td><td>90.6</td><td>79.7</td><td>92.3</td><td>88.4</td><td>85.3</td><td>96.1</td><td>77.2</td><td>95.2</td><td>84.2</td><td>64.2</td><td>80.0</td><td>83.0</td></tr><tr><td>PointASNL</td><td>-</td><td>86.1</td><td>84.1</td><td>84.7</td><td>87.9</td><td>79.7</td><td>92.2</td><td>73.7</td><td>91.0</td><td>87.2</td><td>84.2</td><td>95.8</td><td>74.4</td><td>95.2</td><td>81.0</td><td>63.0</td><td>76.3</td><td>83.2</td></tr><tr><td>RS-CNN</td><td>84.0</td><td>86.2</td><td>83.5</td><td>84.8</td><td>88.8</td><td>79.6</td><td>91.2</td><td>81.1</td><td>91.6</td><td>88.4</td><td>86.0</td><td>96.0</td><td>73.7</td><td>94.1</td><td>83.4</td><td>60.5</td><td>77.7</td><td>83.6</td></tr><tr><td>SynSpec</td><td>82.0</td><td>84.7</td><td>81.6</td><td>81.7</td><td>81.9</td><td>75.2</td><td>90.2</td><td>74.9</td><td>93.0</td><td>86.1</td><td>84.7</td><td>95.6</td><td>66.7</td><td>92.7</td><td>81.6</td><td>60.6</td><td>82.9</td><td>82.1</td></tr><tr><td>SPLATNet</td><td>83.7</td><td>85.4</td><td>83.2</td><td>84.3</td><td>89.1</td><td>80.3</td><td>90.7</td><td>75.5</td><td>92.1</td><td>87.1</td><td>83.9</td><td>96.3</td><td>75.6</td><td>95.8</td><td>83.8</td><td>64.0</td><td>75.5</td><td>81.8</td></tr><tr><td>SpiderCNN</td><td>82.4 85.1</td><td>85.3 86.4</td><td>83.5</td><td>81.0</td><td>87.2</td><td>77.5</td><td>90.7</td><td>76.8</td><td>91.1 92.6</td><td>87.3 88.4</td><td>83.3</td><td>95.8</td><td>70.2</td><td>93.5</td><td>82.7</td><td>59.7</td><td>75.8</td><td>82.8</td></tr><tr><td>KPConv PA-DGC</td><td>84.6</td><td>86.1</td><td>84.6</td><td>86.3</td><td>87.2</td><td>81.1</td><td>91.1 90.6</td><td>77.8 80.8</td><td>92.0</td><td>88.7</td><td>82.7</td><td>96.2</td><td>78.1 73.9</td><td>95.8 94.7</td><td>85.4 84.7</td><td>69.0</td><td>82.0</td><td>83.6 84.0</td></tr><tr><td></td><td></td><td></td><td>84.3</td><td>85.0</td><td>90.4</td><td>79.7</td><td></td><td></td><td></td><td></td><td>82.2</td><td>95.9</td><td></td><td></td><td></td><td>65.9</td><td>81.4</td><td></td></tr><tr><td>PointMLP</td><td>84.6</td><td>86.1</td><td>83.5</td><td>83.4</td><td>87.5</td><td>80.54</td><td>90.3</td><td>78.2</td><td>92.2</td><td>88.1</td><td>82.6</td><td>96.2</td><td>77.5</td><td>95.8</td><td>85.4</td><td>64.6</td><td>83.3</td><td>84.3</td></tr></table>",
|
| 822 |
+
"bbox": [
|
| 823 |
+
173,
|
| 824 |
+
145,
|
| 825 |
+
825,
|
| 826 |
+
306
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "$8 1 . 5 \\pm 1 . 4 \\%$ OA, outperforming most related methods (see Table 3). Removing $\\Phi _ { p r e }$ function (MLPs before aggregator $\\mathcal { A }$ ), the performance drops $2 . 6 \\%$ overall accuracy. Combining all these components together, we achieve the best result $8 5 . 4 \\%$ OA. See Appendix C for more ablations. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
174,
|
| 835 |
+
333,
|
| 836 |
+
825,
|
| 837 |
+
375
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 8
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "Loss landscape. We depict the 3D loss landscape (Li et al., 2018a) in Figure 4. Simply increasing the network depth may not achieve a better representation and even hamper the results. When removing the residual connection in PointMLP, the loss landscape turns sharp, and the performance plummets to $8 8 . 1 \\%$ $6 \\%$ drop) on ModelNet40. With residual connection, we greatly ease the optimization course of PointMLP and make it possible to train a deep network. ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
173,
|
| 846 |
+
390,
|
| 847 |
+
825,
|
| 848 |
+
460
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 8
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "4.4 PART SEGMENTATION ",
|
| 855 |
+
"text_level": 1,
|
| 856 |
+
"bbox": [
|
| 857 |
+
176,
|
| 858 |
+
478,
|
| 859 |
+
362,
|
| 860 |
+
491
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 8
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "Our PointMLP can also be generalized to other 3D point cloud tasks. We next test PointMLP for 3D shape part segmentation task on the ShapeNetPart benchmark (Yi et al., 2016). The shapeNetPart dataset consists of 16,881 shapes with 16 classes belonging to 50 parts labels in total. In each class, the number of parts is between 2 and 6. We follow the settings from Qi et al. (2017b) that randomly select 2048 points as input for a fair comparison. We compare our methods with several recent works, ",
|
| 867 |
+
"bbox": [
|
| 868 |
+
173,
|
| 869 |
+
503,
|
| 870 |
+
419,
|
| 871 |
+
696
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 8
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "image",
|
| 877 |
+
"img_path": "images/937de1c2245f3fbccbf26ca1813370b71e9c2b3909037a38cd4c4f9c3749559f.jpg",
|
| 878 |
+
"image_caption": [
|
| 879 |
+
"Figure 5: Part segmentation results on ShapeNetPart. Top line is ground truth and bottom line is our prediction. "
|
| 880 |
+
],
|
| 881 |
+
"image_footnote": [],
|
| 882 |
+
"bbox": [
|
| 883 |
+
437,
|
| 884 |
+
500,
|
| 885 |
+
820,
|
| 886 |
+
650
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "including SyncSpecCNN (Yi et al., 2017), SPLATNet (Su et al., 2018), etc. We also visualize the segmentation ground truths and predictions in Figure 5. Intuitively, the predictions of our PointMLP are close to the ground truth. Best viewed in color. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
174,
|
| 895 |
+
696,
|
| 896 |
+
825,
|
| 897 |
+
738
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "5 CONCLUSION ",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
176,
|
| 907 |
+
758,
|
| 908 |
+
318,
|
| 909 |
+
775
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 8
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "In this paper, we propose a simple yet powerful architecture named PointMLP for point cloud analysis. The key insight behind PointMLP is that a sophisticated local geometric extractor may not be crucial for performance. We begin with representing local points with simple residual MLPs as they are permutation-invariant and straightforward. Then we introduce a lightweight geometric affine module to boost the performance. To improve efficiency further, we also introduce a lightweight counterpart, dubbed as PointMLP-elite. Experimental results have shown that PointMLP outperforms related work on different benchmarks beyond simplicity and efficiency. We hope this novel idea will inspire the community to rethink the network design and local geometry in point cloud. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
173,
|
| 918 |
+
791,
|
| 919 |
+
825,
|
| 920 |
+
902
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 8
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "REFERENCES ",
|
| 927 |
+
"text_level": 1,
|
| 928 |
+
"bbox": [
|
| 929 |
+
176,
|
| 930 |
+
102,
|
| 931 |
+
287,
|
| 932 |
+
118
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 9
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "Silin Cheng, Xiwu Chen, Xinwei He, Zhe Liu, and Xiang Bai. Pra-net: Point relation-aware network for 3d point cloud analysis. IEEE Transactions on Image Processing, 30:4436–4448, 2021. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
173,
|
| 941 |
+
126,
|
| 942 |
+
823,
|
| 943 |
+
155
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 9
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Wilfrid J Dixon and Frank J Massey Jr. Introduction to statistical analysis. 1951. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
173,
|
| 952 |
+
164,
|
| 953 |
+
702,
|
| 954 |
+
179
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 9
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In ECCV, pp. 184–199. Springer, 2014. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
171,
|
| 963 |
+
189,
|
| 964 |
+
823,
|
| 965 |
+
218
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 9
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. ICLR, 2021. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
178,
|
| 974 |
+
227,
|
| 975 |
+
821,
|
| 976 |
+
270
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 9
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "Nico Engel, Vasileios Belagiannis, and Klaus Dietmayer. Point transformer. arXiv preprint arXiv:2011.00931, 2020. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
173,
|
| 985 |
+
279,
|
| 986 |
+
825,
|
| 987 |
+
308
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 9
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Siqi Fan, Qiulei Dong, Fenghua Zhu, Yisheng Lv, Peijun Ye, and Fei-Yue Wang. Scf-net: Learning spatial contextual features for large-scale point cloud segmentation. In CVPR, pp. 14504–14513, 2021. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
173,
|
| 996 |
+
316,
|
| 997 |
+
823,
|
| 998 |
+
359
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 9
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Ankit Goyal, Hei Law, Bowei Liu, Alejandro Newell, and Jia Deng. Revisiting point cloud shape classification with a simple and effective baseline. ICML, 2021. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
171,
|
| 1007 |
+
369,
|
| 1008 |
+
823,
|
| 1009 |
+
398
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 9
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Meng-Hao Guo, Jun-Xiong Cai, Zheng-Ning Liu, Tai-Jiang Mu, Ralph R Martin, and Shi-Min Hu. Pct: Point cloud transformer. Computational Visual Media, 7(2):187–199, 2021. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
176,
|
| 1018 |
+
407,
|
| 1019 |
+
818,
|
| 1020 |
+
436
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 9
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Abdullah Hamdi, Silvio Giancola, and Bernard Ghanem. Mvtn: Multi-view transformation network for 3d shape recognition. ICCV, 2021. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
173,
|
| 1029 |
+
445,
|
| 1030 |
+
821,
|
| 1031 |
+
476
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 9
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Xian-Feng Han, Yu-Jia Kuang, and Guo-Qiang Xiao. Point cloud learning with transformer. arXiv preprint arXiv:2104.13636, 2021. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
173,
|
| 1040 |
+
483,
|
| 1041 |
+
821,
|
| 1042 |
+
513
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pp. 770–778, 2016. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
174,
|
| 1051 |
+
522,
|
| 1052 |
+
821,
|
| 1053 |
+
551
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 9
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In CVPR, pp. 7132–7141, 2018. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
169,
|
| 1062 |
+
560,
|
| 1063 |
+
821,
|
| 1064 |
+
577
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Qingyong Hu, Bo Yang, Linhai Xie, Stefano Rosa, Yulan Guo, Zhihua Wang, Niki Trigoni, and Andrew Markham. Randla-net: Efficient semantic segmentation of large-scale point clouds. In CVPR, pp. 11108–11117, 2020. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
176,
|
| 1073 |
+
585,
|
| 1074 |
+
823,
|
| 1075 |
+
628
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, pp. 448–456. PMLR, 2015. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
173,
|
| 1084 |
+
637,
|
| 1085 |
+
823,
|
| 1086 |
+
667
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 9
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), NeurIPS, volume 25. Curran Associates, Inc., 2012. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
174,
|
| 1095 |
+
675,
|
| 1096 |
+
820,
|
| 1097 |
+
719
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 9
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In ICCV, pp. 9267–9276, 2019. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
171,
|
| 1106 |
+
727,
|
| 1107 |
+
823,
|
| 1108 |
+
757
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 9
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Guohao Li, Matthias Muller, Guocheng Qian, Itzel Carolina Delgadillo Perez, Abdulellah Abual- ¨ shour, Ali Kassem Thabet, and Bernard Ghanem. Deepgcns: Making gcns go as deep as cnns. TPAMI, 2021a. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
171,
|
| 1117 |
+
766,
|
| 1118 |
+
823,
|
| 1119 |
+
809
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 9
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In NeurIPS, pp. 6391–6401, 2018a. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
166,
|
| 1128 |
+
818,
|
| 1129 |
+
823,
|
| 1130 |
+
848
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 9
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Lei Li, Siyu Zhu, Hongbo Fu, Ping Tan, and Chiew-Lan Tai. End-to-end learning local multi-view descriptors for 3d point clouds. In CVPR, pp. 1919–1928, 2020. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
857,
|
| 1140 |
+
821,
|
| 1141 |
+
886
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 9
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Yangyan Li, Rui Bu, Mingchao Sun, Wei Wu, Xinhan Di, and Baoquan Chen. Pointcnn: Convolution on x-transformed points. NeurIPS, 31:820–830, 2018b. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
174,
|
| 1150 |
+
895,
|
| 1151 |
+
820,
|
| 1152 |
+
924
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 9
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Zhichao Li, Feng Wang, and Naiyan Wang. Lidar r-cnn: An efficient and universal 3d object detector. In CVPR, pp. 7546–7555, 2021b. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
173,
|
| 1161 |
+
103,
|
| 1162 |
+
823,
|
| 1163 |
+
132
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 10
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Zhi-Hao Lin, Sheng Yu Huang, and Yu-Chiang Frank Wang. Learning of 3d graph convolution networks for point cloud analysis. TPAMI, 2021. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
171,
|
| 1172 |
+
141,
|
| 1173 |
+
823,
|
| 1174 |
+
170
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 10
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Yongcheng Liu, Bin Fan, Gaofeng Meng, Jiwen Lu, Shiming Xiang, and Chunhong Pan. Densepoint: Learning densely contextual representation for efficient point cloud processing. In ICCV, pp. 5239–5248, 2019a. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
176,
|
| 1183 |
+
179,
|
| 1184 |
+
823,
|
| 1185 |
+
222
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 10
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Yongcheng Liu, Bin Fan, Shiming Xiang, and Chunhong Pan. Relation-shape convolutional neural network for point cloud analysis. In CVPR, pp. 8895–8904, 2019b. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
173,
|
| 1194 |
+
231,
|
| 1195 |
+
821,
|
| 1196 |
+
261
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 10
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Ze Liu, Han Hu, Yue Cao, Zheng Zhang, and Xin Tong. A closer look at local aggregation operators in point cloud analysis. In ECCV, pp. 326–342. Springer, 2020. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
173,
|
| 1205 |
+
268,
|
| 1206 |
+
821,
|
| 1207 |
+
299
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 10
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Ze Liu, Zheng Zhang, Yue Cao, Han Hu, and Xin Tong. Group-free 3d object detection via transformers. arXiv preprint arXiv:2104.00678, 2021. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
174,
|
| 1216 |
+
306,
|
| 1217 |
+
820,
|
| 1218 |
+
337
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 10
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. ICLR, 2017. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
173,
|
| 1227 |
+
344,
|
| 1228 |
+
823,
|
| 1229 |
+
375
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 10
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In ECCV, pp. 116–131, 2018. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
173,
|
| 1238 |
+
382,
|
| 1239 |
+
821,
|
| 1240 |
+
412
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 10
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Daniel Maturana and Sebastian Scherer. Voxnet: A 3d convolutional neural network for real-time object recognition. In IROS, pp. 922–928. IEEE, 2015. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
173,
|
| 1249 |
+
421,
|
| 1250 |
+
821,
|
| 1251 |
+
450
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 10
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In CVPR, pp. 652–660, 2017a. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
174,
|
| 1260 |
+
459,
|
| 1261 |
+
823,
|
| 1262 |
+
489
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 10
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. NeurIPS, 30, 2017b. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
173,
|
| 1271 |
+
497,
|
| 1272 |
+
825,
|
| 1273 |
+
526
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 10
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Shi Qiu, Saeed Anwar, and Nick Barnes. Dense-resolution network for point cloud classification and segmentation. In WACV, pp. 3813–3822, 2021a. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
174,
|
| 1282 |
+
535,
|
| 1283 |
+
823,
|
| 1284 |
+
565
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 10
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Shi Qiu, Saeed Anwar, and Nick Barnes. Geometric back-projection network for point cloud classification. IEEE Transactions on Multimedia, 2021b. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
174,
|
| 1293 |
+
573,
|
| 1294 |
+
823,
|
| 1295 |
+
603
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 10
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Haoxi Ran, Wei Zhuo, Jun Liu, and Li Lu. Learning inner-group relations on point clouds. In ICCV, pp. 15477–15487, 2021. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
174,
|
| 1304 |
+
611,
|
| 1305 |
+
823,
|
| 1306 |
+
641
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 10
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Pointrcnn: 3d object proposal generation and detection from point cloud. In CVPR, pp. 770–779, 2019. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
648,
|
| 1316 |
+
823,
|
| 1317 |
+
679
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 10
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. In CVPR, pp. 10529–10538, 2020. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
176,
|
| 1326 |
+
688,
|
| 1327 |
+
825,
|
| 1328 |
+
729
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 10
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Weijing Shi and Raj Rajkumar. Point-gnn: Graph neural network for 3d object detection in a point cloud. In CVPR, pp. 1711–1719, 2020. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
171,
|
| 1337 |
+
739,
|
| 1338 |
+
825,
|
| 1339 |
+
768
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 10
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In Yoshua Bengio and Yann LeCun (eds.), ICLR, 2015. URL http://arxiv. org/abs/1409.1556. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
174,
|
| 1348 |
+
777,
|
| 1349 |
+
821,
|
| 1350 |
+
820
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 10
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Hang Su, Varun Jampani, Deqing Sun, Subhransu Maji, Evangelos Kalogerakis, Ming-Hsuan Yang, and Jan Kautz. Splatnet: Sparse lattice networks for point cloud processing. In CVPR, pp. 2530– 2539, 2018. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
174,
|
| 1359 |
+
829,
|
| 1360 |
+
821,
|
| 1361 |
+
872
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 10
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Hugues Thomas, Charles R Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, Franc¸ois Goulette, and Leonidas J Guibas. Kpconv: Flexible and deformable convolution for point clouds. In ICCV, pp. 6411–6420, 2019. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
174,
|
| 1370 |
+
881,
|
| 1371 |
+
825,
|
| 1372 |
+
924
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 10
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, and Herve J´ egou. Resmlp: Feedforward ´ networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
174,
|
| 1381 |
+
103,
|
| 1382 |
+
825,
|
| 1383 |
+
159
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 11
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Mikaela Angelina Uy, Quang-Hieu Pham, Binh-Son Hua, Thanh Nguyen, and Sai-Kit Yeung. Revisiting point cloud classification: A new benchmark dataset and classification model on real-world data. In ICCV, pp. 1588–1597, 2019. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
174,
|
| 1392 |
+
170,
|
| 1393 |
+
825,
|
| 1394 |
+
212
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 11
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, pp. 5998–6008, 2017. ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
174,
|
| 1403 |
+
222,
|
| 1404 |
+
825,
|
| 1405 |
+
263
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 11
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, pp. 7794–7803, 2018. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
173,
|
| 1414 |
+
273,
|
| 1415 |
+
825,
|
| 1416 |
+
303
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 11
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Yue Wang, Yongbin Sun, Ziwei Liu, Sanjay E Sarma, Michael M Bronstein, and Justin M Solomon. Dynamic graph cnn for learning on point clouds. Acm Transactions On Graphics (tog), 38(5): 1–12, 2019. ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
174,
|
| 1425 |
+
311,
|
| 1426 |
+
825,
|
| 1427 |
+
354
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 11
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Wenxuan Wu, Zhongang Qi, and Li Fuxin. Pointconv: Deep convolutional networks on 3d point clouds. In CVPR, pp. 9621–9630, 2019. ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
171,
|
| 1436 |
+
364,
|
| 1437 |
+
825,
|
| 1438 |
+
393
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 11
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "Yuxin Wu and Kaiming He. Group normalization. In Proceedings of the European conference on computer vision (ECCV), pp. 3–19, 2018. ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
173,
|
| 1447 |
+
404,
|
| 1448 |
+
825,
|
| 1449 |
+
433
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 11
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In CVPR, pp. 1912–1920, 2015. ",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
174,
|
| 1458 |
+
440,
|
| 1459 |
+
825,
|
| 1460 |
+
484
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 11
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "Tiange Xiang, Chaoyi Zhang, Yang Song, Jianhui Yu, and Weidong Cai. Walk in the cloud: Learning curves for point clouds shape analysis. In ICCV, October 2021. ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
173,
|
| 1469 |
+
493,
|
| 1470 |
+
823,
|
| 1471 |
+
523
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 11
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual trans- ´ formations for deep neural networks. In CVPR, pp. 1492–1500, 2017. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
531,
|
| 1481 |
+
821,
|
| 1482 |
+
561
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 11
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Chenfeng Xu, Bichen Wu, Zining Wang, Wei Zhan, Peter Vajda, Kurt Keutzer, and Masayoshi Tomizuka. Squeezesegv3: Spatially-adaptive convolution for efficient point-cloud segmentation. In ECCV, pp. 1–19. Springer, 2020. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
570,
|
| 1492 |
+
825,
|
| 1493 |
+
613
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 11
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Mutian Xu, Runyu Ding, Hengshuang Zhao, and Xiaojuan Qi. Paconv: Position adaptive convolution with dynamic kernel assembling on point clouds. In CVPR, pp. 3173–3182, 2021a. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
173,
|
| 1502 |
+
622,
|
| 1503 |
+
823,
|
| 1504 |
+
652
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 11
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "Mutian Xu, Junhao Zhang, Zhipeng Zhou, Mingye Xu, Xiaojuan Qi, and Yu Qiao. Learning geometry-disentangled representation for complementary understanding of 3d object point cloud. In AAAI, volume 35, pp. 3056–3064, 2021b. ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
173,
|
| 1513 |
+
661,
|
| 1514 |
+
823,
|
| 1515 |
+
704
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 11
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "Yifan Xu, Tianqi Fan, Mingye Xu, Long Zeng, and Yu Qiao. Spidercnn: Deep learning on point sets with parameterized convolutional filters. In ECCV, pp. 87–102, 2018. ",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
169,
|
| 1524 |
+
713,
|
| 1525 |
+
823,
|
| 1526 |
+
743
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 11
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "text",
|
| 1532 |
+
"text": "Xu Yan, Chaoda Zheng, Zhen Li, Sheng Wang, and Shuguang Cui. Pointasnl: Robust point clouds processing using nonlocal neural networks with adaptive sampling. In CVPR, pp. 5589–5598, 2020. ",
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
173,
|
| 1535 |
+
751,
|
| 1536 |
+
823,
|
| 1537 |
+
794
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 11
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Std: Sparse-to-dense 3d object detector for point cloud. In ICCV, pp. 1951–1960, 2019. ",
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
169,
|
| 1546 |
+
804,
|
| 1547 |
+
825,
|
| 1548 |
+
833
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 11
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "text",
|
| 1554 |
+
"text": "Li Yi, Vladimir G Kim, Duygu Ceylan, I-Chao Shen, Mengyan Yan, Hao Su, Cewu Lu, Qixing Huang, Alla Sheffer, and Leonidas Guibas. A scalable active framework for region annotation in 3d shape collections. ACM Transactions on Graphics (ToG), 35(6):1–12, 2016. ",
|
| 1555 |
+
"bbox": [
|
| 1556 |
+
174,
|
| 1557 |
+
842,
|
| 1558 |
+
823,
|
| 1559 |
+
886
|
| 1560 |
+
],
|
| 1561 |
+
"page_idx": 11
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "text",
|
| 1565 |
+
"text": "Li Yi, Hao Su, Xingwen Guo, and Leonidas J Guibas. Syncspeccnn: Synchronized spectral cnn for 3d shape segmentation. In CVPR, pp. 2282–2290, 2017. ",
|
| 1566 |
+
"bbox": [
|
| 1567 |
+
173,
|
| 1568 |
+
895,
|
| 1569 |
+
820,
|
| 1570 |
+
924
|
| 1571 |
+
],
|
| 1572 |
+
"page_idx": 11
|
| 1573 |
+
},
|
| 1574 |
+
{
|
| 1575 |
+
"type": "text",
|
| 1576 |
+
"text": "Haoxuan You, Yifan Feng, Rongrong Ji, and Yue Gao. Pvnet: A joint convolutional network of point cloud and multi-view for 3d shape recognition. In ACM MM, pp. 1310–1318, 2018. ",
|
| 1577 |
+
"bbox": [
|
| 1578 |
+
171,
|
| 1579 |
+
103,
|
| 1580 |
+
823,
|
| 1581 |
+
132
|
| 1582 |
+
],
|
| 1583 |
+
"page_idx": 12
|
| 1584 |
+
},
|
| 1585 |
+
{
|
| 1586 |
+
"type": "text",
|
| 1587 |
+
"text": "Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Haibin Lin, Zhi Zhang, Yue Sun, Tong He, Jonas Mueller, R Manmatha, et al. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020. ",
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
174,
|
| 1590 |
+
140,
|
| 1591 |
+
823,
|
| 1592 |
+
183
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 12
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "text",
|
| 1598 |
+
"text": "Zaiwei Zhang, Rohit Girdhar, Armand Joulin, and Ishan Misra. Self-supervised pretraining of 3d features on any point-cloud. arXiv preprint arXiv:2101.02691, 2021. ",
|
| 1599 |
+
"bbox": [
|
| 1600 |
+
171,
|
| 1601 |
+
193,
|
| 1602 |
+
825,
|
| 1603 |
+
222
|
| 1604 |
+
],
|
| 1605 |
+
"page_idx": 12
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "text",
|
| 1609 |
+
"text": "Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip Torr, and Vladlen Koltun. Point transformer. In ICCV, 2021. ",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
173,
|
| 1612 |
+
229,
|
| 1613 |
+
825,
|
| 1614 |
+
258
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 12
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "text",
|
| 1620 |
+
"text": "A POINTMLP DETAIL ",
|
| 1621 |
+
"text_level": 1,
|
| 1622 |
+
"bbox": [
|
| 1623 |
+
176,
|
| 1624 |
+
102,
|
| 1625 |
+
374,
|
| 1626 |
+
118
|
| 1627 |
+
],
|
| 1628 |
+
"page_idx": 13
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"type": "text",
|
| 1632 |
+
"text": "We detail the architecture of PointMLP in Figure 6 (as well as PointMLP-elite in Figure 7) for a better understanding. Compared with PointMLP, the elite version mainly adjusts three configurations: 1) it reduces the number of residual point (Resp) MLP blocks; 2) it reduces the embedding dimension from 64 to 32, hence the overall model overhead is significantly alleviated; 3) by introducing a bottleneck structure, PointMLP further reduces the parameters by four times. ",
|
| 1633 |
+
"bbox": [
|
| 1634 |
+
174,
|
| 1635 |
+
136,
|
| 1636 |
+
825,
|
| 1637 |
+
205
|
| 1638 |
+
],
|
| 1639 |
+
"page_idx": 13
|
| 1640 |
+
},
|
| 1641 |
+
{
|
| 1642 |
+
"type": "text",
|
| 1643 |
+
"text": "For part segmentation task, we use the framework presented in PointNet (Qi et al., 2017a) and replace the backbone to our PointMLP. With the only modification, we improve the performance from 85.1 to 86.1 Instance mIoU. ",
|
| 1644 |
+
"bbox": [
|
| 1645 |
+
174,
|
| 1646 |
+
213,
|
| 1647 |
+
825,
|
| 1648 |
+
255
|
| 1649 |
+
],
|
| 1650 |
+
"page_idx": 13
|
| 1651 |
+
},
|
| 1652 |
+
{
|
| 1653 |
+
"type": "image",
|
| 1654 |
+
"img_path": "images/61378541d7d7ab1bfa651ab48ae34b0ce8784c4821b4f81db8424ae8c2f88c60.jpg",
|
| 1655 |
+
"image_caption": [
|
| 1656 |
+
"Figure 6: Detail architecture of PointMLP for classification. "
|
| 1657 |
+
],
|
| 1658 |
+
"image_footnote": [],
|
| 1659 |
+
"bbox": [
|
| 1660 |
+
178,
|
| 1661 |
+
272,
|
| 1662 |
+
821,
|
| 1663 |
+
378
|
| 1664 |
+
],
|
| 1665 |
+
"page_idx": 13
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"type": "image",
|
| 1669 |
+
"img_path": "images/29e776509eac6ea6a31083e3cafa6b828bf28a0aa1fe7f9f5e9a64cef2650dab.jpg",
|
| 1670 |
+
"image_caption": [
|
| 1671 |
+
"Figure 7: Detail architecture of PointMLP-elite for classification. "
|
| 1672 |
+
],
|
| 1673 |
+
"image_footnote": [],
|
| 1674 |
+
"bbox": [
|
| 1675 |
+
178,
|
| 1676 |
+
435,
|
| 1677 |
+
823,
|
| 1678 |
+
546
|
| 1679 |
+
],
|
| 1680 |
+
"page_idx": 13
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "text",
|
| 1684 |
+
"text": "B DETAIL EXPERIMENTAL SETTING ",
|
| 1685 |
+
"text_level": 1,
|
| 1686 |
+
"bbox": [
|
| 1687 |
+
174,
|
| 1688 |
+
611,
|
| 1689 |
+
490,
|
| 1690 |
+
627
|
| 1691 |
+
],
|
| 1692 |
+
"page_idx": 13
|
| 1693 |
+
},
|
| 1694 |
+
{
|
| 1695 |
+
"type": "text",
|
| 1696 |
+
"text": "B.1 MODELNET40 AND SCANOBJECTNN ",
|
| 1697 |
+
"text_level": 1,
|
| 1698 |
+
"bbox": [
|
| 1699 |
+
176,
|
| 1700 |
+
645,
|
| 1701 |
+
477,
|
| 1702 |
+
660
|
| 1703 |
+
],
|
| 1704 |
+
"page_idx": 13
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"type": "text",
|
| 1708 |
+
"text": "Our implementations are based on PyTorch. For ModelNet40, we train models for 300 epochs on one Tesla V100 GPU with a batch size of 32. All our models are trained using synchronous SGD with a Nesterov momentum of 0.9 and a weight decay of 0.0002. The learning rate is set to 0.1 initially. We use the cosine annealing scheduler (Loshchilov & Hutter, 2017) to adjust the learning rate. For each sample, we randomly select 1024 points and consider the same augmentation strategy as Qi et al. (2017b). The setting for ScanObjectNN is similar to ModelNet40, except we train all models for only 200 epochs. ",
|
| 1709 |
+
"bbox": [
|
| 1710 |
+
173,
|
| 1711 |
+
672,
|
| 1712 |
+
825,
|
| 1713 |
+
771
|
| 1714 |
+
],
|
| 1715 |
+
"page_idx": 13
|
| 1716 |
+
},
|
| 1717 |
+
{
|
| 1718 |
+
"type": "text",
|
| 1719 |
+
"text": "For the reported speed in Table 2, we test the open-source code on a Tesla V100-pcie GPU. All the source codes we used are listed2 in the footnote. ",
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
174,
|
| 1722 |
+
779,
|
| 1723 |
+
823,
|
| 1724 |
+
806
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 13
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "text",
|
| 1730 |
+
"text": "B.2 SHAPENETPART ",
|
| 1731 |
+
"text_level": 1,
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
176,
|
| 1734 |
+
103,
|
| 1735 |
+
331,
|
| 1736 |
+
117
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 14
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "text",
|
| 1742 |
+
"text": "Our setting for part segmentation task is following PointNet (Qi et al., 2017a). We randomly sample 2048 points for each sample and re-scale the input in a range of [0.67, 1.5]. Note that we did not test the result using a multi-scale testing strategy, which could further improve the performance, but is not realizable in real-world applications. Hence, we only report the single-scale results. Even the comparison is unfair, we still achieve competitive performance. ",
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
173,
|
| 1745 |
+
128,
|
| 1746 |
+
825,
|
| 1747 |
+
199
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 14
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "C MORE DETAILED ABLATION STUDIES ",
|
| 1754 |
+
"text_level": 1,
|
| 1755 |
+
"bbox": [
|
| 1756 |
+
174,
|
| 1757 |
+
219,
|
| 1758 |
+
526,
|
| 1759 |
+
236
|
| 1760 |
+
],
|
| 1761 |
+
"page_idx": 14
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "text",
|
| 1765 |
+
"text": "Skip connection. Figure 4 shows the loss landscapes of our PointMLP with and without skip connections. We also consider adding skip connections to PointNet+ $^ +$ to validate the effectiveness of skip connections. Due to the structure of PointNe $^ { + + }$ , only two skip connections could be added without modifying the original architecture of PointNet++. By adding the skip connections, we achieve a classification accuracy of $9 2 . 7 \\%$ on ModelNet40 in our re-implementation. ",
|
| 1766 |
+
"bbox": [
|
| 1767 |
+
174,
|
| 1768 |
+
251,
|
| 1769 |
+
825,
|
| 1770 |
+
321
|
| 1771 |
+
],
|
| 1772 |
+
"page_idx": 14
|
| 1773 |
+
},
|
| 1774 |
+
{
|
| 1775 |
+
"type": "text",
|
| 1776 |
+
"text": "Pre-MLP block vs. Pos-MLP block. we also modified the configuration of our PointMLP and retrained the model to investigate the importance of Pre-MLP and Pos-MLP blocks. In our original implementation, we set the pre-MLP block list to [2, 2, 2, 2] and the pos-MLP blocks list to [2, 2, 2, 2]. Here, we remove the pos-MLP blocks and change the pre-MLP blocks to [4, 4, 4, 4] to match the block number. The 3-layer classifier can be considered as the MLP at the end of the last stage. We trained the models two times and got an average OA of $8 4 . 1 3 \\%$ $8 3 . 8 7 \\%$ and $8 4 . 3 9 \\%$ ), which is lower than vanilla PointMLP $8 5 . 4 \\%$ , and even the result in Table 5 second-row $8 4 . 7 \\%$ . This result indicates that pos-MLP does benefit our PointMLP, and simply adding more pre-MLP blocks does not help. We acknowledge that the effect of pos-MLP is not as strong as other components and believe that a detailed fine-tuning of the configurations would deliver an even better performance-efficiency balance. ",
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
173,
|
| 1779 |
+
328,
|
| 1780 |
+
825,
|
| 1781 |
+
481
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 14
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "text",
|
| 1787 |
+
"text": "Geometric Affine Module Applications. Geometric affine module plays an essential role in our PointMLP, exhibiting promising performance improvements. While this module can be considered as a plug-and-play method, the overlap with some local geometric extractors in other methods may limit its application. Here we integrate the module to two popular methods, PointNet $^ { - + }$ and DGCNN, for illustration and experiment on the ModelNet40 benchmark. By integrating the geometric affine module, we improve the performance of PointNet $^ { + + }$ to $9 3 . 3 \\%$ , achieving an improvement of $1 . 4 \\%$ . However, when integrating the module to DGCNN, we get a performance of $9 2 . 8 \\%$ , which is slightly lower than the original results $( 9 2 . 9 \\% )$ . Note that both results are tested without voting. ",
|
| 1788 |
+
"bbox": [
|
| 1789 |
+
173,
|
| 1790 |
+
487,
|
| 1791 |
+
825,
|
| 1792 |
+
599
|
| 1793 |
+
],
|
| 1794 |
+
"page_idx": 14
|
| 1795 |
+
},
|
| 1796 |
+
{
|
| 1797 |
+
"type": "text",
|
| 1798 |
+
"text": "D POINTMLP DEPTH ",
|
| 1799 |
+
"text_level": 1,
|
| 1800 |
+
"bbox": [
|
| 1801 |
+
176,
|
| 1802 |
+
618,
|
| 1803 |
+
369,
|
| 1804 |
+
636
|
| 1805 |
+
],
|
| 1806 |
+
"page_idx": 14
|
| 1807 |
+
},
|
| 1808 |
+
{
|
| 1809 |
+
"type": "text",
|
| 1810 |
+
"text": "Here we format the detailed formulation of layer number in our PointMLP. For the sake of clarity, we ignore Batch Normalization layers and activation functions. Let $\\mathrm { P r e } _ { i }$ and $\\mathrm { P o s } _ { i }$ indicate the repeating number of the $\\Phi _ { p r e }$ block (which includes 3 layers) and $\\Phi _ { p o s }$ block (which includes 2 layers) in $i$ -th stage, respectively. Note that we have one layer in feature embedding in the beginning, one layer for channel number matching in each stage, and three layers in the classifier. Hence, the total number of learnable layers $L$ would be ",
|
| 1811 |
+
"bbox": [
|
| 1812 |
+
173,
|
| 1813 |
+
650,
|
| 1814 |
+
825,
|
| 1815 |
+
734
|
| 1816 |
+
],
|
| 1817 |
+
"page_idx": 14
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"type": "equation",
|
| 1821 |
+
"img_path": "images/544c088adc6a9d48a769bf2d202a315813c99ecab6063d0edbef759009e7c0e7.jpg",
|
| 1822 |
+
"text": "$$\nL = 1 + \\sum _ { i = 1 } ^ { 4 } \\left( 1 + 2 \\times \\mathrm { P r e } _ { i } + 2 \\times \\mathrm { P o s } _ { i } \\right) + 3 .\n$$",
|
| 1823 |
+
"text_format": "latex",
|
| 1824 |
+
"bbox": [
|
| 1825 |
+
348,
|
| 1826 |
+
741,
|
| 1827 |
+
650,
|
| 1828 |
+
785
|
| 1829 |
+
],
|
| 1830 |
+
"page_idx": 14
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"type": "text",
|
| 1834 |
+
"text": "As a result, the depth configuration of our network (24, 40, and 56) can be summarized as: ",
|
| 1835 |
+
"bbox": [
|
| 1836 |
+
168,
|
| 1837 |
+
790,
|
| 1838 |
+
764,
|
| 1839 |
+
806
|
| 1840 |
+
],
|
| 1841 |
+
"page_idx": 14
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"type": "table",
|
| 1845 |
+
"img_path": "images/6e8b0d057b0bcac5444ea4b490a91e8d57b8eda1cc8fe2948e1d3310c33751e2.jpg",
|
| 1846 |
+
"table_caption": [],
|
| 1847 |
+
"table_footnote": [],
|
| 1848 |
+
"table_body": "<table><tr><td></td><td></td><td>Depth|[Pre1,Pre2,Pre3,Pre4]|[Pos1,Pos2,Pos3,Pos4]</td></tr><tr><td>24</td><td>[1,1,1,1]</td><td>[1,1,1,1]</td></tr><tr><td>40</td><td>[2,2,2,2]</td><td>[2,2,2,2]</td></tr><tr><td>56</td><td>[3,3,3,3]</td><td>[3,3,3,3]</td></tr></table>",
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
287,
|
| 1851 |
+
818,
|
| 1852 |
+
710,
|
| 1853 |
+
890
|
| 1854 |
+
],
|
| 1855 |
+
"page_idx": 14
|
| 1856 |
+
}
|
| 1857 |
+
]
|
parse/dev/3Pbra-_u76D/3Pbra-_u76D_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5Xc1ecxO1h/5Xc1ecxO1h.md
ADDED
|
@@ -0,0 +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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tree of Thoughts: Deliberate Problem Solving with Large Language Models
|
| 2 |
+
|
| 3 |
+
Shunyu Yao Princeton University
|
| 4 |
+
|
| 5 |
+
Dian Yu Google DeepMind
|
| 6 |
+
|
| 7 |
+
Jeffrey Zhao Google DeepMind
|
| 8 |
+
|
| 9 |
+
Izhak Shafran Google DeepMind
|
| 10 |
+
|
| 11 |
+
Thomas L. Griffiths Princeton University
|
| 12 |
+
|
| 13 |
+
Yuan Cao Google DeepMind
|
| 14 |
+
|
| 15 |
+
Karthik Narasimhan Princeton University
|
| 16 |
+
|
| 17 |
+
# Abstract
|
| 18 |
+
|
| 19 |
+
Language models are increasingly being deployed for general problem solving across a wide range of tasks,but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges,we introduce a new framework for language model inference,“Tree of Thoughts”(ToT),which generalizes over the popular“Chain of Thought” approach to prompting language models,and enables exploration over coherent units of text ("thoughts") that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking ahead or backtracking when necessary to make global choices. Our experiments show that ToT significantly enhances language models’ problem-solving abilities on three novel tasks requiring non-trivial planning or search: Game of 24, Creative Writing,and Mini Crosswords. For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved $4 \%$ of tasks,our method achieved a success rate of $74 \%$ . Code repo with all prompts: https://github.com/princeton-nlp/tree-of-thought-llm.
|
| 20 |
+
|
| 21 |
+
# 1Introduction
|
| 22 |
+
|
| 23 |
+
Originally designed to generate text, scaled-up versions of language models (LMs) such as GPT [25, 26,1,23] and PaLM [5] have been shown to be increasingly capable of performing an ever wider range of tasks requiring mathematical, symbolic, commonsense,and knowledge reasoning. It is perhaps surprising that underlying all this progress is still the original autoregressive mechanism for generating text, which makes token-level decisions one by one and in a left-to-right fashion. Is such a simple mechanism sufficient for a LM to be built toward a general problem solver? If not, what problems would challenge the current paradigm,and what should be alternative mechanisms?
|
| 24 |
+
|
| 25 |
+
The literature on human cognition provides some clues to answer these questions. Research on “dual process” models suggests that people have two modes in which they engage with decisions - a fast, automatic,unconscious mode ("System 1") and a slow, deliberate, conscious mode ("System 2") [30,31,16,15]. These two modes have previously been connected to a variety of mathematical models used in machine learning. For example, research on reinforcement learning in humans and other animals has explored the circumstances under which they engage in associative “model free" learning or more deliberative“model based” planning [7]. The simple associative token-level choices of LMs are also reminiscent of “System 1",and thus might benefit from augmentation by a more deliberate “System $2 ^ { \circ }$ planning process that (1) maintains and explores diverse alternatives for current choices instead of just picking one,and (2) evaluates its current status and actively looks ahead or backtracks to make more global decisions.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: Schematic ilustrating Various approaches to problem solving with LLMs. Each rectangle box represents a thought, which is a coherent language sequence that serves as an intermediate step toward problem solving. See concrete examples of how thoughts are generated, evaluated, and searched in Figures 2,4,6.
|
| 29 |
+
|
| 30 |
+
To design such a planning process, we return to the origins of artificial intelligence (and cognitive science), drawing inspiration from the planning processes explored by Newell, Shaw,and Simon starting in the 195Os [21,22]. Newell and colleagues characterized problem solving [21] as search through a combinatorial problem space,represented as a tree.We thus propose the Tree of Thoughts (ToT) framework for general problem solving with language models. As Figure 1 illustrates, while existing methods (detailed below) sample continuous language sequences for problem solving, ToT actively maintains a tree of thoughts,where each thought is a coherent language sequence that serves as an intermediate step toward problem solving (Table 1). Such a high-level semantic unit allows the LM to self-evaluate the progress different intermediate thoughts make towards solving the problem through a deliberate reasoning process that is also instantiated in language (Figures 2,4,6). This implementation of search heuristics via LM self-evaluation and deliberation is novel,as previous search heuristics are either programmed or learned. Finally,we combine this language-based capability to generate and evaluate diverse thoughts with search algorithms,such as breadth-first search (BFS) or depth-first search (DFS), which allow systematic exploration of the tree of thoughts with lookahead and backtracking.
|
| 31 |
+
|
| 32 |
+
Empirically, we propose three new problems that challenge existing LM inference methods even with the state-of-the-art language model, GPT-4 [23]: Game of 24, Creative Writing,and Crosswords (Table 1). These tasks require deductive,mathematical, commonsense,lexical reasoning abilities, and a way to incorporate systematic planning or search. We show ToT obtains superior results on allthree tasks by being general and flexible enough to support different levels of thoughts,different ways to generate and evaluate thoughts,and diferent search algorithms that adapt to the nature of different problems. We also analyze how such choices affect model performances via systematic ablations and discuss future directions to better train and use LMs.
|
| 33 |
+
|
| 34 |
+
# 2Background
|
| 35 |
+
|
| 36 |
+
We first formalize some existing methods that use large language models for problem-solving, which our approach is inspired by and later compared with. We use $p _ { \theta }$ to denote a pre-trained LM with parameters $\theta$ ,and lowercase letters $x , y , z , s , \cdots$ to denote a language sequence, i.e. $x =$ $( x [ 1 ] , \hat { \cdot } \cdot \cdot , x [ n ] )$ where each $x [ i ]$ is a token, so that $\begin{array} { r } { p _ { \theta } ( x ) = \prod _ { i = 1 } ^ { n } p _ { \theta } ( x [ i ] | x [ 1 . . . i ] ) } \end{array}$ . We use uppercase letters $S , \cdots$ to denote a collection of language sequences.
|
| 37 |
+
|
| 38 |
+
Input-output (IO) prompting is the most common way to turn a problem input $x$ into output $y$ with LM: $y \sim p _ { \boldsymbol \theta } ( y | \mathrm { p r o m p t } _ { I O } ( x ) )$ ,where $\mathsf { p r o m p t } _ { I O } ( x )$ wraps input $x$ with task instructions and/or few-shotinputoutputexamples.Forsimplicityetsde $p _ { \theta } ^ { \mathrm { p r o m p t } } ( \mathsf { o u t p u t } \mid \mathsf { i n p u t } ) =$ $p _ { \theta } ( \mathrm { { o u t p u t } \mid p r o m p t ( i n p u t ) } )$ , so that IO prompting can be formulated as $y \sim p _ { \theta } ^ { I O } ( y | x )$ :
|
| 39 |
+
|
| 40 |
+
Chain-of-thought $\mathbf { ( C o T ) }$ prompting [38] was proposed to address cases where the mapping of input $x$ to output $y$ is non-trivial (e.g. when $x$ is a math question and $y$ is the final numerical answer). The key idea is to introduce a chain of thoughts $z _ { 1 } , \cdots , z _ { n }$ to bridge $x$ and $y$ ,where each $z _ { i }$ is a coherent language sequence that serves as a meaningful intermediate step toward problem solving (e.g. $z _ { i }$ could be an intermediate equation for math QA). To solve problems with CoT, each thought $\boldsymbol { z } _ { i } \sim p _ { \theta } ^ { C o T } ( \boldsymbol { z } _ { i } \mid x , \boldsymbol { z } _ { 1 \cdots i - 1 } )$ is sampledsequentially,thentheoutput $y \sim p _ { \theta } ^ { C o T } ( y | x , z _ { 1 } . . . n )$ In practice, $[ z _ { 1 \cdots n } , y ] \sim p _ { \theta } ^ { C o T } ( z _ { 1 \cdots n } , y | x )$ is sampled asacontiuouslanguagesequenceadthe decomposition of thoughts (e.g.is each $z _ { i }$ a phrase, a sentence, or a paragraph) is left ambiguous.
|
| 41 |
+
|
| 42 |
+
Self-consistency with CoT (CoT-SC) [36] is an ensemble approach that samples $k$ i.i.d. chains of thought: $[ z _ { 1 \cdots n } ^ { ( i ) } , y ^ { ( i ) } ] \sim p _ { \theta } ^ { C o T } ( z _ { 1 \cdots n } , y | x )$ $( i = 1 \cdots k )$ thenretusteostfrequentoutput arg $\operatorname* { m a x } _ { y }$ # $\{ i \mid y ^ { ( i ) } = y \}$ .CoT-SC improves upon CoT, because there are generally different thought processes for the same problem (e.g. different ways to prove the same theorem), and the output decision can be more faithful by exploring a richer set of thoughts. However, within each chain there is no local exploration of different thought steps,and the “most frequent” heuristic only applies when the output space is limited (e.g. multi-choice QA).
|
| 43 |
+
|
| 44 |
+
# 3Tree of Thoughts: Deliberate Problem Solving with LM
|
| 45 |
+
|
| 46 |
+
A genuine problem-solving process involves the repeated use of available information to initiate exploration, which discloses,in turn, more information until a way to attain the solution is finally discovered.— Newell et al. [21]
|
| 47 |
+
|
| 48 |
+
Research on human problem-solving suggests that people search through a combinatorial problemspace -a tree where the nodes represent partial solutions,and the branches correspond to operators that modify them [21,22].Which branch to take is determined by heuristics that help to navigate the problem-space and guide the problem-solver towards a solution. This perspective highlights two key shortcomings of existing approaches that use LMs to solve general problems: 1) Locally, they do not explore different continuations within a thought process-the branches of the tree.2) Globally, they do not incorporate any type of planning,lookahead,or backtracking to help evaluate these different options - the kind of heuristic-guided search that seems characteristic of human problem-solving.
|
| 49 |
+
|
| 50 |
+
To address these shortcomings, we introduce Tree of Thoughts (ToT),a paradigm that allows LMs to explore multiple reasoning paths over thoughts (Figure 1(c)). ToT frames any problem as a search over a tree, where each node is a state $s = [ x , z _ { 1 \cdots i } ]$ representing a partial solution with the input and the sequence of thoughts so far. A specific instantiation of ToT involves answering four questions: 1. How to decompose the intermediate process into thought steps; 2. How to generate potential thoughts from each state; 3. How to heuristically evaluate states; 4. What search algorithm to use.
|
| 51 |
+
|
| 52 |
+
1.Thought decomposition. While CoT samples thoughts coherently without explicit decomposition, ToT leverages problem properties to design and decompose intermediate thought steps.As Table 1 shows,depending on diferent problems,a thought could be a couple of words (Crosswords),a line of equation (Game of 24), or a whole paragraph of writing plan (Creative Writing). In general,a thought should be “small" enough so that LMs can generate promising and diverse samples (e.g. generating a whole book is usually too“big” to be coherent), yet“big” enough so that LMs can evaluate its prospect toward problem solving (e.g. generating one token is usually too “small" to evaluate).
|
| 53 |
+
|
| 54 |
+
2.Thought generator $G ( p _ { \theta } , s , k )$ . Given a tree state $s = [ x , z _ { 1 } . . . i ]$ , we consider two strategies to generate $k$ candidates for the next thought step:
|
| 55 |
+
|
| 56 |
+
(a) Sample i.i.d.thoughts from a CoT prompt (Creative Writing,Figure 4): $z ^ { ( j ) } \sim$ $p _ { \theta } ^ { C o \hat { T _ { ( z _ { i + 1 } | s } ) } } = p _ { \theta } ^ { \check { C } o T } ( z _ { i + 1 } | x , z _ { 1 \cdots i } ) \ ( \dot { j } = \dot { 1 } \cdots k )$ . This works better when the thought space is rich (e.g.each thought is a paragraph),and i.i.d.samples lead to diversity;
|
| 57 |
+
(b) Propose thoughts sequentially using a“propose prompt”(Game of 24, Figure 2; Crosswords, Figure 6): $[ z ^ { ( 1 ) } , \cdot \cdot \cdot , z ^ { ( k ) } ] \sim p _ { \theta } ^ { p r o p o s e } ( z _ { i + 1 } ^ { ( 1 \cdots k ) } \mid s )$ ]\~propose() . This works better when the thought space is more constrained (e.g.each thought is just a word or a line),so proposing different thoughts in the same context avoids duplication.
|
| 58 |
+
|
| 59 |
+
3. State evaluator $V ( p _ { \theta } , S )$ . Given a frontier of different states,the state evaluator evaluates the progress they make towards solving the problem, serving as a heuristic for the search algorithm to determine which states to keep exploring and in which order. While heuristics are a standard approach to solving search problems, they are typically either programmed (e.g. DeepBlue [3]) or learned (e.g. AlphaGo [29]). We propose a third alternative,by using the LM to deliberately reason about states.When applicable,such a deliberate heuristic can be more flexible than programmed rules,and more sample-efficient than learned models. Similar to the thought generator, we consider two strategies to evaluate states either independently or together:
|
| 60 |
+
|
| 61 |
+
(a) Value each state independently: $V ( p _ { \theta } , S ) ( s ) ~ \sim ~ p _ { \theta } ^ { v a l u e } ( v | s ) ~ \forall s ~ \in ~ S$ where a value prompt reasons about the state $s$ to generate a scalar value $v$ (e.g.1-10) or a classification (e.g.sure/likely/impossible) that could be heuristically turned into a value.The basis of such evaluative reasoning can vary across problems and thought steps. In this work, we explore evaluation via few lookahead simulations (e.g.quickly confirm that 5,5,14 can reach 24 via $5 + 5 + 1 4$ ,or “hot_l" can mean“inn”via filling“e”in“-") plus commonsense (e.g.1 2 3 are too smallto reach 24, or no word can start with “tzxc"). While the former might promote “good” states,the latter could help eliminate “bad” states. Such valuations do not need to be perfect,and only need to be approximately helpful for decision making. (b) Vote across states: $V ( p _ { \theta } , S ) ( s ) = \mathbb { 1 } [ s = s ^ { * } ]$ , where a“good” state $s ^ { * } \sim p _ { \theta } ^ { v o t e } ( s ^ { * } | S )$ is voted out based on deliberately comparing different states in $S$ in a vote prompt. When problem success is harder to directly value (e.g. passage coherency), it is natural to to instead compare different partial solutions and vote for the most promising one. This is similar in spirit to a“step-wise” self-consistency strategy,i.e.cast “which state to explore” as a multi-choice QA,and use LM samples to vote for it.
|
| 62 |
+
|
| 63 |
+
For both strategies, we could prompt the LM multiple times to aggregate the value or vote results to trade time/resource/cost for more faithful/robust heuristics.
|
| 64 |
+
|
| 65 |
+
<table><tr><td>Algorithm1 ToT-BFS(x,pe,G,k,V,T,b)</td><td>Algorithm 2 ToT-DFS(s,t,pe,G,k,V,T,Uth)</td></tr><tr><td>Require: Input x,LM po, thought generator G(Require: Current state s, step t,LM po, thought & size limit k, states evaluator V(),step limit T, generator G() and size limit k, states evaluator</td><td></td></tr><tr><td>breadth limit b. So←{x}</td><td>V(), step limit T, threshold Uth if t > T then record output G(pe, s,1)</td></tr><tr><td>for t=1,..,T do</td><td>end if</td></tr><tr><td>St←{[s,z]|s∈ St-1,zt ∈G(p0,s,k)}</td><td>for s' ∈ G(pe,s,k) do> sorted candidates</td></tr><tr><td>Vt ←V(po,St)</td><td>if V(pe,{s'})(s) > Uthres then > pruning</td></tr><tr><td>St ← arg maxscs',|s|=b∑ses Vt(s)</td><td>DFS(s',t+1)</td></tr><tr><td>end for return G(pe,arg maxs∈Sr Vr(s),1)</td><td>end if</td></tr></table>
|
| 66 |
+
|
| 67 |
+
4. Search algorithm.Finally, within the ToT framework,one can plug and play different search algorithms depending on the tree structure. We explore two relatively simple search algorithms and leave more advanced ones (e.g. $\mathbf { A } ^ { * }$ [11],MCTS [2]) for future work:
|
| 68 |
+
|
| 69 |
+
(a)Breadth-first search (BFS) (Algorithm 1) maintains a set of the $b$ most promising states per step. This is used for Game of 24 and Creative Writing where the tree depth is limit $( T \leq 3 )$ ,and initial thought steps can be evaluated and pruned to a small set $( b \leq 5 )$ )
|
| 70 |
+
(b) Depth-first search (DFS) (Algorithm 2) explores the most promising state first, until the final output is reached $( t > T )$ ,or the state evaluator deems it impossible to solve the problem from the current $s$ $( V ( p _ { \theta } , \{ s \} ) ( s ) \le v _ { t h }$ for a value threshold $v _ { t h }$ ). In the latter case, the subtree from $s$ is pruned to trade exploration for exploitation. In both cases,DFS backtracks to the parent state of $s$ to continue exploration.
|
| 71 |
+
|
| 72 |
+
Conceptually,ToT has several benefits as a method for general problem-solving with LMs: (1) Generality. IO,CoT, CoT-SC,and self-refinement can be seen as special cases of ToT(i.e. trees of limited depth and breadth; Figure 1). (2) Modularity. The base LM, as well as the thought decomposition, generation, evaluation, and search procedures can allbe varied independently. (3) Adaptability. Different problem properties,LM capabilities,and resource constraints can be accommodated. (4) Convenience.No extra training is needed, just a pre-trained LM is suficient. The next section will show how these conceptual benefits translate to strong empirical performance in diferent problems.
|
| 73 |
+
|
| 74 |
+
# 4Experiments
|
| 75 |
+
|
| 76 |
+
We propose three tasks that are hard even when sampling from the state-of-the-art language model. GPT-4 [23], using standard IO prompting or chain-of-thought (CoT) prompting. We show how deliberate search in trees of thoughts (ToT) produces beter results,and more importantly, interesting and promising new ways to use language models to solve problems requiring search or planning. Unless otherwise stated, we perform experiments using a Chat Completion mode GPT $\dot { 4 } ^ { 1 }$ with a sampling temperature of 0.7.
|
| 77 |
+
|
| 78 |
+
<table><tr><td></td><td>Game of 24</td><td>Creative Writing</td><td>5x5 Crosswords</td></tr><tr><td>Input</td><td>4 numbers (4 9 10 13)</td><td>4 random sentences</td><td>10 clues (h1. presented;..)</td></tr><tr><td>Output</td><td>An equation to reach 24 (13-9)*(10-4)=24</td><td>A passage of 4 paragraphs ending in the 4 sentences</td><td>5x5 letters: SHOWN; WIRRA; AVAIL;..</td></tr><tr><td>Thoughts</td><td>3 intermediate equations (13-9=4 (left 4,4,10); 10- 4=6 (left 4,6); 4*6=24)</td><td>Ashort writingplan (1.Introduce a book that connects...)</td><td>Words to fill in for clues: (h1. shown; v5. naled; .)</td></tr><tr><td>#ToT steps</td><td>3</td><td>1</td><td>5-10 (variable)</td></tr></table>
|
| 79 |
+
|
| 80 |
+
Table 1: Task overview. Input, output, thought examples are in blue.
|
| 81 |
+
|
| 82 |
+
# 4.1 Game of 24
|
| 83 |
+
|
| 84 |
+
Game of 24 is a mathematical reasoning challenge, where the goal is to use 4 numbers and basic arithmetic operations $( + - ^ { * } / )$ to obtain 24. For example, given input $^ { \bullet } 4 9 1 0 1 3 ^ { \prime \prime }$ , a solution output could be $\ ^ { \cdot } ( 1 0 - 4 ) \ ^ { * } \ ( 1 3 - 9 ) = 2 4 ^ { , 9 }$ :
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
Figure 2: ToT in a game of 24. The LM is prompted for (a) thought generation and (b) valuation.
|
| 88 |
+
|
| 89 |
+
Task Setup. We scrape data from 4nums.com, which has 1,362 games that are sorted from easy to hard by human solving time,and use a subset of relatively hard games indexed 901-1,0Oo for testing. For each task, we consider the output as success if it is a valid equation that equals 24 and uses the input numbers each exactly once.We report the success rate across 1OO games as the metric.
|
| 90 |
+
|
| 91 |
+
Baselines.We use a standard input-output (IO) prompt with 5 in-context examples.For chain-ofthought (CoT) prompting, we augment each input-output pair with 3 intermediate equations, each operating on two remaining numbers. For example, given input $^ { \dots } 4 9 1 0 1 3 ^ { \prime \prime }$ ,the thoughts could be $\cdot 1 3 - 9 = 4$ (left: 4 4 10); $1 0 - 4 = 6$ (left: $4 6$ ) $4 \ast 6 = 2 4$ (left: 24)". For each game, we sample IO and CoT prompting for 100 times for average performance. We also consider a CoT self-consistency baseline,which takes the majority output from $1 0 0 \mathrm { C o T }$ samples,and an iterative-refine approach on top of an IO sample for at most 10 iterations. At each iteration, the LM is conditioned on all previous history to “reflect on your mistakes and generate a refined answer”if the output is incorrect. Note that it uses groundtruth feedback signals about equation correctness.
|
| 92 |
+
|
| 93 |
+
ToT Setup. To frame Game of 24 into ToT, it is natural to decompose the thoughts into 3 steps, each an intermediate equation. As shown in Figure 2(a), at each tree node, we exact the remaining numbers and prompt the LM to propose some possible next steps. The same “propose prompt” is used for all 3 thought steps,though it only has one example with 4 input numbers. We perform a breadth-first search (BFS) in ToT, where at each step we keep the best $b = 5$ candidates. To perform deliberate BFS in ToT,as shown in Figure 2(b), we prompt LM to evaluate each thought candidate as “sure/maybe/impossible” with regard to reaching 24. The aim is to promote correct partial solutions that can be verdicted within few lookahead trials,and eliminate impossible partial solutions based on “too big/small” commonsense,and keep the rest “maybe". We sample values 3 times for each thought.
|
| 94 |
+
|
| 95 |
+
<table><tr><td>Method</td><td> Success</td></tr><tr><td>IO prompt</td><td>7.3%</td></tr><tr><td>CoT prompt</td><td>4.0%</td></tr><tr><td>CoT-SC (k=100) ToT (ours) (b=1)</td><td>9.0% 45%</td></tr><tr><td>ToT (ours) (b=5)</td><td>74%</td></tr><tr><td>IO + Refine (k=10)</td><td>27%</td></tr><tr><td>IO (best of 100)</td><td>33%</td></tr><tr><td>CoT (best of 100)</td><td>49%</td></tr></table>
|
| 96 |
+
|
| 97 |
+
Table 2: Game of 24 Results.
|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
Figure 3: Game of 24 (a) scale analysis & (b) error analysis.
|
| 101 |
+
|
| 102 |
+
Results. As shown in Table 2,IO, CoT,and CoT-SC prompting methods perform badly on the task, achieving only $7 . 3 \%$ $4 . 0 \%$ ,and $9 . 0 \%$ success rates.In contrast,ToT with a breadth of $b = 1$ already achieves a success rate of $4 5 \%$ ,while $b = 5$ achieves $7 4 \%$ .We also consider an oracle setup for IO/CoT, by calculating the success rate using best of $k$ samples ( $1 \leq k \leq 1 0 0 $ ). To compare IO/CoT (best of $\mathbf { k }$ ) with ToT,we consider calculating the tree nodes visited per task in ToT across $b = 1 \cdots 5$ and map the 5 success rates in Figure 3(a), treating IO/CoT (best of $k$ )asvisiting $k$ nodes in a bandit. Not surprisingly, CoT scales better than IO,and best of $1 0 0 \mathrm { C o T }$ samples achieve a success rate of $4 9 \%$ ,but still much worse than exploring more nodes in ToT $( b > 1 )$ ).
|
| 103 |
+
|
| 104 |
+
Error analysis.Figure 3(b) breaks down at which step CoT and ToT samples fail the task, i.e.the thought (in CoT) or all $b$ thoughts (in ToT) are invalid or impossible to reach 24.Notably,around $60 \%$ of CoT samples already failed the task after generating the first step, or equivalently, the first three words (e.g. $\mathbf { \^ 6 4 + 9 ^ { 9 } } ,$ . This highlights the issues with direct left-to-right decoding.
|
| 105 |
+
|
| 106 |
+
# 4.2 Creative writing
|
| 107 |
+
|
| 108 |
+
Next, we invent a creative writing task where the input is 4 random sentences and the output should be a coherent passage with 4 paragraphs that end in the 4 input sentences respectively. Such a task is open-ended and exploratory,and challenges creative thinking as well as high-level planning.
|
| 109 |
+
|
| 110 |
+
Task setup.We sample random sentences from randomwordgenerator.com to form 1OO inputs,and there is no groundtruth passage for each input constraint. As we find that GPT-4 can follow the input constraints most of the time, we focus on evaluating passage coherency in two ways: using a GPT-4 zero-shot prompt to provide a 1-10 scalar score, or using human judgments to compare pairs of outputs from different methods.For the former, we sample 5 scores and average them for each task output,and we find these 5 scores usually consistent, with a standard deviation of around 0.56 on average across outputs.For the latter, we employ a subset of the authors in a blind study to compare the coherency of CoT vs.ToT generated passage pairs, where the order of passges is random flipped over 100 inputs.
|
| 111 |
+
|
| 112 |
+
Baselines. Given the creative nature of the task, both IO and CoT prompts are zero-shot.While the former prompts the LM to directly generate a coherent passage given input constraints, the later prompts the LM to first make a brief plan then write the passage,i.e.the plan serves as the intermediate thought step. We generate $1 0 ~ \mathrm { I O }$ and CoT samples per task.We also consider an iterative-refine $k \leq 5 ,$ method on top of a random IO sample for each task,where the LM is conditioned on input constraints and the last generated passage to decide if the passage is already “perfectly coherent”, and if not generate a refined one.
|
| 113 |
+
|
| 114 |
+
ToT setup. We build a ToT with depth 2 (and only 1 intermediate thought step)—the LM first generates $k = 5$ plans and votes for the best one (Figure 4), then similarly generate $k = 5$ passages based on the best plan then vote for the best one.Here the breadth limit $b = 1$ ,as only one choice is kept per step. A simple zero-shot vote prompt ("analyze choices below, then conclude which is most promising for the instruction") is used to sample 5 votes at both steps.
|
| 115 |
+
|
| 116 |
+
Results.Figure 5(a) shows average GPT-4 scores across 1OO tasks,where ToT(7.56) is deemed to generate more coherent passages than IO (6.19) and CoT (6.93) on average. While such an automatic metric might be noisy,Figure 5(b) confirms the finding by showing that humans prefer ToT over CoT in 41 out of 100 passage pairs, while only prefer CoT over ToT in 21 (other 38 pairs are found "similarly coherent"). Lastly,iterative-refine is more effective on this natural language task, where it improves IO coherency score from 6.19 to 7.67,and ToT coherency score from 7.56 to 7.91. We believe itcould be thought of as a third approach to thought generation in the ToT framework, where new thoughts can arise from refining old thoughts instead of i.i.d.or sequentially generated.
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
Figure 4: A step of deliberate search in a randomly picked Creative Writing task. Given the input, the LM samples 5 diferent plans,then votes 5 times to decide which plan is best. The majority choice is used to consequently write the output passage with the same sample-vote procedure.
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 5: Creative Writing results.
|
| 123 |
+
|
| 124 |
+
<table><tr><td>Method</td><td>Success Rate (%) Letter Word Game</td></tr><tr><td>10 CoT</td><td>38.7 14 0 40.6 15.6 1</td></tr><tr><td>ToT (ours)</td><td>78 60 20</td></tr><tr><td>+best state</td><td>82.4 67.5 35</td></tr><tr><td> -prune</td><td>65.4 41.5 5</td></tr><tr><td>-backtrack</td><td>54.6 20 5</td></tr></table>
|
| 125 |
+
|
| 126 |
+
Table 3: Mini Crosswords results.
|
| 127 |
+
|
| 128 |
+
# 4.3Mini crosswords
|
| 129 |
+
|
| 130 |
+
In Game of 24 and Creative Writing,ToT is relatively shallow —at most 3 thought steps are needed to reach the final output. Here we explore $5 \times 5$ mini crosswords as a harder search problem involving natural language. Again, the goal is not just to solve the task, as more general crosswords can be readily solved with specialized NLP pipelines [34] that leverages large-scale retrieval instead of LM. Rather, we aim to explore the limit of LMas a general problem solver that explores its own thoughts and guides its own exploration with deliberate reasoning as heuristics.
|
| 131 |
+
|
| 132 |
+
Task setup.We scrape data from GooBix, which contains 156 games of $5 \times 5$ mini crosswords. As we observe adjacent games contain similar clues,we use 2O games with indices $1 , 6 , \cdots , 9 1 , 9 6$ for testing,and games 136,141,146,151,156 for prompting. For each task, the input describes the 5 horizontal clues and 5 vertical clues,and the output should be a board of $5 \times 5 = 2 5$ letters to solve the crosswords. For evaluation, we consider three levels of success: the portion of correct letters (25 per game), words (10 per game), and games.
|
| 133 |
+
|
| 134 |
+
Baselines. We provide 5 example input-output pairs in the IO prompt, and in the CoT prompt additionally include intermediate words in the order h1..5 then v1..5. We run each prompt for 10 samples and average the results.
|
| 135 |
+
|
| 136 |
+
ToT setup. We leverage a depth-first search (Algorithm 2) that keeps exploring the most promising subsequent word clue until the state is no longer promising, then backtrack to the parent state to explore alternative thoughts.To make search tractable, subsequent thoughts are constrained not to change any filled words or letters,so that the ToT has at most 1O intermediate steps.For thought generation, at each state we translate all existing thoughts (e.g.“h2.motor; h1.tasks” for the state in Figure 6(a)) into letter constraints for remaining clues (e.g."v1.To heap: tm__-;.") and prompt a proposal prompt 5 times to come up with candidates for where and what to fill in the next word. Importantly, we also prompt the LM to give a confidence level for different thoughts,and aggregate these across proposals to obtain a sorted list of next thoughts to explore (Figure 6(a). For state evaluations, we similarly translate each state into leter constraints for remaining clues,then evaluate for each clue if it is possible to fillgiven the constraints. If any remaining clue is demed “impossible” to fill in (e.g.“v1. To heap: tm_s-"), then the exploration of the state's subtree is pruned and DFS backtracks to its parent to explore the next promising thought. We limit DFS search steps to 100,and simply render the deepest explored state (the first explored one if multiple) into the final output.
|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
Figure 6: In Mini Crosswords,(a) how thoughts are proposed and aggregated in a priority queue for depth-first search (DFS),and (b) how a state is evaluated based on the possibility of filling in each remaining word clue,and pruned if any remaining clue is deemed not possible to fill by the LM. Then DFS backtracks to the parent state and explore the next promising thought for clue.
|
| 140 |
+
|
| 141 |
+
Results. As shown in Table 3, IO and CoT prompting methods perform poorly with a word-level success rate less than $1 6 \%$ ,while ToT significantly improves all metrics,achieving a word-level success rate of $6 0 \%$ and solving 4 out of 20 games. Such an improvement is not surprising, given IO and CoT lack mechanisms to try different clues,make changes to decisions,or backtrack.
|
| 142 |
+
|
| 143 |
+
Oracle and ablation studies. When outputing from the oracle best DFS state (instead of the heuristically determined best state) per task, ToT performance is even higher and actually solves 7/20 games (Table 3,‘ $^ { + }$ best state"), indicating our simple output heuristics can be readily improved. Interestingly, sometimes when the crosswords game is actually solved, the state evaluator might still deem some words as “impossible" and prune - possibly because $5 \times 5$ crosswords by design have some rare or obselete words that GPT-4 cannot recognize2. Given the state evaluation as a pruning heuristic is imperfect, we also explore ablating the pruning, and find the performance generally worse (Table 3,“-prune"). However, it could actually find the correct solution for 4/20 games (though only outputing 1 via heuristic),3 of which are games ToT+pruning cannot solve within 100 steps. Thus, beter heuristics for DFS pruning are critical for problem solving in this case.Lastly, we confirm the importance of backtracking by running an ablation that keeps filing the most promising clue for at most 20 steps,allowing overwrites. This is similar to a“greedy”BFS search with breadth limit of $b = 1$ ,and performs poorly with a word level success of only $2 \dot { 0 } \%$ (Table 3,“-backtrack").
|
| 144 |
+
|
| 145 |
+
# 5Related Work
|
| 146 |
+
|
| 147 |
+
Planning and decision making. Smart planning and decision making are critical to achieving predefined goals. As they are trained on vast amount of world knowledge and human examples,LMs are known to have already absorbed rich commonsense that makes it possible to propose reasonable plans conditioned on problem seting and environmental states [12,42,37,13,35,41,40]. Our proposed ToT approach extends existing planning formulations by considering multiple potentially feasible plans simultaneously at each problem-solving step, and proceeding with the most promising ones. The integration between thought sampling and value feedback organically integrates planning and decision-making mechanisms,enabling effective search inside a solution tree. On the other hand, traditional decision-making procedures usually require training dedicated reward and policy models as in reinforcement learning (for example CHAI [33]), whereas we use the LM itself to provide the value estimates for decision making. RAP [9] is a concurrent work that treats language model reasoning as planning with its internal world model, and proposes a MCTS-based method similar to ToT.However,its tasks are simpler than ours,and its framework lacks the modularity to incorporate different tree search algorithms.
|
| 148 |
+
|
| 149 |
+
Self-reflection. Using LLMs to assess the viability of their own predictions is becoming an increasingly important procedure in problem solving. [28,20,24] introduced the“self-reflection” mechanism, in which LMs provide feedback to their generation candidates. [4] improves LMs code generation accuracy by injecting feedback messages generated by the LM itself based on its code execution results. Similarly,[17] also introduces “critic”or review steps over the actions and states, deciding the next action to take in solving computer operation tasks. Another recent work very relevant to ours is “self-eval guided decoding” [39]. Similar to our method, self-eval decoding also follows a tree-search procedure with leaves sampled from stochastic beam search decoding, which are then evaluated by LLM itself with carefully prepared self-eval prompts. Their approach however, uses the PAL formulation [8] which represents thoughts as codes,which makes it difficult to tackle chalenging tasks like creative writing which we consider in this paper. Our Tree-of-Thought formulation is thus more versatile and handles challenging tasks on which GPT-4 only achieves very low accuracy with standard prompts.
|
| 150 |
+
|
| 151 |
+
Program-guided LLM generation. Our proposal is also related to recent advancements that organize LM's behavior with systematic procedures [14,44,6,43] or symbolic program guidance.For example, Schlag et al.[27] embeds LMs in an algorithmic search procedure to help solve problems like question answering step-by-step, in which the search trees are expanded by relevant paragraphs that might provide answers. This approach however differs from ours in that trees are expanded by sampling external paragraphs instead of the LM's own thoughts,and there is no reflection or voting steps. Another approach, $\mathrm { L L M + P }$ [18], goes one step further and delegates the actual planning process to a classical planner.
|
| 152 |
+
|
| 153 |
+
Classical search methods. Last but not least, our approach can be treated as a modern rendition of classical search methods for problem solving. For example it can be considered as a heuristic search algorithm like $\mathbf { A } ^ { * }$ [10], in which the heuristic at each search node is provided by the LM's selfassessment. From this perspective, our method is also related to NeuroLogic $\mathbf { A } ^ { * }$ esque decoding [19], which is inspired by $\mathbf { A } ^ { * }$ search but introduces look-ahead heuristics that are efficient for LMs to improve the beam-search or top-k sampling decoding. This method however is constrained to sentence generation tasks,whereas our framework are designed for complex, multi-step problem solving guarded by value feedback.
|
| 154 |
+
|
| 155 |
+
# 6Discussion
|
| 156 |
+
|
| 157 |
+
Limitations and future directions. Deliberate search such as ToT might not be necessary for many existing tasks that GPT-4 already excels at (see Appendix B.1),and as an initial step this work only explores three relatively simple tasks that challenges GPT-4 (see Appendix B.2 for some GPT-3.5 experiment results) and calls of beter search and planning abilities incorporated with LMs. However, as we begin to deploy LMs for more real-world decision making applications (e.g.coding, data analysis, robotics, etc.), more complex tasks could emerge and present new opportunities to study these research questions. Also, search methods like ToT requires more resources (e.g. GPT-4 API cost) than sampling methods in order to improve task performances, but the modular flexibility of ToT allows users to customize such performance-cost tradeoffs,and ongoing open-source efforts [32] should readily reduce such costs in the near future. More details about cost and effciency are in Appendix B.3. Lastly, this work focuses on using an off-the-shelf LM, and fine-tuning LMs using a ToT-style high-level counterfactual decision making (e.g.deliberating over potential choices for the next paragraph, instead of predicting the next token) might present opportunities to enhance the problem-solving capabilities of LMs.
|
| 158 |
+
|
| 159 |
+
Conclusion. The associative “System 1” of LMs can be beneficially augmented by a“System $2 ^ { \circ }$ based on searching a tree of possible paths to the solution to a problem. The Tree of Thoughts framework provides a way to translate classical insights about problem-solving into actionable methods for contemporary LMs. At the same time,LMs address a weakness of these classical methods, providing a way to solve complex problems that are not easily formalized, such as creative writing. We see this intersection of LMs with classical approaches to AI as an exciting direction.
|
| 160 |
+
|
| 161 |
+
# Broader Impact
|
| 162 |
+
|
| 163 |
+
ToT is a framework that empowers LMs to more autonomously and intelligently make decisions and solve problems. While current tasks are limited to reasoning and search problems, future applications involving interaction with external environments or humans could bring potential danger, e.g.facilitating harmful uses of LMs. On the other hand, ToT also improves the interpretability of model decisions and the opportunity for human alignment, as the resulting representations are readable, high-level language reasoning instead of implicit, low-level token values.
|
| 164 |
+
|
| 165 |
+
# Acknowledgements
|
| 166 |
+
|
| 167 |
+
SY and KN acknowledge support from an Oracle Collaborative Research award and the National Science Foundation under Grant No. 2239363. Any opinions,findings,conclusions,or recommendations expressed in this material are those of the author(s)and do not necessarily reflect the views of the National Science Foundation. SY is also supported by the Harold W.Dodds Fellowship from Princeton.
|
| 168 |
+
|
| 169 |
+
# References
|
| 170 |
+
|
| 171 |
+
[1] T. Brown, B. Mann,N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020.
|
| 172 |
+
[2] C. Browne,E.J. Powley, D. Whitehouse, S. M. M. Lucas, P. I. Cowling, P. Rohlfshagen, S.Tavener,D.P.Liebana, S. Samothrakis,and S. Colton.A survey of monte carlo tree search methods. IEEE Transactions on Computational Intelligence and AI in Games, 4:1-43,2012.
|
| 173 |
+
[3] M. Campbell, A. J. Hoane Jr, and F.-h. Hsu. Deep blue. Artificial intelligence,134(1-2):57-83, 2002.
|
| 174 |
+
[4] X. Chen, M. Lin, N. Schärli, and D. Zhou. Teaching large language models to self-debug, 2023.
|
| 175 |
+
[5] A.Chowdhery, S. Narang,J. Devlin, M. Bosma, G. Mishra,A. Roberts,P. Barham, H.W. Chung, C. Sutton, S. Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311,2022.
|
| 176 |
+
[6] A. Creswelland M. Shanahan. Faithful reasoning using large language models. arXiv preprint arXiv:2208.14271,2022.
|
| 177 |
+
[7] N. D. Daw, Y. Niv, and P. Dayan. Uncertainty-based competition between prefrontal and dorsolateral striatal systems for behavioral control. Nature neuroscience, 8(12):17O4-1711, 2005.
|
| 178 |
+
[8] L. Gao, A. Madaan, S. Zhou, U. Alon, P. Liu, Y. Yang, J. Callan,and G. Neubig. Pal: Programaided language models, 2023.
|
| 179 |
+
[9]S. Hao, Y. Gu, H. Ma, J. J. Hong,Z. Wang, D. Z. Wang,and Z. Hu. Reasoning with language model is planning with world model. arXiv preprint arXiv:2305.14992, 2023.
|
| 180 |
+
[10] P.E.Hart,N.J. Nilsson,and B. Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions on Systems Science and Cybernetics,4(2):100-107, 1968. doi: 10.1109/TSSC.1968.300136.
|
| 181 |
+
[11] P.E.Hart,N.J. Nilsson,and B.Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE transactions on Systems Science and Cybernetics,4(2):100-107, 1968.
|
| 182 |
+
[12] W. Huang, P. Abbeel, D. Pathak,and I. Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents, 2022.
|
| 183 |
+
[13] W. Huang,F. Xia, T. Xiao, H. Chan, J. Liang, P.Florence, A. Zeng, J. Tompson, I. Mordatch, Y. Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608,2022.
|
| 184 |
+
[14] J. Jung, L. Qin, S. Weleck, F. Brahman, C. Bhagavatula, R. L. Bras,and Y. Choi. Maieutic prompting: Logically consistent reasoning with recursive explanations. arXiv preprint arXiv:2205.11822,2022.
|
| 185 |
+
[15] D. Kahneman. Thinking, fast and slow. Macmillan, 2011.
|
| 186 |
+
[16] D. Kahneman, S. Frederick, et al. Representativeness revisited: Attribute substitution in intuitive judgment. Heuristics and biases: The psychology of intuitive judgment, 49(49-81):74, 2002.
|
| 187 |
+
[17] G. Kim, P. Baldi, and S. McAleer. Language models can solve computer tasks, 2023.
|
| 188 |
+
[18] B. Liu, Y. Jiang, X. Zhang, Q. Liu, S. Zhang, J. Biswas,and P. Stone. Llm $+ \mathsf { p }$ : Empowering large language models with optimal planning proficiency, 2023.
|
| 189 |
+
[19] X. Lu, S. Welleck, P. West, L. Jiang, J. Kasai, D. Khashabi,R. L. Bras,L. Qin, Y. Yu, R. Zellers, N. A. Smith,and Y. Choi. Neurologic a\*esque decoding: Constrained text generation with lookahead heuristics. In North American Chapter of the Association for Computational Linguistics, 2021.
|
| 190 |
+
[20] A. Madaan, N. Tandon, P. Gupta, S. Hallinan,L. Gao, S. Wiegreffe,U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, S. Welleck,B.P. Majumder, S. Gupta, A. Yazdanbakhsh, and P. Clark. Self-refine: Iterative refinement with self-feedback, 2023.
|
| 191 |
+
[21] A. Newell, J. C. Shaw, and H. A. Simon. Report on a general problem solving program. In IFIP congress, volume 256, page 64. Pittsburgh, PA,1959.
|
| 192 |
+
[22] A. Newell, H. A. Simon, et al. Human problem solving. Prentice-Hall,1972.
|
| 193 |
+
[23] OpenAI. Gpt-4 technical report. ArXiv,abs/2303.08774, 2023.
|
| 194 |
+
[24] D. Paul,M. Ismayilzada, M. Peyrard, B.Borges, A. Bosselut, R. West, and B.Faltings. Refiner: Reasoning feedback on intermediate representations,2023.
|
| 195 |
+
[25] A. Radford, K. Narasimhan,T. Salimans,I Sutskever, et al. Improving language understanding by generative pre-training. OpenAI blog, 2018.
|
| 196 |
+
[26] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9,2019.
|
| 197 |
+
[27] I. Schlag, S. Sukhbaatar, A. Celikyilmaz, W. tau Yih,J. Weston, J. Schmidhuber, and X. Li. Large language model programs, 2023.
|
| 198 |
+
[28] N. Shinn, B. Labash,and A. Gopinath. Reflexion: an autonomous agent with dynamic memory and self-reflection, 2023.
|
| 199 |
+
[29] D. Silver, J. Schritwieser, K. Simonyan, I. Antonoglou, A. Huang, A. Guez, T. Hubert,L. Baker, M.Lai, A. Bolton, et al. Mastering the game of go without human knowledge. nature, 550 (7676):354-359, 2017.
|
| 200 |
+
[30] S. A. Sloman. The empirical case for two systems of reasoning. Psychological bulletin,119(1): 3,1996.
|
| 201 |
+
[31] K.E. Stanovich. Who is rational? Studies ofindividual diferences in reasoning. Psychology Press, 1999.
|
| 202 |
+
[32] H. Touvron,T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T.Lacroix,B.Roziere, N. Goyal, E. Hambro,F. Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971,2023.
|
| 203 |
+
[33] S. Verma, J.Fu, S. Yang, and S. Levine. Chai: A chatbot ai for task-oriented dialogue with offline reinforcement learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4471-4491, 2022.
|
| 204 |
+
[34] E. Wallace, N. Tomlin, A. Xu, K. Yang,E. Pathak, M. Ginsberg,and D. Klein. Automated crossword solving. arXiv preprint arXiv:2205.09665,2022.
|
| 205 |
+
[35] L. Wang, W. Xu, Y. Lan, Z. Hu, Y. Lan, R. K.-W. Lee, and E.-P. Lim. Plan-and-solve prompting: Improving zero-shot chain-of-thought reasoning by large language models, 2023.
|
| 206 |
+
[36] X. Wang, J. Wei, D. Schuurmans, Q.Le,E. Chi, and D. Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171, 2022.
|
| 207 |
+
[37] Z. Wang, S. Cai, A. Liu, X. Ma,and Y. Liang. Describe, explain, plan and select: Interactive planning with large language models enables open-world multi-task agents, 2023.
|
| 208 |
+
[38] J. Wei, X. Wang, D. Schuurmans,M. Bosma, E. Chi, Q.Le,and D. Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022.
|
| 209 |
+
[39] Y. Xie, K. Kawaguchi, Y. Zhao, X. Zhao, M.-Y. Kan, J. He,and Q. Xie. Decomposition enhances reasoning via self-evaluation guided decoding, 2023.
|
| 210 |
+
[40] S.Yang, O. Nachum, Y.Du,J. Wei, P. Abbeel,and D. Schuurmans. Foundation models for decision making: Problems, methods,and opportunities, 2023.
|
| 211 |
+
[41] S. Yao, J. Zhao,D. Yu,N. Du, I. Shafran, K. Narasimhan,and Y. Cao.ReAct: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629,2022.
|
| 212 |
+
[42] S. Zhang, Z. Chen, Y. Shen, M. Ding, J. B. Tenenbaum, and C. Gan. Planning with large language models for code generation. In The Eleventh International Conference on Learning Representations,2023. URL https://openreview.net/forum?id=Lr8c00tYbfL.
|
| 213 |
+
[43] D. Zhou, N. Scharli,L. Hou, J. Wei, N. Scales, X. Wang,D. Schuurmans, C. Cui, O. Bousquet, Q.Le, et al. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625,2022.
|
| 214 |
+
[44] X. Zhu, J. Wang, L. Zhang, Y. Zhang, R. Gan, J. Zhang,and Y. Yang. Solving math word problem via cooperative reasoning induced language models. arXiv preprint arXiv:2210.16257, 2022.
|
| 215 |
+
|
| 216 |
+
# A Code, Prompts, Trajectories
|
| 217 |
+
|
| 218 |
+
All code is available at https://github.com/princeton-nlp/tree-of-thought-llm.
|
| 219 |
+
|
| 220 |
+
All prompts are available at https://github.com/princeton-nlp/tree-of-thought-llm/ tree/master/src/tot/prompts.
|
| 221 |
+
|
| 222 |
+
Trajectories are available at https://github.com/princeton-nlp/tree-of-thought-llm/ tree/master/logs.
|
| 223 |
+
|
| 224 |
+
# BAdditional Experiment Results
|
| 225 |
+
|
| 226 |
+
Given the motivation of exploring and extending the capability frontier of language models, our experiments in the main paper have focused on a setup with the state-of-the-art language model (GPT-4),and three hard tasks invented to chalenge it. Here, we report additional experiments with weaker LLM or easier tasks,and discusscost and efficiency.
|
| 227 |
+
|
| 228 |
+
<table><tr><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td>10 6.19</td><td>4.47</td></tr><tr><td>CoT 6.93</td><td>5.16</td></tr><tr><td>ToT 7.56</td><td>6.62</td></tr></table>
|
| 229 |
+
|
| 230 |
+
Table 5: Game of 24 with GPT-4 vs GPT-3.5.
|
| 231 |
+
|
| 232 |
+
<table><tr><td>GSM8K</td><td>StrategyQA</td></tr><tr><td>10 51</td><td>73</td></tr><tr><td>CoT 86</td><td>82</td></tr><tr><td>ToT 90</td><td>83</td></tr></table>
|
| 233 |
+
|
| 234 |
+
Table 4:New tasks with zero-shot ToT and GPT-4.
|
| 235 |
+
|
| 236 |
+
<table><tr><td></td><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td>I0</td><td>7.3%</td><td>6%</td></tr><tr><td>CoT</td><td>4.0%</td><td>3%</td></tr><tr><td>ToT</td><td>74%</td><td>19%</td></tr></table>
|
| 237 |
+
|
| 238 |
+
Table 6: Creative Writing with GPT-4 vs. GPT-3.5.
|
| 239 |
+
|
| 240 |
+
# B.1Extension to new tasks (GSM8k, StrategyQA) with zero-shot ToT
|
| 241 |
+
|
| 242 |
+
While more common NLP tasks might be too easy for GPT-4 and do not require ToT(which is why we considered harder new tasks), we believe applying ToT to new tasks could be straightforward. For example, we implemented a simple and generic zero-shot ToT-BFS similar to creative writing (sample 5 problem solving strategies then vote for the best one; then sample 5 solutions based on the best strategy then vote for the best one) for GSM8K and StrategyQA with few extra lines of code:
|
| 243 |
+
|
| 244 |
+
# define the answer format of new tasks gsm8k_format $=$ ("the answer is n" where n is a number' strategyqa_format $=$ ‘either "the answer is yes" or "the answer is no"’ # define zero-shot io prompting standard_prompt $=$ ‘Answer the following question with {format}: {input}' # define thought format for zero-shot cot and zero-shot tot cot_prompt $\begin{array} { r l } { = } & { { } \hat { \pmb { \mathscr { \imath } } } \pmb { \mathscr { \imath } } \pmb { \mathscr { \imath } } \pmb { \mathscr { \imath } } } \end{array}$ Answer the following question: {input}
|
| 245 |
+
|
| 246 |
+
Make a strategy then write. Your output should be of the following format:
|
| 247 |
+
|
| 248 |
+
Strategy:
|
| 249 |
+
|
| 250 |
+
Your strategy about how to answer the question.
|
| 251 |
+
|
| 252 |
+
Answer:
|
| 253 |
+
|
| 254 |
+
Your answer to the question.It should end with {format}. ,,,
|
| 255 |
+
|
| 256 |
+
# define zero-shot voting used for zero-shot tot
|
| 257 |
+
vote_prompt $\begin{array} { r l } { \mathbf { \Sigma } } & { { } = \mathbf { \Sigma } ^ { \textit { \textbf { c } } \texttt { \textsf { c } } \mathcal { \epsilon } \textbf { \Lambda } } } \end{array}$ Given an instruction and several choices, decide which choice is most promising.
|
| 258 |
+
Analyze each choice in detail,then conclude in the last line "The best choice is {s}",where s the integer id of the choice. ,,
|
| 259 |
+
|
| 260 |
+
We evaluated on a subset of 100 random GSM8K test and StrategyQA dev questions. As shown in Table 4 and as expected,ToT improves over CoTon both tasks (but only slightly, given GPT-4 $+ \mathrm { C o T }$ is already very good on such tasks, and StrategyQA's botleneck is external knowledge, not reasoning). Considering computational costs, it is more suitable to try smaller LLMs $^ +$ ToT for traditional NLP tasks,or GPT $\cdot 4 + \mathrm { T o T }$ for hard tasks that challenge GPT $. 4 + \mathrm { C o T ' }$ reasoning.
|
| 261 |
+
|
| 262 |
+
# B.2Extension to new LMs (GPT-3.5)
|
| 263 |
+
|
| 264 |
+
To understand how ToT works with other LLMs, we also ran GPT-3.5-turbo for Creative Writing (Table 6) and Game of 24 (Table 5). On both tasks, $\mathbf { \partial } ^ { \cdot } \mathbf { \Phi } ^ { \cdot } \mathbf { T o T } > \mathbf { C o T } > \mathbf { I O } ^ { \prime }$ remains true for GPT-3.5. On Creative Writing,we find GPT $3 . 5 \mathrm { + T o T }$ outperform GPT $_ { 4 + 1 0 }$ ,and similar to GPT- $4 { + } \mathrm { C o T }$ ,which suggests ToT could also work well on weaker language models.
|
| 265 |
+
|
| 266 |
+
On Game of 24 (we changed 1-shot proposal prompt to 3-shot to make it work), GPT- $. 3 . 5 +$ ToT's $19 \%$ is far worse than GPT- $^ { 4 + }$ ToT's $74 \%$ . To further understand the importance of generation vs. evaluation, we ran GPT-4 generation $+ \mathrm { G P T } { - 3 . 5 }$ evaluation $( 6 4 \% )$ and GPT-3.5 generation $^ +$ GPT-4 evaluation $( 3 1 \% )$ . This suggests the game's bottleneck is thought generation,and different generation/evaluation language models might attain decent results while reducing costs.
|
| 267 |
+
|
| 268 |
+
# B.3Cost and effciency
|
| 269 |
+
|
| 270 |
+
Running ToT requires significantly more computations than IO or CoT prompting. For example, in Game of 24 (Table 7 below), solving a problem with ToT requires $5 . 5 \mathrm { k }$ completion tokens, close to $1 0 0 \mathrm { C o T }$ trials ( $\mathrm { 6 . 7 k }$ tokens). But the performance of ToT is better than best of 1OO independent CoT trials.
|
| 271 |
+
|
| 272 |
+
<table><tr><td>Game of 24</td><td>Generate/Prompt tokens</td><td>Cost per case</td><td> Success</td></tr><tr><td>IO (best of 100)</td><td>1.8k /1.0k</td><td>$0.13</td><td>33%</td></tr><tr><td>CoT (best of 100)</td><td>6.7k /2.2k</td><td>$0.47</td><td>49%</td></tr><tr><td>ToT</td><td>5.5k / 1.4k</td><td>$0.74</td><td>74%</td></tr></table>
|
| 273 |
+
|
| 274 |
+
Table 7: Cost analysis on Game of 24.
|
| 275 |
+
|
| 276 |
+
On Creative Writing (Table 8 below), we found ToT takes around ${ 5 } \mathrm { x }$ completion tokens and money cost, which is intuitive as $b = 5$ and most tokens are generated passages.
|
| 277 |
+
|
| 278 |
+
<table><tr><td>Creative Writing</td><td>Generate/Prompt tokens</td><td>Cost per case</td></tr><tr><td>I0</td><td>0.9k /0.4k</td><td>$0.06</td></tr><tr><td>CoT</td><td>0.9k/0.4k</td><td>$0.07</td></tr><tr><td>ToT</td><td>4k /2.9k</td><td>$0.32</td></tr></table>
|
| 279 |
+
|
| 280 |
+
Table 8: Cost analysis on Game of 24.
|
| 281 |
+
|
| 282 |
+
So completing Game of 24 and Creative Writing's main ToT experiments cost around $0 . 7 4 \times 1 0 0 +$ $0 . 3 2 \times 1 0 0 = 1 0 6$ dollars.Crosswords’DFS experiments should be also within 1OO dollars.In general, cost and efficiency of ToT highly depend on the prompts and search algorithms used,and could require 5-1OO times more generated tokens than CoT. Some actionable insights:
|
| 283 |
+
|
| 284 |
+
· We recommend using ToT on tasks requiring deliberate reasoning, on which CoT struggles. · Flexibility of ToT allows some performance-cost tradeoff, e.g., change beam size or vote number in BFS,few-shot vs. zero-shot prompting,GPT-3.5 vs. GPT-4,etc. One could configure the setup based on some resource constraints or performance goal. · There is much space for improving effciency, e.g., BFS could early stop when solution is found,or trim down beam size to when some thoughts are "impossible". · We believe that more computation is indeed required in order for the model to achieve stronger intelligence,and this should not become a blocking issue as in the long run, (opensource) LMs will become much cheaper and more efficient. It is also a great direction how to better train/finetune LMs for thought generation and/or evaluation.
|
parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_content_list.json
ADDED
|
@@ -0,0 +1,1386 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Tree of Thoughts: Deliberate Problem Solving with Large Language Models ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
220,
|
| 8 |
+
122,
|
| 9 |
+
777,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Shunyu Yao Princeton University ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
197,
|
| 19 |
+
227,
|
| 20 |
+
333,
|
| 21 |
+
253
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Dian Yu Google DeepMind ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
366,
|
| 30 |
+
226,
|
| 31 |
+
488,
|
| 32 |
+
255
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Jeffrey Zhao Google DeepMind ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
519,
|
| 41 |
+
226,
|
| 42 |
+
643,
|
| 43 |
+
255
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Izhak Shafran Google DeepMind ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
676,
|
| 52 |
+
227,
|
| 53 |
+
799,
|
| 54 |
+
255
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Thomas L. Griffiths Princeton University ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
230,
|
| 63 |
+
275,
|
| 64 |
+
369,
|
| 65 |
+
304
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Yuan Cao Google DeepMind ",
|
| 72 |
+
"bbox": [
|
| 73 |
+
433,
|
| 74 |
+
275,
|
| 75 |
+
557,
|
| 76 |
+
304
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Karthik Narasimhan Princeton University ",
|
| 83 |
+
"bbox": [
|
| 84 |
+
620,
|
| 85 |
+
275,
|
| 86 |
+
767,
|
| 87 |
+
304
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Abstract ",
|
| 94 |
+
"text_level": 1,
|
| 95 |
+
"bbox": [
|
| 96 |
+
462,
|
| 97 |
+
339,
|
| 98 |
+
535,
|
| 99 |
+
356
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "Language models are increasingly being deployed for general problem solving across a wide range of tasks,but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges,we introduce a new framework for language model inference,“Tree of Thoughts”(ToT),which generalizes over the popular“Chain of Thought” approach to prompting language models,and enables exploration over coherent units of text (\"thoughts\") that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking ahead or backtracking when necessary to make global choices. Our experiments show that ToT significantly enhances language models’ problem-solving abilities on three novel tasks requiring non-trivial planning or search: Game of 24, Creative Writing,and Mini Crosswords. For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved $4 \\%$ of tasks,our method achieved a success rate of $74 \\%$ . Code repo with all prompts: https://github.com/princeton-nlp/tree-of-thought-llm. ",
|
| 106 |
+
"bbox": [
|
| 107 |
+
233,
|
| 108 |
+
372,
|
| 109 |
+
766,
|
| 110 |
+
607
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "1Introduction ",
|
| 117 |
+
"text_level": 1,
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
637,
|
| 121 |
+
310,
|
| 122 |
+
655
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Originally designed to generate text, scaled-up versions of language models (LMs) such as GPT [25, 26,1,23] and PaLM [5] have been shown to be increasingly capable of performing an ever wider range of tasks requiring mathematical, symbolic, commonsense,and knowledge reasoning. It is perhaps surprising that underlying all this progress is still the original autoregressive mechanism for generating text, which makes token-level decisions one by one and in a left-to-right fashion. Is such a simple mechanism sufficient for a LM to be built toward a general problem solver? If not, what problems would challenge the current paradigm,and what should be alternative mechanisms? ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
670,
|
| 132 |
+
825,
|
| 133 |
+
767
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "The literature on human cognition provides some clues to answer these questions. Research on “dual process” models suggests that people have two modes in which they engage with decisions - a fast, automatic,unconscious mode (\"System 1\") and a slow, deliberate, conscious mode (\"System 2\") [30,31,16,15]. These two modes have previously been connected to a variety of mathematical models used in machine learning. For example, research on reinforcement learning in humans and other animals has explored the circumstances under which they engage in associative “model free\" learning or more deliberative“model based” planning [7]. The simple associative token-level choices of LMs are also reminiscent of “System 1\",and thus might benefit from augmentation by a more deliberate “System $2 ^ { \\circ }$ planning process that (1) maintains and explores diverse alternatives for current choices instead of just picking one,and (2) evaluates its current status and actively looks ahead or backtracks to make more global decisions. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
773,
|
| 143 |
+
825,
|
| 144 |
+
898
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "image",
|
| 150 |
+
"img_path": "images/b7fb3f215b6ad763cd26c1185478d0e2a29d7cb659f6ab760a80492664d522bb.jpg",
|
| 151 |
+
"image_caption": [
|
| 152 |
+
"Figure 1: Schematic ilustrating Various approaches to problem solving with LLMs. Each rectangle box represents a thought, which is a coherent language sequence that serves as an intermediate step toward problem solving. See concrete examples of how thoughts are generated, evaluated, and searched in Figures 2,4,6. "
|
| 153 |
+
],
|
| 154 |
+
"image_footnote": [],
|
| 155 |
+
"bbox": [
|
| 156 |
+
240,
|
| 157 |
+
92,
|
| 158 |
+
758,
|
| 159 |
+
286
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
363,
|
| 169 |
+
821,
|
| 170 |
+
391
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "To design such a planning process, we return to the origins of artificial intelligence (and cognitive science), drawing inspiration from the planning processes explored by Newell, Shaw,and Simon starting in the 195Os [21,22]. Newell and colleagues characterized problem solving [21] as search through a combinatorial problem space,represented as a tree.We thus propose the Tree of Thoughts (ToT) framework for general problem solving with language models. As Figure 1 illustrates, while existing methods (detailed below) sample continuous language sequences for problem solving, ToT actively maintains a tree of thoughts,where each thought is a coherent language sequence that serves as an intermediate step toward problem solving (Table 1). Such a high-level semantic unit allows the LM to self-evaluate the progress different intermediate thoughts make towards solving the problem through a deliberate reasoning process that is also instantiated in language (Figures 2,4,6). This implementation of search heuristics via LM self-evaluation and deliberation is novel,as previous search heuristics are either programmed or learned. Finally,we combine this language-based capability to generate and evaluate diverse thoughts with search algorithms,such as breadth-first search (BFS) or depth-first search (DFS), which allow systematic exploration of the tree of thoughts with lookahead and backtracking. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
397,
|
| 180 |
+
825,
|
| 181 |
+
604
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "Empirically, we propose three new problems that challenge existing LM inference methods even with the state-of-the-art language model, GPT-4 [23]: Game of 24, Creative Writing,and Crosswords (Table 1). These tasks require deductive,mathematical, commonsense,lexical reasoning abilities, and a way to incorporate systematic planning or search. We show ToT obtains superior results on allthree tasks by being general and flexible enough to support different levels of thoughts,different ways to generate and evaluate thoughts,and diferent search algorithms that adapt to the nature of different problems. We also analyze how such choices affect model performances via systematic ablations and discuss future directions to better train and use LMs. ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
174,
|
| 190 |
+
611,
|
| 191 |
+
825,
|
| 192 |
+
722
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "2Background ",
|
| 199 |
+
"text_level": 1,
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
742,
|
| 203 |
+
308,
|
| 204 |
+
760
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "We first formalize some existing methods that use large language models for problem-solving, which our approach is inspired by and later compared with. We use $p _ { \\theta }$ to denote a pre-trained LM with parameters $\\theta$ ,and lowercase letters $x , y , z , s , \\cdots$ to denote a language sequence, i.e. $x =$ $( x [ 1 ] , \\hat { \\cdot } \\cdot \\cdot , x [ n ] )$ where each $x [ i ]$ is a token, so that $\\begin{array} { r } { p _ { \\theta } ( x ) = \\prod _ { i = 1 } ^ { n } p _ { \\theta } ( x [ i ] | x [ 1 . . . i ] ) } \\end{array}$ . We use uppercase letters $S , \\cdots$ to denote a collection of language sequences. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
775,
|
| 214 |
+
825,
|
| 215 |
+
844
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Input-output (IO) prompting is the most common way to turn a problem input $x$ into output $y$ with LM: $y \\sim p _ { \\boldsymbol \\theta } ( y | \\mathrm { p r o m p t } _ { I O } ( x ) )$ ,where $\\mathsf { p r o m p t } _ { I O } ( x )$ wraps input $x$ with task instructions and/or few-shotinputoutputexamples.Forsimplicityetsde $p _ { \\theta } ^ { \\mathrm { p r o m p t } } ( \\mathsf { o u t p u t } \\mid \\mathsf { i n p u t } ) =$ $p _ { \\theta } ( \\mathrm { { o u t p u t } \\mid p r o m p t ( i n p u t ) } )$ , so that IO prompting can be formulated as $y \\sim p _ { \\theta } ^ { I O } ( y | x )$ : ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
852,
|
| 225 |
+
823,
|
| 226 |
+
912
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "Chain-of-thought $\\mathbf { ( C o T ) }$ prompting [38] was proposed to address cases where the mapping of input $x$ to output $y$ is non-trivial (e.g. when $x$ is a math question and $y$ is the final numerical answer). The key idea is to introduce a chain of thoughts $z _ { 1 } , \\cdots , z _ { n }$ to bridge $x$ and $y$ ,where each $z _ { i }$ is a coherent language sequence that serves as a meaningful intermediate step toward problem solving (e.g. $z _ { i }$ could be an intermediate equation for math QA). To solve problems with CoT, each thought $\\boldsymbol { z } _ { i } \\sim p _ { \\theta } ^ { C o T } ( \\boldsymbol { z } _ { i } \\mid x , \\boldsymbol { z } _ { 1 \\cdots i - 1 } )$ is sampledsequentially,thentheoutput $y \\sim p _ { \\theta } ^ { C o T } ( y | x , z _ { 1 } . . . n )$ In practice, $[ z _ { 1 \\cdots n } , y ] \\sim p _ { \\theta } ^ { C o T } ( z _ { 1 \\cdots n } , y | x )$ is sampled asacontiuouslanguagesequenceadthe decomposition of thoughts (e.g.is each $z _ { i }$ a phrase, a sentence, or a paragraph) is left ambiguous. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
173,
|
| 235 |
+
90,
|
| 236 |
+
825,
|
| 237 |
+
204
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "Self-consistency with CoT (CoT-SC) [36] is an ensemble approach that samples $k$ i.i.d. chains of thought: $[ z _ { 1 \\cdots n } ^ { ( i ) } , y ^ { ( i ) } ] \\sim p _ { \\theta } ^ { C o T } ( z _ { 1 \\cdots n } , y | x )$ $( i = 1 \\cdots k )$ thenretusteostfrequentoutput arg $\\operatorname* { m a x } _ { y }$ # $\\{ i \\mid y ^ { ( i ) } = y \\}$ .CoT-SC improves upon CoT, because there are generally different thought processes for the same problem (e.g. different ways to prove the same theorem), and the output decision can be more faithful by exploring a richer set of thoughts. However, within each chain there is no local exploration of different thought steps,and the “most frequent” heuristic only applies when the output space is limited (e.g. multi-choice QA). ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
173,
|
| 246 |
+
209,
|
| 247 |
+
825,
|
| 248 |
+
313
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "3Tree of Thoughts: Deliberate Problem Solving with LM ",
|
| 255 |
+
"text_level": 1,
|
| 256 |
+
"bbox": [
|
| 257 |
+
176,
|
| 258 |
+
330,
|
| 259 |
+
669,
|
| 260 |
+
349
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "A genuine problem-solving process involves the repeated use of available information to initiate exploration, which discloses,in turn, more information until a way to attain the solution is finally discovered.— Newell et al. [21] ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
230,
|
| 269 |
+
358,
|
| 270 |
+
767,
|
| 271 |
+
400
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "Research on human problem-solving suggests that people search through a combinatorial problemspace -a tree where the nodes represent partial solutions,and the branches correspond to operators that modify them [21,22].Which branch to take is determined by heuristics that help to navigate the problem-space and guide the problem-solver towards a solution. This perspective highlights two key shortcomings of existing approaches that use LMs to solve general problems: 1) Locally, they do not explore different continuations within a thought process-the branches of the tree.2) Globally, they do not incorporate any type of planning,lookahead,or backtracking to help evaluate these different options - the kind of heuristic-guided search that seems characteristic of human problem-solving. ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
405,
|
| 281 |
+
825,
|
| 282 |
+
516
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "To address these shortcomings, we introduce Tree of Thoughts (ToT),a paradigm that allows LMs to explore multiple reasoning paths over thoughts (Figure 1(c)). ToT frames any problem as a search over a tree, where each node is a state $s = [ x , z _ { 1 \\cdots i } ]$ representing a partial solution with the input and the sequence of thoughts so far. A specific instantiation of ToT involves answering four questions: 1. How to decompose the intermediate process into thought steps; 2. How to generate potential thoughts from each state; 3. How to heuristically evaluate states; 4. What search algorithm to use. ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
173,
|
| 291 |
+
522,
|
| 292 |
+
825,
|
| 293 |
+
606
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "1.Thought decomposition. While CoT samples thoughts coherently without explicit decomposition, ToT leverages problem properties to design and decompose intermediate thought steps.As Table 1 shows,depending on diferent problems,a thought could be a couple of words (Crosswords),a line of equation (Game of 24), or a whole paragraph of writing plan (Creative Writing). In general,a thought should be “small\" enough so that LMs can generate promising and diverse samples (e.g. generating a whole book is usually too“big” to be coherent), yet“big” enough so that LMs can evaluate its prospect toward problem solving (e.g. generating one token is usually too “small\" to evaluate). ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
173,
|
| 302 |
+
612,
|
| 303 |
+
825,
|
| 304 |
+
709
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "2.Thought generator $G ( p _ { \\theta } , s , k )$ . Given a tree state $s = [ x , z _ { 1 } . . . i ]$ , we consider two strategies to generate $k$ candidates for the next thought step: ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
173,
|
| 313 |
+
714,
|
| 314 |
+
823,
|
| 315 |
+
744
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "(a) Sample i.i.d.thoughts from a CoT prompt (Creative Writing,Figure 4): $z ^ { ( j ) } \\sim$ $p _ { \\theta } ^ { C o \\hat { T _ { ( z _ { i + 1 } | s } ) } } = p _ { \\theta } ^ { \\check { C } o T } ( z _ { i + 1 } | x , z _ { 1 \\cdots i } ) \\ ( \\dot { j } = \\dot { 1 } \\cdots k )$ . This works better when the thought space is rich (e.g.each thought is a paragraph),and i.i.d.samples lead to diversity; \n(b) Propose thoughts sequentially using a“propose prompt”(Game of 24, Figure 2; Crosswords, Figure 6): $[ z ^ { ( 1 ) } , \\cdot \\cdot \\cdot , z ^ { ( k ) } ] \\sim p _ { \\theta } ^ { p r o p o s e } ( z _ { i + 1 } ^ { ( 1 \\cdots k ) } \\mid s )$ ]\\~propose() . This works better when the thought space is more constrained (e.g.each thought is just a word or a line),so proposing different thoughts in the same context avoids duplication. ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
202,
|
| 324 |
+
747,
|
| 325 |
+
825,
|
| 326 |
+
853
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "3. State evaluator $V ( p _ { \\theta } , S )$ . Given a frontier of different states,the state evaluator evaluates the progress they make towards solving the problem, serving as a heuristic for the search algorithm to determine which states to keep exploring and in which order. While heuristics are a standard approach to solving search problems, they are typically either programmed (e.g. DeepBlue [3]) or learned (e.g. AlphaGo [29]). We propose a third alternative,by using the LM to deliberately reason about states.When applicable,such a deliberate heuristic can be more flexible than programmed rules,and more sample-efficient than learned models. Similar to the thought generator, we consider two strategies to evaluate states either independently or together: ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
176,
|
| 335 |
+
856,
|
| 336 |
+
825,
|
| 337 |
+
911
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 2
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "",
|
| 344 |
+
"bbox": [
|
| 345 |
+
176,
|
| 346 |
+
90,
|
| 347 |
+
825,
|
| 348 |
+
147
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "(a) Value each state independently: $V ( p _ { \\theta } , S ) ( s ) ~ \\sim ~ p _ { \\theta } ^ { v a l u e } ( v | s ) ~ \\forall s ~ \\in ~ S$ where a value prompt reasons about the state $s$ to generate a scalar value $v$ (e.g.1-10) or a classification (e.g.sure/likely/impossible) that could be heuristically turned into a value.The basis of such evaluative reasoning can vary across problems and thought steps. In this work, we explore evaluation via few lookahead simulations (e.g.quickly confirm that 5,5,14 can reach 24 via $5 + 5 + 1 4$ ,or “hot_l\" can mean“inn”via filling“e”in“-\") plus commonsense (e.g.1 2 3 are too smallto reach 24, or no word can start with “tzxc\"). While the former might promote “good” states,the latter could help eliminate “bad” states. Such valuations do not need to be perfect,and only need to be approximately helpful for decision making. (b) Vote across states: $V ( p _ { \\theta } , S ) ( s ) = \\mathbb { 1 } [ s = s ^ { * } ]$ , where a“good” state $s ^ { * } \\sim p _ { \\theta } ^ { v o t e } ( s ^ { * } | S )$ is voted out based on deliberately comparing different states in $S$ in a vote prompt. When problem success is harder to directly value (e.g. passage coherency), it is natural to to instead compare different partial solutions and vote for the most promising one. This is similar in spirit to a“step-wise” self-consistency strategy,i.e.cast “which state to explore” as a multi-choice QA,and use LM samples to vote for it. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
204,
|
| 357 |
+
151,
|
| 358 |
+
825,
|
| 359 |
+
364
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "For both strategies, we could prompt the LM multiple times to aggregate the value or vote results to trade time/resource/cost for more faithful/robust heuristics. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
176,
|
| 368 |
+
367,
|
| 369 |
+
823,
|
| 370 |
+
396
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "table",
|
| 376 |
+
"img_path": "images/fdad8930ca6ac5c90545bae9534abb64e75c32ab0a467d1a46f2f1be0234522f.jpg",
|
| 377 |
+
"table_caption": [],
|
| 378 |
+
"table_footnote": [],
|
| 379 |
+
"table_body": "<table><tr><td>Algorithm1 ToT-BFS(x,pe,G,k,V,T,b)</td><td>Algorithm 2 ToT-DFS(s,t,pe,G,k,V,T,Uth)</td></tr><tr><td>Require: Input x,LM po, thought generator G(Require: Current state s, step t,LM po, thought & size limit k, states evaluator V(),step limit T, generator G() and size limit k, states evaluator</td><td></td></tr><tr><td>breadth limit b. So←{x}</td><td>V(), step limit T, threshold Uth if t > T then record output G(pe, s,1)</td></tr><tr><td>for t=1,..,T do</td><td>end if</td></tr><tr><td>St←{[s,z]|s∈ St-1,zt ∈G(p0,s,k)}</td><td>for s' ∈ G(pe,s,k) do> sorted candidates</td></tr><tr><td>Vt ←V(po,St)</td><td>if V(pe,{s'})(s) > Uthres then > pruning</td></tr><tr><td>St ← arg maxscs',|s|=b∑ses Vt(s)</td><td>DFS(s',t+1)</td></tr><tr><td>end for return G(pe,arg maxs∈Sr Vr(s),1)</td><td>end if</td></tr></table>",
|
| 380 |
+
"bbox": [
|
| 381 |
+
173,
|
| 382 |
+
404,
|
| 383 |
+
823,
|
| 384 |
+
566
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "4. Search algorithm.Finally, within the ToT framework,one can plug and play different search algorithms depending on the tree structure. We explore two relatively simple search algorithms and leave more advanced ones (e.g. $\\mathbf { A } ^ { * }$ [11],MCTS [2]) for future work: ",
|
| 391 |
+
"bbox": [
|
| 392 |
+
174,
|
| 393 |
+
573,
|
| 394 |
+
826,
|
| 395 |
+
614
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 3
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "(a)Breadth-first search (BFS) (Algorithm 1) maintains a set of the $b$ most promising states per step. This is used for Game of 24 and Creative Writing where the tree depth is limit $( T \\leq 3 )$ ,and initial thought steps can be evaluated and pruned to a small set $( b \\leq 5 )$ ) \n(b) Depth-first search (DFS) (Algorithm 2) explores the most promising state first, until the final output is reached $( t > T )$ ,or the state evaluator deems it impossible to solve the problem from the current $s$ $( V ( p _ { \\theta } , \\{ s \\} ) ( s ) \\le v _ { t h }$ for a value threshold $v _ { t h }$ ). In the latter case, the subtree from $s$ is pruned to trade exploration for exploitation. In both cases,DFS backtracks to the parent state of $s$ to continue exploration. ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
204,
|
| 404 |
+
617,
|
| 405 |
+
825,
|
| 406 |
+
733
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "Conceptually,ToT has several benefits as a method for general problem-solving with LMs: (1) Generality. IO,CoT, CoT-SC,and self-refinement can be seen as special cases of ToT(i.e. trees of limited depth and breadth; Figure 1). (2) Modularity. The base LM, as well as the thought decomposition, generation, evaluation, and search procedures can allbe varied independently. (3) Adaptability. Different problem properties,LM capabilities,and resource constraints can be accommodated. (4) Convenience.No extra training is needed, just a pre-trained LM is suficient. The next section will show how these conceptual benefits translate to strong empirical performance in diferent problems. ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
174,
|
| 415 |
+
736,
|
| 416 |
+
826,
|
| 417 |
+
833
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "4Experiments ",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
174,
|
| 427 |
+
852,
|
| 428 |
+
312,
|
| 429 |
+
869
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "We propose three tasks that are hard even when sampling from the state-of-the-art language model. GPT-4 [23], using standard IO prompting or chain-of-thought (CoT) prompting. We show how deliberate search in trees of thoughts (ToT) produces beter results,and more importantly, interesting and promising new ways to use language models to solve problems requiring search or planning. Unless otherwise stated, we perform experiments using a Chat Completion mode GPT $\\dot { 4 } ^ { 1 }$ with a sampling temperature of 0.7. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
883,
|
| 439 |
+
823,
|
| 440 |
+
911
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "table",
|
| 446 |
+
"img_path": "images/55fdc8a6c0e25deb3ab4399affa9ecb03455e27747f445bb654219a79bb7c56d.jpg",
|
| 447 |
+
"table_caption": [],
|
| 448 |
+
"table_footnote": [
|
| 449 |
+
"Table 1: Task overview. Input, output, thought examples are in blue. "
|
| 450 |
+
],
|
| 451 |
+
"table_body": "<table><tr><td></td><td>Game of 24</td><td>Creative Writing</td><td>5x5 Crosswords</td></tr><tr><td>Input</td><td>4 numbers (4 9 10 13)</td><td>4 random sentences</td><td>10 clues (h1. presented;..)</td></tr><tr><td>Output</td><td>An equation to reach 24 (13-9)*(10-4)=24</td><td>A passage of 4 paragraphs ending in the 4 sentences</td><td>5x5 letters: SHOWN; WIRRA; AVAIL;..</td></tr><tr><td>Thoughts</td><td>3 intermediate equations (13-9=4 (left 4,4,10); 10- 4=6 (left 4,6); 4*6=24)</td><td>Ashort writingplan (1.Introduce a book that connects...)</td><td>Words to fill in for clues: (h1. shown; v5. naled; .)</td></tr><tr><td>#ToT steps</td><td>3</td><td>1</td><td>5-10 (variable)</td></tr></table>",
|
| 452 |
+
"bbox": [
|
| 453 |
+
173,
|
| 454 |
+
88,
|
| 455 |
+
825,
|
| 456 |
+
233
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 4
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "",
|
| 463 |
+
"bbox": [
|
| 464 |
+
174,
|
| 465 |
+
258,
|
| 466 |
+
826,
|
| 467 |
+
314
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "4.1 Game of 24 ",
|
| 474 |
+
"text_level": 1,
|
| 475 |
+
"bbox": [
|
| 476 |
+
174,
|
| 477 |
+
330,
|
| 478 |
+
294,
|
| 479 |
+
344
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 4
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "text",
|
| 485 |
+
"text": "Game of 24 is a mathematical reasoning challenge, where the goal is to use 4 numbers and basic arithmetic operations $( + - ^ { * } / )$ to obtain 24. For example, given input $^ { \\bullet } 4 9 1 0 1 3 ^ { \\prime \\prime }$ , a solution output could be $\\ ^ { \\cdot } ( 1 0 - 4 ) \\ ^ { * } \\ ( 1 3 - 9 ) = 2 4 ^ { , 9 }$ : ",
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
356,
|
| 489 |
+
825,
|
| 490 |
+
398
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "image",
|
| 496 |
+
"img_path": "images/1e51ca3d9ec5118d046f44d504919561fcccabdb24a756895c2162f29b531ffb.jpg",
|
| 497 |
+
"image_caption": [
|
| 498 |
+
"Figure 2: ToT in a game of 24. The LM is prompted for (a) thought generation and (b) valuation. "
|
| 499 |
+
],
|
| 500 |
+
"image_footnote": [],
|
| 501 |
+
"bbox": [
|
| 502 |
+
205,
|
| 503 |
+
411,
|
| 504 |
+
790,
|
| 505 |
+
535
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "Task Setup. We scrape data from 4nums.com, which has 1,362 games that are sorted from easy to hard by human solving time,and use a subset of relatively hard games indexed 901-1,0Oo for testing. For each task, we consider the output as success if it is a valid equation that equals 24 and uses the input numbers each exactly once.We report the success rate across 1OO games as the metric. ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
174,
|
| 514 |
+
569,
|
| 515 |
+
825,
|
| 516 |
+
625
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "Baselines.We use a standard input-output (IO) prompt with 5 in-context examples.For chain-ofthought (CoT) prompting, we augment each input-output pair with 3 intermediate equations, each operating on two remaining numbers. For example, given input $^ { \\dots } 4 9 1 0 1 3 ^ { \\prime \\prime }$ ,the thoughts could be $\\cdot 1 3 - 9 = 4$ (left: 4 4 10); $1 0 - 4 = 6$ (left: $4 6$ ) $4 \\ast 6 = 2 4$ (left: 24)\". For each game, we sample IO and CoT prompting for 100 times for average performance. We also consider a CoT self-consistency baseline,which takes the majority output from $1 0 0 \\mathrm { C o T }$ samples,and an iterative-refine approach on top of an IO sample for at most 10 iterations. At each iteration, the LM is conditioned on all previous history to “reflect on your mistakes and generate a refined answer”if the output is incorrect. Note that it uses groundtruth feedback signals about equation correctness. ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
173,
|
| 525 |
+
631,
|
| 526 |
+
825,
|
| 527 |
+
756
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "ToT Setup. To frame Game of 24 into ToT, it is natural to decompose the thoughts into 3 steps, each an intermediate equation. As shown in Figure 2(a), at each tree node, we exact the remaining numbers and prompt the LM to propose some possible next steps. The same “propose prompt” is used for all 3 thought steps,though it only has one example with 4 input numbers. We perform a breadth-first search (BFS) in ToT, where at each step we keep the best $b = 5$ candidates. To perform deliberate BFS in ToT,as shown in Figure 2(b), we prompt LM to evaluate each thought candidate as “sure/maybe/impossible” with regard to reaching 24. The aim is to promote correct partial solutions that can be verdicted within few lookahead trials,and eliminate impossible partial solutions based on “too big/small” commonsense,and keep the rest “maybe\". We sample values 3 times for each thought. ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
173,
|
| 536 |
+
762,
|
| 537 |
+
826,
|
| 538 |
+
887
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "table",
|
| 544 |
+
"img_path": "images/9a2197a2a3fc6e29a108809a2f1a35f388c5a0579c122de6e089084833d09991.jpg",
|
| 545 |
+
"table_caption": [],
|
| 546 |
+
"table_footnote": [
|
| 547 |
+
"Table 2: Game of 24 Results. "
|
| 548 |
+
],
|
| 549 |
+
"table_body": "<table><tr><td>Method</td><td> Success</td></tr><tr><td>IO prompt</td><td>7.3%</td></tr><tr><td>CoT prompt</td><td>4.0%</td></tr><tr><td>CoT-SC (k=100) ToT (ours) (b=1)</td><td>9.0% 45%</td></tr><tr><td>ToT (ours) (b=5)</td><td>74%</td></tr><tr><td>IO + Refine (k=10)</td><td>27%</td></tr><tr><td>IO (best of 100)</td><td>33%</td></tr><tr><td>CoT (best of 100)</td><td>49%</td></tr></table>",
|
| 550 |
+
"bbox": [
|
| 551 |
+
173,
|
| 552 |
+
92,
|
| 553 |
+
382,
|
| 554 |
+
238
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "image",
|
| 560 |
+
"img_path": "images/d9810d9d96bc205c2dc3f1adc0e2933a0adab5854989f8701a562674a3c12cef.jpg",
|
| 561 |
+
"image_caption": [
|
| 562 |
+
"Figure 3: Game of 24 (a) scale analysis & (b) error analysis. "
|
| 563 |
+
],
|
| 564 |
+
"image_footnote": [],
|
| 565 |
+
"bbox": [
|
| 566 |
+
393,
|
| 567 |
+
97,
|
| 568 |
+
789,
|
| 569 |
+
238
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 5
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "Results. As shown in Table 2,IO, CoT,and CoT-SC prompting methods perform badly on the task, achieving only $7 . 3 \\%$ $4 . 0 \\%$ ,and $9 . 0 \\%$ success rates.In contrast,ToT with a breadth of $b = 1$ already achieves a success rate of $4 5 \\%$ ,while $b = 5$ achieves $7 4 \\%$ .We also consider an oracle setup for IO/CoT, by calculating the success rate using best of $k$ samples ( $1 \\leq k \\leq 1 0 0 $ ). To compare IO/CoT (best of $\\mathbf { k }$ ) with ToT,we consider calculating the tree nodes visited per task in ToT across $b = 1 \\cdots 5$ and map the 5 success rates in Figure 3(a), treating IO/CoT (best of $k$ )asvisiting $k$ nodes in a bandit. Not surprisingly, CoT scales better than IO,and best of $1 0 0 \\mathrm { C o T }$ samples achieve a success rate of $4 9 \\%$ ,but still much worse than exploring more nodes in ToT $( b > 1 )$ ). ",
|
| 576 |
+
"bbox": [
|
| 577 |
+
173,
|
| 578 |
+
266,
|
| 579 |
+
826,
|
| 580 |
+
378
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 5
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Error analysis.Figure 3(b) breaks down at which step CoT and ToT samples fail the task, i.e.the thought (in CoT) or all $b$ thoughts (in ToT) are invalid or impossible to reach 24.Notably,around $60 \\%$ of CoT samples already failed the task after generating the first step, or equivalently, the first three words (e.g. $\\mathbf { \\^ 6 4 + 9 ^ { 9 } } ,$ . This highlights the issues with direct left-to-right decoding. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
174,
|
| 589 |
+
383,
|
| 590 |
+
825,
|
| 591 |
+
440
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "4.2 Creative writing ",
|
| 598 |
+
"text_level": 1,
|
| 599 |
+
"bbox": [
|
| 600 |
+
174,
|
| 601 |
+
457,
|
| 602 |
+
326,
|
| 603 |
+
472
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Next, we invent a creative writing task where the input is 4 random sentences and the output should be a coherent passage with 4 paragraphs that end in the 4 input sentences respectively. Such a task is open-ended and exploratory,and challenges creative thinking as well as high-level planning. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
483,
|
| 613 |
+
825,
|
| 614 |
+
525
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Task setup.We sample random sentences from randomwordgenerator.com to form 1OO inputs,and there is no groundtruth passage for each input constraint. As we find that GPT-4 can follow the input constraints most of the time, we focus on evaluating passage coherency in two ways: using a GPT-4 zero-shot prompt to provide a 1-10 scalar score, or using human judgments to compare pairs of outputs from different methods.For the former, we sample 5 scores and average them for each task output,and we find these 5 scores usually consistent, with a standard deviation of around 0.56 on average across outputs.For the latter, we employ a subset of the authors in a blind study to compare the coherency of CoT vs.ToT generated passage pairs, where the order of passges is random flipped over 100 inputs. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
173,
|
| 623 |
+
531,
|
| 624 |
+
825,
|
| 625 |
+
656
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Baselines. Given the creative nature of the task, both IO and CoT prompts are zero-shot.While the former prompts the LM to directly generate a coherent passage given input constraints, the later prompts the LM to first make a brief plan then write the passage,i.e.the plan serves as the intermediate thought step. We generate $1 0 ~ \\mathrm { I O }$ and CoT samples per task.We also consider an iterative-refine $k \\leq 5 ,$ method on top of a random IO sample for each task,where the LM is conditioned on input constraints and the last generated passage to decide if the passage is already “perfectly coherent”, and if not generate a refined one. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
662,
|
| 635 |
+
825,
|
| 636 |
+
760
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "ToT setup. We build a ToT with depth 2 (and only 1 intermediate thought step)—the LM first generates $k = 5$ plans and votes for the best one (Figure 4), then similarly generate $k = 5$ passages based on the best plan then vote for the best one.Here the breadth limit $b = 1$ ,as only one choice is kept per step. A simple zero-shot vote prompt (\"analyze choices below, then conclude which is most promising for the instruction\") is used to sample 5 votes at both steps. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
766,
|
| 646 |
+
825,
|
| 647 |
+
835
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Results.Figure 5(a) shows average GPT-4 scores across 1OO tasks,where ToT(7.56) is deemed to generate more coherent passages than IO (6.19) and CoT (6.93) on average. While such an automatic metric might be noisy,Figure 5(b) confirms the finding by showing that humans prefer ToT over CoT in 41 out of 100 passage pairs, while only prefer CoT over ToT in 21 (other 38 pairs are found \"similarly coherent\"). Lastly,iterative-refine is more effective on this natural language task, where it improves IO coherency score from 6.19 to 7.67,and ToT coherency score from 7.56 to 7.91. We believe itcould be thought of as a third approach to thought generation in the ToT framework, where new thoughts can arise from refining old thoughts instead of i.i.d.or sequentially generated. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
842,
|
| 657 |
+
823,
|
| 658 |
+
911
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "image",
|
| 664 |
+
"img_path": "images/86eb94dd2d0b516038e313736bb8eb03701d9d5e9a43ed7e3cb40ee5c83b22a3.jpg",
|
| 665 |
+
"image_caption": [
|
| 666 |
+
"Figure 4: A step of deliberate search in a randomly picked Creative Writing task. Given the input, the LM samples 5 diferent plans,then votes 5 times to decide which plan is best. The majority choice is used to consequently write the output passage with the same sample-vote procedure. "
|
| 667 |
+
],
|
| 668 |
+
"image_footnote": [],
|
| 669 |
+
"bbox": [
|
| 670 |
+
207,
|
| 671 |
+
93,
|
| 672 |
+
789,
|
| 673 |
+
262
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 6
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "image",
|
| 679 |
+
"img_path": "images/8f84c416cb87838aea30c4e3df231aa2034fc2a22f5efd1f291e764425310c93.jpg",
|
| 680 |
+
"image_caption": [
|
| 681 |
+
"Figure 5: Creative Writing results. "
|
| 682 |
+
],
|
| 683 |
+
"image_footnote": [],
|
| 684 |
+
"bbox": [
|
| 685 |
+
186,
|
| 686 |
+
325,
|
| 687 |
+
560,
|
| 688 |
+
467
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 6
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "table",
|
| 694 |
+
"img_path": "images/52f94457b8ac6236fc8a8ca62e71743461ac4aa19b8680c997068e1747357e4a.jpg",
|
| 695 |
+
"table_caption": [],
|
| 696 |
+
"table_footnote": [
|
| 697 |
+
"Table 3: Mini Crosswords results. "
|
| 698 |
+
],
|
| 699 |
+
"table_body": "<table><tr><td>Method</td><td>Success Rate (%) Letter Word Game</td></tr><tr><td>10 CoT</td><td>38.7 14 0 40.6 15.6 1</td></tr><tr><td>ToT (ours)</td><td>78 60 20</td></tr><tr><td>+best state</td><td>82.4 67.5 35</td></tr><tr><td> -prune</td><td>65.4 41.5 5</td></tr><tr><td>-backtrack</td><td>54.6 20 5</td></tr></table>",
|
| 700 |
+
"bbox": [
|
| 701 |
+
604,
|
| 702 |
+
327,
|
| 703 |
+
826,
|
| 704 |
+
458
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 6
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "",
|
| 711 |
+
"bbox": [
|
| 712 |
+
174,
|
| 713 |
+
489,
|
| 714 |
+
823,
|
| 715 |
+
531
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 6
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "text",
|
| 721 |
+
"text": "4.3Mini crosswords ",
|
| 722 |
+
"text_level": 1,
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
547,
|
| 726 |
+
328,
|
| 727 |
+
563
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 6
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "In Game of 24 and Creative Writing,ToT is relatively shallow —at most 3 thought steps are needed to reach the final output. Here we explore $5 \\times 5$ mini crosswords as a harder search problem involving natural language. Again, the goal is not just to solve the task, as more general crosswords can be readily solved with specialized NLP pipelines [34] that leverages large-scale retrieval instead of LM. Rather, we aim to explore the limit of LMas a general problem solver that explores its own thoughts and guides its own exploration with deliberate reasoning as heuristics. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
173,
|
| 736 |
+
573,
|
| 737 |
+
825,
|
| 738 |
+
656
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 6
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "Task setup.We scrape data from GooBix, which contains 156 games of $5 \\times 5$ mini crosswords. As we observe adjacent games contain similar clues,we use 2O games with indices $1 , 6 , \\cdots , 9 1 , 9 6$ for testing,and games 136,141,146,151,156 for prompting. For each task, the input describes the 5 horizontal clues and 5 vertical clues,and the output should be a board of $5 \\times 5 = 2 5$ letters to solve the crosswords. For evaluation, we consider three levels of success: the portion of correct letters (25 per game), words (10 per game), and games. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
662,
|
| 748 |
+
825,
|
| 749 |
+
746
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 6
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Baselines. We provide 5 example input-output pairs in the IO prompt, and in the CoT prompt additionally include intermediate words in the order h1..5 then v1..5. We run each prompt for 10 samples and average the results. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
174,
|
| 758 |
+
752,
|
| 759 |
+
823,
|
| 760 |
+
794
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 6
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "ToT setup. We leverage a depth-first search (Algorithm 2) that keeps exploring the most promising subsequent word clue until the state is no longer promising, then backtrack to the parent state to explore alternative thoughts.To make search tractable, subsequent thoughts are constrained not to change any filled words or letters,so that the ToT has at most 1O intermediate steps.For thought generation, at each state we translate all existing thoughts (e.g.“h2.motor; h1.tasks” for the state in Figure 6(a)) into letter constraints for remaining clues (e.g.\"v1.To heap: tm__-;.\") and prompt a proposal prompt 5 times to come up with candidates for where and what to fill in the next word. Importantly, we also prompt the LM to give a confidence level for different thoughts,and aggregate these across proposals to obtain a sorted list of next thoughts to explore (Figure 6(a). For state evaluations, we similarly translate each state into leter constraints for remaining clues,then evaluate for each clue if it is possible to fillgiven the constraints. If any remaining clue is demed “impossible” to fill in (e.g.“v1. To heap: tm_s-\"), then the exploration of the state's subtree is pruned and DFS backtracks to its parent to explore the next promising thought. We limit DFS search steps to 100,and simply render the deepest explored state (the first explored one if multiple) into the final output. ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
173,
|
| 769 |
+
800,
|
| 770 |
+
825,
|
| 771 |
+
911
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 6
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "image",
|
| 777 |
+
"img_path": "images/b92ef17d9ff862acec28f259769b8b0a71bcd39ac3994319e0b060e8f88b3c7c.jpg",
|
| 778 |
+
"image_caption": [
|
| 779 |
+
"Figure 6: In Mini Crosswords,(a) how thoughts are proposed and aggregated in a priority queue for depth-first search (DFS),and (b) how a state is evaluated based on the possibility of filling in each remaining word clue,and pruned if any remaining clue is deemed not possible to fill by the LM. Then DFS backtracks to the parent state and explore the next promising thought for clue. "
|
| 780 |
+
],
|
| 781 |
+
"image_footnote": [],
|
| 782 |
+
"bbox": [
|
| 783 |
+
245,
|
| 784 |
+
98,
|
| 785 |
+
753,
|
| 786 |
+
256
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 7
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "",
|
| 793 |
+
"bbox": [
|
| 794 |
+
174,
|
| 795 |
+
334,
|
| 796 |
+
825,
|
| 797 |
+
417
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 7
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Results. As shown in Table 3, IO and CoT prompting methods perform poorly with a word-level success rate less than $1 6 \\%$ ,while ToT significantly improves all metrics,achieving a word-level success rate of $6 0 \\%$ and solving 4 out of 20 games. Such an improvement is not surprising, given IO and CoT lack mechanisms to try different clues,make changes to decisions,or backtrack. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
174,
|
| 806 |
+
424,
|
| 807 |
+
825,
|
| 808 |
+
479
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 7
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Oracle and ablation studies. When outputing from the oracle best DFS state (instead of the heuristically determined best state) per task, ToT performance is even higher and actually solves 7/20 games (Table 3,‘ $^ { + }$ best state\"), indicating our simple output heuristics can be readily improved. Interestingly, sometimes when the crosswords game is actually solved, the state evaluator might still deem some words as “impossible\" and prune - possibly because $5 \\times 5$ crosswords by design have some rare or obselete words that GPT-4 cannot recognize2. Given the state evaluation as a pruning heuristic is imperfect, we also explore ablating the pruning, and find the performance generally worse (Table 3,“-prune\"). However, it could actually find the correct solution for 4/20 games (though only outputing 1 via heuristic),3 of which are games ToT+pruning cannot solve within 100 steps. Thus, beter heuristics for DFS pruning are critical for problem solving in this case.Lastly, we confirm the importance of backtracking by running an ablation that keeps filing the most promising clue for at most 20 steps,allowing overwrites. This is similar to a“greedy”BFS search with breadth limit of $b = 1$ ,and performs poorly with a word level success of only $2 \\dot { 0 } \\%$ (Table 3,“-backtrack\"). ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
173,
|
| 817 |
+
486,
|
| 818 |
+
825,
|
| 819 |
+
665
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 7
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "5Related Work ",
|
| 826 |
+
"text_level": 1,
|
| 827 |
+
"bbox": [
|
| 828 |
+
174,
|
| 829 |
+
686,
|
| 830 |
+
321,
|
| 831 |
+
704
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 7
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "Planning and decision making. Smart planning and decision making are critical to achieving predefined goals. As they are trained on vast amount of world knowledge and human examples,LMs are known to have already absorbed rich commonsense that makes it possible to propose reasonable plans conditioned on problem seting and environmental states [12,42,37,13,35,41,40]. Our proposed ToT approach extends existing planning formulations by considering multiple potentially feasible plans simultaneously at each problem-solving step, and proceeding with the most promising ones. The integration between thought sampling and value feedback organically integrates planning and decision-making mechanisms,enabling effective search inside a solution tree. On the other hand, traditional decision-making procedures usually require training dedicated reward and policy models as in reinforcement learning (for example CHAI [33]), whereas we use the LM itself to provide the value estimates for decision making. RAP [9] is a concurrent work that treats language model reasoning as planning with its internal world model, and proposes a MCTS-based method similar to ToT.However,its tasks are simpler than ours,and its framework lacks the modularity to incorporate different tree search algorithms. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
174,
|
| 840 |
+
719,
|
| 841 |
+
825,
|
| 842 |
+
872
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 7
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "",
|
| 849 |
+
"bbox": [
|
| 850 |
+
174,
|
| 851 |
+
90,
|
| 852 |
+
823,
|
| 853 |
+
132
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 8
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Self-reflection. Using LLMs to assess the viability of their own predictions is becoming an increasingly important procedure in problem solving. [28,20,24] introduced the“self-reflection” mechanism, in which LMs provide feedback to their generation candidates. [4] improves LMs code generation accuracy by injecting feedback messages generated by the LM itself based on its code execution results. Similarly,[17] also introduces “critic”or review steps over the actions and states, deciding the next action to take in solving computer operation tasks. Another recent work very relevant to ours is “self-eval guided decoding” [39]. Similar to our method, self-eval decoding also follows a tree-search procedure with leaves sampled from stochastic beam search decoding, which are then evaluated by LLM itself with carefully prepared self-eval prompts. Their approach however, uses the PAL formulation [8] which represents thoughts as codes,which makes it difficult to tackle chalenging tasks like creative writing which we consider in this paper. Our Tree-of-Thought formulation is thus more versatile and handles challenging tasks on which GPT-4 only achieves very low accuracy with standard prompts. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
174,
|
| 862 |
+
140,
|
| 863 |
+
826,
|
| 864 |
+
319
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 8
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "Program-guided LLM generation. Our proposal is also related to recent advancements that organize LM's behavior with systematic procedures [14,44,6,43] or symbolic program guidance.For example, Schlag et al.[27] embeds LMs in an algorithmic search procedure to help solve problems like question answering step-by-step, in which the search trees are expanded by relevant paragraphs that might provide answers. This approach however differs from ours in that trees are expanded by sampling external paragraphs instead of the LM's own thoughts,and there is no reflection or voting steps. Another approach, $\\mathrm { L L M + P }$ [18], goes one step further and delegates the actual planning process to a classical planner. ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
174,
|
| 873 |
+
325,
|
| 874 |
+
825,
|
| 875 |
+
436
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 8
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "Classical search methods. Last but not least, our approach can be treated as a modern rendition of classical search methods for problem solving. For example it can be considered as a heuristic search algorithm like $\\mathbf { A } ^ { * }$ [10], in which the heuristic at each search node is provided by the LM's selfassessment. From this perspective, our method is also related to NeuroLogic $\\mathbf { A } ^ { * }$ esque decoding [19], which is inspired by $\\mathbf { A } ^ { * }$ search but introduces look-ahead heuristics that are efficient for LMs to improve the beam-search or top-k sampling decoding. This method however is constrained to sentence generation tasks,whereas our framework are designed for complex, multi-step problem solving guarded by value feedback. ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
443,
|
| 885 |
+
825,
|
| 886 |
+
554
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "6Discussion ",
|
| 893 |
+
"text_level": 1,
|
| 894 |
+
"bbox": [
|
| 895 |
+
174,
|
| 896 |
+
587,
|
| 897 |
+
292,
|
| 898 |
+
604
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 8
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "Limitations and future directions. Deliberate search such as ToT might not be necessary for many existing tasks that GPT-4 already excels at (see Appendix B.1),and as an initial step this work only explores three relatively simple tasks that challenges GPT-4 (see Appendix B.2 for some GPT-3.5 experiment results) and calls of beter search and planning abilities incorporated with LMs. However, as we begin to deploy LMs for more real-world decision making applications (e.g.coding, data analysis, robotics, etc.), more complex tasks could emerge and present new opportunities to study these research questions. Also, search methods like ToT requires more resources (e.g. GPT-4 API cost) than sampling methods in order to improve task performances, but the modular flexibility of ToT allows users to customize such performance-cost tradeoffs,and ongoing open-source efforts [32] should readily reduce such costs in the near future. More details about cost and effciency are in Appendix B.3. Lastly, this work focuses on using an off-the-shelf LM, and fine-tuning LMs using a ToT-style high-level counterfactual decision making (e.g.deliberating over potential choices for the next paragraph, instead of predicting the next token) might present opportunities to enhance the problem-solving capabilities of LMs. ",
|
| 905 |
+
"bbox": [
|
| 906 |
+
174,
|
| 907 |
+
628,
|
| 908 |
+
825,
|
| 909 |
+
821
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 8
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "Conclusion. The associative “System 1” of LMs can be beneficially augmented by a“System $2 ^ { \\circ }$ based on searching a tree of possible paths to the solution to a problem. The Tree of Thoughts framework provides a way to translate classical insights about problem-solving into actionable methods for contemporary LMs. At the same time,LMs address a weakness of these classical methods, providing a way to solve complex problems that are not easily formalized, such as creative writing. We see this intersection of LMs with classical approaches to AI as an exciting direction. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
174,
|
| 918 |
+
828,
|
| 919 |
+
825,
|
| 920 |
+
911
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 8
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Broader Impact ",
|
| 927 |
+
"text_level": 1,
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
92,
|
| 931 |
+
287,
|
| 932 |
+
106
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 9
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "ToT is a framework that empowers LMs to more autonomously and intelligently make decisions and solve problems. While current tasks are limited to reasoning and search problems, future applications involving interaction with external environments or humans could bring potential danger, e.g.facilitating harmful uses of LMs. On the other hand, ToT also improves the interpretability of model decisions and the opportunity for human alignment, as the resulting representations are readable, high-level language reasoning instead of implicit, low-level token values. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
174,
|
| 941 |
+
117,
|
| 942 |
+
825,
|
| 943 |
+
199
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 9
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Acknowledgements ",
|
| 950 |
+
"text_level": 1,
|
| 951 |
+
"bbox": [
|
| 952 |
+
174,
|
| 953 |
+
215,
|
| 954 |
+
310,
|
| 955 |
+
231
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 9
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "SY and KN acknowledge support from an Oracle Collaborative Research award and the National Science Foundation under Grant No. 2239363. Any opinions,findings,conclusions,or recommendations expressed in this material are those of the author(s)and do not necessarily reflect the views of the National Science Foundation. SY is also supported by the Harold W.Dodds Fellowship from Princeton. ",
|
| 962 |
+
"bbox": [
|
| 963 |
+
174,
|
| 964 |
+
241,
|
| 965 |
+
826,
|
| 966 |
+
310
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 9
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "References ",
|
| 973 |
+
"text_level": 1,
|
| 974 |
+
"bbox": [
|
| 975 |
+
174,
|
| 976 |
+
330,
|
| 977 |
+
266,
|
| 978 |
+
347
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 9
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "[1] T. Brown, B. Mann,N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877-1901, 2020. \n[2] C. Browne,E.J. Powley, D. Whitehouse, S. M. M. Lucas, P. I. Cowling, P. Rohlfshagen, S.Tavener,D.P.Liebana, S. Samothrakis,and S. Colton.A survey of monte carlo tree search methods. IEEE Transactions on Computational Intelligence and AI in Games, 4:1-43,2012. \n[3] M. Campbell, A. J. Hoane Jr, and F.-h. Hsu. Deep blue. Artificial intelligence,134(1-2):57-83, 2002. \n[4] X. Chen, M. Lin, N. Schärli, and D. Zhou. Teaching large language models to self-debug, 2023. \n[5] A.Chowdhery, S. Narang,J. Devlin, M. Bosma, G. Mishra,A. Roberts,P. Barham, H.W. Chung, C. Sutton, S. Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311,2022. \n[6] A. Creswelland M. Shanahan. Faithful reasoning using large language models. arXiv preprint arXiv:2208.14271,2022. \n[7] N. D. Daw, Y. Niv, and P. Dayan. Uncertainty-based competition between prefrontal and dorsolateral striatal systems for behavioral control. Nature neuroscience, 8(12):17O4-1711, 2005. \n[8] L. Gao, A. Madaan, S. Zhou, U. Alon, P. Liu, Y. Yang, J. Callan,and G. Neubig. Pal: Programaided language models, 2023. \n[9]S. Hao, Y. Gu, H. Ma, J. J. Hong,Z. Wang, D. Z. Wang,and Z. Hu. Reasoning with language model is planning with world model. arXiv preprint arXiv:2305.14992, 2023. \n[10] P.E.Hart,N.J. Nilsson,and B. Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions on Systems Science and Cybernetics,4(2):100-107, 1968. doi: 10.1109/TSSC.1968.300136. \n[11] P.E.Hart,N.J. Nilsson,and B.Raphael. A formal basis for the heuristic determination of minimum cost paths. IEEE transactions on Systems Science and Cybernetics,4(2):100-107, 1968. \n[12] W. Huang, P. Abbeel, D. Pathak,and I. Mordatch. Language models as zero-shot planners: Extracting actionable knowledge for embodied agents, 2022. \n[13] W. Huang,F. Xia, T. Xiao, H. Chan, J. Liang, P.Florence, A. Zeng, J. Tompson, I. Mordatch, Y. Chebotar, et al. Inner monologue: Embodied reasoning through planning with language models. arXiv preprint arXiv:2207.05608,2022. \n[14] J. Jung, L. Qin, S. Weleck, F. Brahman, C. Bhagavatula, R. L. Bras,and Y. Choi. Maieutic prompting: Logically consistent reasoning with recursive explanations. arXiv preprint arXiv:2205.11822,2022. \n[15] D. Kahneman. Thinking, fast and slow. Macmillan, 2011. \n[16] D. Kahneman, S. Frederick, et al. Representativeness revisited: Attribute substitution in intuitive judgment. Heuristics and biases: The psychology of intuitive judgment, 49(49-81):74, 2002. \n[17] G. Kim, P. Baldi, and S. McAleer. Language models can solve computer tasks, 2023. \n[18] B. Liu, Y. Jiang, X. Zhang, Q. Liu, S. Zhang, J. Biswas,and P. Stone. Llm $+ \\mathsf { p }$ : Empowering large language models with optimal planning proficiency, 2023. \n[19] X. Lu, S. Welleck, P. West, L. Jiang, J. Kasai, D. Khashabi,R. L. Bras,L. Qin, Y. Yu, R. Zellers, N. A. Smith,and Y. Choi. Neurologic a\\*esque decoding: Constrained text generation with lookahead heuristics. In North American Chapter of the Association for Computational Linguistics, 2021. \n[20] A. Madaan, N. Tandon, P. Gupta, S. Hallinan,L. Gao, S. Wiegreffe,U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, S. Welleck,B.P. Majumder, S. Gupta, A. Yazdanbakhsh, and P. Clark. Self-refine: Iterative refinement with self-feedback, 2023. \n[21] A. Newell, J. C. Shaw, and H. A. Simon. Report on a general problem solving program. In IFIP congress, volume 256, page 64. Pittsburgh, PA,1959. \n[22] A. Newell, H. A. Simon, et al. Human problem solving. Prentice-Hall,1972. \n[23] OpenAI. Gpt-4 technical report. ArXiv,abs/2303.08774, 2023. \n[24] D. Paul,M. Ismayilzada, M. Peyrard, B.Borges, A. Bosselut, R. West, and B.Faltings. Refiner: Reasoning feedback on intermediate representations,2023. \n[25] A. Radford, K. Narasimhan,T. Salimans,I Sutskever, et al. Improving language understanding by generative pre-training. OpenAI blog, 2018. \n[26] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, I. Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9,2019. \n[27] I. Schlag, S. Sukhbaatar, A. Celikyilmaz, W. tau Yih,J. Weston, J. Schmidhuber, and X. Li. Large language model programs, 2023. \n[28] N. Shinn, B. Labash,and A. Gopinath. Reflexion: an autonomous agent with dynamic memory and self-reflection, 2023. \n[29] D. Silver, J. Schritwieser, K. Simonyan, I. Antonoglou, A. Huang, A. Guez, T. Hubert,L. Baker, M.Lai, A. Bolton, et al. Mastering the game of go without human knowledge. nature, 550 (7676):354-359, 2017. \n[30] S. A. Sloman. The empirical case for two systems of reasoning. Psychological bulletin,119(1): 3,1996. \n[31] K.E. Stanovich. Who is rational? Studies ofindividual diferences in reasoning. Psychology Press, 1999. \n[32] H. Touvron,T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T.Lacroix,B.Roziere, N. Goyal, E. Hambro,F. Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971,2023. \n[33] S. Verma, J.Fu, S. Yang, and S. Levine. Chai: A chatbot ai for task-oriented dialogue with offline reinforcement learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4471-4491, 2022. \n[34] E. Wallace, N. Tomlin, A. Xu, K. Yang,E. Pathak, M. Ginsberg,and D. Klein. Automated crossword solving. arXiv preprint arXiv:2205.09665,2022. \n[35] L. Wang, W. Xu, Y. Lan, Z. Hu, Y. Lan, R. K.-W. Lee, and E.-P. Lim. Plan-and-solve prompting: Improving zero-shot chain-of-thought reasoning by large language models, 2023. \n[36] X. Wang, J. Wei, D. Schuurmans, Q.Le,E. Chi, and D. Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171, 2022. \n[37] Z. Wang, S. Cai, A. Liu, X. Ma,and Y. Liang. Describe, explain, plan and select: Interactive planning with large language models enables open-world multi-task agents, 2023. \n[38] J. Wei, X. Wang, D. Schuurmans,M. Bosma, E. Chi, Q.Le,and D. Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022. \n[39] Y. Xie, K. Kawaguchi, Y. Zhao, X. Zhao, M.-Y. Kan, J. He,and Q. Xie. Decomposition enhances reasoning via self-evaluation guided decoding, 2023. \n[40] S.Yang, O. Nachum, Y.Du,J. Wei, P. Abbeel,and D. Schuurmans. Foundation models for decision making: Problems, methods,and opportunities, 2023. \n[41] S. Yao, J. Zhao,D. Yu,N. Du, I. Shafran, K. Narasimhan,and Y. Cao.ReAct: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629,2022. \n[42] S. Zhang, Z. Chen, Y. Shen, M. Ding, J. B. Tenenbaum, and C. Gan. Planning with large language models for code generation. In The Eleventh International Conference on Learning Representations,2023. URL https://openreview.net/forum?id=Lr8c00tYbfL. \n[43] D. Zhou, N. Scharli,L. Hou, J. Wei, N. Scales, X. Wang,D. Schuurmans, C. Cui, O. Bousquet, Q.Le, et al. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625,2022. \n[44] X. Zhu, J. Wang, L. Zhang, Y. Zhang, R. Gan, J. Zhang,and Y. Yang. Solving math word problem via cooperative reasoning induced language models. arXiv preprint arXiv:2210.16257, 2022. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
178,
|
| 987 |
+
342,
|
| 988 |
+
828,
|
| 989 |
+
917
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 9
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "",
|
| 996 |
+
"bbox": [
|
| 997 |
+
171,
|
| 998 |
+
69,
|
| 999 |
+
828,
|
| 1000 |
+
920
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 10
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
171,
|
| 1009 |
+
89,
|
| 1010 |
+
828,
|
| 1011 |
+
539
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 11
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "A Code, Prompts, Trajectories ",
|
| 1018 |
+
"text_level": 1,
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
176,
|
| 1021 |
+
89,
|
| 1022 |
+
444,
|
| 1023 |
+
107
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 12
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "All code is available at https://github.com/princeton-nlp/tree-of-thought-llm. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
169,
|
| 1032 |
+
121,
|
| 1033 |
+
779,
|
| 1034 |
+
136
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 12
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "All prompts are available at https://github.com/princeton-nlp/tree-of-thought-llm/ tree/master/src/tot/prompts. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
173,
|
| 1043 |
+
142,
|
| 1044 |
+
825,
|
| 1045 |
+
170
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 12
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Trajectories are available at https://github.com/princeton-nlp/tree-of-thought-llm/ tree/master/logs. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
173,
|
| 1054 |
+
176,
|
| 1055 |
+
825,
|
| 1056 |
+
205
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 12
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "BAdditional Experiment Results ",
|
| 1063 |
+
"text_level": 1,
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
176,
|
| 1066 |
+
224,
|
| 1067 |
+
467,
|
| 1068 |
+
242
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 12
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Given the motivation of exploring and extending the capability frontier of language models, our experiments in the main paper have focused on a setup with the state-of-the-art language model (GPT-4),and three hard tasks invented to chalenge it. Here, we report additional experiments with weaker LLM or easier tasks,and discusscost and efficiency. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
257,
|
| 1078 |
+
825,
|
| 1079 |
+
313
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 12
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "table",
|
| 1085 |
+
"img_path": "images/3b9b6a44bcee8f0eec7eacc0dc8f33d6c324abf54a5f9c39dd22c3f41b6de0f6.jpg",
|
| 1086 |
+
"table_caption": [],
|
| 1087 |
+
"table_footnote": [],
|
| 1088 |
+
"table_body": "<table><tr><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td>10 6.19</td><td>4.47</td></tr><tr><td>CoT 6.93</td><td>5.16</td></tr><tr><td>ToT 7.56</td><td>6.62</td></tr></table>",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
619,
|
| 1091 |
+
327,
|
| 1092 |
+
813,
|
| 1093 |
+
398
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 12
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "table",
|
| 1099 |
+
"img_path": "images/e5cdeae670843c27b61676798b5f831fbdde006e58ffd8f9d8a9416aaa90f400.jpg",
|
| 1100 |
+
"table_caption": [
|
| 1101 |
+
"Table 5: Game of 24 with GPT-4 vs GPT-3.5. "
|
| 1102 |
+
],
|
| 1103 |
+
"table_footnote": [
|
| 1104 |
+
"Table 4:New tasks with zero-shot ToT and GPT-4. "
|
| 1105 |
+
],
|
| 1106 |
+
"table_body": "<table><tr><td>GSM8K</td><td>StrategyQA</td></tr><tr><td>10 51</td><td>73</td></tr><tr><td>CoT 86</td><td>82</td></tr><tr><td>ToT 90</td><td>83</td></tr></table>",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
178,
|
| 1109 |
+
327,
|
| 1110 |
+
410,
|
| 1111 |
+
398
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 12
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "table",
|
| 1117 |
+
"img_path": "images/0a759ec6f5966a49d4fdbe324b0b197c4bf7f10bec789d2de1cd81974afc549f.jpg",
|
| 1118 |
+
"table_caption": [],
|
| 1119 |
+
"table_footnote": [
|
| 1120 |
+
"Table 6: Creative Writing with GPT-4 vs. GPT-3.5. "
|
| 1121 |
+
],
|
| 1122 |
+
"table_body": "<table><tr><td></td><td>GPT-4</td><td>GPT-3.5</td></tr><tr><td>I0</td><td>7.3%</td><td>6%</td></tr><tr><td>CoT</td><td>4.0%</td><td>3%</td></tr><tr><td>ToT</td><td>74%</td><td>19%</td></tr></table>",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
413,
|
| 1125 |
+
327,
|
| 1126 |
+
607,
|
| 1127 |
+
398
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 12
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "B.1Extension to new tasks (GSM8k, StrategyQA) with zero-shot ToT ",
|
| 1134 |
+
"text_level": 1,
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
176,
|
| 1137 |
+
457,
|
| 1138 |
+
669,
|
| 1139 |
+
473
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 12
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "While more common NLP tasks might be too easy for GPT-4 and do not require ToT(which is why we considered harder new tasks), we believe applying ToT to new tasks could be straightforward. For example, we implemented a simple and generic zero-shot ToT-BFS similar to creative writing (sample 5 problem solving strategies then vote for the best one; then sample 5 solutions based on the best strategy then vote for the best one) for GSM8K and StrategyQA with few extra lines of code: ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
173,
|
| 1148 |
+
483,
|
| 1149 |
+
825,
|
| 1150 |
+
553
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 12
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "# define the answer format of new tasks gsm8k_format $=$ (\"the answer is n\" where n is a number' strategyqa_format $=$ ‘either \"the answer is yes\" or \"the answer is no\"’ # define zero-shot io prompting standard_prompt $=$ ‘Answer the following question with {format}: {input}' # define thought format for zero-shot cot and zero-shot tot cot_prompt $\\begin{array} { r l } { = } & { { } \\hat { \\pmb { \\mathscr { \\imath } } } \\pmb { \\mathscr { \\imath } } \\pmb { \\mathscr { \\imath } } \\pmb { \\mathscr { \\imath } } } \\end{array}$ Answer the following question: {input} ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
174,
|
| 1159 |
+
568,
|
| 1160 |
+
779,
|
| 1161 |
+
608
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 12
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
173,
|
| 1170 |
+
622,
|
| 1171 |
+
790,
|
| 1172 |
+
650
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 12
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
174,
|
| 1181 |
+
664,
|
| 1182 |
+
681,
|
| 1183 |
+
690
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 12
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Make a strategy then write. Your output should be of the following format: ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
169,
|
| 1192 |
+
705,
|
| 1193 |
+
807,
|
| 1194 |
+
718
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 12
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Strategy: ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
173,
|
| 1203 |
+
733,
|
| 1204 |
+
251,
|
| 1205 |
+
746
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 12
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Your strategy about how to answer the question. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
174,
|
| 1214 |
+
747,
|
| 1215 |
+
575,
|
| 1216 |
+
760
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 12
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Answer: ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
173,
|
| 1225 |
+
775,
|
| 1226 |
+
233,
|
| 1227 |
+
786
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 12
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Your answer to the question.It should end with {format}. ,,, ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
174,
|
| 1236 |
+
787,
|
| 1237 |
+
660,
|
| 1238 |
+
810
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 12
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "# define zero-shot voting used for zero-shot tot \nvote_prompt $\\begin{array} { r l } { \\mathbf { \\Sigma } } & { { } = \\mathbf { \\Sigma } ^ { \\textit { \\textbf { c } } \\texttt { \\textsf { c } } \\mathcal { \\epsilon } \\textbf { \\Lambda } } } \\end{array}$ Given an instruction and several choices, decide which choice is most promising. \nAnalyze each choice in detail,then conclude in the last line \"The best choice is {s}\",where s the integer id of the choice. ,, ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
173,
|
| 1247 |
+
829,
|
| 1248 |
+
710,
|
| 1249 |
+
909
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 12
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "We evaluated on a subset of 100 random GSM8K test and StrategyQA dev questions. As shown in Table 4 and as expected,ToT improves over CoTon both tasks (but only slightly, given GPT-4 $+ \\mathrm { C o T }$ is already very good on such tasks, and StrategyQA's botleneck is external knowledge, not reasoning). Considering computational costs, it is more suitable to try smaller LLMs $^ +$ ToT for traditional NLP tasks,or GPT $\\cdot 4 + \\mathrm { T o T }$ for hard tasks that challenge GPT $. 4 + \\mathrm { C o T ' }$ reasoning. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
173,
|
| 1258 |
+
90,
|
| 1259 |
+
825,
|
| 1260 |
+
161
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 13
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "B.2Extension to new LMs (GPT-3.5) ",
|
| 1267 |
+
"text_level": 1,
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
176,
|
| 1270 |
+
176,
|
| 1271 |
+
442,
|
| 1272 |
+
190
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 13
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "To understand how ToT works with other LLMs, we also ran GPT-3.5-turbo for Creative Writing (Table 6) and Game of 24 (Table 5). On both tasks, $\\mathbf { \\partial } ^ { \\cdot } \\mathbf { \\Phi } ^ { \\cdot } \\mathbf { T o T } > \\mathbf { C o T } > \\mathbf { I O } ^ { \\prime }$ remains true for GPT-3.5. On Creative Writing,we find GPT $3 . 5 \\mathrm { + T o T }$ outperform GPT $_ { 4 + 1 0 }$ ,and similar to GPT- $4 { + } \\mathrm { C o T }$ ,which suggests ToT could also work well on weaker language models. ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
173,
|
| 1281 |
+
202,
|
| 1282 |
+
825,
|
| 1283 |
+
257
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 13
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "On Game of 24 (we changed 1-shot proposal prompt to 3-shot to make it work), GPT- $. 3 . 5 +$ ToT's $19 \\%$ is far worse than GPT- $^ { 4 + }$ ToT's $74 \\%$ . To further understand the importance of generation vs. evaluation, we ran GPT-4 generation $+ \\mathrm { G P T } { - 3 . 5 }$ evaluation $( 6 4 \\% )$ and GPT-3.5 generation $^ +$ GPT-4 evaluation $( 3 1 \\% )$ . This suggests the game's bottleneck is thought generation,and different generation/evaluation language models might attain decent results while reducing costs. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
263,
|
| 1293 |
+
825,
|
| 1294 |
+
333
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 13
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "B.3Cost and effciency ",
|
| 1301 |
+
"text_level": 1,
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
174,
|
| 1304 |
+
348,
|
| 1305 |
+
346,
|
| 1306 |
+
364
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 13
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Running ToT requires significantly more computations than IO or CoT prompting. For example, in Game of 24 (Table 7 below), solving a problem with ToT requires $5 . 5 \\mathrm { k }$ completion tokens, close to $1 0 0 \\mathrm { C o T }$ trials ( $\\mathrm { 6 . 7 k }$ tokens). But the performance of ToT is better than best of 1OO independent CoT trials. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
176,
|
| 1315 |
+
373,
|
| 1316 |
+
825,
|
| 1317 |
+
429
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 13
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "table",
|
| 1323 |
+
"img_path": "images/4c52db47c33a87a31615eecf437ecdd9c6aad15cb0592c12e84802daef7a2891.jpg",
|
| 1324 |
+
"table_caption": [],
|
| 1325 |
+
"table_footnote": [
|
| 1326 |
+
"Table 7: Cost analysis on Game of 24. "
|
| 1327 |
+
],
|
| 1328 |
+
"table_body": "<table><tr><td>Game of 24</td><td>Generate/Prompt tokens</td><td>Cost per case</td><td> Success</td></tr><tr><td>IO (best of 100)</td><td>1.8k /1.0k</td><td>$0.13</td><td>33%</td></tr><tr><td>CoT (best of 100)</td><td>6.7k /2.2k</td><td>$0.47</td><td>49%</td></tr><tr><td>ToT</td><td>5.5k / 1.4k</td><td>$0.74</td><td>74%</td></tr></table>",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
240,
|
| 1331 |
+
439,
|
| 1332 |
+
756,
|
| 1333 |
+
508
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 13
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "On Creative Writing (Table 8 below), we found ToT takes around ${ 5 } \\mathrm { x }$ completion tokens and money cost, which is intuitive as $b = 5$ and most tokens are generated passages. ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
173,
|
| 1342 |
+
546,
|
| 1343 |
+
821,
|
| 1344 |
+
575
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 13
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "table",
|
| 1350 |
+
"img_path": "images/fa32962fbdab35b505509e0ee2f43b9fd6b6421f4a7a0a1616bc2fcc777b019a.jpg",
|
| 1351 |
+
"table_caption": [],
|
| 1352 |
+
"table_footnote": [
|
| 1353 |
+
"Table 8: Cost analysis on Game of 24. "
|
| 1354 |
+
],
|
| 1355 |
+
"table_body": "<table><tr><td>Creative Writing</td><td>Generate/Prompt tokens</td><td>Cost per case</td></tr><tr><td>I0</td><td>0.9k /0.4k</td><td>$0.06</td></tr><tr><td>CoT</td><td>0.9k/0.4k</td><td>$0.07</td></tr><tr><td>ToT</td><td>4k /2.9k</td><td>$0.32</td></tr></table>",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
276,
|
| 1358 |
+
585,
|
| 1359 |
+
720,
|
| 1360 |
+
656
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 13
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "So completing Game of 24 and Creative Writing's main ToT experiments cost around $0 . 7 4 \\times 1 0 0 +$ $0 . 3 2 \\times 1 0 0 = 1 0 6$ dollars.Crosswords’DFS experiments should be also within 1OO dollars.In general, cost and efficiency of ToT highly depend on the prompts and search algorithms used,and could require 5-1OO times more generated tokens than CoT. Some actionable insights: ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
176,
|
| 1369 |
+
690,
|
| 1370 |
+
826,
|
| 1371 |
+
747
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 13
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "· We recommend using ToT on tasks requiring deliberate reasoning, on which CoT struggles. · Flexibility of ToT allows some performance-cost tradeoff, e.g., change beam size or vote number in BFS,few-shot vs. zero-shot prompting,GPT-3.5 vs. GPT-4,etc. One could configure the setup based on some resource constraints or performance goal. · There is much space for improving effciency, e.g., BFS could early stop when solution is found,or trim down beam size to when some thoughts are \"impossible\". · We believe that more computation is indeed required in order for the model to achieve stronger intelligence,and this should not become a blocking issue as in the long run, (opensource) LMs will become much cheaper and more efficient. It is also a great direction how to better train/finetune LMs for thought generation and/or evaluation. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
215,
|
| 1380 |
+
756,
|
| 1381 |
+
826,
|
| 1382 |
+
909
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 13
|
| 1385 |
+
}
|
| 1386 |
+
]
|
parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5Xc1ecxO1h/5Xc1ecxO1h_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5btWTw1vcw1/5btWTw1vcw1.md
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Trajectory balance: Improved credit assignment in GFlowNets
|
| 2 |
+
|
| 3 |
+
Nikolay Malkin Mila, Université de Montréal Montréal, Québec, Canada
|
| 4 |
+
|
| 5 |
+
Moksh Jain Mila, Université de Montréal Montréal, Québec, Canada
|
| 6 |
+
|
| 7 |
+
Emmanuel Bengio Mila, McGill University, Recursion Montréal, Québec, Canada
|
| 8 |
+
|
| 9 |
+
Chen Sun Mila, Université de Montréal Montréal, Québec, Canada
|
| 10 |
+
|
| 11 |
+
Yoshua Bengio Mila, Université de Montréal Montréal, Québec, Canada {nikolay.malkin,moksh.jain,chen.sun,yoshua.bengio}@mila.quebec emmanuel.bengio@recursionpharma.com
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Generative flow networks (GFlowNets) are a method for learning a stochastic policy for generating compositional objects, such as graphs or strings, from a given unnormalized density by sequences of actions, where many possible action sequences may lead to the same object. We find previously proposed learning objectives for GFlowNets, flow matching and detailed balance, which are analogous to temporal difference learning, to be prone to inefficient credit propagation across long action sequences. We thus propose a new learning objective for GFlowNets, trajectory balance, as a more efficient alternative to previously used objectives. We prove that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution. In experiments on four distinct domains, we empirically demonstrate the benefits of the trajectory balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequences and large action spaces.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Generative flow networks [GFlowNets; 3, 4] are models that exploit generalizable structure in an energy function $\mathcal { E }$ to amortize sampling from the corresponding probability density function on a space of compositional objects $\mathcal { X }$ , for example, graphs composed of nodes and edges. A GFlowNet learns a stochastic policy that generates such structured objects by producing a stochastic sequence of actions that incrementally modify a partial object (state), e.g., by adding an edge or a node to a graph, starting from a universal initial state (like an empty graph). A special ‘exit’ action signals that the construction of the object $x \in \mathcal { X }$ is completed, and the policy is trained so as to make the likelihood of generating $x$ proportional to the given unnormalized probability or reward $R ( x ) = e ^ { - \mathcal { E } ( x ) }$ .
|
| 20 |
+
|
| 21 |
+
Like other models in deep reinforcement learning [RL; 25], GFlowNets are trained with a parametric policy that can be given desired inductive biases (e.g., a particular deep net architecture) and allows generalization to states not seen in training. Natural domains for applying GFlowNets are those where exact sampling is intractable and local exploration (MCMC) methods perform poorly, but diversity of samples is desired [3, 32, 14, 8]. For example, GFlowNets have been used [3] to generate graphical descriptions of molecules by incremental addition of simple building blocks, where the reward $R ( x )$ is the estimated strength of binding the constructed molecule to a protein target: the number of candidates grows rapidly with the molecule size and the reward has many separated modes. Like all RL models that iteratively sample action sequences for training, GFlowNets pose the learning challenges of exploration/exploitation and credit assignment, i.e., propagation of a reward signal over an action sequence [27, 2, 17]. The efficiency of credit assignment and training in GFlowNets is the focus of the present paper.
|
| 22 |
+
|
| 23 |
+
The learning problem solved by GFlowNets also has two fundamental differences with the standard reward-maximization paradigm of RL. First, a GFlowNet aims to make the likelihood of reaching a terminating state proportional to the reward, not to concentrate it at a maximal-reward state. Thus, a GFlowNet must model the diversity in the target distribution, not only its dominant mode. Reward maximization in RL can be turned into sampling proportionally to the reward with appropriate entropy maximization regularization, if there is only one way to reach every state [3]. The second difference with reward-maximization in RL is indeed that the GFlowNet training objectives still lead to correct sampling even when multiple action sequences lead to the same terminating state. Note that the likelihood of reaching a state is the sum of likelihoods of all action sequences leading to it, and that the number of such paths may be exponential in their length.
|
| 24 |
+
|
| 25 |
+
The set of all achievable sequences of actions and states can be conceptually organized in a directed graph $G = ( S , A )$ in which the vertices $s$ are states (some of them designated as terminal states, in bijection with $\mathcal { X }$ ) and the edges $u { } v$ in $\mathcal { A }$ each correspond to applying an action while in a state $u \in S$ and landing in state $v$ . In [3], a GFlowNet is described by a nonnegative function on the edges, called the edge flow $F : \mathcal { A } \mathbb { R } _ { \geq 0 }$ , where $F ( u { } v )$ is an unnormalized likelihood of taking the action that modifies state $u$ to state $v$ . The GFlowNet policy samples the transition $u { } v$ from state $u$ with probability $\scriptstyle { F ( u \to v ) / \sum _ { v ^ { \prime } } F ( u \to v ^ { \prime } ) }$ where the denominator sums over the outgoing edges from $u$ . By analogy with the classical notion of flows in networks [9], one can think of this flow like the amount of water flowing through an edge (like a pipe) or a state (like a tee, where pipes meet). It is shown that this GFlowNet policy samples $x$ proportionally to $R ( x )$ if $F$ satisfies a set of linear flow matching constraints (a conservation law: the sum of flows into a state should equal the sum of flows out of it). These constraints are converted into a temporal difference-like objective that can be optimized with respect to the parameters of a neural net that approximates $F$ . An alternative objective based on detailed balance constraints was proposed in [4]. These objectives, however, like temporal-difference learning, can suffer from slow credit assignment [27, 2, 17].
|
| 26 |
+
|
| 27 |
+
The main contribution of this work (§3) is a new parametrization and objective for GFlowNets. This objective, which we call trajectory balance, is computed on sampled full action sequences (trajectories) from the initial state to a terminal state, unlike the flow matching and detailed balance objectives. We prove that global minimization of trajectory balance implies that the learned action policy samples proportionally to $R$ . We also empirically show that the trajectory balance objective accelerates training convergence relative to previously proposed objectives, improves the learned sampling policy with respect to metrics of diversity and divergence from the reward function, and allows learning GFlowNets that generate sequences far longer than was possible before. As a secondary contribution, we perform the first empirical validation of the detailed balance training objective. Comparative evaluation of the three GFlowNet objectives and non-GFlowNet baselines is performed on four domains illustrating different features of the reward landscape:
|
| 28 |
+
|
| 29 |
+
• Hypergrid (§5.1), an illustrative synthetic environment with modes separated by wide troughs; • Molecule synthesis (§5.2), a practical graph generation problem, where the trajectory balance objective leads to significant computational speed-ups and more diverse generated candidates; • Sequence generation (§5.3), where we show the robustness of trajectory balance to large action spaces and long action sequences on synthetic data and real AMP sequence data.
|
| 30 |
+
|
| 31 |
+
Since the initial appearance of this work on arXiv, several published papers and preprints have used trajectory balance and its generalizations successfully in various applications [32, 14, 8, 18].
|
| 32 |
+
|
| 33 |
+
# 2 Preliminaries
|
| 34 |
+
|
| 35 |
+
# 2.1 Markovian flows
|
| 36 |
+
|
| 37 |
+
We give some essential definitions, following $\ S 2$ of [4]. Fix a directed acyclic graph $G = ( { \boldsymbol { S } } , { \boldsymbol { A } } )$ with state space $s$ and action space $\mathcal { A }$ . Let $s _ { 0 } \in S$ be the special initial (source) state, the only state with no incoming edges, and designate vertices with no outgoing edges as terminal (sinks) 1. We call the vertices states, the edges actions, the states reachable through outgoing edges from a state its children, and the sources of its incoming edges its parents.
|
| 38 |
+
|
| 39 |
+
A complete trajectory is a sequence of transitions $\tau = ( s _ { 0 } { } s _ { 1 } { } \dots { } s _ { n }$ ) going from the initial state $s _ { 0 }$ to a terminal state $s _ { n }$ with $( s _ { t } { } s _ { t + 1 } ) \in \mathcal { A }$ for all $t$ . Let $\tau$ be the set of complete trajectories. A trajectory flow is a nonnegative function $F : \mathcal { T } { } \mathbb { R } _ { \geq 0 }$ . With our water analogy, it could be the number of water molecules travelling along this path (the units don’t matter because the flow function can be scaled arbitrarily, since we normalize them to get probabilities). For any state $s$ , define the state flow $\begin{array} { r } { F ( s ) = \sum _ { s \in \tau } F ( \tau ) } \end{array}$ , and, for any edge $s { } s ^ { \prime }$ , the edge flow
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
F ( s \to s ^ { \prime } ) = \sum _ { \tau = ( \ldots \to s \to s ^ { \prime } \to \ldots ) } F ( \tau ) .
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
As a consequence of this definition, the flow matching constraint (incoming flow $=$ outgoing flow) is satisfied for all states $s$ that are not initial or terminal:
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
F ( s ) = \sum _ { ( s ^ { \prime \prime } s ) \in A } F ( s ^ { \prime \prime } { } s ) = \sum _ { ( s s ^ { \prime } ) \in A } F ( s { } s ^ { \prime } ) .
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
A nontrivial (i.e., not identically zero) trajectory flow $F$ determines a distribution $P$ over trajectories,
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
P ( \tau ) = \frac { 1 } { Z } F ( \tau ) , \quad Z = F ( s _ { 0 } ) = \sum _ { \tau \in \mathcal { T } } F ( \tau ) .
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
The trajectory flow $F$ is Markovian if there exist action distributions $P _ { F } ( - | s )$ over the children of each nonterminal state $s$ such that the distribution $P$ has a factorization
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
P ( \tau = ( s _ { 0 } { } . . . { } s _ { n } ) ) = \prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ) .
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
Equivalently ([4], Prop. 3) there are distributions $P _ { B } ( - | s )$ over the parents of each noninitial state $s$ such that for any terminal $x$ ,
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
P ( \tau = ( s _ { 0 } . . . s _ { n } ) | s _ { n } = x ) = \prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ) .
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
If $F$ is a Markovian flow, then $P _ { F }$ and $P _ { B }$ can be computed in terms of state and edge flows:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
P _ { F } ( s ^ { \prime } | s ) = \frac { F ( s s ^ { \prime } ) } { F ( s ) } , \quad P _ { B } ( s | s ^ { \prime } ) = \frac { F ( s s ^ { \prime } ) } { F ( s ^ { \prime } ) } ,
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
supposing denominators do not vanish. We call $P _ { F }$ and $P _ { B }$ the forward policy and backward policy corresponding to $F$ , respectively. These relations are summarized by the detailed balance constraint
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
F ( s ) P _ { F } ( s ^ { \prime } | s ) = F ( s ^ { \prime } ) P _ { B } ( s | s ^ { \prime } ) .
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Uniqueness properties. A Markovian flow is uniquely determined by an edge flow, i.e., a nontrivial choice of nonnegative value on every edge satisfying the flow matching constraint (2). By Corollary 1 of [4], a Markovian flow is also uniquely determined by either of
|
| 82 |
+
|
| 83 |
+
• a constant $Z = F ( s _ { 0 } ) > 0$ and a distribution $P _ { F } ( - | s )$ over children of every nonterminal state; or • a nontrivial choice of nonnegative state flows $F ( x )$ for every terminal state $x$ and a choice of distribution $P _ { B } ( - | s )$ over parents of every noninitial state.
|
| 84 |
+
|
| 85 |
+
# 2.2 GFlowNets
|
| 86 |
+
|
| 87 |
+
Suppose that a nontrivial nonnegative reward function $R : \mathcal { X } \to \mathbb { R } _ { \geq 0 }$ is given on the set of terminal states. GFlowNets [3] aim to approximate a Markovian flow $F$ on $\bar { G }$ such that
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
F ( x ) = R ( x ) \quad \forall x \in { \mathcal { X } } .
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
We adopt the broad definition that a GFlowNet is any learning algorithm consisting of:
|
| 94 |
+
|
| 95 |
+
• a model capable of providing the initial state flow $Z = F ( s _ { 0 } )$ as well as the forward action distributions $P _ { F } ( - | \bar { s } )$ for any nonterminal state $s$ (and therefore, by the above, uniquely but possibly in an implicit way determining a Markovian flow $F$ );
|
| 96 |
+
• an objective function, such that if the model is capable of expressing any action distribution and the objective function is globally minimized, then the constraint (8) is satisfied for the corresponding Markovian flow $F$ .
|
| 97 |
+
|
| 98 |
+
The forward policy of a GFlowNet can be used to sample trajectories from the corresponding Markovian flow $F$ by iteratively taking actions according to policy $\mathop { P _ { F } ( - | s ) }$ . If the objective function is globally minimized, then the likelihood of terminating at $x$ is proportional to $R ( x )$ .
|
| 99 |
+
|
| 100 |
+
In general, an objective optimizing for (8) cannot be minimized directly because $F ( x )$ is a sum over all trajectories leading to $x$ , and computing it may not be practical. Therefore, two local objectives – flow matching and detailed balance – have previously been proposed.
|
| 101 |
+
|
| 102 |
+
Flow matching objective [3]. A model $F _ { \theta } ( s , s ^ { \prime } )$ 2 with learnable parameters $\theta$ approximates the edge flows $F ( s { } s ^ { \prime } )$ . The corresponding forward policy is given by $P _ { F } ( s ^ { \prime } | s ; \theta ) \overset { \sim } { \propto } F _ { \theta } ( s , s ^ { \prime } )$ (Eq. (6)). Denote the corresponding Markovian flow by $F _ { \theta }$ and distribution over trajectories by $P _ { \theta }$ . The parameters are trained to minimize the error in the flow matching constraint (2) for all noninitial and nonterminal nodes $s$ :
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
{ \mathcal { L } } _ { \mathrm { F M } } ( s ) = ( \log { \frac { \sum _ { ( s ^ { \prime \prime } s ) \in A } F _ { \theta } ( s ^ { \prime \prime } , s ) } { \sum _ { ( s s ^ { \prime } ) \in A } F _ { \theta } ( s , s ^ { \prime } ) } } ) ^ { 2 }
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
and a similar objective $\mathcal { L } _ { \mathrm { F M } } ^ { \prime }$ pushing the inflow at $x \in \mathcal { X }$ to equal $R ( x )$ at terminal nodes $x$ . This objective is optimized for nonterminal states $s$ and terminal states $x$ from trajectories sampled from a training policy $\pi _ { \theta }$ . Usually, $\pi _ { \theta }$ is chosen to be a tempered (higher temperature) version of $P _ { F } ( - | s , \theta )$ , which also helps exploration during training. The parameters are updated with stochastic gradient
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\mathbb { E } _ { \tau = ( s _ { 0 } \dots s _ { n } ) \sim \pi _ { \theta } } \nabla _ { \theta } \Bigg [ \sum _ { { t = 1 } } ^ { n - 1 } \mathcal { L } _ { \mathrm { F M } } ( s _ { t } ) + \mathcal { L } _ { \mathrm { F M } } ^ { \prime } ( s _ { n } ) \Bigg ] .
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
As per Proposition 10 of [4], if the training policy $\pi _ { \theta }$ has full support, and a global minimum of the expected loss (9) over states on trajectories sampled from $\pi _ { \theta }$ is reached, then the GFlowNet samples from the target distribution (i.e., $F _ { \theta }$ satisfies (8)).
|
| 115 |
+
|
| 116 |
+
Detailed balance objective [4]. A neural network model with parameters $\theta$ has input $s$ and three kinds of outputs: an estimated state flow $F _ { \theta } ( s )$ , an estimated distribution over children $P _ { F } ( - | s ; \theta )$ , and an estimated distribution over parents $P _ { B } ( - | s ; \theta )$ . The policy $P _ { F } ( - | - ; \theta )$ and the initial state flow $F _ { \theta } ( s _ { 0 } )$ uniquely determine a Markovian flow $F _ { \theta }$ , which is not necessarily compatible with the estimated backward policy $P _ { B } ( - | - ; \theta )$ . The error in the detailed balance constraint (7) is optimized on actions $( s { } s ^ { \prime } )$ ) between nonterminal nodes seen along trajectories sampled from the training policy:
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\mathcal { L } _ { \mathrm { D B } } ( s , s ^ { \prime } ) = \left( \log \frac { F _ { \boldsymbol \theta } ( s ) P _ { F } ( s ^ { \prime } | s ; \boldsymbol \theta ) } { F _ { \boldsymbol \theta } ( s ^ { \prime } ) P _ { B } ( s | s ^ { \prime } ; \boldsymbol \theta ) } \right) ^ { 2 } ,
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
and a similar constraint $\mathcal { L } _ { \mathrm { D B } } ^ { \prime } ( s , x )$ is optimized at actions leading to terminal nodes. Similarly to flow matching, the parameters are updated with stochastic gradient
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\mathbb { E } _ { ( s _ { 0 } \ldots s _ { n } ) \sim \pi _ { \theta } } \nabla _ { \theta } [ \sum _ { t = 1 } ^ { n - 1 } \mathcal { L } _ { \mathrm { D B } } ( s _ { t - 1 } , s _ { t } ) + \mathcal { L } _ { \mathrm { D B } } ^ { \prime } ( s _ { n - 1 } , s _ { n } ) ]
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
along trajectories sampled from a training policy $\pi _ { \theta }$ . By Proposition 6 of [4], a global minimum of the expected detailed balance loss under a $\pi _ { \theta }$ with full support specifies a GFlowNet that samples from the target distribution, i.e., the flow $F _ { \theta }$ satisfies (8).
|
| 129 |
+
|
| 130 |
+
<table><tr><td>inputReward functionR:X →R>o,model and optimizer hyperparameters</td></tr><tr><td>1:Initialize models PF,Pb,Z with parameters 0</td></tr><tr><td>2: :repeat</td></tr><tr><td>3: Sample trajectory T = (so-→.. → Sn) from policy PF(-|-;0) or a tempered version of it</td></tr><tr><td>4: θ ←θ-nVθLTB(τ) {gradient update on (14)}</td></tr><tr><td>5:</td></tr><tr><td>until convergence monitoring on running LTB(T)</td></tr></table>
|
| 131 |
+
|
| 132 |
+
Remarks. In some problems, such as autoregressive sequence generation (§5.3), the directed graph $G$ is a tree, so each state has only one parent. In this case, $P _ { B }$ is trivial and the detailed balance objective reduces to the flow matching objective, which in turn can be shown to be equivalent to Soft Q-Learning [12, 5] with temperature $\alpha = 1$ , a uniform $q _ { \mathbf { a ^ { \prime } } }$ , and $\gamma = 1$ .
|
| 133 |
+
|
| 134 |
+
# 3 Trajectory balance
|
| 135 |
+
|
| 136 |
+
Let $F$ be a Markovian flow and $P$ the corresponding distribution over complete trajectories, defined by (3), and let $P _ { F }$ and $P _ { B }$ be forward and backward policies determined by $F$ . A direct algebraic manipulation of Eqs. (3,4,5) gives the trajectory balance constraint for any complete trajectory $\tau = ( s _ { 0 } { } s _ { 1 } { } \dots { } s _ { n } = x _ { , }$ ):
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
Z \prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ) = F ( x ) \prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ) ,
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
where we have used that $\begin{array} { r } { P ( s _ { n } = x ) = \frac { F ( x ) } { Z } } \end{array}$ .
|
| 143 |
+
|
| 144 |
+
As explained in $\ S \mathrm { A } . 2$ , the trajectory balance constraint (13) and the detailed balance constraint (7) are special cases of one general constraint, which has been studied as a training objective in [18].
|
| 145 |
+
|
| 146 |
+
Trajectory balance as an objective. We propose to convert (13) into an objective to be optimized along trajectories sampled from a training policy. Suppose that a model with parameters $\theta$ outputs estimated forward policy $P _ { F } ( - | s ; \theta )$ and backward policy $P _ { B } ( - | s ; \theta )$ for states $s$ (just as for detailed balance above), as well as a global scalar $Z _ { \theta }$ estimating $F ( s _ { 0 } )$ . The scalar $Z _ { \theta }$ and forward policy $P _ { F } ( - | - ; \theta )$ uniquely determine an implicit Markovian flow $F _ { \theta }$ .
|
| 147 |
+
|
| 148 |
+
For a trajectory $\tau = ( s _ { 0 } { } s _ { 1 } { } \dots { } s _ { n } = x )$ ), define the trajectory loss
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\mathcal { L } _ { \mathrm { T B } } ( \tau ) = \left( \log \frac { Z _ { \theta } \prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ; \theta ) } { R ( x ) \prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ; \theta ) } \right) ^ { 2 } .
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
If $\pi _ { \theta }$ is a training policy – usually that given by $P _ { F } ( - | - ; \theta )$ or a tempered version of it – then the trajectory loss is updated along trajectories sampled from $\pi _ { \theta }$ , i.e., with stochastic gradient
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
\begin{array} { r } { \mathbb { E } _ { \tau \sim \pi _ { \theta } } \nabla _ { \theta } \mathcal { L } _ { \mathrm { T B } } ( \tau ) . } \end{array}
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
The full algorithm, with batch size of 1, is presented as Algorithm 1 and its correctness is guaranteed by the following.
|
| 161 |
+
|
| 162 |
+
Proposition 1. Let $R$ be a positive reward function on $\mathcal { X }$ .
|
| 163 |
+
|
| 164 |
+
(a) If $P _ { F } ( - | - ; \theta )$ , $P _ { B } ( - | - ; \theta )$ , and $Z _ { \theta }$ are the forward and backward policies and normalizing constant of a Markovian flow $F$ satisfying (8), then $\mathcal { L } _ { \mathrm { T B } } ( \tau ) = 0$ for all complete trajectories $\tau$
|
| 165 |
+
(b) Conversely, suppose that $\mathcal { L } _ { \mathrm { T B } } ( \tau ) = 0$ for all complete trajectories $\tau$ . Then the corresponding Markovian flow $F _ { \theta }$ satisfies (8), and $P _ { F } ( - | - ; \theta )$ samples proportionally to the reward.
|
| 166 |
+
|
| 167 |
+
The proof is given in $\ S \mathrm { A . 1 }$ . In particular, if $\pi _ { \theta }$ has full support and $\mathbb { E } _ { \tau \sim \pi _ { \theta } } \mathcal { L } _ { \mathrm { T B } } ( \tau )$ is globally minimized over all forward and backward policies $( P _ { F } , P _ { B } )$ and normalizing constants $Z$ , then the corresponding Markovian flow $F _ { \theta }$ satisfies (8) and $P _ { F } ( - | - ; \theta )$ samples proportionally to the reward. (The positivity assumption on $R$ is necessary to avoid division by 0 in (14), but can be relaxed by introduction of smoothing constants, just as was done for the losses proposed in [3, 4].)
|
| 168 |
+
|
| 169 |
+
Remarks. (1) As discussed in $\ S 2$ , in the case of auto-regressive generation, $G$ is a directed tree, where each $s \in S$ has a single parent state. In this case $P _ { B }$ is trivially $P _ { B } = 1$ , $\forall s \in S$ . We get
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
\mathcal { L } _ { \mathrm { T B } } ( \tau ) = \left( \log \frac { Z _ { \theta } \prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ; \theta ) } { R ( x ) } \right) ^ { 2 }
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
(2) We found it beneficial to parametrize $Z$ in the logarithmic domain $\log Z$ is the trainable parameter) and output logits for $P _ { F } ( - | s ; \theta )$ and $P _ { B } { \big ( } - | s ; \theta { \big ) }$ , so that all products in (14) become sums under the logarithm. This is consistent with the log-domain parametrization of flows in [3]. In addition, we found it helpful to set a higher learning rate for $Z$ than for the parameters of $P _ { F }$ and $P _ { B }$ . 3
|
| 176 |
+
|
| 177 |
+
# 3.1 Canonical choice of reward-matching flow
|
| 178 |
+
|
| 179 |
+
The constraint (8), in general, does not have a unique solution: if the underlying undirected graph of $G$ has cycles, there may be multiple Markovian flows whose corresponding action policies sample proportionally to the reward. However, by the uniqueness properties, for any choice of backward policy $P _ { B } ( - | - )$ , there is a unique flow satisfying (8), and thus a unique corresponding forward policy $P _ { F } ( - | - )$ for states with nonzero flow. (See Fig. 1.)
|
| 180 |
+
|
| 181 |
+
In some settings, it may be beneficial to $\mathit { \Omega } \mathcal { f } x$ the backward policy $P _ { B }$ and train only the parameters giving $P _ { F }$ and $Z _ { \theta }$ . For example, it may difficult to construct a model that outputs a distribution over the parents of a given input state (e.g., for the molecule domain (§5.2), it is hard to force invariance to molecule isomorphism). A natural choice is to set $P _ { B } ( - | s )$ to be uniform over all the parents of a state $s$ , i.e., $P _ { B } ( - | \bar { s } ) = 1 / \# \{ s ^ { \prime } | ( s ^ { \prime } { \to } s ) \in \mathcal { A } \}$ .
|
| 182 |
+
|
| 183 |
+
# 4 Related work
|
| 184 |
+
|
| 185 |
+
Reinforcement learning. GFlowNets are trained to sample proportionally the reward rather than maximize it as usual in RL. However, on tree-structured DAGs (autoregressive generation) are equivalent to RL with appropriate entropy regularization or soft Q-learning and control as inference [5, 12, 13]. The experiments and discussion of [3] show how these methods can fail badly in the general DAG case well handled by GFlowNets. Signal propagation over sequences of several actions in trajectory balance is also related to losses used in RL computed on subtrajectories [22].
|
| 186 |
+
|
| 187 |
+
Local exploration vs. amortized generalization to unseen modes. GFlowNets are also related to MCMC methods for sampling from unnormalized densities. While there has been work on accelerating or partially amortizing sampling from unnormalized densities over discrete spaces when exact sampling is intractable [11, 7], some of it domain- or problem-specific [30], GFlowNets treat the compositional structure in data as a learning problem (enabling generalization to unseen modes), not as a bias to build in to the sampler. Thus, the cost is amortized and borne by the learning of that structure through sampling, not through search at generation time.
|
| 188 |
+
|
| 189 |
+
Variational inference. GFlowNets are connected with variational methods for fitting hierarchical generative models. The squared log-ratio loss proposed in [20] as a control variate in the optimization of an evidence lower bound can be seen as a special case of trajectory balance. See $\ S \mathrm { A } . 3$ for further discussion, in which we prove that on-policy optimization of trajectory balance is equivalent to minimization of a certain KL divergence. Two recent papers [31, 19] extend our observations.
|
| 190 |
+
|
| 191 |
+
# 5 Experiments
|
| 192 |
+
|
| 193 |
+
We evaluate the proposed trajectory balance objective against prior objectives for training GFlowNets as well as standard methods for learning policies that approximately sample objects proportionally to their rewards, like MCMC as well as against other RL techniques. Our experiments include the hypergrid and molecule synthesis tasks from [3] and two new tasks in which $G$ is a directed tree.
|
| 194 |
+
|
| 195 |
+
# 5.1 Hypergrid environment
|
| 196 |
+
|
| 197 |
+
In this subsection, we study a synthetic hypergrid environment introduced by [3]. This task is easier than others we study, but we include it for completeness, and because it allows us to illustrate some interesting behaviours.4
|
| 198 |
+
|
| 199 |
+
In this environment, the nonterminal states $S ^ { \circ }$ form a $D$ -dimensional hypergrid with side length $H$ :
|
| 200 |
+
|
| 201 |
+
$$
|
| 202 |
+
\begin{array} { r } { \mathcal { S } ^ { \circ } = \{ ( s ^ { 1 } , \dotsc , s ^ { D } ) \mid s ^ { d } \in \{ 0 , 1 , \dotsc , H - 1 \} , d = 1 , \dotsc , D \} , } \end{array}
|
| 203 |
+
$$
|
| 204 |
+
|
| 205 |
+
and actions are operations of incrementing one coordinate in a state by 1 without exiting the grid. The initial state is $( 0 , \ldots , 0 )$ . For every nonterminal state $s$ , there is also a termination action that transitions to a corresponding terminal state $s ^ { \top }$ (cf. footnote 1). The reward at a terminal state $s ^ { \top } = ( s ^ { 1 } , \ldots , s ^ { d } ) ^ { \top }$ is given by
|
| 206 |
+
|
| 207 |
+
$$
|
| 208 |
+
R ( s ^ { \top } ) = R _ { 0 } + 0 . 5 \prod _ { d = 1 } ^ { D } \mathbb { I } \left[ \left| \frac { s ^ { d } } { H - 1 } - 0 . 5 \right| \in ( 0 . 2 5 , 0 . 5 ) \right] + 2 \prod _ { d = 1 } ^ { D } \mathbb { I } \left[ \left| \frac { s ^ { d } } { H - 1 } - 0 . 5 \right| \in ( 0 . 3 , 0 . 4 ) \right]
|
| 209 |
+
$$
|
| 210 |
+
|
| 211 |
+
where $\mathbb { I }$ is an indicator function and $R _ { 0 }$ is a constant controlling the difficulty of exploration. This reward has peaks of height $2 . 5 + R _ { 0 }$ near the corners of the hypergrid, surrounded by plateaux of height $0 . 5 + R _ { 0 }$ . These plateaux are separated by wide troughs with reward $R _ { 0 }$ . An illustration with $H = 8$ and $D = 2$ is shown in the left panel of Fig. 1. This environment evaluates the ability of a GFlowNet to generalize from visited states to infer the existence of yet-unvisited modes.
|
| 212 |
+
|
| 213 |
+
We train GFlowNets with the detailed balance (DB) and trajectory balance (TB) objectives with different $H , D$ , and $R _ { 0 }$ , in addition to reproducing the flow matching (FM) experiments and nonGFlowNet baselines based upon [3]’s published code. Our GFlowNet policy model is a multilayer perceptron (MLP) that accepts as input a one-hot encoding of a state $s$ (with the goal of enabling generalization) and outputs logits of the forward and backward policies $P _ { F } ( - | - ; \theta )$ and $P _ { B } ( - | - ; \bar { \theta ) }$ (as well as the estimated state flow $F _ { \theta } ( s )$ in the case of DB). The forward policy, backward policy, and state flow models share all but the last weight matrix of the MLP. This is consistent with [3]’s model, where an identical architecture accepted $s$ as input and output estimated flows $F _ { \theta } ( s , s ^ { \prime } )$ for all children $s ^ { \prime }$ of $s$ . Details are given in $\ S \mathrm { B } . 1$ .
|
| 214 |
+
|
| 215 |
+
We consider a 4-dimensional grid with $H = 8$ and and a 2-dimensional grid with $H = 6 4$ . The two grids have the same number of terminal states, but the 2-dimensional grid has longer expected trajectory lengths. For both grid sizes, we consider $R _ { 0 } = 0 . 1 , 0 . 0 1 , 0 . 0 0 1$ , with smaller $R _ { 0 }$ giving environments that are more difficult to explore due to the lower likelihood for models to cross the low-reward valley. For the models trained with DB and TB, we also explore the effect of fixing the backward policy to be uniform (§3.1).
|
| 216 |
+
|
| 217 |
+
Results. In Fig. 2, we plot the evolution over the course of training of the $L _ { 1 }$ error between the true reward distribution (the reward $R ( x )$ normalized over all possible terminal states $x \in \mathcal { X }$ ) and the empirical distribution of the last $2 \cdot 1 0 ^ { 5 }$ visited states for all settings (which would have a probability of 0 on $x$ ’s not visited). Although convergence to the same stable minimum is achieved by all models and settings, DB and TB training tend to converge faster than FM, with a slight benefit of TB over detailed balance in the 4-D environment.
|
| 218 |
+
|
| 219 |
+
Effect of uniform $P _ { B }$ . Note the difference in learning speed between models with fixed uniform backward policy $P _ { B }$ and models with learned $P _ { B }$ . As noted in $\ S 3 . 1$ , when $P _ { B }$ is fixed, there is a unique $P _ { F } ( - | - ; \theta )$ that globally minimizes the objective, and it may be approached slowly. However, if $P _ { B }$ and $P _ { F }$ are permitted to evolve jointly, they may more quickly approach one of the many optimal solutions. This is confirmed by the much faster convergence of models with learned $P _ { B }$ on the $6 4 \times 6 4$ grid. We have observed that, especially for large grid sizes, when $P _ { B }$ and $P _ { F }$ are both learned, the model has a bias towards first taking all actions in one coordinate direction, then proceeding in the other direction until terminating (as in the right panel of Fig. 1), perhaps because a constant distribution over two actions (‘continue to the right’ and ‘terminate’) can be modeled with higher precision over a large portion of the grid than the complex position-dependent distribution as shown in the centre panel of Fig. 1.
|
| 220 |
+
|
| 221 |
+

|
| 222 |
+
Figure 1: Left: The reward function on an $8 \times 8$ grid environment (§5.1) with $R _ { 0 } = 0 . 1$ . Centre and right: Two forward action policies – with fixed uniform $P _ { B }$ and with a learned non-uniform $P _ { B }$ – that sample from this reward. The lengths of arrows pointing up and right from each state are proportional to the likelihoods of the corresponding actions under $P _ { F }$ , and the sizes of the red octagons are proportional to the termination action likelihoods.
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 2: Empirical $L ^ { 1 }$ error between true and sampled state distributions on the grid environment with varying grid size and $R _ { 0 }$ . Mean and standard error over 5 seeds. The curves for PPO and MCMC baseline would lie outside the plot bounds.
|
| 226 |
+
|
| 227 |
+
# 5.2 Small drug molecule synthesis
|
| 228 |
+
|
| 229 |
+
Next, we consider the molecule generation task [30, 15, 16, 10, 24] introduced for GFlowNets in [3]. We extend [3]’s published code with an implementation of the TB and DB objectives.5
|
| 230 |
+
|
| 231 |
+
The goal is to generate molecules, in the form of graphs, with a low binding energy to the 4JNC inhibitor of the sEH (soluble epoxide hydrolase) protein. The graphs generated are junction trees [15] of a vocabulary of building blocks. The reward is defined as the normalized negative binding energy as predicted by a proxy model, itself trained to predict energies computed via docking simulations [26]. The maximum trajectory length is 8, with the number of actions varying between around 100 and 2000 (the larger a molecule, the more possible additions exist), making $| \mathcal { X } |$ about $1 0 ^ { 1 6 }$ .
|
| 232 |
+
|
| 233 |
+
Results. We plot in Fig. 3 (left and centre) the correlation of log-reward and log-sampling probability (the likelihood that a trajectory sampled from the learned policy terminates at $x$ ) for GFlowNets trained using TB, FM and DB. This correlation is significantly higher for models trained with TB. The points $x$ shown are from a fixed held-out set to which the GFlowNets do not have access in training. Note that a perfect model would have correlation 1, as $\log R ( x )$ and $\log p _ { \theta } ( x )$ would differ by a constant (equal to $\log Z ,$ ) that is independent of $x$ .
|
| 234 |
+
|
| 235 |
+
In Fig. 3 (right) we plot the average pairwise Tanimoto similarity [1] for the 1000 highest-reward samples generated over the course of training. We see that TB consistently generates more diverse molecules than FM. These results showcase the benefits of TB, not only for faster temporal credit assignment, but for generalization and diversity. In addition, TB has up to $5 \times$ runtime speedup over FM as the enumeration of parents is not needed. See $\ S \mathrm { B } . 2$ for further discussion.
|
| 236 |
+
|
| 237 |
+
# 5.3 Autoregressive sequence generation
|
| 238 |
+
|
| 239 |
+
Finally, we evaluate the TB objective on the task of autoregressive sequence generation. In $\ S 5 . 3 . 1$ , we study the effect of trajectory length and action space size on the learning dynamics in GFlowNets. In $\ S 5 . 3 . 2$ , we consider the more realistic task of generating peptides (short protein sequences with anti-microbial properties) and evaluate GFlowNets against standard RL and MCMC baselines.
|
| 240 |
+
|
| 241 |
+

|
| 242 |
+
Figure 3: Left, Centre: Pearson correlations between rewards and sampling probability. $\log p _ { \theta } ( x )$ is the log-likelihood that a trajectory sampled from the learned policy $P _ { F } \bar { ( } - | \bar { - } ; \theta )$ terminates at $x$ . Left: Scatter plot on a test set of $x$ ’s for the best hyperparameters of TB, FM, and DB. Centre: Violin plot of correlations for 16 hyperparameter settings and 3 seeds for each setting, showing TB being capable of fitting better. Right: Average pairwise Tanimoto similarity for the top 1000 samples generated by GFlowNets as training progresses. Lines are the average across runs, shaded regions the standard deviation. Models trained with TB have consistently lower similarity than those with FM, hence greater diversity. We hypothesize that the higher variance, in correlation and diversity, of TB relative to DB is related to high variance of the stochastic gradient; see [18].
|
| 243 |
+
|
| 244 |
+
# 5.3.1 Bit sequences
|
| 245 |
+
|
| 246 |
+
Task. The goal is to generate bit sequences of a fixed length $n = 1 2 0$ $\mathcal { X } = \{ 0 , 1 \} ^ { n } )$ , where the reward is designed to have modes at a given fixed set $M \subset \mathcal { X }$ that is unknown to the learner. The reward for a sequence $x$ is defined as $\begin{array} { r } { \bar { R ( x ) } = \exp ( - \operatorname* { m i n } _ { y \in M } d ( x , y ) ) } \end{array}$ , where $d$ is the edit distance. We describe the procedure to generate $M$ in $\ S \mathrm { B } . 3$ .
|
| 247 |
+
|
| 248 |
+
For different integers $k$ dividing $n$ , we design action spaces for left-to-right generation of sequences in $\mathcal { X }$ , where a complete trajectory has $\frac { n } { k }$ actions and each action appends a $k$ -bit ‘word’ to the end of a partial sequence. A forward policy on this state space is the same an autoregressive sequence model over a vocabulary of size $2 ^ { k }$ . Varying $k$ while fixing $\mathcal { X }$ and $M$ allows us to study the effect of the tradeoff between trajectory lengths $\textstyle { \binom { n } { k } }$ and the action space sizes $( | V | = 2 ^ { k }$ ) without changing the underlying probabilistic modeling problem.
|
| 249 |
+
|
| 250 |
+
We compare GFlowNets trained with the TB objective against GFlowNets trained with the FM objective (equivalent to DB and Soft Q-Learning in this case) and two non-GFlowNet baselines: A2C with Entropy Regularization [29, 21], Soft Actor-Critic [13, 6] and MARS [30]. We use a Transformer-based architecture [28] across all the methods. See $\ S \mathbf { B } . 3$ for details.
|
| 251 |
+
|
| 252 |
+
To evaluate the methods we use (1) Spearman correlation between the probability of generating the sequence $p ( x ) = F ( x ) / Z$ and its reward $R ( x )$ on a test set sampled approximately uniformly over the possible values of the reward, (2) number of modes captured (number of reference sequences from $M$ for which a candidate within a distance $\delta$ has been generated). In our experiments, $n = 1 2 0$ , $| M | = 6 0$ , $k \in \{ 1 , 2 , 4 , 6 , 8 , 1 0 \}$ , and $\delta = 2 0$ .
|
| 253 |
+
|
| 254 |
+
Results. Fig. 4 (left) presents the results for the Spearman correlation evaluation. We observe that GFlowNets trained with the TB objective learn policies that correlate best with the reward $R ( x )$ across all action spaces. In particular, we observe the effect of inefficient credit assignment in GFlowNets trained with FM, as the correlation improves with increasing $k$ , i.e., shorter trajectories. On the other hand, large action spaces also hurt GFlowNets trained with the FM objective, while the TB objective is robust to them. Additionally, we can observe in Fig. 4 (right) that for fixed $k$ , GFlowNets trained with TB discover more modes faster than other methods.
|
| 255 |
+
|
| 256 |
+
# 5.3.2 Anti-Microbial Peptide (AMP) generation
|
| 257 |
+
|
| 258 |
+
In this section, we consider the practical task of generating peptide sequences that have anti-microbial activity. The goal is to generate a protein sequence (where the vocabulary consists of 20 amino acids and a special end-of-sequence action), with maximum length 60. We take 6438 known AMP sequences and 9522 non-AMP sequences from the DBAASP database [23]. We then train a classifier on this dataset, using $2 0 \%$ of the data as a validation set. The probability output by this model for a sequence to be classified as an AMP is used as the reward $R ( x )$ in our experiments.
|
| 259 |
+
|
| 260 |
+
Table 1: Results on the AMP generation task.
|
| 261 |
+
|
| 262 |
+
<table><tr><td></td><td>Top 100 Reward</td><td>Top 100Diversity</td></tr><tr><td>GFN-LTB</td><td>0.85 ± 0.03</td><td>18.35±1.65</td></tr><tr><td>GFN-LFM/LDB</td><td>0.78±0.05</td><td>12.61 ± 1.32</td></tr><tr><td>SAC</td><td>0.80±0.01</td><td>8.36±1.44</td></tr><tr><td>AAC-ER</td><td>0.79±0.02</td><td>7.32 ± 0.76</td></tr><tr><td>MCMC</td><td>0.75±0.02</td><td>12.56±1.45</td></tr></table>
|
| 263 |
+
|
| 264 |
+

|
| 265 |
+
Figure 4: Left: Spearman correlation of the sampling probability under different learned policies and reward on a test set, plotted against the number of bits $k$ in the symbols in $V$ in the bit sequence generation task. GFlowNets trained with trajectory balance learn policies that have the highest correlation with the reward $R ( x )$ and are robust to length and vocabulary size. Right: Number of modes discovered over the course of training on the bit sequence generation task with $k = 1$ . GFlowNets trained with trajectory balance discover more modes faster.
|
| 266 |
+
|
| 267 |
+
The state and actions are designed just as in the previous experiment, with each action appending a symbol to the right of a state. We again compare TB and FM, as well as A2C with entropy regularization, SAC and MCMC as baselines. We again use Transformers for all the experiments on this task; see further details in Appendix B.4. We generate 2048 sequences from each method, and pick the top 100 sequences ranked by their reward $R ( x )$ . As metrics, we use the mean reward for these 100 sequences and the average pairwise edit distance among them as a measure of diversity.
|
| 268 |
+
|
| 269 |
+
Results. We present the results in Table 1, where we observe that GFlowNets trained with TB outperform all baselines on both performance and diversity metrics.
|
| 270 |
+
|
| 271 |
+
# 6 Discussion and conclusion
|
| 272 |
+
|
| 273 |
+
We introduced a novel training loss for GFlowNets, trajectory balance (TB), which yields faster and better training than the previously proposed flow matching (FM) and detailed balance (DB) losses. We proved that this objective, when minimized, yields the desired GFlowNet property of sampling from the target distribution specified by an unnormalized reward function. This new loss was motivated by the observation that the FM and DB losses are local in the action sequence and may require many iterations for credit assignment to propagate to early actions: if a gradient update introduces a flow inconsistency at some state far from the initial state (such as when a novel high-reward state is sampled), the parent of this state must be visited before the update is propagated closer to the root, akin to the slow propagation of reward signals in temporal difference learning.
|
| 274 |
+
|
| 275 |
+
We empirically found that TB discovered more modes of the energy function faster and was more robust than FM and DB to the exponential growth of the state space, due in part to the lengths of sequences and in part to the size of the action space. A factor to consider when interpreting our experimental results is that because we use a neural net rather than a tabular representation of policies, the early states’ transitions are informed by downstream credit assignment via parameter sharing. Early states also get many more visits because there are more possible states near the ends of sequences than near the initial state. Finally, TB trades off the advantage of immediately providing credit to early states with the disadvantage of relying on sampling of long trajectories and thus a potentially higher variance of the stochastic gradient. The high gradient variance is a possible limitation of TB in difficult environments, and ways to overcome it by interpolating between local and trajectory-level objectives have been studied in subsequent work [18].
|
| 276 |
+
|
| 277 |
+
All in all, we found that trajectory balance is a superior training objective in a broad set of experiments, making it the default choice for future work on GFlowNets.
|
| 278 |
+
|
| 279 |
+
# Acknowledgments
|
| 280 |
+
|
| 281 |
+
This research was enabled in part by computational resources provided by Compute Canada. All authors are funded by their primary academic institution. We also acknowledge funding from CIFAR, Samsung, IBM, Microsoft, and the Banting Postdoctoral Fellowship.
|
| 282 |
+
|
| 283 |
+
The authors are grateful to all the members of the Mila GFlowNet group, in particular to Dinghuai Zhang, for many fruitful research discussions, as well as to Yiheng Zhu for feedback on the published code. We also thank the anonymous reviewers for their comments.
|
| 284 |
+
|
| 285 |
+
# References
|
| 286 |
+
|
| 287 |
+
[1] Bender, A. and Glen, R. C. Molecular similarity: a key technique in molecular informatics. Organic & biomolecular chemistry, 2(22):3204–3218, 2004. [2] Bengio, E., Pineau, J., and Precup, D. Interference and generalization in temporal difference learning. International Conference on Machine Learning (ICML), 2020.
|
| 288 |
+
[3] Bengio, E., Jain, M., Korablyov, M., Precup, D., and Bengio, Y. Flow network based generative models for non-iterative diverse candidate generation. Neural Information Processing Systems (NeurIPS), 2021.
|
| 289 |
+
[4] Bengio, Y., Lahlou, S., Deleu, T., Hu, E., Tiwari, M., and Bengio, E. GFlowNet foundations. arXiv preprint 2111.09266, 2021.
|
| 290 |
+
[5] Buesing, L., Heess, N., and Weber, T. Approximate inference in discrete distributions with Monte Carlo tree search and value functions. Artificial Intelligence and Statistics (AISTATS), 2019.
|
| 291 |
+
[6] Christodoulou, P. Soft actor-critic for discrete action settings. arXiv preprint arXiv:1910.07207, 2019.
|
| 292 |
+
[7] Dai, H., Singh, R., Dai, B., Sutton, C., and Schuurmans, D. Learning discrete energy-based models via auxiliary-variable local exploration. Neural Information Processing Systems (NeurIPS), 2020. [8] Deleu, T., Góis, A., Emezue, C., Rankawat, M., Lacoste-Julien, S., Bauer, S., and Bengio, Y. Bayesian structure learning with generative flow networks. Uncertainty in Artificial Intelligence (UAI), 2022.
|
| 293 |
+
[9] Ford, L. R. and Fulkerson, D. R. Maximal flow through a network. Canadian Journal of Mathematics, 8:243–248, 1956.
|
| 294 |
+
[10] Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O., and Dahl, G. E. Neural message passing for quantum chemistry. International Conference on Machine Learning (ICML), 2017.
|
| 295 |
+
[11] Grathwohl, W., Swersky, K., Hashemi, M., Duvenaud, D. K., and Maddison, C. J. Oops I took a gradient: Scalable sampling for discrete distributions. International Conference on Machine Learning (ICML), 2021.
|
| 296 |
+
[12] Haarnoja, T., Tang, H., Abbeel, P., and Levine, S. Reinforcement learning with deep energybased policies. International Conference on Machine Learning (ICML), 2017.
|
| 297 |
+
[13] Haarnoja, T., Zhou, A., Abbeel, P., and Levine, S. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. International Conference on Machine Learning (ICML), 2018.
|
| 298 |
+
[14] Jain, M., Bengio, E., Hernandez-Garcia, A., Rector-Brooks, J., Dossou, B. F., Ekbote, C., Fu, J., Zhang, T., Kilgour, M., Zhang, D., Simine, L., Das, P., and Bengio, Y. Biological sequence design with GFlowNets. International Conference on Machine Learning (ICML), 2022.
|
| 299 |
+
[15] Jin, W., Barzilay, R., and Jaakkola, T. Chapter 11. junction tree variational autoencoder for molecular graph generation. Drug Discovery, pp. 228–249, 2020. ISSN 2041-3211.
|
| 300 |
+
[16] Kumar, A., Voet, A., and Zhang, K. Fragment based drug design: from experimental to computational approaches. Current medicinal chemistry, 19(30):5128–5147, 2012.
|
| 301 |
+
[17] Kumar, A., Agarwal, R., Ghosh, D., and Levine, S. Implicit under-parameterization inhibits dataefficient deep reinforcement learning. International Conference on Learning Representations (ICLR), 2021.
|
| 302 |
+
[18] Madan, K., Rector-Brooks, J., Korablyov, M., Bengio, E., Jain, M., Nica, A., Bosc, T., Bengio, Y., and Malkin, N. Learning GFlowNets from partial episodes for improved convergence and stability. arXiv preprint 2209.12782, 2022.
|
| 303 |
+
[19] Malkin, N., Lahlou, S., Deleu, T., Ji, X., Hu, E., Everett, K., Zhang, D., and Bengio, Y. GFlowNets and variational inference. arXiv preprint 2210.00580, 2022.
|
| 304 |
+
[20] Mnih, A. and Gregor, K. Neural variational inference and learning in belief networks. International Conference on Machine Learning (ICML), 2014.
|
| 305 |
+
[21] Mnih, V., Badia, A. P., Mirza, M., Graves, A., Lillicrap, T., Harley, T., Silver, D., and Kavukcuoglu, K. Asynchronous methods for deep reinforcement learning. International Conference on Machine Learning (ICML), 2016.
|
| 306 |
+
[22] Nachum, O., Norouzi, M., Xu, K., and Schuurmans, D. Bridging the gap between value and policy based reinforcement learning. Neural Information Processing Systems (NeurIPS), 2017.
|
| 307 |
+
[23] Pirtskhalava, M., Amstrong, A. A., Grigolava, M., Chubinidze, M., Alimbarashvili, E., Vishnepolsky, B., Gabrielian, A., Rosenthal, A., Hurt, D. E., and Tartakovsky, M. Dbaasp v3: Database of antimicrobial/cytotoxic activity and structure of peptides as a resource for development of new therapeutics. Nucleic Acids Research, 49(D1):D288–D297, 2021.
|
| 308 |
+
[24] Shi, Y., Huang, Z., Feng, S., Zhong, H., Wang, W., and Sun, Y. Masked label prediction: Unified message passing model for semi-supervised classification. International Joint Conference on Artificial Intelligence (IJCAI), 2021.
|
| 309 |
+
[25] Sutton, R. S. and Barto, A. G. Reinforcement learning: An introduction. MIT Press, 2018.
|
| 310 |
+
[26] Trott, O. and Olson, A. J. AutoDock Vina: improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading. Journal of computational chemistry, 31(2):455–461, 2010.
|
| 311 |
+
[27] van Hasselt, H., Doron, Y., Strub, F., Hessel, M., Sonnerat, N., and Modayil, J. Deep reinforcement learning and the deadly triad. arXiv preprint 1812.02648, 2018.
|
| 312 |
+
[28] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need. Neural Information Processing Systems (NeurIPS), 2017.
|
| 313 |
+
[29] Williams, R. J. and Peng, J. Function optimization using connectionist reinforcement learning algorithms. Connection Science, 3(3):241–268, 1991.
|
| 314 |
+
[30] Xie, Y., Shi, C., Zhou, H., Yang, Y., Zhang, W., Yu, Y., and Li, L. MARS: Markov molecular sampling for multi-objective drug discovery. International Conference on Learning Representations (ICLR), 2021.
|
| 315 |
+
[31] Zhang, D., Chen, R. T. Q., Malkin, N., , and Bengio, Y. Unifying generative models with GFlowNets. arXiv preprint 2209.02606, 2022.
|
| 316 |
+
[32] Zhang, D., Malkin, N., Liu, Z., Volokhova, A., Courville, A., and Bengio, Y. Generative flow networks for discrete probabilistic modeling. International Conference on Machine Learning (ICML), 2022.
|
| 317 |
+
|
| 318 |
+
# Checklist
|
| 319 |
+
|
| 320 |
+
1. For all authors...
|
| 321 |
+
|
| 322 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 323 |
+
(b) Did you describe the limitations of your work? [Yes] This is mainly a paper about theory and algorithms. Future work that applies these algorithms, in particular for domains where they can most immediately have an impact (e.g., molecule design for drug discovery), should consider the limitations and negative societal impacts of these applications.
|
| 324 |
+
(c) Did you discuss any potential negative societal impacts of your work? [N/A] See previous.
|
| 325 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 326 |
+
|
| 327 |
+
2. If you are including theoretical results...
|
| 328 |
+
|
| 329 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] See $\ S \mathrm { A } . 1$
|
| 330 |
+
|
| 331 |
+
3. If you ran experiments...
|
| 332 |
+
|
| 333 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] For the grid and molecule environments. [No] For the other environments.
|
| 334 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See the Appendix.
|
| 335 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See the Appendix.
|
| 336 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See the Appendix.
|
| 337 |
+
|
| 338 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 339 |
+
|
| 340 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] See the relevant experiment sections.
|
| 341 |
+
(b) Did you mention the license of the assets? [N/A]
|
| 342 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] References to the molecule and AMP sequence data are provided.
|
| 343 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] No new data collection was done.
|
| 344 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] Not relevant for the domains studied.
|
| 345 |
+
|
| 346 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 347 |
+
|
| 348 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 349 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 350 |
+
(c) Did you include the estimated hourly wage paid to participants and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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Trajectory balance: Improved credit assignment in GFlowNets ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
241,
|
| 8 |
+
122,
|
| 9 |
+
756,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Nikolay Malkin Mila, Université de Montréal Montréal, Québec, Canada ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
259,
|
| 19 |
+
226,
|
| 20 |
+
454,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Moksh Jain Mila, Université de Montréal Montréal, Québec, Canada ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
544,
|
| 30 |
+
226,
|
| 31 |
+
738,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Emmanuel Bengio Mila, McGill University, Recursion Montréal, Québec, Canada ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
245,
|
| 41 |
+
289,
|
| 42 |
+
480,
|
| 43 |
+
332
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Chen Sun Mila, Université de Montréal Montréal, Québec, Canada ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
558,
|
| 52 |
+
289,
|
| 53 |
+
751,
|
| 54 |
+
332
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Yoshua Bengio Mila, Université de Montréal Montréal, Québec, Canada {nikolay.malkin,moksh.jain,chen.sun,yoshua.bengio}@mila.quebec emmanuel.bengio@recursionpharma.com ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
259,
|
| 63 |
+
352,
|
| 64 |
+
738,
|
| 65 |
+
421
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
457,
|
| 76 |
+
535,
|
| 77 |
+
474
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Generative flow networks (GFlowNets) are a method for learning a stochastic policy for generating compositional objects, such as graphs or strings, from a given unnormalized density by sequences of actions, where many possible action sequences may lead to the same object. We find previously proposed learning objectives for GFlowNets, flow matching and detailed balance, which are analogous to temporal difference learning, to be prone to inefficient credit propagation across long action sequences. We thus propose a new learning objective for GFlowNets, trajectory balance, as a more efficient alternative to previously used objectives. We prove that any global minimizer of the trajectory balance objective can define a policy that samples exactly from the target distribution. In experiments on four distinct domains, we empirically demonstrate the benefits of the trajectory balance objective for GFlowNet convergence, diversity of generated samples, and robustness to long action sequences and large action spaces. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
232,
|
| 86 |
+
489,
|
| 87 |
+
766,
|
| 88 |
+
669
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
694,
|
| 99 |
+
310,
|
| 100 |
+
712
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Generative flow networks [GFlowNets; 3, 4] are models that exploit generalizable structure in an energy function $\\mathcal { E }$ to amortize sampling from the corresponding probability density function on a space of compositional objects $\\mathcal { X }$ , for example, graphs composed of nodes and edges. A GFlowNet learns a stochastic policy that generates such structured objects by producing a stochastic sequence of actions that incrementally modify a partial object (state), e.g., by adding an edge or a node to a graph, starting from a universal initial state (like an empty graph). A special ‘exit’ action signals that the construction of the object $x \\in \\mathcal { X }$ is completed, and the policy is trained so as to make the likelihood of generating $x$ proportional to the given unnormalized probability or reward $R ( x ) = e ^ { - \\mathcal { E } ( x ) }$ . ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
726,
|
| 110 |
+
825,
|
| 111 |
+
838
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Like other models in deep reinforcement learning [RL; 25], GFlowNets are trained with a parametric policy that can be given desired inductive biases (e.g., a particular deep net architecture) and allows generalization to states not seen in training. Natural domains for applying GFlowNets are those where exact sampling is intractable and local exploration (MCMC) methods perform poorly, but diversity of samples is desired [3, 32, 14, 8]. For example, GFlowNets have been used [3] to generate graphical descriptions of molecules by incremental addition of simple building blocks, where the reward $R ( x )$ is the estimated strength of binding the constructed molecule to a protein target: the number of candidates grows rapidly with the molecule size and the reward has many separated modes. Like all RL models that iteratively sample action sequences for training, GFlowNets pose the learning challenges of exploration/exploitation and credit assignment, i.e., propagation of a reward signal over an action sequence [27, 2, 17]. The efficiency of credit assignment and training in GFlowNets is the focus of the present paper. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
844,
|
| 121 |
+
823,
|
| 122 |
+
901
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
173,
|
| 131 |
+
90,
|
| 132 |
+
825,
|
| 133 |
+
203
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "The learning problem solved by GFlowNets also has two fundamental differences with the standard reward-maximization paradigm of RL. First, a GFlowNet aims to make the likelihood of reaching a terminating state proportional to the reward, not to concentrate it at a maximal-reward state. Thus, a GFlowNet must model the diversity in the target distribution, not only its dominant mode. Reward maximization in RL can be turned into sampling proportionally to the reward with appropriate entropy maximization regularization, if there is only one way to reach every state [3]. The second difference with reward-maximization in RL is indeed that the GFlowNet training objectives still lead to correct sampling even when multiple action sequences lead to the same terminating state. Note that the likelihood of reaching a state is the sum of likelihoods of all action sequences leading to it, and that the number of such paths may be exponential in their length. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
173,
|
| 142 |
+
208,
|
| 143 |
+
825,
|
| 144 |
+
347
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "The set of all achievable sequences of actions and states can be conceptually organized in a directed graph $G = ( S , A )$ in which the vertices $s$ are states (some of them designated as terminal states, in bijection with $\\mathcal { X }$ ) and the edges $u { } v$ in $\\mathcal { A }$ each correspond to applying an action while in a state $u \\in S$ and landing in state $v$ . In [3], a GFlowNet is described by a nonnegative function on the edges, called the edge flow $F : \\mathcal { A } \\mathbb { R } _ { \\geq 0 }$ , where $F ( u { } v )$ is an unnormalized likelihood of taking the action that modifies state $u$ to state $v$ . The GFlowNet policy samples the transition $u { } v$ from state $u$ with probability $\\scriptstyle { F ( u \\to v ) / \\sum _ { v ^ { \\prime } } F ( u \\to v ^ { \\prime } ) }$ where the denominator sums over the outgoing edges from $u$ . By analogy with the classical notion of flows in networks [9], one can think of this flow like the amount of water flowing through an edge (like a pipe) or a state (like a tee, where pipes meet). It is shown that this GFlowNet policy samples $x$ proportionally to $R ( x )$ if $F$ satisfies a set of linear flow matching constraints (a conservation law: the sum of flows into a state should equal the sum of flows out of it). These constraints are converted into a temporal difference-like objective that can be optimized with respect to the parameters of a neural net that approximates $F$ . An alternative objective based on detailed balance constraints was proposed in [4]. These objectives, however, like temporal-difference learning, can suffer from slow credit assignment [27, 2, 17]. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
173,
|
| 153 |
+
354,
|
| 154 |
+
825,
|
| 155 |
+
560
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "The main contribution of this work (§3) is a new parametrization and objective for GFlowNets. This objective, which we call trajectory balance, is computed on sampled full action sequences (trajectories) from the initial state to a terminal state, unlike the flow matching and detailed balance objectives. We prove that global minimization of trajectory balance implies that the learned action policy samples proportionally to $R$ . We also empirically show that the trajectory balance objective accelerates training convergence relative to previously proposed objectives, improves the learned sampling policy with respect to metrics of diversity and divergence from the reward function, and allows learning GFlowNets that generate sequences far longer than was possible before. As a secondary contribution, we perform the first empirical validation of the detailed balance training objective. Comparative evaluation of the three GFlowNet objectives and non-GFlowNet baselines is performed on four domains illustrating different features of the reward landscape: ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
173,
|
| 164 |
+
565,
|
| 165 |
+
825,
|
| 166 |
+
718
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "• Hypergrid (§5.1), an illustrative synthetic environment with modes separated by wide troughs; • Molecule synthesis (§5.2), a practical graph generation problem, where the trajectory balance objective leads to significant computational speed-ups and more diverse generated candidates; • Sequence generation (§5.3), where we show the robustness of trajectory balance to large action spaces and long action sequences on synthetic data and real AMP sequence data. ",
|
| 173 |
+
"bbox": [
|
| 174 |
+
173,
|
| 175 |
+
724,
|
| 176 |
+
825,
|
| 177 |
+
801
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "Since the initial appearance of this work on arXiv, several published papers and preprints have used trajectory balance and its generalizations successfully in various applications [32, 14, 8, 18]. ",
|
| 184 |
+
"bbox": [
|
| 185 |
+
173,
|
| 186 |
+
808,
|
| 187 |
+
823,
|
| 188 |
+
837
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "2 Preliminaries ",
|
| 195 |
+
"text_level": 1,
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
88,
|
| 199 |
+
318,
|
| 200 |
+
106
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "2.1 Markovian flows ",
|
| 207 |
+
"text_level": 1,
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
119,
|
| 211 |
+
330,
|
| 212 |
+
135
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "We give some essential definitions, following $\\ S 2$ of [4]. Fix a directed acyclic graph $G = ( { \\boldsymbol { S } } , { \\boldsymbol { A } } )$ with state space $s$ and action space $\\mathcal { A }$ . Let $s _ { 0 } \\in S$ be the special initial (source) state, the only state with no incoming edges, and designate vertices with no outgoing edges as terminal (sinks) 1. We call the vertices states, the edges actions, the states reachable through outgoing edges from a state its children, and the sources of its incoming edges its parents. ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
173,
|
| 221 |
+
145,
|
| 222 |
+
825,
|
| 223 |
+
215
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "A complete trajectory is a sequence of transitions $\\tau = ( s _ { 0 } { } s _ { 1 } { } \\dots { } s _ { n }$ ) going from the initial state $s _ { 0 }$ to a terminal state $s _ { n }$ with $( s _ { t } { } s _ { t + 1 } ) \\in \\mathcal { A }$ for all $t$ . Let $\\tau$ be the set of complete trajectories. A trajectory flow is a nonnegative function $F : \\mathcal { T } { } \\mathbb { R } _ { \\geq 0 }$ . With our water analogy, it could be the number of water molecules travelling along this path (the units don’t matter because the flow function can be scaled arbitrarily, since we normalize them to get probabilities). For any state $s$ , define the state flow $\\begin{array} { r } { F ( s ) = \\sum _ { s \\in \\tau } F ( \\tau ) } \\end{array}$ , and, for any edge $s { } s ^ { \\prime }$ , the edge flow ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
173,
|
| 232 |
+
220,
|
| 233 |
+
826,
|
| 234 |
+
306
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "equation",
|
| 240 |
+
"img_path": "images/66cb3c06362fe7cde1b234fa52360a6e3064e71830e8e6acdec04ee216c24849.jpg",
|
| 241 |
+
"text": "$$\nF ( s \\to s ^ { \\prime } ) = \\sum _ { \\tau = ( \\ldots \\to s \\to s ^ { \\prime } \\to \\ldots ) } F ( \\tau ) .\n$$",
|
| 242 |
+
"text_format": "latex",
|
| 243 |
+
"bbox": [
|
| 244 |
+
379,
|
| 245 |
+
313,
|
| 246 |
+
619,
|
| 247 |
+
349
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 2
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "text",
|
| 253 |
+
"text": "As a consequence of this definition, the flow matching constraint (incoming flow $=$ outgoing flow) is satisfied for all states $s$ that are not initial or terminal: ",
|
| 254 |
+
"bbox": [
|
| 255 |
+
174,
|
| 256 |
+
356,
|
| 257 |
+
823,
|
| 258 |
+
383
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 2
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "equation",
|
| 264 |
+
"img_path": "images/bae4f5b893f94e142fd0a4ae3feccdd811d2088e1d08e8350f946dd6281c8fa9.jpg",
|
| 265 |
+
"text": "$$\nF ( s ) = \\sum _ { ( s ^ { \\prime \\prime } s ) \\in A } F ( s ^ { \\prime \\prime } { } s ) = \\sum _ { ( s s ^ { \\prime } ) \\in A } F ( s { } s ^ { \\prime } ) .\n$$",
|
| 266 |
+
"text_format": "latex",
|
| 267 |
+
"bbox": [
|
| 268 |
+
328,
|
| 269 |
+
386,
|
| 270 |
+
669,
|
| 271 |
+
424
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "A nontrivial (i.e., not identically zero) trajectory flow $F$ determines a distribution $P$ over trajectories, ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
176,
|
| 280 |
+
429,
|
| 281 |
+
825,
|
| 282 |
+
445
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "equation",
|
| 288 |
+
"img_path": "images/c837e2173c7bb4da762048c1a6680f1b0b91b6a94417ffcc6216ec13620f0d4b.jpg",
|
| 289 |
+
"text": "$$\nP ( \\tau ) = \\frac { 1 } { Z } F ( \\tau ) , \\quad Z = F ( s _ { 0 } ) = \\sum _ { \\tau \\in \\mathcal { T } } F ( \\tau ) .\n$$",
|
| 290 |
+
"text_format": "latex",
|
| 291 |
+
"bbox": [
|
| 292 |
+
348,
|
| 293 |
+
450,
|
| 294 |
+
650,
|
| 295 |
+
488
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "The trajectory flow $F$ is Markovian if there exist action distributions $P _ { F } ( - | s )$ over the children of each nonterminal state $s$ such that the distribution $P$ has a factorization ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
494,
|
| 305 |
+
825,
|
| 306 |
+
523
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "equation",
|
| 312 |
+
"img_path": "images/d238990c88b6dc59923ad266c0dbcc7bee469fa65a6b1dd48ced6a81152ad805.jpg",
|
| 313 |
+
"text": "$$\nP ( \\tau = ( s _ { 0 } { } . . . { } s _ { n } ) ) = \\prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ) .\n$$",
|
| 314 |
+
"text_format": "latex",
|
| 315 |
+
"bbox": [
|
| 316 |
+
352,
|
| 317 |
+
527,
|
| 318 |
+
647,
|
| 319 |
+
569
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "Equivalently ([4], Prop. 3) there are distributions $P _ { B } ( - | s )$ over the parents of each noninitial state $s$ such that for any terminal $x$ , ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
174,
|
| 328 |
+
575,
|
| 329 |
+
825,
|
| 330 |
+
604
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "equation",
|
| 336 |
+
"img_path": "images/750e55f330d02b6d00616cd48510c5234708954d044a3a141b140f25bf24009c.jpg",
|
| 337 |
+
"text": "$$\nP ( \\tau = ( s _ { 0 } . . . s _ { n } ) | s _ { n } = x ) = \\prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ) .\n$$",
|
| 338 |
+
"text_format": "latex",
|
| 339 |
+
"bbox": [
|
| 340 |
+
325,
|
| 341 |
+
611,
|
| 342 |
+
673,
|
| 343 |
+
651
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "If $F$ is a Markovian flow, then $P _ { F }$ and $P _ { B }$ can be computed in terms of state and edge flows: ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
657,
|
| 353 |
+
779,
|
| 354 |
+
672
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "equation",
|
| 360 |
+
"img_path": "images/6a149fb393912b07095241c4e936534224472c25846ba3ee886f0df9c7312c9e.jpg",
|
| 361 |
+
"text": "$$\nP _ { F } ( s ^ { \\prime } | s ) = \\frac { F ( s s ^ { \\prime } ) } { F ( s ) } , \\quad P _ { B } ( s | s ^ { \\prime } ) = \\frac { F ( s s ^ { \\prime } ) } { F ( s ^ { \\prime } ) } ,\n$$",
|
| 362 |
+
"text_format": "latex",
|
| 363 |
+
"bbox": [
|
| 364 |
+
338,
|
| 365 |
+
679,
|
| 366 |
+
658,
|
| 367 |
+
713
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 2
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "supposing denominators do not vanish. We call $P _ { F }$ and $P _ { B }$ the forward policy and backward policy corresponding to $F$ , respectively. These relations are summarized by the detailed balance constraint ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
171,
|
| 376 |
+
718,
|
| 377 |
+
823,
|
| 378 |
+
747
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 2
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "equation",
|
| 384 |
+
"img_path": "images/f9a2616a88bb5775c7fba793a3c86c3bd0ab8120e60ef0a00b8c5230f4a5b64f.jpg",
|
| 385 |
+
"text": "$$\nF ( s ) P _ { F } ( s ^ { \\prime } | s ) = F ( s ^ { \\prime } ) P _ { B } ( s | s ^ { \\prime } ) .\n$$",
|
| 386 |
+
"text_format": "latex",
|
| 387 |
+
"bbox": [
|
| 388 |
+
390,
|
| 389 |
+
753,
|
| 390 |
+
607,
|
| 391 |
+
772
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "Uniqueness properties. A Markovian flow is uniquely determined by an edge flow, i.e., a nontrivial choice of nonnegative value on every edge satisfying the flow matching constraint (2). By Corollary 1 of [4], a Markovian flow is also uniquely determined by either of ",
|
| 398 |
+
"bbox": [
|
| 399 |
+
173,
|
| 400 |
+
785,
|
| 401 |
+
825,
|
| 402 |
+
827
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 2
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "• a constant $Z = F ( s _ { 0 } ) > 0$ and a distribution $P _ { F } ( - | s )$ over children of every nonterminal state; or • a nontrivial choice of nonnegative state flows $F ( x )$ for every terminal state $x$ and a choice of distribution $P _ { B } ( - | s )$ over parents of every noninitial state. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
830,
|
| 412 |
+
825,
|
| 413 |
+
878
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 2
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "2.2 GFlowNets ",
|
| 420 |
+
"text_level": 1,
|
| 421 |
+
"bbox": [
|
| 422 |
+
174,
|
| 423 |
+
90,
|
| 424 |
+
290,
|
| 425 |
+
106
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Suppose that a nontrivial nonnegative reward function $R : \\mathcal { X } \\to \\mathbb { R } _ { \\geq 0 }$ is given on the set of terminal states. GFlowNets [3] aim to approximate a Markovian flow $F$ on $\\bar { G }$ such that ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
173,
|
| 434 |
+
116,
|
| 435 |
+
825,
|
| 436 |
+
145
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "equation",
|
| 442 |
+
"img_path": "images/f20f710b5af70409736bc2f77c27149d3b4d18b30ee6d0262aa58f280ca266ec.jpg",
|
| 443 |
+
"text": "$$\nF ( x ) = R ( x ) \\quad \\forall x \\in { \\mathcal { X } } .\n$$",
|
| 444 |
+
"text_format": "latex",
|
| 445 |
+
"bbox": [
|
| 446 |
+
415,
|
| 447 |
+
146,
|
| 448 |
+
583,
|
| 449 |
+
162
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "We adopt the broad definition that a GFlowNet is any learning algorithm consisting of: ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
178,
|
| 458 |
+
164,
|
| 459 |
+
740,
|
| 460 |
+
179
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "• a model capable of providing the initial state flow $Z = F ( s _ { 0 } )$ as well as the forward action distributions $P _ { F } ( - | \\bar { s } )$ for any nonterminal state $s$ (and therefore, by the above, uniquely but possibly in an implicit way determining a Markovian flow $F$ ); \n• an objective function, such that if the model is capable of expressing any action distribution and the objective function is globally minimized, then the constraint (8) is satisfied for the corresponding Markovian flow $F$ . ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
173,
|
| 469 |
+
184,
|
| 470 |
+
826,
|
| 471 |
+
270
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "The forward policy of a GFlowNet can be used to sample trajectories from the corresponding Markovian flow $F$ by iteratively taking actions according to policy $\\mathop { P _ { F } ( - | s ) }$ . If the objective function is globally minimized, then the likelihood of terminating at $x$ is proportional to $R ( x )$ . ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
173,
|
| 480 |
+
276,
|
| 481 |
+
823,
|
| 482 |
+
318
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "In general, an objective optimizing for (8) cannot be minimized directly because $F ( x )$ is a sum over all trajectories leading to $x$ , and computing it may not be practical. Therefore, two local objectives – flow matching and detailed balance – have previously been proposed. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
173,
|
| 491 |
+
324,
|
| 492 |
+
826,
|
| 493 |
+
366
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 3
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "Flow matching objective [3]. A model $F _ { \\theta } ( s , s ^ { \\prime } )$ 2 with learnable parameters $\\theta$ approximates the edge flows $F ( s { } s ^ { \\prime } )$ . The corresponding forward policy is given by $P _ { F } ( s ^ { \\prime } | s ; \\theta ) \\overset { \\sim } { \\propto } F _ { \\theta } ( s , s ^ { \\prime } )$ (Eq. (6)). Denote the corresponding Markovian flow by $F _ { \\theta }$ and distribution over trajectories by $P _ { \\theta }$ . The parameters are trained to minimize the error in the flow matching constraint (2) for all noninitial and nonterminal nodes $s$ : ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
173,
|
| 502 |
+
371,
|
| 503 |
+
826,
|
| 504 |
+
440
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 3
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "equation",
|
| 510 |
+
"img_path": "images/49be41daa672fbbede9863a5d7eabf573fde6d2614b90733593ff48dcfb361b9.jpg",
|
| 511 |
+
"text": "$$\n{ \\mathcal { L } } _ { \\mathrm { F M } } ( s ) = ( \\log { \\frac { \\sum _ { ( s ^ { \\prime \\prime } s ) \\in A } F _ { \\theta } ( s ^ { \\prime \\prime } , s ) } { \\sum _ { ( s s ^ { \\prime } ) \\in A } F _ { \\theta } ( s , s ^ { \\prime } ) } } ) ^ { 2 }\n$$",
|
| 512 |
+
"text_format": "latex",
|
| 513 |
+
"bbox": [
|
| 514 |
+
357,
|
| 515 |
+
436,
|
| 516 |
+
637,
|
| 517 |
+
481
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 3
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "and a similar objective $\\mathcal { L } _ { \\mathrm { F M } } ^ { \\prime }$ pushing the inflow at $x \\in \\mathcal { X }$ to equal $R ( x )$ at terminal nodes $x$ . This objective is optimized for nonterminal states $s$ and terminal states $x$ from trajectories sampled from a training policy $\\pi _ { \\theta }$ . Usually, $\\pi _ { \\theta }$ is chosen to be a tempered (higher temperature) version of $P _ { F } ( - | s , \\theta )$ , which also helps exploration during training. The parameters are updated with stochastic gradient ",
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
481,
|
| 527 |
+
825,
|
| 528 |
+
537
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 3
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "equation",
|
| 534 |
+
"img_path": "images/aae07236965eebc9bb336c1d17cad30d3e3ad3e1c0c72d606e2be809b54bf94b.jpg",
|
| 535 |
+
"text": "$$\n\\mathbb { E } _ { \\tau = ( s _ { 0 } \\dots s _ { n } ) \\sim \\pi _ { \\theta } } \\nabla _ { \\theta } \\Bigg [ \\sum _ { { t = 1 } } ^ { n - 1 } \\mathcal { L } _ { \\mathrm { F M } } ( s _ { t } ) + \\mathcal { L } _ { \\mathrm { F M } } ^ { \\prime } ( s _ { n } ) \\Bigg ] .\n$$",
|
| 536 |
+
"text_format": "latex",
|
| 537 |
+
"bbox": [
|
| 538 |
+
328,
|
| 539 |
+
539,
|
| 540 |
+
668,
|
| 541 |
+
582
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 3
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "As per Proposition 10 of [4], if the training policy $\\pi _ { \\theta }$ has full support, and a global minimum of the expected loss (9) over states on trajectories sampled from $\\pi _ { \\theta }$ is reached, then the GFlowNet samples from the target distribution (i.e., $F _ { \\theta }$ satisfies (8)). ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
173,
|
| 550 |
+
582,
|
| 551 |
+
825,
|
| 552 |
+
625
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 3
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Detailed balance objective [4]. A neural network model with parameters $\\theta$ has input $s$ and three kinds of outputs: an estimated state flow $F _ { \\theta } ( s )$ , an estimated distribution over children $P _ { F } ( - | s ; \\theta )$ , and an estimated distribution over parents $P _ { B } ( - | s ; \\theta )$ . The policy $P _ { F } ( - | - ; \\theta )$ and the initial state flow $F _ { \\theta } ( s _ { 0 } )$ uniquely determine a Markovian flow $F _ { \\theta }$ , which is not necessarily compatible with the estimated backward policy $P _ { B } ( - | - ; \\theta )$ . The error in the detailed balance constraint (7) is optimized on actions $( s { } s ^ { \\prime } )$ ) between nonterminal nodes seen along trajectories sampled from the training policy: ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
173,
|
| 561 |
+
630,
|
| 562 |
+
825,
|
| 563 |
+
727
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 3
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "equation",
|
| 569 |
+
"img_path": "images/2449dd3d939fa1557db1a5ce5e0bc2a3844cb4a75fc38b9910a5b14389ce69e3.jpg",
|
| 570 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { D B } } ( s , s ^ { \\prime } ) = \\left( \\log \\frac { F _ { \\boldsymbol \\theta } ( s ) P _ { F } ( s ^ { \\prime } | s ; \\boldsymbol \\theta ) } { F _ { \\boldsymbol \\theta } ( s ^ { \\prime } ) P _ { B } ( s | s ^ { \\prime } ; \\boldsymbol \\theta ) } \\right) ^ { 2 } ,\n$$",
|
| 571 |
+
"text_format": "latex",
|
| 572 |
+
"bbox": [
|
| 573 |
+
359,
|
| 574 |
+
724,
|
| 575 |
+
637,
|
| 576 |
+
762
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 3
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "and a similar constraint $\\mathcal { L } _ { \\mathrm { D B } } ^ { \\prime } ( s , x )$ is optimized at actions leading to terminal nodes. Similarly to flow matching, the parameters are updated with stochastic gradient ",
|
| 583 |
+
"bbox": [
|
| 584 |
+
176,
|
| 585 |
+
762,
|
| 586 |
+
821,
|
| 587 |
+
790
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 3
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "equation",
|
| 593 |
+
"img_path": "images/0b289784424e10b742870966724632038d49d2bb22cf5c3c42de00856950cae9.jpg",
|
| 594 |
+
"text": "$$\n\\mathbb { E } _ { ( s _ { 0 } \\ldots s _ { n } ) \\sim \\pi _ { \\theta } } \\nabla _ { \\theta } [ \\sum _ { t = 1 } ^ { n - 1 } \\mathcal { L } _ { \\mathrm { D B } } ( s _ { t - 1 } , s _ { t } ) + \\mathcal { L } _ { \\mathrm { D B } } ^ { \\prime } ( s _ { n - 1 } , s _ { n } ) ]\n$$",
|
| 595 |
+
"text_format": "latex",
|
| 596 |
+
"bbox": [
|
| 597 |
+
299,
|
| 598 |
+
791,
|
| 599 |
+
697,
|
| 600 |
+
834
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 3
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "along trajectories sampled from a training policy $\\pi _ { \\theta }$ . By Proposition 6 of [4], a global minimum of the expected detailed balance loss under a $\\pi _ { \\theta }$ with full support specifies a GFlowNet that samples from the target distribution, i.e., the flow $F _ { \\theta }$ satisfies (8). ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
835,
|
| 610 |
+
825,
|
| 611 |
+
877
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 3
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "table",
|
| 617 |
+
"img_path": "images/ac8118953d4e8112adc91eb11480db7cbb648fdae19aceb083f1dc46b09e700f.jpg",
|
| 618 |
+
"table_caption": [],
|
| 619 |
+
"table_footnote": [],
|
| 620 |
+
"table_body": "<table><tr><td>inputReward functionR:X →R>o,model and optimizer hyperparameters</td></tr><tr><td>1:Initialize models PF,Pb,Z with parameters 0</td></tr><tr><td>2: :repeat</td></tr><tr><td>3: Sample trajectory T = (so-→.. → Sn) from policy PF(-|-;0) or a tempered version of it</td></tr><tr><td>4: θ ←θ-nVθLTB(τ) {gradient update on (14)}</td></tr><tr><td>5:</td></tr><tr><td>until convergence monitoring on running LTB(T)</td></tr></table>",
|
| 621 |
+
"bbox": [
|
| 622 |
+
178,
|
| 623 |
+
111,
|
| 624 |
+
823,
|
| 625 |
+
194
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Remarks. In some problems, such as autoregressive sequence generation (§5.3), the directed graph $G$ is a tree, so each state has only one parent. In this case, $P _ { B }$ is trivial and the detailed balance objective reduces to the flow matching objective, which in turn can be shown to be equivalent to Soft Q-Learning [12, 5] with temperature $\\alpha = 1$ , a uniform $q _ { \\mathbf { a ^ { \\prime } } }$ , and $\\gamma = 1$ . ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
226,
|
| 635 |
+
825,
|
| 636 |
+
281
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 4
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "3 Trajectory balance ",
|
| 643 |
+
"text_level": 1,
|
| 644 |
+
"bbox": [
|
| 645 |
+
174,
|
| 646 |
+
303,
|
| 647 |
+
362,
|
| 648 |
+
320
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 4
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "Let $F$ be a Markovian flow and $P$ the corresponding distribution over complete trajectories, defined by (3), and let $P _ { F }$ and $P _ { B }$ be forward and backward policies determined by $F$ . A direct algebraic manipulation of Eqs. (3,4,5) gives the trajectory balance constraint for any complete trajectory $\\tau = ( s _ { 0 } { } s _ { 1 } { } \\dots { } s _ { n } = x _ { , }$ ): ",
|
| 655 |
+
"bbox": [
|
| 656 |
+
173,
|
| 657 |
+
334,
|
| 658 |
+
825,
|
| 659 |
+
392
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 4
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "equation",
|
| 665 |
+
"img_path": "images/5ac647542579febf35c8b556ebe433299bc6851cd8e0a80708da747e81755d09.jpg",
|
| 666 |
+
"text": "$$\nZ \\prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ) = F ( x ) \\prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ) ,\n$$",
|
| 667 |
+
"text_format": "latex",
|
| 668 |
+
"bbox": [
|
| 669 |
+
349,
|
| 670 |
+
400,
|
| 671 |
+
645,
|
| 672 |
+
441
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 4
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "where we have used that $\\begin{array} { r } { P ( s _ { n } = x ) = \\frac { F ( x ) } { Z } } \\end{array}$ . ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
452,
|
| 682 |
+
468,
|
| 683 |
+
469
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 4
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "As explained in $\\ S \\mathrm { A } . 2$ , the trajectory balance constraint (13) and the detailed balance constraint (7) are special cases of one general constraint, which has been studied as a training objective in [18]. ",
|
| 690 |
+
"bbox": [
|
| 691 |
+
174,
|
| 692 |
+
474,
|
| 693 |
+
825,
|
| 694 |
+
503
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 4
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "Trajectory balance as an objective. We propose to convert (13) into an objective to be optimized along trajectories sampled from a training policy. Suppose that a model with parameters $\\theta$ outputs estimated forward policy $P _ { F } ( - | s ; \\theta )$ and backward policy $P _ { B } ( - | s ; \\theta )$ for states $s$ (just as for detailed balance above), as well as a global scalar $Z _ { \\theta }$ estimating $F ( s _ { 0 } )$ . The scalar $Z _ { \\theta }$ and forward policy $P _ { F } ( - | - ; \\theta )$ uniquely determine an implicit Markovian flow $F _ { \\theta }$ . ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
173,
|
| 703 |
+
508,
|
| 704 |
+
825,
|
| 705 |
+
579
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 4
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "For a trajectory $\\tau = ( s _ { 0 } { } s _ { 1 } { } \\dots { } s _ { n } = x )$ ), define the trajectory loss ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
584,
|
| 715 |
+
645,
|
| 716 |
+
601
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 4
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "equation",
|
| 722 |
+
"img_path": "images/ee4666ac35d7b93c14069b566028332fee2bdf01123c4c37dee8c2849dbda8aa.jpg",
|
| 723 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { T B } } ( \\tau ) = \\left( \\log \\frac { Z _ { \\theta } \\prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ; \\theta ) } { R ( x ) \\prod _ { t = 1 } ^ { n } P _ { B } ( s _ { t - 1 } | s _ { t } ; \\theta ) } \\right) ^ { 2 } .\n$$",
|
| 724 |
+
"text_format": "latex",
|
| 725 |
+
"bbox": [
|
| 726 |
+
338,
|
| 727 |
+
609,
|
| 728 |
+
658,
|
| 729 |
+
647
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 4
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "If $\\pi _ { \\theta }$ is a training policy – usually that given by $P _ { F } ( - | - ; \\theta )$ or a tempered version of it – then the trajectory loss is updated along trajectories sampled from $\\pi _ { \\theta }$ , i.e., with stochastic gradient ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
173,
|
| 738 |
+
655,
|
| 739 |
+
823,
|
| 740 |
+
684
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 4
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "equation",
|
| 746 |
+
"img_path": "images/bb5d9cb44d6bf5852896fca3cca24e5b8633461e2849ff782def3b4b682b38a0.jpg",
|
| 747 |
+
"text": "$$\n\\begin{array} { r } { \\mathbb { E } _ { \\tau \\sim \\pi _ { \\theta } } \\nabla _ { \\theta } \\mathcal { L } _ { \\mathrm { T B } } ( \\tau ) . } \\end{array}\n$$",
|
| 748 |
+
"text_format": "latex",
|
| 749 |
+
"bbox": [
|
| 750 |
+
436,
|
| 751 |
+
693,
|
| 752 |
+
562,
|
| 753 |
+
710
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 4
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "The full algorithm, with batch size of 1, is presented as Algorithm 1 and its correctness is guaranteed by the following. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
173,
|
| 762 |
+
718,
|
| 763 |
+
825,
|
| 764 |
+
748
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 4
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Proposition 1. Let $R$ be a positive reward function on $\\mathcal { X }$ . ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
173,
|
| 773 |
+
752,
|
| 774 |
+
553,
|
| 775 |
+
767
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 4
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "(a) If $P _ { F } ( - | - ; \\theta )$ , $P _ { B } ( - | - ; \\theta )$ , and $Z _ { \\theta }$ are the forward and backward policies and normalizing constant of a Markovian flow $F$ satisfying (8), then $\\mathcal { L } _ { \\mathrm { T B } } ( \\tau ) = 0$ for all complete trajectories $\\tau$ \n(b) Conversely, suppose that $\\mathcal { L } _ { \\mathrm { T B } } ( \\tau ) = 0$ for all complete trajectories $\\tau$ . Then the corresponding Markovian flow $F _ { \\theta }$ satisfies (8), and $P _ { F } ( - | - ; \\theta )$ samples proportionally to the reward. ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
176,
|
| 784 |
+
772,
|
| 785 |
+
825,
|
| 786 |
+
830
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 4
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "The proof is given in $\\ S \\mathrm { A . 1 }$ . In particular, if $\\pi _ { \\theta }$ has full support and $\\mathbb { E } _ { \\tau \\sim \\pi _ { \\theta } } \\mathcal { L } _ { \\mathrm { T B } } ( \\tau )$ is globally minimized over all forward and backward policies $( P _ { F } , P _ { B } )$ and normalizing constants $Z$ , then the corresponding Markovian flow $F _ { \\theta }$ satisfies (8) and $P _ { F } ( - | - ; \\theta )$ samples proportionally to the reward. (The positivity assumption on $R$ is necessary to avoid division by 0 in (14), but can be relaxed by introduction of smoothing constants, just as was done for the losses proposed in [3, 4].) ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
173,
|
| 795 |
+
840,
|
| 796 |
+
825,
|
| 797 |
+
912
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 4
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "Remarks. (1) As discussed in $\\ S 2$ , in the case of auto-regressive generation, $G$ is a directed tree, where each $s \\in S$ has a single parent state. In this case $P _ { B }$ is trivially $P _ { B } = 1$ , $\\forall s \\in S$ . We get ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
169,
|
| 806 |
+
90,
|
| 807 |
+
826,
|
| 808 |
+
119
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 5
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "equation",
|
| 814 |
+
"img_path": "images/c091813d0171c25feddeb7ee19e37df848b1d16311c5fb5ce16ae3307e74475c.jpg",
|
| 815 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { T B } } ( \\tau ) = \\left( \\log \\frac { Z _ { \\theta } \\prod _ { t = 1 } ^ { n } P _ { F } ( s _ { t } | s _ { t - 1 } ; \\theta ) } { R ( x ) } \\right) ^ { 2 }\n$$",
|
| 816 |
+
"text_format": "latex",
|
| 817 |
+
"bbox": [
|
| 818 |
+
351,
|
| 819 |
+
130,
|
| 820 |
+
643,
|
| 821 |
+
166
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 5
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "(2) We found it beneficial to parametrize $Z$ in the logarithmic domain $\\log Z$ is the trainable parameter) and output logits for $P _ { F } ( - | s ; \\theta )$ and $P _ { B } { \\big ( } - | s ; \\theta { \\big ) }$ , so that all products in (14) become sums under the logarithm. This is consistent with the log-domain parametrization of flows in [3]. In addition, we found it helpful to set a higher learning rate for $Z$ than for the parameters of $P _ { F }$ and $P _ { B }$ . 3 ",
|
| 828 |
+
"bbox": [
|
| 829 |
+
173,
|
| 830 |
+
176,
|
| 831 |
+
825,
|
| 832 |
+
233
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 5
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "3.1 Canonical choice of reward-matching flow ",
|
| 839 |
+
"text_level": 1,
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
252,
|
| 843 |
+
506,
|
| 844 |
+
267
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 5
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "The constraint (8), in general, does not have a unique solution: if the underlying undirected graph of $G$ has cycles, there may be multiple Markovian flows whose corresponding action policies sample proportionally to the reward. However, by the uniqueness properties, for any choice of backward policy $P _ { B } ( - | - )$ , there is a unique flow satisfying (8), and thus a unique corresponding forward policy $P _ { F } ( - | - )$ for states with nonzero flow. (See Fig. 1.) ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
279,
|
| 854 |
+
825,
|
| 855 |
+
349
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 5
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "In some settings, it may be beneficial to $\\mathit { \\Omega } \\mathcal { f } x$ the backward policy $P _ { B }$ and train only the parameters giving $P _ { F }$ and $Z _ { \\theta }$ . For example, it may difficult to construct a model that outputs a distribution over the parents of a given input state (e.g., for the molecule domain (§5.2), it is hard to force invariance to molecule isomorphism). A natural choice is to set $P _ { B } ( - | s )$ to be uniform over all the parents of a state $s$ , i.e., $P _ { B } ( - | \\bar { s } ) = 1 / \\# \\{ s ^ { \\prime } | ( s ^ { \\prime } { \\to } s ) \\in \\mathcal { A } \\}$ . ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
174,
|
| 864 |
+
354,
|
| 865 |
+
825,
|
| 866 |
+
426
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 5
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "4 Related work ",
|
| 873 |
+
"text_level": 1,
|
| 874 |
+
"bbox": [
|
| 875 |
+
174,
|
| 876 |
+
446,
|
| 877 |
+
316,
|
| 878 |
+
464
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 5
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "Reinforcement learning. GFlowNets are trained to sample proportionally the reward rather than maximize it as usual in RL. However, on tree-structured DAGs (autoregressive generation) are equivalent to RL with appropriate entropy regularization or soft Q-learning and control as inference [5, 12, 13]. The experiments and discussion of [3] show how these methods can fail badly in the general DAG case well handled by GFlowNets. Signal propagation over sequences of several actions in trajectory balance is also related to losses used in RL computed on subtrajectories [22]. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
481,
|
| 888 |
+
825,
|
| 889 |
+
564
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 5
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Local exploration vs. amortized generalization to unseen modes. GFlowNets are also related to MCMC methods for sampling from unnormalized densities. While there has been work on accelerating or partially amortizing sampling from unnormalized densities over discrete spaces when exact sampling is intractable [11, 7], some of it domain- or problem-specific [30], GFlowNets treat the compositional structure in data as a learning problem (enabling generalization to unseen modes), not as a bias to build in to the sampler. Thus, the cost is amortized and borne by the learning of that structure through sampling, not through search at generation time. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
174,
|
| 898 |
+
570,
|
| 899 |
+
825,
|
| 900 |
+
667
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 5
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Variational inference. GFlowNets are connected with variational methods for fitting hierarchical generative models. The squared log-ratio loss proposed in [20] as a control variate in the optimization of an evidence lower bound can be seen as a special case of trajectory balance. See $\\ S \\mathrm { A } . 3$ for further discussion, in which we prove that on-policy optimization of trajectory balance is equivalent to minimization of a certain KL divergence. Two recent papers [31, 19] extend our observations. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
174,
|
| 909 |
+
672,
|
| 910 |
+
825,
|
| 911 |
+
743
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 5
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "5 Experiments ",
|
| 918 |
+
"text_level": 1,
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
766,
|
| 922 |
+
312,
|
| 923 |
+
784
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 5
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "We evaluate the proposed trajectory balance objective against prior objectives for training GFlowNets as well as standard methods for learning policies that approximately sample objects proportionally to their rewards, like MCMC as well as against other RL techniques. Our experiments include the hypergrid and molecule synthesis tasks from [3] and two new tasks in which $G$ is a directed tree. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
174,
|
| 932 |
+
800,
|
| 933 |
+
825,
|
| 934 |
+
856
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 5
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "5.1 Hypergrid environment ",
|
| 941 |
+
"text_level": 1,
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
90,
|
| 945 |
+
379,
|
| 946 |
+
106
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 6
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "In this subsection, we study a synthetic hypergrid environment introduced by [3]. This task is easier than others we study, but we include it for completeness, and because it allows us to illustrate some interesting behaviours.4 ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
176,
|
| 955 |
+
117,
|
| 956 |
+
823,
|
| 957 |
+
160
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 6
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "In this environment, the nonterminal states $S ^ { \\circ }$ form a $D$ -dimensional hypergrid with side length $H$ : ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
171,
|
| 966 |
+
165,
|
| 967 |
+
825,
|
| 968 |
+
181
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 6
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "equation",
|
| 974 |
+
"img_path": "images/0904750fcdafa993b49d82c05084258cf5138032d38f5c2a3481ec9d6b2552d8.jpg",
|
| 975 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { S } ^ { \\circ } = \\{ ( s ^ { 1 } , \\dotsc , s ^ { D } ) \\mid s ^ { d } \\in \\{ 0 , 1 , \\dotsc , H - 1 \\} , d = 1 , \\dotsc , D \\} , } \\end{array}\n$$",
|
| 976 |
+
"text_format": "latex",
|
| 977 |
+
"bbox": [
|
| 978 |
+
292,
|
| 979 |
+
190,
|
| 980 |
+
702,
|
| 981 |
+
210
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 6
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "and actions are operations of incrementing one coordinate in a state by 1 without exiting the grid. The initial state is $( 0 , \\ldots , 0 )$ . For every nonterminal state $s$ , there is also a termination action that transitions to a corresponding terminal state $s ^ { \\top }$ (cf. footnote 1). The reward at a terminal state $s ^ { \\top } = ( s ^ { 1 } , \\ldots , s ^ { d } ) ^ { \\top }$ is given by ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
173,
|
| 990 |
+
219,
|
| 991 |
+
825,
|
| 992 |
+
279
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 6
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "equation",
|
| 998 |
+
"img_path": "images/c086255c7700e2c221e16e94d809b70950cd5f47cdf55fc4b8c8bcc177144200.jpg",
|
| 999 |
+
"text": "$$\nR ( s ^ { \\top } ) = R _ { 0 } + 0 . 5 \\prod _ { d = 1 } ^ { D } \\mathbb { I } \\left[ \\left| \\frac { s ^ { d } } { H - 1 } - 0 . 5 \\right| \\in ( 0 . 2 5 , 0 . 5 ) \\right] + 2 \\prod _ { d = 1 } ^ { D } \\mathbb { I } \\left[ \\left| \\frac { s ^ { d } } { H - 1 } - 0 . 5 \\right| \\in ( 0 . 3 , 0 . 4 ) \\right]\n$$",
|
| 1000 |
+
"text_format": "latex",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
186,
|
| 1003 |
+
287,
|
| 1004 |
+
820,
|
| 1005 |
+
333
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 6
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "where $\\mathbb { I }$ is an indicator function and $R _ { 0 }$ is a constant controlling the difficulty of exploration. This reward has peaks of height $2 . 5 + R _ { 0 }$ near the corners of the hypergrid, surrounded by plateaux of height $0 . 5 + R _ { 0 }$ . These plateaux are separated by wide troughs with reward $R _ { 0 }$ . An illustration with $H = 8$ and $D = 2$ is shown in the left panel of Fig. 1. This environment evaluates the ability of a GFlowNet to generalize from visited states to infer the existence of yet-unvisited modes. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
174,
|
| 1014 |
+
340,
|
| 1015 |
+
825,
|
| 1016 |
+
411
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 6
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "We train GFlowNets with the detailed balance (DB) and trajectory balance (TB) objectives with different $H , D$ , and $R _ { 0 }$ , in addition to reproducing the flow matching (FM) experiments and nonGFlowNet baselines based upon [3]’s published code. Our GFlowNet policy model is a multilayer perceptron (MLP) that accepts as input a one-hot encoding of a state $s$ (with the goal of enabling generalization) and outputs logits of the forward and backward policies $P _ { F } ( - | - ; \\theta )$ and $P _ { B } ( - | - ; \\bar { \\theta ) }$ (as well as the estimated state flow $F _ { \\theta } ( s )$ in the case of DB). The forward policy, backward policy, and state flow models share all but the last weight matrix of the MLP. This is consistent with [3]’s model, where an identical architecture accepted $s$ as input and output estimated flows $F _ { \\theta } ( s , s ^ { \\prime } )$ for all children $s ^ { \\prime }$ of $s$ . Details are given in $\\ S \\mathrm { B } . 1$ . ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
416,
|
| 1026 |
+
825,
|
| 1027 |
+
542
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 6
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "We consider a 4-dimensional grid with $H = 8$ and and a 2-dimensional grid with $H = 6 4$ . The two grids have the same number of terminal states, but the 2-dimensional grid has longer expected trajectory lengths. For both grid sizes, we consider $R _ { 0 } = 0 . 1 , 0 . 0 1 , 0 . 0 0 1$ , with smaller $R _ { 0 }$ giving environments that are more difficult to explore due to the lower likelihood for models to cross the low-reward valley. For the models trained with DB and TB, we also explore the effect of fixing the backward policy to be uniform (§3.1). ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
173,
|
| 1036 |
+
547,
|
| 1037 |
+
825,
|
| 1038 |
+
632
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 6
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Results. In Fig. 2, we plot the evolution over the course of training of the $L _ { 1 }$ error between the true reward distribution (the reward $R ( x )$ normalized over all possible terminal states $x \\in \\mathcal { X }$ ) and the empirical distribution of the last $2 \\cdot 1 0 ^ { 5 }$ visited states for all settings (which would have a probability of 0 on $x$ ’s not visited). Although convergence to the same stable minimum is achieved by all models and settings, DB and TB training tend to converge faster than FM, with a slight benefit of TB over detailed balance in the 4-D environment. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
637,
|
| 1048 |
+
825,
|
| 1049 |
+
720
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 6
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Effect of uniform $P _ { B }$ . Note the difference in learning speed between models with fixed uniform backward policy $P _ { B }$ and models with learned $P _ { B }$ . As noted in $\\ S 3 . 1$ , when $P _ { B }$ is fixed, there is a unique $P _ { F } ( - | - ; \\theta )$ that globally minimizes the objective, and it may be approached slowly. However, if $P _ { B }$ and $P _ { F }$ are permitted to evolve jointly, they may more quickly approach one of the many optimal solutions. This is confirmed by the much faster convergence of models with learned $P _ { B }$ on the $6 4 \\times 6 4$ grid. We have observed that, especially for large grid sizes, when $P _ { B }$ and $P _ { F }$ are both learned, the model has a bias towards first taking all actions in one coordinate direction, then proceeding in the other direction until terminating (as in the right panel of Fig. 1), perhaps because a constant distribution over two actions (‘continue to the right’ and ‘terminate’) can be modeled with higher precision over a large portion of the grid than the complex position-dependent distribution as shown in the centre panel of Fig. 1. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
173,
|
| 1058 |
+
727,
|
| 1059 |
+
825,
|
| 1060 |
+
880
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 6
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "image",
|
| 1066 |
+
"img_path": "images/ded6a0e6aeeb36a8fca4f2a53a0ac9b4780587b26edd97879125f61902ebe953.jpg",
|
| 1067 |
+
"image_caption": [
|
| 1068 |
+
"Figure 1: Left: The reward function on an $8 \\times 8$ grid environment (§5.1) with $R _ { 0 } = 0 . 1$ . Centre and right: Two forward action policies – with fixed uniform $P _ { B }$ and with a learned non-uniform $P _ { B }$ – that sample from this reward. The lengths of arrows pointing up and right from each state are proportional to the likelihoods of the corresponding actions under $P _ { F }$ , and the sizes of the red octagons are proportional to the termination action likelihoods. "
|
| 1069 |
+
],
|
| 1070 |
+
"image_footnote": [],
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
181,
|
| 1073 |
+
87,
|
| 1074 |
+
820,
|
| 1075 |
+
213
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 7
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "image",
|
| 1081 |
+
"img_path": "images/3aeacba67763413defdfe1bedbc1bc1d526cfa60de51d0701ad1a28e53b69088.jpg",
|
| 1082 |
+
"image_caption": [
|
| 1083 |
+
"Figure 2: Empirical $L ^ { 1 }$ error between true and sampled state distributions on the grid environment with varying grid size and $R _ { 0 }$ . Mean and standard error over 5 seeds. The curves for PPO and MCMC baseline would lie outside the plot bounds. "
|
| 1084 |
+
],
|
| 1085 |
+
"image_footnote": [],
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
178,
|
| 1088 |
+
313,
|
| 1089 |
+
816,
|
| 1090 |
+
402
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 7
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "5.2 Small drug molecule synthesis ",
|
| 1097 |
+
"text_level": 1,
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
176,
|
| 1100 |
+
479,
|
| 1101 |
+
421,
|
| 1102 |
+
493
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 7
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Next, we consider the molecule generation task [30, 15, 16, 10, 24] introduced for GFlowNets in [3]. We extend [3]’s published code with an implementation of the TB and DB objectives.5 ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
173,
|
| 1111 |
+
503,
|
| 1112 |
+
823,
|
| 1113 |
+
534
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 7
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "The goal is to generate molecules, in the form of graphs, with a low binding energy to the 4JNC inhibitor of the sEH (soluble epoxide hydrolase) protein. The graphs generated are junction trees [15] of a vocabulary of building blocks. The reward is defined as the normalized negative binding energy as predicted by a proxy model, itself trained to predict energies computed via docking simulations [26]. The maximum trajectory length is 8, with the number of actions varying between around 100 and 2000 (the larger a molecule, the more possible additions exist), making $| \\mathcal { X } |$ about $1 0 ^ { 1 6 }$ . ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
174,
|
| 1122 |
+
539,
|
| 1123 |
+
825,
|
| 1124 |
+
622
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 7
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Results. We plot in Fig. 3 (left and centre) the correlation of log-reward and log-sampling probability (the likelihood that a trajectory sampled from the learned policy terminates at $x$ ) for GFlowNets trained using TB, FM and DB. This correlation is significantly higher for models trained with TB. The points $x$ shown are from a fixed held-out set to which the GFlowNets do not have access in training. Note that a perfect model would have correlation 1, as $\\log R ( x )$ and $\\log p _ { \\theta } ( x )$ would differ by a constant (equal to $\\log Z ,$ ) that is independent of $x$ . ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
174,
|
| 1133 |
+
628,
|
| 1134 |
+
825,
|
| 1135 |
+
712
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 7
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "In Fig. 3 (right) we plot the average pairwise Tanimoto similarity [1] for the 1000 highest-reward samples generated over the course of training. We see that TB consistently generates more diverse molecules than FM. These results showcase the benefits of TB, not only for faster temporal credit assignment, but for generalization and diversity. In addition, TB has up to $5 \\times$ runtime speedup over FM as the enumeration of parents is not needed. See $\\ S \\mathrm { B } . 2$ for further discussion. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
174,
|
| 1144 |
+
718,
|
| 1145 |
+
825,
|
| 1146 |
+
787
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 7
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "5.3 Autoregressive sequence generation ",
|
| 1153 |
+
"text_level": 1,
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
176,
|
| 1156 |
+
805,
|
| 1157 |
+
459,
|
| 1158 |
+
819
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 7
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Finally, we evaluate the TB objective on the task of autoregressive sequence generation. In $\\ S 5 . 3 . 1$ , we study the effect of trajectory length and action space size on the learning dynamics in GFlowNets. In $\\ S 5 . 3 . 2$ , we consider the more realistic task of generating peptides (short protein sequences with anti-microbial properties) and evaluate GFlowNets against standard RL and MCMC baselines. ",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
174,
|
| 1167 |
+
830,
|
| 1168 |
+
826,
|
| 1169 |
+
886
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 7
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "image",
|
| 1175 |
+
"img_path": "images/2cbc6b95517804bfa1dbab6c862f71e4510105e6928bdd1ce93d4592dcfa915b.jpg",
|
| 1176 |
+
"image_caption": [
|
| 1177 |
+
"Figure 3: Left, Centre: Pearson correlations between rewards and sampling probability. $\\log p _ { \\theta } ( x )$ is the log-likelihood that a trajectory sampled from the learned policy $P _ { F } \\bar { ( } - | \\bar { - } ; \\theta )$ terminates at $x$ . Left: Scatter plot on a test set of $x$ ’s for the best hyperparameters of TB, FM, and DB. Centre: Violin plot of correlations for 16 hyperparameter settings and 3 seeds for each setting, showing TB being capable of fitting better. Right: Average pairwise Tanimoto similarity for the top 1000 samples generated by GFlowNets as training progresses. Lines are the average across runs, shaded regions the standard deviation. Models trained with TB have consistently lower similarity than those with FM, hence greater diversity. We hypothesize that the higher variance, in correlation and diversity, of TB relative to DB is related to high variance of the stochastic gradient; see [18]. "
|
| 1178 |
+
],
|
| 1179 |
+
"image_footnote": [],
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
179,
|
| 1182 |
+
107,
|
| 1183 |
+
799,
|
| 1184 |
+
250
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "5.3.1 Bit sequences ",
|
| 1191 |
+
"text_level": 1,
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
174,
|
| 1194 |
+
407,
|
| 1195 |
+
318,
|
| 1196 |
+
421
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 8
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Task. The goal is to generate bit sequences of a fixed length $n = 1 2 0$ $\\mathcal { X } = \\{ 0 , 1 \\} ^ { n } )$ , where the reward is designed to have modes at a given fixed set $M \\subset \\mathcal { X }$ that is unknown to the learner. The reward for a sequence $x$ is defined as $\\begin{array} { r } { \\bar { R ( x ) } = \\exp ( - \\operatorname* { m i n } _ { y \\in M } d ( x , y ) ) } \\end{array}$ , where $d$ is the edit distance. We describe the procedure to generate $M$ in $\\ S \\mathrm { B } . 3$ . ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
174,
|
| 1205 |
+
431,
|
| 1206 |
+
825,
|
| 1207 |
+
486
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 8
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "For different integers $k$ dividing $n$ , we design action spaces for left-to-right generation of sequences in $\\mathcal { X }$ , where a complete trajectory has $\\frac { n } { k }$ actions and each action appends a $k$ -bit ‘word’ to the end of a partial sequence. A forward policy on this state space is the same an autoregressive sequence model over a vocabulary of size $2 ^ { k }$ . Varying $k$ while fixing $\\mathcal { X }$ and $M$ allows us to study the effect of the tradeoff between trajectory lengths $\\textstyle { \\binom { n } { k } }$ and the action space sizes $( | V | = 2 ^ { k }$ ) without changing the underlying probabilistic modeling problem. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
173,
|
| 1216 |
+
492,
|
| 1217 |
+
825,
|
| 1218 |
+
577
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 8
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "We compare GFlowNets trained with the TB objective against GFlowNets trained with the FM objective (equivalent to DB and Soft Q-Learning in this case) and two non-GFlowNet baselines: A2C with Entropy Regularization [29, 21], Soft Actor-Critic [13, 6] and MARS [30]. We use a Transformer-based architecture [28] across all the methods. See $\\ S \\mathbf { B } . 3$ for details. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
174,
|
| 1227 |
+
582,
|
| 1228 |
+
825,
|
| 1229 |
+
638
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 8
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "To evaluate the methods we use (1) Spearman correlation between the probability of generating the sequence $p ( x ) = F ( x ) / Z$ and its reward $R ( x )$ on a test set sampled approximately uniformly over the possible values of the reward, (2) number of modes captured (number of reference sequences from $M$ for which a candidate within a distance $\\delta$ has been generated). In our experiments, $n = 1 2 0$ , $| M | = 6 0$ , $k \\in \\{ 1 , 2 , 4 , 6 , 8 , 1 0 \\}$ , and $\\delta = 2 0$ . ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
174,
|
| 1238 |
+
645,
|
| 1239 |
+
825,
|
| 1240 |
+
714
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 8
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Results. Fig. 4 (left) presents the results for the Spearman correlation evaluation. We observe that GFlowNets trained with the TB objective learn policies that correlate best with the reward $R ( x )$ across all action spaces. In particular, we observe the effect of inefficient credit assignment in GFlowNets trained with FM, as the correlation improves with increasing $k$ , i.e., shorter trajectories. On the other hand, large action spaces also hurt GFlowNets trained with the FM objective, while the TB objective is robust to them. Additionally, we can observe in Fig. 4 (right) that for fixed $k$ , GFlowNets trained with TB discover more modes faster than other methods. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
174,
|
| 1249 |
+
719,
|
| 1250 |
+
826,
|
| 1251 |
+
818
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 8
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "5.3.2 Anti-Microbial Peptide (AMP) generation ",
|
| 1258 |
+
"text_level": 1,
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
173,
|
| 1261 |
+
832,
|
| 1262 |
+
516,
|
| 1263 |
+
847
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 8
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "In this section, we consider the practical task of generating peptide sequences that have anti-microbial activity. The goal is to generate a protein sequence (where the vocabulary consists of 20 amino acids and a special end-of-sequence action), with maximum length 60. We take 6438 known AMP sequences and 9522 non-AMP sequences from the DBAASP database [23]. We then train a classifier on this dataset, using $2 0 \\%$ of the data as a validation set. The probability output by this model for a sequence to be classified as an AMP is used as the reward $R ( x )$ in our experiments. ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
173,
|
| 1272 |
+
856,
|
| 1273 |
+
516,
|
| 1274 |
+
911
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 8
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "table",
|
| 1280 |
+
"img_path": "images/e64b75eb03bc20e669181919a948144ab595a89968fc0d1404e6e03537ef6b4d.jpg",
|
| 1281 |
+
"table_caption": [
|
| 1282 |
+
"Table 1: Results on the AMP generation task. "
|
| 1283 |
+
],
|
| 1284 |
+
"table_footnote": [],
|
| 1285 |
+
"table_body": "<table><tr><td></td><td>Top 100 Reward</td><td>Top 100Diversity</td></tr><tr><td>GFN-LTB</td><td>0.85 ± 0.03</td><td>18.35±1.65</td></tr><tr><td>GFN-LFM/LDB</td><td>0.78±0.05</td><td>12.61 ± 1.32</td></tr><tr><td>SAC</td><td>0.80±0.01</td><td>8.36±1.44</td></tr><tr><td>AAC-ER</td><td>0.79±0.02</td><td>7.32 ± 0.76</td></tr><tr><td>MCMC</td><td>0.75±0.02</td><td>12.56±1.45</td></tr></table>",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
532,
|
| 1288 |
+
848,
|
| 1289 |
+
821,
|
| 1290 |
+
924
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 8
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "image",
|
| 1296 |
+
"img_path": "images/e419992c7749710eb2081ca5ec30da443d61590a54d3a58a98203d0418f75fb5.jpg",
|
| 1297 |
+
"image_caption": [
|
| 1298 |
+
"Figure 4: Left: Spearman correlation of the sampling probability under different learned policies and reward on a test set, plotted against the number of bits $k$ in the symbols in $V$ in the bit sequence generation task. GFlowNets trained with trajectory balance learn policies that have the highest correlation with the reward $R ( x )$ and are robust to length and vocabulary size. Right: Number of modes discovered over the course of training on the bit sequence generation task with $k = 1$ . GFlowNets trained with trajectory balance discover more modes faster. "
|
| 1299 |
+
],
|
| 1300 |
+
"image_footnote": [],
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
191,
|
| 1303 |
+
93,
|
| 1304 |
+
803,
|
| 1305 |
+
229
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 9
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
173,
|
| 1314 |
+
349,
|
| 1315 |
+
825,
|
| 1316 |
+
406
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 9
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "The state and actions are designed just as in the previous experiment, with each action appending a symbol to the right of a state. We again compare TB and FM, as well as A2C with entropy regularization, SAC and MCMC as baselines. We again use Transformers for all the experiments on this task; see further details in Appendix B.4. We generate 2048 sequences from each method, and pick the top 100 sequences ranked by their reward $R ( x )$ . As metrics, we use the mean reward for these 100 sequences and the average pairwise edit distance among them as a measure of diversity. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
174,
|
| 1325 |
+
412,
|
| 1326 |
+
825,
|
| 1327 |
+
496
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 9
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Results. We present the results in Table 1, where we observe that GFlowNets trained with TB outperform all baselines on both performance and diversity metrics. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
173,
|
| 1336 |
+
502,
|
| 1337 |
+
821,
|
| 1338 |
+
530
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 9
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "6 Discussion and conclusion ",
|
| 1345 |
+
"text_level": 1,
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
176,
|
| 1348 |
+
549,
|
| 1349 |
+
421,
|
| 1350 |
+
566
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 9
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "We introduced a novel training loss for GFlowNets, trajectory balance (TB), which yields faster and better training than the previously proposed flow matching (FM) and detailed balance (DB) losses. We proved that this objective, when minimized, yields the desired GFlowNet property of sampling from the target distribution specified by an unnormalized reward function. This new loss was motivated by the observation that the FM and DB losses are local in the action sequence and may require many iterations for credit assignment to propagate to early actions: if a gradient update introduces a flow inconsistency at some state far from the initial state (such as when a novel high-reward state is sampled), the parent of this state must be visited before the update is propagated closer to the root, akin to the slow propagation of reward signals in temporal difference learning. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
174,
|
| 1359 |
+
580,
|
| 1360 |
+
825,
|
| 1361 |
+
705
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 9
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "We empirically found that TB discovered more modes of the energy function faster and was more robust than FM and DB to the exponential growth of the state space, due in part to the lengths of sequences and in part to the size of the action space. A factor to consider when interpreting our experimental results is that because we use a neural net rather than a tabular representation of policies, the early states’ transitions are informed by downstream credit assignment via parameter sharing. Early states also get many more visits because there are more possible states near the ends of sequences than near the initial state. Finally, TB trades off the advantage of immediately providing credit to early states with the disadvantage of relying on sampling of long trajectories and thus a potentially higher variance of the stochastic gradient. The high gradient variance is a possible limitation of TB in difficult environments, and ways to overcome it by interpolating between local and trajectory-level objectives have been studied in subsequent work [18]. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
173,
|
| 1370 |
+
712,
|
| 1371 |
+
825,
|
| 1372 |
+
863
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 9
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "All in all, we found that trajectory balance is a superior training objective in a broad set of experiments, making it the default choice for future work on GFlowNets. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
173,
|
| 1381 |
+
871,
|
| 1382 |
+
823,
|
| 1383 |
+
898
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 9
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Acknowledgments ",
|
| 1390 |
+
"text_level": 1,
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
176,
|
| 1393 |
+
89,
|
| 1394 |
+
330,
|
| 1395 |
+
106
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 10
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "This research was enabled in part by computational resources provided by Compute Canada. All authors are funded by their primary academic institution. We also acknowledge funding from CIFAR, Samsung, IBM, Microsoft, and the Banting Postdoctoral Fellowship. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
176,
|
| 1404 |
+
121,
|
| 1405 |
+
826,
|
| 1406 |
+
162
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 10
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "The authors are grateful to all the members of the Mila GFlowNet group, in particular to Dinghuai Zhang, for many fruitful research discussions, as well as to Yiheng Zhu for feedback on the published code. We also thank the anonymous reviewers for their comments. ",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
174,
|
| 1415 |
+
167,
|
| 1416 |
+
826,
|
| 1417 |
+
210
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 10
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "References ",
|
| 1424 |
+
"text_level": 1,
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
174,
|
| 1427 |
+
231,
|
| 1428 |
+
266,
|
| 1429 |
+
247
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 10
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "[1] Bender, A. and Glen, R. C. Molecular similarity: a key technique in molecular informatics. Organic & biomolecular chemistry, 2(22):3204–3218, 2004. [2] Bengio, E., Pineau, J., and Precup, D. Interference and generalization in temporal difference learning. International Conference on Machine Learning (ICML), 2020. \n[3] Bengio, E., Jain, M., Korablyov, M., Precup, D., and Bengio, Y. Flow network based generative models for non-iterative diverse candidate generation. Neural Information Processing Systems (NeurIPS), 2021. \n[4] Bengio, Y., Lahlou, S., Deleu, T., Hu, E., Tiwari, M., and Bengio, E. GFlowNet foundations. arXiv preprint 2111.09266, 2021. \n[5] Buesing, L., Heess, N., and Weber, T. Approximate inference in discrete distributions with Monte Carlo tree search and value functions. Artificial Intelligence and Statistics (AISTATS), 2019. \n[6] Christodoulou, P. Soft actor-critic for discrete action settings. arXiv preprint arXiv:1910.07207, 2019. \n[7] Dai, H., Singh, R., Dai, B., Sutton, C., and Schuurmans, D. Learning discrete energy-based models via auxiliary-variable local exploration. Neural Information Processing Systems (NeurIPS), 2020. [8] Deleu, T., Góis, A., Emezue, C., Rankawat, M., Lacoste-Julien, S., Bauer, S., and Bengio, Y. Bayesian structure learning with generative flow networks. Uncertainty in Artificial Intelligence (UAI), 2022. \n[9] Ford, L. R. and Fulkerson, D. R. Maximal flow through a network. Canadian Journal of Mathematics, 8:243–248, 1956. \n[10] Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O., and Dahl, G. E. Neural message passing for quantum chemistry. International Conference on Machine Learning (ICML), 2017. \n[11] Grathwohl, W., Swersky, K., Hashemi, M., Duvenaud, D. K., and Maddison, C. J. Oops I took a gradient: Scalable sampling for discrete distributions. International Conference on Machine Learning (ICML), 2021. \n[12] Haarnoja, T., Tang, H., Abbeel, P., and Levine, S. Reinforcement learning with deep energybased policies. International Conference on Machine Learning (ICML), 2017. \n[13] Haarnoja, T., Zhou, A., Abbeel, P., and Levine, S. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. International Conference on Machine Learning (ICML), 2018. \n[14] Jain, M., Bengio, E., Hernandez-Garcia, A., Rector-Brooks, J., Dossou, B. F., Ekbote, C., Fu, J., Zhang, T., Kilgour, M., Zhang, D., Simine, L., Das, P., and Bengio, Y. Biological sequence design with GFlowNets. International Conference on Machine Learning (ICML), 2022. \n[15] Jin, W., Barzilay, R., and Jaakkola, T. Chapter 11. junction tree variational autoencoder for molecular graph generation. Drug Discovery, pp. 228–249, 2020. ISSN 2041-3211. \n[16] Kumar, A., Voet, A., and Zhang, K. Fragment based drug design: from experimental to computational approaches. Current medicinal chemistry, 19(30):5128–5147, 2012. \n[17] Kumar, A., Agarwal, R., Ghosh, D., and Levine, S. Implicit under-parameterization inhibits dataefficient deep reinforcement learning. International Conference on Learning Representations (ICLR), 2021. \n[18] Madan, K., Rector-Brooks, J., Korablyov, M., Bengio, E., Jain, M., Nica, A., Bosc, T., Bengio, Y., and Malkin, N. Learning GFlowNets from partial episodes for improved convergence and stability. arXiv preprint 2209.12782, 2022. \n[19] Malkin, N., Lahlou, S., Deleu, T., Ji, X., Hu, E., Everett, K., Zhang, D., and Bengio, Y. GFlowNets and variational inference. arXiv preprint 2210.00580, 2022. \n[20] Mnih, A. and Gregor, K. Neural variational inference and learning in belief networks. International Conference on Machine Learning (ICML), 2014. \n[21] Mnih, V., Badia, A. P., Mirza, M., Graves, A., Lillicrap, T., Harley, T., Silver, D., and Kavukcuoglu, K. Asynchronous methods for deep reinforcement learning. International Conference on Machine Learning (ICML), 2016. \n[22] Nachum, O., Norouzi, M., Xu, K., and Schuurmans, D. Bridging the gap between value and policy based reinforcement learning. Neural Information Processing Systems (NeurIPS), 2017. \n[23] Pirtskhalava, M., Amstrong, A. A., Grigolava, M., Chubinidze, M., Alimbarashvili, E., Vishnepolsky, B., Gabrielian, A., Rosenthal, A., Hurt, D. E., and Tartakovsky, M. Dbaasp v3: Database of antimicrobial/cytotoxic activity and structure of peptides as a resource for development of new therapeutics. Nucleic Acids Research, 49(D1):D288–D297, 2021. \n[24] Shi, Y., Huang, Z., Feng, S., Zhong, H., Wang, W., and Sun, Y. Masked label prediction: Unified message passing model for semi-supervised classification. International Joint Conference on Artificial Intelligence (IJCAI), 2021. \n[25] Sutton, R. S. and Barto, A. G. Reinforcement learning: An introduction. MIT Press, 2018. \n[26] Trott, O. and Olson, A. J. AutoDock Vina: improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading. Journal of computational chemistry, 31(2):455–461, 2010. \n[27] van Hasselt, H., Doron, Y., Strub, F., Hessel, M., Sonnerat, N., and Modayil, J. Deep reinforcement learning and the deadly triad. arXiv preprint 1812.02648, 2018. \n[28] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need. Neural Information Processing Systems (NeurIPS), 2017. \n[29] Williams, R. J. and Peng, J. Function optimization using connectionist reinforcement learning algorithms. Connection Science, 3(3):241–268, 1991. \n[30] Xie, Y., Shi, C., Zhou, H., Yang, Y., Zhang, W., Yu, Y., and Li, L. MARS: Markov molecular sampling for multi-objective drug discovery. International Conference on Learning Representations (ICLR), 2021. \n[31] Zhang, D., Chen, R. T. Q., Malkin, N., , and Bengio, Y. Unifying generative models with GFlowNets. arXiv preprint 2209.02606, 2022. \n[32] Zhang, D., Malkin, N., Liu, Z., Volokhova, A., Courville, A., and Bengio, Y. Generative flow networks for discrete probabilistic modeling. International Conference on Machine Learning (ICML), 2022. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
178,
|
| 1438 |
+
251,
|
| 1439 |
+
828,
|
| 1440 |
+
915
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 10
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
168,
|
| 1449 |
+
27,
|
| 1450 |
+
828,
|
| 1451 |
+
909
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 11
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "Checklist ",
|
| 1458 |
+
"text_level": 1,
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
174,
|
| 1461 |
+
89,
|
| 1462 |
+
254,
|
| 1463 |
+
106
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 12
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"text": "1. For all authors... ",
|
| 1470 |
+
"bbox": [
|
| 1471 |
+
214,
|
| 1472 |
+
116,
|
| 1473 |
+
339,
|
| 1474 |
+
130
|
| 1475 |
+
],
|
| 1476 |
+
"page_idx": 12
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "text",
|
| 1480 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] This is mainly a paper about theory and algorithms. Future work that applies these algorithms, in particular for domains where they can most immediately have an impact (e.g., molecule design for drug discovery), should consider the limitations and negative societal impacts of these applications. \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] See previous. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1481 |
+
"bbox": [
|
| 1482 |
+
238,
|
| 1483 |
+
136,
|
| 1484 |
+
825,
|
| 1485 |
+
295
|
| 1486 |
+
],
|
| 1487 |
+
"page_idx": 12
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "text",
|
| 1491 |
+
"text": "2. If you are including theoretical results... ",
|
| 1492 |
+
"bbox": [
|
| 1493 |
+
214,
|
| 1494 |
+
299,
|
| 1495 |
+
493,
|
| 1496 |
+
314
|
| 1497 |
+
],
|
| 1498 |
+
"page_idx": 12
|
| 1499 |
+
},
|
| 1500 |
+
{
|
| 1501 |
+
"type": "text",
|
| 1502 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] See $\\ S \\mathrm { A } . 1$ ",
|
| 1503 |
+
"bbox": [
|
| 1504 |
+
238,
|
| 1505 |
+
318,
|
| 1506 |
+
746,
|
| 1507 |
+
349
|
| 1508 |
+
],
|
| 1509 |
+
"page_idx": 12
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"type": "text",
|
| 1513 |
+
"text": "3. If you ran experiments... ",
|
| 1514 |
+
"bbox": [
|
| 1515 |
+
214,
|
| 1516 |
+
353,
|
| 1517 |
+
393,
|
| 1518 |
+
367
|
| 1519 |
+
],
|
| 1520 |
+
"page_idx": 12
|
| 1521 |
+
},
|
| 1522 |
+
{
|
| 1523 |
+
"type": "text",
|
| 1524 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] For the grid and molecule environments. [No] For the other environments. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See the Appendix. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See the Appendix. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See the Appendix. ",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
238,
|
| 1527 |
+
372,
|
| 1528 |
+
825,
|
| 1529 |
+
503
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 12
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
212,
|
| 1538 |
+
508,
|
| 1539 |
+
823,
|
| 1540 |
+
523
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 12
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "text",
|
| 1546 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See the relevant experiment sections. \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] References to the molecule and AMP sequence data are provided. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] No new data collection was done. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] Not relevant for the domains studied. ",
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
238,
|
| 1549 |
+
526,
|
| 1550 |
+
825,
|
| 1551 |
+
662
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 12
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
215,
|
| 1560 |
+
666,
|
| 1561 |
+
707,
|
| 1562 |
+
680
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 12
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "text",
|
| 1568 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1569 |
+
"bbox": [
|
| 1570 |
+
238,
|
| 1571 |
+
685,
|
| 1572 |
+
825,
|
| 1573 |
+
773
|
| 1574 |
+
],
|
| 1575 |
+
"page_idx": 12
|
| 1576 |
+
}
|
| 1577 |
+
]
|
parse/dev/5btWTw1vcw1/5btWTw1vcw1_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5btWTw1vcw1/5btWTw1vcw1_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5haAJAcofjc/5haAJAcofjc.md
ADDED
|
@@ -0,0 +1,371 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# General Cutting Planes for Bound-Propagation-Based Neural Network Verification
|
| 2 |
+
|
| 3 |
+
Huan Zhang\*,1 Shiqi Wang\*,2 Kaidi Xu\*,3
|
| 4 |
+
Linyi Li4 Bo Li4 Suman Jana2 Cho-Jui Hsieh5 J. Zico Kolter1,6
|
| 5 |
+
2Columbia University 3Drexel University 4UIUC 5UCLA 6Bosch Center for AI
|
| 6 |
+
huan@huan-zhang.com sw3215@columbia.edu kx46@drexel.edu
|
| 7 |
+
linyi2@illinois.edu lbo@illinois.edu suman@cs.columbia.edu chohsieh@cs.ucla.edu zkolter@cs.cmu.edu
|
| 8 |
+
|
| 9 |
+
\* Equal Contribution
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Bound propagation methods, when combined with branch and bound, are among the most effective methods to formally verify properties of deep neural networks such as correctness, robustness, and safety. However, existing works cannot handle the general form of cutting plane constraints widely accepted in traditional solvers, which are crucial for strengthening verifiers with tightened convex relaxations. In this paper, we generalize the bound propagation procedure to allow the addition of arbitrary cutting plane constraints, including those involving relaxed integer variables that do not appear in existing bound propagation formulations. Our generalized bound propagation method, GCP-CROWN, opens up the opportunity to apply general cutting plane methods for neural network verification while benefiting from the efficiency and GPU acceleration of bound propagation methods. As a case study, we investigate the use of cutting planes generated by off-the-shelf mixed integer programming (MIP) solver. We find that MIP solvers can generate high-quality cutting planes for strengthening bound-propagation-based verifiers using our new formulation. Since the branching-focused bound propagation procedure and the cutting-plane-focused MIP solver can run in parallel utilizing different types of hardware (GPUs and CPUs), their combination can quickly explore a large number of branches with strong cutting planes, leading to strong verification performance. Experiments demonstrate that our method is the first verifier that can completely solve the oval20 benchmark and verify twice as many instances on the oval21 benchmark compared to the best tool in VNN-COMP 2021, and also noticeably outperforms state-of-the-art verifiers on a wide range of benchmarks. GCP-CROWN is part of the $\alpha , \beta$ -CROWN verifier, the VNN-COMP 2022 winner. Code is available at http://PaperCode.cc/GCP-CROWN.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Neural network (NN) verification aims to formally prove or disprove certain properties (e.g., correctness and safety properties) of a NN under a certain set of inputs. These methods can provide worst-case performance guarantees of a NN, and have been applied to mission-critical applications that involve neural networks, such as automatic aircraft control [31, 4], learning-enabled cyber-physical systems [54], and NN based algorithms in an operating system [51].
|
| 18 |
+
|
| 19 |
+
The NN verification problem is generally NP-complete [30]. For piece-wise linear networks, it can be encoded as a mixed integer programming (MIP) [53] problem with the non-linear ReLU neurons described by binary variables. Thus, fundamentally, the NN verification problem can be solved using the branch and bound (BaB) [10] method similar to generic MIP solvers, by branching some binary variables and relaxing the rest into a convex problem such as linear programming (LP) to obtain bounds on the objective. Although early neural network verifiers relied on off-the-shelf CPU-based LP solvers [36, 9] for bounding in BaB, LP solvers do not scale well to large NNs. Thus, many recent verifiers are instead based on efficient and GPU-accelerated algorithms customized to NN verification, such as bound propagation methods [60, 57], Lagrangian decomposition methods [8, 17] and others [16, 11]. Bound propagation methods, presented in a few different formulations [58, 18, 56, 61, 50, 25], empower state-of-the-art NN verifiers such as $\alpha , \beta$ -CROWN [61, 60, 57] and VeriNet [3], and can achieve two to three orders of magnitudes speedup compared to solving the NN verification problem using an off-the-shelf solver directly [57], especially on large networks.
|
| 20 |
+
|
| 21 |
+
Despite the success of existing NN verifiers, we experimentally find that state-of-the-art NN verifiers may timeout on certain hard instances which a generic MIP solver can solve relatively quickly, sometimes even without branching. Compared to an MIP solver, a crucial factor missing in most scalable NN verifiers is the ability to efficiently generate and solve general cutting planes (or “cuts”). In generic MIP solvers, cutting planes are essential to strengthen the convex relaxation, so that much less branching is required. Advanced cutting planes are among the most important factors in modern MIP solvers [6]; they can strengthen the convex relaxation without removing any valid integer solution from the MIP formulation. In the setting of NN verification, cutting planes reflects complex intra-layer and inter-layer dependencies between multiple neurons, which cannot be easily captured by existing bound propagation methods with single neuron relaxations [45]. This motivates us to seek the combination of efficient bound propagation method with effective cutting planes to further increase the power of NN verifiers.
|
| 22 |
+
|
| 23 |
+
A few key factors make the inclusion of general cutting planes in NN verifiers quite challenging. First, existing efficient bound propagation frameworks such as CROWN [61] and $\beta$ -CROWN [57] cannot solve general cutting plane constraints that may involve variables across different layers in the MIP formulation. Particularly, these frameworks do not explicitly include the integer variables in the MIP formulation that are crucial when encoding many classical strong cutting planes, such as Gomory cuts and mixed integer rounding (MIR) cuts. Furthermore, although some existing works [47, 52, 40] enhanced the basic convex relaxation used in NN verification (such as the Planet relaxation [19]), these enhanced relaxations involve only one or a few neurons in a single layer or two adjacent layers, and are not general enough. In addition, an LP solver is often required to handle these additional cutting plane constraints [40], for which the efficient and GPU-accelerated bound propagation cannot be used, so the use of these tighter relaxations may not always bring improvements.
|
| 24 |
+
|
| 25 |
+
In this paper, we achieve major progress in using general cutting planes in bound propagation based NN verifiers. To mitigate the challenge of efficiently solving general cuts, our first contribution is to generalize existing bound propagation methods to their most general form, enabling constraints involving variables from neurons of any layer as well as integer variables that encode the status of a ReLU neuron. This allows us to consider any cuts during bound propagation without relying on a slow LP solver, and opens up the opportunity for using advanced cutting plane techniques efficiently for the NN verification problem. Our second contribution involves combining a cutting-plane-focused, off-the-shelf MIP solver with our GPU-accelerated, branching-focused bound propagation method capable of handling general cuts. We entirely disable branching in the MIP solver and use it only for generating high quality cutting planes not restricting to neurons within adjacent layers. Although an MIP solver often cannot verify large neural networks, we find that they can generate high quality cutting planes within a short time, significantly helping bound propagation to achieve better bounds.
|
| 26 |
+
|
| 27 |
+
Our experiments show that general cutting planes can bring significant improvements to NN verifiers: we are the first verifier that completely solves all instances in the oval20 benchmark, with an average time of less than 5 seconds per instance; on the even harder oval21 benchmark in VNNCOMP 2021 [3], we can verify twice as many instances compared to the competition winner. We also outperform existing state-of-the-art bound-propagation-based methods including those using multi-neuron relaxations [20] (a limited form of cutting planes).
|
| 28 |
+
|
| 29 |
+
# 2 Background
|
| 30 |
+
|
| 31 |
+
The NN verification problem We consider the verification problem for an $L$ -layer ReLU-based Neural Network (NN) with inputs $\pmb { \hat { x } } ^ { ( 0 ) } : = \pmb { x } \in \mathbb { R } ^ { d _ { 0 } }$ , weights $\mathbf W ^ { ( i ) } \in \mathbb R ^ { d _ { i } \times \dot { d } _ { i - 1 } }$ , and biases $\mathbf { b } ^ { ( i ) } \in \mathbb { R } ^ { d _ { i } }$ $( i \in \{ 1 , \cdots , L \} )$ . We can get the NN outputs $f ( \pmb { x } ) = \pmb { x } ^ { ( L ) } \in \mathbb { R } ^ { d _ { L } }$ by sequentially propagating the input $_ { \textbf { \em x } }$ through affine layers with $\begin{array} { r } { \mathbf { \Delta } \mathbf { x } ^ { ( i ) } = \mathbf { W } ^ { ( i ) } \hat { \mathbf { x } } ^ { ( i - 1 ) } + \mathbf { b } ^ { ( i ) } } \end{array}$ and ReLU layer with $\hat { \pmb x } ^ { ( i ) } = \mathrm { R e L U } ( { \pmb x } ^ { ( i ) } )$ . We also let scalars $\hat { x } _ { j } ^ { ( i ) }$ and $x _ { j } ^ { ( i ) }$ denote the post-activation and pre-activation, respectively, of $j$ -th ReLU neuron in $i$ -th layer. Throughout the paper, we use bold symbols to denote vectors (e.g., $\pmb { x } ^ { ( i ) }$ ) and regular symbols to denote scalars (e.g., $\overline { { x _ { j } ^ { ( i ) } } }$ is the $j$ -th element of $\pmb { x } ^ { ( i ) }$ ). We use the shorthand $[ N ]$ to denote $\{ 1 , \cdots , N \}$ , and $\mathbf { W } _ { : , j } ^ { ( i ) }$ is the $j$ -th column of $\mathbf { W } ^ { ( i ) }$ .
|
| 32 |
+
|
| 33 |
+
Commonly, the input $_ { \textbf { \em x } }$ is bounded within a perturbation set $\mathcal { C }$ (such as an $\ell _ { p }$ norm ball) and the verification specification defines a property of the output $f ( { \pmb x } )$ that should hold for any ${ \textbf { \em x } } \in { \mathcal { C } }$ , e.g., whether the true label’s logit $f _ { y } ( { \pmb x } )$ will be always larger than another label’s logit $f _ { j } ( { \pmb x } )$ , (i.e., checking if $f _ { y } ( { \pmb x } ) - f _ { j } ( { \pmb x } )$ is always positive). Since we can append the verification specification (such as a linear function on neural network output) as an additional layer of the network, canonically, the NN verification problem requires one to solve the following one-dimensional $\begin{array} { r } { \ d _ { d _ { L } } = 1 } \end{array}$ ) optimization objective on $f ( { \pmb x } )$ :
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
f ^ { * } = \operatorname* { m i n } _ { \mathbf { x } } f ( \mathbf { x } ) , \forall \mathbf { x } \in \mathcal { C }
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
with the relevant property defined to be proven if the optimal solution $f ^ { * } \geq 0$ . Throughout this work, we consider the $\ell _ { \infty }$ norm ball $\mathcal { C } : = \{ \pmb { x } : \| \pmb { x } - \pmb { x } _ { 0 } \| _ { \infty } \le \epsilon \}$ where $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ is a predefined constant (e.g., a clean input image), although it is possible to extend to other norms or specifications [43, 59].
|
| 40 |
+
|
| 41 |
+
The MIP and LP formulation for NN verification The mixed integer programming (MIP) formulation is the root of many NN verification algorithms. This formulation uses binary variables $\mathbf { z }$ to encode the non-linear ReLU neurons to make the non-convex optimization problem (1) tractable. Additionally, we assume that we know sound pre-activation bounds $l ^ { ( i ) } \le \bar { \mathbf { x } ^ { ( i ) } } \le \mathbf { u } ^ { ( i ) }$ for ${ \pmb x } \in \mathcal { C }$ which can be obtained via cheap bound propagation methods such as IBP [23] or CROWN [61]. Then ReLU neurons for each layer $i$ can be classified into three classes [58], namely “active” $( \mathcal { I } ^ { + ( i ) } )$ , “inactive” $( \mathcal { I } ^ { - ( i ) } )$ and “unstable” $( \mathcal { T } ^ { ( i ) } )$ neurons, respectively:
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\begin{array} { r } { \mathcal { Z } ^ { + ( i ) } : = \{ j : l _ { j } ^ { ( i ) } \geq 0 \} ; \quad \mathcal { Z } ^ { - ( i ) } : = \{ j : u _ { j } ^ { ( i ) } \leq 0 \} ; \quad \mathcal { Z } ^ { ( i ) } : = \{ j : l _ { j } ^ { ( i ) } \leq 0 , u _ { j } ^ { ( i ) } \geq 0 \} } \end{array}
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
Based on the definition of ReLU, activate and inactive neurons are linear functions, so only unstable neurons require binary encoding. The MIP formulation of (1) is:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\begin{array} { r l } & { \begin{array} { r l } & { f ^ { * } = \underset { x , x , x } { \mathrm { m i n } } \ f ( x ) \ } \\ & { x ^ { ( i ) } = \underset { y \in \Omega } { \mathrm { m i n } } \ f ( x ) \ } \\ & { x ^ { ( i ) } = \underset { x ^ { ( i ) } } { \mathrm { m i n } } \ f ( x ) + \underset { y \in \Omega } { \mathrm { m i n } } \ f ( x ) = x ^ { ( i ) } ; \quad \hat { w } ^ { ( i ) } = \mathrm { m } ; \quad x \in \mathcal { L } ; } \end{array} } \\ & { \begin{array} { r l } & { x ^ { ( i ) } = 0 ; \quad j \in L ^ { ( i ) } , \ \dotsc } \\ & { \hat { v } _ { j } ^ { ( i ) } \geq 0 ; \quad j \in L ^ { ( i ) } , \ \dotsc } \end{array} } \\ & { \begin{array} { r l } & { \hat { v } _ { j } ^ { ( i ) } \geq x _ { j } ^ { ( i ) } ; \quad j \in L ^ { ( i ) } , i \in [ L - 1 ] } \\ & { \hat { v } _ { j } ^ { ( i ) } \leq u _ { j } ^ { ( i ) } z _ { j } ^ { ( i ) } ; \quad j \in L ^ { ( i ) } , i \in [ L - 1 ] } \\ & { \hat { v } _ { j } ^ { ( i ) } \leq u _ { j } ^ { ( i ) } z _ { j } ^ { ( i ) } ; \quad j \in L ^ { ( i ) } , i \in [ L - 1 ] } \end{array} } \\ & { \begin{array} { r l } & { \hat { v } _ { j } ^ { ( i ) } \leq x _ { j } ^ { ( i ) } ; \quad j ( 1 - z _ { j } ^ { ( i ) } ) ; \quad j \in \mathcal { I } ^ { ( i ) } , \ \dotsc ~ \mathcal { I } ^ { ( i ) } , \ \dotsc | L - 1 | } \\ & { \hat { v } _ { j } ^ { ( i ) } \in \{ 0 , 1 \} ; \quad j \in L ^ { ( i ) } , i \in [ L - 1 ] } \\ & { \hat { v } _ { j } ^ { ( i ) } \in \frac { \mathcal { I } } { 2 } ; \quad j \in \mathcal { I } ^ { ( i ) } , \ \dotsc | L - 1 | } \end{array} } \end{array}
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
Since a MIP problem is slow or intractable to solve, it is commonly relaxed as a When the integer variables are relaxed to continuous ones, we obtain the $L P$ relaxation of NN verification problem:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\begin{array} { c } { f _ { \mathrm { L P } } ^ { * } = \displaystyle \operatorname* { m i n } _ { x , \hat { x } , \mathbf { z } } f ( x ) } \\ { ( 3 ) , ( 2 ) , ( 4 ) , ( 5 ) , ( 6 ) , ( 7 ) , ( 9 ) , ( 1 0 ) , \quad 0 \leq z _ { j } ^ { ( i ) } \leq 1 ; \quad j \in \mathbb { Z } ^ { ( i ) } , i \in [ L - 1 ] } \end{array}
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
The ReLU constraints involving $z$ is often projected out, leading to the well-known Planet relaxation used in many NN verifiers, replacing (6), (7) and (8) with a single constraint to get an equivalent LP:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\begin{array} { l } { f _ { \mathrm { L P } } ^ { * } = \displaystyle \operatorname* { m i n } _ { \mathbf { x } , \hat { x } , \mathbf { z } } f ( \mathbf { x } ) } \\ { \displaystyle \hat { x } _ { j } ^ { ( i ) } \leq \frac { u _ { j } ^ { ( i ) } } { u _ { j } ^ { ( i ) } - l _ { j } ^ { ( i ) } } ( x _ { j } ^ { ( i ) } - l _ { j } ^ { ( i ) } ) ; j \in \mathbb { Z } ^ { ( i ) } , i \in [ L - 1 ] } \end{array}
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
Due to the relaxations, the objective of the LP formulation is always a lower bound of the MIP formulation: $f _ { \mathrm { L P } } ^ { * } \leq f ^ { * }$ . A verifier using this formulation is incomplete: if $f _ { \mathrm { L P } } ^ { * } \geq 0$ , then $f ^ { * } \geq 0$ and the property is verified; otherwise, we cannot conclude the sign of $f ^ { * }$ so the verifier must return “unknown”. Branch and bound can be used to improve the lower bound and achieve completeness [10, 57]. However, in this paper, we work on an orthogonal direction of strengthening the LP formulation by adding cutting planes to obtain larger bounds.
|
| 66 |
+
|
| 67 |
+
Bound propagation methods Instead of solving the LP formulation directly using a LP solver, bound propagation methods aims to quickly give a lower bound for $f _ { \mathrm { L P } } ^ { * }$ . For example, CROWN [61] and $\beta$ -CROWN [57] propagate a sound linear lower bound backwards for $f _ { L } ( \pmb { x } )$ with respect to each intermediate layer. For example, suppose we know
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } f _ { L } ( \pmb { x } ) \geq \operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } \mathbf { a } ^ { ( i ) ^ { \top } } \hat { \pmb { x } } ^ { ( i ) } + c ^ { ( i ) }
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
With $i = L - 1$ the above is trivially hold with $\mathbf { a } ^ { ( L - 1 ) } \mathbf { \Psi } = \mathbf { W } ^ { ( L ) }$ , $c ^ { ( L - 1 ) } \ = \ \mathbf { b } ^ { ( L ) }$ . In bound propagation methods, a propagation rule propagates an inequality (13) through a previous layer $\hat { \mathbf { \pmb { x } } } ^ { ( i ) } : = \mathrm { R e L U } ( \mathbf { W } ^ { ( i ) } \hat { \mathbf { \ x { x } } } ^ { ( i - 1 ) } + \bar { \mathbf { b } } ^ { ( i ) } )$ to obtain a sound inequality with respect to $\hat { \pmb x } ^ { ( i - 1 ) }$ :
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } f _ { L } ( \pmb { x } ) \geq \operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } \mathbf { a } ^ { ( i - 1 ) ^ { \top } } \hat { \pmb { x } } ^ { ( i - 1 ) } + c ^ { ( i - 1 ) }
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
Here $\mathbf { a } ^ { ( i - 1 ) }$ , $c ^ { ( i - 1 ) }$ can be calculated in close-form via $\mathbf { a } ^ { ( i ) } , c ^ { ( i ) } , \mathbf { W } ^ { ( i ) } , \mathbf { b } ^ { ( i ) } , l ^ { ( i ) }$ and $\mathbf { \boldsymbol { \mathbf { \mathit { u } } } } ^ { ( i ) }$ such that the bound still holds (see Lemma 1 in [57]). Applying the procedure repeatedly will eventually reach the input layer:
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } f _ { L } ( \pmb { x } ) \geq \operatorname* { m i n } _ { \pmb { x } \in \mathcal { C } } \mathbf { a } ^ { ( 0 ) ^ { \top } } \pmb { x } + c ^ { ( 0 ) }
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
The minimization on linear layer can be solved easily when $\mathcal { C }$ is a $\ell _ { p }$ norm ball to obtain a valid lower bound of $f ^ { * }$ . Since the bounds propagate layer-by-layer, this process can be implemented efficiently on GPUs [59] without relying on a slow LP solver, which greatly improves the scalability and solving time. Additionally, it is often used to obtain intermediate layer bounds $\mathbf { \chi } _ { l ^ { ( i ) } }$ and and $\mathbf { \boldsymbol { u } } ^ { ( i ) }$ required for the MIP formulation (6)(7), by treating each $x _ { j } ^ { ( i ) }$ as the output neuron. The bound propagation rule can either be derived in primal space [61], dual space [58] or abstract interpretations [50]. In Sec.3.1, we will discuss the our bound propagation procedure with general cutting plane constraints.
|
| 86 |
+
|
| 87 |
+
# 3 Neural Network Verification with General Cutting Planes
|
| 88 |
+
|
| 89 |
+
# 3.1 GCP-CROWN: General Cutting Planes in Bound Propagation
|
| 90 |
+
|
| 91 |
+
In this section, we generalize existing bound propagation method to handle general cutting plane constraints. Our goal is to derive a bound propagation rule similar to CROWN and $\beta$ -CROWN discussed in Section 2, however considering additional constraints among any variables within the LP relaxation. To achieve this, we first derive the dual problem of the LP; inspired by the dual formulation, we derive the bound prorogation rule in a layer by layer manner that takes all cutting plane constraints into consideration. The derivation process is inspired by [58, 45] and [57].
|
| 92 |
+
|
| 93 |
+
LP relaxation with cutting planes. In this section, we derive the bound propagation procedure under the presence of general cutting plane constraints. A cutting plane is a constraint involving any variables $\mathbf { \boldsymbol { x } } ^ { ( i ) }$ (pre-activation), $\hat { \pmb x } ^ { ( i ) }$ (post-activation), $\mathbf { z } ^ { ( i ) }$ (ReLU indicators) from any layer $i$ :
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\sum _ { i = 1 } ^ { L - 1 } \left( { h ^ { { ( i ) } ^ { \top } } } { { \pmb x } ^ { ( i ) } } + { { \pmb g } ^ { ( i ) } } ^ { \top } { \hat { \pmb x } ^ { ( i ) } } + { { \pmb q } ^ { ( i ) } } ^ { \top } { { \pmb z } ^ { ( i ) } } \right) \le d
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Here $\mathbf { \Lambda } _ { h } ( i ) , \mathbf { \Lambda } _ { g } ( i )$ and $\pmb q ^ { ( i ) }$ are coefficients for this cut constraint. The difference between a valid cutting plane and an arbitrary constraint is that a valid cutting plane should not remove any valid integer solution from the MIP formulation. Our new bound propagation procedure can work for any constraints, although in this work we focus on studying the impacts of cutting planes. When there are $N$ cutting planes, we write them in a matrix form:
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\sum _ { i = 1 } ^ { L - 1 } \left( H ^ { ( i ) } \pmb { x } ^ { ( i ) } + \pmb { G } ^ { ( i ) } \hat { \pmb { x } } ^ { ( i ) } + \pmb { Q } ^ { ( i ) } \mathbf { z } ^ { ( i ) } \right) \le d
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
where $\pmb { H } ^ { ( i ) } , \pmb { G } ^ { ( i ) } , \pmb { Q } ^ { ( i ) } \in \mathbb { R } ^ { N \times d _ { i } }$ . The LP relaxation with all cutting planes is:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\begin{array} { r l r } & { } & { f _ { \mathrm { L P - c u t } } ^ { * } = \displaystyle \operatorname* { m i n } _ { x , \hat { x } , \mathbf { z } } f ( x ) } \\ & { } & { \mathrm { t . ~ } ( 3 ) , ( 2 ) , ( 4 ) , ( 5 ) , ( 6 ) , ( 7 ) , ( 9 ) , ( 1 0 ) , \quad 0 \le z _ { j } ^ { ( i ) } \le 1 ; \quad j \in \mathcal { Z } ^ { ( i ) } , i \in [ L - 1 ] } \\ & { } & { \displaystyle \sum _ { i = 1 } ^ { L - 1 } \left( H ^ { ( i ) } { \pmb x } ^ { ( i ) } + { \pmb G } ^ { ( i ) } \hat { \pmb x } ^ { ( i ) } + { \pmb Q } ^ { ( i ) } { \pmb z } ^ { ( i ) } \right) \le d } \end{array}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
Since an additional constraint is added, $f _ { \mathrm { L P - c u t } } ^ { \ast } \geq f _ { \mathrm { L P } } ^ { \ast }$ and we get closer to $f ^ { * }$ . Unlike the original LP where each constraint only contains variables from two consecutive layers, our general cutting plane constraint may involve any variable from any layer in a single constraint.
|
| 112 |
+
|
| 113 |
+
The dual problem with cutting planes We first show the dual problem for the above LP. The dual problem we consider here is different from existing works in two ways: first, we have constraints with integer variables to support potential cutting planes on $\mathbf { z }$ . Additionally, we have cutting planes constraints that may involve variables in any layer, so the dual in previous works such as [58] cannot be directly reused. Our dual problem is given below (derivation details in Appendix A):
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\begin{array} { r l } & { f _ { \mathrm { L P - c u t } } ^ { * } = \underset { \gamma , \mu \geq 0 , \tau \geq 0 } { \mathrm { m a x } } - \epsilon \Vert \pmb { \nu } ^ { ( 1 ) \top } \mathbf { W } ^ { ( 1 ) } \pmb { x } _ { 0 } \Vert _ { 1 } - \beta ^ { \top } \pmb { d } - \displaystyle \sum _ { i = 1 } ^ { L } \pmb { \nu } ^ { ( i ) \top } \mathbf { b } ^ { ( i ) } } \\ & { \qquad + \displaystyle \sum _ { i = 1 } ^ { L - 1 } \sum _ { j \in \mathcal { D } ^ { ( i ) } } \left[ \pi _ { j } ^ { ( i ) } l _ { j } ^ { ( i ) } - \mathrm { R e L U } ( u _ { j } ^ { ( i ) } \gamma _ { j } ^ { ( i ) } + l _ { j } ^ { ( i ) } \pi _ { j } ^ { ( i ) } - \beta ^ { \top } \pmb { Q } _ { : , j } ^ { ( i ) } ) \right] } \end{array}
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
s.t. $\pmb { \nu } ^ { ( L ) } = - 1$ ; and for each $i \in [ L - 1 ]$
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
\begin{array} { r l } & { \nu _ { j } ^ { ( i ) } = \nu ^ { ( i + 1 ) \top } \mathbf { W } _ { : , j } ^ { ( i + 1 ) } - \beta ^ { \top } ( H _ { : , j } ^ { ( i ) } + { \pmb { G } } _ { : , j } ^ { ( i ) } ) ; ~ j \in { \mathbb { Z } } ^ { + ( i ) } } \\ & { \nu _ { j } ^ { ( i ) } = - \beta ^ { \top } H _ { : , j } ^ { ( i ) } ; ~ j \in { \mathbb { Z } } ^ { - ( i ) } } \end{array}
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
and for each $j \in \mathcal { T } ^ { \left( i \right) }$ the two equalities below hold:
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\begin{array} { r } { \nu _ { j } ^ { ( i ) } = \pi _ { j } ^ { ( i ) } - \tau _ { j } ^ { ( i ) } - \beta ^ { \top } H _ { : , j } ^ { ( i ) } ; \quad \left( \pi _ { j } ^ { ( i ) } + \gamma _ { j } ^ { ( i ) } \right) - \left( \mu _ { j } ^ { ( i ) } + \tau _ { j } ^ { ( i ) } \right) = \nu ^ { ( i + 1 ) \top } \mathbf { W } _ { : , j } ^ { ( i + 1 ) } - \beta ^ { \top } G _ { : , j } ^ { ( i ) } } \end{array}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
Instead of solving the dual problem exactly, we use it to obtain a lower bound of $f _ { \mathrm { L P - c u t } } ^ { * }$ . Intuitively, due to the definition of due problem, any valid setting of dual variables leads to a lower bound of $f _ { \mathrm { L P - c u t } } ^ { * }$ . Informally, starting from $\nu ^ { ( L ) } = - 1$ , by applying the constraints in this dual formulation, we can compute $\bar { \nu ^ { ( L - 1 ) } } , \bar { \nu ^ { ( L - 2 ) } } , \cdot \cdot \cdot$ until $\nu ^ { ( 1 ) }$ . The final objective is a function of $\nu ^ { ( i ) }$ , $i \in [ N ]$ and other dual variables. Precisely, our GCP-CROWN bound propagation procedure with general cutting plane constraint is presented in the theorem below (proof in Appendix A):
|
| 132 |
+
|
| 133 |
+
Theorem 3.1 (Bound propagation with general cutting planes). Given any optimizable parameters $0 \leq \alpha _ { j } ^ { ( i ) } \leq 1$ ) ≤ 1 and β ≥ 0, f ∗LP-cut is lower bounded by the following objective function, π(i)j is $a$ function of $Q _ { : , j } ^ { ( i ) }$ :
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
g ( \alpha , \beta ) = - \epsilon \| \pmb { \nu } ^ { ( 1 ) \top } \mathbf { W } ^ { ( 1 ) } \pmb { x } _ { 0 } \| _ { 1 } - \sum _ { i = 1 } ^ { L } \pmb { \nu } ^ { ( i ) \top } \mathbf { b } ^ { ( i ) } - \beta ^ { \top } d + \sum _ { i = 1 } ^ { L - 1 } \sum _ { j \in \mathbb { Z } ^ { ( i ) } } h _ { j } ^ { ( i ) } ( \beta )
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
where variables $\nu ^ { ( i ) }$ are obtained by propagating $\pmb { \nu } ^ { ( L ) } = - 1$ throughout all $i \in [ L - 1 ]$
|
| 140 |
+
|
| 141 |
+
$$
|
| 142 |
+
\begin{array} { r l } & { \nu _ { j } ^ { ( i ) } = \pmb { \nu } ^ { ( i + 1 ) \top } \mathbf { W } _ { : , j } ^ { ( i + 1 ) } - \beta ^ { \top } ( \pmb { H } _ { : , j } ^ { ( i ) } + \pmb { G } _ { : , j } ^ { ( i ) } ) , \ j \in \mathbb { Z } ^ { + ( i ) } } \\ & { \nu _ { j } ^ { ( i ) } = - \beta ^ { \top } \pmb { H } _ { : , j } ^ { ( i ) } , \ j \in \mathbb { Z } ^ { - ( i ) } } \\ & { \nu _ { j } ^ { ( i ) } = \pi _ { j } ^ { ( i ) } - \alpha _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] _ { - } - \beta ^ { \top } \pmb { H } _ { : , j } ^ { ( i ) } , \ j \in \mathbb { Z } ^ { ( i ) } } \end{array}
|
| 143 |
+
$$
|
| 144 |
+
|
| 145 |
+
Here νˆ(i)j , πj $\pi _ { j } ^ { ( i ) ^ { * } }$ and $h _ { j } ^ { ( i ) } ( \beta )$ are defined for each unstable neuron $j \in \mathcal { T } ^ { ( i ) }$ .
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
\begin{array} { r l } & { \hat { \nu } _ { j } ^ { ( i ) } : = \pmb { \nu } ^ { ( i + 1 ) \top } \mathbf { W } _ { : , j } ^ { ( i + 1 ) } - \pmb { \beta } ^ { \top } \pmb { G } _ { : , j } ^ { ( i ) } } \\ & { \pi _ { j } ^ { ( i ) ^ { * } } = \operatorname* { m a x } \left( \operatorname* { m i n } \left( \frac { u _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] _ { + } + \beta ^ { \top } \pmb { Q } _ { : , j } ^ { ( i ) } } { u _ { j } ^ { ( i ) } - l _ { j } ^ { ( i ) } } , [ \hat { \nu } _ { j } ^ { ( i ) } ] _ { + } \right) , 0 \right) } \end{array}
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
$$
|
| 152 |
+
\begin{array} { r } { h _ { j } ^ { ( i ) } ( \beta ) = \left\{ \begin{array} { l l } { l _ { j } ^ { ( i ) } \pi _ { j } ^ { ( i ) ^ { * } } } & { i f ~ l _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] + \leq \beta ^ { \top } Q _ { : , j } ^ { ( i ) } \leq u _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] + } \\ { 0 } & { i f ~ \beta ^ { \top } Q _ { : , j } ^ { ( i ) } \geq u _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] + } \\ { \beta ^ { \top } Q _ { : , j } ^ { ( i ) } } & { i f ~ \beta ^ { \top } Q _ { : , j } ^ { ( i ) } \leq l _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] + } \end{array} \right. } \end{array}
|
| 153 |
+
$$
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\pi _ { j } ^ { ( i ) } { } ^ { * } i s a f u n c t i o n o f Q _ { : , j } ^ { ( i ) }
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
Based on Theorem 3.1, to obtain an lower bound of $f _ { \mathrm { L P - c u t } } ^ { * }$ , we start with any valid setting of $0 \leq \alpha \leq 1$ and $\beta \geq 0$ and $\pmb { \nu } ^ { ( L ) } = - 1$ . According to the bound propagation rule, we can compute each $\nu ^ { ( i ) }$ , $i \in [ L - 1 ]$ , in a layer by layer manner. Then objective $g ( \alpha , \beta )$ can be evaluated based on all $\nu ^ { ( i ) }$ to give an lower bound of $f _ { \mathrm { L P - c u t } } ^ { * }$ . Since any valid setting of $_ { \pmb { \alpha } }$ and $\beta$ lead to a valid lower bound, we can optimize $_ { \pmb { \alpha } }$ and $\beta$ using gradient ascent in a similar manner as in [60, 57] to tighten this lower bound. The entire procedure can also run on GPU for great acceleration.
|
| 160 |
+
|
| 161 |
+
Connection to Convex Outer Adversarial Polytope In convex outer adversarial polytope [58], a bound propagation rule was developed in a similar manner in the dual space without considering cutting plane constraints, and is a special case of ours. We denote their bound propagation objective function as $g _ { \mathrm { W K } }$ which also contains optimizable parameters $\pmb { \alpha } _ { \mathrm { W K } }$ .
|
| 162 |
+
|
| 163 |
+
Proposition 3.2. Given the same input $_ { \textbf { \em x } }$ , perturbation set $\mathcal { C }$ , network weights, and $N$ cutting plane constraints,
|
| 164 |
+
|
| 165 |
+
$$
|
| 166 |
+
\operatorname* { m a x } _ { \alpha , \beta } g ( \alpha , \beta ) \geq \operatorname* { m a x } _ { \alpha _ { W K } } g _ { W K } ( \alpha _ { W K } )
|
| 167 |
+
$$
|
| 168 |
+
|
| 169 |
+
Proof. In Theorem 3.1, when all $\beta$ are set to 0, then $\begin{array} { r } { \pi _ { j } ^ { ( i ) ^ { * } } = \frac { u _ { j } ^ { ( i ) } [ \hat { \nu } _ { j } ^ { ( i ) } ] _ { + } } { u _ { j } ^ { ( i ) } - l _ { j } ^ { ( i ) } } } \end{array}$ and $h _ { j } ^ { ( i ) } ( \beta ) = \pi _ { j } ^ { ( i ) ^ { * } } l _ { j } ^ { ( i ) }$ we recover exactly the same bound propagation equations as in [58]. However, since we allow the addition of cutting plane methods and we can maximize over the additional parameter $\beta$ , the objective given by our bound propagation is always at least as good as $g _ { \mathrm { W K } }$ . □
|
| 170 |
+
|
| 171 |
+
Connection to CROWN-like bound propagation methods CROWN [61] and $\alpha$ -CROWN [60] use the same bound propagation rule as [58] so Proposition 3.2 also applies, although they were derived from primal space without explicitly formulating the problem as a LP. Salman et al. [45] showed that many other bound propagation methods [50, 55] are equivalent to or weaker than [58]. Recently, Wang et al. [57] extends CROWN to $\beta$ -CROWN to handle split constraints (e.g., $x _ { j } ^ { ( i ) } \geq 0 \mathrm { ~ }$ ). It can be seen a special case as GCP-CROWN where all $\pmb { H }$ , $G$ and $Q$ matrices are zeros except:
|
| 172 |
+
|
| 173 |
+
$$
|
| 174 |
+
\begin{array} { r } { { \pmb { H } } _ { j , j } ^ { ( i ) } = 1 , j \in { \pmb { \mathbb { Z } } } ^ { - ( i ) } \qquad \mathrm { f o r ~ } x _ { j } ^ { ( i ) } \leq 0 \mathrm { ~ s p l i t } ; \qquad { \pmb { H } } _ { j , j } ^ { ( i ) } = - 1 , j \in { \pmb { \mathbb { Z } } } ^ { + ( i ) } \qquad \mathrm { f o r ~ } x _ { j } ^ { ( i ) } \geq 0 \mathrm { ~ s p l i t } ; } \end{array}
|
| 175 |
+
$$
|
| 176 |
+
|
| 177 |
+
In addition, [20] encodes multi-neuron relaxations using sparse $\pmb { H } ^ { ( i ) }$ and $\pmb { G } ^ { ( i ) }$ and each cut contains a small number of neurons involving $\pmb { x } ^ { ( i ) }$ and $\hat { \pmb x } ^ { ( i ) }$ for the same layer $i$ . Wang et al. [57] derived bound propagation rules from both the dual LP and the primal space with a Lagrangian without LP. However, in our case, it is not intuitive to derive bound propagation without LP due to the potential cutting planes on relaxed integer variables $\mathbf { z }$ , which do not appear without the explicit LP formulation. Furthermore, although we derived cutting planes for bound propagation methods, it is technically also possible to derive them using other bounding frameworks such as Lagrangian decomposition [8].
|
| 178 |
+
|
| 179 |
+
# 3.2 Branch-and-bound with GCP-CROWN and MIP Solver Generated Cuts
|
| 180 |
+
|
| 181 |
+
To build a complete NN verifier, we follow the popular branch-and-bound (BaB) procedure [10, 9] in state-of-the-art NN verifiers with GPU accelerated bound propagation method [8, 60, 16, 57], and our GCP-CROWN is used as the bounding procedure in BaB. We refer the readers to Appendix B for a more detailed background on branch-and-bound. Having the efficient bound propagation procedure with general cutting plane constraints, we now need to find a good set of general cutting planes $\mathbf { \Delta } H ^ { ( i ) } , \mathbf { \bar { G } } ^ { ( i ) } , Q ^ { ( i ) }$ to accelerate NN verification. Since GCP-CROWN can adopt any cutting planes, to fully exploit its power, we propose to use off-the-shelf MIP solvers to generate cutting planes and create an NN verifier combining GPU-accelerated bound propagation with strong cuts generated by a MIP solver. We make the bound propagation on GPU and the MIP solver on CPU run in parallel with cuts added on-the-fly, so the original strong performance of bound-propagation-based
|
| 182 |
+
|
| 183 |
+
NN verifier will never be affected by a potentially slow MIP solver. This allows us to make full use of available computing resource $( \mathbf { G P U } + \mathbf { C P U } )$ . The architecture of our verifier is shown in Fig 1.
|
| 184 |
+
|
| 185 |
+

|
| 186 |
+
Figure 1: Overview of our cutting-planeenhanced, fully-parallelized NN verifier.
|
| 187 |
+
|
| 188 |
+
MIP solvers for cutting plane generation Generic MIP solvers such as cplex[28] and gurobi[24] also apply a branch-and-bound strategy, conceptually similar to state-of-the-art NN verifiers. They often tend to be slower than specialized NN verifiers because MIP solvers rely on slower bounding procedures (e.g., Simplex or barrier method) and cannot apply an GPU-accelerated method such as bound propagation or Lagrangian decomposition. However, we still find that MIP solvers are a strong baseline when combined with tight intermediate layer bounds. For example, in the oval21 benchmark in Table 2, $\alpha$ - CROWN+MIP (MIP solver combined with tight intermediate layer bound computed by $\alpha$ -CROWN) is able to solve 4 more instances compared to all other tools in the competition. Our investigation found that $\alpha$ -CROWN+MIP explores much less branches than other state-of-the-art branch-and-bound based NN verifiers, however before branching starts, the MIP solver produces very effective cutting planes that can often verify an instance with little branching. MIP solvers is able to discover sophisticated cutting planes involving several NN layers reflecting complex correlations among neurons, while existing
|
| 189 |
+
|
| 190 |
+
NN verifiers only exploit specific forms of constraints within same layer or between adjacent layers [52, 47, 40]. This motivates us to combine the strong cutting planes generated by MIP solvers with GPU-accelerated bound-propagation-based BaB.
|
| 191 |
+
|
| 192 |
+
In this work, we use cplex as the MIP solver for cutting plane generation since gurobi cannot export cuts. We entirely disable all branching features in cplex and make it focus on finding cutting planes only. These cutting planes are generated only for the root node of the BaB search tree so they are sound for any subdomains with neuron splits in BaB. We conduct branching using our generalized bound propagation procedure in Section (3.1) with the cutting planes generated by cplex.
|
| 193 |
+
|
| 194 |
+
Fully-parallelized NN verifier design We design our verifier as shown in Figure 1. After parsing the NN under verification, we launch a separate process to encode the NN verification problem as MIP problem and start multiple MIP solvers, one for each target label to be verified. At the same time, the main NN verifier process executes branch-and-bound without waiting for the MIP solver process. In each iteration of branch and bound, we query the MIP solving processes and fetch any newly generated cutting planes. If any cutting planes are produced, they are added as $\pmb { H } ^ { ( i ) } , \pmb { G } ^ { ( i ) } , \pmb { Q } ^ { ( i ) }$ in GCP-CROWN and tighten the bounds for subsequent branching and bounding. If no cutting planes are produced, GCP-CROWN reduces to $\beta$ -CROWN [57]. Since our verifier is based on strengthening the bounds in $\beta$ -CROWN with sound cutting planes, it is also sound and complete.
|
| 195 |
+
|
| 196 |
+
Adjustments to existing branch and bound method. We implement GCP-CROWN into the $\alpha \beta$ -CROWN verifier [61, 59, 57], the winning verifier in VNN-COMP 2021 [3], as the backbone for BaB with bound propagation. To better exploit the power of cutting planes under a fully parallel and asynchronous design, we made a key changes to the BaB procedure. When the number of BaB subdomains are greater than batch size, we rank the subdomains by their lower bounds and choose the easiest domains with largest lower bounds first to verify with GCP-CROWN, unlike most existing verifiers which solve the worst domains first. We use such a order because the MIP solver generates cutting planes incrementally. Solving these easier subdomains tend to require no or fewer cutting planes, so we solve them at earlier stages where cutting planes have not been generated or are relatively weak. On the other hand, if we split worst subdomains first, the number of subdomains will grow quickly, and it can take a long time to verify these domains when stronger cuts become available later. Under a similar rationale, when verifying a multi-class model and BaB needs to verify each target class label one by one, we start BaB from the easiest label first $\scriptstyle { \alpha }$ -CROWN bound closest to 0), allowing the MIP solver to run longer for harder labels, generating stronger cuts for harder labels.
|
| 197 |
+
|
| 198 |
+
Table 1: Average runtime and average number of branches on oval20 benchmarks with 100 properties per model. Timeout is set to 3,600 seconds (consistent with other literature results). GCP-CROWN is the only method that can completely solve all instances ( $0 \%$ timeout) and the average time per-instance is less than 5 seconds on all three networks.
|
| 199 |
+
|
| 200 |
+
<table><tr><td></td><td colspan="3">CIFAR-10 Base</td><td colspan="3">CIFAR-10 Wide</td><td colspan="3">CIFAR-10 Deep</td></tr><tr><td>Method</td><td>time(s)</td><td>branches</td><td>%timeout</td><td>time(s)</td><td>branches</td><td>%timeout</td><td>time(s)</td><td>branches</td><td>%timeout</td></tr><tr><td>MIPplanet [19]</td><td>2849.69</td><td></td><td>68.00</td><td>2417.53</td><td></td><td>46.00</td><td>2302.25</td><td>=</td><td>40.00</td></tr><tr><td>BaBSR[9]</td><td>2367.78</td><td>1020.55</td><td>36.00</td><td>2871.14</td><td>812.65</td><td>49.00</td><td>2750.75</td><td>401.28</td><td>39.00</td></tr><tr><td>GNN-online [36]</td><td>1794.85</td><td>565.13</td><td>33.00</td><td>1367.38</td><td>372.74</td><td>15.00</td><td>1055.33</td><td>131.85</td><td>4.00</td></tr><tr><td>BDD+BaBSR[8]</td><td>807.91</td><td>195480.14</td><td>20.00</td><td>505.65</td><td>74203.11</td><td>10.00</td><td>266.28</td><td>12722.74</td><td>4.00</td></tr><tr><td>Fast-and-Complete [60]</td><td>695.01</td><td>119522.65</td><td>17.00</td><td>495.88</td><td>80519.85</td><td>9.00</td><td>105.64</td><td>2455.11</td><td>1.00</td></tr><tr><td>OVAL (BDD+ GNN)*[8,36]</td><td>662.17</td><td>67938.38</td><td>16.00</td><td>280.38</td><td>17895.94</td><td>6.00</td><td>94.69</td><td>1990.34</td><td>1.00</td></tr><tr><td>A.set BaBSR [16]</td><td>381.78</td><td>12004.60</td><td>7.00</td><td>165.91</td><td>2233.10</td><td>3.00</td><td>190.28</td><td>2491.55</td><td>2.00</td></tr><tr><td>BigM+A.set BaBSR[16]</td><td>390.44</td><td>11938.75</td><td>7.00</td><td>172.65</td><td>4050.59</td><td>3.00</td><td>177.22</td><td>3275.25</td><td>2.00</td></tr><tr><td>BaDNB (BDD+ FSB)[17]</td><td>309.29</td><td>38239.04</td><td>7.00</td><td>165.53</td><td>11214.44</td><td>4.00</td><td>10.50</td><td>368.16</td><td>0.00</td></tr><tr><td>ERAN*[47,48,50,49]</td><td>805.94</td><td>=</td><td>5.00</td><td>632.20</td><td>=</td><td>9.00</td><td>545.72</td><td>=</td><td>0.00</td></tr><tr><td>β-CROWN [57]</td><td>118.23</td><td>208018.21</td><td>3.00</td><td>78.32</td><td>116912.57</td><td>2.00</td><td>5.69</td><td>41.12</td><td>0.00</td></tr><tr><td>α-CROWN+MIP†</td><td>335.50</td><td>8523.37</td><td>3.00</td><td>203.87</td><td>2029.60</td><td>0.00</td><td>76.90</td><td>1364.24</td><td>0.00</td></tr><tr><td>GCP-CROWNwith MIP cuts</td><td>4.07</td><td>2580.53</td><td>0.00</td><td>3.02</td><td>2095.18</td><td>0.00</td><td>3.87</td><td>110.92</td><td>0.00</td></tr></table>
|
| 201 |
+
|
| 202 |
+
\* Results from VNN-COMP 2020 report [34]. † A new baseline proposed and evaluated in this work, not presented in previous papers.
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 2: Percentage of solved properties on the oval20 benchmark vs. running time (timeout 1 hour).
|
| 206 |
+
|
| 207 |
+
# 4 Experiments
|
| 208 |
+
|
| 209 |
+
We now evaluate our verifier, GCP-CROWN with MIP cuts, on a few popular verification benchmarks. Since our verifier uses a MIP solver in our pipeline, we also include a new baseline, $\alpha$ -CROWN $^ +$ MIP, which uses gurobi as the MIP solver with the tightest possible intermediate layer bounds from $\alpha$ -CROWN [59]. We use the same branch and bound algorithm as in $\beta$ -CROWN and we use filtered smart branching (FSB) [16] as the branching heuristic in all experiments. Without cutting planes, GCP-CROWN becomes vanilla $\beta$ -CROWN as we share the same code base as $\beta$ -CROWN. We include model information and detailed setup for our experiments in Appendix C. GCP-CROWN has been integrated into the $\alpha , \beta$ -CROWN (alpha-beta-CROWN) verifier, and the instructions to reproduce results in this paper are available at http://PaperCode.cc/GCP-CROWN.
|
| 210 |
+
|
| 211 |
+
Results on the oval20 benchmark in VNN-COMP 2020. oval20 is a popular benchmark consistently used in huge amount of NN verifiers and it perfectly reflects the progress of NN verifiers. We include literature results for many baselines in Table 1. We are the only verifier that can completely solve all three models without any timeout. Our average runtime is significantly lower compared to the time of baselines because we have no timeout (counted as 3600s), and our slowest instance only takes about a few minutes while easy ones only take a few seconds, as shown in Figure 2. Additionally, we often use less number of branches compared to the state-of-the-art verifier, $\beta$ -CROWN, since our strong cutting planes help us to eliminate many hard to solve subdomains in BaB. Furthermore, we highlight that $\alpha$ -CROWN+MIP also achieves a low timeout rate, although it is much slower than our bound propagation based approach combined with cuts from a MIP solver.
|
| 212 |
+
|
| 213 |
+
Results on VNN-COMP 2021 benchmarks. Among the eight scoring benchmarks in VNN-COMP 2021 [3], only two (oval21 and cifar10-resnet) are most suitable for the evaluation of this work. Among other benchmarks, acasxu and nn4sys have low input dimensionality and require input space branching rather than ReLU branching; verivital, mnistfc, and eran benchmarks consist of small MLP networks that can be solved directly by MIP solvers; marabou contains mostly adversarial examples, making it a good benchmark for falsifiers rather than verifiers. We present our results in Table 2. Besides results from 6 VNN-COMP 2021 participants, we also include two additional baselines, $\alpha$ $_ { \mathcal { X } - \mathrm { C R O W N } + \mathrm { M I P } }$ (same as in Table 1), and MN-BaB [20], a recently proposed branch and bound framework with multi-neuron relaxations [39], which can be viewed as a restricted form of cutting planes. On the oval21 benchmark, OVAL, VeriNet and $\alpha \beta$ -CROWN are the best performing tools, verified 11 out of 27 instances, while we can verify twice more instances (22 out of 27) on this benchmark. On the cifar10-resnet benchmark, our verifier also solves the most number of instances and achieves the lowest average time. In fact, $\alpha$ -CROWN $^ +$ MIP is also a strong baseline, solving 4 more instances than all competition participants, showing the importance of strong cutting planes. Our GCP-CROWN with MIP cuts combines the benefits of fast bound propagation on GPU with the strong cutting planes generated by a MIP solver and achieves the best performance. We present a more detailed analysis on the cutting planes used in this benchmark in Appendix C.2.
|
| 214 |
+
|
| 215 |
+
Table 2: VNN-COMP 2021 benchmarks: oval21 and cifar10-resnet. Results marked with VNN-COMP are from publicly available benchmark data on VNN-COMP 2021 Github. “-” indicates unsupported model.
|
| 216 |
+
|
| 217 |
+
<table><tr><td colspan="4">oval21 (30 properties;PGD upper bound 27)</td><td colspan="3">cifar10-resnet (72 properties)</td></tr><tr><td>Method</td><td>time(s)</td><td># verified</td><td>%timeout</td><td>time(s)</td><td># verified</td><td>%timeout</td></tr><tr><td>nnenum*[2,4]</td><td>630.06</td><td>2</td><td>86.66</td><td></td><td>=</td><td></td></tr><tr><td>Marabou*[31]</td><td>429.13</td><td>5</td><td>73.33</td><td>157.70</td><td>39</td><td>45.83</td></tr><tr><td>ERAN*[40,38]</td><td>233.84</td><td>6</td><td>70.00</td><td>129.48</td><td>43</td><td>40.28</td></tr><tr><td>OVAL*[17,16]</td><td>393.14</td><td>11</td><td>53.33</td><td></td><td>-</td><td></td></tr><tr><td>VeriNet*[25,26]</td><td>414.61</td><td>11</td><td>53.33</td><td>105.91</td><td>48</td><td>33.33</td></tr><tr><td>α,β-CROWN* [61,60,57]</td><td>395.32</td><td>11</td><td>53.33</td><td>99.87</td><td>58</td><td>19.44</td></tr><tr><td>MN-BaB [20]</td><td>435.46</td><td>10</td><td>56.66</td><td>1</td><td>1</td><td>-</td></tr><tr><td>Venus2t [7,33]</td><td>386.71</td><td>17</td><td>33.33</td><td>1</td><td>-</td><td>-</td></tr><tr><td>α-CROWN+MIP</td><td>301.23</td><td>15</td><td>40.00</td><td>125.48</td><td>46</td><td>36.11</td></tr><tr><td>GCP-CROWN with MIP cuts</td><td>145.26</td><td>23</td><td>13.33</td><td>53.49</td><td>63</td><td>12.5</td></tr></table>
|
| 218 |
+
|
| 219 |
+
\* Results from VNN-COMP 2021 report [3]. $^ \dagger$ We use the latest code of Venus2 in the vnncomp branch, committed on Jul 18, 2022. Older versions cannot run these convolutional networks.
|
| 220 |
+
|
| 221 |
+
Table 3: Verified accuracy $( \% )$ and avg. per-example verification time (s) on 7 models from SDP-FO [15].
|
| 222 |
+
|
| 223 |
+
<table><tr><td rowspan="2">Dataset</td><td rowspan="2">Model ∈=0.3 ande=2/255</td><td colspan="2">SDP-FO[15]* Verified%</td><td colspan="2">PRIMA [40] Ver.%</td><td colspan="2">β-CROWN [57] Ver.%</td><td colspan="2">MN-BaB [20] Ver.%Time(s)</td><td colspan="2">Venus2 [7,33] Ver.%</td><td colspan="2">α-CROWN+MIP Ver.%</td><td colspan="2">GCP-CROWN Ver.% Time(s)</td><td rowspan="2">Upper bound</td></tr><tr><td></td><td>Time (s)</td><td></td><td>Time(s)</td><td></td><td>Time(s)</td><td></td><td></td><td></td><td>Time(s)</td><td></td><td>Time(s)</td><td></td><td></td></tr><tr><td rowspan="6">MNIST</td><td>CNN-A-Adv</td><td>43.4</td><td>>20h</td><td>44.5</td><td>135.9</td><td>70.5</td><td>21.1</td><td>-</td><td></td><td>35.5</td><td>148.4</td><td>56.5</td><td>224.3</td><td>72.0</td><td>19.9 57.8</td><td>76.5</td></tr><tr><td>CNN-B-Adv</td><td>32.8</td><td>>25h</td><td>38.0</td><td>343.6</td><td>46.5</td><td>32.2</td><td>-</td><td></td><td>-</td><td></td><td>27.0</td><td>360.6</td><td>48.5</td><td></td><td>65.0</td></tr><tr><td>CNN-B-Adv-4</td><td>46.0</td><td>>25h</td><td>53.5</td><td>43.8</td><td>54.0</td><td>11.6</td><td>-</td><td></td><td>-</td><td></td><td>52.5</td><td>129.5</td><td>59.0</td><td>21.5</td><td>63.5</td></tr><tr><td>CNN-A-Adv</td><td>39.6</td><td>>25h</td><td>41.5</td><td>4.8</td><td>44.0</td><td>5.8</td><td>42.5</td><td>68.3</td><td>47.5</td><td>26.0</td><td>46.0</td><td>63.1</td><td>48.5</td><td>9.8</td><td>50.0</td></tr><tr><td>CNN-A-Adv-4</td><td>40.0</td><td>>25h</td><td>45.0</td><td>4.9</td><td>46.0</td><td>5.6</td><td>46.0</td><td>37.7</td><td>47.5</td><td>13.1</td><td>48.5</td><td>16.4</td><td>48.5</td><td>5.7</td><td>49.5</td></tr><tr><td>CNN-A-Mix</td><td>39.6</td><td>>25h</td><td>37.5</td><td>34.3</td><td>41.5</td><td>49.6</td><td>35.0</td><td>140.3</td><td>33.5</td><td>72.4</td><td>32.5</td><td>231.3</td><td>47.5</td><td>29.2</td><td>53.0</td></tr><tr><td></td><td>CNN-A-Mix-4</td><td>47.8</td><td>>25h</td><td>48.5</td><td>7.0</td><td>50.5</td><td>5.9</td><td>49.0</td><td>70.9</td><td>49.0</td><td>37.3</td><td>52.5</td><td>77.7</td><td>55.5</td><td>12.4</td><td>57.5</td></tr></table>
|
| 224 |
+
|
| 225 |
+
\* We run α-CROWN+MIP and MN-BaB with 600s timeout threshold for all models. “-” indicates that we could not run a model due to unsupported model structure or other errors. We run our GCP-CROWN with MIP cuts with a shorter 200s timeout for all models and it achieves better verified accuracy than all other baselines. Other results are reported from [57].
|
| 226 |
+
|
| 227 |
+
The oval21 benchmark was also included as part of VNN-COMP 2022, concluded in July 2022, with a different sample of 30 instances. GCP-CROWN is part of the winning tool in VNN-COMP 2022, $\alpha , \beta$ -CROWN, which verified 25 out of 30 instances in this benchmark, outperforming the second place tool (MN-BaB [20] with multi-neuron relaxations) with 19 verified instances by a large margin. More results on VNN-COMP 2022 can be found in these slides1.
|
| 228 |
+
|
| 229 |
+
Results on SDP-FO benchmarks. We further evaluate our method on the SDP-FO benchmarks in [15, 57]. This benchmark contains 7 mostly adversarially trained MNIST and CIFAR models with 200 instances each, which are hard for many existing verifiers. Beyond the baselines reported in [57], we also include two additional baselines, $\alpha { \mathrm { - } } \mathbf { C R O W N + M I P }$ (same as in Table 1) and MN-BaB [20] (same as in Table 2). Table 3 shows that our method improves the percentage of verified images (“verified accuracy”) on all models compared to state-of-the-art verifiers, further closing the gap between verified accuracy and empirical robust accuracy obtained by PGD attack (reported as “upper bound” in Table 3).
|
| 230 |
+
|
| 231 |
+
# 5 Related Work
|
| 232 |
+
|
| 233 |
+
Cutting plane method is a classic technique to strengthen the convex relaxation of an integer programming problem. Generic cutting planes such as Gomory’s cut [21, 22], Chvátal–Gomory cut [12], implied bound cut [27], lift-and-project [35], reformulation-linearization techniques [46] and mixed integer rounding cuts [41, 37] can be applied to almost any LP relaxed problems, and problem specific cutting planes such as Knapsack cut [14], Flow-cover cut [42] and Clique cut [29] require specific problem structures. Modern MIP solvers typically uses a branch-and-cut strategy, which tends to generate a large number of cuts before starting the next iteration of branching, and solve the LP relaxation of the MIP problem with cutting planes with an exact method such as the Simplex method. Our GCP-CROWN is a specialized solver for the NN verification problem, which can quickly obtain a lower bound of the LP relaxation with cutting planes specially for the NN verification problem.
|
| 234 |
+
|
| 235 |
+
The verification of piece-wise linear NNs can be formulated as a MIP problem, so early works [30, 31, 53] solve an integer or combinatorial formulation directly. For efficiency reasons, most recent works use a convex relaxation such as linear relaxation [19, 58] or semidefinite relaxation [44, 15]. Salman et al. [45] discussed the limitation of many convex relaxation based NN verification algorithms and coined the term “convex relaxation barrier”, specifically for the popular single-neuron “Planet” relaxation [19]. Several works developed novel techniques to break this barrier. [47] added constraints that depends on the aggregation of multiple neurons, and these constraints were passed to a LP solver. [40] enhanced the multi-neuron formulation of [47] to obtain tighter relaxations. [1] studied stronger convex relaxations for a ReLU neuron after an affine layer, and [52] constructed efficient algorithms based on this relaxation for incomplete verification. [16] extended the formulation in [1] to a dual form and combined it with branch and bound to achieve completeness. [7] proposed specialized cuts by considering neuron dependencies and solve them using a MIP solver. [20] combined the multi-neuron relaxation [40] with branch and bound. Although these works can be seen as a special form of cutting planes, they mostly focused on enhancing the relaxation for several neurons within a single layer or two adjacent layers. GCP-CROWN can efficiently handle general cutting plane constraints with neurons from any layers in a bound propagation manner, and the cutting planes we find from a MIP solver can be seen as tighter convex relaxations encoding multi-neuron and multi-layer correlations.
|
| 236 |
+
|
| 237 |
+
# 6 Conclusion
|
| 238 |
+
|
| 239 |
+
In this paper, we propose GCP-CROWN, an efficient and GPU-accelerated bound propagation method for NN verification capable of handling any cutting plane constraints. We combine GCP-CROWN with branch and bound and high quality cutting planes generated by a MIP solver to tighten the convex relaxation for NN verification. The combination of fast bound propagation and strong cutting planes lead to state-of-the-art verification performance on multiple benchmarks. Our work opens up a great opportunity for studying more efficient and powerful cutting planes for NN verification.
|
| 240 |
+
|
| 241 |
+
Limitations of this work Our work generalizes existing bound propagation methods that can handle only simple constraints (such as neuron split constraints in $\beta$ -CROWN [57]) to general constraints, and we share a few common limitations as in previous works [10, 60, 16]: the branch-and-bound procces and bound propagation procedure are developed on ReLU networks, and it can be non-trivial to extend it to neural networks with non-piecewise-linear operations. In addition, we currently directly use cutting planes generated by a generic MIP solver, and there might exist stronger and faster cutting plane methods that can exploit the structure of the neural network verification problem. We hope these limitations can be addressed in future works.
|
| 242 |
+
|
| 243 |
+
Potential Negative Societal Impact Our work focuses on formally proving desired properties of a neural network under investigation such as safety and robustness, which is an important direction of trustworthy machine learning and has overall positive societal impact. Since our verifier is a complete verifier, it might be possible to use it to find weakness of a neural network and guide adversarial attacks. However, we believe that formally characterizing a model’s behavior and potenti al weakness is important for building robust models and preventing real-world malicious attack.
|
| 244 |
+
|
| 245 |
+
Funding Disclosure This work is partially supported by the NSF grant No.1910100, NSF CNS No.2046726, NSF IIS No.2008173, NSF IIS No.2048280 and the Alfred P. Sloan Foundation. Huan Zhang is supported by a grant from the Bosch Center for Artificial Intelligence. Suman Jana acknowledges the NSF CAREER award.
|
| 246 |
+
|
| 247 |
+
References
|
| 248 |
+
[1] Ross Anderson, Joey Huchette, Christian Tjandraatmadja, and Juan Pablo Vielma. Strong convex relaxations and mixed-integer programming formulations for trained neural networks. In Mathematical Programming, 2020.
|
| 249 |
+
[2] Stanley Bak. nnenum: Verification of relu neural networks with optimized abstraction refinement. In NASA Formal Methods Symposium, pages 19–36. Springer, 2021.
|
| 250 |
+
[3] Stanley Bak, Changliu Liu, and Taylor Johnson. The second international verification of neural networks competition (vnn-comp 2021): Summary and results. arXiv preprint arXiv:2109.00498, 2021.
|
| 251 |
+
[4] Stanley Bak, Hoang-Dung Tran, Kerianne Hobbs, and Taylor T. Johnson. Improved geometric path enumeration for verifying relu neural networks. In Proceedings of the 32nd International Conference on Computer Aided Verification. Springer, 2020.
|
| 252 |
+
[5] Dimitris Bertsimas and Robert Weismantel. Optimization over integers. Athena Scientific, 2005.
|
| 253 |
+
[6] Robert Bixby and Edward Rothberg. Progress in computational mixed integer programming—a look back from the other side of the tipping point. Annals of Operations Research, 149(1):37–41, 2007.
|
| 254 |
+
[7] Elena Botoeva, Panagiotis Kouvaros, Jan Kronqvist, Alessio Lomuscio, and Ruth Misener. Efficient verification of relu-based neural networks via dependency analysis. In AAAI Conference on Artificial Intelligence (AAAI), 2020.
|
| 255 |
+
[8] Rudy Bunel, Alessandro De Palma, Alban Desmaison, Krishnamurthy Dvijotham, Pushmeet Kohli, Philip H. S. Torr, and M. Pawan Kumar. Lagrangian decomposition for neural network verification. Conference on Uncertainty in Artificial Intelligence (UAI), 2020.
|
| 256 |
+
[9] Rudy Bunel, Jingyue Lu, Ilker Turkaslan, P Kohli, P Torr, and P Mudigonda. Branch and bound for piecewise linear neural network verification. Journal of Machine Learning Research (JMLR), 2020.
|
| 257 |
+
[10] Rudy R Bunel, Ilker Turkaslan, Philip Torr, Pushmeet Kohli, and Pawan K Mudigonda. A unified view of piecewise linear neural network verification. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 258 |
+
[11] Shaoru Chen, Eric Wong, J Zico Kolter, and Mahyar Fazlyab. Deepsplit: Scalable verification of deep neural networks via operator splitting. arXiv preprint arXiv:2106.09117, 2021.
|
| 259 |
+
[12] Vasek Chvátal. Edmonds polytopes and a hierarchy of combinatorial problems. Discrete mathematics, 4(4):305–337, 1973.
|
| 260 |
+
[13] Michele Conforti, Gérard Cornuéjols, and Giacomo Zambelli. Integer programming / Michele Conforti, Gérard Cornuéjols, Giacomo Zambelli. Graduate texts in mathematics, . 271. Springer, Cham, 2014.
|
| 261 |
+
[14] Harlan Crowder, Ellis L Johnson, and Manfred Padberg. Solving large-scale zero-one linear programming problems. Operations Research, 31(5):803–834, 1983.
|
| 262 |
+
[15] Sumanth Dathathri, Krishnamurthy Dvijotham, Alexey Kurakin, Aditi Raghunathan, Jonathan Uesato, Rudy R Bunel, Shreya Shankar, Jacob Steinhardt, Ian Goodfellow, Percy S Liang, et al. Enabling certification of verification-agnostic networks via memory-efficient semidefinite programming. Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 263 |
+
[16] Alessandro De Palma, Harkirat Singh Behl, Rudy Bunel, Philip H. S. Torr, and M. Pawan Kumar. Scaling the convex barrier with active sets. International Conference on Learning Representations (ICLR), 2021.
|
| 264 |
+
[17] Alessandro De Palma, Rudy Bunel, Alban Desmaison, Krishnamurthy Dvijotham, Pushmeet Kohli, Philip HS Torr, and M Pawan Kumar. Improved branch and bound for neural network verification via lagrangian decomposition. arXiv preprint arXiv:2104.06718, 2021.
|
| 265 |
+
|
| 266 |
+
[18] Krishnamurthy Dvijotham, Robert Stanforth, Sven Gowal, Timothy Mann, and Pushmeet Kohli. A dual approach to scalable verification of deep networks. Conference on Uncertainty in Artificial Intelligence (UAI), 2018.
|
| 267 |
+
|
| 268 |
+
[19] Ruediger Ehlers. Formal verification of piece-wise linear feed-forward neural networks. In International Symposium on Automated Technology for Verification and Analysis (ATVA), 2017.
|
| 269 |
+
|
| 270 |
+
[20] Claudio Ferrari, Mark Niklas Muller, Nikola Jovanovic, and Martin Vechev. Complete verification via multi-neuron relaxation guided branch-and-bound. arXiv preprint arXiv:2205.00263, 2022.
|
| 271 |
+
|
| 272 |
+
[21] Paul C Gilmore and Ralph E Gomory. A linear programming approach to the cutting-stock problem. Operations research, 9(6):849–859, 1961.
|
| 273 |
+
|
| 274 |
+
[22] Paul C Gilmore and Ralph E Gomory. A linear programming approach to the cutting stock problem—part ii. Operations research, 11(6):863–888, 1963.
|
| 275 |
+
|
| 276 |
+
[23] Sven Gowal, Krishnamurthy Dvijotham, Robert Stanforth, Rudy Bunel, Chongli Qin, Jonathan Uesato, Timothy Mann, and Pushmeet Kohli. On the effectiveness of interval bound propagation for training verifiably robust models. Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2019.
|
| 277 |
+
|
| 278 |
+
[24] LLC Gurobi Optimization. Gurobi optimizer - gurobi, 2022.
|
| 279 |
+
|
| 280 |
+
[25] Patrick Henriksen and Alessio Lomuscio. Efficient neural network verification via adaptive refinement and adversarial search. In ECAI 2020, pages 2513–2520. IOS Press, 2020.
|
| 281 |
+
|
| 282 |
+
[26] Patrick Henriksen and Alessio Lomuscio. Deepsplit: An efficient splitting method for neural network verification via indirect effect analysis. In Proceedings of the 30th international joint conference on artificial intelligence (IJCAI21), pages 2549–2555, 2021.
|
| 283 |
+
|
| 284 |
+
[27] Karla L Hoffman and Manfred Padberg. Solving airline crew scheduling problems by branchand-cut. Management science, 39(6):657–682, 1993.
|
| 285 |
+
|
| 286 |
+
[28] IBM. Ibm ilog cplex optimizer, 2022.
|
| 287 |
+
|
| 288 |
+
[29] Ellis L Johnson and Manfred W Padberg. Degree-two inequalities, clique facets, and biperfect graphs. In North-Holland Mathematics Studies, volume 66, pages 169–187. Elsevier, 1982.
|
| 289 |
+
|
| 290 |
+
[30] Guy Katz, Clark Barrett, David L Dill, Kyle Julian, and Mykel J Kochenderfer. Reluplex: An efficient smt solver for verifying deep neural networks. In International Conference on Computer Aided Verification (CAV), 2017.
|
| 291 |
+
|
| 292 |
+
[31] Guy Katz, Derek A Huang, Duligur Ibeling, Kyle Julian, Christopher Lazarus, Rachel Lim, Parth Shah, Shantanu Thakoor, Haoze Wu, Aleksandar Zeljic, et al. The marabou framework ´ for verification and analysis of deep neural networks. In International Conference on Computer Aided Verification (CAV), 2019.
|
| 293 |
+
|
| 294 |
+
[32] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. International Conference on Learning Representations (ICLR), 2015.
|
| 295 |
+
|
| 296 |
+
[33] Panagiotis Kouvaros and Alessio Lomuscio. Towards scalable complete verification of relu neural networks via dependency-based branching. In IJCAI, pages 2643–2650, 2021.
|
| 297 |
+
|
| 298 |
+
[34] Changliu Liu and Taylor Johnson. Vnn comp 2020.
|
| 299 |
+
|
| 300 |
+
[35] László Lovász and Alexander Schrijver. Cones of matrices and set-functions and 0–1 optimization. SIAM journal on optimization, 1(2):166–190, 1991.
|
| 301 |
+
|
| 302 |
+
[36] Jingyue Lu and M Pawan Kumar. Neural network branching for neural network verification. International Conference on Learning Representation (ICLR), 2020.
|
| 303 |
+
|
| 304 |
+
[37] Hugues Marchand and Laurence A Wolsey. Aggregation and mixed integer rounding to solve mips. Operations research, 49(3):363–371, 2001.
|
| 305 |
+
|
| 306 |
+
[38] Christoph Müller, Francois Serre, Gagandeep Singh, Markus Püschel, and Martin Vechev. Scaling polyhedral neural network verification on gpus. Proceedings of Machine Learning and Systems, 3:733–746, 2021.
|
| 307 |
+
[39] Christoph Müller, Gagandeep Singh, Markus Püschel, and Martin Vechev. Neural network robustness verification on gpus. arXiv preprint arXiv:2007.10868, 2020.
|
| 308 |
+
[40] Mark Niklas Müller, Gleb Makarchuk, Gagandeep Singh, Markus Püschel, and Martin Vechev. Precise multi-neuron abstractions for neural network certification. arXiv preprint arXiv:2103.03638, 2021.
|
| 309 |
+
[41] George L Nemhauser and Laurence A Wolsey. A recursive procedure to generate all cuts for 0–1 mixed integer programs. Mathematical Programming, 46(1):379–390, 1990.
|
| 310 |
+
[42] Manfred W Padberg, Tony J Van Roy, and Laurence A Wolsey. Valid linear inequalities for fixed charge problems. Operations Research, 33(4):842–861, 1985.
|
| 311 |
+
[43] Chongli Qin, Brendan O’Donoghue, Rudy Bunel, Robert Stanforth, Sven Gowal, Jonathan Uesato, Grzegorz Swirszcz, Pushmeet Kohli, et al. Verification of non-linear specifications for neural networks. arXiv preprint arXiv:1902.09592, 2019.
|
| 312 |
+
[44] Aditi Raghunathan, Jacob Steinhardt, and Percy S Liang. Semidefinite relaxations for certifying robustness to adversarial examples. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 313 |
+
[45] Hadi Salman, Greg Yang, Huan Zhang, Cho-Jui Hsieh, and Pengchuan Zhang. A convex relaxation barrier to tight robustness verification of neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 314 |
+
[46] Hanif D Sherali and Warren P Adams. A reformulation-linearization technique for solving discrete and continuous nonconvex problems, volume 31. Springer Science & Business Media, 2013.
|
| 315 |
+
[47] Gagandeep Singh, Rupanshu Ganvir, Markus Püschel, and Martin Vechev. Beyond the single neuron convex barrier for neural network certification. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 316 |
+
[48] Gagandeep Singh, Timon Gehr, Matthew Mirman, Markus Püschel, and Martin Vechev. Fast and effective robustness certification. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 317 |
+
[49] Gagandeep Singh, Timon Gehr, Markus Püschel, and Martin Vechev. Boosting robustness certification of neural networks. In International Conference on Learning Representations, 2018.
|
| 318 |
+
[50] Gagandeep Singh, Timon Gehr, Markus Püschel, and Martin Vechev. An abstract domain for certifying neural networks. Proceedings of the ACM on Programming Languages (POPL), 2019.
|
| 319 |
+
[51] Cheng Tan, Yibo Zhu, and Chuanxiong Guo. Building verified neural networks with specifications for systems. In Proceedings of the 12th ACM SIGOPS Asia-Pacific Workshop on Systems, pages 42–47, 2021.
|
| 320 |
+
[52] Christian Tjandraatmadja, Ross Anderson, Joey Huchette, Will Ma, Krunal Patel, and Juan Pablo Vielma. The convex relaxation barrier, revisited: Tightened single-neuron relaxations for neural network verification. Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 321 |
+
[53] Vincent Tjeng, Kai Xiao, and Russ Tedrake. Evaluating robustness of neural networks with mixed integer programming. International Conference on Learning Representations (ICLR), 2019.
|
| 322 |
+
[54] Hoang-Dung Tran, Xiaodong Yang, Diego Manzanas Lopez, Patrick Musau, Luan Viet Nguyen, Weiming Xiang, Stanley Bak, and Taylor T Johnson. Nnv: The neural network verification tool for deep neural networks and learning-enabled cyber-physical systems. In International Conference on Computer Aided Verification, pages 3–17. Springer, 2020.
|
| 323 |
+
|
| 324 |
+
[55] Shiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang, and Suman Jana. Efficient formal safety analysis of neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 325 |
+
|
| 326 |
+
[56] Shiqi Wang, Kexin Pei, Justin Whitehouse, Junfeng Yang, and Suman Jana. Formal security analysis of neural networks using symbolic intervals. In USENIX Security Symposium, 2018.
|
| 327 |
+
|
| 328 |
+
[57] Shiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin, Suman Jana, Cho-Jui Hsieh, and J Zico Kolter. Beta-crown: Efficient bound propagation with per-neuron split constraints for neural network robustness verification. Advances in Neural Information Processing Systems, 34, 2021.
|
| 329 |
+
|
| 330 |
+
[58] Eric Wong and Zico Kolter. Provable defenses against adversarial examples via the convex outer adversarial polytope. In International Conference on Machine Learning (ICML), 2018.
|
| 331 |
+
|
| 332 |
+
[59] Kaidi Xu, Zhouxing Shi, Huan Zhang, Yihan Wang, Kai-Wei Chang, Minlie Huang, Bhavya Kailkhura, Xue Lin, and Cho-Jui Hsieh. Automatic perturbation analysis for scalable certified robustness and beyond. Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 333 |
+
|
| 334 |
+
[60] Kaidi Xu, Huan Zhang, Shiqi Wang, Yihan Wang, Suman Jana, Xue Lin, and Cho-Jui Hsieh. Fast and complete: Enabling complete neural network verification with rapid and massively parallel incomplete verifiers. International Conference on Learning Representations (ICLR), 2021.
|
| 335 |
+
|
| 336 |
+
[61] Huan Zhang, Tsui-Wei Weng, Pin-Yu Chen, Cho-Jui Hsieh, and Luca Daniel. Efficient neural network robustness certification with general activation functions. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 337 |
+
|
| 338 |
+
# Checklist
|
| 339 |
+
|
| 340 |
+
1. For all authors...
|
| 341 |
+
|
| 342 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 343 |
+
(b) Did you describe the limitations of your work? [Yes]
|
| 344 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes]
|
| 345 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 346 |
+
|
| 347 |
+
2. If you are including theoretical results...
|
| 348 |
+
|
| 349 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes]
|
| 350 |
+
|
| 351 |
+
3. If you ran experiments...
|
| 352 |
+
|
| 353 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
|
| 354 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
|
| 355 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [N/A] Not applicable, our verification results typically do not change after running multi times.
|
| 356 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes]
|
| 357 |
+
|
| 358 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 359 |
+
|
| 360 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes]
|
| 361 |
+
(b) Did you mention the license of the assets? [Yes]
|
| 362 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes]
|
| 363 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] We use only public data.
|
| 364 |
+
|
| 365 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] We use only public data.
|
| 366 |
+
|
| 367 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 368 |
+
|
| 369 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 370 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 371 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/dev/5haAJAcofjc/5haAJAcofjc_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5haAJAcofjc/5haAJAcofjc_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/5haAJAcofjc/5haAJAcofjc_model.json
ADDED
|
The diff for this file is too large to render.
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MOTIF-BASED ROTO-TRANSLATION INVARIANTTRANSFORMER FOR MOLECULAR PROPERTY PRE-DICTION IN 3D SPACE
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Recent studies use geometric deep learning to represent molecules and predict properties. However, they are computationally expensive in capturing long-range dependencies and ignore the non-uniformity of interatomic distances. More importantly, few of them consider injecting the biochemical structure knowledge such as functional groups into model architectures. To overcome such issues, we introduce Molformer, a variant of the Transformer for molecular representations that exploits both semantic motifs and 3D spatial information. Specifically, Molformer extracts motifs based on functional groups and learns customized embeddings to store the semantic meanings of those informative substructures. In order to fully employ 3D geometry, we adopt a convolutional position encoding to achieve roto-translation invariance, a multi-scale self-attention mechanism to capture local fine-grained patterns with increasing contextual scales, and an attentive farthest point sampling algorithm to attain the molecular representation. We validate Molformer across several domains in quantum chemistry, physiology, and biophysics. Our experiments show better or competitive performance in those datasets. Our work provides a promising way to amalgamate 3D geometric information and make better usage of informative substructures in representing molecules.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Spatial structures are among the most crucial factors to decide molecular properties and understand their principles of action in the physical world. For example, 3D structures of proteins provide valuable information for inferring biological interventions, such as structure-based drug development and targeted mutagenesis (Senior et al., 2020; Jumper et al., 2021; Baek et al., 2021). In chemistry, zeolites show obvious differences in separation properties caused by subtle changes in their 3D geometric compositions (Chai et al., 2020; Pfriem et al., 2021). Apart from that, in the pharmaceutical industry, the same compounds can have different 3D structures, resulting in different solubility (Zhang et al., 2017). To sum up, capturing 3D spatial structures is essential to accurately forecast molecular properties. Based on these facts, researchers have studied molecular representation learning techniques (Rao et al., 2019) to include 3D spatial information (Zhavoronkov et al., 2019).
|
| 12 |
+
|
| 13 |
+
The dominant 3D molecular models are Graph Neural Networks (GNNs) and 3D Convolutional Neural Networks (3DCNNs) (Derevyanko et al., 2018; Pagès et al., 2019; Townshend et al., 2019). GNNs create edges by using either chemical bonds or finding the neighbors of each node within a distance cutoff (Zhang et al., 2020b). They encode pairwise connectivity of atoms and require running multiple hops for an atom to reach to another. 3DCNNs encode translational and permutational symmetries, but need to stack deep layers to build direct connections between distant regions, incurring significant computational costs. In contrast, Transformers rely on the self-attention mechanism to capture long-term dependencies in parallel (Hernández & Amigó, 2021). Meanwhile, Equivariant Neural Networks (ENNs) (Thomas et al., 2018) have emerged as a new class of methods, where geometric transformations of their inputs lead to well-defined transformations of outputs. Some ENNs adopt Transformers as the backbone but fail to surmount the intrinsic drawbacks of this architecture, including its insensibility to local patterns among non-uniformly distancing atoms and its inefficiency to aggregate atom features. Some other Transformer-based methods have been proposed to fuse distance and graph neighbourhood information (Maziarka et al., 2020; 2021). However, they take no consideration of employing motifs, which are frequently-occurring substructures in molecules and can be leveraged to uncover global graph properties.
|
| 14 |
+
|
| 15 |
+
In this work, we present the Molformer on the basis of all preceding analysis. For the sake of injecting chemical domain knowledge, we construct a motif-template vocabulary based on functional groups and adopt trainable motif embeddings to maintain the semantic meanings of those essential substructures. Then with both motifs and atoms as input, Molformer operates on a fully-connected graph with direct connections between remote regions (Velickovi ˇ c et al., 2017; Joshi, 2020), which ´ reduces computational burden of multi-hop GNNs and stacked 3DCNNs. However, this characteristic limits Molformer’s capacity in exploiting local structures and leads to poor generalization in unseen cases (Qi et al., 2017). Therefore, we propose a Multi-scale Self-Attention (MSA) module to recognize fine-grained patterns from neighborhoods. Moreover, we introduce a roto-translation invariant Convolutional Position Encoding (CPE) to depict position relationships among atoms and their adjacencies. After that, to retain a comprehensive representation of the entire molecule, we propose an Attentive Farthest Point Sampling (AFPS) module that selects important atoms with the assistance of the attention score map.
|
| 16 |
+
|
| 17 |
+
To summarize, our contributions are as follows:
|
| 18 |
+
|
| 19 |
+
• To the best of our knowledge, we are the foremost to incorporate motifs with knowledge of functional groups into a Transformer architecture for 3D molecular representation learning. • We propose a novel MSA to extract local patterns, a roto-translation invariant CPE method to encode relative distance at a linear computational time cost, and a simple yet effective downsampling algorithm to gather molecular representations. • We show significant improvements on several benchmarks in three domains. Code and all datasets are available at https://github.com/smiles724/Molformer.
|
| 20 |
+
|
| 21 |
+
# 2 PRELIMINARIES
|
| 22 |
+
|
| 23 |
+
Problem Definition. A molecule ${ \cal S } = ( { \cal E } , { \cal P } )$ has $N$ atoms and $C$ atom classes, where ${ \pmb { { \cal E } } } =$ $\{ e _ { 1 } , . . . , e _ { N } \} \in \mathbb { R } ^ { N \times C }$ contains the one-hot atom representations and $P = \{ p _ { 1 } , . . . , p _ { N } \} \in \mathbb { R } ^ { N \times 3 }$ contains the 3D coordinates of each atom. Each one-hot $e _ { i }$ can be converted to a dense vector $\pmb { x } _ { i } = e _ { i } \pmb { W } ^ { E }$ , with $\pmb { x } _ { i } \in \mathbb { R } ^ { d _ { m o d e l } }$ and $W ^ { E } \in \mathbb { R } ^ { C \times d _ { m o d e l } }$ being the embedding matrix. The 3D coordinates of the atom $i$ is a three-dimensional vector $\pmb { p } _ { i } = [ p _ { i } ^ { x } , \bar { p } _ { i } ^ { y } , p _ { i } ^ { z } ]$ . A representation learning model $f$ acts on $_ { s }$ , obtaining its representation $r = f ( S )$ . Then $\mathbfit { \Delta } \mathbf { r }$ is forwarded to a prediction model $g$ and attain the prediction of a biochemical property ${ \hat { y } } = g ( \pmb { r } )$ .
|
| 24 |
+
|
| 25 |
+
Self-attention Mechanism. The Transformer (Vaswani et al., 2017) has become very successful due to its core component, self-attention. Given a set of input features $\{ \pmb { x } _ { i } \} _ { i = 1 , . . . , N }$ , the standard dot-product attention layer is as the following:
|
| 26 |
+
|
| 27 |
+
$$
|
| 28 |
+
q _ { i } = f _ { Q } ( { x } _ { i } ) , k _ { i } = f _ { K } ( { x } _ { i } ) , v _ { i } = f _ { V } ( { x } _ { i } ) , a _ { i j } = q _ { i } k _ { j } ^ { T } / \sqrt { d _ { k } } , z _ { i } = \sum _ { j = 1 } ^ { N } \sigma ( a _ { i j } ) v _ { j }
|
| 29 |
+
$$
|
| 30 |
+
|
| 31 |
+
where $\left\{ f _ { Q } , f _ { K } , f _ { V } \right\}$ are embedding transformations, and $\{ q _ { i } , k _ { i } , v _ { i } \}$ are respectively the query, key, and value vectors with the same dimension $d _ { k }$ . $a _ { i j }$ is the attention that the token $i$ pays to the token $j$ . $\sigma$ denotes the Softmax function and $z _ { i }$ is the output embedding of the token $i$ . This formula conforms to a non-local network (Wang et al., 2018), indicating its inability to capture fine-grained patterns in a local context.
|
| 32 |
+
|
| 33 |
+
Position Encoding. Self-attention is invariant to permutation of the input (Dufter et al., 2021), and position encoding ensures that the Transformer will reveal positional information. Position encoding methods can be either based on absolute positions or relative distances. The former takes the raw position information as input and is sensitive to spatial transformations. The latter manipulates the attention score by incorporating relative distances (Guo et al., 2020a; Pan et al., 2021):√ $a _ { i j } = { \bf q } _ { i } { \bf k } _ { j } ^ { T } / \sqrt { d _ { k } } + f _ { \mathrm { P E } } ( \bar { p _ { i } } - p _ { j } )$ , where $\bar { f } _ { \mathrm { P E } } ( \cdot )$ is the position encoding function and is translation invariant. The rotation invariance can be further accomplished by taking a L2-norm $| | p _ { i } - p _ { j } | | _ { 2 }$ (Chen et al., 2019b).
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: The overall architecture of our Molformer. FFN stands for a feed-forward network. Local features are shown in purple and orange; yellow corresponds to a global feature.
|
| 37 |
+
|
| 38 |
+
# 3 MOLFORMER
|
| 39 |
+
|
| 40 |
+
Molformer is based on the architecture of Transformer but adopts several significantly different and novel components (see Figure 1). First, a vocabulary of motif templates is constructed on the basis of functional groups and we extract all available motifs from each molecule. Then both atoms and motifs acquire their corresponding embeddings and are forwarded into $L$ feature learning blocks. Each block consists of a convolutional position encoding, a multi-scale self-attention, and a feedforward network. After that, an attentive subsampling method is utilized to adaptively aggregate the molecular presentation, which is later fed into a predictor to forecast properties in a broad range of downstream tasks.
|
| 41 |
+
|
| 42 |
+
# 3.1 TRAINABLE MOTIF-BASED EMBEDDING
|
| 43 |
+
|
| 44 |
+
Motifs are frequently-occurring substructure patterns as well as the building blocks of complex molecular structures. They usually maintain semantic meanings and have great expressiveness of the biochemical characteristics of the whole molecule (Zhang et al., 2020a). In the chemical community, researchers have developed a set of standard criterion to recognize motifs with essential functionalities in molecules (Milo et al., 2002). Despite that, few of prior studies directly incorporate those informative motifs into their model architectures. To fill this gap, we define a series of momentous substructures using external domain knowledge, and introduce a trainable motif embeddings method to fully exploit them in our Molformer.
|
| 45 |
+
|
| 46 |
+
To begin with, all motifs are first extracted according to the motif vocabulary, which is built by functional groups. Practically, we rely on RDKit (Landrum, 2013) to draw them from the SMILES (Weininger, 1988) representation of each molecule. We assume $M$ motifs $\{ m _ { 1 } , . . . , m _ { M } \}$ are detected in the molecule $\pmb { S }$ , and each motif $m _ { i }$ contains a certain number of at least two atoms. Then we regard each kind of motif as a new type of token and append them to the input. Therefore, the input for our Molformer becomes $\{ \pmb { x } _ { 1 } , . . . , \pmb { x } _ { N } , \pmb { x } _ { m _ { 1 } } , . . . , \pmb { x } _ { m _ { M } } \}$ , where $\mathbf { \boldsymbol { x } } _ { m _ { i } }$ is obtained through an learnable embedding matrix $W ^ { M } \in \mathbb { R } ^ { C ^ { \prime } \times d _ { m o d e l } }$ and $C ^ { \prime }$ denotes the number of motif categories. As for the position of each motif, we adopt a weighted sum of the 3D coordinates of its component atoms as pmi = Pxi∈mi ( $\begin{array} { r } { \dot { p _ { m _ { i } } } = \sum _ { x _ { i } \in m _ { i } } \ ( \frac { w _ { i } } { \sum _ { x _ { i } \in m _ { i } } w _ { i } } ) \cdot \dot { p _ { i } } } \end{array}$ wi ) · pi, where wi are the atomic weights.
|
| 47 |
+
|
| 48 |
+
Our approach requires the model to automatically learn a customized embedding for each motif template through backpropagations, which follows a data-driven pattern. In some data-sufficient tasks, its greatest potential can be unlocked and those motif embeddings can be well trained. Nevertheless, in the case of few-shot learning or small datasets, each category of motif might only appear rare times. Those embeddings are not fully tuned and can be extremely biased and noisy, which will do little helps to the ultimate property prediction.
|
| 49 |
+
|
| 50 |
+
# 3.2 CONVOLUTIONAL POSITION ENCODING
|
| 51 |
+
|
| 52 |
+
To enable roto-translation invariance and take fully advantage of geometric information, instead of adding a term of $f _ { \mathrm { P E } } ( \pmb { p } _ { i } - \pmb { p } _ { j } )$ , we propose a CPE that applies a convolutional operation to the interatomic distance $\pmb { D } \in \mathbb { R } ^ { N \times N }$ :
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
{ \cal A } _ { \mathrm { c o v } } = \mathrm { C o n v } _ { 2 d } ( D ) \odot { \cal A } ,
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $\pmb { A } = [ a _ { i , j } ] _ { i , j = 1 , \cdots N } \in \mathbb { R } ^ { N \times N }$ is the attention matrix, $\mathrm { C o n v } _ { 2 d } ( \cdot )$ denotes a 2D shallow convolutional network with a kernel size of $1 \times 1$ , and $\odot$ is the element-wise product. With multi-headed self-attention, ${ \cal A } _ { \mathrm { c o v } }$ is expanded in the sense that $A _ { \mathrm { c o v } } \in \mathbb { R } ^ { H \times N \times N }$ , and $\mathrm { C o n v } _ { 2 d } ( \cdot )$ has $H$ output channels. The CPE method induces ${ \mathrm { O } } ( N )$ convolution operations on each atom and can drastically reduce training time when the number of atoms is very large ( $\mathrm { { W u } }$ et al., 2021).
|
| 59 |
+
|
| 60 |
+
# 3.3 MULTI-SCALE SELF-ATTENTION
|
| 61 |
+
|
| 62 |
+
The self-attention mechanism in the Transformer is good at capturing global data patterns but ignores local context (Guo et al., 2020a). Exploiting local context has proven to be important for 3D spatial data such as 3D point clouds (Qi et al., 2017). Therefore, we impose a distance-based constraint in self-attention in order to extract multi-scaled patterns from both local and global contexts.
|
| 63 |
+
|
| 64 |
+
Guo et al. (2020b) propose to use integer-based distance to limit attention to local word neighbors, which cannot be used in molecules. This is because different types of molecules have different densities and molecules of the same type have different spatial regularity, which results in the nonuniformity of interatomic distances. Normally, small molecules have a mean interatomic distance of $1 { - } 2 \textup { \AA }$ (Angstrom, $1 0 ^ { - 1 0 } m _ { , }$ ), which is denser than large molecules like proteins with approximately $5 \mathrm { ~ \AA ~ }$ on average. To address that, we design a new multi-scale methodology to robustly capture details. Specifically, we mask atoms beyond a certain distance $\tau _ { s }$ (a real number as opposed to an integer in Guo et al. (2020b)) at each scale $s$ . We denote $d _ { i j } = | | { \pmb p } _ { i } - { \pmb p } _ { j } | | _ { 2 }$ as the Euclidean distance between the $i$ -th and $j$ -th atom. The attention calculation is modified as:
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
a _ { i j } ^ { \tau _ { s } } = \frac { q _ { i } \pmb { k } _ { j } ^ { T } \cdot \mathbf { 1 } _ { \{ d _ { i j } < \tau _ { s } \} } } { \sqrt { d _ { k } } } , \ : z _ { i } ^ { \tau _ { s } } = \sum _ { j = 1 } ^ { N } \sigma ( a _ { i j } ^ { \tau _ { s } } ) \pmb { v } _ { j } ,
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
where $\mathbf { 1 } _ { \{ d _ { i j } < \tau _ { s } \} }$ is the indicator function. For small molecules, Equation 3 can be complementally combined with Equation 2. Then features extracted from $S$ different scales $\{ \tau _ { s } \} _ { s = 1 , \dots , S }$ as well as the informative global feature are concatenated together to form a multi-scale representation, denoted by $\pmb { z } _ { i } ^ { \prime } = \pmb { z } _ { i } ^ { \mathcal { T } _ { 1 } } \oplus . . . \oplus \pmb { z } _ { i } ^ { \tau s } \oplus \pmb { z } _ { i } ^ { g l o b a l } \in \mathbb { R } ^ { ( S + 1 ) d _ { k } }$ . After that, $ { \boldsymbol { z } } _ { i } ^ { \prime }$ is forwarded into a multi-layer perceptron to be compressed as $z _ { i } ^ { \prime \prime }$ with the original dimension $d _ { k }$ .
|
| 71 |
+
|
| 72 |
+
# 3.4 ATTENTIVE FARTHEST POINT SAMPLING
|
| 73 |
+
|
| 74 |
+
After having the atom embeddings $\{ z _ { i } ^ { \prime \prime } \} _ { i = 1 , \dots , N }$ , we study how to obtain the molecular representation $\pmb { r }$ . For GNNs, several readout functions such as set2set (Vinyals et al., 2015) and GGNN (Gilmer et al., 2017) are invented. For Transformer architectures, one way is via a virtual atom.
|
| 75 |
+
|
| 76 |
+
<table><tr><td colspan="2">Algorithm 1 Pseudocode of Attentive Farthest Point Sampling</td></tr><tr><td colspan="2">Input: The attention score matrix A ∈ RN×N, a Euclidean distance matrix D ∈ RN ×N. Output: K sampled points.</td></tr><tr><td>1: A←∑iAij ∈RN</td><td>> sum up the attention matrix along rows</td></tr><tr><td>2:D←D∈RNxN</td><td>> normalize the distance matrix</td></tr><tr><td>3:P= {𝑥#},M={1,2,..,N} 4:while length(P)<k do</td><td></td></tr><tr><td>5: Xnew = argmax (min Dij + eAi)</td><td>> pick up the atom that maximize the objective</td></tr><tr><td>iEM j∈p 6: P.append(xnew), M.remove(x new)</td><td></td></tr><tr><td>7: return P</td><td></td></tr></table>
|
| 77 |
+
|
| 78 |
+
Though as Ying et al. (2021) state, it significantly improves the performance of existing models in the leaderboard of Open Graph Benchmark (Hu et al., 2020), this way concentrates more on close adjacent atoms and less on distant ones, and can lead to inadvertent over-smoothing of information propagation (Ishiguro et al., 2019). Besides, it is difficult to locate a virtual node in 3D space and build connections to existing atoms. The other way selects a subset of atoms via a downsampling algorithm named Farthest Point Search (FPS), but it ignores atomic differences and has sensitivity to outlier points (Pan et al., 2021) as well as uncontrollable randomness. To address these issues, we propose a new algorithm named AFPS. It aims to sample atoms by not merely spatial distances, but also their significance in terms of attention scores.
|
| 79 |
+
|
| 80 |
+
Specifically, we choose the virtual atom $x _ { \# }$ as the starting point and initialize two lists $\mathcal { P } = \{ x _ { \# } \}$ and $\mathcal { M } = \mathrm { \bar { \{ } } 1 , . . . , N \}$ to store remaining candidate points. Then the process begins with the attention score matrix $\pmb { A } \in \mathbb { R } ^ { N \times N }$ and the interatomic distance matrix $\pmb { { \cal D } } \in \mathbb { R } ^ { N \times N }$ . It can be easily proved that each row of $\pmb { A }$ sums up to 1 after the Sof tmax operation along columns, i.e. $\begin{array} { r } { \sum _ { j } { \cal A } _ { i j } \dot { = } 1 } \end{array}$ for $\forall i \in [ N ]$ . In order to obtain the importance of each atom in the self-attention computation, we accumulate $\pmb { A }$ along rows and get $\begin{array} { r } { \tilde { \pmb { A } } = \sum _ { i } \pmb { A } _ { i j } \in \mathbb { R } ^ { N } } \end{array}$ . Besides, we adopt the min-max normalization to rescale the distance matrix $_ D$ into values between 0 and 1, and obtain $\begin{array} { r } { \tilde { D } = \frac { D - \operatorname* { m i n } D } { \operatorname* { m a x } D - \operatorname* { m i n } D } } \end{array}$ .
|
| 81 |
+
|
| 82 |
+
After the above preprocess, we repeatedly move a point $x _ { n e w }$ from $\mathcal { M }$ to $\mathcal { P }$ , which ensures that $x _ { n e w }$ is as far from $\mathcal { P }$ as possible by maximizing $\tilde { D } _ { i j }$ and also plays a crucial role in attention computation by maximizing ${ \tilde { A } } _ { i }$ . Mathematically, the AFPS aims to achieve the following objective:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\operatorname* { m a x } \sum _ { i \in \mathcal { M } } ( \operatorname* { m i n } _ { j \in \mathcal { P } \setminus \{ i \} } \tilde { D } _ { i j } + \epsilon \tilde { A } _ { i } )
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $\epsilon$ is a hyperparameter to balance those two different goals. This process is repeated until $\mathcal { P }$ has reached $K$ points. Algorithm 1 provides a greedy approximation solution to solve this AFPS optimization objective for sake of computational efficiency.
|
| 89 |
+
|
| 90 |
+
After that, sampled features $\{ z _ { i } ^ { \prime \prime } \} _ { i \in P }$ are gathered by a Global Average Pooling layer (Lin et al., 2013) to attain the molecular representation $\pmb { r } \in \mathbb { R } ^ { d _ { k } }$ .
|
| 91 |
+
|
| 92 |
+
Remarkably, our proposed AFPS has considerable difference and superiority over a body of previous hierarchical learning approaches (Eismann et al., 2020; 2021). Their subsampling operations are mainly designed for protein complexities, which have more uniform structures than small molecules. To be specific, they hierarchically use alpha carbons as the intermediate set of points and aggregate information at the level of those carbons for the entire complex. However, the structures of small molecules have no such a stable paradigm, and we provide a universal methodology to adaptively subsample atoms without any prior assumptions on the atom arrangement.
|
| 93 |
+
|
| 94 |
+
# 4 EXPERIMENTS
|
| 95 |
+
|
| 96 |
+
# 4.1 EXPERIMENTAL SETUP
|
| 97 |
+
|
| 98 |
+
We conduct extensive experiments on both small and large molecules (proteins) with various targets, including quantum chemistry, physiology, and biophysics. Table 1 summarises information of benchmark datasets, such as the number of tasks and task types, the number of molecules and atom classes, the minimum and maximum number of atoms, and the density (mean interatomic distances) of all molecules.
|
| 99 |
+
|
| 100 |
+
Table 1: Key statistics of datasets from three different categories.
|
| 101 |
+
|
| 102 |
+
<table><tr><td>Category</td><td>Dataset</td><td>Tasks</td><td>Task Type</td><td>Molecules</td><td>Atom Class</td><td>Min. Atoms</td><td>Max. Atoms</td><td>Density (A</td><td>Metric</td></tr><tr><td rowspan="3">Quantum Chemistry</td><td>QM7</td><td>1</td><td>regression</td><td>7,160</td><td>5</td><td>4</td><td>23</td><td>2.91</td><td>MAE</td></tr><tr><td>QM8</td><td>12</td><td>regression</td><td>21,786</td><td>5</td><td>3</td><td>26</td><td>1.54</td><td>MAE</td></tr><tr><td>QM9</td><td>12</td><td>regression</td><td>133,885</td><td>5</td><td>3</td><td>28</td><td>1.61</td><td>MAE</td></tr><tr><td rowspan="2">Physiology</td><td>BBBP</td><td>1</td><td>classification</td><td>2.039</td><td>13</td><td>2</td><td>132</td><td>2.64</td><td>ROC-AUC</td></tr><tr><td>ClinTox</td><td>2</td><td>classification</td><td>1,478</td><td>27</td><td>1</td><td>136</td><td>2.83</td><td>ROC-AUC</td></tr><tr><td rowspan="2">Biophysics</td><td>PDBind1</td><td>1</td><td>regression</td><td>11,908</td><td>23</td><td>115</td><td>1,085</td><td>5.89</td><td>RMSE</td></tr><tr><td>BACE</td><td>1</td><td>classification</td><td>1,513</td><td>8</td><td>10</td><td>73</td><td>3.24</td><td>ROC-AUC</td></tr></table>
|
| 103 |
+
|
| 104 |
+
Datasets. We test Molformer on a series of small molecule datasets, containing QM7 (Blum & Reymond, 2009), QM8 (Ramakrishnan et al., 2015), QM9 (Ramakrishnan et al., 2014), BBBP (Martins et al., 2012), ClinTox (Gayvert et al., 2016), and BACE (Subramanian et al., 2016) 2. QM7 is a subset of GDB-13 and composed of 7K molecules with up to 5 heavy atom types. QM8 and QM9 are subsets of GDB-17 with $2 2 \mathrm { k }$ molecules and 133K molecule respectively.
|
| 105 |
+
|
| 106 |
+
Additionally, we also inspect Molformer’s ability of learning mutual relations between proteins and molecules on the PDBbind dataset (Wang et al., 2005). We follow Townshend et al. (2020) and split protein-ligand complexes by protein sequence identity at $30 \%$ . As for the target, we predict $p S = - \log ( S )$ , where $S$ is the binding affinity in Molar unit. In addition, we only use the pocket of each protein and put pocket-ligand pairs together as the input.
|
| 107 |
+
|
| 108 |
+
For QM9, we use the exact train/validation/test split as Townshend et al. (2020). For PDBbind, $90 \%$ of the data is used for training and the rest is divided equally between validation and test like Chen et al. (2019c). For others, we adopt the scaffold splitting method with a ratio of 8:1:1 for train/validation/test as Rong et al. (2020). More implementing details can be found in Appendix A.1
|
| 109 |
+
|
| 110 |
+
Baselines For small molecules, we compare our approach with a number of state-of-the-art baselines. TF_Robust (Ramsundar et al., 2015) takes molecular fingerprints as the input. GraphConv (Kipf & Welling, 2016), Weave (Kearnes et al., 2016), MPNN (Gilmer et al., 2017), Schnet (Schütt et al., 2018), MEGNet (Chen et al., 2019c), DMPNN (Yang et al., 2019), MGCN (Lu et al., 2019), AttentiveFP (Xiong et al., 2019), DimeNet $^ { + + }$ (Klicpera et al., 2020), SphereNet (Liu et al., 2021), and SpinConv (Shuaibi et al., 2021) are all graph convolutional models. Graph Transformer (Chen et al., 2019a), MAT (Maziarka et al., 2020), R-MAT (Maziarka et al., 2021), SE(3)- Transformer (Fuchs et al., 2020), and LieTransformer (Hutchinson et al., 2021) are Transformerbased models.
|
| 111 |
+
|
| 112 |
+
For PDBbind, we choose six baselines. DeepDTA (Öztürk et al., 2018) and DeepAffinity (Karimi et al., 2019) take in pairs of ligand and protein SMILES as input. Cormorant (Anderson et al., 2019) is an ENN that represents each atom by its absolute 3D coordinates. Schnet, 3DCNN and 3DGCN (Townshend et al., 2020) are 3D molecular representation methods.
|
| 113 |
+
|
| 114 |
+
# 4.2 RESULTS ON DOWNSTREAM TASKS
|
| 115 |
+
|
| 116 |
+
Molecules. Table 2 and Table 3 document the overall results of Molformer and baselines on small molecules datasets, where best performance is marked bold and the second best is underlined for clear comparison. It can be discovered that Molformer achieves the lowest MAE of 11.6 on QM7 and 0.009 on QM8, beating several strong baselines including DMPNN and Graph Transformer. While not all state-of-the-art on QM9, Molformer offers competitive performance in 5 property regression tasks, which do not require thermochemical energy subtractions. Particularly, we outperforms all Transformer-based ENNs, including SE(3)-Transformer and LieTransformer. In classification problems, we surpass all non-pretrained methods and are only inferior to the pretrained GROVE. This accords to the fact that datasets with fewer samples can gain large improvements through the self-supervised pretraining (Rong et al., 2020).
|
| 117 |
+
|
| 118 |
+
Table 2: The performance comparison. For regression tasks including QM7 and QM8, lower is better. For classification tasks including BBBP, ClinTox, and Bace, higher is better. The methods in purple are pretrained methods.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Method</td><td>QM7</td><td>QM8</td><td>BBBP</td><td>ClinTox</td><td>BACE</td></tr><tr><td>TF-Robust (Ramsundar et al., 2015)</td><td>120.6</td><td>0.024</td><td>0.860</td><td>0.765</td><td>0.824</td></tr><tr><td>GraphConv (Kipf & Welling,2016)</td><td>118.9</td><td>0.021</td><td>0.877</td><td>0.845</td><td>0.854</td></tr><tr><td>Weave (Kearnes et al.,2016)</td><td>94.7</td><td>0.022</td><td>0.837</td><td>0.823</td><td>0.791</td></tr><tr><td>MPNN (Gilmer et al., 2017)</td><td>113.0</td><td>0.015</td><td>0.913</td><td>0.879</td><td>0.815</td></tr><tr><td>Schnet (Schuitt et al., 2018)</td><td>74.2</td><td>0.020</td><td>0.847</td><td>0.717</td><td>0.750</td></tr><tr><td>DMPNN (Yang et al.,2019)</td><td>105.8</td><td>0.014</td><td>0.919</td><td>0.897</td><td>0.852</td></tr><tr><td>MGCN (Lu et al., 2019)</td><td>77.6</td><td>0.022</td><td>0.850</td><td>0.634</td><td>0.734</td></tr><tr><td>Attentive FP (Xiong et al., 2019)</td><td>126.7</td><td>0.028</td><td>0.908</td><td>0.933</td><td>0.863</td></tr><tr><td>Graph Transformer (Chen et al.,2019a)</td><td>47.8</td><td>0.010</td><td>0.913</td><td>-</td><td>0.880</td></tr><tr><td>MAT (Maziarka et al.,2020)</td><td>102.8</td><td>1</td><td>0.728</td><td>-</td><td>0.846</td></tr><tr><td>R-MAT (Maziarka et al., 2021)</td><td>68.6</td><td>=</td><td>0.746</td><td>=</td><td>0.871</td></tr><tr><td>GROVElarge (Rong et al., 2020)</td><td>89.4</td><td>0.017</td><td>0.911</td><td>0.884</td><td>0.858</td></tr><tr><td> GROVElarge (Rong et al., 2020)</td><td>72.6</td><td>0.012</td><td>0.940</td><td>0.944</td><td>0.894</td></tr><tr><td>Molformer</td><td>11.5</td><td>0.009</td><td>0.926</td><td>0.941</td><td>0.884</td></tr></table>
|
| 121 |
+
|
| 122 |
+
Table 3: Comparison of MAE on QM9. The methods in orange are Transformer-based methods.
|
| 123 |
+
|
| 124 |
+
<table><tr><td>Target (Unit)</td><td>€HOMO (eV)</td><td>∈LUMo (eV)</td><td>△e(eV)</td><td>μ(D)</td><td>a (bohr3)</td></tr><tr><td>MPNN (Gilmer et al., 2017)</td><td>.043</td><td>.037</td><td>.069</td><td>.030</td><td>.092</td></tr><tr><td>Schnet (Schuitt et al., 2018)</td><td>.041</td><td>.034</td><td>.063</td><td>.033</td><td>.235</td></tr><tr><td>MEGNet ful (Chen et al., 2019c)</td><td>.038</td><td>.031</td><td>.061</td><td>.040</td><td>.083</td></tr><tr><td>DimeNet++ (Klicpera et al.,2020)</td><td>.024</td><td>.019</td><td>.032</td><td>.029</td><td>.043</td></tr><tr><td>SphereNet (Liu et al., 2021)</td><td>.024</td><td>.019</td><td>.032</td><td>.026</td><td>.047</td></tr><tr><td>SpinConv (Shuaibi et al.,2021)</td><td>.026</td><td>.022</td><td>.047</td><td>.027</td><td>.058</td></tr><tr><td> SE(3)-Transformer (Fuchs et al., 2020)</td><td>.035</td><td>.033</td><td>.053</td><td>.051</td><td>.142</td></tr><tr><td>LieTransformer-SE(3) (Hutchinson et al., 2021)</td><td>.033</td><td>.029</td><td>.052</td><td>.061</td><td>.104</td></tr><tr><td>Molformer</td><td>.021</td><td>.026</td><td>.039</td><td>.045</td><td>.086</td></tr></table>
|
| 125 |
+
|
| 126 |
+
Protein. Table 4 reports the Root-Mean-Squared Deviation (RMSD), the Pearson correlation $( R _ { p } )$ , and the Spearman correlation $( R _ { s } )$ on PDBbind. Molformer achieves the lowest RMSD among all baselines and the best Pearson and Spearman correlations. As Wu et al. (2018) claim, appropriate featurizations which contains pertinent information is significant for PDBbind. However, an important observation in our work is that deep learning approaches with the full exploitation of 3D geometric information can perform better than conventional methods like DeepDTA and DeepAffinity, which use a set of physicochemical descriptors but ignore 3D structures.
|
| 127 |
+
|
| 128 |
+
# 5 ABLATION STUDY AND DISCUSSION
|
| 129 |
+
|
| 130 |
+
# 5.1 WHAT ARE THE EFFECTS OF EACH COMPONENT
|
| 131 |
+
|
| 132 |
+
We investigate the effectiveness of different modules of our Molformer in Table 5. It can be observed that CPE substantially boosts model’s performance compared with the naive method that immediately adds 3D coordinates as the atom input feature. In addition, AFPS is found to produce better predictions than the control group, which utilizes the virtual node as the molecular representation. Moreover, MSA significantly reduces RMSD from 17.6 to 11.6 on QM7, but its improvements in QM8 are much smaller. This phenomenon indicates that MSA is an appropriate way to alleviate the problem of inadequate training in small datasets. It endows Molformer with capability to extract local features by regulating the scope of self-attention. However, as the data size gets larger and larger, Molformer does not require the assistance of MSA to abstract local patterns, since the parameters of CPE is properly trained. What’s more, the trainable motif-level embedding leads to a MAE decrease of 2.1 in QM7 and a RMSD drop of 0.011 in PDBbind, indicating its effectiveness in both small molecules and proteins.
|
| 133 |
+
|
| 134 |
+
Table 4: Comparison of RMSD, $R _ { p }$ , and $R _ { s }$ on PDBbind.
|
| 135 |
+
|
| 136 |
+
<table><tr><td>Method</td><td>Geometry</td><td>RMSD</td><td>Rp</td><td>Rs</td></tr><tr><td>DeepDTA (Ozturk et al., 2018)</td><td>Non-3D</td><td>1.565</td><td>0.573</td><td>0.574</td></tr><tr><td>DeepAffinity (Karimi et al.,2019)</td><td>Non-3D</td><td>1.893</td><td>0.415</td><td>0.426</td></tr><tr><td>Schnet (Schutt et al., 2018)</td><td>3D</td><td>1.892</td><td>0.601</td><td>=</td></tr><tr><td>Cormorant (Anderson et al., 2019)</td><td>3D</td><td>1.429</td><td>0.541</td><td>0.532</td></tr><tr><td>3DCNN (Townshend et al., 2020)</td><td>3D</td><td>1.520</td><td>0.558</td><td>0.556</td></tr><tr><td>3DGCN (Townshend et al., 2020)</td><td>3D</td><td>1.963</td><td>0.581</td><td>0.647</td></tr><tr><td>Molformer</td><td>3D</td><td>1.417</td><td>0.623</td><td>0.651</td></tr></table>
|
| 137 |
+
|
| 138 |
+
Table 5: Effects of each module on QM7, QM8 and PDBbind (RMSD). ME stands for the trainable motif embedding method.
|
| 139 |
+
|
| 140 |
+
<table><tr><td></td><td>CPE</td><td>AFPS</td><td>MSA</td><td>ME</td><td>QM7</td><td>QM8</td><td>PDBbind</td></tr><tr><td></td><td>=</td><td>=</td><td></td><td>-</td><td>63.2</td><td>0.0205</td><td>1.925</td></tr><tr><td></td><td></td><td>=</td><td></td><td>=</td><td>17.6</td><td>0.0104</td><td>1.489</td></tr><tr><td></td><td></td><td>√</td><td></td><td>1</td><td>17.0</td><td>0.0103</td><td>1.455</td></tr><tr><td></td><td></td><td></td><td></td><td>=</td><td>11.6</td><td>0.0098</td><td>1.423</td></tr><tr><td>1234576</td><td></td><td></td><td></td><td>F</td><td>15.2</td><td></td><td>1.443</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>13.7</td><td>0.0099</td><td>1.428</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>11.5</td><td>-</td><td>1.417</td></tr></table>
|
| 141 |
+
|
| 142 |
+
# 5.2 HOW USEFUL IS THE TRAINABLE MOTIF-BASED EMBEDDINGS?
|
| 143 |
+
|
| 144 |
+
How to determine motifs are critical and crucial to our proposed trainable motif-based embeddings. In organic chemistry, a functional group is a substituent or moiety in a molecule that causes the molecule’s characteristic chemical reactions. The same functional group will undergo the same or similar chemical reactions regardless of the rest of the molecule’s composition (Smith, 2020). Therefore, we define motifs on the basis of functional groups and explore the contribution of four different categories. Specifically, we consider four common functional groups, including groups that contain only carbon and hydrogen (Hydrocarbons), groups that contain halogen (Haloalkanes), groups that contain oxygen, and groups that contain nitrogen (see the left part in Figure 2). The ablations (see the right part in Figure 2) demonstrate that Molformer can gain improvements from all sorts of motifs, where Hydrocarbons and Haloalkanes are the most and the least effective kinds, respectively. This is in line with the fact that Hydrocarbons occur most frequently in organic molecules. Moreover, our model achieves the best performance when all categories of the motifs are integrated, implying a promising direction to discover more effective motifs.
|
| 145 |
+
|
| 146 |
+
# 6 RELATED WORKS
|
| 147 |
+
|
| 148 |
+
# 6.1 3D MOLECULAR REPRESENTATION
|
| 149 |
+
|
| 150 |
+
Deep learning has been widely applied to predict molecular properties during past decades. Small molecules are usually represented as lower-dimensional representations such as 1D linear sequence, including amino acid sequences and SMILES (Weininger, 1988), or 2D chemical bond graphs. In spite of that, more evidence indicates that 3D space structures lead to better modelling and superior performance. 3D models becomes a popular way to capture these complex geometries in a variety of bio-molecular applications using CNNs (Anand-Achim et al., 2021; Jiménez et al., 2018) and GNNs (Cho & Choi, 2018). Nonetheless, aforementioned methods have hardly been extended to the self-attention mechanism that is proven to be good at grabbing contextual feature (Tang et al., 2018) and long-range dependencies (Vaswani et al., 2017).
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 2: The left is the four different categories of motifs that we apply in Molformer based on functional groups. The right is the ablation study of those groups in QM7 and BBBP.
|
| 154 |
+
|
| 155 |
+
Attempts have been undertaken to address that issue throughout Transformers. Initially, molecules are in the form of SMILES to obtain corresponding representations (Honda et al., 2019; Pesciullesi et al., 2020; Morris et al., 2020; Rao et al., 2021) and conduct pretraining (Chithrananda et al., 2020). Some researchers combine the characteristics of GNN and Transformer to solve generative tasks (Ingraham et al., 2019) or fulfill equivariance (Fuchs et al., 2020).
|
| 156 |
+
|
| 157 |
+
# 6.2 MOTIF-BASED METHOD
|
| 158 |
+
|
| 159 |
+
Motifs have been proven to benefit many tasks from exploratory analysis to transfer learning (Henderson et al., 2012). Various algorithms have been proposed to exploit motifs for contrastive learning (Zhang et al., 2020a), self-supervised pretraining (Rong et al., 2020; Zhang et al., 2021), and generation (Jin et al., 2020). However, none of previous work tries to embody those informative motifs in their model architectures.
|
| 160 |
+
|
| 161 |
+
# 7 CONCLUSION
|
| 162 |
+
|
| 163 |
+
In this study, we present a universal neural architecture, Molformer, for 3D molecular representations. Our model extracts motifs with semantic meanings from each molecule based on functional groups and learn customized embeddings to facilitate property predictions. Moreover, it adopts a convolutional position encoding method to make a full use of spatial information and augments the self-attention mechanism with multiplicate scales to catch local features. Furthermore, a simple but efficient downsampling algorithm is introduced to better accumulate representations of an entire molecule. Our experiments show the superiority of our model on various scientific domains.
|
| 164 |
+
|
| 165 |
+
# REFERENCES
|
| 166 |
+
|
| 167 |
+
Namrata Anand-Achim, Raphael Ryuichi Eguchi, Irimpan I Mathews, Carla P Perez, Alexander Derry, Russ B Altman, and Possu Huang. Protein sequence design with a learned potential. bioRxiv, pp. 2020–01, 2021.
|
| 168 |
+
|
| 169 |
+
Brandon Anderson, Truong-Son Hy, and Risi Kondor. Cormorant: Covariant molecular neural networks. arXiv preprint arXiv:1906.04015, 2019.
|
| 170 |
+
|
| 171 |
+
Simon Axelrod and Rafael Gomez-Bombarelli. Geom: Energy-annotated molecular conformations for property prediction and molecular generation. arXiv preprint arXiv:2006.05531, 2020.
|
| 172 |
+
|
| 173 |
+
Minkyung Baek, Frank DiMaio, Ivan Anishchenko, Justas Dauparas, Sergey Ovchinnikov, Gyu Rie Lee, Jue Wang, Qian Cong, Lisa N. Kinch, R. Dustin Schaeffer, Claudia Millán, Hahnbeom Park, Carson Adams, Caleb R. Glassman, Andy DeGiovanni, Jose H. Pereira, Andria V. Rodrigues, Alberdina A. van Dijk, Ana C. Ebrecht, Diederik J. Opperman, Theo Sagmeister, Christoph Buhlheller, Tea Pavkov-Keller, Manoj K. Rathinaswamy, Udit Dalwadi, Calvin K. Yip, John E. Burke, K. Christopher Garcia, Nick V. Grishin, Paul D. Adams, Randy J. Read, and David Baker. Accurate prediction of protein structures and interactions using a three-track neural network. Science, 2021. ISSN 0036-8075. doi: 10.1126/science.abj8754.
|
| 174 |
+
|
| 175 |
+
Lorenz C Blum and Jean-Louis Reymond. 970 million druglike small molecules for virtual screening in the chemical universe database gdb-13. Journal of the American Chemical Society, 131(25): 8732–8733, 2009.
|
| 176 |
+
|
| 177 |
+
Yuchao Chai, Xue Han, Weiyao Li, Shanshan Liu, Sikai Yao, Chong Wang, Wei Shi, Ivan da Silva, Pascal Manuel, Yongqiang Cheng, et al. Control of zeolite pore interior for chemoselective alkyne/olefin separations. Science, 368(6494):1002–1006, 2020.
|
| 178 |
+
|
| 179 |
+
Benson Chen, Regina Barzilay, and Tommi Jaakkola. Path-augmented graph transformer network. arXiv preprint arXiv:1905.12712, 2019a.
|
| 180 |
+
|
| 181 |
+
Chao Chen, Guanbin Li, Ruijia Xu, Tianshui Chen, Meng Wang, and Liang Lin. Clusternet: Deep hierarchical cluster network with rigorously rotation-invariant representation for point cloud analysis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4994–5002, 2019b.
|
| 182 |
+
|
| 183 |
+
Chi Chen, Weike Ye, Yunxing Zuo, Chen Zheng, and Shyue Ping Ong. Graph networks as a universal machine learning framework for molecules and crystals. Chemistry of Materials, 31(9):3564– 3572, 2019c.
|
| 184 |
+
|
| 185 |
+
Seyone Chithrananda, Gabriel Grand, and Bharath Ramsundar. Chemberta: Large-scale selfsupervised pretraining for molecular property prediction. arXiv preprint arXiv:2010.09885, 2020.
|
| 186 |
+
|
| 187 |
+
Hyeoncheol Cho and Insung S Choi. Three-dimensionally embedded graph convolutional network (3dgcn) for molecule interpretation. arXiv preprint arXiv:1811.09794, 2018.
|
| 188 |
+
|
| 189 |
+
Georgy Derevyanko, Sergei Grudinin, Yoshua Bengio, and Guillaume Lamoureux. Deep convolutional networks for quality assessment of protein folds. Bioinformatics, 34(23):4046–4053, 2018.
|
| 190 |
+
|
| 191 |
+
Philipp Dufter, Martin Schmitt, and Hinrich Schütze. Position information in transformers: An overview. arXiv preprint arXiv:2102.11090, 2021.
|
| 192 |
+
|
| 193 |
+
Stephan Eismann, Patricia Suriana, Bowen Jing, Raphael JL Townshend, and Ron O Dror. Protein model quality assessment using rotation-equivariant, hierarchical neural networks. arXiv preprint arXiv:2011.13557, 2020.
|
| 194 |
+
|
| 195 |
+
Stephan Eismann, Raphael JL Townshend, Nathaniel Thomas, Milind Jagota, Bowen Jing, and Ron O Dror. Hierarchical, rotation-equivariant neural networks to select structural models of protein complexes. Proteins: Structure, Function, and Bioinformatics, 89(5):493–501, 2021.
|
| 196 |
+
|
| 197 |
+
Fabian B Fuchs, Daniel E Worrall, Volker Fischer, and Max Welling. Se (3)-transformers: 3d rototranslation equivariant attention networks. arXiv preprint arXiv:2006.10503, 2020.
|
| 198 |
+
|
| 199 |
+
Kaitlyn M Gayvert, Neel S Madhukar, and Olivier Elemento. A data-driven approach to predicting successes and failures of clinical trials. Cell chemical biology, 23(10):1294–1301, 2016.
|
| 200 |
+
|
| 201 |
+
Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In International conference on machine learning, pp. 1263–1272. PMLR, 2017.
|
| 202 |
+
|
| 203 |
+
Meng-Hao Guo, Jun-Xiong Cai, Zheng-Ning Liu, Tai-Jiang Mu, Ralph R Martin, and Shi-Min Hu. Pct: Point cloud transformer. arXiv preprint arXiv:2012.09688, 2020a.
|
| 204 |
+
|
| 205 |
+
Qipeng Guo, Xipeng Qiu, Pengfei Liu, Xiangyang Xue, and Zheng Zhang. Multi-scale self-attention for text classification. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 7847–7854, 2020b.
|
| 206 |
+
|
| 207 |
+
Keith Henderson, Brian Gallagher, Tina Eliassi-Rad, Hanghang Tong, Sugato Basu, Leman Akoglu, Danai Koutra, Christos Faloutsos, and Lei Li. Rolx: structural role extraction & mining in large graphs. In Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 1231–1239, 2012.
|
| 208 |
+
|
| 209 |
+
Adrián Hernández and José M Amigó. Attention mechanisms and their applications to complex systems. Entropy, 23(3):283, 2021.
|
| 210 |
+
|
| 211 |
+
Shion Honda, Shoi Shi, and Hiroki R Ueda. Smiles transformer: Pre-trained molecular fingerprint for low data drug discovery. arXiv preprint arXiv:1911.04738, 2019.
|
| 212 |
+
|
| 213 |
+
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. arXiv preprint arXiv:2005.00687, 2020.
|
| 214 |
+
|
| 215 |
+
Michael J Hutchinson, Charline Le Lan, Sheheryar Zaidi, Emilien Dupont, Yee Whye Teh, and Hyunjik Kim. Lietransformer: Equivariant self-attention for lie groups. In International Conference on Machine Learning, pp. 4533–4543. PMLR, 2021.
|
| 216 |
+
|
| 217 |
+
John Ingraham, Vikas K Garg, Regina Barzilay, and Tommi Jaakkola. Generative models for graphbased protein design. 2019.
|
| 218 |
+
|
| 219 |
+
Katsuhiko Ishiguro, Shin-ichi Maeda, and Masanori Koyama. Graph warp module: an auxiliary module for boosting the power of graph neural networks in molecular graph analysis. arXiv preprint arXiv:1902.01020, 2019.
|
| 220 |
+
|
| 221 |
+
José Jiménez, Miha Skalic, Gerard Martinez-Rosell, and Gianni De Fabritiis. K deep: protein–ligand absolute binding affinity prediction via 3d-convolutional neural networks. Journal of chemical information and modeling, 58(2):287–296, 2018.
|
| 222 |
+
|
| 223 |
+
Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Hierarchical generation of molecular graphs using structural motifs. In International Conference on Machine Learning, pp. 4839–4848. PMLR, 2020.
|
| 224 |
+
|
| 225 |
+
Chaitanya Joshi. Transformers are graph neural networks. The Gradient, 2020.
|
| 226 |
+
|
| 227 |
+
John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Žídek, Anna Potapenko, Alex Bridgland, Clemens Meyer, Simon A A Kohl, Andrew J Ballard, Andrew Cowie, Bernardino RomeraParedes, Stanislav Nikolov, Rishub Jain, Jonas Adler, Trevor Back, Stig Petersen, David Reiman, Ellen Clancy, Michal Zielinski, Martin Steinegger, Michalina Pacholska, Tamas Berghammer, Sebastian Bodenstein, David Silver, Oriol Vinyals, Andrew W Senior, Koray Kavukcuoglu, Pushmeet Kohli, and Demis Hassabis. Highly accurate protein structure prediction with AlphaFold. Nature, 2021. doi: 10.1038/s41586-021-03819-2. (Accelerated article preview).
|
| 228 |
+
|
| 229 |
+
Mostafa Karimi, Di Wu, Zhangyang Wang, and Yang Shen. Deepaffinity: interpretable deep learning of compound–protein affinity through unified recurrent and convolutional neural networks. Bioinformatics, 35(18):3329–3338, 2019.
|
| 230 |
+
|
| 231 |
+
Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: moving beyond fingerprints. Journal of computer-aided molecular design, 30(8): 595–608, 2016.
|
| 232 |
+
|
| 233 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 234 |
+
|
| 235 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
|
| 236 |
+
|
| 237 |
+
Johannes Klicpera, Shankari Giri, Johannes T Margraf, and Stephan Günnemann. Fast and uncertainty-aware directional message passing for non-equilibrium molecules. arXiv preprint arXiv:2011.14115, 2020.
|
| 238 |
+
|
| 239 |
+
Greg Landrum. Rdkit: A software suite for cheminformatics, computational chemistry, and predictive modeling, 2013.
|
| 240 |
+
|
| 241 |
+
Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. arXiv preprint arXiv:1312.4400, 2013.
|
| 242 |
+
|
| 243 |
+
Yi Liu, Limei Wang, Meng Liu, Xuan Zhang, Bora Oztekin, and Shuiwang Ji. Spherical message passing for 3d graph networks. arXiv preprint arXiv:2102.05013, 2021.
|
| 244 |
+
|
| 245 |
+
Chengqiang Lu, Qi Liu, Chao Wang, Zhenya Huang, Peize Lin, and Lixin He. Molecular property prediction: A multilevel quantum interactions modeling perspective. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 1052–1060, 2019.
|
| 246 |
+
|
| 247 |
+
Ines Filipa Martins, Ana L Teixeira, Luis Pinheiro, and Andre O Falcao. A bayesian approach to in silico blood-brain barrier penetration modeling. Journal of chemical information and modeling, 52(6):1686–1697, 2012.
|
| 248 |
+
|
| 249 |
+
Łukasz Maziarka, Tomasz Danel, Sławomir Mucha, Krzysztof Rataj, Jacek Tabor, and Stanisław Jastrz˛ebski. Molecule attention transformer. arXiv preprint arXiv:2002.08264, 2020.
|
| 250 |
+
|
| 251 |
+
Łukasz Maziarka, Dawid Majchrowski, Tomasz Danel, Piotr Gainski, Jacek Tabor, Igor Podolak, ´ Paweł Morkisz, and Stanisław Jastrz˛ebski. Relative molecule self-attention transformer. arXiv preprint arXiv:2110.05841, 2021.
|
| 252 |
+
|
| 253 |
+
Ron Milo, Shai Shen-Orr, Shalev Itzkovitz, Nadav Kashtan, Dmitri Chklovskii, and Uri Alon. Network motifs: simple building blocks of complex networks. Science, 298(5594):824–827, 2002.
|
| 254 |
+
|
| 255 |
+
Paul Morris, Rachel St. Clair, William Edward Hahn, and Elan Barenholtz. Predicting binding from screening assays with transformer network embeddings. Journal of Chemical Information and Modeling, 60(9):4191–4199, 2020.
|
| 256 |
+
|
| 257 |
+
Hakime Öztürk, Arzucan Özgür, and Elif Ozkirimli. Deepdta: deep drug–target binding affinity prediction. Bioinformatics, 34(17):i821–i829, 2018.
|
| 258 |
+
|
| 259 |
+
Guillaume Pagès, Benoit Charmettant, and Sergei Grudinin. Protein model quality assessment using 3d oriented convolutional neural networks. Bioinformatics, 35(18):3313–3319, 2019.
|
| 260 |
+
|
| 261 |
+
Xuran Pan, Zhuofan Xia, Shiji Song, Li Erran Li, and Gao Huang. 3d object detection with pointformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7463–7472, 2021.
|
| 262 |
+
|
| 263 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32: 8026–8037, 2019.
|
| 264 |
+
|
| 265 |
+
Giorgio Pesciullesi, Philippe Schwaller, Teodoro Laino, and Jean-Louis Reymond. Transfer learning enables the molecular transformer to predict regio-and stereoselective reactions on carbohydrates. Nature communications, 11(1):1–8, 2020.
|
| 266 |
+
|
| 267 |
+
Niklas Pfriem, Peter H Hintermeier, Sebastian Eckstein, Sungmin Kim, Qiang Liu, Hui Shi, Lara Milakovic, Yuanshuai Liu, Gary L Haller, Eszter Baráth, et al. Role of the ionic environment in enhancing the activity of reacting molecules in zeolite pores. Science, 372(6545):952–957, 2021.
|
| 268 |
+
|
| 269 |
+
Charles R Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. arXiv preprint arXiv:1706.02413, 2017.
|
| 270 |
+
|
| 271 |
+
Raghunathan Ramakrishnan, Pavlo O Dral, Matthias Rupp, and O Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific Data, 1, 2014.
|
| 272 |
+
|
| 273 |
+
Raghunathan Ramakrishnan, Mia Hartmann, Enrico Tapavicza, and O Anatole Von Lilienfeld. Electronic spectra from tddft and machine learning in chemical space. The Journal of chemical physics, 143(8):084111, 2015.
|
| 274 |
+
|
| 275 |
+
Bharath Ramsundar, Steven Kearnes, Patrick Riley, Dale Webster, David Konerding, and Vijay Pande. Massively multitask networks for drug discovery. arXiv preprint arXiv:1502.02072, 2015.
|
| 276 |
+
|
| 277 |
+
Roshan Rao, Nicholas Bhattacharya, Neil Thomas, Yan Duan, Xi Chen, John Canny, Pieter Abbeel, and Yun S Song. Evaluating protein transfer learning with tape. Advances in neural information processing systems, 32:9689, 2019.
|
| 278 |
+
|
| 279 |
+
Roshan Rao, Jason Liu, Robert Verkuil, Joshua Meier, John F Canny, Pieter Abbeel, Tom Sercu, and Alexander Rives. Msa transformer. bioRxiv, 2021.
|
| 280 |
+
|
| 281 |
+
Yu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie, Ying Wei, Wenbing Huang, and Junzhou Huang. Self-supervised graph transformer on large-scale molecular data. arXiv preprint arXiv:2007.02835, 2020.
|
| 282 |
+
|
| 283 |
+
Kristof T Schütt, Huziel E Sauceda, P-J Kindermans, Alexandre Tkatchenko, and K-R Müller. Schnet–a deep learning architecture for molecules and materials. The Journal of Chemical Physics, 148(24):241722, 2018.
|
| 284 |
+
|
| 285 |
+
Andrew W Senior, Richard Evans, John Jumper, James Kirkpatrick, Laurent Sifre, Tim Green, Chongli Qin, Augustin Žídek, Alexander WR Nelson, Alex Bridgland, et al. Improved protein structure prediction using potentials from deep learning. Nature, 577(7792):706–710, 2020.
|
| 286 |
+
|
| 287 |
+
Muhammed Shuaibi, Adeesh Kolluru, Abhishek Das, Aditya Grover, Anuroop Sriram, Zachary Ulissi, and C Lawrence Zitnick. Rotation invariant graph neural networks using spin convolutions. arXiv preprint arXiv:2106.09575, 2021.
|
| 288 |
+
|
| 289 |
+
Michael B Smith. March’s advanced organic chemistry: reactions, mechanisms, and structure. John Wiley & Sons, 2020.
|
| 290 |
+
|
| 291 |
+
Govindan Subramanian, Bharath Ramsundar, Vijay Pande, and Rajiah Aldrin Denny. Computational modeling of $\beta$ -secretase 1 (bace-1) inhibitors using ligand based approaches. Journal of chemical information and modeling, 56(10):1936–1949, 2016.
|
| 292 |
+
|
| 293 |
+
Gongbo Tang, Mathias Müller, Annette Rios, and Rico Sennrich. Why self-attention? a targeted evaluation of neural machine translation architectures. arXiv preprint arXiv:1808.08946, 2018.
|
| 294 |
+
|
| 295 |
+
Nathaniel Thomas, Tess Smidt, Steven Kearnes, Lusann Yang, Li Li, Kai Kohlhoff, and Patrick Riley. Tensor field networks: Rotation-and translation-equivariant neural networks for 3d point clouds. arXiv preprint arXiv:1802.08219, 2018.
|
| 296 |
+
|
| 297 |
+
Raphael Townshend, Rishi Bedi, Patricia Suriana, and Ron Dror. End-to-end learning on 3d protein structure for interface prediction. Advances in Neural Information Processing Systems, 32:15642– 15651, 2019.
|
| 298 |
+
|
| 299 |
+
Raphael JL Townshend, Martin Vögele, Patricia Suriana, Alexander Derry, Alexander Powers, Yianni Laloudakis, Sidhika Balachandar, Brandon Anderson, Stephan Eismann, Risi Kondor, et al. Atom3d: Tasks on molecules in three dimensions. arXiv preprint arXiv:2012.04035, 2020.
|
| 300 |
+
|
| 301 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017.
|
| 302 |
+
|
| 303 |
+
Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
|
| 304 |
+
|
| 305 |
+
Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015.
|
| 306 |
+
|
| 307 |
+
Renxiao Wang, Xueliang Fang, Yipin Lu, Chao-Yie Yang, and Shaomeng Wang. The pdbbind database: methodologies and updates. Journal of medicinal chemistry, 48(12):4111–4119, 2005.
|
| 308 |
+
|
| 309 |
+
Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 7794–7803, 2018.
|
| 310 |
+
|
| 311 |
+
David Weininger. Smiles, a chemical language and information system. 1. introduction to methodology and encoding rules. Journal of chemical information and computer sciences, 28(1):31–36, 1988.
|
| 312 |
+
|
| 313 |
+
Yulun Wu, Nicholas Choma, Andrew Chen, Mikaela Cashman, Érica T Prates, Manesh Shah, Verónica G Melesse Vergara, Austin Clyde, Thomas S Brettin, Wibe A de Jong, et al. Spatial graph attention and curiosity-driven policy for antiviral drug discovery. arXiv preprint arXiv:2106.02190, 2021.
|
| 314 |
+
|
| 315 |
+
Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. Moleculenet: a benchmark for molecular machine learning. Chemical science, 9(2):513–530, 2018.
|
| 316 |
+
|
| 317 |
+
Zhaoping Xiong, Dingyan Wang, Xiaohong Liu, Feisheng Zhong, Xiaozhe Wan, Xutong Li, Zhaojun Li, Xiaomin Luo, Kaixian Chen, Hualiang Jiang, et al. Pushing the boundaries of molecular representation for drug discovery with the graph attention mechanism. Journal of medicinal chemistry, 63(16):8749–8760, 2019.
|
| 318 |
+
|
| 319 |
+
Kevin Yang, Kyle Swanson, Wengong Jin, Connor Coley, Philipp Eiden, Hua Gao, Angel GuzmanPerez, Timothy Hopper, Brian Kelley, Miriam Mathea, et al. Analyzing learned molecular representations for property prediction. Journal of chemical information and modeling, 59(8):3370– 3388, 2019.
|
| 320 |
+
|
| 321 |
+
Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform bad for graph representation? arXiv preprint arXiv:2106.05234, 2021.
|
| 322 |
+
|
| 323 |
+
Haitao Zhang, Gye Won Han, Alexander Batyuk, Andrii Ishchenko, Kate L White, Nilkanth Patel, Anastasiia Sadybekov, Beata Zamlynny, Michael T Rudd, Kaspar Hollenstein, et al. Structural basis for selectivity and diversity in angiotensin ii receptors. Nature, 544(7650):327–332, 2017.
|
| 324 |
+
|
| 325 |
+
Shichang Zhang, Ziniu Hu, Arjun Subramonian, and Yizhou Sun. Motif-driven contrastive learning of graph representations. arXiv preprint arXiv:2012.12533, 2020a.
|
| 326 |
+
|
| 327 |
+
Shuo Zhang, Yang Liu, and Lei Xie. Molecular mechanics-driven graph neural network with multiplex graph for molecular structures. arXiv preprint arXiv:2011.07457, 2020b.
|
| 328 |
+
|
| 329 |
+
Zaixi Zhang, Qi Liu, Hao Wang, Chengqiang Lu, and Chee-Kong Lee. Motif-based graph selfsupervised learning for molecular property prediction. arXiv preprint arXiv:2110.00987, 2021.
|
| 330 |
+
|
| 331 |
+
Alex Zhavoronkov, Yan A Ivanenkov, Alex Aliper, Mark S Veselov, Vladimir A Aladinskiy, Anastasiya V Aladinskaya, Victor A Terentiev, Daniil A Polykovskiy, Maksim D Kuznetsov, Arip Asadulaev, et al. Deep learning enables rapid identification of potent ddr1 kinase inhibitors. Nature biotechnology, 37(9):1038–1040, 2019.
|
| 332 |
+
|
| 333 |
+
# A EXPERIMENTAL SETUP
|
| 334 |
+
|
| 335 |
+
A.1 EXPERIMENTAL DETAILS
|
| 336 |
+
|
| 337 |
+
Molformer Architecture. A standard Molformer has 6 multi-scale self-attention layers, and each layer has 3 scales and 8 heads. Normally, scales are set by $\tau = [ \frac { \rho } { 2 } , \rho , 2 \rho ]$ , where $\rho$ is the density of each corresponding dataset. The number of selected atoms $K$ and the weight ratio $\epsilon$ in AFPS is set as 4 and 0.1, respectively. We use ReLU as the activation function and a dropout rate of 0.1 for all layers. The input embedding size is 512 and the hidden size for FFN is 2048.
|
| 338 |
+
|
| 339 |
+
For BBBP and ClinTox, we use Molformer with 2 multi-scale self-attention layers with 4 heads. The scales are 0.8, 1.6, and $3 . 0 \mathring \mathrm { A }$ . The dropout rate is 0.2 and 0.6 for BBBP and ClinTox, respectively. For BACE, we use a standard Molformer but with a dropout rate of 0.2.
|
| 340 |
+
|
| 341 |
+
Training Details. We use Pytorch (Paszke et al., 2019) to implement Molformer and data parallelism in two GeForce RTX 3090. An Adam (Kingma & Ba, 2014) optimizer is used and a lambda scheduler is enforced to adjust it. We apply no weight decay there. Each model is trained with 300 epochs, except for PDBbind where we solely train the model for 30 epochs. For QM7 and QM8, we use a batch size of 64 and a learning rate of $\mathrm { 1 0 ^ { - 4 } }$ . For QM9, we use a batch size of 256 and a learning rate of $1 0 ^ { - 3 }$ . All hyper-parameters are tuned based on validation sets. For all molecular datasets, we impose no limitation on the input length and normalise the values of each regression task by mean and the standard deviation of the training set. We used grid search to tune the hyper-parameters of our model and baselines based on the validation dataset.
|
| 342 |
+
|
| 343 |
+
Motif Generation. We adopt RDKit (Landrum, 2013) to search motifs. However, QM8 and QM9 do not provide SMILES representations but only 3D coordinates, thus we cannot pull out motifs from these datasets. As for PDBbind, we only extract motifs of small molecules and leave out motifs in proteins.
|
| 344 |
+
|
| 345 |
+
# B ADDITIONAL EXPERIMENTAL RESULTS
|
| 346 |
+
|
| 347 |
+
# B.1 CONFORMATION CLASSIFICATION
|
| 348 |
+
|
| 349 |
+
Task and Data. In order to explore the influence of multiple conformations, we introduce a new task, conformation classification, to evaluate model’s capacity to differentiate molecules with various low-energy conformations. We use the recent GEOM-QM9 (Axelrod & Gomez-Bombarelli, 2020) experiments. More specifically, GEOM-QM9 is an extension to QM9 dataset. It contains multiple conformations for most molecules, while the original QM9 only contains one.
|
| 350 |
+
|
| 351 |
+
We randomly draw 1000 different molecules from GEOM-QM9, each with 20 different conformations. Models are required to distinguish the molecular type given different conformations. We take a half of each molecular conformations as the training set and another half as the test split. Since it is a multi-class classification problem with 1000 classes, we compute the micro-average and macro-average ROC-AUC as well as the accuracy for numerical evaluations.
|
| 352 |
+
|
| 353 |
+
Results. Molformer achieves a micro-average and macro-average ROC-AUC of 1.0 and 1.0, and an accuracy of 0.999. This indicates strong robustness of our model against different spatial conformations of molecules.
|
| 354 |
+
|
| 355 |
+
# B.2 AFPS VS. FPS.
|
| 356 |
+
|
| 357 |
+
To have a vivid understanding of the atom sampling algorithm, we conducted a case study on a random crystal (see Figure 3). Points selected by FPS are randomized and exclude vital atoms like the heavy metal Nickel (Ni). With the adoption of AFPS, sampled points include Ni and Nitrogen (N) besides that they keep remote distances from each other. Moreover, FPS integrates too many features of trivial atoms like Hydrogen $\mathrm { ( H ) }$ while misses out key atoms, which will significantly smooth the molecular representations and lead to poor predictions. This illustrative example firmly shows the effectiveness of our AFPS to offset disadvantages of the conventional FPS in 3D molecular representation.
|
| 358 |
+
|
| 359 |
+

|
| 360 |
+
Figure 3: Sampled points using FPS and AFPS. We do not show dummy nodes there.
|
parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_content_list.json
ADDED
|
@@ -0,0 +1,2021 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "MOTIF-BASED ROTO-TRANSLATION INVARIANTTRANSFORMER FOR MOLECULAR PROPERTY PRE-DICTION IN 3D SPACE",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
195,
|
| 20 |
+
398,
|
| 21 |
+
223
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
261,
|
| 32 |
+
544,
|
| 33 |
+
275
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Recent studies use geometric deep learning to represent molecules and predict properties. However, they are computationally expensive in capturing long-range dependencies and ignore the non-uniformity of interatomic distances. More importantly, few of them consider injecting the biochemical structure knowledge such as functional groups into model architectures. To overcome such issues, we introduce Molformer, a variant of the Transformer for molecular representations that exploits both semantic motifs and 3D spatial information. Specifically, Molformer extracts motifs based on functional groups and learns customized embeddings to store the semantic meanings of those informative substructures. In order to fully employ 3D geometry, we adopt a convolutional position encoding to achieve roto-translation invariance, a multi-scale self-attention mechanism to capture local fine-grained patterns with increasing contextual scales, and an attentive farthest point sampling algorithm to attain the molecular representation. We validate Molformer across several domains in quantum chemistry, physiology, and biophysics. Our experiments show better or competitive performance in those datasets. Our work provides a promising way to amalgamate 3D geometric information and make better usage of informative substructures in representing molecules. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
290,
|
| 43 |
+
764,
|
| 44 |
+
540
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
565,
|
| 55 |
+
336,
|
| 56 |
+
582
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Spatial structures are among the most crucial factors to decide molecular properties and understand their principles of action in the physical world. For example, 3D structures of proteins provide valuable information for inferring biological interventions, such as structure-based drug development and targeted mutagenesis (Senior et al., 2020; Jumper et al., 2021; Baek et al., 2021). In chemistry, zeolites show obvious differences in separation properties caused by subtle changes in their 3D geometric compositions (Chai et al., 2020; Pfriem et al., 2021). Apart from that, in the pharmaceutical industry, the same compounds can have different 3D structures, resulting in different solubility (Zhang et al., 2017). To sum up, capturing 3D spatial structures is essential to accurately forecast molecular properties. Based on these facts, researchers have studied molecular representation learning techniques (Rao et al., 2019) to include 3D spatial information (Zhavoronkov et al., 2019). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
597,
|
| 66 |
+
825,
|
| 67 |
+
750
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "The dominant 3D molecular models are Graph Neural Networks (GNNs) and 3D Convolutional Neural Networks (3DCNNs) (Derevyanko et al., 2018; Pagès et al., 2019; Townshend et al., 2019). GNNs create edges by using either chemical bonds or finding the neighbors of each node within a distance cutoff (Zhang et al., 2020b). They encode pairwise connectivity of atoms and require running multiple hops for an atom to reach to another. 3DCNNs encode translational and permutational symmetries, but need to stack deep layers to build direct connections between distant regions, incurring significant computational costs. In contrast, Transformers rely on the self-attention mechanism to capture long-term dependencies in parallel (Hernández & Amigó, 2021). Meanwhile, Equivariant Neural Networks (ENNs) (Thomas et al., 2018) have emerged as a new class of methods, where geometric transformations of their inputs lead to well-defined transformations of outputs. Some ENNs adopt Transformers as the backbone but fail to surmount the intrinsic drawbacks of this architecture, including its insensibility to local patterns among non-uniformly distancing atoms and its inefficiency to aggregate atom features. Some other Transformer-based methods have been proposed to fuse distance and graph neighbourhood information (Maziarka et al., 2020; 2021). However, they take no consideration of employing motifs, which are frequently-occurring substructures in molecules and can be leveraged to uncover global graph properties. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
757,
|
| 77 |
+
825,
|
| 78 |
+
924
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
103,
|
| 88 |
+
823,
|
| 89 |
+
160
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this work, we present the Molformer on the basis of all preceding analysis. For the sake of injecting chemical domain knowledge, we construct a motif-template vocabulary based on functional groups and adopt trainable motif embeddings to maintain the semantic meanings of those essential substructures. Then with both motifs and atoms as input, Molformer operates on a fully-connected graph with direct connections between remote regions (Velickovi ˇ c et al., 2017; Joshi, 2020), which ´ reduces computational burden of multi-hop GNNs and stacked 3DCNNs. However, this characteristic limits Molformer’s capacity in exploiting local structures and leads to poor generalization in unseen cases (Qi et al., 2017). Therefore, we propose a Multi-scale Self-Attention (MSA) module to recognize fine-grained patterns from neighborhoods. Moreover, we introduce a roto-translation invariant Convolutional Position Encoding (CPE) to depict position relationships among atoms and their adjacencies. After that, to retain a comprehensive representation of the entire molecule, we propose an Attentive Farthest Point Sampling (AFPS) module that selects important atoms with the assistance of the attention score map. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
166,
|
| 99 |
+
825,
|
| 100 |
+
347
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "To summarize, our contributions are as follows: ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
354,
|
| 110 |
+
486,
|
| 111 |
+
368
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "• To the best of our knowledge, we are the foremost to incorporate motifs with knowledge of functional groups into a Transformer architecture for 3D molecular representation learning. • We propose a novel MSA to extract local patterns, a roto-translation invariant CPE method to encode relative distance at a linear computational time cost, and a simple yet effective downsampling algorithm to gather molecular representations. • We show significant improvements on several benchmarks in three domains. Code and all datasets are available at https://github.com/smiles724/Molformer. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
217,
|
| 120 |
+
380,
|
| 121 |
+
825,
|
| 122 |
+
489
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 PRELIMINARIES ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
508,
|
| 133 |
+
339,
|
| 134 |
+
525
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Problem Definition. A molecule ${ \\cal S } = ( { \\cal E } , { \\cal P } )$ has $N$ atoms and $C$ atom classes, where ${ \\pmb { { \\cal E } } } =$ $\\{ e _ { 1 } , . . . , e _ { N } \\} \\in \\mathbb { R } ^ { N \\times C }$ contains the one-hot atom representations and $P = \\{ p _ { 1 } , . . . , p _ { N } \\} \\in \\mathbb { R } ^ { N \\times 3 }$ contains the 3D coordinates of each atom. Each one-hot $e _ { i }$ can be converted to a dense vector $\\pmb { x } _ { i } = e _ { i } \\pmb { W } ^ { E }$ , with $\\pmb { x } _ { i } \\in \\mathbb { R } ^ { d _ { m o d e l } }$ and $W ^ { E } \\in \\mathbb { R } ^ { C \\times d _ { m o d e l } }$ being the embedding matrix. The 3D coordinates of the atom $i$ is a three-dimensional vector $\\pmb { p } _ { i } = [ p _ { i } ^ { x } , \\bar { p } _ { i } ^ { y } , p _ { i } ^ { z } ]$ . A representation learning model $f$ acts on $_ { s }$ , obtaining its representation $r = f ( S )$ . Then $\\mathbfit { \\Delta } \\mathbf { r }$ is forwarded to a prediction model $g$ and attain the prediction of a biochemical property ${ \\hat { y } } = g ( \\pmb { r } )$ . ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
173,
|
| 143 |
+
540,
|
| 144 |
+
825,
|
| 145 |
+
638
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Self-attention Mechanism. The Transformer (Vaswani et al., 2017) has become very successful due to its core component, self-attention. Given a set of input features $\\{ \\pmb { x } _ { i } \\} _ { i = 1 , . . . , N }$ , the standard dot-product attention layer is as the following: ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
652,
|
| 155 |
+
825,
|
| 156 |
+
696
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "equation",
|
| 162 |
+
"img_path": "images/8b0114712972f33308aed4ece4b8969c68d51a45a75e17c9315577a9f01a8955.jpg",
|
| 163 |
+
"text": "$$\nq _ { i } = f _ { Q } ( { x } _ { i } ) , k _ { i } = f _ { K } ( { x } _ { i } ) , v _ { i } = f _ { V } ( { x } _ { i } ) , a _ { i j } = q _ { i } k _ { j } ^ { T } / \\sqrt { d _ { k } } , z _ { i } = \\sum _ { j = 1 } ^ { N } \\sigma ( a _ { i j } ) v _ { j }\n$$",
|
| 164 |
+
"text_format": "latex",
|
| 165 |
+
"bbox": [
|
| 166 |
+
230,
|
| 167 |
+
703,
|
| 168 |
+
767,
|
| 169 |
+
747
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "where $\\left\\{ f _ { Q } , f _ { K } , f _ { V } \\right\\}$ are embedding transformations, and $\\{ q _ { i } , k _ { i } , v _ { i } \\}$ are respectively the query, key, and value vectors with the same dimension $d _ { k }$ . $a _ { i j }$ is the attention that the token $i$ pays to the token $j$ . $\\sigma$ denotes the Softmax function and $z _ { i }$ is the output embedding of the token $i$ . This formula conforms to a non-local network (Wang et al., 2018), indicating its inability to capture fine-grained patterns in a local context. ",
|
| 176 |
+
"bbox": [
|
| 177 |
+
173,
|
| 178 |
+
753,
|
| 179 |
+
825,
|
| 180 |
+
824
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "Position Encoding. Self-attention is invariant to permutation of the input (Dufter et al., 2021), and position encoding ensures that the Transformer will reveal positional information. Position encoding methods can be either based on absolute positions or relative distances. The former takes the raw position information as input and is sensitive to spatial transformations. The latter manipulates the attention score by incorporating relative distances (Guo et al., 2020a; Pan et al., 2021):√ $a _ { i j } = { \\bf q } _ { i } { \\bf k } _ { j } ^ { T } / \\sqrt { d _ { k } } + f _ { \\mathrm { P E } } ( \\bar { p _ { i } } - p _ { j } )$ , where $\\bar { f } _ { \\mathrm { P E } } ( \\cdot )$ is the position encoding function and is translation invariant. The rotation invariance can be further accomplished by taking a L2-norm $| | p _ { i } - p _ { j } | | _ { 2 }$ (Chen et al., 2019b). ",
|
| 187 |
+
"bbox": [
|
| 188 |
+
174,
|
| 189 |
+
839,
|
| 190 |
+
825,
|
| 191 |
+
925
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "image",
|
| 197 |
+
"img_path": "images/4aa7cb0818a54b520d22d500d8474338b6f0b8c1a3cb8942bfd66a2211b458c5.jpg",
|
| 198 |
+
"image_caption": [
|
| 199 |
+
"Figure 1: The overall architecture of our Molformer. FFN stands for a feed-forward network. Local features are shown in purple and orange; yellow corresponds to a global feature. "
|
| 200 |
+
],
|
| 201 |
+
"image_footnote": [],
|
| 202 |
+
"bbox": [
|
| 203 |
+
207,
|
| 204 |
+
104,
|
| 205 |
+
792,
|
| 206 |
+
457
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "",
|
| 213 |
+
"bbox": [
|
| 214 |
+
173,
|
| 215 |
+
526,
|
| 216 |
+
825,
|
| 217 |
+
555
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "3 MOLFORMER ",
|
| 224 |
+
"text_level": 1,
|
| 225 |
+
"bbox": [
|
| 226 |
+
176,
|
| 227 |
+
575,
|
| 228 |
+
316,
|
| 229 |
+
592
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "Molformer is based on the architecture of Transformer but adopts several significantly different and novel components (see Figure 1). First, a vocabulary of motif templates is constructed on the basis of functional groups and we extract all available motifs from each molecule. Then both atoms and motifs acquire their corresponding embeddings and are forwarded into $L$ feature learning blocks. Each block consists of a convolutional position encoding, a multi-scale self-attention, and a feedforward network. After that, an attentive subsampling method is utilized to adaptively aggregate the molecular presentation, which is later fed into a predictor to forecast properties in a broad range of downstream tasks. ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
608,
|
| 239 |
+
825,
|
| 240 |
+
719
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "3.1 TRAINABLE MOTIF-BASED EMBEDDING ",
|
| 247 |
+
"text_level": 1,
|
| 248 |
+
"bbox": [
|
| 249 |
+
176,
|
| 250 |
+
737,
|
| 251 |
+
491,
|
| 252 |
+
751
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "Motifs are frequently-occurring substructure patterns as well as the building blocks of complex molecular structures. They usually maintain semantic meanings and have great expressiveness of the biochemical characteristics of the whole molecule (Zhang et al., 2020a). In the chemical community, researchers have developed a set of standard criterion to recognize motifs with essential functionalities in molecules (Milo et al., 2002). Despite that, few of prior studies directly incorporate those informative motifs into their model architectures. To fill this gap, we define a series of momentous substructures using external domain knowledge, and introduce a trainable motif embeddings method to fully exploit them in our Molformer. ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
174,
|
| 261 |
+
763,
|
| 262 |
+
825,
|
| 263 |
+
875
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "To begin with, all motifs are first extracted according to the motif vocabulary, which is built by functional groups. Practically, we rely on RDKit (Landrum, 2013) to draw them from the SMILES (Weininger, 1988) representation of each molecule. We assume $M$ motifs $\\{ m _ { 1 } , . . . , m _ { M } \\}$ are detected in the molecule $\\pmb { S }$ , and each motif $m _ { i }$ contains a certain number of at least two atoms. Then we regard each kind of motif as a new type of token and append them to the input. Therefore, the input for our Molformer becomes $\\{ \\pmb { x } _ { 1 } , . . . , \\pmb { x } _ { N } , \\pmb { x } _ { m _ { 1 } } , . . . , \\pmb { x } _ { m _ { M } } \\}$ , where $\\mathbf { \\boldsymbol { x } } _ { m _ { i } }$ is obtained through an learnable embedding matrix $W ^ { M } \\in \\mathbb { R } ^ { C ^ { \\prime } \\times d _ { m o d e l } }$ and $C ^ { \\prime }$ denotes the number of motif categories. As for the position of each motif, we adopt a weighted sum of the 3D coordinates of its component atoms as pmi = Pxi∈mi ( $\\begin{array} { r } { \\dot { p _ { m _ { i } } } = \\sum _ { x _ { i } \\in m _ { i } } \\ ( \\frac { w _ { i } } { \\sum _ { x _ { i } \\in m _ { i } } w _ { i } } ) \\cdot \\dot { p _ { i } } } \\end{array}$ wi ) · pi, where wi are the atomic weights. ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
176,
|
| 272 |
+
882,
|
| 273 |
+
823,
|
| 274 |
+
924
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "",
|
| 281 |
+
"bbox": [
|
| 282 |
+
173,
|
| 283 |
+
103,
|
| 284 |
+
825,
|
| 285 |
+
196
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "Our approach requires the model to automatically learn a customized embedding for each motif template through backpropagations, which follows a data-driven pattern. In some data-sufficient tasks, its greatest potential can be unlocked and those motif embeddings can be well trained. Nevertheless, in the case of few-shot learning or small datasets, each category of motif might only appear rare times. Those embeddings are not fully tuned and can be extremely biased and noisy, which will do little helps to the ultimate property prediction. ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
174,
|
| 294 |
+
202,
|
| 295 |
+
825,
|
| 296 |
+
286
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 3
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "3.2 CONVOLUTIONAL POSITION ENCODING ",
|
| 303 |
+
"text_level": 1,
|
| 304 |
+
"bbox": [
|
| 305 |
+
176,
|
| 306 |
+
303,
|
| 307 |
+
491,
|
| 308 |
+
318
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "To enable roto-translation invariance and take fully advantage of geometric information, instead of adding a term of $f _ { \\mathrm { P E } } ( \\pmb { p } _ { i } - \\pmb { p } _ { j } )$ , we propose a CPE that applies a convolutional operation to the interatomic distance $\\pmb { D } \\in \\mathbb { R } ^ { N \\times N }$ : ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
176,
|
| 317 |
+
328,
|
| 318 |
+
823,
|
| 319 |
+
371
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "equation",
|
| 325 |
+
"img_path": "images/7bb7dfec8437fd666448ca33ec45be901a869e54310be7398cdd504565c731a1.jpg",
|
| 326 |
+
"text": "$$\n{ \\cal A } _ { \\mathrm { c o v } } = \\mathrm { C o n v } _ { 2 d } ( D ) \\odot { \\cal A } ,\n$$",
|
| 327 |
+
"text_format": "latex",
|
| 328 |
+
"bbox": [
|
| 329 |
+
413,
|
| 330 |
+
378,
|
| 331 |
+
584,
|
| 332 |
+
396
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "where $\\pmb { A } = [ a _ { i , j } ] _ { i , j = 1 , \\cdots N } \\in \\mathbb { R } ^ { N \\times N }$ is the attention matrix, $\\mathrm { C o n v } _ { 2 d } ( \\cdot )$ denotes a 2D shallow convolutional network with a kernel size of $1 \\times 1$ , and $\\odot$ is the element-wise product. With multi-headed self-attention, ${ \\cal A } _ { \\mathrm { c o v } }$ is expanded in the sense that $A _ { \\mathrm { c o v } } \\in \\mathbb { R } ^ { H \\times N \\times N }$ , and $\\mathrm { C o n v } _ { 2 d } ( \\cdot )$ has $H$ output channels. The CPE method induces ${ \\mathrm { O } } ( N )$ convolution operations on each atom and can drastically reduce training time when the number of atoms is very large ( $\\mathrm { { W u } }$ et al., 2021). ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
173,
|
| 341 |
+
401,
|
| 342 |
+
825,
|
| 343 |
+
473
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "3.3 MULTI-SCALE SELF-ATTENTION ",
|
| 350 |
+
"text_level": 1,
|
| 351 |
+
"bbox": [
|
| 352 |
+
176,
|
| 353 |
+
491,
|
| 354 |
+
439,
|
| 355 |
+
505
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "The self-attention mechanism in the Transformer is good at capturing global data patterns but ignores local context (Guo et al., 2020a). Exploiting local context has proven to be important for 3D spatial data such as 3D point clouds (Qi et al., 2017). Therefore, we impose a distance-based constraint in self-attention in order to extract multi-scaled patterns from both local and global contexts. ",
|
| 362 |
+
"bbox": [
|
| 363 |
+
174,
|
| 364 |
+
516,
|
| 365 |
+
825,
|
| 366 |
+
571
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "Guo et al. (2020b) propose to use integer-based distance to limit attention to local word neighbors, which cannot be used in molecules. This is because different types of molecules have different densities and molecules of the same type have different spatial regularity, which results in the nonuniformity of interatomic distances. Normally, small molecules have a mean interatomic distance of $1 { - } 2 \\textup { \\AA }$ (Angstrom, $1 0 ^ { - 1 0 } m _ { , }$ ), which is denser than large molecules like proteins with approximately $5 \\mathrm { ~ \\AA ~ }$ on average. To address that, we design a new multi-scale methodology to robustly capture details. Specifically, we mask atoms beyond a certain distance $\\tau _ { s }$ (a real number as opposed to an integer in Guo et al. (2020b)) at each scale $s$ . We denote $d _ { i j } = | | { \\pmb p } _ { i } - { \\pmb p } _ { j } | | _ { 2 }$ as the Euclidean distance between the $i$ -th and $j$ -th atom. The attention calculation is modified as: ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
173,
|
| 375 |
+
579,
|
| 376 |
+
825,
|
| 377 |
+
708
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"img_path": "images/0590cf90c0ef900d2e98a82e3b4afb2058df645058a2d8715712ff29cda64a13.jpg",
|
| 384 |
+
"text": "$$\na _ { i j } ^ { \\tau _ { s } } = \\frac { q _ { i } \\pmb { k } _ { j } ^ { T } \\cdot \\mathbf { 1 } _ { \\{ d _ { i j } < \\tau _ { s } \\} } } { \\sqrt { d _ { k } } } , \\ : z _ { i } ^ { \\tau _ { s } } = \\sum _ { j = 1 } ^ { N } \\sigma ( a _ { i j } ^ { \\tau _ { s } } ) \\pmb { v } _ { j } ,\n$$",
|
| 385 |
+
"text_format": "latex",
|
| 386 |
+
"bbox": [
|
| 387 |
+
344,
|
| 388 |
+
713,
|
| 389 |
+
651,
|
| 390 |
+
758
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "where $\\mathbf { 1 } _ { \\{ d _ { i j } < \\tau _ { s } \\} }$ is the indicator function. For small molecules, Equation 3 can be complementally combined with Equation 2. Then features extracted from $S$ different scales $\\{ \\tau _ { s } \\} _ { s = 1 , \\dots , S }$ as well as the informative global feature are concatenated together to form a multi-scale representation, denoted by $\\pmb { z } _ { i } ^ { \\prime } = \\pmb { z } _ { i } ^ { \\mathcal { T } _ { 1 } } \\oplus . . . \\oplus \\pmb { z } _ { i } ^ { \\tau s } \\oplus \\pmb { z } _ { i } ^ { g l o b a l } \\in \\mathbb { R } ^ { ( S + 1 ) d _ { k } }$ . After that, $ { \\boldsymbol { z } } _ { i } ^ { \\prime }$ is forwarded into a multi-layer perceptron to be compressed as $z _ { i } ^ { \\prime \\prime }$ with the original dimension $d _ { k }$ . ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
763,
|
| 400 |
+
825,
|
| 401 |
+
839
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "3.4 ATTENTIVE FARTHEST POINT SAMPLING ",
|
| 408 |
+
"text_level": 1,
|
| 409 |
+
"bbox": [
|
| 410 |
+
176,
|
| 411 |
+
854,
|
| 412 |
+
500,
|
| 413 |
+
869
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "After having the atom embeddings $\\{ z _ { i } ^ { \\prime \\prime } \\} _ { i = 1 , \\dots , N }$ , we study how to obtain the molecular representation $\\pmb { r }$ . For GNNs, several readout functions such as set2set (Vinyals et al., 2015) and GGNN (Gilmer et al., 2017) are invented. For Transformer architectures, one way is via a virtual atom. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
176,
|
| 422 |
+
881,
|
| 423 |
+
823,
|
| 424 |
+
924
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "table",
|
| 430 |
+
"img_path": "images/9f80bf0a6b5b6d88334ab47ae1cb9cb49518e9348f83928178364d8a89dc335a.jpg",
|
| 431 |
+
"table_caption": [],
|
| 432 |
+
"table_footnote": [],
|
| 433 |
+
"table_body": "<table><tr><td colspan=\"2\">Algorithm 1 Pseudocode of Attentive Farthest Point Sampling</td></tr><tr><td colspan=\"2\">Input: The attention score matrix A ∈ RN×N, a Euclidean distance matrix D ∈ RN ×N. Output: K sampled points.</td></tr><tr><td>1: A←∑iAij ∈RN</td><td>> sum up the attention matrix along rows</td></tr><tr><td>2:D←D∈RNxN</td><td>> normalize the distance matrix</td></tr><tr><td>3:P= {𝑥#},M={1,2,..,N} 4:while length(P)<k do</td><td></td></tr><tr><td>5: Xnew = argmax (min Dij + eAi)</td><td>> pick up the atom that maximize the objective</td></tr><tr><td>iEM j∈p 6: P.append(xnew), M.remove(x new)</td><td></td></tr><tr><td>7: return P</td><td></td></tr></table>",
|
| 434 |
+
"bbox": [
|
| 435 |
+
173,
|
| 436 |
+
101,
|
| 437 |
+
826,
|
| 438 |
+
270
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "Though as Ying et al. (2021) state, it significantly improves the performance of existing models in the leaderboard of Open Graph Benchmark (Hu et al., 2020), this way concentrates more on close adjacent atoms and less on distant ones, and can lead to inadvertent over-smoothing of information propagation (Ishiguro et al., 2019). Besides, it is difficult to locate a virtual node in 3D space and build connections to existing atoms. The other way selects a subset of atoms via a downsampling algorithm named Farthest Point Search (FPS), but it ignores atomic differences and has sensitivity to outlier points (Pan et al., 2021) as well as uncontrollable randomness. To address these issues, we propose a new algorithm named AFPS. It aims to sample atoms by not merely spatial distances, but also their significance in terms of attention scores. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
173,
|
| 447 |
+
296,
|
| 448 |
+
825,
|
| 449 |
+
421
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Specifically, we choose the virtual atom $x _ { \\# }$ as the starting point and initialize two lists $\\mathcal { P } = \\{ x _ { \\# } \\}$ and $\\mathcal { M } = \\mathrm { \\bar { \\{ } } 1 , . . . , N \\}$ to store remaining candidate points. Then the process begins with the attention score matrix $\\pmb { A } \\in \\mathbb { R } ^ { N \\times N }$ and the interatomic distance matrix $\\pmb { { \\cal D } } \\in \\mathbb { R } ^ { N \\times N }$ . It can be easily proved that each row of $\\pmb { A }$ sums up to 1 after the Sof tmax operation along columns, i.e. $\\begin{array} { r } { \\sum _ { j } { \\cal A } _ { i j } \\dot { = } 1 } \\end{array}$ for $\\forall i \\in [ N ]$ . In order to obtain the importance of each atom in the self-attention computation, we accumulate $\\pmb { A }$ along rows and get $\\begin{array} { r } { \\tilde { \\pmb { A } } = \\sum _ { i } \\pmb { A } _ { i j } \\in \\mathbb { R } ^ { N } } \\end{array}$ . Besides, we adopt the min-max normalization to rescale the distance matrix $_ D$ into values between 0 and 1, and obtain $\\begin{array} { r } { \\tilde { D } = \\frac { D - \\operatorname* { m i n } D } { \\operatorname* { m a x } D - \\operatorname* { m i n } D } } \\end{array}$ . ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
173,
|
| 458 |
+
428,
|
| 459 |
+
825,
|
| 460 |
+
535
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "After the above preprocess, we repeatedly move a point $x _ { n e w }$ from $\\mathcal { M }$ to $\\mathcal { P }$ , which ensures that $x _ { n e w }$ is as far from $\\mathcal { P }$ as possible by maximizing $\\tilde { D } _ { i j }$ and also plays a crucial role in attention computation by maximizing ${ \\tilde { A } } _ { i }$ . Mathematically, the AFPS aims to achieve the following objective: ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
541,
|
| 470 |
+
825,
|
| 471 |
+
588
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "equation",
|
| 477 |
+
"img_path": "images/5bebab609212893cd350637d80df50a0d61eea27d05a7d8861e2b42855eeb86f.jpg",
|
| 478 |
+
"text": "$$\n\\operatorname* { m a x } \\sum _ { i \\in \\mathcal { M } } ( \\operatorname* { m i n } _ { j \\in \\mathcal { P } \\setminus \\{ i \\} } \\tilde { D } _ { i j } + \\epsilon \\tilde { A } _ { i } )\n$$",
|
| 479 |
+
"text_format": "latex",
|
| 480 |
+
"bbox": [
|
| 481 |
+
398,
|
| 482 |
+
594,
|
| 483 |
+
601,
|
| 484 |
+
628
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "where $\\epsilon$ is a hyperparameter to balance those two different goals. This process is repeated until $\\mathcal { P }$ has reached $K$ points. Algorithm 1 provides a greedy approximation solution to solve this AFPS optimization objective for sake of computational efficiency. ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
174,
|
| 493 |
+
635,
|
| 494 |
+
825,
|
| 495 |
+
676
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "After that, sampled features $\\{ z _ { i } ^ { \\prime \\prime } \\} _ { i \\in P }$ are gathered by a Global Average Pooling layer (Lin et al., 2013) to attain the molecular representation $\\pmb { r } \\in \\mathbb { R } ^ { d _ { k } }$ . ",
|
| 502 |
+
"bbox": [
|
| 503 |
+
173,
|
| 504 |
+
683,
|
| 505 |
+
821,
|
| 506 |
+
713
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Remarkably, our proposed AFPS has considerable difference and superiority over a body of previous hierarchical learning approaches (Eismann et al., 2020; 2021). Their subsampling operations are mainly designed for protein complexities, which have more uniform structures than small molecules. To be specific, they hierarchically use alpha carbons as the intermediate set of points and aggregate information at the level of those carbons for the entire complex. However, the structures of small molecules have no such a stable paradigm, and we provide a universal methodology to adaptively subsample atoms without any prior assumptions on the atom arrangement. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
173,
|
| 515 |
+
719,
|
| 516 |
+
825,
|
| 517 |
+
818
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "4 EXPERIMENTS ",
|
| 524 |
+
"text_level": 1,
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
838,
|
| 528 |
+
326,
|
| 529 |
+
854
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "4.1 EXPERIMENTAL SETUP ",
|
| 536 |
+
"text_level": 1,
|
| 537 |
+
"bbox": [
|
| 538 |
+
176,
|
| 539 |
+
869,
|
| 540 |
+
375,
|
| 541 |
+
883
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "We conduct extensive experiments on both small and large molecules (proteins) with various targets, including quantum chemistry, physiology, and biophysics. Table 1 summarises information of benchmark datasets, such as the number of tasks and task types, the number of molecules and atom classes, the minimum and maximum number of atoms, and the density (mean interatomic distances) of all molecules. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
173,
|
| 550 |
+
895,
|
| 551 |
+
823,
|
| 552 |
+
924
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
103,
|
| 562 |
+
825,
|
| 563 |
+
146
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "table",
|
| 569 |
+
"img_path": "images/27df12b6017c772c5c378b7d49a1e8de70b0e12ee63e398fefc008408141e1f4.jpg",
|
| 570 |
+
"table_caption": [
|
| 571 |
+
"Table 1: Key statistics of datasets from three different categories. "
|
| 572 |
+
],
|
| 573 |
+
"table_footnote": [],
|
| 574 |
+
"table_body": "<table><tr><td>Category</td><td>Dataset</td><td>Tasks</td><td>Task Type</td><td>Molecules</td><td>Atom Class</td><td>Min. Atoms</td><td>Max. Atoms</td><td>Density (A</td><td>Metric</td></tr><tr><td rowspan=\"3\">Quantum Chemistry</td><td>QM7</td><td>1</td><td>regression</td><td>7,160</td><td>5</td><td>4</td><td>23</td><td>2.91</td><td>MAE</td></tr><tr><td>QM8</td><td>12</td><td>regression</td><td>21,786</td><td>5</td><td>3</td><td>26</td><td>1.54</td><td>MAE</td></tr><tr><td>QM9</td><td>12</td><td>regression</td><td>133,885</td><td>5</td><td>3</td><td>28</td><td>1.61</td><td>MAE</td></tr><tr><td rowspan=\"2\">Physiology</td><td>BBBP</td><td>1</td><td>classification</td><td>2.039</td><td>13</td><td>2</td><td>132</td><td>2.64</td><td>ROC-AUC</td></tr><tr><td>ClinTox</td><td>2</td><td>classification</td><td>1,478</td><td>27</td><td>1</td><td>136</td><td>2.83</td><td>ROC-AUC</td></tr><tr><td rowspan=\"2\">Biophysics</td><td>PDBind1</td><td>1</td><td>regression</td><td>11,908</td><td>23</td><td>115</td><td>1,085</td><td>5.89</td><td>RMSE</td></tr><tr><td>BACE</td><td>1</td><td>classification</td><td>1,513</td><td>8</td><td>10</td><td>73</td><td>3.24</td><td>ROC-AUC</td></tr></table>",
|
| 575 |
+
"bbox": [
|
| 576 |
+
173,
|
| 577 |
+
184,
|
| 578 |
+
821,
|
| 579 |
+
316
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "Datasets. We test Molformer on a series of small molecule datasets, containing QM7 (Blum & Reymond, 2009), QM8 (Ramakrishnan et al., 2015), QM9 (Ramakrishnan et al., 2014), BBBP (Martins et al., 2012), ClinTox (Gayvert et al., 2016), and BACE (Subramanian et al., 2016) 2. QM7 is a subset of GDB-13 and composed of 7K molecules with up to 5 heavy atom types. QM8 and QM9 are subsets of GDB-17 with $2 2 \\mathrm { k }$ molecules and 133K molecule respectively. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
352,
|
| 589 |
+
825,
|
| 590 |
+
422
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 5
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Additionally, we also inspect Molformer’s ability of learning mutual relations between proteins and molecules on the PDBbind dataset (Wang et al., 2005). We follow Townshend et al. (2020) and split protein-ligand complexes by protein sequence identity at $30 \\%$ . As for the target, we predict $p S = - \\log ( S )$ , where $S$ is the binding affinity in Molar unit. In addition, we only use the pocket of each protein and put pocket-ligand pairs together as the input. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
429,
|
| 600 |
+
825,
|
| 601 |
+
500
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 5
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "For QM9, we use the exact train/validation/test split as Townshend et al. (2020). For PDBbind, $90 \\%$ of the data is used for training and the rest is divided equally between validation and test like Chen et al. (2019c). For others, we adopt the scaffold splitting method with a ratio of 8:1:1 for train/validation/test as Rong et al. (2020). More implementing details can be found in Appendix A.1 ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
174,
|
| 610 |
+
506,
|
| 611 |
+
823,
|
| 612 |
+
563
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 5
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "Baselines For small molecules, we compare our approach with a number of state-of-the-art baselines. TF_Robust (Ramsundar et al., 2015) takes molecular fingerprints as the input. GraphConv (Kipf & Welling, 2016), Weave (Kearnes et al., 2016), MPNN (Gilmer et al., 2017), Schnet (Schütt et al., 2018), MEGNet (Chen et al., 2019c), DMPNN (Yang et al., 2019), MGCN (Lu et al., 2019), AttentiveFP (Xiong et al., 2019), DimeNet $^ { + + }$ (Klicpera et al., 2020), SphereNet (Liu et al., 2021), and SpinConv (Shuaibi et al., 2021) are all graph convolutional models. Graph Transformer (Chen et al., 2019a), MAT (Maziarka et al., 2020), R-MAT (Maziarka et al., 2021), SE(3)- Transformer (Fuchs et al., 2020), and LieTransformer (Hutchinson et al., 2021) are Transformerbased models. ",
|
| 619 |
+
"bbox": [
|
| 620 |
+
173,
|
| 621 |
+
579,
|
| 622 |
+
825,
|
| 623 |
+
705
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 5
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "For PDBbind, we choose six baselines. DeepDTA (Öztürk et al., 2018) and DeepAffinity (Karimi et al., 2019) take in pairs of ligand and protein SMILES as input. Cormorant (Anderson et al., 2019) is an ENN that represents each atom by its absolute 3D coordinates. Schnet, 3DCNN and 3DGCN (Townshend et al., 2020) are 3D molecular representation methods. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
712,
|
| 633 |
+
825,
|
| 634 |
+
767
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "4.2 RESULTS ON DOWNSTREAM TASKS ",
|
| 641 |
+
"text_level": 1,
|
| 642 |
+
"bbox": [
|
| 643 |
+
178,
|
| 644 |
+
786,
|
| 645 |
+
460,
|
| 646 |
+
801
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "Molecules. Table 2 and Table 3 document the overall results of Molformer and baselines on small molecules datasets, where best performance is marked bold and the second best is underlined for clear comparison. It can be discovered that Molformer achieves the lowest MAE of 11.6 on QM7 and 0.009 on QM8, beating several strong baselines including DMPNN and Graph Transformer. While not all state-of-the-art on QM9, Molformer offers competitive performance in 5 property regression tasks, which do not require thermochemical energy subtractions. Particularly, we outperforms all Transformer-based ENNs, including SE(3)-Transformer and LieTransformer. In classification problems, we surpass all non-pretrained methods and are only inferior to the pretrained GROVE. This accords to the fact that datasets with fewer samples can gain large improvements through the self-supervised pretraining (Rong et al., 2020). ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
174,
|
| 655 |
+
814,
|
| 656 |
+
825,
|
| 657 |
+
869
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 5
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "",
|
| 664 |
+
"bbox": [
|
| 665 |
+
174,
|
| 666 |
+
103,
|
| 667 |
+
825,
|
| 668 |
+
188
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 6
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "table",
|
| 674 |
+
"img_path": "images/845ff915f6cd7686ed17926601dbbd0e3d7dfa78809328dbd91718b03602283d.jpg",
|
| 675 |
+
"table_caption": [
|
| 676 |
+
"Table 2: The performance comparison. For regression tasks including QM7 and QM8, lower is better. For classification tasks including BBBP, ClinTox, and Bace, higher is better. The methods in purple are pretrained methods. "
|
| 677 |
+
],
|
| 678 |
+
"table_footnote": [],
|
| 679 |
+
"table_body": "<table><tr><td>Method</td><td>QM7</td><td>QM8</td><td>BBBP</td><td>ClinTox</td><td>BACE</td></tr><tr><td>TF-Robust (Ramsundar et al., 2015)</td><td>120.6</td><td>0.024</td><td>0.860</td><td>0.765</td><td>0.824</td></tr><tr><td>GraphConv (Kipf & Welling,2016)</td><td>118.9</td><td>0.021</td><td>0.877</td><td>0.845</td><td>0.854</td></tr><tr><td>Weave (Kearnes et al.,2016)</td><td>94.7</td><td>0.022</td><td>0.837</td><td>0.823</td><td>0.791</td></tr><tr><td>MPNN (Gilmer et al., 2017)</td><td>113.0</td><td>0.015</td><td>0.913</td><td>0.879</td><td>0.815</td></tr><tr><td>Schnet (Schuitt et al., 2018)</td><td>74.2</td><td>0.020</td><td>0.847</td><td>0.717</td><td>0.750</td></tr><tr><td>DMPNN (Yang et al.,2019)</td><td>105.8</td><td>0.014</td><td>0.919</td><td>0.897</td><td>0.852</td></tr><tr><td>MGCN (Lu et al., 2019)</td><td>77.6</td><td>0.022</td><td>0.850</td><td>0.634</td><td>0.734</td></tr><tr><td>Attentive FP (Xiong et al., 2019)</td><td>126.7</td><td>0.028</td><td>0.908</td><td>0.933</td><td>0.863</td></tr><tr><td>Graph Transformer (Chen et al.,2019a)</td><td>47.8</td><td>0.010</td><td>0.913</td><td>-</td><td>0.880</td></tr><tr><td>MAT (Maziarka et al.,2020)</td><td>102.8</td><td>1</td><td>0.728</td><td>-</td><td>0.846</td></tr><tr><td>R-MAT (Maziarka et al., 2021)</td><td>68.6</td><td>=</td><td>0.746</td><td>=</td><td>0.871</td></tr><tr><td>GROVElarge (Rong et al., 2020)</td><td>89.4</td><td>0.017</td><td>0.911</td><td>0.884</td><td>0.858</td></tr><tr><td> GROVElarge (Rong et al., 2020)</td><td>72.6</td><td>0.012</td><td>0.940</td><td>0.944</td><td>0.894</td></tr><tr><td>Molformer</td><td>11.5</td><td>0.009</td><td>0.926</td><td>0.941</td><td>0.884</td></tr></table>",
|
| 680 |
+
"bbox": [
|
| 681 |
+
217,
|
| 682 |
+
253,
|
| 683 |
+
774,
|
| 684 |
+
483
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 6
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "table",
|
| 690 |
+
"img_path": "images/8d15f69f1f98fbd1ab8c6005ca4bdf358f15efec4d953c26b73e1849b440a7a6.jpg",
|
| 691 |
+
"table_caption": [
|
| 692 |
+
"Table 3: Comparison of MAE on QM9. The methods in orange are Transformer-based methods. "
|
| 693 |
+
],
|
| 694 |
+
"table_footnote": [],
|
| 695 |
+
"table_body": "<table><tr><td>Target (Unit)</td><td>€HOMO (eV)</td><td>∈LUMo (eV)</td><td>△e(eV)</td><td>μ(D)</td><td>a (bohr3)</td></tr><tr><td>MPNN (Gilmer et al., 2017)</td><td>.043</td><td>.037</td><td>.069</td><td>.030</td><td>.092</td></tr><tr><td>Schnet (Schuitt et al., 2018)</td><td>.041</td><td>.034</td><td>.063</td><td>.033</td><td>.235</td></tr><tr><td>MEGNet ful (Chen et al., 2019c)</td><td>.038</td><td>.031</td><td>.061</td><td>.040</td><td>.083</td></tr><tr><td>DimeNet++ (Klicpera et al.,2020)</td><td>.024</td><td>.019</td><td>.032</td><td>.029</td><td>.043</td></tr><tr><td>SphereNet (Liu et al., 2021)</td><td>.024</td><td>.019</td><td>.032</td><td>.026</td><td>.047</td></tr><tr><td>SpinConv (Shuaibi et al.,2021)</td><td>.026</td><td>.022</td><td>.047</td><td>.027</td><td>.058</td></tr><tr><td> SE(3)-Transformer (Fuchs et al., 2020)</td><td>.035</td><td>.033</td><td>.053</td><td>.051</td><td>.142</td></tr><tr><td>LieTransformer-SE(3) (Hutchinson et al., 2021)</td><td>.033</td><td>.029</td><td>.052</td><td>.061</td><td>.104</td></tr><tr><td>Molformer</td><td>.021</td><td>.026</td><td>.039</td><td>.045</td><td>.086</td></tr></table>",
|
| 696 |
+
"bbox": [
|
| 697 |
+
169,
|
| 698 |
+
536,
|
| 699 |
+
823,
|
| 700 |
+
685
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "Protein. Table 4 reports the Root-Mean-Squared Deviation (RMSD), the Pearson correlation $( R _ { p } )$ , and the Spearman correlation $( R _ { s } )$ on PDBbind. Molformer achieves the lowest RMSD among all baselines and the best Pearson and Spearman correlations. As Wu et al. (2018) claim, appropriate featurizations which contains pertinent information is significant for PDBbind. However, an important observation in our work is that deep learning approaches with the full exploitation of 3D geometric information can perform better than conventional methods like DeepDTA and DeepAffinity, which use a set of physicochemical descriptors but ignore 3D structures. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
173,
|
| 709 |
+
707,
|
| 710 |
+
825,
|
| 711 |
+
805
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "5 ABLATION STUDY AND DISCUSSION ",
|
| 718 |
+
"text_level": 1,
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
824,
|
| 722 |
+
509,
|
| 723 |
+
842
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 6
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "5.1 WHAT ARE THE EFFECTS OF EACH COMPONENT",
|
| 730 |
+
"text_level": 1,
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
856,
|
| 734 |
+
549,
|
| 735 |
+
869
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 6
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "We investigate the effectiveness of different modules of our Molformer in Table 5. It can be observed that CPE substantially boosts model’s performance compared with the naive method that immediately adds 3D coordinates as the atom input feature. In addition, AFPS is found to produce better predictions than the control group, which utilizes the virtual node as the molecular representation. Moreover, MSA significantly reduces RMSD from 17.6 to 11.6 on QM7, but its improvements in QM8 are much smaller. This phenomenon indicates that MSA is an appropriate way to alleviate the problem of inadequate training in small datasets. It endows Molformer with capability to extract local features by regulating the scope of self-attention. However, as the data size gets larger and larger, Molformer does not require the assistance of MSA to abstract local patterns, since the parameters of CPE is properly trained. What’s more, the trainable motif-level embedding leads to a MAE decrease of 2.1 in QM7 and a RMSD drop of 0.011 in PDBbind, indicating its effectiveness in both small molecules and proteins. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
881,
|
| 745 |
+
823,
|
| 746 |
+
924
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 6
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "table",
|
| 752 |
+
"img_path": "images/59d8798450786392002fd059e9aee5edd6342bcb69edc150d0797e7066bf5317.jpg",
|
| 753 |
+
"table_caption": [
|
| 754 |
+
"Table 4: Comparison of RMSD, $R _ { p }$ , and $R _ { s }$ on PDBbind. "
|
| 755 |
+
],
|
| 756 |
+
"table_footnote": [],
|
| 757 |
+
"table_body": "<table><tr><td>Method</td><td>Geometry</td><td>RMSD</td><td>Rp</td><td>Rs</td></tr><tr><td>DeepDTA (Ozturk et al., 2018)</td><td>Non-3D</td><td>1.565</td><td>0.573</td><td>0.574</td></tr><tr><td>DeepAffinity (Karimi et al.,2019)</td><td>Non-3D</td><td>1.893</td><td>0.415</td><td>0.426</td></tr><tr><td>Schnet (Schutt et al., 2018)</td><td>3D</td><td>1.892</td><td>0.601</td><td>=</td></tr><tr><td>Cormorant (Anderson et al., 2019)</td><td>3D</td><td>1.429</td><td>0.541</td><td>0.532</td></tr><tr><td>3DCNN (Townshend et al., 2020)</td><td>3D</td><td>1.520</td><td>0.558</td><td>0.556</td></tr><tr><td>3DGCN (Townshend et al., 2020)</td><td>3D</td><td>1.963</td><td>0.581</td><td>0.647</td></tr><tr><td>Molformer</td><td>3D</td><td>1.417</td><td>0.623</td><td>0.651</td></tr></table>",
|
| 758 |
+
"bbox": [
|
| 759 |
+
269,
|
| 760 |
+
128,
|
| 761 |
+
730,
|
| 762 |
+
257
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "",
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
284,
|
| 772 |
+
825,
|
| 773 |
+
409
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "table",
|
| 779 |
+
"img_path": "images/026011deb3a0bcc3ebb2ccbd515b53b2f6f03672c6738cb8b228dad02211729e.jpg",
|
| 780 |
+
"table_caption": [
|
| 781 |
+
"Table 5: Effects of each module on QM7, QM8 and PDBbind (RMSD). ME stands for the trainable motif embedding method. "
|
| 782 |
+
],
|
| 783 |
+
"table_footnote": [],
|
| 784 |
+
"table_body": "<table><tr><td></td><td>CPE</td><td>AFPS</td><td>MSA</td><td>ME</td><td>QM7</td><td>QM8</td><td>PDBbind</td></tr><tr><td></td><td>=</td><td>=</td><td></td><td>-</td><td>63.2</td><td>0.0205</td><td>1.925</td></tr><tr><td></td><td></td><td>=</td><td></td><td>=</td><td>17.6</td><td>0.0104</td><td>1.489</td></tr><tr><td></td><td></td><td>√</td><td></td><td>1</td><td>17.0</td><td>0.0103</td><td>1.455</td></tr><tr><td></td><td></td><td></td><td></td><td>=</td><td>11.6</td><td>0.0098</td><td>1.423</td></tr><tr><td>1234576</td><td></td><td></td><td></td><td>F</td><td>15.2</td><td></td><td>1.443</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>13.7</td><td>0.0099</td><td>1.428</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>11.5</td><td>-</td><td>1.417</td></tr></table>",
|
| 785 |
+
"bbox": [
|
| 786 |
+
305,
|
| 787 |
+
462,
|
| 788 |
+
691,
|
| 789 |
+
577
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "5.2 HOW USEFUL IS THE TRAINABLE MOTIF-BASED EMBEDDINGS? ",
|
| 796 |
+
"text_level": 1,
|
| 797 |
+
"bbox": [
|
| 798 |
+
176,
|
| 799 |
+
609,
|
| 800 |
+
658,
|
| 801 |
+
625
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 7
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "How to determine motifs are critical and crucial to our proposed trainable motif-based embeddings. In organic chemistry, a functional group is a substituent or moiety in a molecule that causes the molecule’s characteristic chemical reactions. The same functional group will undergo the same or similar chemical reactions regardless of the rest of the molecule’s composition (Smith, 2020). Therefore, we define motifs on the basis of functional groups and explore the contribution of four different categories. Specifically, we consider four common functional groups, including groups that contain only carbon and hydrogen (Hydrocarbons), groups that contain halogen (Haloalkanes), groups that contain oxygen, and groups that contain nitrogen (see the left part in Figure 2). The ablations (see the right part in Figure 2) demonstrate that Molformer can gain improvements from all sorts of motifs, where Hydrocarbons and Haloalkanes are the most and the least effective kinds, respectively. This is in line with the fact that Hydrocarbons occur most frequently in organic molecules. Moreover, our model achieves the best performance when all categories of the motifs are integrated, implying a promising direction to discover more effective motifs. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
173,
|
| 810 |
+
635,
|
| 811 |
+
825,
|
| 812 |
+
815
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 7
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "6 RELATED WORKS ",
|
| 819 |
+
"text_level": 1,
|
| 820 |
+
"bbox": [
|
| 821 |
+
176,
|
| 822 |
+
837,
|
| 823 |
+
354,
|
| 824 |
+
853
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 7
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "6.1 3D MOLECULAR REPRESENTATION ",
|
| 831 |
+
"text_level": 1,
|
| 832 |
+
"bbox": [
|
| 833 |
+
176,
|
| 834 |
+
868,
|
| 835 |
+
460,
|
| 836 |
+
883
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "Deep learning has been widely applied to predict molecular properties during past decades. Small molecules are usually represented as lower-dimensional representations such as 1D linear sequence, including amino acid sequences and SMILES (Weininger, 1988), or 2D chemical bond graphs. In spite of that, more evidence indicates that 3D space structures lead to better modelling and superior performance. 3D models becomes a popular way to capture these complex geometries in a variety of bio-molecular applications using CNNs (Anand-Achim et al., 2021; Jiménez et al., 2018) and GNNs (Cho & Choi, 2018). Nonetheless, aforementioned methods have hardly been extended to the self-attention mechanism that is proven to be good at grabbing contextual feature (Tang et al., 2018) and long-range dependencies (Vaswani et al., 2017). ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
173,
|
| 845 |
+
895,
|
| 846 |
+
823,
|
| 847 |
+
924
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 7
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "image",
|
| 853 |
+
"img_path": "images/31bbc953eb710da1bc428151f6917eb692cbf586d7e6684c00a0fbd0e0035c7a.jpg",
|
| 854 |
+
"image_caption": [
|
| 855 |
+
"Figure 2: The left is the four different categories of motifs that we apply in Molformer based on functional groups. The right is the ablation study of those groups in QM7 and BBBP. "
|
| 856 |
+
],
|
| 857 |
+
"image_footnote": [],
|
| 858 |
+
"bbox": [
|
| 859 |
+
210,
|
| 860 |
+
104,
|
| 861 |
+
790,
|
| 862 |
+
320
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "",
|
| 869 |
+
"bbox": [
|
| 870 |
+
174,
|
| 871 |
+
390,
|
| 872 |
+
825,
|
| 873 |
+
488
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 8
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Attempts have been undertaken to address that issue throughout Transformers. Initially, molecules are in the form of SMILES to obtain corresponding representations (Honda et al., 2019; Pesciullesi et al., 2020; Morris et al., 2020; Rao et al., 2021) and conduct pretraining (Chithrananda et al., 2020). Some researchers combine the characteristics of GNN and Transformer to solve generative tasks (Ingraham et al., 2019) or fulfill equivariance (Fuchs et al., 2020). ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
494,
|
| 883 |
+
825,
|
| 884 |
+
564
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 8
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "6.2 MOTIF-BASED METHOD ",
|
| 891 |
+
"text_level": 1,
|
| 892 |
+
"bbox": [
|
| 893 |
+
174,
|
| 894 |
+
584,
|
| 895 |
+
382,
|
| 896 |
+
598
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 8
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "Motifs have been proven to benefit many tasks from exploratory analysis to transfer learning (Henderson et al., 2012). Various algorithms have been proposed to exploit motifs for contrastive learning (Zhang et al., 2020a), self-supervised pretraining (Rong et al., 2020; Zhang et al., 2021), and generation (Jin et al., 2020). However, none of previous work tries to embody those informative motifs in their model architectures. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
611,
|
| 906 |
+
825,
|
| 907 |
+
680
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 8
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "7 CONCLUSION ",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
176,
|
| 917 |
+
703,
|
| 918 |
+
318,
|
| 919 |
+
719
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 8
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "In this study, we present a universal neural architecture, Molformer, for 3D molecular representations. Our model extracts motifs with semantic meanings from each molecule based on functional groups and learn customized embeddings to facilitate property predictions. Moreover, it adopts a convolutional position encoding method to make a full use of spatial information and augments the self-attention mechanism with multiplicate scales to catch local features. Furthermore, a simple but efficient downsampling algorithm is introduced to better accumulate representations of an entire molecule. Our experiments show the superiority of our model on various scientific domains. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
736,
|
| 929 |
+
825,
|
| 930 |
+
833
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 8
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "REFERENCES ",
|
| 937 |
+
"text_level": 1,
|
| 938 |
+
"bbox": [
|
| 939 |
+
174,
|
| 940 |
+
857,
|
| 941 |
+
285,
|
| 942 |
+
872
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 8
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Namrata Anand-Achim, Raphael Ryuichi Eguchi, Irimpan I Mathews, Carla P Perez, Alexander Derry, Russ B Altman, and Possu Huang. Protein sequence design with a learned potential. bioRxiv, pp. 2020–01, 2021. ",
|
| 949 |
+
"bbox": [
|
| 950 |
+
176,
|
| 951 |
+
882,
|
| 952 |
+
823,
|
| 953 |
+
924
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 8
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Brandon Anderson, Truong-Son Hy, and Risi Kondor. Cormorant: Covariant molecular neural networks. arXiv preprint arXiv:1906.04015, 2019. ",
|
| 960 |
+
"bbox": [
|
| 961 |
+
173,
|
| 962 |
+
103,
|
| 963 |
+
823,
|
| 964 |
+
132
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 9
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Simon Axelrod and Rafael Gomez-Bombarelli. Geom: Energy-annotated molecular conformations for property prediction and molecular generation. arXiv preprint arXiv:2006.05531, 2020. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
173,
|
| 973 |
+
140,
|
| 974 |
+
823,
|
| 975 |
+
170
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 9
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Minkyung Baek, Frank DiMaio, Ivan Anishchenko, Justas Dauparas, Sergey Ovchinnikov, Gyu Rie Lee, Jue Wang, Qian Cong, Lisa N. Kinch, R. Dustin Schaeffer, Claudia Millán, Hahnbeom Park, Carson Adams, Caleb R. Glassman, Andy DeGiovanni, Jose H. Pereira, Andria V. Rodrigues, Alberdina A. van Dijk, Ana C. Ebrecht, Diederik J. Opperman, Theo Sagmeister, Christoph Buhlheller, Tea Pavkov-Keller, Manoj K. Rathinaswamy, Udit Dalwadi, Calvin K. Yip, John E. Burke, K. Christopher Garcia, Nick V. Grishin, Paul D. Adams, Randy J. Read, and David Baker. Accurate prediction of protein structures and interactions using a three-track neural network. Science, 2021. ISSN 0036-8075. doi: 10.1126/science.abj8754. ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
176,
|
| 984 |
+
178,
|
| 985 |
+
825,
|
| 986 |
+
290
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 9
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Lorenz C Blum and Jean-Louis Reymond. 970 million druglike small molecules for virtual screening in the chemical universe database gdb-13. Journal of the American Chemical Society, 131(25): 8732–8733, 2009. ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
173,
|
| 995 |
+
297,
|
| 996 |
+
826,
|
| 997 |
+
340
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 9
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Yuchao Chai, Xue Han, Weiyao Li, Shanshan Liu, Sikai Yao, Chong Wang, Wei Shi, Ivan da Silva, Pascal Manuel, Yongqiang Cheng, et al. Control of zeolite pore interior for chemoselective alkyne/olefin separations. Science, 368(6494):1002–1006, 2020. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
174,
|
| 1006 |
+
349,
|
| 1007 |
+
823,
|
| 1008 |
+
392
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Benson Chen, Regina Barzilay, and Tommi Jaakkola. Path-augmented graph transformer network. arXiv preprint arXiv:1905.12712, 2019a. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
171,
|
| 1017 |
+
401,
|
| 1018 |
+
823,
|
| 1019 |
+
429
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "Chao Chen, Guanbin Li, Ruijia Xu, Tianshui Chen, Meng Wang, and Liang Lin. Clusternet: Deep hierarchical cluster network with rigorously rotation-invariant representation for point cloud analysis. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4994–5002, 2019b. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
174,
|
| 1028 |
+
438,
|
| 1029 |
+
825,
|
| 1030 |
+
494
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 9
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "Chi Chen, Weike Ye, Yunxing Zuo, Chen Zheng, and Shyue Ping Ong. Graph networks as a universal machine learning framework for molecules and crystals. Chemistry of Materials, 31(9):3564– 3572, 2019c. ",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
173,
|
| 1039 |
+
502,
|
| 1040 |
+
823,
|
| 1041 |
+
546
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 9
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Seyone Chithrananda, Gabriel Grand, and Bharath Ramsundar. Chemberta: Large-scale selfsupervised pretraining for molecular property prediction. arXiv preprint arXiv:2010.09885, 2020. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
171,
|
| 1050 |
+
554,
|
| 1051 |
+
823,
|
| 1052 |
+
583
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 9
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "Hyeoncheol Cho and Insung S Choi. Three-dimensionally embedded graph convolutional network (3dgcn) for molecule interpretation. arXiv preprint arXiv:1811.09794, 2018. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
171,
|
| 1061 |
+
592,
|
| 1062 |
+
823,
|
| 1063 |
+
621
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 9
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "Georgy Derevyanko, Sergei Grudinin, Yoshua Bengio, and Guillaume Lamoureux. Deep convolutional networks for quality assessment of protein folds. Bioinformatics, 34(23):4046–4053, 2018. ",
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
173,
|
| 1072 |
+
628,
|
| 1073 |
+
823,
|
| 1074 |
+
659
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 9
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "text",
|
| 1080 |
+
"text": "Philipp Dufter, Martin Schmitt, and Hinrich Schütze. Position information in transformers: An overview. arXiv preprint arXiv:2102.11090, 2021. ",
|
| 1081 |
+
"bbox": [
|
| 1082 |
+
171,
|
| 1083 |
+
666,
|
| 1084 |
+
823,
|
| 1085 |
+
695
|
| 1086 |
+
],
|
| 1087 |
+
"page_idx": 9
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "text",
|
| 1091 |
+
"text": "Stephan Eismann, Patricia Suriana, Bowen Jing, Raphael JL Townshend, and Ron O Dror. Protein model quality assessment using rotation-equivariant, hierarchical neural networks. arXiv preprint arXiv:2011.13557, 2020. ",
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
174,
|
| 1094 |
+
704,
|
| 1095 |
+
825,
|
| 1096 |
+
747
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 9
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "Stephan Eismann, Raphael JL Townshend, Nathaniel Thomas, Milind Jagota, Bowen Jing, and Ron O Dror. Hierarchical, rotation-equivariant neural networks to select structural models of protein complexes. Proteins: Structure, Function, and Bioinformatics, 89(5):493–501, 2021. ",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
174,
|
| 1105 |
+
755,
|
| 1106 |
+
825,
|
| 1107 |
+
797
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 9
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "Fabian B Fuchs, Daniel E Worrall, Volker Fischer, and Max Welling. Se (3)-transformers: 3d rototranslation equivariant attention networks. arXiv preprint arXiv:2006.10503, 2020. ",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
169,
|
| 1116 |
+
806,
|
| 1117 |
+
821,
|
| 1118 |
+
835
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 9
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "Kaitlyn M Gayvert, Neel S Madhukar, and Olivier Elemento. A data-driven approach to predicting successes and failures of clinical trials. Cell chemical biology, 23(10):1294–1301, 2016. ",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
173,
|
| 1127 |
+
843,
|
| 1128 |
+
821,
|
| 1129 |
+
873
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 9
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In International conference on machine learning, pp. 1263–1272. PMLR, 2017. ",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
174,
|
| 1138 |
+
881,
|
| 1139 |
+
823,
|
| 1140 |
+
922
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 9
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Meng-Hao Guo, Jun-Xiong Cai, Zheng-Ning Liu, Tai-Jiang Mu, Ralph R Martin, and Shi-Min Hu. Pct: Point cloud transformer. arXiv preprint arXiv:2012.09688, 2020a. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
171,
|
| 1149 |
+
103,
|
| 1150 |
+
823,
|
| 1151 |
+
132
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 10
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "Qipeng Guo, Xipeng Qiu, Pengfei Liu, Xiangyang Xue, and Zheng Zhang. Multi-scale self-attention for text classification. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 7847–7854, 2020b. ",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
176,
|
| 1160 |
+
142,
|
| 1161 |
+
821,
|
| 1162 |
+
184
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 10
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "Keith Henderson, Brian Gallagher, Tina Eliassi-Rad, Hanghang Tong, Sugato Basu, Leman Akoglu, Danai Koutra, Christos Faloutsos, and Lei Li. Rolx: structural role extraction & mining in large graphs. In Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 1231–1239, 2012. ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
173,
|
| 1171 |
+
194,
|
| 1172 |
+
825,
|
| 1173 |
+
251
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 10
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "Adrián Hernández and José M Amigó. Attention mechanisms and their applications to complex systems. Entropy, 23(3):283, 2021. ",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
174,
|
| 1182 |
+
261,
|
| 1183 |
+
821,
|
| 1184 |
+
290
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 10
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "Shion Honda, Shoi Shi, and Hiroki R Ueda. Smiles transformer: Pre-trained molecular fingerprint for low data drug discovery. arXiv preprint arXiv:1911.04738, 2019. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
173,
|
| 1193 |
+
299,
|
| 1194 |
+
823,
|
| 1195 |
+
329
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 10
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. arXiv preprint arXiv:2005.00687, 2020. ",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
176,
|
| 1204 |
+
339,
|
| 1205 |
+
823,
|
| 1206 |
+
382
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 10
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "Michael J Hutchinson, Charline Le Lan, Sheheryar Zaidi, Emilien Dupont, Yee Whye Teh, and Hyunjik Kim. Lietransformer: Equivariant self-attention for lie groups. In International Conference on Machine Learning, pp. 4533–4543. PMLR, 2021. ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
173,
|
| 1215 |
+
392,
|
| 1216 |
+
823,
|
| 1217 |
+
435
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 10
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "John Ingraham, Vikas K Garg, Regina Barzilay, and Tommi Jaakkola. Generative models for graphbased protein design. 2019. ",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
173,
|
| 1226 |
+
444,
|
| 1227 |
+
821,
|
| 1228 |
+
473
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 10
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "Katsuhiko Ishiguro, Shin-ichi Maeda, and Masanori Koyama. Graph warp module: an auxiliary module for boosting the power of graph neural networks in molecular graph analysis. arXiv preprint arXiv:1902.01020, 2019. ",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
174,
|
| 1237 |
+
483,
|
| 1238 |
+
825,
|
| 1239 |
+
526
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 10
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "José Jiménez, Miha Skalic, Gerard Martinez-Rosell, and Gianni De Fabritiis. K deep: protein–ligand absolute binding affinity prediction via 3d-convolutional neural networks. Journal of chemical information and modeling, 58(2):287–296, 2018. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
173,
|
| 1248 |
+
536,
|
| 1249 |
+
825,
|
| 1250 |
+
579
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 10
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Hierarchical generation of molecular graphs using structural motifs. In International Conference on Machine Learning, pp. 4839–4848. PMLR, 2020. ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
176,
|
| 1259 |
+
588,
|
| 1260 |
+
825,
|
| 1261 |
+
631
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 10
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "Chaitanya Joshi. Transformers are graph neural networks. The Gradient, 2020. ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
173,
|
| 1270 |
+
641,
|
| 1271 |
+
691,
|
| 1272 |
+
656
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 10
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Žídek, Anna Potapenko, Alex Bridgland, Clemens Meyer, Simon A A Kohl, Andrew J Ballard, Andrew Cowie, Bernardino RomeraParedes, Stanislav Nikolov, Rishub Jain, Jonas Adler, Trevor Back, Stig Petersen, David Reiman, Ellen Clancy, Michal Zielinski, Martin Steinegger, Michalina Pacholska, Tamas Berghammer, Sebastian Bodenstein, David Silver, Oriol Vinyals, Andrew W Senior, Koray Kavukcuoglu, Pushmeet Kohli, and Demis Hassabis. Highly accurate protein structure prediction with AlphaFold. Nature, 2021. doi: 10.1038/s41586-021-03819-2. (Accelerated article preview). ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
174,
|
| 1281 |
+
666,
|
| 1282 |
+
825,
|
| 1283 |
+
780
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 10
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "Mostafa Karimi, Di Wu, Zhangyang Wang, and Yang Shen. Deepaffinity: interpretable deep learning of compound–protein affinity through unified recurrent and convolutional neural networks. Bioinformatics, 35(18):3329–3338, 2019. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
790,
|
| 1293 |
+
821,
|
| 1294 |
+
832
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 10
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: moving beyond fingerprints. Journal of computer-aided molecular design, 30(8): 595–608, 2016. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
171,
|
| 1303 |
+
842,
|
| 1304 |
+
823,
|
| 1305 |
+
885
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 10
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
171,
|
| 1314 |
+
895,
|
| 1315 |
+
821,
|
| 1316 |
+
922
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 10
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
171,
|
| 1325 |
+
103,
|
| 1326 |
+
823,
|
| 1327 |
+
132
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 11
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Johannes Klicpera, Shankari Giri, Johannes T Margraf, and Stephan Günnemann. Fast and uncertainty-aware directional message passing for non-equilibrium molecules. arXiv preprint arXiv:2011.14115, 2020. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
174,
|
| 1336 |
+
142,
|
| 1337 |
+
823,
|
| 1338 |
+
184
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 11
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "Greg Landrum. Rdkit: A software suite for cheminformatics, computational chemistry, and predictive modeling, 2013. ",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
173,
|
| 1347 |
+
194,
|
| 1348 |
+
821,
|
| 1349 |
+
223
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 11
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. arXiv preprint arXiv:1312.4400, 2013. ",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
173,
|
| 1358 |
+
232,
|
| 1359 |
+
821,
|
| 1360 |
+
262
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 11
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Yi Liu, Limei Wang, Meng Liu, Xuan Zhang, Bora Oztekin, and Shuiwang Ji. Spherical message passing for 3d graph networks. arXiv preprint arXiv:2102.05013, 2021. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
174,
|
| 1369 |
+
270,
|
| 1370 |
+
825,
|
| 1371 |
+
300
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 11
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "Chengqiang Lu, Qi Liu, Chao Wang, Zhenya Huang, Peize Lin, and Lixin He. Molecular property prediction: A multilevel quantum interactions modeling perspective. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 1052–1060, 2019. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
176,
|
| 1380 |
+
309,
|
| 1381 |
+
825,
|
| 1382 |
+
352
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 11
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Ines Filipa Martins, Ana L Teixeira, Luis Pinheiro, and Andre O Falcao. A bayesian approach to in silico blood-brain barrier penetration modeling. Journal of chemical information and modeling, 52(6):1686–1697, 2012. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
171,
|
| 1391 |
+
361,
|
| 1392 |
+
823,
|
| 1393 |
+
404
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 11
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Łukasz Maziarka, Tomasz Danel, Sławomir Mucha, Krzysztof Rataj, Jacek Tabor, and Stanisław Jastrz˛ebski. Molecule attention transformer. arXiv preprint arXiv:2002.08264, 2020. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
168,
|
| 1402 |
+
412,
|
| 1403 |
+
823,
|
| 1404 |
+
444
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 11
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Łukasz Maziarka, Dawid Majchrowski, Tomasz Danel, Piotr Gainski, Jacek Tabor, Igor Podolak, ´ Paweł Morkisz, and Stanisław Jastrz˛ebski. Relative molecule self-attention transformer. arXiv preprint arXiv:2110.05841, 2021. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
173,
|
| 1413 |
+
452,
|
| 1414 |
+
823,
|
| 1415 |
+
496
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 11
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Ron Milo, Shai Shen-Orr, Shalev Itzkovitz, Nadav Kashtan, Dmitri Chklovskii, and Uri Alon. Network motifs: simple building blocks of complex networks. Science, 298(5594):824–827, 2002. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
169,
|
| 1424 |
+
503,
|
| 1425 |
+
823,
|
| 1426 |
+
534
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 11
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "Paul Morris, Rachel St. Clair, William Edward Hahn, and Elan Barenholtz. Predicting binding from screening assays with transformer network embeddings. Journal of Chemical Information and Modeling, 60(9):4191–4199, 2020. ",
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
174,
|
| 1435 |
+
542,
|
| 1436 |
+
823,
|
| 1437 |
+
585
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 11
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Hakime Öztürk, Arzucan Özgür, and Elif Ozkirimli. Deepdta: deep drug–target binding affinity prediction. Bioinformatics, 34(17):i821–i829, 2018. ",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
173,
|
| 1446 |
+
594,
|
| 1447 |
+
821,
|
| 1448 |
+
625
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 11
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "Guillaume Pagès, Benoit Charmettant, and Sergei Grudinin. Protein model quality assessment using 3d oriented convolutional neural networks. Bioinformatics, 35(18):3313–3319, 2019. ",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
173,
|
| 1457 |
+
633,
|
| 1458 |
+
823,
|
| 1459 |
+
662
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 11
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Xuran Pan, Zhuofan Xia, Shiji Song, Li Erran Li, and Gao Huang. 3d object detection with pointformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7463–7472, 2021. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
173,
|
| 1468 |
+
671,
|
| 1469 |
+
823,
|
| 1470 |
+
714
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 11
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32: 8026–8037, 2019. ",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
173,
|
| 1479 |
+
724,
|
| 1480 |
+
825,
|
| 1481 |
+
781
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 11
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "text",
|
| 1487 |
+
"text": "Giorgio Pesciullesi, Philippe Schwaller, Teodoro Laino, and Jean-Louis Reymond. Transfer learning enables the molecular transformer to predict regio-and stereoselective reactions on carbohydrates. Nature communications, 11(1):1–8, 2020. ",
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
174,
|
| 1490 |
+
790,
|
| 1491 |
+
823,
|
| 1492 |
+
833
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 11
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "text",
|
| 1498 |
+
"text": "Niklas Pfriem, Peter H Hintermeier, Sebastian Eckstein, Sungmin Kim, Qiang Liu, Hui Shi, Lara Milakovic, Yuanshuai Liu, Gary L Haller, Eszter Baráth, et al. Role of the ionic environment in enhancing the activity of reacting molecules in zeolite pores. Science, 372(6545):952–957, 2021. ",
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
176,
|
| 1501 |
+
843,
|
| 1502 |
+
821,
|
| 1503 |
+
886
|
| 1504 |
+
],
|
| 1505 |
+
"page_idx": 11
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"type": "text",
|
| 1509 |
+
"text": "Charles R Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. arXiv preprint arXiv:1706.02413, 2017. ",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
176,
|
| 1512 |
+
895,
|
| 1513 |
+
823,
|
| 1514 |
+
924
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 11
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "Raghunathan Ramakrishnan, Pavlo O Dral, Matthias Rupp, and O Anatole von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific Data, 1, 2014. ",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
171,
|
| 1523 |
+
103,
|
| 1524 |
+
823,
|
| 1525 |
+
132
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 12
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "Raghunathan Ramakrishnan, Mia Hartmann, Enrico Tapavicza, and O Anatole Von Lilienfeld. Electronic spectra from tddft and machine learning in chemical space. The Journal of chemical physics, 143(8):084111, 2015. ",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
176,
|
| 1534 |
+
141,
|
| 1535 |
+
823,
|
| 1536 |
+
184
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 12
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "Bharath Ramsundar, Steven Kearnes, Patrick Riley, Dale Webster, David Konerding, and Vijay Pande. Massively multitask networks for drug discovery. arXiv preprint arXiv:1502.02072, 2015. ",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
171,
|
| 1545 |
+
191,
|
| 1546 |
+
823,
|
| 1547 |
+
222
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 12
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "Roshan Rao, Nicholas Bhattacharya, Neil Thomas, Yan Duan, Xi Chen, John Canny, Pieter Abbeel, and Yun S Song. Evaluating protein transfer learning with tape. Advances in neural information processing systems, 32:9689, 2019. ",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
176,
|
| 1556 |
+
229,
|
| 1557 |
+
823,
|
| 1558 |
+
272
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 12
|
| 1561 |
+
},
|
| 1562 |
+
{
|
| 1563 |
+
"type": "text",
|
| 1564 |
+
"text": "Roshan Rao, Jason Liu, Robert Verkuil, Joshua Meier, John F Canny, Pieter Abbeel, Tom Sercu, and Alexander Rives. Msa transformer. bioRxiv, 2021. ",
|
| 1565 |
+
"bbox": [
|
| 1566 |
+
169,
|
| 1567 |
+
280,
|
| 1568 |
+
823,
|
| 1569 |
+
310
|
| 1570 |
+
],
|
| 1571 |
+
"page_idx": 12
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"type": "text",
|
| 1575 |
+
"text": "Yu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie, Ying Wei, Wenbing Huang, and Junzhou Huang. Self-supervised graph transformer on large-scale molecular data. arXiv preprint arXiv:2007.02835, 2020. ",
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
174,
|
| 1578 |
+
318,
|
| 1579 |
+
823,
|
| 1580 |
+
361
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 12
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "text",
|
| 1586 |
+
"text": "Kristof T Schütt, Huziel E Sauceda, P-J Kindermans, Alexandre Tkatchenko, and K-R Müller. Schnet–a deep learning architecture for molecules and materials. The Journal of Chemical Physics, 148(24):241722, 2018. ",
|
| 1587 |
+
"bbox": [
|
| 1588 |
+
173,
|
| 1589 |
+
369,
|
| 1590 |
+
826,
|
| 1591 |
+
412
|
| 1592 |
+
],
|
| 1593 |
+
"page_idx": 12
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"type": "text",
|
| 1597 |
+
"text": "Andrew W Senior, Richard Evans, John Jumper, James Kirkpatrick, Laurent Sifre, Tim Green, Chongli Qin, Augustin Žídek, Alexander WR Nelson, Alex Bridgland, et al. Improved protein structure prediction using potentials from deep learning. Nature, 577(7792):706–710, 2020. ",
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
174,
|
| 1600 |
+
421,
|
| 1601 |
+
825,
|
| 1602 |
+
465
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 12
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "text",
|
| 1608 |
+
"text": "Muhammed Shuaibi, Adeesh Kolluru, Abhishek Das, Aditya Grover, Anuroop Sriram, Zachary Ulissi, and C Lawrence Zitnick. Rotation invariant graph neural networks using spin convolutions. arXiv preprint arXiv:2106.09575, 2021. ",
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
173,
|
| 1611 |
+
474,
|
| 1612 |
+
823,
|
| 1613 |
+
517
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 12
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "text",
|
| 1619 |
+
"text": "Michael B Smith. March’s advanced organic chemistry: reactions, mechanisms, and structure. John Wiley & Sons, 2020. ",
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
171,
|
| 1622 |
+
525,
|
| 1623 |
+
823,
|
| 1624 |
+
554
|
| 1625 |
+
],
|
| 1626 |
+
"page_idx": 12
|
| 1627 |
+
},
|
| 1628 |
+
{
|
| 1629 |
+
"type": "text",
|
| 1630 |
+
"text": "Govindan Subramanian, Bharath Ramsundar, Vijay Pande, and Rajiah Aldrin Denny. Computational modeling of $\\beta$ -secretase 1 (bace-1) inhibitors using ligand based approaches. Journal of chemical information and modeling, 56(10):1936–1949, 2016. ",
|
| 1631 |
+
"bbox": [
|
| 1632 |
+
174,
|
| 1633 |
+
563,
|
| 1634 |
+
823,
|
| 1635 |
+
606
|
| 1636 |
+
],
|
| 1637 |
+
"page_idx": 12
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"type": "text",
|
| 1641 |
+
"text": "Gongbo Tang, Mathias Müller, Annette Rios, and Rico Sennrich. Why self-attention? a targeted evaluation of neural machine translation architectures. arXiv preprint arXiv:1808.08946, 2018. ",
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
169,
|
| 1644 |
+
614,
|
| 1645 |
+
823,
|
| 1646 |
+
643
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 12
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "text",
|
| 1652 |
+
"text": "Nathaniel Thomas, Tess Smidt, Steven Kearnes, Lusann Yang, Li Li, Kai Kohlhoff, and Patrick Riley. Tensor field networks: Rotation-and translation-equivariant neural networks for 3d point clouds. arXiv preprint arXiv:1802.08219, 2018. ",
|
| 1653 |
+
"bbox": [
|
| 1654 |
+
174,
|
| 1655 |
+
651,
|
| 1656 |
+
825,
|
| 1657 |
+
695
|
| 1658 |
+
],
|
| 1659 |
+
"page_idx": 12
|
| 1660 |
+
},
|
| 1661 |
+
{
|
| 1662 |
+
"type": "text",
|
| 1663 |
+
"text": "Raphael Townshend, Rishi Bedi, Patricia Suriana, and Ron Dror. End-to-end learning on 3d protein structure for interface prediction. Advances in Neural Information Processing Systems, 32:15642– 15651, 2019. ",
|
| 1664 |
+
"bbox": [
|
| 1665 |
+
173,
|
| 1666 |
+
703,
|
| 1667 |
+
825,
|
| 1668 |
+
746
|
| 1669 |
+
],
|
| 1670 |
+
"page_idx": 12
|
| 1671 |
+
},
|
| 1672 |
+
{
|
| 1673 |
+
"type": "text",
|
| 1674 |
+
"text": "Raphael JL Townshend, Martin Vögele, Patricia Suriana, Alexander Derry, Alexander Powers, Yianni Laloudakis, Sidhika Balachandar, Brandon Anderson, Stephan Eismann, Risi Kondor, et al. Atom3d: Tasks on molecules in three dimensions. arXiv preprint arXiv:2012.04035, 2020. ",
|
| 1675 |
+
"bbox": [
|
| 1676 |
+
174,
|
| 1677 |
+
753,
|
| 1678 |
+
823,
|
| 1679 |
+
797
|
| 1680 |
+
],
|
| 1681 |
+
"page_idx": 12
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"type": "text",
|
| 1685 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017. ",
|
| 1686 |
+
"bbox": [
|
| 1687 |
+
174,
|
| 1688 |
+
806,
|
| 1689 |
+
825,
|
| 1690 |
+
849
|
| 1691 |
+
],
|
| 1692 |
+
"page_idx": 12
|
| 1693 |
+
},
|
| 1694 |
+
{
|
| 1695 |
+
"type": "text",
|
| 1696 |
+
"text": "Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017. ",
|
| 1697 |
+
"bbox": [
|
| 1698 |
+
173,
|
| 1699 |
+
857,
|
| 1700 |
+
823,
|
| 1701 |
+
887
|
| 1702 |
+
],
|
| 1703 |
+
"page_idx": 12
|
| 1704 |
+
},
|
| 1705 |
+
{
|
| 1706 |
+
"type": "text",
|
| 1707 |
+
"text": "Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015. ",
|
| 1708 |
+
"bbox": [
|
| 1709 |
+
174,
|
| 1710 |
+
895,
|
| 1711 |
+
820,
|
| 1712 |
+
924
|
| 1713 |
+
],
|
| 1714 |
+
"page_idx": 12
|
| 1715 |
+
},
|
| 1716 |
+
{
|
| 1717 |
+
"type": "text",
|
| 1718 |
+
"text": "Renxiao Wang, Xueliang Fang, Yipin Lu, Chao-Yie Yang, and Shaomeng Wang. The pdbbind database: methodologies and updates. Journal of medicinal chemistry, 48(12):4111–4119, 2005. ",
|
| 1719 |
+
"bbox": [
|
| 1720 |
+
171,
|
| 1721 |
+
103,
|
| 1722 |
+
825,
|
| 1723 |
+
132
|
| 1724 |
+
],
|
| 1725 |
+
"page_idx": 13
|
| 1726 |
+
},
|
| 1727 |
+
{
|
| 1728 |
+
"type": "text",
|
| 1729 |
+
"text": "Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 7794–7803, 2018. ",
|
| 1730 |
+
"bbox": [
|
| 1731 |
+
176,
|
| 1732 |
+
140,
|
| 1733 |
+
823,
|
| 1734 |
+
183
|
| 1735 |
+
],
|
| 1736 |
+
"page_idx": 13
|
| 1737 |
+
},
|
| 1738 |
+
{
|
| 1739 |
+
"type": "text",
|
| 1740 |
+
"text": "David Weininger. Smiles, a chemical language and information system. 1. introduction to methodology and encoding rules. Journal of chemical information and computer sciences, 28(1):31–36, 1988. ",
|
| 1741 |
+
"bbox": [
|
| 1742 |
+
174,
|
| 1743 |
+
193,
|
| 1744 |
+
823,
|
| 1745 |
+
234
|
| 1746 |
+
],
|
| 1747 |
+
"page_idx": 13
|
| 1748 |
+
},
|
| 1749 |
+
{
|
| 1750 |
+
"type": "text",
|
| 1751 |
+
"text": "Yulun Wu, Nicholas Choma, Andrew Chen, Mikaela Cashman, Érica T Prates, Manesh Shah, Verónica G Melesse Vergara, Austin Clyde, Thomas S Brettin, Wibe A de Jong, et al. Spatial graph attention and curiosity-driven policy for antiviral drug discovery. arXiv preprint arXiv:2106.02190, 2021. ",
|
| 1752 |
+
"bbox": [
|
| 1753 |
+
174,
|
| 1754 |
+
243,
|
| 1755 |
+
825,
|
| 1756 |
+
300
|
| 1757 |
+
],
|
| 1758 |
+
"page_idx": 13
|
| 1759 |
+
},
|
| 1760 |
+
{
|
| 1761 |
+
"type": "text",
|
| 1762 |
+
"text": "Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. Moleculenet: a benchmark for molecular machine learning. Chemical science, 9(2):513–530, 2018. ",
|
| 1763 |
+
"bbox": [
|
| 1764 |
+
173,
|
| 1765 |
+
309,
|
| 1766 |
+
825,
|
| 1767 |
+
353
|
| 1768 |
+
],
|
| 1769 |
+
"page_idx": 13
|
| 1770 |
+
},
|
| 1771 |
+
{
|
| 1772 |
+
"type": "text",
|
| 1773 |
+
"text": "Zhaoping Xiong, Dingyan Wang, Xiaohong Liu, Feisheng Zhong, Xiaozhe Wan, Xutong Li, Zhaojun Li, Xiaomin Luo, Kaixian Chen, Hualiang Jiang, et al. Pushing the boundaries of molecular representation for drug discovery with the graph attention mechanism. Journal of medicinal chemistry, 63(16):8749–8760, 2019. ",
|
| 1774 |
+
"bbox": [
|
| 1775 |
+
173,
|
| 1776 |
+
361,
|
| 1777 |
+
825,
|
| 1778 |
+
417
|
| 1779 |
+
],
|
| 1780 |
+
"page_idx": 13
|
| 1781 |
+
},
|
| 1782 |
+
{
|
| 1783 |
+
"type": "text",
|
| 1784 |
+
"text": "Kevin Yang, Kyle Swanson, Wengong Jin, Connor Coley, Philipp Eiden, Hua Gao, Angel GuzmanPerez, Timothy Hopper, Brian Kelley, Miriam Mathea, et al. Analyzing learned molecular representations for property prediction. Journal of chemical information and modeling, 59(8):3370– 3388, 2019. ",
|
| 1785 |
+
"bbox": [
|
| 1786 |
+
173,
|
| 1787 |
+
426,
|
| 1788 |
+
825,
|
| 1789 |
+
483
|
| 1790 |
+
],
|
| 1791 |
+
"page_idx": 13
|
| 1792 |
+
},
|
| 1793 |
+
{
|
| 1794 |
+
"type": "text",
|
| 1795 |
+
"text": "Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. Do transformers really perform bad for graph representation? arXiv preprint arXiv:2106.05234, 2021. ",
|
| 1796 |
+
"bbox": [
|
| 1797 |
+
171,
|
| 1798 |
+
491,
|
| 1799 |
+
825,
|
| 1800 |
+
535
|
| 1801 |
+
],
|
| 1802 |
+
"page_idx": 13
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"type": "text",
|
| 1806 |
+
"text": "Haitao Zhang, Gye Won Han, Alexander Batyuk, Andrii Ishchenko, Kate L White, Nilkanth Patel, Anastasiia Sadybekov, Beata Zamlynny, Michael T Rudd, Kaspar Hollenstein, et al. Structural basis for selectivity and diversity in angiotensin ii receptors. Nature, 544(7650):327–332, 2017. ",
|
| 1807 |
+
"bbox": [
|
| 1808 |
+
173,
|
| 1809 |
+
542,
|
| 1810 |
+
825,
|
| 1811 |
+
587
|
| 1812 |
+
],
|
| 1813 |
+
"page_idx": 13
|
| 1814 |
+
},
|
| 1815 |
+
{
|
| 1816 |
+
"type": "text",
|
| 1817 |
+
"text": "Shichang Zhang, Ziniu Hu, Arjun Subramonian, and Yizhou Sun. Motif-driven contrastive learning of graph representations. arXiv preprint arXiv:2012.12533, 2020a. ",
|
| 1818 |
+
"bbox": [
|
| 1819 |
+
173,
|
| 1820 |
+
594,
|
| 1821 |
+
823,
|
| 1822 |
+
625
|
| 1823 |
+
],
|
| 1824 |
+
"page_idx": 13
|
| 1825 |
+
},
|
| 1826 |
+
{
|
| 1827 |
+
"type": "text",
|
| 1828 |
+
"text": "Shuo Zhang, Yang Liu, and Lei Xie. Molecular mechanics-driven graph neural network with multiplex graph for molecular structures. arXiv preprint arXiv:2011.07457, 2020b. ",
|
| 1829 |
+
"bbox": [
|
| 1830 |
+
174,
|
| 1831 |
+
632,
|
| 1832 |
+
820,
|
| 1833 |
+
662
|
| 1834 |
+
],
|
| 1835 |
+
"page_idx": 13
|
| 1836 |
+
},
|
| 1837 |
+
{
|
| 1838 |
+
"type": "text",
|
| 1839 |
+
"text": "Zaixi Zhang, Qi Liu, Hao Wang, Chengqiang Lu, and Chee-Kong Lee. Motif-based graph selfsupervised learning for molecular property prediction. arXiv preprint arXiv:2110.00987, 2021. ",
|
| 1840 |
+
"bbox": [
|
| 1841 |
+
173,
|
| 1842 |
+
670,
|
| 1843 |
+
821,
|
| 1844 |
+
700
|
| 1845 |
+
],
|
| 1846 |
+
"page_idx": 13
|
| 1847 |
+
},
|
| 1848 |
+
{
|
| 1849 |
+
"type": "text",
|
| 1850 |
+
"text": "Alex Zhavoronkov, Yan A Ivanenkov, Alex Aliper, Mark S Veselov, Vladimir A Aladinskiy, Anastasiya V Aladinskaya, Victor A Terentiev, Daniil A Polykovskiy, Maksim D Kuznetsov, Arip Asadulaev, et al. Deep learning enables rapid identification of potent ddr1 kinase inhibitors. Nature biotechnology, 37(9):1038–1040, 2019. ",
|
| 1851 |
+
"bbox": [
|
| 1852 |
+
174,
|
| 1853 |
+
708,
|
| 1854 |
+
825,
|
| 1855 |
+
765
|
| 1856 |
+
],
|
| 1857 |
+
"page_idx": 13
|
| 1858 |
+
},
|
| 1859 |
+
{
|
| 1860 |
+
"type": "text",
|
| 1861 |
+
"text": "A EXPERIMENTAL SETUP ",
|
| 1862 |
+
"text_level": 1,
|
| 1863 |
+
"bbox": [
|
| 1864 |
+
176,
|
| 1865 |
+
102,
|
| 1866 |
+
401,
|
| 1867 |
+
118
|
| 1868 |
+
],
|
| 1869 |
+
"page_idx": 14
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"type": "text",
|
| 1873 |
+
"text": "A.1 EXPERIMENTAL DETAILS ",
|
| 1874 |
+
"bbox": [
|
| 1875 |
+
176,
|
| 1876 |
+
132,
|
| 1877 |
+
395,
|
| 1878 |
+
147
|
| 1879 |
+
],
|
| 1880 |
+
"page_idx": 14
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"type": "text",
|
| 1884 |
+
"text": "Molformer Architecture. A standard Molformer has 6 multi-scale self-attention layers, and each layer has 3 scales and 8 heads. Normally, scales are set by $\\tau = [ \\frac { \\rho } { 2 } , \\rho , 2 \\rho ]$ , where $\\rho$ is the density of each corresponding dataset. The number of selected atoms $K$ and the weight ratio $\\epsilon$ in AFPS is set as 4 and 0.1, respectively. We use ReLU as the activation function and a dropout rate of 0.1 for all layers. The input embedding size is 512 and the hidden size for FFN is 2048. ",
|
| 1885 |
+
"bbox": [
|
| 1886 |
+
174,
|
| 1887 |
+
159,
|
| 1888 |
+
825,
|
| 1889 |
+
228
|
| 1890 |
+
],
|
| 1891 |
+
"page_idx": 14
|
| 1892 |
+
},
|
| 1893 |
+
{
|
| 1894 |
+
"type": "text",
|
| 1895 |
+
"text": "For BBBP and ClinTox, we use Molformer with 2 multi-scale self-attention layers with 4 heads. The scales are 0.8, 1.6, and $3 . 0 \\mathring \\mathrm { A }$ . The dropout rate is 0.2 and 0.6 for BBBP and ClinTox, respectively. For BACE, we use a standard Molformer but with a dropout rate of 0.2. ",
|
| 1896 |
+
"bbox": [
|
| 1897 |
+
174,
|
| 1898 |
+
234,
|
| 1899 |
+
825,
|
| 1900 |
+
279
|
| 1901 |
+
],
|
| 1902 |
+
"page_idx": 14
|
| 1903 |
+
},
|
| 1904 |
+
{
|
| 1905 |
+
"type": "text",
|
| 1906 |
+
"text": "Training Details. We use Pytorch (Paszke et al., 2019) to implement Molformer and data parallelism in two GeForce RTX 3090. An Adam (Kingma & Ba, 2014) optimizer is used and a lambda scheduler is enforced to adjust it. We apply no weight decay there. Each model is trained with 300 epochs, except for PDBbind where we solely train the model for 30 epochs. For QM7 and QM8, we use a batch size of 64 and a learning rate of $\\mathrm { 1 0 ^ { - 4 } }$ . For QM9, we use a batch size of 256 and a learning rate of $1 0 ^ { - 3 }$ . All hyper-parameters are tuned based on validation sets. For all molecular datasets, we impose no limitation on the input length and normalise the values of each regression task by mean and the standard deviation of the training set. We used grid search to tune the hyper-parameters of our model and baselines based on the validation dataset. ",
|
| 1907 |
+
"bbox": [
|
| 1908 |
+
174,
|
| 1909 |
+
294,
|
| 1910 |
+
825,
|
| 1911 |
+
419
|
| 1912 |
+
],
|
| 1913 |
+
"page_idx": 14
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"type": "text",
|
| 1917 |
+
"text": "Motif Generation. We adopt RDKit (Landrum, 2013) to search motifs. However, QM8 and QM9 do not provide SMILES representations but only 3D coordinates, thus we cannot pull out motifs from these datasets. As for PDBbind, we only extract motifs of small molecules and leave out motifs in proteins. ",
|
| 1918 |
+
"bbox": [
|
| 1919 |
+
174,
|
| 1920 |
+
434,
|
| 1921 |
+
823,
|
| 1922 |
+
489
|
| 1923 |
+
],
|
| 1924 |
+
"page_idx": 14
|
| 1925 |
+
},
|
| 1926 |
+
{
|
| 1927 |
+
"type": "text",
|
| 1928 |
+
"text": "B ADDITIONAL EXPERIMENTAL RESULTS ",
|
| 1929 |
+
"text_level": 1,
|
| 1930 |
+
"bbox": [
|
| 1931 |
+
176,
|
| 1932 |
+
510,
|
| 1933 |
+
537,
|
| 1934 |
+
525
|
| 1935 |
+
],
|
| 1936 |
+
"page_idx": 14
|
| 1937 |
+
},
|
| 1938 |
+
{
|
| 1939 |
+
"type": "text",
|
| 1940 |
+
"text": "B.1 CONFORMATION CLASSIFICATION ",
|
| 1941 |
+
"text_level": 1,
|
| 1942 |
+
"bbox": [
|
| 1943 |
+
178,
|
| 1944 |
+
540,
|
| 1945 |
+
452,
|
| 1946 |
+
554
|
| 1947 |
+
],
|
| 1948 |
+
"page_idx": 14
|
| 1949 |
+
},
|
| 1950 |
+
{
|
| 1951 |
+
"type": "text",
|
| 1952 |
+
"text": "Task and Data. In order to explore the influence of multiple conformations, we introduce a new task, conformation classification, to evaluate model’s capacity to differentiate molecules with various low-energy conformations. We use the recent GEOM-QM9 (Axelrod & Gomez-Bombarelli, 2020) experiments. More specifically, GEOM-QM9 is an extension to QM9 dataset. It contains multiple conformations for most molecules, while the original QM9 only contains one. ",
|
| 1953 |
+
"bbox": [
|
| 1954 |
+
174,
|
| 1955 |
+
565,
|
| 1956 |
+
823,
|
| 1957 |
+
636
|
| 1958 |
+
],
|
| 1959 |
+
"page_idx": 14
|
| 1960 |
+
},
|
| 1961 |
+
{
|
| 1962 |
+
"type": "text",
|
| 1963 |
+
"text": "We randomly draw 1000 different molecules from GEOM-QM9, each with 20 different conformations. Models are required to distinguish the molecular type given different conformations. We take a half of each molecular conformations as the training set and another half as the test split. Since it is a multi-class classification problem with 1000 classes, we compute the micro-average and macro-average ROC-AUC as well as the accuracy for numerical evaluations. ",
|
| 1964 |
+
"bbox": [
|
| 1965 |
+
174,
|
| 1966 |
+
643,
|
| 1967 |
+
823,
|
| 1968 |
+
713
|
| 1969 |
+
],
|
| 1970 |
+
"page_idx": 14
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"type": "text",
|
| 1974 |
+
"text": "Results. Molformer achieves a micro-average and macro-average ROC-AUC of 1.0 and 1.0, and an accuracy of 0.999. This indicates strong robustness of our model against different spatial conformations of molecules. ",
|
| 1975 |
+
"bbox": [
|
| 1976 |
+
176,
|
| 1977 |
+
728,
|
| 1978 |
+
821,
|
| 1979 |
+
770
|
| 1980 |
+
],
|
| 1981 |
+
"page_idx": 14
|
| 1982 |
+
},
|
| 1983 |
+
{
|
| 1984 |
+
"type": "text",
|
| 1985 |
+
"text": "B.2 AFPS VS. FPS. ",
|
| 1986 |
+
"text_level": 1,
|
| 1987 |
+
"bbox": [
|
| 1988 |
+
174,
|
| 1989 |
+
786,
|
| 1990 |
+
325,
|
| 1991 |
+
800
|
| 1992 |
+
],
|
| 1993 |
+
"page_idx": 14
|
| 1994 |
+
},
|
| 1995 |
+
{
|
| 1996 |
+
"type": "text",
|
| 1997 |
+
"text": "To have a vivid understanding of the atom sampling algorithm, we conducted a case study on a random crystal (see Figure 3). Points selected by FPS are randomized and exclude vital atoms like the heavy metal Nickel (Ni). With the adoption of AFPS, sampled points include Ni and Nitrogen (N) besides that they keep remote distances from each other. Moreover, FPS integrates too many features of trivial atoms like Hydrogen $\\mathrm { ( H ) }$ while misses out key atoms, which will significantly smooth the molecular representations and lead to poor predictions. This illustrative example firmly shows the effectiveness of our AFPS to offset disadvantages of the conventional FPS in 3D molecular representation. ",
|
| 1998 |
+
"bbox": [
|
| 1999 |
+
174,
|
| 2000 |
+
811,
|
| 2001 |
+
823,
|
| 2002 |
+
924
|
| 2003 |
+
],
|
| 2004 |
+
"page_idx": 14
|
| 2005 |
+
},
|
| 2006 |
+
{
|
| 2007 |
+
"type": "image",
|
| 2008 |
+
"img_path": "images/52db107ed4cdb54efeadb60117f2a9a2423059ba34e09a70a0640e07dd25a710.jpg",
|
| 2009 |
+
"image_caption": [
|
| 2010 |
+
"Figure 3: Sampled points using FPS and AFPS. We do not show dummy nodes there. "
|
| 2011 |
+
],
|
| 2012 |
+
"image_footnote": [],
|
| 2013 |
+
"bbox": [
|
| 2014 |
+
235,
|
| 2015 |
+
392,
|
| 2016 |
+
758,
|
| 2017 |
+
599
|
| 2018 |
+
],
|
| 2019 |
+
"page_idx": 15
|
| 2020 |
+
}
|
| 2021 |
+
]
|
parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/6Dz7RiRiMFd/6Dz7RiRiMFd_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/6NT1a56mNim/6NT1a56mNim_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/6NT1a56mNim/6NT1a56mNim_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/6N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R UNSUPERVISED CONTINUAL LEARNING
|
| 2 |
+
|
| 3 |
+
Divyam Madaan1∗ Jaehong Yoon2,3 † Yuanchun $\mathbf { L i } ^ { 5 , 6 }$ Yunxin Liu5,6 Sung Ju Hwang2,4 New York University1 KAIST2 Microsoft Research3 AITRICS4 Institute for AI Industry Research (AIR)5 Tsinghua University6 divyam.madaan@nyu.edu, {jaehong.yoon,sjhwang82}@kaist.ac.kr liyuanchun@air.tsinghua.edu.cn, liuyunxin@air.tsinghua.edu.cn
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Continual learning (CL) aims to learn a sequence of tasks without forgetting the previously acquired knowledge. However, recent CL advances are restricted to supervised continual learning (SCL) scenarios. Consequently, they are not scalable to real-world applications where the data distribution is often biased and unannotated. In this work, we focus on unsupervised continual learning (UCL), where we learn the feature representations on an unlabelled sequence of tasks and show that reliance on annotated data is not necessary for continual learning. We conduct a systematic study analyzing the learned feature representations and show that unsupervised visual representations are surprisingly more robust to catastrophic forgetting, consistently achieve better performance, and generalize better to out-ofdistribution tasks than SCL. Furthermore, we find that UCL achieves a smoother loss landscape through qualitative analysis of the learned representations and learns meaningful feature representations. Additionally, we propose Lifelong Unsupervised Mixup (LUMP), a simple yet effective technique that interpolates between the current task and previous tasks’ instances to alleviate catastrophic forgetting for unsupervised representations. We release our code online.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Recently continual learning (Thrun, 1995) has gained a lot of attention in the deep learning community due to its ability to continually learn on a sequence of non-stationary tasks (Kumar & Daume III, 2012; Li & Hoiem, 2016) and close proximity to the human learning process (Flesch et al., 2018). However, the inability of the learner to prevent forgetting of the knowledge learnt from the previous tasks has been a long-standing problem (McCloskey & Cohen, 1989; Goodfellow et al., 2013). To address this problem, a large body of methods (Rusu et al., 2016; Zenke et al., 2017; Yoon et al., 2018; Li et al., 2019; Aljundi et al., 2019; Buzzega et al., 2020) have been proposed; however, all these methods focus on the supervised learning paradigm, but obtaining high-quality labels is expensive and often impractical in real-world scenarios. In contrast, CL for unsupervised representation learning has received limited attention in the community. Although Rao et al. (2019) instantiated a continual unsupervised representation learning framework (CURL), it is not scalable for high-resolution tasks, as it is composed of MLP encoders/decoders and a simple MoG generative replay. This is evident in their limited empirical evaluation using digit-based gray-scale datasets.
|
| 12 |
+
|
| 13 |
+
Meanwhile, a set of directions have shown huge potential to tackle the representation learning problem without labels (He et al., 2020; Chen et al., 2020a; Grill et al., 2020; Chen et al., 2020b; Chen & He, 2021; Zbontar et al., 2021) by aligning contrastive pairs of training instances or maximizing the similarity between two augmented views of each image. However, a common assumption for existing methods is the availability of a large amount of unbiased and unlabelled datasets to learn the feature representations. We argue that this assumption is not realistic for most of the real-time applications, including self-driving cars (Bojarski et al., 2016), medical applications (Kelly et al., 2019) and conversational agents (Li et al., 2020). The collected datasets are often limited in size during the initial training phase (Finn et al., 2017), and datasets/tasks change continuously with time.
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: Illustration of supervised and unsupervised continual learning. The objective of SCL is to learn the ability to classify labeled images in the current task while preserving the past tasks’ knowledge, where the tasks are non-iid to each other. On the other hand, UCL aims to learn the representation of images without the presence of labels and the model learns general-purpose representations during sequential training.
|
| 17 |
+
|
| 18 |
+
To accommodate such continuous shifts in data distributions, representation learning models need to increment the knowledge without losing the representations learned in the past. With this motivation, we attempt to bridge the gap between unsupervised representation learning and continual learning to address the challenge of learning the representations on a sequence of tasks. Specifically, we focus on unsupervised continual learning (UCL), where the goal of the continual learner is to learn the representations from a stream of unlabelled data instances without forgetting (see Figure 1). To this end, we extend various existing SCL strategies to the unsupervised continual learning framework and analyze the performance of current state-of-the-art representation learning techniques: SimSiam (Chen & He, 2021) and BarlowTwins (Zbontar et al., 2021) for UCL. Surprisingly, we observe that the unsupervised representations are comparatively more robust to catastrophic forgetting across all datasets and simply finetuning on the sequence of tasks can outperform various state-of-the-art continual learning alternatives. Furthermore, we show that UCL generalize better to various out of distribution tasks and outperforms SCL for few-shot training scenarios (Section 5.2).
|
| 19 |
+
|
| 20 |
+
We demystify the robustness of unsupervised representations by investigating the feature similarity, measured by centered kernel alignment (CKA) (Kornblith et al., 2019) between two independent UCL and SCL models and between UCL and SCL models. We notice that two unsupervised model representations have a relatively high feature similarity compared to two supervised representations. Furthermore, in all cases, two models have high similarity in lower layers indicating that they learn similar low-level features. Further, we measure the $\ell _ { 2 }$ distance between model parameters (Neyshabur et al., 2020) and visually compare the feature representations learned by different SCL and UCL strategies. We observe that UCL obtains human perceptual feature patterns for previous tasks, demonstrating their effectiveness to alleviate catastrophic forgetting (Section 5.3). We conjecture that this is due to their characteristic ability to learn general-purpose features (Doersch et al., 2020), which makes them transfer better and comparatively more robust to catastrophic forgetting.
|
| 21 |
+
|
| 22 |
+
To gain further insights, we visualize the loss landscape (Li et al., 2018) of the UCL and SCL models and observe that UCL obtains a flatter and smoother loss landscape than SCL. Additionally, we propose a simple yet effective technique coined Lifelong Unsupervised Mixup (LUMP), which utilizes mixup (Zhang et al., 2018) for unlabelled training instances. In particular, LUMP interpolates between the current task examples and examples from previous instances to minimize catastrophic forgetting. We emphasize that LUMP is easy to implement, does not require additional hyperparameters, and simply trains on the interpolated instances. To this end, LUMP requires little, or no modification to existing rehearsal-based methods effectively minimizes catastrophic forgetting even with uniformly selecting the examples from replay buffer. We show that LUMP with UCL outperforms the state-ofthe-art supervised continual learning methods across multiple experimental settings with significantly lower catastrophic forgetting. In summary, our contributions are as follows:
|
| 23 |
+
|
| 24 |
+
• We attempt to bridge the gap between continual learning and representation learning and tackle the two crucial problems of continual learning with unlabelled data and representation learning on a sequence of tasks. • Systematic quantitative analysis shows that UCL achieves better performance over SCL with significantly lower catastrophic forgetting on Sequential CIFAR-10, CIFAR-100, and Tiny-ImageNet. Additionally, we evaluate out-of-distribution tasks and few-shot training demonstrating the expressive power of unsupervised representations. • We provide visualization of the representations and loss landscapes, which show that UCL learns discriminative, human perceptual patterns and achieves a flatter and smoother loss landscape. Furthermore, we propose Lifelong Unsupervised Mixup (LUMP) for UCL, which effectively alleviates catastrophic forgetting and provides better qualitative interpretations.
|
| 25 |
+
|
| 26 |
+
# 2 RELATED WORK
|
| 27 |
+
|
| 28 |
+
Continual learning. We can partition the existing continual learning methods into three categories. The regularization approaches (Li & Hoiem, 2016; Zenke et al., 2017; Schwarz et al., 2018; Ahn et al., 2019) impose a regularization constraint to the objective that mitigates catastrophic forgetting. The architectural approaches (Rusu et al., 2016; Yoon et al., 2018; Li et al., 2019) avoid this problem by including task-specific parameters and allowing the expansion of the network during continual learning. The rehearsal approaches (Rebuffi et al., 2017; Rolnick et al., 2019; Aljundi et al., 2019) allocate a small memory buffer to store and replay the examples from the previous task. However, all these methods are confined to supervised learning, which limits their application in real-life problems. Rao et al. (2019); Smith et al. (2021) tackled the problem of continual unsupervised representation learning; however, their methods are restricted to simple low-resolution tasks and not scalable to large-scale continual learning datasets.
|
| 29 |
+
|
| 30 |
+
Representational learning. A large number of works have addressed the unsupervised learning problem in the standard machine learning framework. Specifically, contrastive learning frameworks (He et al., 2020; Chen et al., 2020a; Grill et al., 2020; Chen et al., 2020b;c) that learn the representations by measuring the similarities of positive and negative pairs have gained a lot of attention in the community. However, all these methods require large batches and negative sample pairs, which restrict the scalability of these networks. Chen & He (2021) tackled these limitations and proposed SimSiam, that use standard Siamese networks (Bromley et al., 1994) with the stop-gradient operation to prevent the collapsing of Siamese networks to a constant. Recently, Zbontar et al. (2021) formulated an objective that pushes the cross-correlation matrix between the embeddings of distorted versions of a sample closer to the identity matrix. However, all these methods assume the presence of large datasets for pre-training, which is impractical in real-world applications. In contrast, we tackle the problem of incremental representational learning and learn the representations sequentially while maximizing task adaptation and minimizing catastrophic forgetting.
|
| 31 |
+
|
| 32 |
+
# 3 PRELIMINARIES
|
| 33 |
+
|
| 34 |
+
# 3.1 PROBLEM SETUP
|
| 35 |
+
|
| 36 |
+
We consider the continual learning setting, where we learn on a continuum of data consisting of $T$ $\mathcal { T } _ { 1 : T } = ( \mathcal { T } _ { 1 } \dots \mathcal { T } _ { T } )$ In superonding , where taskwithdistri nsists a task descriptorexamples. Each input-ion. Let us consider a $\tau \in \{ 1 \ldots T \}$ $\mathcal { D } _ { \tau } = \{ ( { \boldsymbol { x } } _ { i , \tau } , y _ { i , \tau } ) _ { i = 1 } ^ { n _ { \tau } } \}$ $n _ { \tau }$ $( { \bf x } _ { i , \tau } , \bar { y _ { i , \tau } } ) \in \mathcal { X } _ { \tau } \times \mathcal { Y } _ { \tau }$ $( \mathcal { X } _ { \tau } , \mathcal { Y } _ { \tau } )$ network $f _ { \Theta } : \mathcal { X } _ { \tau } \to \mathbb { R } ^ { D }$ parametrized by $\mathbf { \Theta } \Theta = \{ \pmb { w } _ { l } \} _ { l = 1 } ^ { l = L }$ , where $\mathbb { R } ^ { D }$ and $L$ denote $D$ -dimensional embedding space and number of layers respectively. The classifier is denoted by $h _ { \psi } : \mathbb { R } ^ { D } \mathcal { V } _ { \tau }$ . The network error using cross entropy loss (CE) for SCL with finetuning can be formally defined as:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\mathcal { L } _ { \mathrm { S C L } } ^ { \mathrm { F I N E T U N E } } = \mathrm { C E } \left( h _ { \psi } \left( f _ { \Theta } \left( \pmb { x } _ { i , \tau } \right) , \tau \right) , y _ { i , \tau } \right) .
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
In this work, we assume the absence of label supervision during training and focus on unsupervised continual learning. In particular, each task consists of $\mathcal { U } _ { \tau } \bar { = } \{ ( { \pmb x } _ { i , \tau } ) _ { i = 1 } ^ { n _ { \tau } } \}$ , $\mathbf { \boldsymbol { x } } _ { i , \tau } ~ \in ~ \mathcal { X } _ { \tau }$ with $n _ { \tau }$ examples. Our aim is to learn the representations $f _ { \Theta } : \mathcal { X } _ { \tau } \to \mathbb { R } ^ { D }$ on a sequence of tasks while preserving the knowledge of the previous tasks. We introduce the representation learning framework and propose LUMP in Section 4 to learn unsupervised representations while effectively mitigating catastrophic forgetting.
|
| 43 |
+
|
| 44 |
+
# 3.2 LEARNING PROTOCOL AND EVALUATION METRICS
|
| 45 |
+
|
| 46 |
+
Currently, the traditional continual learning strategies follow the standard training protocol, where we learn the network representations $f _ { \Theta } : \mathcal { X } _ { \tau } \to \mathcal { Y } _ { \tau }$ on a sequence of tasks. In contrast, our goal is to learn the feature representations $f _ { \Theta } : \mathcal { X } _ { \tau } \to \mathbb { R } ^ { D }$ , so we follow a two-step learning protocol to obtain the model predictions. First, we pre-train the representations on a sequence of tasks $T _ { 1 : T } = ( \tau _ { \cdot \cdot \cdot } \mathcal { T } _ { T } )$ to obtain the representations. Next, we evaluate the quality of our pre-trained representations using a $\mathbf { K }$ -nearest neighbor (KNN) classifier (Wu et al., 2018) following the setup in Chen et al. (2020a); Chen & He (2021); Zbontar et al. (2021).
|
| 47 |
+
|
| 48 |
+
To validate knowledge transfer of the learned representations, we adopt the metrics from the SCL literature (Chaudhry et al., 2019b; Mirzadeh et al., 2020). Let $\boldsymbol { a } _ { \tau , i }$ denote the test accuracy of task $i$ after learning task $\mathcal { T } _ { \tau }$ using a KNN on frozen pre-trained representations on task $\mathcal { T } _ { \tau }$ . More formally, we can define the metrics to evaluate the continually learned representations as follow:
|
| 49 |
+
|
| 50 |
+
1. Average accuracy is the average test accuracy of all the tasks completed until the continual learning of task τ : Aτ = 1τ Pτi=1 aτ,i 2. Average Forgetting is the average performance decrease of each task between its maximum accuracy and accuracy at the completion of training: $\begin{array} { r } { F = \frac { 1 } { T - 1 } \sum _ { i = 1 } ^ { T - 1 } \operatorname* { m a x } _ { \tau \in \{ 1 , \dots , T \} } \left( a _ { \tau , i } - a _ { T , i } \right) } \end{array}$
|
| 51 |
+
|
| 52 |
+
# 4 UNSUPERVISED CONTINUAL LEARNING
|
| 53 |
+
|
| 54 |
+
# 4.1 CONTINUOUS REPRESENTATION LEARNING WITH SEQUENTIAL TASKS
|
| 55 |
+
|
| 56 |
+
To learn feature representations, contrastive learning (Chen et al., 2020a;b; He et al., 2020) maximizes the similarity of representations between the images of the same views (positive pairs) and minimizes the similarity between images of different views (negative pairs). However, these methods require large batches, negative sample pairs (Chen et al., 2020a;b), or architectural modifications (He et al., 2020; Chen et al., 2020c), or non-differentiable operators (Caron et al., 2020), which makes their application difficult for continual learning scenarios. In this work, we focus on SimSiam (Chen & He, 2021) and BarlowTwins (Zbontar et al., 2021), which tackle these limitations and achieve state-of-the-art performance on standard representation learning benchmarks.
|
| 57 |
+
|
| 58 |
+
SimSiam (Chen & He, 2021) uses a variant of Siamese networks (Bromley et al., 1994) for learning input data representations. It consists of an encoder network $f _ { \Theta }$ , which is composed of a backbone network, and is shared across a projection MLP and prediction MLP head $h ( \cdot )$ . Specifically, SimSiam minimizes the cosine-similarity between the output vectors of the projector and the predictor MLP across two different augmentations for an image. Initially, we consider FINETUNE, which is a a naive CL baseline that minimizes the cosine-similarity between the projector output $( z _ { i , \tau } ^ { 1 } = f _ { \Theta } ( x _ { i , \tau } ^ { 1 } ) )$ and the predictor output $( p _ { i , \tau } ^ { 2 } = h ( f _ { \Theta } ( x _ { i , \tau } ^ { 2 } ) )$ on a sequence of tasks as follows:
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { U C L } } ^ { \mathrm { F I N E T U N E } } = \displaystyle \frac { 1 } { 2 } D ( p _ { i , \tau } ^ { 1 } , \mathrm { s t o p g r a d } ( z _ { i , \tau } ^ { 2 } ) ) + \frac { 1 } { 2 } D ( p _ { i , \tau } ^ { 2 } , \mathrm { s t o p g r a d } ( z _ { i , \tau } ^ { 1 } ) ) , } \\ { \mathrm { w h e r e } D ( p _ { i , \tau } ^ { 1 } , z _ { i , \tau } ^ { 2 } ) = - \frac { p _ { i , \tau } ^ { 1 } } { \| p _ { i , \tau } ^ { 2 } \| _ { 2 } } \cdot \frac { z _ { i , \tau } ^ { 2 } } { \| z _ { i , \tau } ^ { 2 } \| _ { 2 } } , } \end{array}
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
$x _ { i , \tau } ^ { 1 }$ nd -n $x _ { i , \tau } ^ { 2 }$ are two randomly augmented views of an input example Note that, the stopgrad is a crucial component in Si $x _ { i , \tau } \in \mathcal { T } _ { \tau }$ and preve $\lVert \cdot \rVert _ { 2 }$ denotese trivial $\ell _ { 2 }$ solutions obtained by Siamese networks. Due to its simplicity and effectiveness, we chose Simsiam to analyze the performance of unsupervised representations for continual learning.
|
| 65 |
+
|
| 66 |
+
BarlowTwins (Zbontar et al., 2021) minimizes the redundancy between the embedding vector components of the distorted versions of an instance while conserving the maximum information inspired from Barlow (1961). In particular, the objective function eliminates the SimSiam stopgrad component and instead makes the cross-correlation matrix computed between the outputs of two identical networks closer to the identity matrix. Let $\mathcal { C }$ be the cross-correlation matrix between the outputs of two Siamese branches along the batch dimension and $Z _ { 1 }$ and $Z _ { 2 }$ denote the batch embeddings of the distorted views for all images of a batch from the current task $( x _ { \tau } \in \mathcal { U } _ { \tau }$ ). The objective function for UCL with finetuning and BarlowTwins can then be defined as:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\mathcal { L } _ { \mathrm { U C L } } ^ { \mathrm { F I N E T U N E } } = \sum _ { i } ( 1 - \mathcal { C } _ { i i } ) ^ { 2 } + \ \lambda \cdot \sum _ { i } \sum _ { j \neq i } \mathcal { C } _ { i j } ^ { 2 } , \mathrm { w h e r e } \ \mathcal { C } _ { i j } = \frac { \sum _ { B } z _ { B , i } ^ { 1 } z _ { B , j } ^ { 2 } } { \sqrt { \sum _ { B } { ( z _ { B , i } ^ { 1 } ) } ^ { 2 } } \sqrt { \sum _ { B } { ( z _ { B , j } ^ { 2 } ) } ^ { 2 } } } .
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
$\lambda$ is a positive constant trading off the importance of the invariance and redundancy reduction terms of the loss, $i$ and $j$ denote the network’s output vector dimensions. Similar to SimSiam, BarlowTwins is simple, easy to implement, and can be applied to existing continual learning strategies with little or no modification.
|
| 73 |
+
|
| 74 |
+
Learning feature representations from labelled instances on a sequence of tasks has been long studied in continual learning. However, the majority of these learning strategies are not directly applicable to UCL. To compare with the regularization-based strategies, we extend Synaptic Intelligence (SI) (Zenke et al., 2017) to UCL and consider the online per-synapse consolidation during the entire training trajectory of the unsupervised representations. For architectural-based strategies, we investigate Progressive Neural Networks (PNN) (Rusu et al., 2016) and learn the feature representations progressively using the representations learning frameworks proposed in Section 4.1.
|
| 75 |
+
|
| 76 |
+
We also formulate Dark Experience Replay (DER) (Buzzega et al., 2020) for UCL. DER for SCL alleviates catastrophic forgetting by matching the network logits across a sequence of tasks during the optimization trajectory. Notably, the loss for SCL-DER can be defined as follow:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\mathcal { L } _ { \mathrm { S C L } } ^ { \mathrm { D E R } } = \mathcal { L } _ { \mathrm { S C L } } ^ { \mathrm { F I N E T U N E } } + ~ \alpha \cdot \mathbb { E } _ { ( \boldsymbol { x } , \boldsymbol { p } ) \sim \mathcal { M } } \big [ \| \mathrm { s o f t m a x } ( \boldsymbol { p } ) - \mathrm { s o f t m a x } ( h _ { \psi } ( \boldsymbol { x } _ { i , \tau } ) ) \| _ { 2 } ^ { 2 } \big ] ,
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where p = hψτ (x), LFINETSCL $\mathcal { L } _ { \mathrm { S C L } } ^ { \mathrm { F I N E T U N E } }$ denotes the cross-entropy loss on the current task (see Equation (1)) and random examples are selected using reservoir sampling from the replay-buffer $\mathcal { M }$ . Since, we do not have access to the labels for UCL, we cannot minimize the aforementioned objective.
|
| 83 |
+
|
| 84 |
+
Instead, we utilize the output of the projected output by the backbone network to preserve the knowledge of the past tasks over the entire training trajectory. In particular, DER for UCL consists of a combination of two terms. The first term learns the representations using SimSiam from Equation (2) or BarlowTwins from Equation (3) and the second term minimizes the Euclidean distance between the projected outputs to minimize catastrophic forgetting. More formally, UCL-DER minimizes the following loss:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\mathcal { L } _ { \mathrm { U C L } } ^ { \mathrm { D E R } } = \mathcal { L } _ { \mathrm { U C L } } ^ { \mathrm { F I N E T U N E } } + \ \alpha \cdot \mathbb { E } _ { ( x ) \sim \mathcal { M } } \big [ \| f _ { \Theta _ { \tau } } ( x ) - f _ { \Theta } ( x _ { i , \tau } ) \| _ { 2 } ^ { 2 } \big ]
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
However, the performance of the rehearsal-based methods is sensitive to the choice of $\alpha$ and often requires supervised training setup, task identities, and boundaries. To tackle this issue, we propose Lifelong Unsupervised Mixup in the subsequent subsection, which interpolates between the current and past task instances to mitigate catastrophic forgetting effectively.
|
| 91 |
+
|
| 92 |
+
# 4.3 LIFELONG UNSUPERVISED MIXUP
|
| 93 |
+
|
| 94 |
+
The standard Mixup (Zhang et al., 2018) training constructs virtual training examples based on the principle of Vicinal Risk Minimization . In particular, let $( x _ { i } , y _ { i } )$ and $( x _ { j } , y _ { j } )$ denote two random feature-target pairs sampled from the training data distribution and let $( \tilde { x } , \tilde { y } )$ denote the interpolated feature-target pair in the vicinity of these examples; mixup then minimizes the following objective:
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\begin{array} { r l } & { \mathcal { L } ^ { \mathrm { M x U P } } ( \tilde { x } , \tilde { y } ) = \mathrm { C E } \left( h _ { \psi } \left( f _ { \Theta } \left( \tilde { x } \right) \right) , \tilde { y } \right) , } \\ & { \quad \quad \mathrm { w h e r e } \tilde { x } = \lambda \cdot x _ { i } + \left( 1 - \lambda \right) \cdot x _ { j } \mathrm { a n d } \tilde { y } = \lambda \cdot y _ { i } + \left( 1 - \lambda \right) \cdot y _ { j } . } \end{array}
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
$\lambda \sim \operatorname { B e t a } ( \alpha , \alpha )$ , for $\alpha \in ( 0 , \infty )$ . In this work, we focus on lifelong self-supervised learning and propose Lifelong Unsupervised Mixup (LUMP) that utilizes mixup for UCL by incorporating the instances stored in the replay-buffer from the previous tasks into the vicinal distribution. In particular, LUMP interpolates between the examples of the current task $( x _ { i , \tau } ) \in \mathcal { U } _ { \tau }$ and random examples selected using uniform sampling from the replay buffer, which encourages the model to behave linearly across a sequence of tasks. More formally, LUMP minimizes the objective in Equation (2) and Equation (3) on the following interpolated instances $\tilde { x } _ { i , \tau }$ for the current task $\tau$ :
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\boldsymbol { \tilde { x } } _ { i , \tau } = \lambda \cdot \boldsymbol { x } _ { i , \tau } + ( 1 - \lambda ) \cdot \boldsymbol { x } _ { j , \boldsymbol { M } } ,
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where $x _ { j , \mathcal { M } } \sim \mathcal { M }$ denotes the example selected using uniform sampling from replay buffer $\mathcal { M }$ . The interpolated examples not only augments the past tasks’ instances in the replay buffer but also approximates a regularized loss minimization (Zhang et al., 2021). During UCL, LUMP enhances the robustness of learned representation by revisiting the attributes of the past task that are similar to the current task. Recently, Kim et al. (2020); Lee et al. (2021); Verma et al. (2021); Shen et al. (2022) also employed mixup for contrastive learning. Our work is different from these existing works in that our objective is different, and we focus on unsupervised continual learning. To this end, LUMP successively mitigates catastrophic forgetting and learns discriminative & human-perceptual features over the current state-of-the-art SCL strategies (see Table 1 and Figure 4).
|
| 107 |
+
|
| 108 |
+
# 5 EXPERIMENTS
|
| 109 |
+
|
| 110 |
+
# 5.1 EXPERIMENTAL SETUP
|
| 111 |
+
|
| 112 |
+
Baselines. We compare with multiple supervised and unsupervised continual learning baselines across different categories of continual learning methods.
|
| 113 |
+
|
| 114 |
+
1. Supervised continual learning. FINETUNE is a vanilla supervised learning method trained on a sequence of tasks without regularization or episodic memory and MULTITASK optimizes the model on complete data. For regularization-based CL methods, we compare against SI (Zenke et al., 2017) and AGEM (Chaudhry et al., 2019a). We include PNN (Rusu et al., 2016) for architecture-based methods. Lastly, we consider GSS (Aljundi et al., 2019) that populates the replay-buffer using solid-angle minimization and DER (Buzzega et al., 2020) matches the network logits sampled through the optimization trajectory for rehearsal during continual learning.
|
| 115 |
+
|
| 116 |
+
2. Unsupervised continual learning. We consider the unsupervised variants of various SCL baselines to show the utility of the unsupervised representations for sequential learning. Specifically, we use SIMSIAM (Chen & He, 2021) and BARLOWTWINS (Zbontar et al., 2021), which are the state-of-the-art representational learning techniques for learning the unsupervised continual representations. We compare with FINETUNE and MULTITASK following the supervised learning baselines, and SI (Zenke et al., 2017), PNN (Rusu et al., 2016) for unsupervised regularization and architecture CL methods respectively. For rehearsal-based method, we compare with the UCL variant of DER (Buzzega et al., 2020) described in Section 4.2
|
| 117 |
+
|
| 118 |
+
Datasets. We compare the performance of SCL and UCL on various continual learning benchmarks using single-head ResNet-18 (He et al., 2016) architecture. Split CIFAR-10 (Krizhevsky, 2012) consists of two random classes out of the ten classes for each task. Split CIFAR-100 (Krizhevsky, 2012) consists of five random classes out of the 100 classes for each task. Split Tiny-ImageNet is a variant of the ImageNet dataset (Deng et al., 2009) containing five random classes out of the 100 classes for each task with the images sized $6 4 \times 6 4$ pixels.
|
| 119 |
+
|
| 120 |
+
Training and evaluation setup. We follow the hyperparameter setup of Buzzega et al. (2020) for all the SCL strategies and tune them for the UCL representation learning strategies. All the learned representations are evaluated with KNN classifier (Wu et al., 2018) across three independent runs. Further, we use the hyper-parameters obtained by SimSiam for training UCL strategies with BarlowTwins to analyze the sensitivity of UCL to hyper-parameters and for a fair comparison between different methods. We train all the UCL methods for 200 epochs and evaluate with the KNN classifier (Wu et al., 2018). We provide the hyper-parameters in detail in Table A.5.
|
| 121 |
+
|
| 122 |
+
# 5.2 QUANTITATIVE RESULTS
|
| 123 |
+
|
| 124 |
+
Evaluation on SimSiam. Table 1 shows the evaluation results for supervised and unsupervised representations learnt by SimSiam (Chen & He, 2021) across various continual learning strategies. In all cases, continual learning with unsupervised representations achieves significantly better performance than supervised representations with substantially lower forgetting. For instance, SI with UCL obtains better performance and $6 8 \%$ , $5 4 \%$ , and $4 4 \%$ lower forgetting relative to the best-performing SCL strategy on Split CIFAR-10, Split CIFAR-100, and Split Tiny-ImageNet, respectively. Surprisingly, FINETUNE with UCL achieves higher performance and significantly lower forgetting in comparison to all SCL strategies except DER. Furthermore, LUMP improves upon the UCL strategies: $2 . 8 \%$ and $5 . 9 \%$ relative increase in accuracy and $1 5 \%$ and $5 7 . 1 \%$ relative decrease in forgetting on Split CIFAR-100 and Split Tiny-ImageNet, respectively.
|
| 125 |
+
|
| 126 |
+
Evaluation on BarlowTwins. To verify that unsupervised representations are indeed more robust to catastrophic forgetting, we train BarlowTwins (Zbontar et al., 2021) on a sequence of tasks. We notice that the representations learned with BarlowTwins substantially improve the accuracy and forgetting over SCL: $7 1 . 4 \%$ , $6 9 . 7 \%$ and $7 3 . 2 \%$ decrease in forgetting with FINETUNE on Split CIFAR-10, Split CIFAR-100 and Split Tiny-ImageNet respectively. Similarly, we observe that SI, and DER are more robust to catastrophic forgetting; however, PNN underperforms on complicated tasks since feature accumulation using adaptor modules is insufficient to construct useful representations for current task adaptation. Interestingly, representations learnt with BarlowTwins achieve lower forgetting for FINETUNE, DER and LUMP than SimSiam with comparable accuracy across all the datasets.
|
| 127 |
+
|
| 128 |
+
Table 1: Accuracy and forgetting of the learnt representations on Split CIFAR-10, Split CIFAR-100 and Split Tiny-ImageNet on Resnet-18 architecture with KNN classifier (Wu et al., 2018). All the values are measured by computing mean and standard deviation across three trials. The best and second-best results are highlighted in bold and underline respectively.
|
| 129 |
+
|
| 130 |
+
<table><tr><td>METHOD</td><td colspan="2">SPLIT CIFAR-10</td><td colspan="2">SPLIT CIFAR-100</td><td colspan="2">SPLIT TINY-IMAGENET</td></tr><tr><td colspan="7">ACCURACY FORGETTING ACCURACY FORGETTING ACCURACY FORGETTING</td></tr><tr><td colspan="7">SUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>82.87 (± 0.47)</td><td>14.26 (± 0.52)</td><td>61.08 (± 0.04)</td><td>31.23 (± 0.41)</td><td>53.10 (± 1.37)</td><td>33.15 (± 1.22)</td></tr><tr><td>PNN (Rusu et al., 2016)</td><td>82.74 (± 2.12)</td><td></td><td>66.05 (±0.86)</td><td></td><td>64.38 (± 0.92)</td><td></td></tr><tr><td>SI (Zenke et al., 2017)</td><td>85.18 (± 0.65)</td><td>11.39 (± 0.77)</td><td>63.58 (± 0.37)</td><td>27.98 (± 0.34)</td><td>44.96 (± 2.41)</td><td>26.29 (± 1.40)</td></tr><tr><td>A-GEM (Chaudhry et al., 2019a)</td><td>82.41 (± 1.24)</td><td>13.82 (± 1.27)</td><td>59.81 (± 1.07)</td><td>30.08 (± 0.91)</td><td>60.45 (± 0.24)</td><td>24.94 (± 1.24)</td></tr><tr><td>Gss (Aljundi et al.,2019)</td><td>89.49 (± 1.75)</td><td>7.50 (± 1.52)</td><td>70.78 (± 1.67)</td><td>21.28 (± 1.52)</td><td>70.96 (± 0.72)</td><td>14.76 (± 1.22)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>91.35 (± 0.46)</td><td>5.65 (± 0.35)</td><td>79.52 (± 1.88)</td><td>12.80 (± 1.47)</td><td>68.03 (±0.85)</td><td>17.74 (± 0.65)</td></tr><tr><td>MULTITASK</td><td>97.77 (± 0.15)</td><td></td><td>93.89 (±0.78)</td><td></td><td>91.79 (± 0.46)</td><td></td></tr><tr><td colspan="7">UNSUPERVISED CONTINUAL LEARNING</td></tr><tr><td colspan="7">FINETUNE PNN (Rusu et al., 2016)</td></tr><tr><td></td><td>90.11 (±0.12) 90.93 (± 0.22)</td><td>5.42 (±0.08)</td><td>75.42 (± 0.78)</td><td>10.19 (± 0.37)</td><td>71.07 (± 0.20)</td><td>9.48 (±0.56)</td></tr><tr><td>SIISIIN SI (Zenke et al., 2017)</td><td>92.75 (± 0.06)</td><td></td><td>66.58 (± 1.00)</td><td>5.54 (± 1.30)</td><td>62.15 (± 1.35) 72.34 (±0.42)</td><td></td></tr><tr><td>DER (Buzzega et al.,2020)</td><td>91.22 (± 0.30)</td><td>1.81 (± 0.21)</td><td>80.08 (± 1.30)</td><td></td><td>71.90 (± 1.44)</td><td>8.26 (± 0.64)</td></tr><tr><td>LUMP</td><td>91.00 (± 0.40)</td><td>4.63 (±0.26) 2.92 (± 0.53)</td><td>77.27 (± 0.30)</td><td>9.31 (± 0.09)</td><td></td><td>8.36 (± 2.06)</td></tr><tr><td></td><td></td><td></td><td>82.30 (± 1.35)</td><td>4.71 (± 1.52)</td><td>76.66 (± 2.39)</td><td>3.54 (± 1.04)</td></tr><tr><td>MULTITASK</td><td>95.76 (± 0.08)</td><td></td><td>86.31 (±0.38)</td><td></td><td>82.89 (± 0.49)</td><td></td></tr><tr><td colspan="7">FINETUNE</td></tr><tr><td>PNN (Rusu et al., 2016)</td><td>87.72 (± 0.32)</td><td>4.08 (± 0.56)</td><td>71.97 (± 0.54)</td><td>9.45 (± 1.01)</td><td>66.28 (± 1.23)</td><td>8.89 (±0.66)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>87.52 (± 0.33)</td><td></td><td>57.93 (± 2.98)</td><td></td><td>48.70 (± 2.59)</td><td></td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>90.21 (± 0.08) 88.67 (± 0.24)</td><td>2.03 (±0.22)</td><td>75.04 (± 0.63)</td><td>7.43 (± 0.67)</td><td>56.96 (± 1.48)</td><td>17.04 (± 0.89)</td></tr><tr><td>LUMP</td><td></td><td>2.41 (± 0.26)</td><td>73.48 (± 0.53)</td><td>7.98 (± 0.29)</td><td>68.56 (± 1.47)</td><td>7.87 (± 0.44)</td></tr><tr><td>PPITSIITTIS</td><td>90.31 (± 0.30)</td><td>1.13 (± 0.18)</td><td>80.24 (± 1.04)</td><td>3.53 (± 0.83)</td><td>72.17 (± 0.89)</td><td>2.43 (± 1.00)</td></tr><tr><td>MULTITASK</td><td>95.48 (± 0.14)</td><td></td><td>87.16 (± 0.52)</td><td></td><td>82.42 (± 0.74)</td><td></td></tr><tr><td colspan="7">accuracy overdata size (h hrieteigreeere forgetting overdata size SCL-FT UCL-FT SCL-DER SCL-SI UCL-SI UCL-FT SCL-DER LUMP 10 UCL-SI LUMP 0.5</td></tr></table>
|
| 131 |
+
|
| 132 |
+
Figure 2: Evaluation on Few-shot training for Split CIFAR-100 across different number of training instances per task. The results are measured across three independent trials.
|
| 133 |
+
Figure 3: CKA Feature similarity between two independent UCL models (red), two independent SCL models (blue), and UCL and SCL model (green) for different strategies on Split CIFAR-100 test distribution.
|
| 134 |
+
|
| 135 |
+
Evaluation on Few-shot training. Figure 2 compares the effect of few-shot training on UCL and SCL, where each task has a limited number of training instances. Specifically, we conduct the experimental evaluation using 100, 200, 500, and 2500 training instances for each task in split CIFAR-100 dataset. Surprisingly, we observe that the gap in average accuracy between SCL and UCL methods widens with a decrease in the number of training instances. Note that UCL decreases the accuracy by $1 5 . 7 8 \% p$ on average with lower forgetting when the number of training instances decreases from 2500 to 100; whereas, SCL obtains a severe $3 2 . 2 1 \% p$ deterioration in accuracy. We conjecture that this is an outcome of the discriminative feature embeddings learned by UCL, which discriminates all the images in the dataset and captures more than class-specific information as also observed in Doersch et al. (2020). Furthermore, LUMP improves the performance over all the baselines with a significant margin across all few-shot experiments.
|
| 136 |
+
|
| 137 |
+
Evaluation on OOD datasets. We evaluate the learnt representations on various out-of-distribution (OOD) datasets in Table 2 to measure their generalization to unseen data distributions. In particular, we conduct the OOD evaluation on MNIST (LeCun, 1998), Fashion-MNIST (FMNIST) (Xiao et al., 2017), SVHN (Netzer et al., 2011), CIFAR-10 and CIFAR-100 (Krizhevsky, 2012) using a KNN classifier (Wu et al., 2018). We observe that unsupervised representations outperform the supervised representations in all cases across all the datasets. In particular, the UCL representations learned with Simsiam, and SI on Split-CIFAR-10 improves the absolute performance over the best-performing SCL strategy by $4 . 5 8 \%$ , $6 . 0 9 \%$ , $1 5 . 2 6 \%$ , and $1 7 . 0 7 \%$ on MNIST, FMNIST, SVHN, and CIFAR-100 respectively. Further, LUMP trained on Split-CIFAR-100 outperforms SI across all datasets and obtains comparable performance with Split CIFAR-10 dataset.
|
| 138 |
+
|
| 139 |
+
Table 2: Comparison of accuracy on out of distribution datasets using a KNN classifier (Wu et al., 2018) on pretrained SCL and UCL representations. We consider MNIST (LeCun, 1998), Fashion-MNIST (FMNIST) (Xiao et al., 2017), SVHN (Netzer et al., 2011) as out of distribution for Split CIFAR-100 and Split CIFAR-10. All the values are measured by computing mean and standard deviation across three trials. The best and second-best results are highlighted in bold and underline respectively.
|
| 140 |
+
|
| 141 |
+
<table><tr><td>IN-CLASS</td><td colspan="4">SPLIT CIFAR-10</td><td colspan="4">SPLIT CIFAR-100</td></tr><tr><td>OUT-OF-CLASS</td><td>MNIST</td><td>FMNIST</td><td>SVHN</td><td>CIFAR-100</td><td>MNIST</td><td>FMNIST</td><td>SVHN</td><td>CIFAR-10</td></tr><tr><td colspan="9">SUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>86.42 (± 1.11)</td><td>74.47 (±0.84)4</td><td>41.00 (±0.85)</td><td>17.42 (± 0.96)</td><td>75.02 (±3.97)</td><td>62.37 (± 3.20)</td><td>38.05 (±0.73)</td><td>39.18 (± 0.83)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>87.08 (± 0.79)</td><td>76.41 (± 0.81)</td><td>42.62 (± 1.31)</td><td>19.14 (± 0.91)</td><td>79.96 (± 2.63)</td><td>63.71 (± 1.36)</td><td>40.92 (± 1.64)</td><td>40.41 (± 1.71)</td></tr><tr><td>A-GEM (Chaudhry et al., 2019a)</td><td>86.07 (± 1.94)</td><td>74.74(± 3.21)</td><td>37.77 (± 3.49)</td><td>16.11 (± 0.38)</td><td>77.56 (± 3.21)</td><td>64.16 (± 2.29)</td><td>37.48 (± 1.73)</td><td>37.91 (± 1.33)</td></tr><tr><td>Gss (Aljundi et al., 2019)</td><td>70.36 (± 3.54)</td><td>69.20 (± 2.51)</td><td>33.11 (± 2.26)</td><td>18.21 (± 0.39)</td><td>76.54 (± 0.46)</td><td>65.31 (± 1.72)</td><td>35.72 (± 2.37)</td><td>49.41 (± 1.81)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>80.32 (± 1.91)</td><td>70.49 (± 1.54)</td><td>41.48 (± 2.76)</td><td>17.72 (± 0.25)</td><td>87.71 (± 2.23)</td><td>75.97 (± 1.29)</td><td>50.26 (± 0.95)</td><td>59.07 (± 1.06)</td></tr><tr><td>MULTITASK</td><td></td><td>88.79 (± 1.13) 79.50 (±0.52)41.26(± 1.95)</td><td></td><td>27.68 (±0.66)</td><td>92.29 (± 3.37)</td><td>86.12 (± 1.87)</td><td>54.94 (± 1.77)</td><td>54.04 (± 3.68)</td></tr><tr><td colspan="9">UNSUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>89.23 (± 0.99)</td><td>80.05 (±0.34)</td><td>49.66 (±0.81)</td><td>34.52 (± 0.12)</td><td>85.99 (±0.86)</td><td>76.90 (± 0.11)</td><td>50.09 (± 1.41)</td><td>57.15 (± 0.96)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>93.72 (± 0.58)</td><td>82.50 (± 0.51)</td><td>57.88 (±0.16)</td><td>36.21 (±0.69)</td><td>91.50 (± 1.26)</td><td>80.57 (±0.93)</td><td>54.07 (± 2.73)</td><td>60.55 (± 2.54)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>88.35 (±0.82)</td><td>79.33 (± 0.62)</td><td>48.83 (± 0.55))</td><td>30.68 (± 0.36)</td><td>87.96 (± 2.04)</td><td>76.21 (± 0.63)</td><td>47.70 (± 0.94)</td><td>56.26 (± 0.16)</td></tr><tr><td>WAISNIS LUMP</td><td>91.03 (± 0.22)</td><td>80.78 (±0.88)</td><td>45.18 (± 1.57)</td><td>31.17 (± 1.83)</td><td>91.76 (± 1.17)</td><td>81.61 (± 0.45)</td><td>50.13 (±0.71)</td><td>63.00 (±0.53)</td></tr><tr><td>MULTITASK</td><td>90.69 (± 0.13)</td><td>80.65 (±0.42)</td><td>47.67 (± 0.45)</td><td>39.55 (± 0.18)</td><td>90.35 (±0.24)</td><td>81.11 (± 1.86)</td><td>52.20 (± 0.61)</td><td>70.19 (± 0.15)</td></tr><tr><td>FINETUNE</td><td>86.86 (± 1.62)</td><td>78.37 (± 0.74)</td><td>44.64 (± 2.39)</td><td>28.03 (±0.52)</td><td>76.08 (± 2.86)</td><td>76.82 (±0.83)</td><td>42.95 (±0.90)</td><td>53.12 (± 0.13)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>90.31 (± 0.69)</td><td>80.58 (± 0.68)</td><td>49.18 (± 0.51)</td><td>31.80 (± 0.4)</td><td>85.24 (± 0.99)</td><td>78.82 (± 0.67)</td><td>45.18 (± 1.37)</td><td>53.99 (± 0.56)</td></tr><tr><td>DER (Buzzega et al.,2020)</td><td>85.15 (± 2.19)</td><td>77.96 (± 0.59)</td><td>45.68 (± 0.93)</td><td>27.83 (± 0.86)</td><td>78.08 (± 1.95)</td><td>76.67 (±0.68)</td><td>44.58 (± 1.01)</td><td>53.24 (±0.82)</td></tr><tr><td>LUMP</td><td>88.73 (± 0.54)</td><td>81.69 (± 0.45)</td><td>51.53(± 0.41)</td><td>31.53 (± 0.36)</td><td>90.22 (± 1.39)</td><td>81.28 (± 0.91)</td><td>50.24 (± 0.95)</td><td>60.76 (± 0.87)</td></tr><tr><td>PBPIIIITTIS MULTITASK</td><td>88.63 (± 1.38)</td><td>79.49 (± 0.29)</td><td>49.24 (± 2.44)</td><td>36.33 (±0.29)</td><td>86.98 (± 1.70)</td><td>79.40 (± 1.10)</td><td>50.19 (±0.81)</td><td>49.50 (± 0.38)</td></tr></table>
|
| 142 |
+
|
| 143 |
+
# 5.3 QUALITATIVE ANALYSIS
|
| 144 |
+
|
| 145 |
+
Similarity in feature and parameter space. We analyze the similarity between the representations learnt between (i) Two independent UCL models, (ii) Two independent SCL models (iii) SCL and UCL models using centered kernel alignment (CKA) (Kornblith et al., 2019) in Figure 3, which provides a score between 0 and 1 measuring the similarity between a pair of hidden representations. For two representations Θ1 : X → Rd1 and Θ2 : X → Rd1 , CKA(Θ1, Θ2) = ||Cov(Θ1(x),Θ2(x))||2F||Cov(Θ1(x))||F ·||Cov(Θ2(x))||F , where covariances are with respect to the test distribution. Additionally, we measure the $\ell _ { 2 }$ distance (Neyshabur et al., 2020) between the parameters of two independent UCL models (see Table 3) and two independent SCL models (see Table 4). First, we observe that the representations learned by two independent UCL methods have a high feature similarity and lower $\ell _ { 2 }$ distance compared to the two independent SCL methods, demonstrating UCL representations’ robustness. Second, we note that the representations between any two independent models are highly similar in the lower layers indicating that they learn similar high-level features, including edges and shapes; however, the features are dissimilar for the higher modules. Lastly, we see that the representations between a UCL and SCL model are similar in the lower layers but diverge in the higher layers across all CL strategies.
|
| 146 |
+
|
| 147 |
+
Visualization of feature space. Next, we visualize the learned features to dissect further the representations learned by UCL and SCL strategies. Figure 4 shows the visualization of the latent feature maps for tasks $\mathcal { T } _ { 0 }$ and $\mathcal { T } _ { 1 3 }$ after the completion of continual learning. For $\mathcal { T } _ { 0 }$ , we observe that the SCL methods are prone to catastrophic forgetting, as the features appear noisy and do not have coherent patterns. In contrast, the features learned by UCL strategies are perceptually relevant and robust to catastrophic forgetting, with LUMP learning the most distinctive features. Similar to $\mathcal { T } _ { 0 }$ , we observe that the UCL features are more relevant and distinguishable than SCL for $\mathcal { T } _ { 1 3 }$ . Note that we randomly selected the examples and feature maps for all visualizations.
|
| 148 |
+
|
| 149 |
+
Loss landscape visualization. To gain further insights, we visualize the loss landscape of task $\mathcal { T } _ { 0 }$ after the completion of training on task $\mathcal { T } _ { 0 }$ and $\mathcal { T } _ { 1 9 }$ for various UCL and SCL strategies in Figure 5. We measure the cross-entropy loss for all methods with a randomly initialized linear classifier for a fair evaluation of two different directions. We use the visualization tool from Li et al. (2018) that searches the task loss surface by repeatedly adding random perturbations to model weights. We observe that the loss landscape after $\mathcal { T } _ { 0 }$ looks quite similar across all the strategies since the forgetting does not exist yet. However, after training $\mathcal { T } _ { 1 9 }$ , there is a clear difference with the UCL strategies obtaining a flatter and smoother loss landscape because UCL methods are more stable and robust to the forgetting, which hurts the loss landscapes of past tasks for SCL. It is important to observe that LUMP obtains a smoother landscape than other UCL strategies, demonstrating its effectiveness. We defer further analyses for feature and loss landscape visualization to Appendix A.2.
|
| 150 |
+
|
| 151 |
+
Table 3: $\ell _ { 2 }$ distance between UCL parameters after completion of training.
|
| 152 |
+
|
| 153 |
+
<table><tr><td>MODEL</td><td>FINETUNE</td><td>S1</td><td>DER</td><td>MULTITASK</td></tr><tr><td>FINETUNE</td><td>60.00 (± 1.70)</td><td></td><td></td><td></td></tr><tr><td>SI</td><td>76.46 (± 0.48)</td><td>92.35 (± 0.61)</td><td></td><td></td></tr><tr><td>DER</td><td>55.60 (± 1.42)</td><td>75.54 (± 0.97)</td><td>48.76 (± 1.54)</td><td></td></tr><tr><td>MULTITASK</td><td>61.32 (± 0.59)</td><td>79.95 (± 0.40)</td><td>57.90 (± 0.86)</td><td>61.42 (± 0.78)</td></tr></table>
|
| 154 |
+
|
| 155 |
+
Table 4: $\ell _ { 2 }$ distance between SCL paraneters after completion of training.
|
| 156 |
+
|
| 157 |
+
<table><tr><td>MODEL</td><td>FINETUNE</td><td>SI</td><td>DER</td><td>MULTITASK</td></tr><tr><td>FINETUNE</td><td>183.31 (± 0.10)</td><td></td><td></td><td></td></tr><tr><td>SI</td><td>206.16 (± 0.28)</td><td>226.05 (± 0.13)</td><td></td><td></td></tr><tr><td>DER</td><td>202.61 (± 0.46)</td><td>224.78 (± 0.75)</td><td>219.06 (± 0.27)</td><td></td></tr><tr><td>MULTITASK</td><td>258.12 (± 0.26)</td><td>277.30 (± 0.69)</td><td>271.48 (± 0.45)</td><td>314.84 (± 0.92)</td></tr></table>
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 4: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for ResNet-18 architecture after the completion of CL for Split CIFAR-100 dataset $( n = 2 0 )$ ).
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 5: Loss landscape visualization of $\mathcal { T } _ { 0 }$ after the completion of training on task $\mathcal { T } _ { 0 }$ (top) and $\mathcal { T } _ { 1 9 }$ (bottom) for Split CIFAR-100 dataset on ResNet-18 architecture. We use Simsiam for UCL methods.
|
| 164 |
+
|
| 165 |
+
# 6 DISCUSSION AND CONCLUSION
|
| 166 |
+
|
| 167 |
+
This work attempts to bridge the gap between unsupervised representation learning and continual learning. In particular, we establish the following findings for unsupervised continual learning.
|
| 168 |
+
|
| 169 |
+
Surpassing supervised continual learning. Our empirical evaluation across various CL strategies and datasets shows that UCL representations are more robust to catastrophic forgetting than SCL representations. Furthermore, we notice that UCL generalizes better to OOD tasks and achieves stronger performance on few-shot learning tasks. We propose Lifelong unsupervised mixup (LUMP), which interpolates the unsupervised instances between the current task and past task and obtains higher performance with lower catastrophic forgetting across a wide range of tasks.
|
| 170 |
+
|
| 171 |
+
Dissecting the learned representations. We conduct a systematic analysis to understand the differences between the representations learned by UCL and SCL strategies. By investigating the similarity between the representations, we observe that UCL and SCL strategies have high similarities in the lower layers but are dissimilar in the higher layers. We also show that UCL representations learn coherent and discriminative patterns and smoother loss landscape than SCL.
|
| 172 |
+
|
| 173 |
+
Limitations and future work. In this work, we do not consider the high-resolution tasks for CL. We intend to evaluate the forgetting of the learnt representations on ImageNet (Deng et al., 2009) in future work, since UCL shows lower catastrophic forgetting and representation learning has made significant progress on ImageNet over the past years. In follow-up work, we intend to conduct further analysis to understand the behavior of UCL and develop sophisticated methods to continually learn unsupervised representations under various setups, such as class-incremental or task-agnostic CL.
|
| 174 |
+
|
| 175 |
+
# ACKNOWLEDGEMENTS
|
| 176 |
+
|
| 177 |
+
We thank the anonymous reviewers for their insightful comments and suggestions. This work was supported by Microsoft Research Asia, the Engineering Research Center Program through the National Research Foundation of Korea (NRF) funded by the Korean Government MSIT (NRF2018R1A5A1059921), Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No.2019-0-00075, Artificial Intelligence Graduate School Program (KAIST) and 2021-0-01696). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the funding agencies.
|
| 178 |
+
|
| 179 |
+
# AUTHOR CONTRIBUTIONS
|
| 180 |
+
|
| 181 |
+
Divyam Madaan conceived of the presented idea, developed the experimental framework, carried out OOD evaluation, CKA visualization and took the lead in writing the manuscript. Jaehong Yoon performed the hyperparameter search, carried out the visualization of loss landscape and feature maps and performed the few-shot training analysis. Yuanchun Li, Yunxin Liu, and Sung Ju Hwang supervised the project.
|
| 182 |
+
|
| 183 |
+
# REFERENCES
|
| 184 |
+
|
| 185 |
+
Hongjoon Ahn, Sungmin Cha, Donggyu Lee, and Taesup Moon. Uncertainty-based continual learning with adaptive regularization. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 186 |
+
|
| 187 |
+
Rahaf Aljundi, Min Lin, Baptiste Goujaud, and Yoshua Bengio. Gradient based sample selection for online continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 188 |
+
|
| 189 |
+
Horace Barlow. Possible principles underlying the transformations of sensory messages. 1961.
|
| 190 |
+
|
| 191 |
+
Mariusz Bojarski, Davide Del Testa, Daniel Dworakowski, Bernhard Firner, Beat Flepp, Prasoon Goyal, Lawrence D. Jackel, Mathew Monfort, Urs Muller, Jiakai Zhang, Xin Zhang, Jake Zhao, and Karol Zieba. End to end learning for self-driving cars. arXiv preprint arXiv:1604.07316, 2016.
|
| 192 |
+
|
| 193 |
+
Jane Bromley, Isabelle Guyon, Yann LeCun, Eduard Säckinger, and Roopak Shah. Signature verification using a "siamese" time delay neural network. 1994.
|
| 194 |
+
|
| 195 |
+
Pietro Buzzega, Matteo Boschini, Angelo Porrello, Davide Abati, and Simone Calderara. Dark experience for general continual learning: a strong, simple baseline. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 196 |
+
|
| 197 |
+
Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 198 |
+
|
| 199 |
+
Arslan Chaudhry, Marc’Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. In Proceedings of the International Conference on Learning Representations (ICLR), 2019a.
|
| 200 |
+
|
| 201 |
+
Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K Dokania, Philip HS Torr, and M Ranzato. Continual learning with tiny episodic memories. arXiv preprint arXiv:1902.10486, 2019b.
|
| 202 |
+
|
| 203 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the International Conference on Machine Learning (ICML), 2020a.
|
| 204 |
+
|
| 205 |
+
Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big self-supervised models are strong semi-supervised learners. In Advances in Neural Information Processing Systems (NeurIPS), 2020b.
|
| 206 |
+
|
| 207 |
+
Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2021.
|
| 208 |
+
|
| 209 |
+
Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020c.
|
| 210 |
+
|
| 211 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2009.
|
| 212 |
+
|
| 213 |
+
Carl Doersch, Ankush Gupta, and Andrew Zisserman. Crosstransformers: spatially-aware few-shot transfer. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 214 |
+
|
| 215 |
+
Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the International Conference on Machine Learning (ICML), 2017.
|
| 216 |
+
|
| 217 |
+
Timo Flesch, Jan Balaguer, Ronald Dekker, Hamed Nili, and Christopher Summerfield. Comparing continual task learning in minds and machines. Proceedings of the National Academy of Sciences, 2018.
|
| 218 |
+
|
| 219 |
+
Ian J Goodfellow, Mehdi Mirza, Da Xiao, Aaron Courville, and Yoshua Bengio. An empirical investigation of catastrophic forgetting in gradient-based neural networks. arXiv preprint arXiv:1312.6211, 2013.
|
| 220 |
+
|
| 221 |
+
Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, Bilal Piot, koray kavukcuoglu, Remi Munos, and Michal Valko. Bootstrap your own latent - a new approach to self-supervised learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 222 |
+
|
| 223 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
|
| 224 |
+
|
| 225 |
+
Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
|
| 226 |
+
|
| 227 |
+
Christopher J Kelly, Alan Karthikesalingam, Mustafa Suleyman, Greg Corrado, and Dominic King. Key challenges for delivering clinical impact with artificial intelligence. BMC medicine, 2019.
|
| 228 |
+
|
| 229 |
+
Sungnyun Kim, Gihun Lee, Sangmin Bae, and Se-Young Yun. Mixco: Mix-up contrastive learning for visual representation. arXiv preprint arXiv:2010.06300, 2020.
|
| 230 |
+
|
| 231 |
+
Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In Proceedings of the International Conference on Machine Learning (ICML). PMLR, 2019.
|
| 232 |
+
|
| 233 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. University of Toronto, 05 2012.
|
| 234 |
+
|
| 235 |
+
Abhishek Kumar and Hal Daume III. Learning task grouping and overlap in multi-task learning. In Proceedings of the International Conference on Machine Learning (ICML), 2012.
|
| 236 |
+
|
| 237 |
+
Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998.
|
| 238 |
+
|
| 239 |
+
Kibok Lee, Yian Zhu, Kihyuk Sohn, Chun-Liang Li, Jinwoo Shin, and Honglak Lee. i-mix: A domain-agnostic strategy for contrastive representation learning. In ICLR, 2021.
|
| 240 |
+
|
| 241 |
+
Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In Advances in Neural Information Processing Systems (NeurIPS), 2018.
|
| 242 |
+
|
| 243 |
+
Xilai Li, Yingbo Zhou, Tianfu Wu, Richard Socher, and Caiming Xiong. Learn to grow: A continual structure learning framework for overcoming catastrophic forgetting. In Proceedings of the International Conference on Machine Learning (ICML), 2019.
|
| 244 |
+
|
| 245 |
+
Yuanpeng Li, Liang Zhao, Kenneth Church, and Mohamed Elhoseiny. Compositional language continual learning. In Proceedings of the International Conference on Learning Representations (ICLR), 2020.
|
| 246 |
+
|
| 247 |
+
Zhizhong Li and Derek Hoiem. Learning without forgetting. In Proceedings of the European Conference on Computer Vision (ECCV), 2016.
|
| 248 |
+
|
| 249 |
+
Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation. 1989.
|
| 250 |
+
|
| 251 |
+
Seyed Iman Mirzadeh, Mehrdad Farajtabar, Razvan Pascanu, and Hassan Ghasemzadeh. Understanding the role of training regimes in continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 252 |
+
|
| 253 |
+
Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. 2011.
|
| 254 |
+
|
| 255 |
+
Behnam Neyshabur, Hanie Sedghi, and Chiyuan Zhang. What is being transferred in transfer learning? In Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 256 |
+
|
| 257 |
+
Dushyant Rao, Francesco Visin, Andrei Rusu, Razvan Pascanu, Yee Whye Teh, and Raia Hadsell. Continual unsupervised representation learning. In Advances in Neural Information Processing Systems, 2019.
|
| 258 |
+
|
| 259 |
+
Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. icarl: Incremental classifier and representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 260 |
+
|
| 261 |
+
David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Gregory Wayne. Experience replay for continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 262 |
+
|
| 263 |
+
Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016.
|
| 264 |
+
|
| 265 |
+
Jonathan Schwarz, Jelena Luketina, Wojciech M Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In Proceedings of the International Conference on Machine Learning (ICML), 2018.
|
| 266 |
+
|
| 267 |
+
Zhiqiang Shen, Zechun Liu, Zhuang Liu, Marios Savvides, Trevor Darrell, and Eric Xing. Un-mix: Rethinking image mixtures for unsupervised visual representation learning. In Proceedings of the AAAI National Conference on Artificial Intelligence (AAAI), 2022.
|
| 268 |
+
|
| 269 |
+
James Smith, Cameron Taylor, Seth Baer, and Constantine Dovrolis. Unsupervised progressive learning and the stam architecture. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), 2021.
|
| 270 |
+
|
| 271 |
+
Sebastian Thrun. A Lifelong Learning Perspective for Mobile Robot Control. Elsevier, 1995.
|
| 272 |
+
|
| 273 |
+
Vikas Verma, Thang Luong, Kenji Kawaguchi, Hieu Pham, and Quoc Le. Towards domain-agnostic contrastive learning. In Proceedings of the International Conference on Machine Learning (ICML), 2021.
|
| 274 |
+
|
| 275 |
+
Zhirong Wu, Yuanjun Xiong, Stella X. Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
|
| 276 |
+
|
| 277 |
+
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 278 |
+
|
| 279 |
+
Jaehong Yoon, Eunho Yang, Jeongtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
|
| 280 |
+
|
| 281 |
+
Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In Proceedings of the International Conference on Machine Learning (ICML), 2021.
|
| 282 |
+
|
| 283 |
+
Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In Proceedings of the International Conference on Machine Learning (ICML), 2017.
|
| 284 |
+
|
| 285 |
+
Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In Proceedings of the International Conference on Learning Representations (ICLR), 2018.
|
| 286 |
+
|
| 287 |
+
Linjun Zhang, Zhun Deng, Kenji Kawaguchi, Amirata Ghorbani, and James Zou. How does mixup help with robustness and generalization? In Proceedings of the International Conference on Learning Representations (ICLR), 2021.
|
| 288 |
+
|
| 289 |
+
# A SUPPLEMENTARY MATERIAL
|
| 290 |
+
|
| 291 |
+
Organization. In the supplementary material, we provide the implementation details followed by the hyper-parameter configurations in Appendix A.1. Further, we show the other experiments we conducted and additional visualizations and results in Appendix A.2.
|
| 292 |
+
|
| 293 |
+
# A.1 EXPERIMENTAL DETAILS
|
| 294 |
+
|
| 295 |
+
Implementations. We use the DER (Buzzega et al., 2020) open-source codebase1 for all the experiments. In particular, we reproduce all their experimental results for supervised continual learning and use various models with their set of hyper-parameters as our baselines. We follow the original representations for $\mathrm { S i m } \mathrm { S i a m } ^ { 2 }$ and BarlowTwins3 for unsupervised continual learning. We verify our implementation by reproducing the reported results on CIFAR-10 in the original paper, where we train the representations on the complete CIFAR-10 dataset and evaluate on the test-set using KNN classifier (Wu et al., 2018). In particular, (Wu et al., 2018) stores the features for each instance in the task-level training set in a discrete memory bank. The optimal feature-level embeddings are then learned by instance-level discrimination, which maximally scatters the features of the training samples. Following prior works in representation learning, we use the task-level training set without any augmentation in the task-incremental setup for the supervised and unsupervised KNN evaluation.
|
| 296 |
+
|
| 297 |
+
Hyperparameter configurations. We use the tuned hyper-parameters reported by Buzzega et al. (2020) for all the SCL experiments. On the other hand, we tune the hyper-parameters for continual learning strategies for UCL. We provide the hyper-parameters setup for UCL for different datasets in Table A.5. We train all the UCL methods with a batch size of 256 for 200 epochs, while training the SCL methods with a batch size of 32 for 50 epochs following Buzzega et al. (2020). We observed that training the SCL methods further lead to a degredation in performance for all the methods. We use the same set of augmentations for both SCL and UCL except that we use RandomResizedCrop with scale in [0.2, 1.0] for UCL (Wu et al., 2018; Chen & He, 2021) and RandomCrop for SCL. For rehearsal-based methods, we use the buffer size 200 for Split CIFAR-10, Split CIFAR-100 and 256 for Split Tiny-ImageNet dataset. We use a learning rate of 0.03 for SGD optimizer with weight decay 5e-4 and momentum 0.9.
|
| 298 |
+
|
| 299 |
+
Table A.5: Hyperparameter configurations for all the datasets on ResNet-18 architecture.
|
| 300 |
+
|
| 301 |
+
<table><tr><td>METHOD</td><td>SPLIT CIFAR-10</td><td>SPLIT CIFAR-100</td><td>SEQ.TINY-IMAGENET</td></tr><tr><td>S1</td><td>c : 100 m:1</td><td>c : 0.1 m:1</td><td>c : 0.01 m:1</td></tr><tr><td>PNN</td><td>wd : 64</td><td>wd : 12</td><td>wd : 8</td></tr><tr><td>DER</td><td>α : 0.1</td><td>α : 0.1</td><td>α : 0.01</td></tr><tr><td>LUMP</td><td>入: 0.1</td><td>入: 0.1</td><td>入: 0.4</td></tr></table>
|
| 302 |
+
|
| 303 |
+
# A.2 ADDITIONAL EXPERIMENTS
|
| 304 |
+
|
| 305 |
+
We provide additional loss landscape on Split CIFAR-100 in Figure A.6 and Figure A.7, Figure A.8 show the second and third block feature visualizations on Split CIFAR-100 respectively. Figure A.9 shows the feature visualizations for Split Tiny-ImageNet on ResNet-18 architecture.
|
| 306 |
+
|
| 307 |
+

|
| 308 |
+
Figure A.6: Loss landscape visualization of $\mathcal { T } _ { 0 }$ after the completion of training on task $\mathcal { T } _ { 0 } , \mathcal { T } _ { 1 7 } , \mathcal { T } _ { 1 8 }$ , and $\mathcal { T } _ { 1 9 }$ for Split CIFAR-100 dataset on ResNet-18 architecture. We use Simsiam for UCL methods.
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
Figure A.7: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split CIFAR-100 dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task.
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Figure A.8: Visualization of feature maps for the third block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split CIFAR-100 dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task.
|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
Figure A.9: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split Tiny-ImageNet dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task.
|
parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_content_list.json
ADDED
|
@@ -0,0 +1,1662 @@
|
|
|
|
|
|
|
|
|
|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1∗ Jaehong Yoon2,3 † Yuanchun $\\mathbf { L i } ^ { 5 , 6 }$ Yunxin Liu5,6 Sung Ju Hwang2,4 New York University1 KAIST2 Microsoft Research3 AITRICS4 Institute for AI Industry Research (AIR)5 Tsinghua University6 divyam.madaan@nyu.edu, {jaehong.yoon,sjhwang82}@kaist.ac.kr liyuanchun@air.tsinghua.edu.cn, liuyunxin@air.tsinghua.edu.cn ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
167,
|
| 20 |
+
818,
|
| 21 |
+
241
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
277,
|
| 32 |
+
544,
|
| 33 |
+
292
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Continual learning (CL) aims to learn a sequence of tasks without forgetting the previously acquired knowledge. However, recent CL advances are restricted to supervised continual learning (SCL) scenarios. Consequently, they are not scalable to real-world applications where the data distribution is often biased and unannotated. In this work, we focus on unsupervised continual learning (UCL), where we learn the feature representations on an unlabelled sequence of tasks and show that reliance on annotated data is not necessary for continual learning. We conduct a systematic study analyzing the learned feature representations and show that unsupervised visual representations are surprisingly more robust to catastrophic forgetting, consistently achieve better performance, and generalize better to out-ofdistribution tasks than SCL. Furthermore, we find that UCL achieves a smoother loss landscape through qualitative analysis of the learned representations and learns meaningful feature representations. Additionally, we propose Lifelong Unsupervised Mixup (LUMP), a simple yet effective technique that interpolates between the current task and previous tasks’ instances to alleviate catastrophic forgetting for unsupervised representations. We release our code online. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
309,
|
| 43 |
+
766,
|
| 44 |
+
530
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
556,
|
| 55 |
+
336,
|
| 56 |
+
571
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Recently continual learning (Thrun, 1995) has gained a lot of attention in the deep learning community due to its ability to continually learn on a sequence of non-stationary tasks (Kumar & Daume III, 2012; Li & Hoiem, 2016) and close proximity to the human learning process (Flesch et al., 2018). However, the inability of the learner to prevent forgetting of the knowledge learnt from the previous tasks has been a long-standing problem (McCloskey & Cohen, 1989; Goodfellow et al., 2013). To address this problem, a large body of methods (Rusu et al., 2016; Zenke et al., 2017; Yoon et al., 2018; Li et al., 2019; Aljundi et al., 2019; Buzzega et al., 2020) have been proposed; however, all these methods focus on the supervised learning paradigm, but obtaining high-quality labels is expensive and often impractical in real-world scenarios. In contrast, CL for unsupervised representation learning has received limited attention in the community. Although Rao et al. (2019) instantiated a continual unsupervised representation learning framework (CURL), it is not scalable for high-resolution tasks, as it is composed of MLP encoders/decoders and a simple MoG generative replay. This is evident in their limited empirical evaluation using digit-based gray-scale datasets. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
173,
|
| 65 |
+
588,
|
| 66 |
+
825,
|
| 67 |
+
767
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Meanwhile, a set of directions have shown huge potential to tackle the representation learning problem without labels (He et al., 2020; Chen et al., 2020a; Grill et al., 2020; Chen et al., 2020b; Chen & He, 2021; Zbontar et al., 2021) by aligning contrastive pairs of training instances or maximizing the similarity between two augmented views of each image. However, a common assumption for existing methods is the availability of a large amount of unbiased and unlabelled datasets to learn the feature representations. We argue that this assumption is not realistic for most of the real-time applications, including self-driving cars (Bojarski et al., 2016), medical applications (Kelly et al., 2019) and conversational agents (Li et al., 2020). The collected datasets are often limited in size during the initial training phase (Finn et al., 2017), and datasets/tasks change continuously with time. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
775,
|
| 77 |
+
825,
|
| 78 |
+
900
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/b5965a3ad31159cd64ec531fe9195a659aa834a208272019739bfb0a7aa74ef6.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: Illustration of supervised and unsupervised continual learning. The objective of SCL is to learn the ability to classify labeled images in the current task while preserving the past tasks’ knowledge, where the tasks are non-iid to each other. On the other hand, UCL aims to learn the representation of images without the presence of labels and the model learns general-purpose representations during sequential training. "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
186,
|
| 91 |
+
75,
|
| 92 |
+
813,
|
| 93 |
+
181
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "To accommodate such continuous shifts in data distributions, representation learning models need to increment the knowledge without losing the representations learned in the past. With this motivation, we attempt to bridge the gap between unsupervised representation learning and continual learning to address the challenge of learning the representations on a sequence of tasks. Specifically, we focus on unsupervised continual learning (UCL), where the goal of the continual learner is to learn the representations from a stream of unlabelled data instances without forgetting (see Figure 1). To this end, we extend various existing SCL strategies to the unsupervised continual learning framework and analyze the performance of current state-of-the-art representation learning techniques: SimSiam (Chen & He, 2021) and BarlowTwins (Zbontar et al., 2021) for UCL. Surprisingly, we observe that the unsupervised representations are comparatively more robust to catastrophic forgetting across all datasets and simply finetuning on the sequence of tasks can outperform various state-of-the-art continual learning alternatives. Furthermore, we show that UCL generalize better to various out of distribution tasks and outperforms SCL for few-shot training scenarios (Section 5.2). ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
247,
|
| 103 |
+
825,
|
| 104 |
+
428
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "We demystify the robustness of unsupervised representations by investigating the feature similarity, measured by centered kernel alignment (CKA) (Kornblith et al., 2019) between two independent UCL and SCL models and between UCL and SCL models. We notice that two unsupervised model representations have a relatively high feature similarity compared to two supervised representations. Furthermore, in all cases, two models have high similarity in lower layers indicating that they learn similar low-level features. Further, we measure the $\\ell _ { 2 }$ distance between model parameters (Neyshabur et al., 2020) and visually compare the feature representations learned by different SCL and UCL strategies. We observe that UCL obtains human perceptual feature patterns for previous tasks, demonstrating their effectiveness to alleviate catastrophic forgetting (Section 5.3). We conjecture that this is due to their characteristic ability to learn general-purpose features (Doersch et al., 2020), which makes them transfer better and comparatively more robust to catastrophic forgetting. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
434,
|
| 114 |
+
825,
|
| 115 |
+
587
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "To gain further insights, we visualize the loss landscape (Li et al., 2018) of the UCL and SCL models and observe that UCL obtains a flatter and smoother loss landscape than SCL. Additionally, we propose a simple yet effective technique coined Lifelong Unsupervised Mixup (LUMP), which utilizes mixup (Zhang et al., 2018) for unlabelled training instances. In particular, LUMP interpolates between the current task examples and examples from previous instances to minimize catastrophic forgetting. We emphasize that LUMP is easy to implement, does not require additional hyperparameters, and simply trains on the interpolated instances. To this end, LUMP requires little, or no modification to existing rehearsal-based methods effectively minimizes catastrophic forgetting even with uniformly selecting the examples from replay buffer. We show that LUMP with UCL outperforms the state-ofthe-art supervised continual learning methods across multiple experimental settings with significantly lower catastrophic forgetting. In summary, our contributions are as follows: ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
593,
|
| 125 |
+
826,
|
| 126 |
+
747
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "• We attempt to bridge the gap between continual learning and representation learning and tackle the two crucial problems of continual learning with unlabelled data and representation learning on a sequence of tasks. • Systematic quantitative analysis shows that UCL achieves better performance over SCL with significantly lower catastrophic forgetting on Sequential CIFAR-10, CIFAR-100, and Tiny-ImageNet. Additionally, we evaluate out-of-distribution tasks and few-shot training demonstrating the expressive power of unsupervised representations. • We provide visualization of the representations and loss landscapes, which show that UCL learns discriminative, human perceptual patterns and achieves a flatter and smoother loss landscape. Furthermore, we propose Lifelong Unsupervised Mixup (LUMP) for UCL, which effectively alleviates catastrophic forgetting and provides better qualitative interpretations. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
217,
|
| 135 |
+
761,
|
| 136 |
+
825,
|
| 137 |
+
924
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
102,
|
| 148 |
+
339,
|
| 149 |
+
117
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 2
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Continual learning. We can partition the existing continual learning methods into three categories. The regularization approaches (Li & Hoiem, 2016; Zenke et al., 2017; Schwarz et al., 2018; Ahn et al., 2019) impose a regularization constraint to the objective that mitigates catastrophic forgetting. The architectural approaches (Rusu et al., 2016; Yoon et al., 2018; Li et al., 2019) avoid this problem by including task-specific parameters and allowing the expansion of the network during continual learning. The rehearsal approaches (Rebuffi et al., 2017; Rolnick et al., 2019; Aljundi et al., 2019) allocate a small memory buffer to store and replay the examples from the previous task. However, all these methods are confined to supervised learning, which limits their application in real-life problems. Rao et al. (2019); Smith et al. (2021) tackled the problem of continual unsupervised representation learning; however, their methods are restricted to simple low-resolution tasks and not scalable to large-scale continual learning datasets. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
133,
|
| 159 |
+
825,
|
| 160 |
+
286
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 2
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Representational learning. A large number of works have addressed the unsupervised learning problem in the standard machine learning framework. Specifically, contrastive learning frameworks (He et al., 2020; Chen et al., 2020a; Grill et al., 2020; Chen et al., 2020b;c) that learn the representations by measuring the similarities of positive and negative pairs have gained a lot of attention in the community. However, all these methods require large batches and negative sample pairs, which restrict the scalability of these networks. Chen & He (2021) tackled these limitations and proposed SimSiam, that use standard Siamese networks (Bromley et al., 1994) with the stop-gradient operation to prevent the collapsing of Siamese networks to a constant. Recently, Zbontar et al. (2021) formulated an objective that pushes the cross-correlation matrix between the embeddings of distorted versions of a sample closer to the identity matrix. However, all these methods assume the presence of large datasets for pre-training, which is impractical in real-world applications. In contrast, we tackle the problem of incremental representational learning and learn the representations sequentially while maximizing task adaptation and minimizing catastrophic forgetting. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
292,
|
| 170 |
+
826,
|
| 171 |
+
474
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "3 PRELIMINARIES ",
|
| 178 |
+
"text_level": 1,
|
| 179 |
+
"bbox": [
|
| 180 |
+
176,
|
| 181 |
+
496,
|
| 182 |
+
339,
|
| 183 |
+
511
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "3.1 PROBLEM SETUP ",
|
| 190 |
+
"text_level": 1,
|
| 191 |
+
"bbox": [
|
| 192 |
+
176,
|
| 193 |
+
527,
|
| 194 |
+
333,
|
| 195 |
+
541
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "We consider the continual learning setting, where we learn on a continuum of data consisting of $T$ $\\mathcal { T } _ { 1 : T } = ( \\mathcal { T } _ { 1 } \\dots \\mathcal { T } _ { T } )$ In superonding , where taskwithdistri nsists a task descriptorexamples. Each input-ion. Let us consider a $\\tau \\in \\{ 1 \\ldots T \\}$ $\\mathcal { D } _ { \\tau } = \\{ ( { \\boldsymbol { x } } _ { i , \\tau } , y _ { i , \\tau } ) _ { i = 1 } ^ { n _ { \\tau } } \\}$ $n _ { \\tau }$ $( { \\bf x } _ { i , \\tau } , \\bar { y _ { i , \\tau } } ) \\in \\mathcal { X } _ { \\tau } \\times \\mathcal { Y } _ { \\tau }$ $( \\mathcal { X } _ { \\tau } , \\mathcal { Y } _ { \\tau } )$ network $f _ { \\Theta } : \\mathcal { X } _ { \\tau } \\to \\mathbb { R } ^ { D }$ parametrized by $\\mathbf { \\Theta } \\Theta = \\{ \\pmb { w } _ { l } \\} _ { l = 1 } ^ { l = L }$ , where $\\mathbb { R } ^ { D }$ and $L$ denote $D$ -dimensional embedding space and number of layers respectively. The classifier is denoted by $h _ { \\psi } : \\mathbb { R } ^ { D } \\mathcal { V } _ { \\tau }$ . The network error using cross entropy loss (CE) for SCL with finetuning can be formally defined as: ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
173,
|
| 204 |
+
554,
|
| 205 |
+
826,
|
| 206 |
+
655
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "equation",
|
| 212 |
+
"img_path": "images/fabd1e0d3449e0127af1eeb333e509257da899fbb26d781ad1e5ae7b97d2267c.jpg",
|
| 213 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { S C L } } ^ { \\mathrm { F I N E T U N E } } = \\mathrm { C E } \\left( h _ { \\psi } \\left( f _ { \\Theta } \\left( \\pmb { x } _ { i , \\tau } \\right) , \\tau \\right) , y _ { i , \\tau } \\right) .\n$$",
|
| 214 |
+
"text_format": "latex",
|
| 215 |
+
"bbox": [
|
| 216 |
+
357,
|
| 217 |
+
662,
|
| 218 |
+
640,
|
| 219 |
+
681
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "In this work, we assume the absence of label supervision during training and focus on unsupervised continual learning. In particular, each task consists of $\\mathcal { U } _ { \\tau } \\bar { = } \\{ ( { \\pmb x } _ { i , \\tau } ) _ { i = 1 } ^ { n _ { \\tau } } \\}$ , $\\mathbf { \\boldsymbol { x } } _ { i , \\tau } ~ \\in ~ \\mathcal { X } _ { \\tau }$ with $n _ { \\tau }$ examples. Our aim is to learn the representations $f _ { \\Theta } : \\mathcal { X } _ { \\tau } \\to \\mathbb { R } ^ { D }$ on a sequence of tasks while preserving the knowledge of the previous tasks. We introduce the representation learning framework and propose LUMP in Section 4 to learn unsupervised representations while effectively mitigating catastrophic forgetting. ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
695,
|
| 229 |
+
825,
|
| 230 |
+
782
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "3.2 LEARNING PROTOCOL AND EVALUATION METRICS ",
|
| 237 |
+
"text_level": 1,
|
| 238 |
+
"bbox": [
|
| 239 |
+
174,
|
| 240 |
+
799,
|
| 241 |
+
568,
|
| 242 |
+
814
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Currently, the traditional continual learning strategies follow the standard training protocol, where we learn the network representations $f _ { \\Theta } : \\mathcal { X } _ { \\tau } \\to \\mathcal { Y } _ { \\tau }$ on a sequence of tasks. In contrast, our goal is to learn the feature representations $f _ { \\Theta } : \\mathcal { X } _ { \\tau } \\to \\mathbb { R } ^ { D }$ , so we follow a two-step learning protocol to obtain the model predictions. First, we pre-train the representations on a sequence of tasks $T _ { 1 : T } = ( \\tau _ { \\cdot \\cdot \\cdot } \\mathcal { T } _ { T } )$ to obtain the representations. Next, we evaluate the quality of our pre-trained representations using a $\\mathbf { K }$ -nearest neighbor (KNN) classifier (Wu et al., 2018) following the setup in Chen et al. (2020a); Chen & He (2021); Zbontar et al. (2021). ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
173,
|
| 251 |
+
825,
|
| 252 |
+
825,
|
| 253 |
+
924
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "To validate knowledge transfer of the learned representations, we adopt the metrics from the SCL literature (Chaudhry et al., 2019b; Mirzadeh et al., 2020). Let $\\boldsymbol { a } _ { \\tau , i }$ denote the test accuracy of task $i$ after learning task $\\mathcal { T } _ { \\tau }$ using a KNN on frozen pre-trained representations on task $\\mathcal { T } _ { \\tau }$ . More formally, we can define the metrics to evaluate the continually learned representations as follow: ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
173,
|
| 262 |
+
103,
|
| 263 |
+
825,
|
| 264 |
+
160
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 3
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "1. Average accuracy is the average test accuracy of all the tasks completed until the continual learning of task τ : Aτ = 1τ Pτi=1 aτ,i 2. Average Forgetting is the average performance decrease of each task between its maximum accuracy and accuracy at the completion of training: $\\begin{array} { r } { F = \\frac { 1 } { T - 1 } \\sum _ { i = 1 } ^ { T - 1 } \\operatorname* { m a x } _ { \\tau \\in \\{ 1 , \\dots , T \\} } \\left( a _ { \\tau , i } - a _ { T , i } \\right) } \\end{array}$ ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
173,
|
| 273 |
+
171,
|
| 274 |
+
826,
|
| 275 |
+
238
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "4 UNSUPERVISED CONTINUAL LEARNING ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
256,
|
| 286 |
+
539,
|
| 287 |
+
272
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "4.1 CONTINUOUS REPRESENTATION LEARNING WITH SEQUENTIAL TASKS ",
|
| 294 |
+
"text_level": 1,
|
| 295 |
+
"bbox": [
|
| 296 |
+
174,
|
| 297 |
+
289,
|
| 298 |
+
696,
|
| 299 |
+
303
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 3
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "To learn feature representations, contrastive learning (Chen et al., 2020a;b; He et al., 2020) maximizes the similarity of representations between the images of the same views (positive pairs) and minimizes the similarity between images of different views (negative pairs). However, these methods require large batches, negative sample pairs (Chen et al., 2020a;b), or architectural modifications (He et al., 2020; Chen et al., 2020c), or non-differentiable operators (Caron et al., 2020), which makes their application difficult for continual learning scenarios. In this work, we focus on SimSiam (Chen & He, 2021) and BarlowTwins (Zbontar et al., 2021), which tackle these limitations and achieve state-of-the-art performance on standard representation learning benchmarks. ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
173,
|
| 308 |
+
313,
|
| 309 |
+
825,
|
| 310 |
+
426
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "SimSiam (Chen & He, 2021) uses a variant of Siamese networks (Bromley et al., 1994) for learning input data representations. It consists of an encoder network $f _ { \\Theta }$ , which is composed of a backbone network, and is shared across a projection MLP and prediction MLP head $h ( \\cdot )$ . Specifically, SimSiam minimizes the cosine-similarity between the output vectors of the projector and the predictor MLP across two different augmentations for an image. Initially, we consider FINETUNE, which is a a naive CL baseline that minimizes the cosine-similarity between the projector output $( z _ { i , \\tau } ^ { 1 } = f _ { \\Theta } ( x _ { i , \\tau } ^ { 1 } ) )$ and the predictor output $( p _ { i , \\tau } ^ { 2 } = h ( f _ { \\Theta } ( x _ { i , \\tau } ^ { 2 } ) )$ on a sequence of tasks as follows: ",
|
| 317 |
+
"bbox": [
|
| 318 |
+
173,
|
| 319 |
+
431,
|
| 320 |
+
826,
|
| 321 |
+
535
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "equation",
|
| 327 |
+
"img_path": "images/4672cdddefec03800b8f0e0ce4166a6f589f17b6ccb864eac30429c8915cc150.jpg",
|
| 328 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { U C L } } ^ { \\mathrm { F I N E T U N E } } = \\displaystyle \\frac { 1 } { 2 } D ( p _ { i , \\tau } ^ { 1 } , \\mathrm { s t o p g r a d } ( z _ { i , \\tau } ^ { 2 } ) ) + \\frac { 1 } { 2 } D ( p _ { i , \\tau } ^ { 2 } , \\mathrm { s t o p g r a d } ( z _ { i , \\tau } ^ { 1 } ) ) , } \\\\ { \\mathrm { w h e r e } D ( p _ { i , \\tau } ^ { 1 } , z _ { i , \\tau } ^ { 2 } ) = - \\frac { p _ { i , \\tau } ^ { 1 } } { \\| p _ { i , \\tau } ^ { 2 } \\| _ { 2 } } \\cdot \\frac { z _ { i , \\tau } ^ { 2 } } { \\| z _ { i , \\tau } ^ { 2 } \\| _ { 2 } } , } \\end{array}\n$$",
|
| 329 |
+
"text_format": "latex",
|
| 330 |
+
"bbox": [
|
| 331 |
+
254,
|
| 332 |
+
541,
|
| 333 |
+
738,
|
| 334 |
+
612
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 3
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "text",
|
| 340 |
+
"text": "$x _ { i , \\tau } ^ { 1 }$ nd -n $x _ { i , \\tau } ^ { 2 }$ are two randomly augmented views of an input example Note that, the stopgrad is a crucial component in Si $x _ { i , \\tau } \\in \\mathcal { T } _ { \\tau }$ and preve $\\lVert \\cdot \\rVert _ { 2 }$ denotese trivial $\\ell _ { 2 }$ solutions obtained by Siamese networks. Due to its simplicity and effectiveness, we chose Simsiam to analyze the performance of unsupervised representations for continual learning. ",
|
| 341 |
+
"bbox": [
|
| 342 |
+
173,
|
| 343 |
+
625,
|
| 344 |
+
825,
|
| 345 |
+
683
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "BarlowTwins (Zbontar et al., 2021) minimizes the redundancy between the embedding vector components of the distorted versions of an instance while conserving the maximum information inspired from Barlow (1961). In particular, the objective function eliminates the SimSiam stopgrad component and instead makes the cross-correlation matrix computed between the outputs of two identical networks closer to the identity matrix. Let $\\mathcal { C }$ be the cross-correlation matrix between the outputs of two Siamese branches along the batch dimension and $Z _ { 1 }$ and $Z _ { 2 }$ denote the batch embeddings of the distorted views for all images of a batch from the current task $( x _ { \\tau } \\in \\mathcal { U } _ { \\tau }$ ). The objective function for UCL with finetuning and BarlowTwins can then be defined as: ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
173,
|
| 354 |
+
688,
|
| 355 |
+
826,
|
| 356 |
+
801
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "equation",
|
| 362 |
+
"img_path": "images/9a31e8caafdcb8d5a288a1474ba72cffcb80ca7026a9764f66d9b2fda6c02e67.jpg",
|
| 363 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { U C L } } ^ { \\mathrm { F I N E T U N E } } = \\sum _ { i } ( 1 - \\mathcal { C } _ { i i } ) ^ { 2 } + \\ \\lambda \\cdot \\sum _ { i } \\sum _ { j \\neq i } \\mathcal { C } _ { i j } ^ { 2 } , \\mathrm { w h e r e } \\ \\mathcal { C } _ { i j } = \\frac { \\sum _ { B } z _ { B , i } ^ { 1 } z _ { B , j } ^ { 2 } } { \\sqrt { \\sum _ { B } { ( z _ { B , i } ^ { 1 } ) } ^ { 2 } } \\sqrt { \\sum _ { B } { ( z _ { B , j } ^ { 2 } ) } ^ { 2 } } } .\n$$",
|
| 364 |
+
"text_format": "latex",
|
| 365 |
+
"bbox": [
|
| 366 |
+
184,
|
| 367 |
+
806,
|
| 368 |
+
792,
|
| 369 |
+
854
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "text",
|
| 375 |
+
"text": "$\\lambda$ is a positive constant trading off the importance of the invariance and redundancy reduction terms of the loss, $i$ and $j$ denote the network’s output vector dimensions. Similar to SimSiam, BarlowTwins is simple, easy to implement, and can be applied to existing continual learning strategies with little or no modification. ",
|
| 376 |
+
"bbox": [
|
| 377 |
+
174,
|
| 378 |
+
867,
|
| 379 |
+
825,
|
| 380 |
+
924
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "Learning feature representations from labelled instances on a sequence of tasks has been long studied in continual learning. However, the majority of these learning strategies are not directly applicable to UCL. To compare with the regularization-based strategies, we extend Synaptic Intelligence (SI) (Zenke et al., 2017) to UCL and consider the online per-synapse consolidation during the entire training trajectory of the unsupervised representations. For architectural-based strategies, we investigate Progressive Neural Networks (PNN) (Rusu et al., 2016) and learn the feature representations progressively using the representations learning frameworks proposed in Section 4.1. ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
173,
|
| 389 |
+
128,
|
| 390 |
+
825,
|
| 391 |
+
228
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 4
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "We also formulate Dark Experience Replay (DER) (Buzzega et al., 2020) for UCL. DER for SCL alleviates catastrophic forgetting by matching the network logits across a sequence of tasks during the optimization trajectory. Notably, the loss for SCL-DER can be defined as follow: ",
|
| 398 |
+
"bbox": [
|
| 399 |
+
173,
|
| 400 |
+
233,
|
| 401 |
+
825,
|
| 402 |
+
276
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 4
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "equation",
|
| 408 |
+
"img_path": "images/a3e24618f51d26f742545a9d0b23849eb513a16952b68a40a92aaa51dff6092d.jpg",
|
| 409 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { S C L } } ^ { \\mathrm { D E R } } = \\mathcal { L } _ { \\mathrm { S C L } } ^ { \\mathrm { F I N E T U N E } } + ~ \\alpha \\cdot \\mathbb { E } _ { ( \\boldsymbol { x } , \\boldsymbol { p } ) \\sim \\mathcal { M } } \\big [ \\| \\mathrm { s o f t m a x } ( \\boldsymbol { p } ) - \\mathrm { s o f t m a x } ( h _ { \\psi } ( \\boldsymbol { x } _ { i , \\tau } ) ) \\| _ { 2 } ^ { 2 } \\big ] ,\n$$",
|
| 410 |
+
"text_format": "latex",
|
| 411 |
+
"bbox": [
|
| 412 |
+
245,
|
| 413 |
+
280,
|
| 414 |
+
750,
|
| 415 |
+
300
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "where p = hψτ (x), LFINETSCL $\\mathcal { L } _ { \\mathrm { S C L } } ^ { \\mathrm { F I N E T U N E } }$ denotes the cross-entropy loss on the current task (see Equation (1)) and random examples are selected using reservoir sampling from the replay-buffer $\\mathcal { M }$ . Since, we do not have access to the labels for UCL, we cannot minimize the aforementioned objective. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
173,
|
| 424 |
+
304,
|
| 425 |
+
825,
|
| 426 |
+
348
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Instead, we utilize the output of the projected output by the backbone network to preserve the knowledge of the past tasks over the entire training trajectory. In particular, DER for UCL consists of a combination of two terms. The first term learns the representations using SimSiam from Equation (2) or BarlowTwins from Equation (3) and the second term minimizes the Euclidean distance between the projected outputs to minimize catastrophic forgetting. More formally, UCL-DER minimizes the following loss: ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
353,
|
| 436 |
+
825,
|
| 437 |
+
438
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"img_path": "images/ebf045e3c6d6cbf7df52bb95dff49a5c74f519bc7cc4eed3bbe678587ad75797.jpg",
|
| 444 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { U C L } } ^ { \\mathrm { D E R } } = \\mathcal { L } _ { \\mathrm { U C L } } ^ { \\mathrm { F I N E T U N E } } + \\ \\alpha \\cdot \\mathbb { E } _ { ( x ) \\sim \\mathcal { M } } \\big [ \\| f _ { \\Theta _ { \\tau } } ( x ) - f _ { \\Theta } ( x _ { i , \\tau } ) \\| _ { 2 } ^ { 2 } \\big ]\n$$",
|
| 445 |
+
"text_format": "latex",
|
| 446 |
+
"bbox": [
|
| 447 |
+
302,
|
| 448 |
+
440,
|
| 449 |
+
694,
|
| 450 |
+
462
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "However, the performance of the rehearsal-based methods is sensitive to the choice of $\\alpha$ and often requires supervised training setup, task identities, and boundaries. To tackle this issue, we propose Lifelong Unsupervised Mixup in the subsequent subsection, which interpolates between the current and past task instances to mitigate catastrophic forgetting effectively. ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
173,
|
| 459 |
+
472,
|
| 460 |
+
825,
|
| 461 |
+
529
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "4.3 LIFELONG UNSUPERVISED MIXUP",
|
| 468 |
+
"text_level": 1,
|
| 469 |
+
"bbox": [
|
| 470 |
+
176,
|
| 471 |
+
544,
|
| 472 |
+
446,
|
| 473 |
+
558
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "The standard Mixup (Zhang et al., 2018) training constructs virtual training examples based on the principle of Vicinal Risk Minimization . In particular, let $( x _ { i } , y _ { i } )$ and $( x _ { j } , y _ { j } )$ denote two random feature-target pairs sampled from the training data distribution and let $( \\tilde { x } , \\tilde { y } )$ denote the interpolated feature-target pair in the vicinity of these examples; mixup then minimizes the following objective: ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
174,
|
| 482 |
+
569,
|
| 483 |
+
825,
|
| 484 |
+
626
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "equation",
|
| 490 |
+
"img_path": "images/c6b620b09d7a8eb72d9c20c6cb8b6d7551f3efb0f3e8264a2d29e6b67749649e.jpg",
|
| 491 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathcal { L } ^ { \\mathrm { M x U P } } ( \\tilde { x } , \\tilde { y } ) = \\mathrm { C E } \\left( h _ { \\psi } \\left( f _ { \\Theta } \\left( \\tilde { x } \\right) \\right) , \\tilde { y } \\right) , } \\\\ & { \\quad \\quad \\mathrm { w h e r e } \\tilde { x } = \\lambda \\cdot x _ { i } + \\left( 1 - \\lambda \\right) \\cdot x _ { j } \\mathrm { a n d } \\tilde { y } = \\lambda \\cdot y _ { i } + \\left( 1 - \\lambda \\right) \\cdot y _ { j } . } \\end{array}\n$$",
|
| 492 |
+
"text_format": "latex",
|
| 493 |
+
"bbox": [
|
| 494 |
+
271,
|
| 495 |
+
630,
|
| 496 |
+
723,
|
| 497 |
+
667
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "$\\lambda \\sim \\operatorname { B e t a } ( \\alpha , \\alpha )$ , for $\\alpha \\in ( 0 , \\infty )$ . In this work, we focus on lifelong self-supervised learning and propose Lifelong Unsupervised Mixup (LUMP) that utilizes mixup for UCL by incorporating the instances stored in the replay-buffer from the previous tasks into the vicinal distribution. In particular, LUMP interpolates between the examples of the current task $( x _ { i , \\tau } ) \\in \\mathcal { U } _ { \\tau }$ and random examples selected using uniform sampling from the replay buffer, which encourages the model to behave linearly across a sequence of tasks. More formally, LUMP minimizes the objective in Equation (2) and Equation (3) on the following interpolated instances $\\tilde { x } _ { i , \\tau }$ for the current task $\\tau$ : ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
173,
|
| 506 |
+
676,
|
| 507 |
+
825,
|
| 508 |
+
775
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 4
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "equation",
|
| 514 |
+
"img_path": "images/86930e96d5faa951e6075f5b8db24e758afc3c15852af48ce8092312fae7842a.jpg",
|
| 515 |
+
"text": "$$\n\\boldsymbol { \\tilde { x } } _ { i , \\tau } = \\lambda \\cdot \\boldsymbol { x } _ { i , \\tau } + ( 1 - \\lambda ) \\cdot \\boldsymbol { x } _ { j , \\boldsymbol { M } } ,\n$$",
|
| 516 |
+
"text_format": "latex",
|
| 517 |
+
"bbox": [
|
| 518 |
+
388,
|
| 519 |
+
779,
|
| 520 |
+
607,
|
| 521 |
+
795
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 4
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "where $x _ { j , \\mathcal { M } } \\sim \\mathcal { M }$ denotes the example selected using uniform sampling from replay buffer $\\mathcal { M }$ . The interpolated examples not only augments the past tasks’ instances in the replay buffer but also approximates a regularized loss minimization (Zhang et al., 2021). During UCL, LUMP enhances the robustness of learned representation by revisiting the attributes of the past task that are similar to the current task. Recently, Kim et al. (2020); Lee et al. (2021); Verma et al. (2021); Shen et al. (2022) also employed mixup for contrastive learning. Our work is different from these existing works in that our objective is different, and we focus on unsupervised continual learning. To this end, LUMP successively mitigates catastrophic forgetting and learns discriminative & human-perceptual features over the current state-of-the-art SCL strategies (see Table 1 and Figure 4). ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
797,
|
| 531 |
+
826,
|
| 532 |
+
924
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 4
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "5 EXPERIMENTS ",
|
| 539 |
+
"text_level": 1,
|
| 540 |
+
"bbox": [
|
| 541 |
+
176,
|
| 542 |
+
102,
|
| 543 |
+
326,
|
| 544 |
+
118
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 5
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "5.1 EXPERIMENTAL SETUP ",
|
| 551 |
+
"text_level": 1,
|
| 552 |
+
"bbox": [
|
| 553 |
+
176,
|
| 554 |
+
133,
|
| 555 |
+
374,
|
| 556 |
+
147
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 5
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "Baselines. We compare with multiple supervised and unsupervised continual learning baselines across different categories of continual learning methods. ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
159,
|
| 566 |
+
823,
|
| 567 |
+
186
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "1. Supervised continual learning. FINETUNE is a vanilla supervised learning method trained on a sequence of tasks without regularization or episodic memory and MULTITASK optimizes the model on complete data. For regularization-based CL methods, we compare against SI (Zenke et al., 2017) and AGEM (Chaudhry et al., 2019a). We include PNN (Rusu et al., 2016) for architecture-based methods. Lastly, we consider GSS (Aljundi et al., 2019) that populates the replay-buffer using solid-angle minimization and DER (Buzzega et al., 2020) matches the network logits sampled through the optimization trajectory for rehearsal during continual learning. ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
198,
|
| 577 |
+
825,
|
| 578 |
+
296
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "2. Unsupervised continual learning. We consider the unsupervised variants of various SCL baselines to show the utility of the unsupervised representations for sequential learning. Specifically, we use SIMSIAM (Chen & He, 2021) and BARLOWTWINS (Zbontar et al., 2021), which are the state-of-the-art representational learning techniques for learning the unsupervised continual representations. We compare with FINETUNE and MULTITASK following the supervised learning baselines, and SI (Zenke et al., 2017), PNN (Rusu et al., 2016) for unsupervised regularization and architecture CL methods respectively. For rehearsal-based method, we compare with the UCL variant of DER (Buzzega et al., 2020) described in Section 4.2 ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
299,
|
| 588 |
+
825,
|
| 589 |
+
410
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 5
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "Datasets. We compare the performance of SCL and UCL on various continual learning benchmarks using single-head ResNet-18 (He et al., 2016) architecture. Split CIFAR-10 (Krizhevsky, 2012) consists of two random classes out of the ten classes for each task. Split CIFAR-100 (Krizhevsky, 2012) consists of five random classes out of the 100 classes for each task. Split Tiny-ImageNet is a variant of the ImageNet dataset (Deng et al., 2009) containing five random classes out of the 100 classes for each task with the images sized $6 4 \\times 6 4$ pixels. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
421,
|
| 599 |
+
825,
|
| 600 |
+
506
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "Training and evaluation setup. We follow the hyperparameter setup of Buzzega et al. (2020) for all the SCL strategies and tune them for the UCL representation learning strategies. All the learned representations are evaluated with KNN classifier (Wu et al., 2018) across three independent runs. Further, we use the hyper-parameters obtained by SimSiam for training UCL strategies with BarlowTwins to analyze the sensitivity of UCL to hyper-parameters and for a fair comparison between different methods. We train all the UCL methods for 200 epochs and evaluate with the KNN classifier (Wu et al., 2018). We provide the hyper-parameters in detail in Table A.5. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
512,
|
| 610 |
+
825,
|
| 611 |
+
609
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "5.2 QUANTITATIVE RESULTS ",
|
| 618 |
+
"text_level": 1,
|
| 619 |
+
"bbox": [
|
| 620 |
+
174,
|
| 621 |
+
627,
|
| 622 |
+
385,
|
| 623 |
+
641
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 5
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "Evaluation on SimSiam. Table 1 shows the evaluation results for supervised and unsupervised representations learnt by SimSiam (Chen & He, 2021) across various continual learning strategies. In all cases, continual learning with unsupervised representations achieves significantly better performance than supervised representations with substantially lower forgetting. For instance, SI with UCL obtains better performance and $6 8 \\%$ , $5 4 \\%$ , and $4 4 \\%$ lower forgetting relative to the best-performing SCL strategy on Split CIFAR-10, Split CIFAR-100, and Split Tiny-ImageNet, respectively. Surprisingly, FINETUNE with UCL achieves higher performance and significantly lower forgetting in comparison to all SCL strategies except DER. Furthermore, LUMP improves upon the UCL strategies: $2 . 8 \\%$ and $5 . 9 \\%$ relative increase in accuracy and $1 5 \\%$ and $5 7 . 1 \\%$ relative decrease in forgetting on Split CIFAR-100 and Split Tiny-ImageNet, respectively. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
173,
|
| 632 |
+
652,
|
| 633 |
+
825,
|
| 634 |
+
791
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "Evaluation on BarlowTwins. To verify that unsupervised representations are indeed more robust to catastrophic forgetting, we train BarlowTwins (Zbontar et al., 2021) on a sequence of tasks. We notice that the representations learned with BarlowTwins substantially improve the accuracy and forgetting over SCL: $7 1 . 4 \\%$ , $6 9 . 7 \\%$ and $7 3 . 2 \\%$ decrease in forgetting with FINETUNE on Split CIFAR-10, Split CIFAR-100 and Split Tiny-ImageNet respectively. Similarly, we observe that SI, and DER are more robust to catastrophic forgetting; however, PNN underperforms on complicated tasks since feature accumulation using adaptor modules is insufficient to construct useful representations for current task adaptation. Interestingly, representations learnt with BarlowTwins achieve lower forgetting for FINETUNE, DER and LUMP than SimSiam with comparable accuracy across all the datasets. ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
799,
|
| 644 |
+
825,
|
| 645 |
+
924
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "table",
|
| 651 |
+
"img_path": "images/404b290d782b25d10227baaefec667204c6d0999f3d801114b15919ba7db1a3d.jpg",
|
| 652 |
+
"table_caption": [
|
| 653 |
+
"Table 1: Accuracy and forgetting of the learnt representations on Split CIFAR-10, Split CIFAR-100 and Split Tiny-ImageNet on Resnet-18 architecture with KNN classifier (Wu et al., 2018). All the values are measured by computing mean and standard deviation across three trials. The best and second-best results are highlighted in bold and underline respectively. "
|
| 654 |
+
],
|
| 655 |
+
"table_footnote": [],
|
| 656 |
+
"table_body": "<table><tr><td>METHOD</td><td colspan=\"2\">SPLIT CIFAR-10</td><td colspan=\"2\">SPLIT CIFAR-100</td><td colspan=\"2\">SPLIT TINY-IMAGENET</td></tr><tr><td colspan=\"7\">ACCURACY FORGETTING ACCURACY FORGETTING ACCURACY FORGETTING</td></tr><tr><td colspan=\"7\">SUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>82.87 (± 0.47)</td><td>14.26 (± 0.52)</td><td>61.08 (± 0.04)</td><td>31.23 (± 0.41)</td><td>53.10 (± 1.37)</td><td>33.15 (± 1.22)</td></tr><tr><td>PNN (Rusu et al., 2016)</td><td>82.74 (± 2.12)</td><td></td><td>66.05 (±0.86)</td><td></td><td>64.38 (± 0.92)</td><td></td></tr><tr><td>SI (Zenke et al., 2017)</td><td>85.18 (± 0.65)</td><td>11.39 (± 0.77)</td><td>63.58 (± 0.37)</td><td>27.98 (± 0.34)</td><td>44.96 (± 2.41)</td><td>26.29 (± 1.40)</td></tr><tr><td>A-GEM (Chaudhry et al., 2019a)</td><td>82.41 (± 1.24)</td><td>13.82 (± 1.27)</td><td>59.81 (± 1.07)</td><td>30.08 (± 0.91)</td><td>60.45 (± 0.24)</td><td>24.94 (± 1.24)</td></tr><tr><td>Gss (Aljundi et al.,2019)</td><td>89.49 (± 1.75)</td><td>7.50 (± 1.52)</td><td>70.78 (± 1.67)</td><td>21.28 (± 1.52)</td><td>70.96 (± 0.72)</td><td>14.76 (± 1.22)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>91.35 (± 0.46)</td><td>5.65 (± 0.35)</td><td>79.52 (± 1.88)</td><td>12.80 (± 1.47)</td><td>68.03 (±0.85)</td><td>17.74 (± 0.65)</td></tr><tr><td>MULTITASK</td><td>97.77 (± 0.15)</td><td></td><td>93.89 (±0.78)</td><td></td><td>91.79 (± 0.46)</td><td></td></tr><tr><td colspan=\"7\">UNSUPERVISED CONTINUAL LEARNING</td></tr><tr><td colspan=\"7\">FINETUNE PNN (Rusu et al., 2016)</td></tr><tr><td></td><td>90.11 (±0.12) 90.93 (± 0.22)</td><td>5.42 (±0.08)</td><td>75.42 (± 0.78)</td><td>10.19 (± 0.37)</td><td>71.07 (± 0.20)</td><td>9.48 (±0.56)</td></tr><tr><td>SIISIIN SI (Zenke et al., 2017)</td><td>92.75 (± 0.06)</td><td></td><td>66.58 (± 1.00)</td><td>5.54 (± 1.30)</td><td>62.15 (± 1.35) 72.34 (±0.42)</td><td></td></tr><tr><td>DER (Buzzega et al.,2020)</td><td>91.22 (± 0.30)</td><td>1.81 (± 0.21)</td><td>80.08 (± 1.30)</td><td></td><td>71.90 (± 1.44)</td><td>8.26 (± 0.64)</td></tr><tr><td>LUMP</td><td>91.00 (± 0.40)</td><td>4.63 (±0.26) 2.92 (± 0.53)</td><td>77.27 (± 0.30)</td><td>9.31 (± 0.09)</td><td></td><td>8.36 (± 2.06)</td></tr><tr><td></td><td></td><td></td><td>82.30 (± 1.35)</td><td>4.71 (± 1.52)</td><td>76.66 (± 2.39)</td><td>3.54 (± 1.04)</td></tr><tr><td>MULTITASK</td><td>95.76 (± 0.08)</td><td></td><td>86.31 (±0.38)</td><td></td><td>82.89 (± 0.49)</td><td></td></tr><tr><td colspan=\"7\">FINETUNE</td></tr><tr><td>PNN (Rusu et al., 2016)</td><td>87.72 (± 0.32)</td><td>4.08 (± 0.56)</td><td>71.97 (± 0.54)</td><td>9.45 (± 1.01)</td><td>66.28 (± 1.23)</td><td>8.89 (±0.66)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>87.52 (± 0.33)</td><td></td><td>57.93 (± 2.98)</td><td></td><td>48.70 (± 2.59)</td><td></td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>90.21 (± 0.08) 88.67 (± 0.24)</td><td>2.03 (±0.22)</td><td>75.04 (± 0.63)</td><td>7.43 (± 0.67)</td><td>56.96 (± 1.48)</td><td>17.04 (± 0.89)</td></tr><tr><td>LUMP</td><td></td><td>2.41 (± 0.26)</td><td>73.48 (± 0.53)</td><td>7.98 (± 0.29)</td><td>68.56 (± 1.47)</td><td>7.87 (± 0.44)</td></tr><tr><td>PPITSIITTIS</td><td>90.31 (± 0.30)</td><td>1.13 (± 0.18)</td><td>80.24 (± 1.04)</td><td>3.53 (± 0.83)</td><td>72.17 (± 0.89)</td><td>2.43 (± 1.00)</td></tr><tr><td>MULTITASK</td><td>95.48 (± 0.14)</td><td></td><td>87.16 (± 0.52)</td><td></td><td>82.42 (± 0.74)</td><td></td></tr><tr><td colspan=\"7\">accuracy overdata size (h hrieteigreeere forgetting overdata size SCL-FT UCL-FT SCL-DER SCL-SI UCL-SI UCL-FT SCL-DER LUMP 10 UCL-SI LUMP 0.5</td></tr></table>",
|
| 657 |
+
"bbox": [
|
| 658 |
+
178,
|
| 659 |
+
155,
|
| 660 |
+
826,
|
| 661 |
+
555
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 6
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "image",
|
| 667 |
+
"img_path": "",
|
| 668 |
+
"image_caption": [
|
| 669 |
+
"Figure 2: Evaluation on Few-shot training for Split CIFAR-100 across different number of training instances per task. The results are measured across three independent trials. ",
|
| 670 |
+
"Figure 3: CKA Feature similarity between two independent UCL models (red), two independent SCL models (blue), and UCL and SCL model (green) for different strategies on Split CIFAR-100 test distribution. "
|
| 671 |
+
],
|
| 672 |
+
"image_footnote": [],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "Evaluation on Few-shot training. Figure 2 compares the effect of few-shot training on UCL and SCL, where each task has a limited number of training instances. Specifically, we conduct the experimental evaluation using 100, 200, 500, and 2500 training instances for each task in split CIFAR-100 dataset. Surprisingly, we observe that the gap in average accuracy between SCL and UCL methods widens with a decrease in the number of training instances. Note that UCL decreases the accuracy by $1 5 . 7 8 \\% p$ on average with lower forgetting when the number of training instances decreases from 2500 to 100; whereas, SCL obtains a severe $3 2 . 2 1 \\% p$ deterioration in accuracy. We conjecture that this is an outcome of the discriminative feature embeddings learned by UCL, which discriminates all the images in the dataset and captures more than class-specific information as also observed in Doersch et al. (2020). Furthermore, LUMP improves the performance over all the baselines with a significant margin across all few-shot experiments. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
625,
|
| 681 |
+
825,
|
| 682 |
+
777
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "Evaluation on OOD datasets. We evaluate the learnt representations on various out-of-distribution (OOD) datasets in Table 2 to measure their generalization to unseen data distributions. In particular, we conduct the OOD evaluation on MNIST (LeCun, 1998), Fashion-MNIST (FMNIST) (Xiao et al., 2017), SVHN (Netzer et al., 2011), CIFAR-10 and CIFAR-100 (Krizhevsky, 2012) using a KNN classifier (Wu et al., 2018). We observe that unsupervised representations outperform the supervised representations in all cases across all the datasets. In particular, the UCL representations learned with Simsiam, and SI on Split-CIFAR-10 improves the absolute performance over the best-performing SCL strategy by $4 . 5 8 \\%$ , $6 . 0 9 \\%$ , $1 5 . 2 6 \\%$ , and $1 7 . 0 7 \\%$ on MNIST, FMNIST, SVHN, and CIFAR-100 respectively. Further, LUMP trained on Split-CIFAR-100 outperforms SI across all datasets and obtains comparable performance with Split CIFAR-10 dataset. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
785,
|
| 692 |
+
825,
|
| 693 |
+
924
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 6
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "table",
|
| 699 |
+
"img_path": "images/f106866471529ae507ba6b60bc0e62d5237da93ebb88b497607ef5933fa24e33.jpg",
|
| 700 |
+
"table_caption": [
|
| 701 |
+
"Table 2: Comparison of accuracy on out of distribution datasets using a KNN classifier (Wu et al., 2018) on pretrained SCL and UCL representations. We consider MNIST (LeCun, 1998), Fashion-MNIST (FMNIST) (Xiao et al., 2017), SVHN (Netzer et al., 2011) as out of distribution for Split CIFAR-100 and Split CIFAR-10. All the values are measured by computing mean and standard deviation across three trials. The best and second-best results are highlighted in bold and underline respectively. "
|
| 702 |
+
],
|
| 703 |
+
"table_footnote": [],
|
| 704 |
+
"table_body": "<table><tr><td>IN-CLASS</td><td colspan=\"4\">SPLIT CIFAR-10</td><td colspan=\"4\">SPLIT CIFAR-100</td></tr><tr><td>OUT-OF-CLASS</td><td>MNIST</td><td>FMNIST</td><td>SVHN</td><td>CIFAR-100</td><td>MNIST</td><td>FMNIST</td><td>SVHN</td><td>CIFAR-10</td></tr><tr><td colspan=\"9\">SUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>86.42 (± 1.11)</td><td>74.47 (±0.84)4</td><td>41.00 (±0.85)</td><td>17.42 (± 0.96)</td><td>75.02 (±3.97)</td><td>62.37 (± 3.20)</td><td>38.05 (±0.73)</td><td>39.18 (± 0.83)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>87.08 (± 0.79)</td><td>76.41 (± 0.81)</td><td>42.62 (± 1.31)</td><td>19.14 (± 0.91)</td><td>79.96 (± 2.63)</td><td>63.71 (± 1.36)</td><td>40.92 (± 1.64)</td><td>40.41 (± 1.71)</td></tr><tr><td>A-GEM (Chaudhry et al., 2019a)</td><td>86.07 (± 1.94)</td><td>74.74(± 3.21)</td><td>37.77 (± 3.49)</td><td>16.11 (± 0.38)</td><td>77.56 (± 3.21)</td><td>64.16 (± 2.29)</td><td>37.48 (± 1.73)</td><td>37.91 (± 1.33)</td></tr><tr><td>Gss (Aljundi et al., 2019)</td><td>70.36 (± 3.54)</td><td>69.20 (± 2.51)</td><td>33.11 (± 2.26)</td><td>18.21 (± 0.39)</td><td>76.54 (± 0.46)</td><td>65.31 (± 1.72)</td><td>35.72 (± 2.37)</td><td>49.41 (± 1.81)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>80.32 (± 1.91)</td><td>70.49 (± 1.54)</td><td>41.48 (± 2.76)</td><td>17.72 (± 0.25)</td><td>87.71 (± 2.23)</td><td>75.97 (± 1.29)</td><td>50.26 (± 0.95)</td><td>59.07 (± 1.06)</td></tr><tr><td>MULTITASK</td><td></td><td>88.79 (± 1.13) 79.50 (±0.52)41.26(± 1.95)</td><td></td><td>27.68 (±0.66)</td><td>92.29 (± 3.37)</td><td>86.12 (± 1.87)</td><td>54.94 (± 1.77)</td><td>54.04 (± 3.68)</td></tr><tr><td colspan=\"9\">UNSUPERVISED CONTINUAL LEARNING</td></tr><tr><td>FINETUNE</td><td>89.23 (± 0.99)</td><td>80.05 (±0.34)</td><td>49.66 (±0.81)</td><td>34.52 (± 0.12)</td><td>85.99 (±0.86)</td><td>76.90 (± 0.11)</td><td>50.09 (± 1.41)</td><td>57.15 (± 0.96)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>93.72 (± 0.58)</td><td>82.50 (± 0.51)</td><td>57.88 (±0.16)</td><td>36.21 (±0.69)</td><td>91.50 (± 1.26)</td><td>80.57 (±0.93)</td><td>54.07 (± 2.73)</td><td>60.55 (± 2.54)</td></tr><tr><td>DER (Buzzega et al., 2020)</td><td>88.35 (±0.82)</td><td>79.33 (± 0.62)</td><td>48.83 (± 0.55))</td><td>30.68 (± 0.36)</td><td>87.96 (± 2.04)</td><td>76.21 (± 0.63)</td><td>47.70 (± 0.94)</td><td>56.26 (± 0.16)</td></tr><tr><td>WAISNIS LUMP</td><td>91.03 (± 0.22)</td><td>80.78 (±0.88)</td><td>45.18 (± 1.57)</td><td>31.17 (± 1.83)</td><td>91.76 (± 1.17)</td><td>81.61 (± 0.45)</td><td>50.13 (±0.71)</td><td>63.00 (±0.53)</td></tr><tr><td>MULTITASK</td><td>90.69 (± 0.13)</td><td>80.65 (±0.42)</td><td>47.67 (± 0.45)</td><td>39.55 (± 0.18)</td><td>90.35 (±0.24)</td><td>81.11 (± 1.86)</td><td>52.20 (± 0.61)</td><td>70.19 (± 0.15)</td></tr><tr><td>FINETUNE</td><td>86.86 (± 1.62)</td><td>78.37 (± 0.74)</td><td>44.64 (± 2.39)</td><td>28.03 (±0.52)</td><td>76.08 (± 2.86)</td><td>76.82 (±0.83)</td><td>42.95 (±0.90)</td><td>53.12 (± 0.13)</td></tr><tr><td>SI (Zenke et al., 2017)</td><td>90.31 (± 0.69)</td><td>80.58 (± 0.68)</td><td>49.18 (± 0.51)</td><td>31.80 (± 0.4)</td><td>85.24 (± 0.99)</td><td>78.82 (± 0.67)</td><td>45.18 (± 1.37)</td><td>53.99 (± 0.56)</td></tr><tr><td>DER (Buzzega et al.,2020)</td><td>85.15 (± 2.19)</td><td>77.96 (± 0.59)</td><td>45.68 (± 0.93)</td><td>27.83 (± 0.86)</td><td>78.08 (± 1.95)</td><td>76.67 (±0.68)</td><td>44.58 (± 1.01)</td><td>53.24 (±0.82)</td></tr><tr><td>LUMP</td><td>88.73 (± 0.54)</td><td>81.69 (± 0.45)</td><td>51.53(± 0.41)</td><td>31.53 (± 0.36)</td><td>90.22 (± 1.39)</td><td>81.28 (± 0.91)</td><td>50.24 (± 0.95)</td><td>60.76 (± 0.87)</td></tr><tr><td>PBPIIIITTIS MULTITASK</td><td>88.63 (± 1.38)</td><td>79.49 (± 0.29)</td><td>49.24 (± 2.44)</td><td>36.33 (±0.29)</td><td>86.98 (± 1.70)</td><td>79.40 (± 1.10)</td><td>50.19 (±0.81)</td><td>49.50 (± 0.38)</td></tr></table>",
|
| 705 |
+
"bbox": [
|
| 706 |
+
176,
|
| 707 |
+
167,
|
| 708 |
+
825,
|
| 709 |
+
395
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 7
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "5.3 QUALITATIVE ANALYSIS ",
|
| 716 |
+
"text_level": 1,
|
| 717 |
+
"bbox": [
|
| 718 |
+
176,
|
| 719 |
+
416,
|
| 720 |
+
383,
|
| 721 |
+
430
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 7
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "Similarity in feature and parameter space. We analyze the similarity between the representations learnt between (i) Two independent UCL models, (ii) Two independent SCL models (iii) SCL and UCL models using centered kernel alignment (CKA) (Kornblith et al., 2019) in Figure 3, which provides a score between 0 and 1 measuring the similarity between a pair of hidden representations. For two representations Θ1 : X → Rd1 and Θ2 : X → Rd1 , CKA(Θ1, Θ2) = ||Cov(Θ1(x),Θ2(x))||2F||Cov(Θ1(x))||F ·||Cov(Θ2(x))||F , where covariances are with respect to the test distribution. Additionally, we measure the $\\ell _ { 2 }$ distance (Neyshabur et al., 2020) between the parameters of two independent UCL models (see Table 3) and two independent SCL models (see Table 4). First, we observe that the representations learned by two independent UCL methods have a high feature similarity and lower $\\ell _ { 2 }$ distance compared to the two independent SCL methods, demonstrating UCL representations’ robustness. Second, we note that the representations between any two independent models are highly similar in the lower layers indicating that they learn similar high-level features, including edges and shapes; however, the features are dissimilar for the higher modules. Lastly, we see that the representations between a UCL and SCL model are similar in the lower layers but diverge in the higher layers across all CL strategies. ",
|
| 728 |
+
"bbox": [
|
| 729 |
+
173,
|
| 730 |
+
444,
|
| 731 |
+
826,
|
| 732 |
+
646
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 7
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "Visualization of feature space. Next, we visualize the learned features to dissect further the representations learned by UCL and SCL strategies. Figure 4 shows the visualization of the latent feature maps for tasks $\\mathcal { T } _ { 0 }$ and $\\mathcal { T } _ { 1 3 }$ after the completion of continual learning. For $\\mathcal { T } _ { 0 }$ , we observe that the SCL methods are prone to catastrophic forgetting, as the features appear noisy and do not have coherent patterns. In contrast, the features learned by UCL strategies are perceptually relevant and robust to catastrophic forgetting, with LUMP learning the most distinctive features. Similar to $\\mathcal { T } _ { 0 }$ , we observe that the UCL features are more relevant and distinguishable than SCL for $\\mathcal { T } _ { 1 3 }$ . Note that we randomly selected the examples and feature maps for all visualizations. ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
173,
|
| 741 |
+
652,
|
| 742 |
+
825,
|
| 743 |
+
763
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 7
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "Loss landscape visualization. To gain further insights, we visualize the loss landscape of task $\\mathcal { T } _ { 0 }$ after the completion of training on task $\\mathcal { T } _ { 0 }$ and $\\mathcal { T } _ { 1 9 }$ for various UCL and SCL strategies in Figure 5. We measure the cross-entropy loss for all methods with a randomly initialized linear classifier for a fair evaluation of two different directions. We use the visualization tool from Li et al. (2018) that searches the task loss surface by repeatedly adding random perturbations to model weights. We observe that the loss landscape after $\\mathcal { T } _ { 0 }$ looks quite similar across all the strategies since the forgetting does not exist yet. However, after training $\\mathcal { T } _ { 1 9 }$ , there is a clear difference with the UCL strategies obtaining a flatter and smoother loss landscape because UCL methods are more stable and robust to the forgetting, which hurts the loss landscapes of past tasks for SCL. It is important to observe that LUMP obtains a smoother landscape than other UCL strategies, demonstrating its effectiveness. We defer further analyses for feature and loss landscape visualization to Appendix A.2. ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
173,
|
| 752 |
+
770,
|
| 753 |
+
825,
|
| 754 |
+
924
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 7
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "table",
|
| 760 |
+
"img_path": "images/81cf7ed318e16b19d3a3635127a9daed3c72e13c0eb056f18b1b606b7d49f4a1.jpg",
|
| 761 |
+
"table_caption": [
|
| 762 |
+
"Table 3: $\\ell _ { 2 }$ distance between UCL parameters after completion of training. "
|
| 763 |
+
],
|
| 764 |
+
"table_footnote": [],
|
| 765 |
+
"table_body": "<table><tr><td>MODEL</td><td>FINETUNE</td><td>S1</td><td>DER</td><td>MULTITASK</td></tr><tr><td>FINETUNE</td><td>60.00 (± 1.70)</td><td></td><td></td><td></td></tr><tr><td>SI</td><td>76.46 (± 0.48)</td><td>92.35 (± 0.61)</td><td></td><td></td></tr><tr><td>DER</td><td>55.60 (± 1.42)</td><td>75.54 (± 0.97)</td><td>48.76 (± 1.54)</td><td></td></tr><tr><td>MULTITASK</td><td>61.32 (± 0.59)</td><td>79.95 (± 0.40)</td><td>57.90 (± 0.86)</td><td>61.42 (± 0.78)</td></tr></table>",
|
| 766 |
+
"bbox": [
|
| 767 |
+
173,
|
| 768 |
+
131,
|
| 769 |
+
491,
|
| 770 |
+
183
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 8
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "table",
|
| 776 |
+
"img_path": "images/04d1fcd00bd2b5cc3cf74596e8df470a57384d77fd485c8204033c1f352eafaf.jpg",
|
| 777 |
+
"table_caption": [
|
| 778 |
+
"Table 4: $\\ell _ { 2 }$ distance between SCL paraneters after completion of training. "
|
| 779 |
+
],
|
| 780 |
+
"table_footnote": [],
|
| 781 |
+
"table_body": "<table><tr><td>MODEL</td><td>FINETUNE</td><td>SI</td><td>DER</td><td>MULTITASK</td></tr><tr><td>FINETUNE</td><td>183.31 (± 0.10)</td><td></td><td></td><td></td></tr><tr><td>SI</td><td>206.16 (± 0.28)</td><td>226.05 (± 0.13)</td><td></td><td></td></tr><tr><td>DER</td><td>202.61 (± 0.46)</td><td>224.78 (± 0.75)</td><td>219.06 (± 0.27)</td><td></td></tr><tr><td>MULTITASK</td><td>258.12 (± 0.26)</td><td>277.30 (± 0.69)</td><td>271.48 (± 0.45)</td><td>314.84 (± 0.92)</td></tr></table>",
|
| 782 |
+
"bbox": [
|
| 783 |
+
501,
|
| 784 |
+
132,
|
| 785 |
+
818,
|
| 786 |
+
183
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 8
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "image",
|
| 792 |
+
"img_path": "images/c3ac687f242d718cd3c73bee19640019de4ed74e1f83c4ef3f892aa16f6a4dc8.jpg",
|
| 793 |
+
"image_caption": [
|
| 794 |
+
"Figure 4: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for ResNet-18 architecture after the completion of CL for Split CIFAR-100 dataset $( n = 2 0 )$ ). "
|
| 795 |
+
],
|
| 796 |
+
"image_footnote": [],
|
| 797 |
+
"bbox": [
|
| 798 |
+
166,
|
| 799 |
+
191,
|
| 800 |
+
838,
|
| 801 |
+
356
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 8
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "image",
|
| 807 |
+
"img_path": "images/9462ac68652082e8aaec80aa8da988e820a12909990da7aa46015a8992027101.jpg",
|
| 808 |
+
"image_caption": [
|
| 809 |
+
"Figure 5: Loss landscape visualization of $\\mathcal { T } _ { 0 }$ after the completion of training on task $\\mathcal { T } _ { 0 }$ (top) and $\\mathcal { T } _ { 1 9 }$ (bottom) for Split CIFAR-100 dataset on ResNet-18 architecture. We use Simsiam for UCL methods. "
|
| 810 |
+
],
|
| 811 |
+
"image_footnote": [],
|
| 812 |
+
"bbox": [
|
| 813 |
+
165,
|
| 814 |
+
390,
|
| 815 |
+
831,
|
| 816 |
+
577
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 8
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "6 DISCUSSION AND CONCLUSION ",
|
| 823 |
+
"text_level": 1,
|
| 824 |
+
"bbox": [
|
| 825 |
+
176,
|
| 826 |
+
616,
|
| 827 |
+
470,
|
| 828 |
+
631
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 8
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "This work attempts to bridge the gap between unsupervised representation learning and continual learning. In particular, we establish the following findings for unsupervised continual learning. ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
173,
|
| 837 |
+
638,
|
| 838 |
+
823,
|
| 839 |
+
666
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 8
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Surpassing supervised continual learning. Our empirical evaluation across various CL strategies and datasets shows that UCL representations are more robust to catastrophic forgetting than SCL representations. Furthermore, we notice that UCL generalizes better to OOD tasks and achieves stronger performance on few-shot learning tasks. We propose Lifelong unsupervised mixup (LUMP), which interpolates the unsupervised instances between the current task and past task and obtains higher performance with lower catastrophic forgetting across a wide range of tasks. ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
173,
|
| 848 |
+
672,
|
| 849 |
+
825,
|
| 850 |
+
756
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 8
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "Dissecting the learned representations. We conduct a systematic analysis to understand the differences between the representations learned by UCL and SCL strategies. By investigating the similarity between the representations, we observe that UCL and SCL strategies have high similarities in the lower layers but are dissimilar in the higher layers. We also show that UCL representations learn coherent and discriminative patterns and smoother loss landscape than SCL. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
763,
|
| 860 |
+
825,
|
| 861 |
+
833
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 8
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Limitations and future work. In this work, we do not consider the high-resolution tasks for CL. We intend to evaluate the forgetting of the learnt representations on ImageNet (Deng et al., 2009) in future work, since UCL shows lower catastrophic forgetting and representation learning has made significant progress on ImageNet over the past years. In follow-up work, we intend to conduct further analysis to understand the behavior of UCL and develop sophisticated methods to continually learn unsupervised representations under various setups, such as class-incremental or task-agnostic CL. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
173,
|
| 870 |
+
840,
|
| 871 |
+
825,
|
| 872 |
+
924
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 879 |
+
"text_level": 1,
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
103,
|
| 883 |
+
367,
|
| 884 |
+
117
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 9
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "We thank the anonymous reviewers for their insightful comments and suggestions. This work was supported by Microsoft Research Asia, the Engineering Research Center Program through the National Research Foundation of Korea (NRF) funded by the Korean Government MSIT (NRF2018R1A5A1059921), Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No.2019-0-00075, Artificial Intelligence Graduate School Program (KAIST) and 2021-0-01696). Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the funding agencies. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
133,
|
| 894 |
+
826,
|
| 895 |
+
244
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 9
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "AUTHOR CONTRIBUTIONS ",
|
| 902 |
+
"text_level": 1,
|
| 903 |
+
"bbox": [
|
| 904 |
+
176,
|
| 905 |
+
265,
|
| 906 |
+
393,
|
| 907 |
+
281
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 9
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "Divyam Madaan conceived of the presented idea, developed the experimental framework, carried out OOD evaluation, CKA visualization and took the lead in writing the manuscript. Jaehong Yoon performed the hyperparameter search, carried out the visualization of loss landscape and feature maps and performed the few-shot training analysis. Yuanchun Li, Yunxin Liu, and Sung Ju Hwang supervised the project. ",
|
| 914 |
+
"bbox": [
|
| 915 |
+
174,
|
| 916 |
+
296,
|
| 917 |
+
825,
|
| 918 |
+
366
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 9
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "REFERENCES ",
|
| 925 |
+
"text_level": 1,
|
| 926 |
+
"bbox": [
|
| 927 |
+
176,
|
| 928 |
+
387,
|
| 929 |
+
285,
|
| 930 |
+
402
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 9
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Hongjoon Ahn, Sungmin Cha, Donggyu Lee, and Taesup Moon. Uncertainty-based continual learning with adaptive regularization. In Advances in Neural Information Processing Systems (NeurIPS), 2019. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
174,
|
| 939 |
+
410,
|
| 940 |
+
826,
|
| 941 |
+
452
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 9
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Rahaf Aljundi, Min Lin, Baptiste Goujaud, and Yoshua Bengio. Gradient based sample selection for online continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019. ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
174,
|
| 950 |
+
460,
|
| 951 |
+
826,
|
| 952 |
+
502
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 9
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "Horace Barlow. Possible principles underlying the transformations of sensory messages. 1961. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
173,
|
| 961 |
+
512,
|
| 962 |
+
792,
|
| 963 |
+
527
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 9
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Mariusz Bojarski, Davide Del Testa, Daniel Dworakowski, Bernhard Firner, Beat Flepp, Prasoon Goyal, Lawrence D. Jackel, Mathew Monfort, Urs Muller, Jiakai Zhang, Xin Zhang, Jake Zhao, and Karol Zieba. End to end learning for self-driving cars. arXiv preprint arXiv:1604.07316, 2016. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
174,
|
| 972 |
+
536,
|
| 973 |
+
826,
|
| 974 |
+
579
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 9
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Jane Bromley, Isabelle Guyon, Yann LeCun, Eduard Säckinger, and Roopak Shah. Signature verification using a \"siamese\" time delay neural network. 1994. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
173,
|
| 983 |
+
587,
|
| 984 |
+
823,
|
| 985 |
+
616
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 9
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "Pietro Buzzega, Matteo Boschini, Angelo Porrello, Davide Abati, and Simone Calderara. Dark experience for general continual learning: a strong, simple baseline. In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
173,
|
| 994 |
+
625,
|
| 995 |
+
826,
|
| 996 |
+
667
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 9
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, and Armand Joulin. Unsupervised learning of visual features by contrasting cluster assignments. In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
173,
|
| 1005 |
+
675,
|
| 1006 |
+
825,
|
| 1007 |
+
719
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 9
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "Arslan Chaudhry, Marc’Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. In Proceedings of the International Conference on Learning Representations (ICLR), 2019a. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
174,
|
| 1016 |
+
727,
|
| 1017 |
+
825,
|
| 1018 |
+
770
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 9
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K Dokania, Philip HS Torr, and M Ranzato. Continual learning with tiny episodic memories. arXiv preprint arXiv:1902.10486, 2019b. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
176,
|
| 1027 |
+
779,
|
| 1028 |
+
823,
|
| 1029 |
+
820
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 9
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the International Conference on Machine Learning (ICML), 2020a. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
176,
|
| 1038 |
+
830,
|
| 1039 |
+
823,
|
| 1040 |
+
872
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 9
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big self-supervised models are strong semi-supervised learners. In Advances in Neural Information Processing Systems (NeurIPS), 2020b. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
176,
|
| 1049 |
+
881,
|
| 1050 |
+
823,
|
| 1051 |
+
922
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 9
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "Xinlei Chen and Kaiming He. Exploring simple siamese representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2021. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
171,
|
| 1060 |
+
103,
|
| 1061 |
+
825,
|
| 1062 |
+
133
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 10
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Xinlei Chen, Haoqi Fan, Ross Girshick, and Kaiming He. Improved baselines with momentum contrastive learning. arXiv preprint arXiv:2003.04297, 2020c. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
171,
|
| 1071 |
+
142,
|
| 1072 |
+
823,
|
| 1073 |
+
171
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 10
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2009. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
173,
|
| 1082 |
+
181,
|
| 1083 |
+
826,
|
| 1084 |
+
224
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 10
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Carl Doersch, Ankush Gupta, and Andrew Zisserman. Crosstransformers: spatially-aware few-shot transfer. In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
174,
|
| 1093 |
+
234,
|
| 1094 |
+
823,
|
| 1095 |
+
263
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 10
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the International Conference on Machine Learning (ICML), 2017. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
173,
|
| 1104 |
+
273,
|
| 1105 |
+
826,
|
| 1106 |
+
316
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 10
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Timo Flesch, Jan Balaguer, Ronald Dekker, Hamed Nili, and Christopher Summerfield. Comparing continual task learning in minds and machines. Proceedings of the National Academy of Sciences, 2018. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
176,
|
| 1115 |
+
327,
|
| 1116 |
+
823,
|
| 1117 |
+
369
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 10
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Ian J Goodfellow, Mehdi Mirza, Da Xiao, Aaron Courville, and Yoshua Bengio. An empirical investigation of catastrophic forgetting in gradient-based neural networks. arXiv preprint arXiv:1312.6211, 2013. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
173,
|
| 1126 |
+
380,
|
| 1127 |
+
825,
|
| 1128 |
+
422
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 10
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Jean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec, Pierre Richemond, Elena Buchatskaya, Carl Doersch, Bernardo Avila Pires, Zhaohan Guo, Mohammad Gheshlaghi Azar, Bilal Piot, koray kavukcuoglu, Remi Munos, and Michal Valko. Bootstrap your own latent - a new approach to self-supervised learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
173,
|
| 1137 |
+
433,
|
| 1138 |
+
826,
|
| 1139 |
+
503
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 10
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2016. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
173,
|
| 1148 |
+
513,
|
| 1149 |
+
825,
|
| 1150 |
+
556
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 10
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2020. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
566,
|
| 1160 |
+
825,
|
| 1161 |
+
611
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 10
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Christopher J Kelly, Alan Karthikesalingam, Mustafa Suleyman, Greg Corrado, and Dominic King. Key challenges for delivering clinical impact with artificial intelligence. BMC medicine, 2019. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
174,
|
| 1170 |
+
619,
|
| 1171 |
+
825,
|
| 1172 |
+
650
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 10
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Sungnyun Kim, Gihun Lee, Sangmin Bae, and Se-Young Yun. Mixco: Mix-up contrastive learning for visual representation. arXiv preprint arXiv:2010.06300, 2020. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
173,
|
| 1181 |
+
659,
|
| 1182 |
+
825,
|
| 1183 |
+
689
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 10
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In Proceedings of the International Conference on Machine Learning (ICML). PMLR, 2019. ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
173,
|
| 1192 |
+
698,
|
| 1193 |
+
826,
|
| 1194 |
+
741
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 10
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Alex Krizhevsky. Learning multiple layers of features from tiny images. University of Toronto, 05 2012. ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
169,
|
| 1203 |
+
751,
|
| 1204 |
+
823,
|
| 1205 |
+
781
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 10
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Abhishek Kumar and Hal Daume III. Learning task grouping and overlap in multi-task learning. In Proceedings of the International Conference on Machine Learning (ICML), 2012. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
171,
|
| 1214 |
+
790,
|
| 1215 |
+
823,
|
| 1216 |
+
820
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 10
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
173,
|
| 1225 |
+
830,
|
| 1226 |
+
820,
|
| 1227 |
+
847
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 10
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Kibok Lee, Yian Zhu, Kihyuk Sohn, Chun-Liang Li, Jinwoo Shin, and Honglak Lee. i-mix: A domain-agnostic strategy for contrastive representation learning. In ICLR, 2021. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
173,
|
| 1236 |
+
856,
|
| 1237 |
+
823,
|
| 1238 |
+
885
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 10
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In Advances in Neural Information Processing Systems (NeurIPS), 2018. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
173,
|
| 1247 |
+
895,
|
| 1248 |
+
823,
|
| 1249 |
+
924
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 10
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "Xilai Li, Yingbo Zhou, Tianfu Wu, Richard Socher, and Caiming Xiong. Learn to grow: A continual structure learning framework for overcoming catastrophic forgetting. In Proceedings of the International Conference on Machine Learning (ICML), 2019. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
176,
|
| 1258 |
+
103,
|
| 1259 |
+
823,
|
| 1260 |
+
146
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 11
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Yuanpeng Li, Liang Zhao, Kenneth Church, and Mohamed Elhoseiny. Compositional language continual learning. In Proceedings of the International Conference on Learning Representations (ICLR), 2020. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
174,
|
| 1269 |
+
156,
|
| 1270 |
+
825,
|
| 1271 |
+
199
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 11
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "Zhizhong Li and Derek Hoiem. Learning without forgetting. In Proceedings of the European Conference on Computer Vision (ECCV), 2016. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
174,
|
| 1280 |
+
208,
|
| 1281 |
+
821,
|
| 1282 |
+
238
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 11
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation. 1989. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
247,
|
| 1292 |
+
823,
|
| 1293 |
+
279
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 11
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "Seyed Iman Mirzadeh, Mehrdad Farajtabar, Razvan Pascanu, and Hassan Ghasemzadeh. Understanding the role of training regimes in continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
173,
|
| 1302 |
+
286,
|
| 1303 |
+
826,
|
| 1304 |
+
330
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 11
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. 2011. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
171,
|
| 1313 |
+
340,
|
| 1314 |
+
823,
|
| 1315 |
+
369
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 11
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "Behnam Neyshabur, Hanie Sedghi, and Chiyuan Zhang. What is being transferred in transfer learning? In Advances in Neural Information Processing Systems (NeurIPS), 2020. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
171,
|
| 1324 |
+
378,
|
| 1325 |
+
823,
|
| 1326 |
+
409
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 11
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "Dushyant Rao, Francesco Visin, Andrei Rusu, Razvan Pascanu, Yee Whye Teh, and Raia Hadsell. Continual unsupervised representation learning. In Advances in Neural Information Processing Systems, 2019. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
174,
|
| 1335 |
+
417,
|
| 1336 |
+
826,
|
| 1337 |
+
462
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 11
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. icarl: Incremental classifier and representation learning. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2017. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
470,
|
| 1347 |
+
826,
|
| 1348 |
+
513
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Gregory Wayne. Experience replay for continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2019. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
173,
|
| 1357 |
+
523,
|
| 1358 |
+
826,
|
| 1359 |
+
566
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 11
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
173,
|
| 1368 |
+
577,
|
| 1369 |
+
823,
|
| 1370 |
+
619
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 11
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "Jonathan Schwarz, Jelena Luketina, Wojciech M Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In Proceedings of the International Conference on Machine Learning (ICML), 2018. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
173,
|
| 1379 |
+
630,
|
| 1380 |
+
826,
|
| 1381 |
+
686
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 11
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "Zhiqiang Shen, Zechun Liu, Zhuang Liu, Marios Savvides, Trevor Darrell, and Eric Xing. Un-mix: Rethinking image mixtures for unsupervised visual representation learning. In Proceedings of the AAAI National Conference on Artificial Intelligence (AAAI), 2022. ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
173,
|
| 1390 |
+
696,
|
| 1391 |
+
825,
|
| 1392 |
+
739
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 11
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "James Smith, Cameron Taylor, Seth Baer, and Constantine Dovrolis. Unsupervised progressive learning and the stam architecture. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), 2021. ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
173,
|
| 1401 |
+
750,
|
| 1402 |
+
826,
|
| 1403 |
+
792
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 11
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "Sebastian Thrun. A Lifelong Learning Perspective for Mobile Robot Control. Elsevier, 1995. ",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
169,
|
| 1412 |
+
803,
|
| 1413 |
+
781,
|
| 1414 |
+
819
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 11
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "Vikas Verma, Thang Luong, Kenji Kawaguchi, Hieu Pham, and Quoc Le. Towards domain-agnostic contrastive learning. In Proceedings of the International Conference on Machine Learning (ICML), 2021. ",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
174,
|
| 1423 |
+
828,
|
| 1424 |
+
826,
|
| 1425 |
+
871
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 11
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "Zhirong Wu, Yuanjun Xiong, Stella X. Yu, and Dahua Lin. Unsupervised feature learning via non-parametric instance discrimination. In Proceedings of the IEEE International Conference on Computer Vision and Pattern Recognition (CVPR), 2018. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
174,
|
| 1434 |
+
881,
|
| 1435 |
+
825,
|
| 1436 |
+
924
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 11
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. ",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
171,
|
| 1445 |
+
103,
|
| 1446 |
+
825,
|
| 1447 |
+
132
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 12
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "Jaehong Yoon, Eunho Yang, Jeongtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. ",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
174,
|
| 1456 |
+
140,
|
| 1457 |
+
823,
|
| 1458 |
+
184
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 12
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, and Stéphane Deny. Barlow twins: Self-supervised learning via redundancy reduction. In Proceedings of the International Conference on Machine Learning (ICML), 2021. ",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
171,
|
| 1467 |
+
193,
|
| 1468 |
+
823,
|
| 1469 |
+
234
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 12
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In Proceedings of the International Conference on Machine Learning (ICML), 2017. ",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
168,
|
| 1478 |
+
243,
|
| 1479 |
+
826,
|
| 1480 |
+
272
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 12
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. ",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
173,
|
| 1489 |
+
281,
|
| 1490 |
+
825,
|
| 1491 |
+
324
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 12
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "Linjun Zhang, Zhun Deng, Kenji Kawaguchi, Amirata Ghorbani, and James Zou. How does mixup help with robustness and generalization? In Proceedings of the International Conference on Learning Representations (ICLR), 2021. ",
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
174,
|
| 1500 |
+
333,
|
| 1501 |
+
825,
|
| 1502 |
+
376
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 12
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"text": "A SUPPLEMENTARY MATERIAL ",
|
| 1509 |
+
"text_level": 1,
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
178,
|
| 1512 |
+
102,
|
| 1513 |
+
450,
|
| 1514 |
+
117
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 13
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "Organization. In the supplementary material, we provide the implementation details followed by the hyper-parameter configurations in Appendix A.1. Further, we show the other experiments we conducted and additional visualizations and results in Appendix A.2. ",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
174,
|
| 1523 |
+
133,
|
| 1524 |
+
825,
|
| 1525 |
+
176
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 13
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "A.1 EXPERIMENTAL DETAILS ",
|
| 1532 |
+
"text_level": 1,
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
176,
|
| 1535 |
+
193,
|
| 1536 |
+
395,
|
| 1537 |
+
207
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 13
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "Implementations. We use the DER (Buzzega et al., 2020) open-source codebase1 for all the experiments. In particular, we reproduce all their experimental results for supervised continual learning and use various models with their set of hyper-parameters as our baselines. We follow the original representations for $\\mathrm { S i m } \\mathrm { S i a m } ^ { 2 }$ and BarlowTwins3 for unsupervised continual learning. We verify our implementation by reproducing the reported results on CIFAR-10 in the original paper, where we train the representations on the complete CIFAR-10 dataset and evaluate on the test-set using KNN classifier (Wu et al., 2018). In particular, (Wu et al., 2018) stores the features for each instance in the task-level training set in a discrete memory bank. The optimal feature-level embeddings are then learned by instance-level discrimination, which maximally scatters the features of the training samples. Following prior works in representation learning, we use the task-level training set without any augmentation in the task-incremental setup for the supervised and unsupervised KNN evaluation. ",
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
174,
|
| 1546 |
+
218,
|
| 1547 |
+
825,
|
| 1548 |
+
372
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 13
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "text",
|
| 1554 |
+
"text": "Hyperparameter configurations. We use the tuned hyper-parameters reported by Buzzega et al. (2020) for all the SCL experiments. On the other hand, we tune the hyper-parameters for continual learning strategies for UCL. We provide the hyper-parameters setup for UCL for different datasets in Table A.5. We train all the UCL methods with a batch size of 256 for 200 epochs, while training the SCL methods with a batch size of 32 for 50 epochs following Buzzega et al. (2020). We observed that training the SCL methods further lead to a degredation in performance for all the methods. We use the same set of augmentations for both SCL and UCL except that we use RandomResizedCrop with scale in [0.2, 1.0] for UCL (Wu et al., 2018; Chen & He, 2021) and RandomCrop for SCL. For rehearsal-based methods, we use the buffer size 200 for Split CIFAR-10, Split CIFAR-100 and 256 for Split Tiny-ImageNet dataset. We use a learning rate of 0.03 for SGD optimizer with weight decay 5e-4 and momentum 0.9. ",
|
| 1555 |
+
"bbox": [
|
| 1556 |
+
173,
|
| 1557 |
+
378,
|
| 1558 |
+
825,
|
| 1559 |
+
530
|
| 1560 |
+
],
|
| 1561 |
+
"page_idx": 13
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "table",
|
| 1565 |
+
"img_path": "images/0d060a69610ff1a5a26f58a698d75afb49745e1a7e329e34a854aa749b5623b6.jpg",
|
| 1566 |
+
"table_caption": [
|
| 1567 |
+
"Table A.5: Hyperparameter configurations for all the datasets on ResNet-18 architecture. "
|
| 1568 |
+
],
|
| 1569 |
+
"table_footnote": [],
|
| 1570 |
+
"table_body": "<table><tr><td>METHOD</td><td>SPLIT CIFAR-10</td><td>SPLIT CIFAR-100</td><td>SEQ.TINY-IMAGENET</td></tr><tr><td>S1</td><td>c : 100 m:1</td><td>c : 0.1 m:1</td><td>c : 0.01 m:1</td></tr><tr><td>PNN</td><td>wd : 64</td><td>wd : 12</td><td>wd : 8</td></tr><tr><td>DER</td><td>α : 0.1</td><td>α : 0.1</td><td>α : 0.01</td></tr><tr><td>LUMP</td><td>入: 0.1</td><td>入: 0.1</td><td>入: 0.4</td></tr></table>",
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
223,
|
| 1573 |
+
560,
|
| 1574 |
+
774,
|
| 1575 |
+
647
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 13
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"text": "A.2 ADDITIONAL EXPERIMENTS ",
|
| 1582 |
+
"text_level": 1,
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
176,
|
| 1585 |
+
671,
|
| 1586 |
+
415,
|
| 1587 |
+
685
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 13
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "text",
|
| 1593 |
+
"text": "We provide additional loss landscape on Split CIFAR-100 in Figure A.6 and Figure A.7, Figure A.8 show the second and third block feature visualizations on Split CIFAR-100 respectively. Figure A.9 shows the feature visualizations for Split Tiny-ImageNet on ResNet-18 architecture. ",
|
| 1594 |
+
"bbox": [
|
| 1595 |
+
176,
|
| 1596 |
+
696,
|
| 1597 |
+
823,
|
| 1598 |
+
739
|
| 1599 |
+
],
|
| 1600 |
+
"page_idx": 13
|
| 1601 |
+
},
|
| 1602 |
+
{
|
| 1603 |
+
"type": "image",
|
| 1604 |
+
"img_path": "images/69dfb7f41d6d34dd4ca483cb846c642db74f91d3e8a8f0a208134f58e0d8b215.jpg",
|
| 1605 |
+
"image_caption": [
|
| 1606 |
+
"Figure A.6: Loss landscape visualization of $\\mathcal { T } _ { 0 }$ after the completion of training on task $\\mathcal { T } _ { 0 } , \\mathcal { T } _ { 1 7 } , \\mathcal { T } _ { 1 8 }$ , and $\\mathcal { T } _ { 1 9 }$ for Split CIFAR-100 dataset on ResNet-18 architecture. We use Simsiam for UCL methods. "
|
| 1607 |
+
],
|
| 1608 |
+
"image_footnote": [],
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
187,
|
| 1611 |
+
195,
|
| 1612 |
+
849,
|
| 1613 |
+
795
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 14
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "image",
|
| 1619 |
+
"img_path": "images/59887c9b6bc8aced71be07cae33f26a0069fe68cfc5e774efeb90cee9dbe05bd.jpg",
|
| 1620 |
+
"image_caption": [
|
| 1621 |
+
"Figure A.7: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split CIFAR-100 dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task. "
|
| 1622 |
+
],
|
| 1623 |
+
"image_footnote": [],
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
191,
|
| 1626 |
+
127,
|
| 1627 |
+
833,
|
| 1628 |
+
851
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 15
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "image",
|
| 1634 |
+
"img_path": "images/ea5a16a4f7f0ee8d4c02d67c79a880ba9151dc89a3655d440e628d31abcc528e.jpg",
|
| 1635 |
+
"image_caption": [
|
| 1636 |
+
"Figure A.8: Visualization of feature maps for the third block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split CIFAR-100 dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task. "
|
| 1637 |
+
],
|
| 1638 |
+
"image_footnote": [],
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
191,
|
| 1641 |
+
128,
|
| 1642 |
+
834,
|
| 1643 |
+
851
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 16
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "image",
|
| 1649 |
+
"img_path": "images/3b14374517bbb4507f4f16d6e77d6f2933fb6e36c554d2969976955b539a8d1a.jpg",
|
| 1650 |
+
"image_caption": [
|
| 1651 |
+
"Figure A.9: Visualization of feature maps for the second block representations learnt by SCL and UCL strategies (with Simsiam) for Resnet-18 architecture after the completion of continual learning for Split Tiny-ImageNet dataset $n = 2 0$ ). The accuracy is the mean across three runs for the corresponding task. "
|
| 1652 |
+
],
|
| 1653 |
+
"image_footnote": [],
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
189,
|
| 1656 |
+
121,
|
| 1657 |
+
834,
|
| 1658 |
+
849
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 17
|
| 1661 |
+
}
|
| 1662 |
+
]
|
parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/9Hrka5PA7LW/9Hrka5PA7LW_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/9jsZiUgkCZP/9jsZiUgkCZP.md
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UNIFIED VISUAL TRANSFORMER COMPRESSION
|
| 2 |
+
|
| 3 |
+
Shixing $\mathbf { V } \mathbf { u } ^ { 1 , * }$ , Tianlong $\mathbf { C h e n ^ { 1 , * } }$ , Jiayi Shen2, Huan Yuan3, Jianchao Tan3,
|
| 4 |
+
Sen Yang3, Ji Liu3, Zhangyang Wang1
|
| 5 |
+
1University of Texas at Austin, 2Texas A&M University, 3Kwai Inc.
|
| 6 |
+
{shixingyu, tianlong.chen, atlaswang}@utexas.edu, asjyjya-617@tamu.edu, {yuanhuan9412, senyang.nlpr, ji.liu.uwisc}@gmail.com, jianchaotan@kuaishou.com
|
| 7 |
+
|
| 8 |
+
# ABSTRACT
|
| 9 |
+
|
| 10 |
+
Vision transformers (ViTs) have gained popularity recently. Even without customized image operators such as convolutions, ViTs can yield competitive performance when properly trained on massive data. However, the computational overhead of ViTs remains prohibitive, due to stacking multi-head self-attention modules and else. Compared to the vast literature and prevailing success in compressing convolutional neural networks, the study of Vision Transformer compression has also just emerged, and existing works focused on one or two aspects of compression. This paper proposes a unified ViT compression framework that seamlessly assembles three effective techniques: pruning, layer skipping, and knowledge distillation. We formulate a budget-constrained, end-to-end optimization framework, targeting jointly learning model weights, layer-wise pruning ratios/masks, and skip configurations, under a distillation loss. The optimization problem is then solved using the primal-dual algorithm. Experiments are conducted with several ViT variants, e.g. DeiT and T2T-ViT backbones on the ImageNet dataset, and our approach consistently outperforms recent competitors. For example, DeiT-Tiny can be trimmed down to $50 \%$ of the original FLOPs almost without losing accuracy. Codes are available online: https://github.com/VITA-Group/UVC.
|
| 11 |
+
|
| 12 |
+
# 1 INTRODUCTION
|
| 13 |
+
|
| 14 |
+
Convolution neural networks (CNNs) (LeCun et al., 1989; Krizhevsky et al., 2012; He et al., 2016) have been the de facto architecture choice for computer vision tasks in the past decade. Their training and inference cost significant and ever-increasing computational resources. Recently, drawn by the scaling success of attention-based models (Vaswani et al., 2017) in natural language processing (NLP) such as BERT (Devlin et al., 2018), various works seek to leverage the Transformer architecture to computer vision (Parmar et al., 2018; Child et al., 2019; Chen et al., 2020a). The Vision Transformer (ViT) architecture (Dosovitskiy et al., 2020), and its variants, have been demonstrated to achieve comparable or superior results on a series of image understanding tasks compared to the state of the art CNNs, especially when pretrained on datasets with sufficient model capacity (Han et al., 2021).
|
| 15 |
+
|
| 16 |
+
Despite the emerging power of ViTs, such architecture is shown to be even more resource-intensive than CNNs, making its deployment impractical under resource-limited scenarios. That is due to the absence of customized image operators such as convolution, the stack of self-attention modules that suffer from quadratic complexity with regard to the input size, among other factors. Owing to the substantial architecture differences between CNNs and ViTs, although there is a large wealth of successful CNN compression techniques (Liu et al., 2017; Li et al., 2016; He et al., 2017; 2019), it is not immediately clear whether they are as effective as for ViTs. One further open question is how to best integrate their power for ViT compression, as one often needs to jointly exploit multiple compression means for CNNs (Mishra & Marr, 2018; Yang et al., 2020b; Zhao et al., 2020b).
|
| 17 |
+
|
| 18 |
+
On the other hand, the NLP literature has widely explored the compression of BERT (Ganesh et al., 2020), ranging from unstructured pruning (Gordon et al., 2020; Guo et al., 2019), attention head pruning (Michel et al., 2019) and encoder unit pruning (Fan et al., 2019); to knowledge distillation (Sanh et al., 2019), layer factorization (Lan et al., 2019), quantization (Zhang et al., 2020; Bai et al.,
|
| 19 |
+
|
| 20 |
+
2020) and dynamic width/depth inference (Hou et al., 2020). Lately, earlier works on compressing ViTs have also drawn ideas from those similar aspects: examples include weight/attention pruning (Zhu et al., 2021; Chen et al., 2021b; Pan et al., 2021a), input feature (token) selection (Tang et al., 2021; Pan et al., 2021a), and knowledge distillation (Touvron et al., 2020; Jia et al., 2021). Yet up to our best knowledge, there has been no systematic study that strives to either compare or compose (even naively cascade) multiple individual compression techniques for ViTs – not to mention any joint optimization like (Mishra & Marr, 2018; Yang et al., 2020b; Zhao et al., 2020b) did for CNNs. We conjecture that may potentially impede more performance gains from ViT compression.
|
| 21 |
+
|
| 22 |
+
This paper aims to establish the first all-in-one compression framework that organically integrates three different compression strategies: (structured) pruning, block skipping, and knowledge distillation. Rather than ad-hoc composition, we propose a unified vision transformer compression (UVC) framework, which seamlessly integrates the three effective compression techniques and jointly optimizes towards the task utility goal under the budget constraints. UVC is mathematically formulated as a constrained optimization problem and solved using the primal-dual algorithm from end to end. Our main contributions are outlined as follows:
|
| 23 |
+
|
| 24 |
+
• We present UVC that unleashes the potential of ViT compression, by jointly leveraging multiple ViT compression means for the first time. UVC only requires to specify a global resource budget, and can automatically optimize the composition of different techniques.
|
| 25 |
+
• We formulate and solve UVC as a unified constrained optimization problem. It simultaneously learns model weights, layer-wise pruning ratios/masks, and skip configurations, under a distillation loss and an overall budget constraint.
|
| 26 |
+
• Extensive experiments are conducted with popular variants of ViT, including several DeiT backbones and T2T-ViT on ImageNet, and our proposal consistently performs better than or comparably with existing methods. For example, UVC on DeiT-Tiny (with/without distillation tokens) yields around $50 \%$ FLOPs reduction, with little performance degradation (only $0 . 3 \% / 0 . 9 \%$ loss compared to the uncompressed baseline).
|
| 27 |
+
|
| 28 |
+
# 2 RELATED WORK
|
| 29 |
+
|
| 30 |
+
# 2.1 VISION TRANSFORMER
|
| 31 |
+
|
| 32 |
+
Transformer (Vaswani et al., 2017) architecture stems from natural language processing (NLP) applications first, with the renowned technique utilizing Self-Attention to exploit information from sequential data. Though intuitively the transformer model seems inept to the special inductive bias of space correlation for images-oriented tasks, it has proved itself of capability on vision tasks just as good as CNNs (Dosovitskiy et al., 2020). The main point of Vision Transformer is that they encode the images by partitioning them into sequences of patches, projecting them into token embeddings, and feeding them to transformer encoders (Dosovitskiy et al., 2020). ViT outperforms convolutional nets if given sufficient training data on various image classification benchmarks.
|
| 33 |
+
|
| 34 |
+
Since then, ViT has been developed to various different variants first on data efficiency towards training, like DeiT (Touvron et al., 2020) and T2T-ViT (Yuan et al., 2021) are proposed to enhance ViT’s training data efficiency, by leveraging teacher-student and better-crafted architectures respectively. Then modifications are made to the general structure of ViT to tackle other popular downstream computer vision tasks, including object detection (Zheng et al., 2020; Carion et al., 2020; Dai et al., 2021; Zhu et al., 2020), semantic segmentation (Wang et al., 2021a;b), image enhancement (Chen et al., 2021a; Yang et al., 2020a), image generation (Jiang et al., 2021), video understanding (Bertasius et al., 2021), and 3D point cloud processing (Zhao et al., 2020a).
|
| 35 |
+
|
| 36 |
+
# 2.2 MODEL COMPRESSION
|
| 37 |
+
|
| 38 |
+
Pruning. Pruning methods can be broadly categorized into: unstructured pruning (Dong et al., 2017; Lee et al., 2018; Xiao et al., 2019) by removing insignificant weight via certain criteria; and structured pruning (Luo et al., 2017; He et al., 2017; 2018; Yu et al., 2018; Lin et al., 2018; Guo et al., 2021; Yu et al., 2021; Chen et al., 2021b; Shen et al., 2021) by zero out parameters in a structured group manner. Unstructured pruning can be magnitude-based (Han et al., 2015a;b), hessian-based (LeCun et al., 1990; Dong et al., 2017), and so on. They result in irregular sparsity, causing sparse matrix operations that are hard to accelerate on hardware (Buluc & Gilbert, 2008; Gale et al., 2019). This can be addressed with structured pruning where algorithms usually calculate an importance score for some group of parameters (e.g., convolutional channels, or matrix rows). Liu et al. (2017) uses the scaling factor of the batch normalization layer as the sensitivity metric. Li et al. (2016) proposes channel-wise summation over weights as the metric. Lin et al. (2020) proposes to use channel rank as sensitivity metric while (He et al., 2019) uses the geometric median of the convolutional filters as pruning criteria. Particularly for transformer-based models, the basic structures that many consider pruning with include blocks, attention heads, and/or fully-connected matrix rows (Chen et al., 2020b; 2021b). For example, (Michel et al., 2019) canvasses the behavior of multiple attention heads and proposes an iterative algorithm to prune redundant heads. (Fan et al., 2019) prunes entire layers to extract shallow models at inference time.
|
| 39 |
+
|
| 40 |
+
Knowledge Distillation. Knowledge distillation (KD) is a special technique that does not explicitly compress the model from any dimension of the network. KD lets a student model leverage ··soft” labels coming from a teacher network (Hinton et al., 2015) to boost the performance of a student model. This can be regarded as a form of compression from the teacher model into a smaller student. The soft labels from the teacher are well known to be more informative than hard labels and leads to better student training (Yuan et al., 2020; Wei et al., 2020)
|
| 41 |
+
|
| 42 |
+
Skip Configuration. Skip connection plays a crucial role in transformers (Raghu et al., 2021), by tackling the vanishing gradient problem (Vaswani et al., 2017), or by preventing their outputs from degenerating exponentially quickly with respect to the network depth (Dong et al., 2021).
|
| 43 |
+
|
| 44 |
+
Meanwhile, transformer has an inborn advantage of a uniform block structure. A basic transformer block contains a Self-Attention module and a Multi-layer Perceptron module, and its output size matches the input size. That implies the possibility to manipulate the transformer depth by directly skipping certain layers or blocks. (Xu et al., 2020) proposes to randomly replace the original modules with their designed compact substitutes to train the compact modules to mimic the behavior of the original modules. (Zhang & He, 2020) designs a Switchable-Transformer Blocks to progressively drop layers from the architecture. To flexibly adjust the size and latency of transformers by selecting adaptive width and depth, DynaBERT (Hou et al., 2020) first trains a width-adaptive BERT and then allows for both adaptive width and depth. LayerDrop (Fan et al., 2019) randomly drops layers at training time; while at test time, it allows for sub-network selection to any desired depth.
|
| 45 |
+
|
| 46 |
+
# 3 METHODOLOGY
|
| 47 |
+
|
| 48 |
+
# 3.1 PRELIMINARY
|
| 49 |
+
|
| 50 |
+
Vision Transformer (ViT) Architecture. To unfold the unified algorithm in the following sections, here we first introduce the notations. There are totally $L$ transformer blocks. In each block $l$ of the ViT, there are two constituents, namely the Multi-head Self-Attention (MSA) module and the MLP module. Uniformly, each MSA for transformer block $l$ has $H$ attention heads originally.
|
| 51 |
+
|
| 52 |
+
In the Multi-head Self-Attention module, $W _ { Q } ^ { ( l ) } , W _ { K } ^ { ( l ) } , W _ { V } ^ { ( l ) }$ are the weights of the three linear projection matrix in block $l$ that uses the block input $X ^ { l }$ to calculate attention matrices: $Q ^ { l } , K ^ { l }$ , ${ \bf \widehat V } ^ { l }$ . The weights of the projection module that follows self-attention calculation are denoted as $W ^ { ( l , 1 ) }$ , represent the first linear projection module in block l. The MLP module consists of two linear projection modules $W ^ { ( l , 2 ) }$ and $\bar { W } ^ { ( l , 3 ) }$ .
|
| 53 |
+
|
| 54 |
+
Compression Targets The main parameters that can be potentially compressed in a ViT block are W (l)Q , $\bar { W } _ { Q } ^ { ( l ) } , W _ { K } ^ { ( l ) } , W _ { V } ^ { \bar { ( l ) } }$ and $W ^ { ( l , 1 ) }$ , $W ^ { ( l , 2 ) }$ , $W ^ { ( l , 3 ) }$ . Our goal is to prune the head number and head dimensions simultaneously inside each layer, associated with the layer level skipping, solved in a unified framework. Currently, we do not extend the scope to reduce other dimensions such as input patch number or token size. However, our framework can also pack these parts together easily.
|
| 55 |
+
|
| 56 |
+
For head number and head dimensions pruning, instead of going into details of QKV computation, we innovate to use $\{ W ^ { ( l , 1 ) } \} _ { 1 \le l \le L }$ to be the proxy pruning targets. Pruning on these linear layers is equivalent to the pruning of head number and head dimension. We also add $\{ W ^ { ( l , 3 ) } \} _ { 1 \leq l \leq L }$ as our pruning targets, since these linear layers do not have dimension alignment issues with other parts, they can be freely pruned, while the output of $\{ W ^ { ( l , 2 ) } \}$ should match with the dimension of block input. We do not prune $W _ { Q } ^ { ( l ) } , W _ { K } ^ { ( l ) } , W _ { V } ^ { ( \bar { l } ) }$ inside each head, since $Q ^ { l } , K ^ { l } ,$ , $V ^ { l }$ should be of the same shape for computing self-attention.
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 1: The overall framework of UVC, that integrates three compression strategies: (1) Pruning within a block: In a transformer block, we targeting on pruning Self-Attention head numbers $( s ^ { ( l , 1 ) } )$ , neuron numbers within a Self-Attention head $( r ^ { l , i } )$ and the hidden size of MLP module $( s ^ { ( l , 3 ) } )$ as well. (2) Skipping manipulation across blocks: When $\mathbf { \chi } _ { g t } ^ { ( l , 0 ) }$ dominates, directly skip block $l$ and send $X ^ { l }$ into block $l + 1$ ; Otherwise, pass $X ^ { l }$ into block $l$ without skip connection. (3) Knowledge distillation: The original uncompressed model is used to provide soft labels for knowledge distillation.
|
| 60 |
+
|
| 61 |
+
Besides, skip connection is recognized as another important component to enhance the performance of ViTs (Raghu et al., 2021). The dimension between $X ^ { l }$ and the output of the linear projection module should be aligned. For this sake, $W ^ { ( l , 2 ) }$ is excluded from our compression. Eventually, the weights to be compressed in our subsequent framework are $\{ W ^ { ( l , 1 ) } , W ^ { ( l , 3 ) } \} _ { 1 \le l \le L }$ .
|
| 62 |
+
|
| 63 |
+
# 3.2 RESOURCE-CONSTRAINED END-TO-END VIT COMPRESSION
|
| 64 |
+
|
| 65 |
+
We target a principled constrained optimization framework jointly optimizing all weights and compression hyperparameters. We consider two strategies to compress ViT: (1) structural pruning of linear projection modules in a ViT block; and (2) adjusting the skipping patterns across different ViT blocks, including skipping/dropping an entire block. The second point, to our best knowledge, is the first time to be ever considered in ViT compression. The full framework is illustrated in Figure 1.
|
| 66 |
+
|
| 67 |
+
Alternatively, the two strategies could be considered as enforcing mixed-level group sparsity: the head dimension level, the head number level, and the block number level. The rationale is: when enforced with the same pruning ratios, models that are under finer-grained sparsity (i.e., pruning in smaller groups) are unfriendly to latency, while models that are under coarser-grained sparsity (i.e., pruning in larger groups) is unfriendly to accuracy. The mixed-level group sparsity can hence more flexibly trade-off between latency and accuracy.
|
| 68 |
+
|
| 69 |
+
The knowledge distillation is further incorporated into the objective to guide the end-to-end process.
|
| 70 |
+
Below we walk through each component one-by-one, before presenting the unified optimization.
|
| 71 |
+
|
| 72 |
+
Pruning within a Block To compress each linear projection module on width, we first denote $s ^ { ( l , 3 ) }$ as the number of columns to be pruned for weights $\bar { W } ^ { ( l , 3 ) }$ . Compression for weights $W ^ { ( l , 1 ) }$ is more complicated as it is decided by two degrees of freedom. As the input tensor to be multiplied with $W ^ { ( l , 1 ) }$ is the direct output of attention heads. Hence, within each layer $l$ , we denote $s ^ { ( l , 1 \bar { ) } }$ to be the attention head numbers that need to be pruned, and $r ^ { ( l , i ) }$ the number of output neurons to be pruned for each attention head $i$ . Figure 2 illustrates the two sparsity levels: the head dimension level as controlled by $r ^ { ( l , i ) }$ , and the head number level as controlled by $s ^ { ( l , 1 ) }$ . They give more flexibility to transformer compression by selecting the optimal architecture in a multi-grained way. We emphasize again that those variables above are not manually picked, but rather optimized globally.
|
| 73 |
+
|
| 74 |
+
Skipping Manipulation across Blocks The next component to jointly optimize is the skip connectivity pattern, across different ViT blocks. For vanilla ViTs, skip connection plays a crucial role in ensuring gradient flow and avoiding feature collapse (Dong et al., 2021). Raghu et al. (2021) suggests that skip connections in ViT are even more influential than in ResNets, having strong effects on performance and representation similarity. However, few existing studies have systematically studied how to strategically adjust skip connections provided a ViT architecture, in order to optimize the accuracy and efficiency trade-off.
|
| 75 |
+
|
| 76 |
+
In general, it is known that more skip connections help CNNs’ accuracy without increasing the parameter volume (Huang et al., 2017); and ViT seems to favor the same trend (Raghu et al., 2021). Moreover, adding a new skip connection over an existing block would allow us to “skip" it during inference, or “drop" it. This represents more aggressive “layer-wise" pruning, compared to the aforementioned element-wise or conventional structural pruning
|
| 77 |
+
|
| 78 |
+
While directly dropping blocks might look aggressive at the first glance, there are two unique enabling factors in ViTs that facilitate so. Firstly, unlike in CNNs, ViTs have uniform internal structures: by default, the input/output sizes of Self-Attention (SA) module, MLP module and thus the entire block, are all identical. That allows to painlessly drop any of those components and directly reconcatenating the others, without causing any feature dimension incompatibility. Secondly, Phang et al. (2021) observed that the top few blocks of fine-tuned transformers can be discarded without hurting performance, even with no further tuning. That is because deeper layer features tend to have high cross-layer similarities (while being dissimilar to early layer features), making additional blocks add little to the discriminative power. Zhou et al. (2021) also reported that in deep ViTs, the attention maps gradually become similar and even nearly identical after certain layers. Such cross-block “feature collapse" justifies our motivation to drop blocks.
|
| 79 |
+
|
| 80 |
+
In view of those, we introduce skip manipulation as a unique compression means to ViT for the first time. Specifically, for each transformer block with the skip connection, we denote $g t ^ { ( l , 0 ) }$ and $g t ^ { ( l , 1 ) }$ as two binary gating variables (summing up to 1), to decide whether to skip this block or not.
|
| 81 |
+
|
| 82 |
+
The Constraints: We next formulate weight sparsity constraints for the purpose of pruning. As discussed in Sec 3.1, the target of the proposed method is to prune the head number and head dimension simultaneously, which can actually be modeled as a two-level group sparsity problem when choosing $\{ W ^ { ( l , 1 ) } \} _ { 1 \leq l \leq L }$ as proxy compression targets. Specifically, the input dimension of $\{ W ^ { ( l , 1 ) } \} _ { 1 \le l \le L }$ is equivalent to the sum of the dimensions of all heads. Then we can put a two-level group sparsity regularization on $\{ W ^ { ( l , 1 ) } \} _ { 1 \le l \le L }$ input dimension to compress head number and head dimension at the same time, as shown in 1a and 1b. $r ^ { ( l , i ) }$ corresponding to the pruned size of $i _ { t h }$ head. $s ^ { ( l , 1 ) }$ means the pruned number of heads. For $\{ W ^ { ( l , 3 ) } \} _ { 1 \le l \le L }$ , it is our compression target, we just perform standard one level group sparsity regularization on its input dimension, as shown in 1c.
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\begin{array} { l } { { \displaystyle \sum _ { j } \mathbb { I } \left( \left\| W _ { g _ { i j \cdot } } ^ { ( l , 1 ) } \right\| _ { 2 } ^ { 2 } = 0 \right) \geq r ^ { ( l , i ) } } , } \\ { { \displaystyle \sum _ { i } \mathbb { I } \left( \left\| W _ { g _ { i \cdot } } ^ { ( l , 1 ) } \right\| _ { 2 } ^ { 2 } = 0 \right) \geq s ^ { ( l , 1 ) } } , } \\ { { \displaystyle \sum _ { i } \mathbb { I } \left( \left\| W _ { i , \cdot } ^ { ( l , 3 ) } \right\| _ { 2 } ^ { 2 } = 0 \right) \geq s ^ { ( l , 3 ) } } , } \\ { { \displaystyle \forall l = 1 , 2 , . . . , L , \forall i = 1 , 2 , . . . , H } } \end{array}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $W _ { i , \mathbf { \alpha } }$ ,. denotes the $i$ -th column of $W ; W _ { g _ { i } }$ ,. denotes the $i$ -th grouped column matrix of $W$ , i.e. the $i$ -th head; and $W _ { g _ { i j } }$ ,. the $j$ -th column of $W _ { g _ { i } , . }$ , which is the $j$ -th column of the $i$ -th head. In other words, in Eqn. 1b, column matrices are grouped by attention heads. Hence among the original $H$ heads in total at block $l$ , at least $s ^ { ( l , 1 ) }$ heads should be discarded. Similarly, Eqn. 1c demands that at least $s ^ { ( l , 3 ) }$ input neurons should be pruned at this linear projection module. Furthermore, Eqn. 1a requests that in the $i$ -th attention head at block $l$ , $r ( l , i )$ of the output units should be set to zeros.
|
| 89 |
+
|
| 90 |
+
Our method is formulated as a resource constrained compression framework, given a target resource budget, it will compress the model until the budget is reached. Given a backbone architecture, the FLOPs is the function of $s , r$ and $_ { g t }$ , denoted as $\mathcal { R } _ { \mathrm { F l o p s } } ( s , r , g t )$ . We have the constraint as:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\mathcal { R } _ { \mathrm { F l o p s } } ( s , r , g t ) \leq \mathcal { R } _ { \mathrm { b u d g e t } } ,
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
Figure 2: The two sparsity levels for pruning within a block: the head dimension level as controlled by $r ^ { ( l , i ) }$ , and the head number level as controlled by $s ^ { ( l , 1 ) }$ . When reaching the same pruning ratio, neuron-level sparsity will not remove any head, which is usually unfriendly to latency; while head level sparsity will only remove attention heads, which is usually unfriendly to accuracy.
|
| 98 |
+
|
| 99 |
+
where $\pmb { s } = \{ s ^ { ( l , 1 ) } , s ^ { ( l , 3 ) } \} _ { 1 \leq l \leq L }$ and $\pmb { r } = \{ r ^ { ( l , i ) } \} _ { 1 \leq l \leq L , 1 \leq i \leq H }$ . $\mathcal { R } _ { \mathrm { b u d g e t } }$ is the resource budget. We present detailed flops computation equations in terms of $\pmb { s }$ , $\mathbfit { \Delta } \mathbf { r }$ and $_ { g t }$ in Appendix.
|
| 100 |
+
|
| 101 |
+
Those inequalities can be further rewritten into equation forms to facilitate optimization. As an example, we follow (Tono et al., 2017) to reformulate Eqn. 1b as:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\sum _ { i } \mathbb { I } \left( \left. W _ { \cdot , g _ { i } } \right. _ { 2 } ^ { 2 } = 0 \right) \geq s \Leftrightarrow \left. W _ { \cdot , g } \right. _ { s , 2 } ^ { 2 } = 0 .
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $\| \mathbf { W } _ { \cdot , g } \| _ { s , 2 } ^ { 2 }$ denotes the Frobenius norm of the sub-matrix of $W$ consisting of $s$ groups of $W$ with smallest group norms. Eqn. 1a and Eqn. 1c have same conversions.
|
| 108 |
+
|
| 109 |
+
The Objective: The target objective could be written as ( $\lambda$ is a coefficient):
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
\operatorname* { m i n } _ { W , g t } \ \mathcal { L } ( W , g t ) = \ell ( W , g t ) + \lambda \ell _ { d i s t i l l } ( W , W _ { t } ) ,
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
where $W _ { t }$ denotes the weights from teacher model, i.e., the uncompressed transformer model, and $\ell _ { d i s t i l l } ( * , * )$ is defined as the knowledge distillation loss. We choose the simper $\ell _ { 2 }$ norm as its implementation, as its performance was found to be comparable to the more traditional ${ \mathrm { K } } { \mathrm { - } } { \mathrm { L } }$ divergence (Kim et al., 2021).
|
| 116 |
+
|
| 117 |
+
The Final Unified Formulation: Summarizing all above, we arrive at our unified optimization as a mini-max formulation, by leveraging the primal-dual method (Buchbinder & Naor, 2009):
|
| 118 |
+
|
| 119 |
+
$$
|
| 120 |
+
\operatorname* { m i n } _ { W , s , r , g t p , y , z \geq 0 } \operatorname* { m a x } _ { y , s , r , g t \in p , y , z \geq 0 } \operatorname* { m a x } _ { W , s , r , g t p , y , z \geq 0 } \mathcal { L } ( W , g t ) + \underbrace { z \left( R _ { \mathrm { F l o p s } } ( s , r , g t ) - R _ { \mathrm { b u d g e t } } \right) } _ { \mathrm { ~ } } + \underbrace { \sum _ { i = 1 } ^ { N } \sum _ { p , r , g t \geq 0 } \mathcal { L } ( W , g t ) } _ { \mathrm { ~ } } = \mathrm { ~ c ~ o ~ n ~ s ~ t ~ . ~ }
|
| 121 |
+
$$
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\sum _ { l = 1 } ^ { L } \left( y ^ { ( l , 1 ) } \left. W _ { \cdot , g } ^ { ( l , 1 ) } \right. _ { \lceil s ^ { ( l , 1 ) } \rceil , 2 } ^ { 2 } + y ^ { ( l , 3 ) } \left. W _ { \cdot , \cdot } ^ { ( l , 3 ) } \right. _ { \lceil s ^ { ( l , 3 ) } \rceil , 2 } ^ { 2 } \right) + \sum _ { l = 1 } ^ { L } \sum _ { i = 1 } ^ { H } p ^ { ( l , i ) } \left. W _ { \cdot , g _ { i } . } ^ { ( l , 1 ) } \right. _ { \lceil r ^ { ( l , i ) } \rceil , 2 } ^ { 2 }
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
Eventually, we use the solution of the above mini-max problem, i.e. $\pmb { s }$ and $\pmb { r }$ to determine the compression ratio of each layer, and $_ { g t }$ to determine the selection of skip configuration. Here, we select the pruned groups of the parameters by directly ranking columns by their norms, and remove those with the smallest magnitudes.
|
| 128 |
+
|
| 129 |
+
The general updating policy follows the idea of primal-dual algorithm. The full algorithm is outlined in Algorithm 1 in Appendix. We introduce the solutions to each sub-problem in Appendix as well.
|
| 130 |
+
|
| 131 |
+
# 4 EXPERIMENTAL RESULTS
|
| 132 |
+
|
| 133 |
+
Datasets and Benchmarks We conduct experiments for image classification on ImageNet (Krizhevsky et al., 2012). We implement UVC on DeiT (Touvron et al., 2020), which has basically the identical architecture compared with ViT (Dosovitskiy et al., 2020) except for an extra distillation token; and a variant of ViT – T2T-ViT (Yuan et al., 2021), with a special token embedding layer that aggregates neighboring tokens into one token and a backbone with a deep-narrow structure. Experiment has been conducted on DeiT-Tiny/Small/Base and T2T-ViT-14 models. For DeiT-Tiny, we also try it without/with the distillation token. We measure all resource consumptions (including the UVC resource constraints) in terms of inference FLOPs.
|
| 134 |
+
|
| 135 |
+
Training Settings The whole process of our method consists of two steps.
|
| 136 |
+
|
| 137 |
+
• Step 1: UVC training. We firstly conduct the primal-dual algorithm to the pretrained DeiT model to produce the compressed model under the given resource budget. • Step 2: Post training. When we have the sparse model, we finetune it for another round of training to regain its accuracy loss during compression.
|
| 138 |
+
|
| 139 |
+
In the two steps mentioned above, we mainly follow the training settings of DeiT (Touvron et al., 2020) except for a relatively smaller learning rate which benefits finetuning of converged models.
|
| 140 |
+
|
| 141 |
+
For distillation, we select the pretrained uncompressed model to teach the pruned model.
|
| 142 |
+
|
| 143 |
+
Numerically, the learning rate for parameter $z$ is always changing during the primal-dual algorithm process. Thurs, we propose to use a dynamic learning rate for the parameter $z$ that controls the budget constraint. We use a four-step schedule of $\{ 1 , 5 , 9 , \bar { 1 3 } , 1 7 \}$ in practice.
|
| 144 |
+
|
| 145 |
+
Baseline methods We adopt several latest compression methods which fall under two categories:
|
| 146 |
+
|
| 147 |
+
• Category 1: Input Patch Reduction, including $( i )$ PoWER (Goyal et al., 2020) : which accelerates language model BERT inference by eliminating word-vector in a progressive way. $( i i )$ HVT (Pan et al., 2021b): which reduce the token sequence dimension by using max-pooling hierarchically. (iii) PatchSlimming (Tang et al., 2021): which identifies the effective patches in the last layer and then use them to guide the patch selection process of previous layers; and $( i v ) \mathbf { I A - R E D ^ { 2 } }$ (Pan et al., 2021a): which dynamically and hierarchical drops visual tokens at different levels using a learned policy network.
|
| 148 |
+
|
| 149 |
+
• Category 2: Model Weight Pruning, including $( v )$ SCOP (Tang et al., 2020): which is originally a channel pruning method used on CNN, we follow (Tang et al., 2021) and implement it on ViT. $( v i )$ Vision Transformer Pruning (VTP) (Zhu et al., 2021): which trains transformers with sparsity regularization to let important dimensions emerge. (vii) SViTE (Chen et al., 2021b): which jointly optimizes model parameters and explores sparse connectivity throughout training, ending up with one final sparse network. SViTE belongs to the most competitive accuracy-efficiency trade-off achieved so far, for ViT pruning. We choose its structured variant to be fair with UVC.
|
| 150 |
+
|
| 151 |
+
# 4.1 MAIN RESULTS
|
| 152 |
+
|
| 153 |
+
The main results are listed in Tab. 1. Firstly, we notice that most existing methods cannot save beyond $50 \%$ FLOPs without sacrificing too much accuracy. In comparison, UVC can easily go with larger compression rates (up to $\geq 6 0 \%$ FLOPS saving) without compromising as much. For example, when compressing DeiT-Tiny (with distillation token), UVC can trim the model down to a compelling $2 5 0 \%$ of the original FLOPs while losing only $0 . 3 \%$ accuracy (Tab. 3). Especially, compared with the latest SViTE (Chen et al., 2021b) that can only save up to around $30 \%$ FLOPs, we observe UVC to significantly outperform ig at DeiT-Tiny/Small, at less accuracy drops (0.9/0.4, versus 2.1/0.6) with much more aggressive FLOPs savings $( 5 0 . 7 \% / 4 2 . 4 \%$ , versus $2 3 . 7 \% / 3 1 . 6 3 )$ ). For the larger DeiT-Base, while UVC can save $45 \%$ of its FLOPs, we fin that SViTE cannot be stably trained at such high sparsity. UVC also yield comparable accuracy with the other ViT model pruning approach, VTP (Zhu et al., 2021), with more than $10 \%$ FLOPs savings w.r.t. the original backbone.
|
| 154 |
+
|
| 155 |
+
Secondly, UVC obtains strong results compared with Patch Reduction based methods. UVC performs clearly better than IA-RED2 (Pan et al., 2021a) at DeiT-Base, and outperforms HVT (Pan et al., 2021b) on both DeiT-Tiny/Small models, which are latest and strong competitors. Compared to Patch Slimming Tang et al. (2021), UVC at DeiT-Small reaches $7 9 . 4 4 \%$ top-1 accuracy, while the compression ratio measured by FLOPs is comparable. On other models, we observe UVC to generally save more FLOPs, yet also sacrificing more accuracies. Moreover, as we explained in
|
| 156 |
+
|
| 157 |
+
Table 1: Comparison of the vision transformers compressed by UVC with different benchmarks on ImageNet. FLOPs remained denotes the remained ratio of FLOPs to the full-model FLOPs.
|
| 158 |
+
|
| 159 |
+
<table><tr><td>Model</td><td>Method</td><td>Top-1 Acc. (%)</td><td>FLOPs(G)</td><td>FLOPs remained(%)</td></tr><tr><td rowspan="7">DeiT-Tiny</td><td>Baseline</td><td>72.2</td><td>1.3</td><td>100</td></tr><tr><td>SViTE</td><td>70.12 (-2.08)</td><td>0.99</td><td>76.31</td></tr><tr><td>PatchSlimming</td><td>72.0 (-0.2)</td><td>0.7</td><td>53.8</td></tr><tr><td>UVC</td><td>71.8 (-0.4)</td><td>0.69</td><td>53.1</td></tr><tr><td>HVT</td><td>69.7 (-2.5)</td><td>0.64</td><td>49.23</td></tr><tr><td>UVC</td><td>71.3 (-0.9)</td><td>0.64</td><td>49.23</td></tr><tr><td>UVC</td><td>70.6 (-1.6)</td><td>0.51</td><td>39.12</td></tr><tr><td rowspan="8">DeiT-Small</td><td>Baseline</td><td>79.8</td><td>4.6</td><td>100</td></tr><tr><td>SViTE</td><td>79.22 (-0.58)</td><td>3.14</td><td>68.36</td></tr><tr><td>PoWER</td><td>78.3 (-1.5)</td><td>2.7</td><td>58.7</td></tr><tr><td>UVC</td><td>79.44 (-0.36)</td><td>2.65</td><td>57.61</td></tr><tr><td>SCOP</td><td>77.5 (-2.3)</td><td>2.6</td><td>56.4</td></tr><tr><td>PatchSlimming</td><td>79.4 (-0.4)</td><td>2.6</td><td>56.5</td></tr><tr><td>HVT</td><td>78.0 (-1.8)</td><td>2.40</td><td>52.2</td></tr><tr><td>UVC</td><td>78.82 (-0.98)</td><td>2.32</td><td>50.41</td></tr><tr><td rowspan="6">DeiT-Base</td><td>Baseline</td><td>81.8</td><td>17.6</td><td>100</td></tr><tr><td>IA-RED²</td><td>80.3 (-1.5)</td><td>11.8</td><td>67.04</td></tr><tr><td>SViTE</td><td>82.22 (+0.42)</td><td>11.87</td><td>66.87</td></tr><tr><td>VTP</td><td>80.7 (-1.1)</td><td>10.0</td><td>56.8</td></tr><tr><td>PatchSlimming</td><td>81.5 (-0.3)</td><td>9.8</td><td>55.7</td></tr><tr><td>UVC</td><td>80.57 (-1.23)</td><td>8.0</td><td>45.50</td></tr><tr><td rowspan="5">T2T-ViT-14</td><td>Baseline</td><td>81.5</td><td>4.8</td><td>100</td></tr><tr><td>PoWER</td><td>79.9 (-1.6)</td><td>3.5</td><td>72.9</td></tr><tr><td>UVC</td><td>80.4 (-1.1)</td><td>2.90</td><td>60.4</td></tr><tr><td>UVC</td><td>79.6 (-1.9)</td><td>2.47</td><td>51.5</td></tr><tr><td>UVC</td><td>78.9 (-2.6)</td><td>2.11</td><td>44.0</td></tr></table>
|
| 160 |
+
|
| 161 |
+
Table 2: Ablation study on the modules implemented in UVC. The first part present single technique ablation. The second part presents the result to sequentially apply Skip configuration and Pruning.
|
| 162 |
+
|
| 163 |
+
<table><tr><td>Method</td><td colspan="2">DeiT-Tiny Acc. (%) FLOPs remained(%)</td></tr><tr><td>Uncompressed baseline</td><td>72.2</td><td>100</td></tr><tr><td>Only skip manipulation</td><td>68.72</td><td>51.85</td></tr><tr><td>Only pruning within a block</td><td>70.52</td><td>50.69</td></tr><tr><td>Without Knowledge Distillation</td><td>69.34</td><td>51.23</td></tr><tr><td>Skip->Prune 71.49%->49.39%</td><td>66.84</td><td>49.39</td></tr><tr><td>Prune-→Skip 69.96%->54.88%</td><td>69.68</td><td>54.88</td></tr><tr><td>Prune-→Skip 63.25%->50.73%</td><td>70.02</td><td>50.73</td></tr><tr><td>UvC</td><td>71.3</td><td>49.23</td></tr></table>
|
| 164 |
+
|
| 165 |
+
Section 3.1, those input token reduction methods represent an orthogonal direction to the model weight sparsification way that UVC is pursuing. UVC can also be seamlessly extended to include token reduction into the joint optimization - a future work that we would pursue.
|
| 166 |
+
|
| 167 |
+
Thirdly, we test UVC on compressing T2T-ViT (Yuan et al., 2021). In the last row of Tab. 1, UVC with $\overline { { 4 4 } } \%$ FLOPs achieves only a $2 . 6 \%$ accuracy drop. Meanwhile, UVC achieves a $1 . 9 \%$ accuracy drop with $5 1 . 5 \%$ of the original FLOPs. With $6 0 . 4 \%$ FLOPs, UVC only suffers from a $1 . 1 \%$ accuracy drop, already outperforming PoWER with $7 2 . 9 \%$ FLOPs.
|
| 168 |
+
|
| 169 |
+
As UVC highlights the integration of three different compression techniques into one joint optimization framework, it would be natural to question whether each moving part is necessary for the pipeline, and how they each contribute to the final result. We conduct this ablation study, and the results are presented in Tab. 2.
|
| 170 |
+
|
| 171 |
+
Skip Manipulation only. We first present the result when we only conduct skip manipulation and knowledge distillation in our framework, but not pruning within a block. All other protocols remain unchanged. This two-in-a-way method is actually reduced into LayerDropping (Lin et al., 2018). We have the following findings: Firstly, implementing only skip connection manipulation will incur high instability. During optimization, the objective value fluctuates heavily due to the large architecture changes (adding or removing one whole block) and barely converges to a stable solution. Secondly, only applying skip manipulation will be damaging the accuracy remarkably, e.g., by nearly $4 \%$ drop on DeiT-Tiny. That is expected, as only manipulating the model architecture with such a coarse granularity (keeping or skipping a whole transformer block) is very inflexible and prone to collapse.
|
| 172 |
+
|
| 173 |
+
Pruning within a Block only. We then conduct experiments without using the gating control for skip connections. That leads to only integrating neuron-level and attention-head-level pruning, with knowledge distillation. It turns out to deliver much better accuracy than only skip manipulation, presumably owing to its finer-grained operation. However, it still has a margin behind our joint UVC method, as the latter also benefits from removing block-level redundancy a priori, which is recently observed to widely exist in fine-tuned transformers Phang et al. (2021). Overall, the ablation results endorse the effectiveness of jointly optimizing those components altogether.
|
| 174 |
+
|
| 175 |
+
Applying Individual Compression Methods Sequentially Our method is a joint optimization process for skip configuration manipulation and pruning, but is this joint optimization necessary?
|
| 176 |
+
|
| 177 |
+
To address this curiosity, we mark Prune Skip as the process of pruning first, manipulating skip configuration follows, while Skip Prune vice versa. Note that Skip Prune $7 1 . 4 9 \% 4 9 . 3 9 \%$ denotes the pipeline that use skip configuration first to enforce the model FLOPs to be $7 1 . 4 9 \%$ of the original FLOPs, then apply pruning to further compress the model to $4 9 . 3 9 \%$ . Without loss of generality, we approximate both the pruning procedure and skipping procedure to compress $70 \%$ of the previous model, which will approximately result in a model with $50 \%$ of the original FLOPs. Based on this, we implement: $( i )$ Skip Prune $7 1 . 4 9 \% \to 4 9 . 3 9 \%$ It first compresses the model to $71 \%$ by skipping then applies pruning on the original model and results in the worse performance at $6 6 . 8 4 \%$ . (ii)Prune Skip $6 9 . 9 6 \% 5 4 . 8 8 \%$ It applies pruning to $70 \%$ FLOPs then skipping follows. We observe that applying pruning first can stabilize the choice of skip configuration and result in a top-1 accuracy of $6 9 . 6 8 \%$ . Both results endorse the superior trade-off found by UVC.
|
| 178 |
+
|
| 179 |
+
Furthermore, we design a better setting (Prune Skip $6 3 . 2 5 \% 5 0 . 7 3 \%$ ) to simulate the compression ratio found by UVC. Details can be found in Appendix. The obtained result is much better than previous ones, but still at a $1 \%$ performance gap from the result provided by UVC. We assign the extra credit to jointly optimizing the architecture and model weights.
|
| 180 |
+
|
| 181 |
+
# 5 CONCLUSION
|
| 182 |
+
|
| 183 |
+
In this paper, we propose UVC, a unified ViT compression framework that seamlessly assembles pruning, layer skipping, and knowledge distillation as one. A budget-constrained optimization framework is formulated for joint learning. Experiments demonstrate that UVC can aggressively trim down the prohibit computational costs in an end-to-end way. Our future work will extend UVC to incorporating weight quantization as part of the end-to-end optimization as well.
|
| 184 |
+
|
| 185 |
+
# REFERENCES
|
| 186 |
+
|
| 187 |
+
Haoli Bai, Wei Zhang, Lu Hou, Lifeng Shang, Jing Jin, Xin Jiang, Qun Liu, Michael Lyu, and Irwin King. Binarybert: Pushing the limit of bert quantization. arXiv preprint arXiv:2012.15701, 2020.
|
| 188 |
+
|
| 189 |
+
Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013.
|
| 190 |
+
|
| 191 |
+
Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? arXiv preprint arXiv:2102.05095, 2021.
|
| 192 |
+
|
| 193 |
+
Niv Buchbinder and Joseph Naor. The design of competitive online algorithms via a primal-dual approach. Now Publishers Inc, 2009.
|
| 194 |
+
|
| 195 |
+
Aydin Buluc and John R Gilbert. Challenges and advances in parallel sparse matrix-matrix multiplication. In 2008 37th International Conference on Parallel Processing, pp. 503–510. IEEE, 2008.
|
| 196 |
+
|
| 197 |
+
Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, pp. 213–229. Springer, 2020.
|
| 198 |
+
|
| 199 |
+
Hanting Chen, Yunhe Wang, Tianyu Guo, Chang Xu, Yiping Deng, Zhenhua Liu, Siwei Ma, Chunjing Xu, Chao Xu, and Wen Gao. Pre-trained image processing transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12299–12310, 2021a.
|
| 200 |
+
|
| 201 |
+
Mark Chen, Alec Radford, Rewon Child, Jeffrey Wu, Heewoo Jun, David Luan, and Ilya Sutskever. Generative pretraining from pixels. In International Conference on Machine Learning, pp. 1691– 1703. PMLR, 2020a.
|
| 202 |
+
|
| 203 |
+
Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, and Michael Carbin. The lottery ticket hypothesis for pre-trained bert networks. Advances in neural information processing systems, 33:15834–15846, 2020b.
|
| 204 |
+
|
| 205 |
+
Tianlong Chen, Yu Cheng, Zhe Gan, Lu Yuan, Lei Zhang, and Zhangyang Wang. Chasing sparsity in vision transformers: An end-to-end exploration. arXiv preprint arXiv:2106.04533, 2021b.
|
| 206 |
+
|
| 207 |
+
Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019.
|
| 208 |
+
|
| 209 |
+
Zhigang Dai, Bolun Cai, Yugeng Lin, and Junying Chen. Up-detr: Unsupervised pre-training for object detection with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1601–1610, 2021.
|
| 210 |
+
|
| 211 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 212 |
+
|
| 213 |
+
Xin Dong, Shangyu Chen, and Sinno Pan. Learning to prune deep neural networks via layer-wise optimal brain surgeon. In Advances in Neural Information Processing Systems, pp. 4857–4867, 2017.
|
| 214 |
+
|
| 215 |
+
Yihe Dong, Jean-Baptiste Cordonnier, and Andreas Loukas. Attention is not all you need: Pure attention loses rank doubly exponentially with depth. arXiv preprint arXiv:2103.03404, 2021.
|
| 216 |
+
|
| 217 |
+
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 218 |
+
|
| 219 |
+
Angela Fan, Edouard Grave, and Armand Joulin. Reducing transformer depth on demand with structured dropout. arXiv preprint arXiv:1909.11556, 2019.
|
| 220 |
+
|
| 221 |
+
Trevor Gale, Erich Elsen, and Sara Hooker. The state of sparsity in deep neural networks. arXiv preprint arXiv:1902.09574, 2019.
|
| 222 |
+
|
| 223 |
+
Prakhar Ganesh, Yao Chen, Xin Lou, Mohammad Ali Khan, Yin Yang, Deming Chen, Marianne Winslett, Hassan Sajjad, and Preslav Nakov. Compressing large-scale transformer-based models: A case study on bert. arXiv preprint arXiv:2002.11985, 2020.
|
| 224 |
+
|
| 225 |
+
Mitchell A Gordon, Kevin Duh, and Nicholas Andrews. Compressing bert: Studying the effects of weight pruning on transfer learning. arXiv preprint arXiv:2002.08307, 2020.
|
| 226 |
+
|
| 227 |
+
Saurabh Goyal, Anamitra Roy Choudhury, Saurabh Raje, Venkatesan Chakaravarthy, Yogish Sabharwal, and Ashish Verma. Power-bert: Accelerating bert inference via progressive word-vector elimination. In International Conference on Machine Learning, pp. 3690–3699. PMLR, 2020.
|
| 228 |
+
|
| 229 |
+
Fu-Ming Guo, Sijia Liu, Finlay S Mungall, Xue Lin, and Yanzhi Wang. Reweighted proximal pruning for large-scale language representation. arXiv preprint arXiv:1909.12486, 2019.
|
| 230 |
+
|
| 231 |
+
Yi Guo, Huan Yuan, Jianchao Tan, Zhangyang Wang, Sen Yang, and Ji Liu. Gdp: Stabilized neural network pruning via gates with differentiable polarization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 5239–5250, 2021.
|
| 232 |
+
|
| 233 |
+
Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, Zhaohui Yang, Yiman Zhang, and Dacheng Tao. A survey on vision transformer, 2021.
|
| 234 |
+
|
| 235 |
+
Song Han, Huizi Mao, and William J Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015a.
|
| 236 |
+
|
| 237 |
+
Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In Advances in neural information processing systems, pp. 1135–1143, 2015b.
|
| 238 |
+
|
| 239 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 240 |
+
|
| 241 |
+
Yang He, Ping Liu, Ziwei Wang, Zhilan Hu, and Yi Yang. Filter pruning via geometric median for deep convolutional neural networks acceleration. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4340–4349, 2019.
|
| 242 |
+
|
| 243 |
+
Yihui He, Xiangyu Zhang, and Jian Sun. Channel pruning for accelerating very deep neural networks. In The IEEE International Conference on Computer Vision (ICCV), Oct 2017.
|
| 244 |
+
|
| 245 |
+
Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. Amc: Automl for model compression and acceleration on mobile devices. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 784–800, 2018.
|
| 246 |
+
|
| 247 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
|
| 248 |
+
|
| 249 |
+
Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, and Qun Liu. Dynabert: Dynamic bert with adaptive width and depth. arXiv preprint arXiv:2004.04037, 2020.
|
| 250 |
+
|
| 251 |
+
Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4700–4708, 2017.
|
| 252 |
+
|
| 253 |
+
Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. arXiv preprint arXiv:1611.01144, 2016.
|
| 254 |
+
|
| 255 |
+
Ding Jia, Kai Han, Yunhe Wang, Yehui Tang, Jianyuan Guo, Chao Zhang, and Dacheng Tao. Efficient vision transformers via fine-grained manifold distillation. arXiv preprint arXiv:2107.01378, 2021.
|
| 256 |
+
|
| 257 |
+
Yifan Jiang, Shiyu Chang, and Zhangyang Wang. Transgan: Two pure transformers can make one strong gan, and that can scale up. Advances in Neural Information Processing Systems, 34, 2021.
|
| 258 |
+
|
| 259 |
+
Taehyeon Kim, Jaehoon Oh, NakYil Kim, Sangwook Cho, and Se-Young Yun. Comparing kullback-leibler divergence and mean squared error loss in knowledge distillation. arXiv preprint arXiv:2105.08919, 2021.
|
| 260 |
+
|
| 261 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097–1105, 2012.
|
| 262 |
+
|
| 263 |
+
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. Albert: A lite bert for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942, 2019.
|
| 264 |
+
|
| 265 |
+
Yann LeCun, Bernhard Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne Hubbard, and Lawrence D Jackel. Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4):541–551, 1989.
|
| 266 |
+
|
| 267 |
+
Yann LeCun, John S Denker, and Sara A Solla. Optimal brain damage. In Advances in neural information processing systems, pp. 598–605, 1990.
|
| 268 |
+
|
| 269 |
+
Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. arXiv preprint arXiv:1810.02340, 2018.
|
| 270 |
+
|
| 271 |
+
Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient convnets. arXiv preprint arXiv:1608.08710, 2016.
|
| 272 |
+
|
| 273 |
+
Mingbao Lin, Rongrong Ji, Yan Wang, Yichen Zhang, Baochang Zhang, Yonghong Tian, and Ling Shao. Hrank: Filter pruning using high-rank feature map. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1529–1538, 2020.
|
| 274 |
+
|
| 275 |
+
Shaohui Lin, Rongrong Ji, Yuchao Li, Yongjian Wu, Feiyue Huang, and Baochang Zhang. Accelerating convolutional networks via global & dynamic filter pruning. In IJCAI, pp. 2425–2432, 2018.
|
| 276 |
+
|
| 277 |
+
Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through network slimming. In ICCV, 2017.
|
| 278 |
+
|
| 279 |
+
Jian-Hao Luo, Jianxin Wu, and Weiyao Lin. Thinet: A filter level pruning method for deep neural network compression. In Proceedings of the IEEE international conference on computer vision, pp. 5058–5066, 2017.
|
| 280 |
+
|
| 281 |
+
Paul Michel, Omer Levy, and Graham Neubig. Are sixteen heads really better than one? arXiv preprint arXiv:1905.10650, 2019.
|
| 282 |
+
|
| 283 |
+
Asit Mishra and Debbie Marr. Apprentice: Using knowledge distillation techniques to improve low-precision network accuracy. In International Conference on Learning Representations, 2018.
|
| 284 |
+
|
| 285 |
+
Bowen Pan, Yifan Jiang, Rameswar Panda, Zhangyang Wang, Rogerio Feris, and Aude Oliva. Ia-red2: Interpretability-aware redundancy reduction for vision transformers. arXiv preprint arXiv:2106.12620, 2021a.
|
| 286 |
+
|
| 287 |
+
Zizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He, and Jianfei Cai. Scalable vision transformers with hierarchical pooling. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 377–386, 2021b.
|
| 288 |
+
|
| 289 |
+
Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, pp. 4055–4064. PMLR, 2018.
|
| 290 |
+
|
| 291 |
+
Jason Phang, Haokun Liu, and Samuel R Bowman. Fine-tuned transformers show clusters of similar representations across layers. arXiv preprint arXiv:2109.08406, 2021.
|
| 292 |
+
|
| 293 |
+
Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? arXiv preprint arXiv:2108.08810, 2021.
|
| 294 |
+
|
| 295 |
+
Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.
|
| 296 |
+
|
| 297 |
+
Jiayi Shen, Haotao Wang, Shupeng Gui, Jianchao Tan, Zhangyang Wang, and Ji Liu. Umec: Unified model and embedding compression for efficient recommendation systems. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum? id $=$ BM---bH_RSh.
|
| 298 |
+
|
| 299 |
+
Yehui Tang, Yunhe Wang, Yixing Xu, Dacheng Tao, Chunjing Xu, Chao Xu, and Chang Xu. Scop: Scientific control for reliable neural network pruning. arXiv preprint arXiv:2010.10732, 2020.
|
| 300 |
+
|
| 301 |
+
Yehui Tang, Kai Han, Yunhe Wang, Chang Xu, Jianyuan Guo, Chao Xu, and Dacheng Tao. Patch slimming for efficient vision transformers. arXiv preprint arXiv:2106.02852, 2021.
|
| 302 |
+
|
| 303 |
+
Katsuya Tono, Akiko Takeda, and Jun-ya Gotoh. Efficient dc algorithm for constrained sparse optimization. arXiv preprint arXiv:1701.08498, 2017.
|
| 304 |
+
|
| 305 |
+
Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 306 |
+
|
| 307 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017.
|
| 308 |
+
|
| 309 |
+
Huiyu Wang, Yukun Zhu, Hartwig Adam, Alan Yuille, and Liang-Chieh Chen. Max-deeplab: End-toend panoptic segmentation with mask transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5463–5474, 2021a.
|
| 310 |
+
|
| 311 |
+
Yuqing Wang, Zhaoliang Xu, Xinlong Wang, Chunhua Shen, Baoshan Cheng, Hao Shen, and Huaxia Xia. End-to-end video instance segmentation with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8741–8750, 2021b.
|
| 312 |
+
|
| 313 |
+
Longhui Wei, An Xiao, Lingxi Xie, Xiaopeng Zhang, Xin Chen, and Qi Tian. Circumventing outliers of autoaugment with knowledge distillation. In Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part III 16, pp. 608–625. Springer, 2020.
|
| 314 |
+
|
| 315 |
+
Xia Xiao, Zigeng Wang, and Sanguthevar Rajasekaran. Autoprune: Automatic network pruning by regularizing auxiliary parameters. In Advances in Neural Information Processing Systems, pp. 13681–13691, 2019.
|
| 316 |
+
|
| 317 |
+
Canwen Xu, Wangchunshu Zhou, Tao Ge, Furu Wei, and Ming Zhou. Bert-of-theseus: Compressing bert by progressive module replacing. arXiv preprint arXiv:2002.02925, 2020.
|
| 318 |
+
|
| 319 |
+
Fuzhi Yang, Huan Yang, Jianlong Fu, Hongtao Lu, and Baining Guo. Learning texture transformer network for image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5791–5800, 2020a.
|
| 320 |
+
|
| 321 |
+
Haichuan Yang, Yijun Huang, Lam Tran, Ji Liu, and Shuai Huang. On benefits of selection diversity via bilevel exclusive sparsity. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5945–5954, 2016.
|
| 322 |
+
|
| 323 |
+
Haichuan Yang, Shupeng Gui, Yuhao Zhu, and Ji Liu. Automatic neural network compression by sparsity-quantization joint learning: A constrained optimization-based approach. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2178–2188, 2020b.
|
| 324 |
+
|
| 325 |
+
Ruichi Yu, Ang Li, Chun-Fu Chen, Jui-Hsin Lai, Vlad I Morariu, Xintong Han, Mingfei Gao, Ching-Yung Lin, and Larry S Davis. Nisp: Pruning networks using neuron importance score propagation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 9194–9203, 2018.
|
| 326 |
+
|
| 327 |
+
Shixing Yu, Zhewei Yao, Amir Gholami, Zhen Dong, Michael W Mahoney, and Kurt Keutzer. Hessian-aware pruning and optimal neural implant. arXiv preprint arXiv:2101.08940, 2021.
|
| 328 |
+
|
| 329 |
+
Li Yuan, Francis EH Tay, Guilin Li, Tao Wang, and Jiashi Feng. Revisiting knowledge distillation via label smoothing regularization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 3903–3911, 2020.
|
| 330 |
+
|
| 331 |
+
Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet, 2021.
|
| 332 |
+
Minjia Zhang and Yuxiong He. Accelerating training of transformer-based language models with progressive layer dropping. arXiv preprint arXiv:2010.13369, 2020.
|
| 333 |
+
Wei Zhang, Lu Hou, Yichun Yin, Lifeng Shang, Xiao Chen, Xin Jiang, and Qun Liu. Ternarybert: Distillation-aware ultra-low bit bert. arXiv preprint arXiv:2009.12812, 2020.
|
| 334 |
+
Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip Torr, and Vladlen Koltun. Point transformer. arXiv preprint arXiv:2012.09164, 2020a.
|
| 335 |
+
Yang Zhao, Xiaohan Chen, Yue Wang, Chaojian Li, Haoran You, Yonggan Fu, Yuan Xie, Zhangyang Wang, and Yingyan Lin. Smartexchange: Trading higher-cost memory storage/access for lower-cost computation. In 2020 ACM/IEEE 47th Annual International Symposium on Computer Architecture (ISCA), pp. 954–967. IEEE, 2020b.
|
| 336 |
+
Minghang Zheng, Peng Gao, Xiaogang Wang, Hongsheng Li, and Hao Dong. End-to-end object detection with adaptive clustering transformer. arXiv preprint arXiv:2011.09315, 2020.
|
| 337 |
+
Daquan Zhou, Bingyi Kang, Xiaojie Jin, Linjie Yang, Xiaochen Lian, Zihang Jiang, Qibin Hou, and Jiashi Feng. Deepvit: Towards deeper vision transformer, 2021.
|
| 338 |
+
Mingjian Zhu, Kai Han, Yehui Tang, and Yunhe Wang. Visual transformer pruning. arXiv preprint arXiv:2104.08500, 2021.
|
| 339 |
+
Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020.
|
| 340 |
+
|
| 341 |
+
# A APPENDIX
|
| 342 |
+
|
| 343 |
+
# A.1 UPDATING POLICY
|
| 344 |
+
|
| 345 |
+
Updating Weights $W$ Different from other pruning methods in CNN that use fixed pre-trained weights to select the pruned channels/groups with certain pre-defined metrics (Lin et al., 2020; He et al., 2019), here our subproblem could be considered as following dynamic pruning criteria that will be updated along. Specifically, we solve the following subproblem:
|
| 346 |
+
|
| 347 |
+
$$
|
| 348 |
+
\mathrm { P r o x } _ { \eta _ { 1 } S ( y , s , p , r , W ) } ( \bar { W } ) = \mathrm { a r g m i n } _ { W } \frac { 1 } { 2 } \left. W - \bar { W } \right. ^ { 2 } + \eta _ { 1 } S \left( y , s , p , r , W \right) ,
|
| 349 |
+
$$
|
| 350 |
+
|
| 351 |
+
where $\bar { W } = W ^ { t } - \eta _ { 1 } \hat { \nabla } _ { W } \ell \left( W ^ { t } \right)$ . The solution admits a bi-level projection (Yang et al., 2016):
|
| 352 |
+
|
| 353 |
+
$$
|
| 354 |
+
\begin{array}{c} W _ { \cdot , g _ { i j } } ^ { ( l , 1 ) * } = \left\{ \frac { \bar { W } _ { \cdot , g _ { i j } } ^ { ( l , 1 ) } , } { 1 + 2 \eta _ { 1 } p ^ { ( l , i ) } } , \quad \mathrm { ~ i f ~ } \Big \| \bar { W } _ { \cdot , g _ { i j } } ^ { ( l , 1 ) } \Big \| _ { 2 } ^ { 2 } \geq \Big \| W _ { \cdot , g _ { i \mathrm { l e a s t } \cdot \lceil r ^ { ( l , i ) } \rceil } } ^ { ( l , 1 ) } \Big \| _ { 2 } ^ { 2 } , \end{array} \right.
|
| 355 |
+
$$
|
| 356 |
+
|
| 357 |
+
$$
|
| 358 |
+
W _ { \cdot , g _ { i } } ^ { ( l , 1 ) * } = \left\{ \frac { \bar { W } _ { \cdot , g _ { i } } ^ { ( l , 1 ) } , } { 1 + 2 \eta _ { 1 } y ^ { ( l , 1 ) } } \right. \quad \mathrm { i f } \left\| \bar { W } _ { \cdot , g _ { i } } ^ { ( l , 1 ) } \right\| _ { 2 } ^ { 2 } \geq \left\| W _ { \cdot , g _ { \mathrm { l e a s i - } \lceil s ^ { ( l , 1 ) } \rceil } } ^ { ( l , 1 ) } \right\| _ { 2 } ^ { 2 } ,
|
| 359 |
+
$$
|
| 360 |
+
|
| 361 |
+
$$
|
| 362 |
+
W _ { \cdot , i } ^ { ( l , 3 ) * } = \{ \frac { \bar { W } _ { \cdot , i } ^ { ( l , 3 ) } , } { 1 + 2 \eta _ { 1 } y ^ { ( l , 3 ) } } , \quad \mathrm { i f } \| \bar { W } _ { \cdot , i } ^ { ( l , 3 ) } \| _ { 2 } ^ { 2 } \geq \| W _ { \cdot , \mathrm { l e a s t - } \lceil s ^ { ( l , 3 ) } \rceil } ^ { ( l , 3 ) } \| _ { 2 } ^ { 2 } ,
|
| 363 |
+
$$
|
| 364 |
+
|
| 365 |
+
where least- $j$ denotes the index of the (group) columns of $W$ that have $j$ -th least (group) norm.
|
| 366 |
+
|
| 367 |
+
Updating gt $\pmb { g t } ^ { l } = ( \pmb { g t } ^ { ( l , 0 ) } , \pmb { g t } ^ { ( l , 1 ) } )$ are used to generate a binomial categorical distribution to decide whether pass through block $l$ or directly skip it. As the two variables are discrete, we apply the renowned Gumbel-Softmax (GSM) trick (Jang et al., 2016) to obtain differentiable and polarized sampling. For $\pmb { g t } ^ { l } = ( \pmb { g t } ^ { ( l , 0 ) } , \pmb { g t } ^ { ( l , 1 ) } )$ , given i.i.d Gumbel noise $g$ drawn from $G u m b e l ( 0 , 1 )$ distribution, a soft categorical sample can be drawn by
|
| 368 |
+
|
| 369 |
+
$$
|
| 370 |
+
G ^ { l } = G S M ( g t ^ { l } ) = S o f t m a x ( ( l o g ( \pmb { g } t ^ { l } ) + g ) / \tau ) \in \mathbb { R } ^ { 2 } ,
|
| 371 |
+
$$
|
| 372 |
+
|
| 373 |
+
where $G ^ { ( l , 1 ) }$ refers to the continuous possibility to preserve current block $l$ while $G ^ { ( l , 0 ) }$ to drop it.
|
| 374 |
+
Directly applying the chain rule on $\scriptstyle { \mathcal { L } } ( W , g t )$ w.r.t $_ { g t }$ can now calculate $\tilde { \nabla } _ { g t } \mathcal { L } ( W ^ { t } , g t ^ { t } )$ .
|
| 375 |
+
|
| 376 |
+
Also, $_ { g t }$ participates in the calculation of FLOPs, by deciding whether to pass certain blocks. Since passing or skipping a block is a dynamic choice during training, we estimate the FLOPs of the $l$ -th block $\mathcal { R } _ { \mathrm { F l o p s } } ( s , r , g t )$ with skip gating by using its expectation. To be specific,
|
| 377 |
+
|
| 378 |
+
$$
|
| 379 |
+
\begin{array} { r l } & { \mathcal { R } _ { \mathrm { F l o p s } _ { l } } ( s _ { l } , r _ { l } , g t _ { l } ) = \mathbb { E } [ \mathcal { R } _ { \mathrm { F l o p s } _ { l } } ( s _ { l } , r _ { l } , g t _ { l } ) | s _ { l } , r _ { l } ] } \\ & { \quad \quad \quad = G ^ { ( l , 0 ) } \mathcal { R } _ { \mathrm { F l o p s } _ { l } } ( I d e n t i t y ) + G ^ { ( l , 1 ) } \mathcal { R } _ { \mathrm { F l o p s } _ { l } } ( s _ { l } , r _ { l } ) } \\ & { \quad \quad \quad = G ^ { ( l , 1 ) } \mathcal { R } _ { \mathrm { F l o p s } _ { l } } ( s _ { l } , r _ { l } ) } \end{array}
|
| 380 |
+
$$
|
| 381 |
+
|
| 382 |
+
Hence, updating policy for $_ { g t }$ is formulated as:
|
| 383 |
+
|
| 384 |
+
$$
|
| 385 |
+
\begin{array} { r l } & { g t ^ { t + 1 } = g t ^ { t } - \eta _ { 4 } \left( \tilde { \nabla } _ { g t } \mathcal { L } \left( W , g t ^ { t } \right) + \tilde { \nabla } _ { g t } z \left( R _ { \mathrm { F l o p s } } \left( s , r , g t ^ { t } \right) - R _ { \mathrm { b u d g e t } } \right) \right) } \\ & { \qquad = g t ^ { t } - \eta _ { 4 } \left( \tilde { \nabla } _ { g t } \mathcal { L } \left( W , g t ^ { t } \right) + \tilde { \nabla } _ { g t } z R _ { \mathrm { F l o p s } } ( s , r ) G S M ( g t ^ { t } ) \right) } \end{array}
|
| 386 |
+
$$
|
| 387 |
+
|
| 388 |
+
Updating $\pmb { s }$ and $\mathbfit { \Delta } \mathbf { r }$ Similar to the updating policy of $_ { g t }$ , one gradient term w.r.t. $\pmb { s }$ and $\pmb { r }$ are $\tilde { \nabla } _ { s } z \left( R _ { \mathrm { F l o p s } } \left( s , r , g t \right) - R _ { \mathrm { b u d g e t } } \right)$ , $\tilde { \nabla } _ { \boldsymbol { r } } z \left( R _ { \mathrm { F l o p s } } \left( s , \boldsymbol { r } , \boldsymbol { g } t \right) - R _ { \mathrm { b u d g e t } } \right)$ respectively.
|
| 389 |
+
|
| 390 |
+
The other gradient term is calculated on the unified formulation Eqn. 5. Refer to that, $\pmb { s }$ and $\mathbfit { \Delta } \mathbf { r }$ are floating-point numbers during the optimization process. In practise, ceiling functions are operated on them to determine the integer number that should be pruned for each layer. However, the ceiling function ⌈.⌉ is non-differentiable. To solve this problem, we implement Straight-through estimator(STE) (Bengio et al., 2013) to provide a proxy of the gradient when performing the backward pass. We set $\frac { \tilde { \partial } \lceil s \rceil } { \tilde { \partial } s } = 1$
|
| 391 |
+
|
| 392 |
+
As for $\| \mathbf { W } _ { \cdot , g } \| _ { s , 2 } ^ { 2 }$ term in the sparsity loss, we use $\lVert \boldsymbol { W } _ { \cdot , g } \rVert _ { s + 1 , 2 } ^ { 2 } - \lVert \boldsymbol { W } _ { \cdot , g } \rVert _ { s , 2 } ^ { 2 }$ as the proxy of partial derivative of $\| \mathbf { W } _ { \cdot , g } \| _ { s , 2 } ^ { 2 }$ with respect to $s$ :
|
| 393 |
+
|
| 394 |
+
$$
|
| 395 |
+
\frac { \tilde { \partial } \left\| W _ { \cdot , g } \right\| _ { s , 2 } ^ { 2 } } { \tilde { \partial } s } = \left\| W _ { \cdot , g _ { \mathrm { l e a s t } \cdot \mathrm { m i n } \left\{ \mathrm { D i m } ( W ) , s + 1 \right\} } } \right\| _ { 2 } ^ { 2 } ,
|
| 396 |
+
$$
|
| 397 |
+
|
| 398 |
+
where $\operatorname { D i m } ( W )$ is the number of column groups of $W$ . The other two terms in the sparsity loss can be processed similarly.
|
| 399 |
+
|
| 400 |
+
# A.2 MAIN ALGORITHM
|
| 401 |
+
|
| 402 |
+
The general updating policy follows the idea of primal-dual algorithm. The full algorithm is outlined in Algorithm 1.
|
| 403 |
+
|
| 404 |
+
<table><tr><td></td><td colspan="2">Algorithm1: Gradient-based algorithm to solve problem (5) for Unified ViT Compression.</td></tr><tr><td colspan="2">Input: Resource budget Rbudget,learning rates n1, N2, N3, N4, N5, 76, number of total iterations T. Result: Transformer pruned weights W*.</td></tr><tr><td colspan="2">Initialize t=1,W1;</td></tr><tr><td colspan="2">// random or a pre-trained dense model 2 fort←1tordo</td></tr><tr><td colspan="2">Wt+1= ProxmS(yt,st,pt,rt,wt) (Wt -n1VwL(Wt,gt)); 3</td></tr><tr><td colspan="2">// Proximal-SGD gt+1=gt-n2(sS(y+,st,pt,rt,gtt,Wt+1)+zt(RFlops(st,rt,gt)-Rbudget)); 4</td></tr><tr><td colspan="2">// Gradient (STE) Descent</td></tr><tr><td colspan="2">rt+1=rt-n3(S(y,st+1,pt,rt,gtt,Wt+1)+r2+(RFlops(st+1,rt,gt)-Rbudget)); 5</td></tr><tr><td colspan="2">// Gradient (STE) Descent</td></tr><tr><td colspan="2">gt+1=gt-nA ((gtC(Wt+1,gt²)+gtzt (RFlps(8+1,rt+1,gt)-Rbudgt); 6</td></tr><tr><td colspan="2">// Gradient Descent 2t+1=2t+n7(RFlops(st+1,rt+1,gt+1)-Rbudget); 7</td></tr><tr><td colspan="2">// Gradient Ascent 8 // Gradient Ascent</td></tr><tr><td colspan="2">=y(l,1)+s y(l,1)t+1 [[s(l,1)t+1] ; ,2</td></tr><tr><td colspan="2" rowspan="2">yl,3)+ns y(,3)t+1 W(,3)t+1|12</td></tr><tr><td colspan="2">,∀l=1,,L ,</td></tr><tr><td>p(,i)t+1</td><td>[s(l,3)t+1], ,2 W(1)t+1|2 ∀i=1,,H,∀l=1,,L</td></tr></table>
|
| 405 |
+
|
| 406 |
+
10 W ∗ = W
|
| 407 |
+
|
| 408 |
+
# A.3 VISUALIZATION
|
| 409 |
+
|
| 410 |
+
To reveal more intuitions how UVC optimize the architecture, we present two groups of visualizations:
|
| 411 |
+
|
| 412 |
+
• Sparse connectivity patterns: We first visualize the sparse connectivity patterns in Fig. 3 (a), i.e, how many attention heads are preserved, and how they (sparsely) distribute over all blocks. For the smaller DeiT-Tiny model, UVC tends to more evenly drop attention heads across layers; meanwhile, for the larger DeiT-Base, UVC clearly prefers to drop more attention heads in the early layers.
|
| 413 |
+
|
| 414 |
+

|
| 415 |
+
Figure 3: Visualizations of: (a) sparse attention head patterns for DeiT-Tiny (left) and DeiT-Base (right); (b) skip connection patterns for DeiT-Tiny (top) and DeiT-Base (bottom).
|
| 416 |
+
|
| 417 |
+
Table 3: Result with distillation token of DeiT
|
| 418 |
+
|
| 419 |
+
<table><tr><td>Model</td><td>Method</td><td>Top-1 Acc. (%)</td><td>FLOPs(G)</td><td>FLOPs remained(%)</td></tr><tr><td>DeiT-Tiny</td><td>Baseline</td><td>74.4</td><td>1.3</td><td>100</td></tr><tr><td>(dist token)</td><td>UvC</td><td>74.1(-0.3)</td><td>0.66</td><td>50.58</td></tr></table>
|
| 420 |
+
|
| 421 |
+
• Skip connection patterns: We next draw the result of skip connection patterns Fig. 3 (b), showing what layers are learned to be directly skipped under unified optimization. We observe UVC’s obvious tendency to drop later layers, which coincides nicely with the observations by (Phang et al., 2021; Zhou et al., 2021).
|
| 422 |
+
|
| 423 |
+
As is observed in Fig. 3, DeiT-Tiny discarded 2 blocks in total, which results in $84 \%$ of compression ratio. Thus, in Sec. 4.2, to design an optimal architecture for sequentially applying compression methods, we first prune the DeiT-Tiny to $63 \%$ and apply skipping to indulge a $50 \%$ FLOPs’ model to mimick the behavior of UVC.
|
| 424 |
+
|
| 425 |
+
# A.4 EXTRA RESULTS
|
| 426 |
+
|
| 427 |
+
In this section, we present the result of DeiT with distillation token to extract the best performance vision transformer can reach under UVC framework. Results are shown in 3.
|
parse/dev/APuPRxjHvZ/APuPRxjHvZ.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/APuPRxjHvZ/APuPRxjHvZ_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/APuPRxjHvZ/APuPRxjHvZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/APuPRxjHvZ/APuPRxjHvZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/Bct2f8fRd8S/Bct2f8fRd8S.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning
|
| 2 |
+
|
| 3 |
+
Xi Ye Greg Durrett Department of Computer Science The University of Texas at Austin {xiye,gdurrett}@cs.utexas.edu
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Does prompting a large language model (LLM) like GPT-3 with explanations improve in-context learning? We study this question on two NLP tasks that involve reasoning over text, namely question answering and natural language inference. We test the performance of four LLMs on three textual reasoning datasets using prompts that include explanations in multiple different styles. For these tasks, we find that including explanations in the prompts for OPT, GPT-3 (davinci), and InstructGPT (text-davinci-001) only yields small to moderate accuracy improvements over standard few-show learning. However, text-davinci-002 is able to benefit more substantially.
|
| 8 |
+
|
| 9 |
+
We further show that explanations generated by the LLMs may not entail the models’ predictions nor be factually grounded in the input, even on simple tasks with extractive explanations. However, these flawed explanations can still be useful as a way to verify LLMs’ predictions post-hoc. Through analysis in our three settings, we show that explanations judged by humans to be good—logically consistent with the input and the prediction—more likely cooccur with accurate predictions. Following these observations, we train calibrators using automatically extracted scores that assess the reliability of explanations, allowing us to improve performance post-hoc across all of our datasets.1
|
| 10 |
+
|
| 11 |
+

|
| 12 |
+
Figure 1: Prompting GPT-3 with explanations. By including explanations in the in-context examples, we can cause GPT-3 to generate an explanation for the test example as well. In this case, the generated explanation is nonfactual, despite the simple reasoning involved here. However, we show this nonfactuality actually provides a signal that can help calibrate the model.
|
| 13 |
+
|
| 14 |
+
# 1 Introduction
|
| 15 |
+
|
| 16 |
+
Recent scaling of pre-training has empowered large language models (LLMs) to learn NLP tasks from just a few training examples “in context,” without updating the model’s parameters (Brown et al., 2020). However, this learning process is still poorly understood: models are biased by the order of in-context examples (Zhao et al., 2021) and may not leverage the instructions or even the labels of the examples in the ways one expects (Min et al., 2022; Webson and Pavlick, 2022). Existing tools for interpreting model predictions have high computational cost (Ribeiro et al., 2016) or require access to gradients (Simonyan et al., 2014; Sundararajan et al., 2017), making them unsuitable for investigating in-context learning or explaining the predictions of prompted models.
|
| 17 |
+
|
| 18 |
+
One appealing way to gain more insight into predictions obtained through in-context learning is to let the language model “explain itself” (Nye et al., 2021; Wei et al., 2022; Chowdhery et al., 2022; Marasovic et al., 2022; Lampinen et al., 2022). In addition to input-label training pairs in context, one ´ can prompt the language model with an explanation for each pair and trigger the model to generate an explanation for its prediction (Figure 1). Prompting with explanations introduces much richer information compared to using labels alone, which might guide the inference process and allow the model to learn more information from the examples.
|
| 19 |
+
|
| 20 |
+
In this work, we investigate the nature of the explanations that LLMs generate and whether they can improve few-shot in-context learning for textual reasoning tasks, specifically QA and NLI. Recent prior work that finds success with this approach largely targets symbolic reasoning tasks with a very different structure, such as math word problem solving (Nye et al., 2021; Wei et al., 2022). We experiment on three different datasets spanning QA and NLI with four LLMs: OPT, GPT-3 (davinci), InstructGPT (text-davinci-001), and text-davinci-002. The results suggest that explanations only substantially improve accuracy for text-davinci-002, but give a smaller improvement or even hurt the performance with the other LLMs.
|
| 21 |
+
|
| 22 |
+
Surprisingly, we find that the explanations generated by LLMs can be unreliable, even for a very simple synthetic dataset. We evaluate the explanations along two axes: factuality, whether the explanation is correctly grounded in the input, and consistency, whether the explanation entails the final prediction. LLMs tend to generate consistent explanations that account for the predictions, but the explanations may not be factual, as as shown in Figure 1. Furthermore, our analysis suggests an unreliable explanation more likely indicates a wrong prediction compared to a reliable explanation.
|
| 23 |
+
|
| 24 |
+
Despite LLMs’ failures here, we can still benefit from model-generated explanations by using them for calibration. If we are able to automatically assess the reliability of an explanation, we can allow an LLM to return a null answer when its explanation is unreliable, since the prediction in this case is less likely to be correct. Unfortunately, there is no automated way to perfectly assess the reliability, but we can extract features that approximately reflect it. We use these features to calibrate InstructGPT’s2 predictions, and successfully improve the in-context learning performance across all the datasets.
|
| 25 |
+
|
| 26 |
+
In summary, our main findings are: (1) Simply plugging explanations into the prompt does not always substantially boost the in-context learning performance for textual reasoning. (2) LLMs generate explanations consistent with their predictions, but these explanations might not be factually grounded in the inputs. (3) The factuality of an explanation can serve as an indicator for the correctness of the corresponding prediction. (4) Using features that can approximate the factuality of explanations, we successfully use explanations to improve the in-context learning performance across all tasks.
|
| 27 |
+
|
| 28 |
+
# 2 Does Prompting with Explanations Improve In-Context Learning?
|
| 29 |
+
|
| 30 |
+
In this paper, we specifically focus on tasks involving reasoning over natural language. These are tasks where explanations have been traditionally studied (Camburu et al., 2018; Rajani et al., 2019), but which are more complex than tasks like sentiment analysis which are well explained by extractive rationales (Zaidan et al., 2007; DeYoung et al., 2020). We experiment on two tasks, reading comprehension question answering (QA) and natural language inference (NLI), on three English-language datasets. For each dataset, we create a test set with 250 examples.
|
| 31 |
+
|
| 32 |
+
Figure 2: A SYNTH example and an E-SNLI example. See Figure 3 for ADVHOTPOT examples.
|
| 33 |
+
|
| 34 |
+
<table><tr><td>HINXS</td><td>Context: Question: Answer:</td><td>Christopher agrees with Kevin.Tifany agrees with Mathew.Mary hangs out with Danielle.James hangs out with Thomas.Kevin is a student.Matthew is a plumber.Danielle is a student. Thomas is a plumber. Who hangs out with a student? Explanation:Danielle is a student and Mary hangs out with Danielle.</td></tr><tr><td></td><td>Mary Premise:</td><td>A toddler in a green jersey is being folowed bya wheelchair bound woman in ared sweater past awooden bench.</td></tr><tr><td>IINS-3</td><td>Hypothesis: Label:</td><td>A toddler is walking near his wheelchair bound grandmother. Neither Explanation: the woman may not be his grandmother.</td></tr></table>
|
| 35 |
+
|
| 36 |
+
# 2.1 Datasets
|
| 37 |
+
|
| 38 |
+
Synthetic Multi-hop QA (SYNTH) In order to have a controlled setting where we can easily understand whether explanations are factual and consistent with the answer, we create a synthetic multi-hop QA dataset. Shown in Figure 2, each example in this dataset asks a bridge question (using the terminology of Yang et al. (2018)) over a context consisting of supporting facts paired with controlled distractors. This dataset is carefully designed to avoid spurious correlations, giving us full understanding over the correct reasoning process and the explanation for every example, which naturally consists of the two supporting sentences. See Appendix B for full details of this dataset.3
|
| 39 |
+
|
| 40 |
+
Adversarial HotpotQA (ADVHOTPOT) We also test on the English-language Adversarial HotpotQA dataset (Yang et al., 2018; Jiang and Bansal, 2019). We use the adversarially augmented version since InstructGPT achieves high performance on the distractor setting of the original dataset. We make a challenging set of examples by balancing sets of questions on which InstructGPT makes correct and incorrect predictions. The context of each question includes two ground truth supporting paragraphs and two adversarial paragraphs. Full details of preprocessing the ADVHOTPOT dataset can be found in Appendix C.
|
| 41 |
+
|
| 42 |
+
For ADVHOTPOT, we manually annotated explanations for the training examples. Figure 1 shows an example of such an explanation, highlighted in orange. We could use the supporting sentences as the explanations, but we found they are usually too verbose and not sufficient, e.g., with anaphors that resolve outside of the supporting sentences. Therefore, we manually annotate a set of explanations which clearly describe the reasoning path for each question.
|
| 43 |
+
|
| 44 |
+
E-SNLI E-SNLI (Camburu et al., 2018) is an English-language classification dataset commonly used to study explanations, released under the MIT license. Shown in Figure 2, each example consists of a premise and a hypothesis, and the task is to classify the hypothesis as entailed by, contradicted by, or neutral with respect to the premise. As a notable contrast to the other datasets, the explanations here are more abstract natural language written by human annotators, as opposed to mostly constructed from extracted snippets of context.
|
| 45 |
+
|
| 46 |
+
# 2.2 Baselines
|
| 47 |
+
|
| 48 |
+
We study the effectiveness of plugging in explanations by comparing the in-context learning performance of prompting with or without explanations. Prompting without explanations resembles the standard few-shot in-context learning approach (Few-Shot). To incorporate explanations into the prompt, we consider the following two most commonly used paradigms:
|
| 49 |
+
|
| 50 |
+
Explain-then-Predict (E-P) prepends an explanation before the label (Figure 1). The language model is expected to generate an explanation first followed by the prediction. The prompting style of past work involving computational traces can be categorized into this paradigm, including Nye et al. (2021) and Wei et al. (2022). This approach is also called a pipeline model in other literature on training models using explanations (Jacovi and Goldberg, 2021; Wiegreffe et al., 2021).
|
| 51 |
+
|
| 52 |
+
Table 1: Results of prompting with explanations on four large language models. Using explanations leads to small to moderate improves performance on OPT, GPT-3, and InstructGPT, and has more prominent effects on text-davinci-002.
|
| 53 |
+
|
| 54 |
+
<table><tr><td colspan="2"></td><td>SYNTH</td><td>ADVHOTPOT</td><td>E-SNLI</td></tr><tr><td rowspan="3">OPT (175B)</td><td>FEW-SHOT</td><td>40.52.8</td><td>49.72.6</td><td>44.03.8</td></tr><tr><td>E-P</td><td>29.60.5</td><td>52.66.5</td><td>39.37.8</td></tr><tr><td>P-E</td><td>40.22.6</td><td>43.34.5</td><td>43.41.6</td></tr><tr><td rowspan="3">GPT-3</td><td>FEW-SHOT</td><td>49.50.6</td><td>49.16.2</td><td>43.35.7</td></tr><tr><td>E-P</td><td>47.12.8</td><td>54.14.1</td><td>40.44.5</td></tr><tr><td>P-E</td><td>51.31.8</td><td>48.74.6</td><td>48.72.4</td></tr><tr><td rowspan="3">InstructGPT</td><td>FEW-SHOT</td><td>54.83.1</td><td>53.22.3</td><td>56.82.0</td></tr><tr><td>E-P</td><td>58.52.1</td><td>58.24.1</td><td>41.82.5</td></tr><tr><td>P-E</td><td>53.61.0</td><td>51.52.4</td><td>59.41.0</td></tr><tr><td rowspan="3">text-davinci-002</td><td>FEW-SHOT</td><td>72.01.4</td><td>77.73.2</td><td>69.12.0</td></tr><tr><td>E-P</td><td>86.93.8</td><td>82.45.1</td><td>75.67.6</td></tr><tr><td>P-E</td><td>81.12.8</td><td>77.24.8</td><td>69.45.0</td></tr></table>
|
| 55 |
+
|
| 56 |
+
Predict-then-Explain (P-E) generates the explanation after the prediction. Unlike E-P, the predicted explanation does not influence the predicted label, since we use greedy inference and the explanation comes afterwards. However, the explanations in the prompt still impact the predictions.
|
| 57 |
+
|
| 58 |
+
# 2.3 Setup
|
| 59 |
+
|
| 60 |
+
For few-shot learning, we use roughly the maximum allowed shots in the prompt that can fit the length limit of OPT (Zhang et al., 2022) and GPT-3 (Brown et al., 2020), which is 16 for SYNTH, 6 for ADVHOTPOT, and 32 for E-SNLI, respectively.4 We experiment with four LLMs, including OPT (175B), GPT-3 (davinci), InstructGPT (text-davinci-001), and text-davinci-002. OPT and GPT-3 are trained using the standard causal language modeling objective, whereas InstructGPT and text-davinci-002 are trained with special instruction data and human annotations. We generate outputs with greedy decoding (temperature set to be 0). Our prompt formats follow those in Brown et al. (2020). The explanations are inserted before/after the prediction with conjunction words like because. Please refer to Appendix A for full prompts. Because the results of in-context learning vary with the examples presented in the input prompt, for each dataset, we randomly sample multiple groups of training shots, and report the mean and standard deviation of the results (subscript). We use 5 groups for InstructGPT, the primary LM we are using throughout our paper, and 3 groups for the rest.
|
| 61 |
+
|
| 62 |
+
# 2.4 Results
|
| 63 |
+
|
| 64 |
+
As shown in Table 1, OPT, GPT-3, and InstructGPT show small to moderate improvements from using explanations for textual reasoning tasks. On the two QA tasks, SYNTH and ADVHOTPOT, E-P improves the performance of InstructGPT, the best among these three LMs, from 54.8 to 58.5 and 56.8 to 59.4, respectively.5 On E-SNLI, P-E outperforms FEW-SHOT by 2.6, whereas E-P substantially lags FEW-SHOT. Comparing E-P against P-E on SYNTH and E-SNLI, E-P typically degrades performance (except on SYNTH for InstructGPT) and P-E is inconsistent across the different models, whereas E-P consistently leads to performance improvements on ADVHOTPOT. There is no single winner between the two paradigms of using explanations; choosing the most effective way is task-specific. Overall, vanilla LLMs (OPT and GPT-3) see limited benefit from producing explanations, and even the Instruct-series InstructGPT does not see substantial improvements.
|
| 65 |
+
|
| 66 |
+
The only exception is text-davinci-002. text-davinci-002 greatly benefits from explanations in the prompt across all three tasks, and E-P is consistently more effective than P-E. However, it is unclear what contributes to this difference. As far as we are aware, the differences between text-davinci-002 and InstructGPT are not described in any publication or blog post.6 Comparing GPT-3 and InstructGPT, we see the move to Instruct series models is not sufficient to explain the difference. Given the lack of transparency with this model, we hesitate to make scientific claims about the results it yields.
|
| 67 |
+
|
| 68 |
+
Figure 3: Explanations generated for ADVHOTPOT. InstructGPT may generate nonfactual explanations containing hallucination (red) or inconsistent explanations contradicting the answer (red).
|
| 69 |
+
|
| 70 |
+
<table><tr><td>naetatr</td><td>Pedro Rubens! The individual chapters were published into 64 "tankobon"by Kodansha. Yoko Shoji(born4June195o,in Mobara,Chiba)isaJapanese mangaartist.She is bestknown for writing "Seito Shokun! Mulder Scully!The individual chapters were published into 14 "tankobon" by Kodansha. Seito Shokun! The individual chapters were published into 24 "tankobon" by Kodansha between. Q:How many chapters does Yoko Shoji's most famous manga have?</td></tr><tr><td>Trrnsrtetetr</td><td>A: First,Yoko Shoji's mostfamous manga is "Seito Shokun!".Second,"Seito Shokun!"has 64chapters.The answer is 64. Tim Minchin (December 29,1808 July 31,1875) was the President of the United States. Andrew Johnson (December 29,1808 July 31,1875) was the President of the United States. George Andrew Atzerodt (June 12,1835-July 7,1865)was a conspirator, with John Wilkes Booth. Jesse Andrew Williams (June 12,1835-July7,1865) was a conspirator, with John Wilkes Booth. Q: Who was older, George Atzerodt or Andrew Johnson? A: First,George Atzerodt was bornonJune12,1835.Second,Andrew Johnson was bornon December 29,1808.The answer is George Atzerodt.</td></tr></table>
|
| 71 |
+
|
| 72 |
+
Table 2: Left: factuality (Fac) and consistency (Con) of the generated explanations. Right: the $\%$ of the examples whose explanation factuality/consistency is congruent with the prediction accuracy. In general, LLMs tend to generate consistent but less likely factual explanations.
|
| 73 |
+
|
| 74 |
+
<table><tr><td colspan="2"></td><td>Acc</td><td>Fac</td><td>Con</td><td>Acc=Fac</td><td>Acc=Con</td></tr><tr><td rowspan="7">InstructGPT</td><td colspan="6">reliability of explanations generated by InstructGPT</td></tr><tr><td>SYNTH (E-P)</td><td>58.4</td><td>72.8</td><td>64.8</td><td>66.5</td><td>68.8</td></tr><tr><td>SYNTH (P-E)</td><td>54.8</td><td>51.6</td><td>95.2</td><td>89.6</td><td>57.2</td></tr><tr><td>ADVHP (E-P)</td><td>62.0</td><td>79.6</td><td>91.2</td><td>80.0</td><td>68.4</td></tr><tr><td>ADVHP (P-E)</td><td>54.0</td><td>69.2</td><td>82.0</td><td>77.6</td><td>67.2</td></tr><tr><td>E-SNLI(P-E)</td><td>62.0</td><td>1</td><td>98.8</td><td>1</td><td>62.0</td></tr><tr><td colspan="6">reliability of explanations generated by other LLMs on SYNTH</td></tr><tr><td rowspan="2">OPT (175B)</td><td>SYNTH (E-P)</td><td>30.0</td><td>77.2</td><td>47.2</td><td>45.6</td><td>58.8</td></tr><tr><td>SYNTH (P-E)</td><td>39.6</td><td>64.0</td><td>81.2</td><td>69.2</td><td>49.6</td></tr><tr><td rowspan="2">GPT-3</td><td>SYNTH (E-P)</td><td>46.8</td><td>59.2</td><td>64.8</td><td>66.8</td><td>61.2</td></tr><tr><td>SYNTH (P-E)</td><td>52.4</td><td>52.4</td><td>83.2</td><td>78.4</td><td>58.0</td></tr><tr><td rowspan="2">text-davinci-002</td><td>SYNTH (E-P)</td><td>86.0</td><td>91.6</td><td>85.2</td><td>91.2</td><td>84.8</td></tr><tr><td>SYNTH (P-E)</td><td>81.6</td><td>83.2</td><td>96.4</td><td>95.8</td><td>82.8</td></tr></table>
|
| 75 |
+
|
| 76 |
+
Our results do not suggest immediate strong improvements from incorporating explanations across all LLMs, even for our synthetic dataset, contradicting recent prior work. This can be attributed to the difference between the tasks we study. The tasks that receive significant benefits from using explanations in Nye et al. (2021) and Wei et al. (2022) are all program-like (e.g., integer addition and program execution), whereas the tasks in this work emphasize textual reasoning grounded in provided inputs. In fact, in Wei et al. (2022) and Chowdhery et al. (2022), explanations only show mild benefit on open-domain QA tasks like StrategyQA (Geva et al., 2021) that are closer to our setting.
|
| 77 |
+
|
| 78 |
+
# 3 Can LLMs Generate Factual and Consistent Explanations?
|
| 79 |
+
|
| 80 |
+
Prompting LLMs with explanations and having models generate them may not guarantee higher performance on our tasks. But what about the quality of the model-generated explanations themselves? We assess the reliability of the explanations for the three datasets, measured in terms of two aspects.
|
| 81 |
+
|
| 82 |
+
Factuality refers to whether a generated explanation is faithfully grounded in the corresponding input context (context for QA and premise/hypothesis pair for NLI). A factual explanation should not contain hallucinations that contradict the context. See Figure 3 for a nonfactual explanation.
|
| 83 |
+
|
| 84 |
+
Consistency measures if the explanation entails the prediction. Our concept of consistency resembles plausibility as described in Jacovi and Goldberg (2021), in that we assess whether the prediction follows from the explanation as perceived by a human. See Figure 3 for an inconsistent explanation.
|
| 85 |
+
|
| 86 |
+
For SYNTH, we use rules to automatically judge whether an explanation is factual and consistent on all four LLMs. For ADVHOTPOT and E-SNLI, the authors manually inspected the explanations generated by InstructGPT and annotated them for these two characteristics (more details in Appendix D). Note for each setting, the results are based on the explanations and predictions obtained with a single set of training shots. We only show the results of P-E on E-SNLI, as E-P is substantially worse here.
|
| 87 |
+
|
| 88 |
+
Results We summarize the results in Table 2. We only report consistency on E-SNLI, as the explanations for ESNLI often require some external commonsense knowledge which cannot be easily grounded in the inputs or judged as true or false (examples in Appendix F). The results suggest a disconnect between the model predictions and the “reasoning” in explanations. On InstructGPT, though using explanations improves its performance across three tasks, the generated explanations are unreliable (upper section), even for the straightforward synthetic setting. Comparing the factuality of explanations for SYNTH generated by GPT-3, InstructGPT, and text-davinci-002, we see that instruction tuning improves the factuality, but even the most powerful text-davinci-002 still fails to generate explanations that are perfectly grounded in the input context. Overall, LLMs tend to generate consistent explanations $( > 8 0 \%$ for all three datasets with the right prompt structure), but the explanations are less likely to be factual, which is concerning as they can deceive a user of the system into believing the model’s answer.
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
of Correct/Incorrect Predictions by Factuality/Consistency
|
| 92 |
+
Figure 4: Explanations are more likely to be nonfactual than to be inconsistent, and a nonfactual explanation usually indicates an incorrect prediction.
|
| 93 |
+
|
| 94 |
+
# 3.1 Reliability of Explanations and Prediction Accuracy
|
| 95 |
+
|
| 96 |
+
LLMs may hallucinate problematic explanations, but this could actually be advantageous if it gives us a way of spotting when the model’s “reasoning” has failed. We investigate the connection between the reliability of an explanation and the accuracy of a prediction and ask whether a reliable explanation indicates an accurate prediction. (This resembles the linguistic calibration of Mielke et al. (2022), but using a different signal for calibration.)
|
| 97 |
+
|
| 98 |
+
As shown in Table 2 (right), accuracy and factuality/consistency are typically correlated, especially factuality. By knowing whether an explanation is factual, we can guess the model’s accuracy a high fraction of the time (Accuracy $=$ Factuality). A nonfactual explanation very likely means an incorrect prediction on the SYNTH dataset across all four LLMs. On ADVHOTPOT, factuality and InstructGPT’s prediction correspond $8 0 . 0 \%$ of the time, substantially surpassing the prediction accuracy itself. We show fractions of correct and incorrect predictions when the explanations are factual/nonfactual and consistent/inconsistent in Figure 4 for two of our settings. Factual explanations are much more likely paired with correct predictions compared to nonfactual explanations. Consistency is also connected to accuracy but is an inferior indicator compared to factuality in general (Table 2).
|
| 99 |
+
|
| 100 |
+
# 4 Calibrating In-Context Learning using Explanations
|
| 101 |
+
|
| 102 |
+
From Section 3.1, we see that a human oracle assessment of the factuality of an explanation could be of substantial use for calibrating the corresponding prediction. Can we automate this process?
|
| 103 |
+
|
| 104 |
+
We first show how to achieve this goal on the perfectly controlled SYNTH dataset (Section 4.1). On our other two datasets, we use surface lexical matching to approximate semantic matching and give real-valued scores approximately reflecting factuality. Following past work on supervised calibration (Kamath et al., 2020; Chen et al., 2021; Ye and Durrett, 2022), we can learn a calibrator that tunes the probabilities of a prediction based on the score of its explanation (Section 4.2). We show such a calibrator can be trained with a handful of examples beyond those used for in-context learning and successfully improve the in-context learning performance on realistic datasets.7 We note that, as mentioned before, the experiments in this section are conducted on InstructGPT.
|
| 105 |
+
|
| 106 |
+
# 4.1 Motivating Example: Improving SYNTH Dataset
|
| 107 |
+
|
| 108 |
+
We first show how post-hoc calibration functions in the controlled SYNTH setting, where we can simply check the factuality of an explanation. Since the generated explanation always follows the format “B is [profession] and A [verb] B.” (example in Figure 2), we can split the explanation into two sentences. The explanation is factual if and only if each of the two sentences exactly matches one of the sentences in the context.
|
| 109 |
+
|
| 110 |
+
We use the assessment to improve the performance of P-E for SYNTH, where a nonfactual explanation typically indicates an incorrect prediction. This gives us a way to reject presumably incorrect answers. Specifically, we iterate through the top 5 candidate answers (restricted by the API) given by InstructGPT and reject any answer-explanation pair if the explanation is nonfactual until we find a factual one. This procedure dramatically improves the accuracy from $5 2 . 4 \%$ to $7 4 . 8 \%$ . Note that this SYNTH dataset is a challenging task given its lack of reasoning shortcuts: for reference, neither ROBERTA (Liu et al., 2019) nor DEBERTA (He et al., 2021) finetuned with 16 examples can achieve an accuracy surpassing $50 \%$ . With the help of the explanations and the checking procedure, we can use InstructGPT to achieve strong results using few-shot learning.
|
| 111 |
+
|
| 112 |
+
# 4.2 Learning-based Calibration Framework
|
| 113 |
+
|
| 114 |
+
Framework We now introduce the framework that can leverage the factuality assessment of an explanation to calibrate a prediction. Let $\pmb { p }$ be the vector of predicted probabilities associated with each class label in NLI (or the probability score of predicted answer in QA). Let $v$ be a scalar value extracted from the explanation to describe the factuality. Then, we can adjust the probabilities accordingly using a linear model: $\pmb { \hat { p } } = \mathrm { s o f t m a x } ( W [ \pmb { p } ; \pmb { v } ] + b )$ , where $\hat { p }$ is the tuned probabilities.
|
| 115 |
+
|
| 116 |
+
Our calibration framework is extended from classical calibration methods (Platt, 1999; Guo et al., 2017; Zhao et al., 2021), which apply an affine transformation on the probabilities alone: $\hat { p } =$ softmax $( W p + b )$ . In contrast, we use an additional factor $v$ in calibration to incorporate the factuality assessment of the explanation.
|
| 117 |
+
|
| 118 |
+
There are a small number of parameters ( $W$ and $b$ ) that need to be trained in such a calibration framework. We will rely on a few more examples in addition to the shots we use in the prompt to train the calibrator. Specifically, we use the prompt examples to generate the predictions and explanations for these extra examples, and extract predicted probabilities, factors, and target probabilities triples to construct training data points used to train the calibrator. Note this procedure requires no explanation annotations for the extra examples.
|
| 119 |
+
|
| 120 |
+
Approximating Factuality We approximate the factuality using lexical overlap between the explanations and the inputs, which we found to work fairly well for our tasks.
|
| 121 |
+
|
| 122 |
+
ADVHOTPOT: We use an explanation consisting of two sentences (examples in Figure 3) as an illustration. Let $\mathcal { E } = ( E ^ { ( 1 ) } , E ^ { ( 2 ) } )$ be the generated explanation, where $E ^ { ( 1 ) }$ and $E ^ { ( 2 ) }$ are the two sentences, and the $E ^ { ( i ) } = ( e _ { 1 } , e _ { 2 } , \cdot \cdot \cdot )$ contain tokens $e _ { 1 } , e _ { 2 } , \cdots$ . Similarly, let $\mathcal { P } =$ $( P ^ { ( 1 ) } , P ^ { ( 2 ) } , P ^ { ( 3 ) } , P ^ { ( 4 ) } )$ be the context paragraphs, and $P ^ { ( i ) } = ( p _ { 1 } , p _ { 2 } , \cdot \cdot \cdot )$ be the tokens. The factuality estimation of one explanation sentence $E ^ { ( i ) }$ is defined as: $\begin{array} { r } { \mathcal { V } ( E ^ { ( i ) } ) = \operatorname* { m a x } _ { P \in \mathcal { P } } \frac { | E ^ { ( i ) } \cap P | } { | E ^ { ( i ) } | } } \end{array}$ .
|
| 123 |
+
|
| 124 |
+
Intuitively, the factuality score for a sentence $E$ is defined as the maximum number of overlapping tokens over all paragraphs $P$ , normalized by the number of tokens in $E$ . We then define the factuality score for the whole explanation as $\begin{array} { r } { \mathcal { V } ( \mathcal { E } ) = \mathrm { \bar { \ m i n } } _ { E \in \mathcal { E } } \mathcal { V } ( E ) } \end{array}$ , as it requires all sentences to be factual in order to make the entire explanation factual.8
|
| 125 |
+
|
| 126 |
+
E-SNLI: The explanations of E-SNLI do not really involve a concept of factuality. Nevertheless, we use an analogous score following the same principle by viewing the premise as the context. Let $\boldsymbol { E } = ( e _ { 1 } , e _ { 2 } , \cdots )$ be the explanation and $P = ( p _ { 1 } , p _ { 2 } , \cdots )$ be the premise. We simply score the explanation by $\begin{array} { r } { \mathcal { V } ( E ) = \frac { | E | \cap | P | } { | E | } } \end{array}$ . The more an explanation overlaps with the premise, the more factual we judge it to be.
|
| 127 |
+
|
| 128 |
+
# 4.3 Calibrating E-SNLI
|
| 129 |
+
|
| 130 |
+
Setup For E-SNLI, we use calibration methods to postprocess the final probabilities. Unlike classical temperature scaling (Platt, 1999), note that the methods we use here can actually change the prediction; we will therefore evaluate on accuracy of the calibrated model.
|
| 131 |
+
|
| 132 |
+
We study the effectiveness of our explanationbased calibrator under different training data sizes varying from 32 to 128. Recall that we only require explanation annotations for 32 data points, and only need the labels for the rest to train the calibrator. For E-SNLI, we calibrate P-E, which is shown to be more effective than E-P in this setting (Section 2.4).
|
| 133 |
+
|
| 134 |
+
Baselines We provide the performance of finetuned ROBERTA (Liu et al., 2019) model as a reference, finding this to work better than DeBERTa (He et al., 2021). To isolate the effec
|
| 135 |
+
|
| 136 |
+
Table 3: Accuracy $\mathrm { ( m e a n _ { s t d d e v } ) }$ of various methods on E-SNLI under different data conditions. L denotes number of labels (as well as the total number of examples); E denotes the number of explanations. Calibrating using explanations successfully improves the performance of in-context learning.
|
| 137 |
+
|
| 138 |
+
<table><tr><td>w/o Explanation</td><td>32L</td><td>64L</td><td>96L</td><td>128L</td></tr><tr><td>RoBERTa</td><td>40.14.7</td><td>43.05.1</td><td>49.05.2</td><td>54.94.8</td></tr><tr><td>FEW-SHOT</td><td>56.82.0</td><td>1</td><td>1</td><td>1</td></tr><tr><td>FEW-SHOT(NN)</td><td>1</td><td>1</td><td>1</td><td>58.91.0</td></tr><tr><td>FEW-SHOT+PROBCAL</td><td>61.93.8</td><td>62.42.6</td><td>63.22.9</td><td>63.91.2</td></tr><tr><td>w/ Explanation</td><td>32L+32E</td><td>64L+32E</td><td>96L+32E</td><td>128L+32E</td></tr><tr><td>P-E</td><td>59.42.0</td><td>一</td><td></td><td>1</td></tr><tr><td>P-E+PROBCAL</td><td>64.41.8</td><td>65.41.2</td><td>65.41.6</td><td>65.41.9</td></tr><tr><td>P-E+EXPLCAL</td><td>64.22.6</td><td>65.81.3</td><td>67.61.6</td><td>68.51.2</td></tr><tr><td>P-E+ZHANG</td><td>63.03.2</td><td>65.22.2</td><td>65.41.5</td><td>65.92.5</td></tr></table>
|
| 139 |
+
|
| 140 |
+
tiveness of using explanations for calibration, we introduce three additional baselines using nonexplanation-based calibrators. We apply the probability-based calibrator as described in Section 4.2 on the results obtained on few-shot learning (FEW-SHOT $^ { \cdot + }$ PROBCAL) and predict-then-explain pipeline $( { \mathrm { P } } { \cdot } { \mathrm { E } } { + } { \mathrm { P R O B C A L } }$ ). We note that the parameters of these calibrators are trained using the additional data points, as opposed to being heuristically determined as in Zhao et al. (2021). Furthermore, we experiment with a recently proposed supervised calibrator from Zhang et al. (2021), which uses the CLS representations from an additional language model as features in the calibrator. The probabilities are tuned using $\pmb { \hat { p } } = \mathrm { s o f t m a x } ( W [ \pmb { p } ; \pmb { h } ] + \bar { \boldsymbol { b } } )$ , where $^ { h }$ is the CLS representation. Since we do not have access to the embeddings obtained by GPT-3, we use ROBERTA to extract the vectors instead. We use such a calibrator on top of our best-performing base model, P-E, resulting $\mathrm { P } \mathrm { - } \mathrm { E } +$ ZHANG ET AL. (2021).
|
| 141 |
+
|
| 142 |
+
Limited by the maximum prompt length, in-context learning is not able to take as input the additional data used for training the calibrator. For a fair comparison, we can allow the in-context model to use this data by varying the prompts across test examples, dynamically choosing the prompt examples to maximize performance. Choosing closer data points for prompting is a common and effective way of scaling up the training data size for in-context learning (Shin et al., 2021; Liu et al., 2021). Following Liu et al. (2021), we test the performance of choosing nearest neighbors for the prompt based on CLS embedding produced by a ROBERTA model (Liu et al., 2019), referred as FEW-SHOT(NN). It is worth clarifying that the FEW-SHOT and FEW-SHOT $^ +$ PROBCAL approaches use the same set of 32 training shots in the prompt for every test example, whereas the shot sets vary from example to example in FEW-SHOT(NN).
|
| 143 |
+
|
| 144 |
+
Results We show the results in Table 3. We use 5 different groups of training examples and report the mean and standard deviation across the groups. For FEW-SHOT(NN), we only report the results obtained using 128 examples; results using a smaller number of examples will be worse than this.
|
| 145 |
+
|
| 146 |
+
Under 128 training examples, applying a trained calibrator on top of prompting with explanation (i.e., P- $\Xi +$ EXPLCAL) achieves the best accuracy of $6 8 . 5 \%$ , which is $12 \%$ higher than the performance of the vanilla uncalibrated few-shot in-context learning (FEW-SHOT). P-E+EXPLCAL also outperforms FEW-SHOT $^ +$ PROBCAL and P- $\Xi +$ PROBCAL by $5 \%$ and $3 \%$ , respectively. Using explanations is more effective than using probabilities alone. In addition, $\mathrm { P } \mathrm { - } \mathrm { E } +$ EXPLCAL also outperforms P- $\mathsf { E } +$ ZHANG ET AL. (2021), whose performance is on par with P-E+PROBCAL. This suggests the additional CLS information is not very helpful in this setting.
|
| 147 |
+
|
| 148 |
+
As the data size increases from 32 to 128, the performance of the explanation-based calibrator keeps improving notably, whereas the performance of probability-based calibrators nearly saturates at a data size of 96. The performance of FEW-SHOT(NN) with 128 training instances only improves the performance by $3 . 3 \%$ , compared to FEW-SHOT with 32 training instances. Choosing nearest neighbors as the shots, while being effective when having access to a large amount of data, is not helpful in the extreme data-scarce regime. Calibrating using explanations is an effective way of using a few extra data points that cannot fit in the prompt, which is a pitfall of standard in-context learning.
|
| 149 |
+
|
| 150 |
+
Table 4: AUC scores $\left( \mathrm { { m e a n } _ { \mathrm { { s t d } \ d e v } } } \right)$ on ADVHOTPOT under different data conditions. $\mathbf { L }$ and $\mathbf { E }$ denotes the number of label annotations and explanation annotations, respectively. Explanationbased calibration successfully improves the performance on top of prompting with explanations.
|
| 151 |
+
|
| 152 |
+
<table><tr><td>w/o Explanation</td><td>6L</td><td>32L</td><td>64L</td></tr><tr><td>FEW-SHOT FEW-SHOT(NN)</td><td>59.62.4</td><td>1</td><td>1</td></tr><tr><td>w/Explanation</td><td>1 6L+6E</td><td>1 32L+6E</td><td>61.30.9 64L+6E</td></tr><tr><td>E-P</td><td>64.42.9</td><td></td><td></td></tr><tr><td>E-P+EXPLCAL</td><td></td><td>66.03.9</td><td>68.83.0</td></tr><tr><td>E-P+ZHANG</td><td>1 1</td><td>65.63.9</td><td>66.13.2</td></tr></table>
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
Figure 5: Coverage-Acc curves of various methods on ADVHOTPOT. E- $\mathrm { P } +$ EXPLCAL is better calibrated compared to uncalbrated E-P as well as the other approaches.
|
| 156 |
+
|
| 157 |
+
Finally, ROBERTA finetuned using 128 shots only achieves an accuracy of $5 4 . 9 \%$ , lagging the performance of GPT-3 based models. The limited training data size is insufficient for finetuning smaller language models like ROBERTA, but is sufficient for $\mathrm { P } \mathrm { - } \mathrm { E } +$ EXPLCAL to be effective.
|
| 158 |
+
|
| 159 |
+
# 4.4 Calibrating ADVHOTPOT
|
| 160 |
+
|
| 161 |
+
Setup For the ADVHOTPOT dataset, our calibration takes the form of tuning the confidence scores of the predicted answers to better align them with the correctness of predictions. These confidence scores can be used in a “selective QA” setting (Kamath et al., 2020), where the model can abstain on a certain fraction of questions where it assigns low confidence to its answers. We use the area under coverage-accuracy curve (AUC) to evaluate how well a model is calibrated as in past literature (Kamath et al., 2020; Chen et al., 2021; Zhang et al., 2021; Garg and Moschitti, 2021; Ye and Durrett, 2022). The curve plots the average accuracy with varying fractions (coverage) of questions being answered (examples in Figure 5). For any given coverage, a better calibrated model should be able to identify questions that it performs best on, hence resulting a higher AUC.
|
| 162 |
+
|
| 163 |
+
We experiment with training data set sizes of 6, 32, and 64. We report the results averaged from 5 trials using different training sets. For ADVHOTPOT, we calibrate E-P, which is shown to be more effective than P-E in this setting (Section 2.4). Our approach is also effective for calibrating P-E; please refer to Appendix E for details.
|
| 164 |
+
|
| 165 |
+
Results We show the AUC scores in Table 4. By leveraging explanations, $\mathrm { E } { \mathrm { - } } \mathrm { P } +$ EXPLCAL successfully achieves an AUC of 68.8, surpassing both FEW-SHOT by 7 points and E-P by 4 points. We note this is a substantial improvement, given that the upperbound of AUC is constrained by the accuracy of the answers and cannot reach 100. Figure 5 shows the coverage-accuracy curves of various methods averaged across the 5 training runs. E- $\mathrm { P } +$ EXPLCAL always achieves a higher accuracy than its uncalibrated counterpart, E-P, under a certain coverage, and the gap is especially large in the most confident intervals (coverage $< 5 0 \%$ ). E- $\mathrm { P } +$ ZHANG ET AL. (2021) is able to calibrate the predictions on this dataset, but still lags our explanation-based calibrator, E-P+EXPLCAL.
|
| 166 |
+
|
| 167 |
+
In addition, the explanation-based calibrator can be effective with as few as 32 examples. This is because there are only two parameters (the probability of predicted answer and the explanationbased factor) in the calibrator, which can be easily learned in this few-shot setting. Comparing E $\mathbf { \partial } _ { - } \mathbf { P } { + } \mathbf { E }$ XPLCAL against FEW-SHOT(NN), using nearest neighbors in the prompt is also able to improve the performance compared to using a fixed set of shots (FEW-SHOT), yet our lightweight calibrator can better utilize such a small amount of data, and learn to distinguish more accurate predictions based on the explanations.
|
| 168 |
+
|
| 169 |
+
# 5 Related Work
|
| 170 |
+
|
| 171 |
+
Our investigation is centered around in-context learning (Brown et al., 2020), which has garnered increasing interest since the breakthrough of various large pretrained language models. Recent work has been devoted to studying different aspects of in-context learning, including its wayward behaviors (Min et al., 2022; Webson and Pavlick, 2022) and approaches to overcome them (Zhao et al., 2021), whereas our exploration focuses on using explanations.
|
| 172 |
+
|
| 173 |
+
The utility of explanations for few-shot in-context learning has also been discussed concurrently (Nye et al., 2021; Wei et al., 2022; Marasovic et al., 2022; Chowdhery et al., 2022; Lampinen et al., ´ 2022; Wiegreffe et al., 2022), especially in symbolic reasoning tasks. We differ in that we study more free-form explanations in tasks (QA and NLI, specifically) focusing on textual reasoning over provided contexts. Furthermore, our work focuses on the nature of the explanations generated by LLMs, which are found to be unreliable. Regarding our use of calibration, similar ideas of explanation-based performance estimation have been applied to other tasks (Rajani and Mooney, 2018; Ye et al., 2021; Ye and Durrett, 2022), but we rely on the free-text explanations generated by the model instead of interpretations obtained through post-hoc interpretation techniques.
|
| 174 |
+
|
| 175 |
+
More broadly, how to use explanations in various forms (textual explanation, highlights, etc.) to train better models is a longstanding problem (Zaidan et al., 2007). Past work has built a series of pipeline models that first generate the explanations and then make predictions purely based on the generated explanations (Wiegreffe et al., 2021; Zhou and Tan, 2021; Chen et al., 2022). Prior research has also explored using explanations as additional supervision to train joint models (Hancock et al., 2018; Dua et al., 2020; Lamm et al., 2021; Stacey et al., 2022). Another line of work seeks to align the reasoning process of a trained model with the explanations, which is typically done by interpreting a prediction post-hoc through explanation techniques and optimizing the distance between the obtained explanation and ground truth explanation (Liu and Avci, 2019; Rieger et al., 2020; Plumb et al., 2020; Erion et al., 2021; Yao et al., 2021). These aforementioned methods all update the model parameters and typically require a considerable amount of explanation annotations to be effective. By contrast, our setting treats language models as pure black boxes and only requires few-shot explanations.
|
| 176 |
+
|
| 177 |
+
# 6 Discussion & Conclusion
|
| 178 |
+
|
| 179 |
+
Caveats and Risks of Explanations from Large Language Models Our analysis suggests that LLMs’ internal “reasoning” does not always align with explanations that it generates, as shown by our consistency results. More concerning, the explanations might not be factually grounded in the provided prompt. This shortcoming should caution against any deployment of this technology in practice: because the explanations are grammatical English and look very convincing, they may deceive users into believing the system’s responses even when those responses are incorrect. Section 6 of Bender et al. (2021) discusses these risks in additional detail. The fact that language models can hallucinate explanations is also found in other work (Zhou and Tan, 2021). This result is unsurprising in some sense: without sufficient supervision or grounding, language models do not learn meaning as distinct from form (Bender and Koller, 2020), so we should not expect their explanations to be strongly grounded.
|
| 180 |
+
|
| 181 |
+
We have shown that even explanations which don’t lead to accuracy gains can still be useful for calibration. However, the lexical overlap feature we use here is a weak signal of explanation correctness (see the example in Figure 1). Strong enough entailment models should theoretically be able to perform this task and work across a range of tasks without fine-tuning. This explanation assessment model can even be a language model itself trained for this particular propose to approach the verification tasks for a given domain by in-context learning.
|
| 182 |
+
|
| 183 |
+
Conclusion We have explored the capabilities of LLMs in using explanations in in-context learning for textual reasoning. Through our experiments with four LLMs and on two QA datasets and an NLI dataset, we find that simply including explanations in the prompt does not always improve the performance of in-context learning. Our manual analysis demonstrates that LLMs tend to generate nonfactual explanations when making wrong predictions, which can be a useful leverage to assess the correctness of the predictions. Lastly, we showcase how to use explanations to build lightweight calibrators, which successfully improve InstructGPT’s in-context learning performance across all three datasets.
|
| 184 |
+
|
| 185 |
+
# Acknowledgments
|
| 186 |
+
|
| 187 |
+
We would like to thank Eunsol Choi, Ruiqi Zhong, Jocelyn Chen, Zayne Sprague, and Jiacheng Xu for their helpful feedback on drafts of this work, as well as the anonymous reviewers for their thoughtful reviews. This work was partially supported by NSF Grant IIS-1814522, NSF CAREER Award IIS-2145280, a grant from Open Philanthropy, a gift from Salesforce Inc., and a gift from Adobe.
|
| 188 |
+
|
| 189 |
+
# References
|
| 190 |
+
|
| 191 |
+
Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, FAccT ’21, page 610–623, New York, NY, USA. Association for Computing Machinery.
|
| 192 |
+
|
| 193 |
+
Emily M. Bender and Alexander Koller. 2020. Climbing towards NLU: On meaning, form, and understanding in the age of data. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 194 |
+
|
| 195 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
|
| 196 |
+
|
| 197 |
+
Jannis Bulian, Christian Buck, Wojciech Gajewski, Benjamin Boerschinger, and Tal Schuster. 2022. Tomayto, tomahto. beyond token-level answer equivalence for question answering evaluation. arXiv preprint arXiv:2202.07654.
|
| 198 |
+
|
| 199 |
+
Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-SNLI: Natural Language Inference with Natural Language Explanations. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
|
| 200 |
+
|
| 201 |
+
Howard Chen, Jacqueline He, Karthik Narasimhan, and Danqi Chen. 2022. Can rationalization improve robustness? In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 202 |
+
|
| 203 |
+
Jifan Chen, Eunsol Choi, and Greg Durrett. 2021. Can NLI models verify QA systems’ predictions? In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 204 |
+
|
| 205 |
+
Jifan Chen and Greg Durrett. 2019. Understanding dataset design choices for multi-hop reasoning. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT).
|
| 206 |
+
|
| 207 |
+
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Baindoor Rao, Parker Barnes, Yi Tay, Noam M. Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Benton C. Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier García, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Oliveira Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathleen S. MeierHellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. PaLM: Scaling Language Modeling with Pathways. ArXiv, abs/2204.02311.
|
| 208 |
+
|
| 209 |
+
Jay DeYoung, Sarthak Jain, Nazneen Fatema Rajani, Eric Lehman, Caiming Xiong, Richard Socher, and Byron C. Wallace. 2020. ERASER: A benchmark to evaluate rationalized NLP models. In Proceedings of the Annual Conference of the Association for Computational Linguistics $( A C L )$ .
|
| 210 |
+
|
| 211 |
+
Dheeru Dua, Sameer Singh, and Matt Gardner. 2020. Benefits of intermediate annotations in reading comprehension. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 212 |
+
|
| 213 |
+
Gabriel Erion, Joseph D Janizek, Pascal Sturmfels, Scott M Lundberg, and Su-In Lee. 2021. Improving performance of deep learning models with axiomatic attribution priors and expected gradients. Nature machine intelligence, 3(7):620–631.
|
| 214 |
+
|
| 215 |
+
Siddhant Garg and Alessandro Moschitti. 2021. Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answering. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.
|
| 216 |
+
|
| 217 |
+
Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. 2021. Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategies. Transactions of the Association for Computational Linguistics, 9:346–361.
|
| 218 |
+
|
| 219 |
+
Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning (ICML).
|
| 220 |
+
|
| 221 |
+
Braden Hancock, Paroma Varma, Stephanie Wang, Martin Bringmann, Percy Liang, and Christopher Ré. 2018. Training classifiers with natural language explanations. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 222 |
+
|
| 223 |
+
Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. In Proceedings of the International Conference on Learning Representations (ICLR).
|
| 224 |
+
|
| 225 |
+
Alon Jacovi and Yoav Goldberg. 2021. Aligning faithful interpretations with their social attribution. Transactions of the Association for Computational Linguistics (TACL), 9:294–310.
|
| 226 |
+
|
| 227 |
+
Yichen Jiang and Mohit Bansal. 2019. Avoiding reasoning shortcuts: Adversarial evaluation, training, and model development for multi-hop QA. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 228 |
+
|
| 229 |
+
Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL).
|
| 230 |
+
|
| 231 |
+
Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. ArXiv, abs/2205.11916.
|
| 232 |
+
|
| 233 |
+
Matthew Lamm, Jennimaria Palomaki, Chris Alberti, Daniel Andor, Eunsol Choi, Livio Baldini Soares, and Michael Collins. 2021. QED: A framework and dataset for explanations in question answering. Transactions of the Association for Computational Linguistics (TACL), 9:790–806.
|
| 234 |
+
|
| 235 |
+
Andrew K Lampinen, Ishita Dasgupta, Stephanie CY Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L McClelland, Jane X Wang, and Felix Hill. 2022. Can language models learn from explanations in context? arXiv preprint arXiv:2204.02329.
|
| 236 |
+
|
| 237 |
+
Frederick Liu and Besim Avci. 2019. Incorporating priors with feature attribution on text classification. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 238 |
+
|
| 239 |
+
Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2021. What Makes Good In-Context Examples for GPT-3? ArXiv, abs/2101.06804.
|
| 240 |
+
|
| 241 |
+
Y. Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, M. Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. ArXiv, abs/1907.11692.
|
| 242 |
+
|
| 243 |
+
Ana Marasovic, Iz Beltagy, Doug Downey, and Matthew E. Peters. 2022. Few-shot self-rationalization ´ with natural language prompts. In Findings of the North American Chapter of the Association for Computational Linguistics (NAACL Findings).
|
| 244 |
+
|
| 245 |
+
Sabrina J. Mielke, Arthur Szlam, Emily Dinan, and Y-Lan Boureau. 2022. Reducing conversational agents’ overconfidence through linguistic calibration. Transactions of the Association for Computational Linguistics, 10:857–872.
|
| 246 |
+
|
| 247 |
+
Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837.
|
| 248 |
+
|
| 249 |
+
Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. 2021. Show your work: Scratchpads for intermediate computation with language models. ArXiv, abs/2112.00114.
|
| 250 |
+
|
| 251 |
+
John Platt. 1999. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Advances in large margin classifiers, 10(3):61–74.
|
| 252 |
+
|
| 253 |
+
Gregory Plumb, Maruan Al-Shedivat, Ángel Alexander Cabrera, Adam Perer, Eric Xing, and Ameet Talwalkar. 2020. Regularizing black-box models for improved interpretability. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
|
| 254 |
+
|
| 255 |
+
Nazneen Fatema Rajani, Bryan McCann, Caiming Xiong, and Richard Socher. 2019. Explain Yourself! Leveraging Language Models for Commonsense Reasoning. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 256 |
+
|
| 257 |
+
Nazneen Fatema Rajani and Raymond Mooney. 2018. Stacking with auxiliary features for visual question answering. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), New Orleans, Louisiana.
|
| 258 |
+
|
| 259 |
+
Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016. "Why Should I Trust You?": Explaining the Predictions of Any Classifier. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD).
|
| 260 |
+
|
| 261 |
+
Laura Rieger, Chandan Singh, William Murdoch, and Bin Yu. 2020. Interpretations are useful: Penalizing explanations to align neural networks with prior knowledge. In Proceedings of the International Conference on Machine Learning (ICML).
|
| 262 |
+
|
| 263 |
+
Richard Shin, Christopher Lin, Sam Thomson, Charles Chen, Subhro Roy, Emmanouil Antonios Platanios, Adam Pauls, Dan Klein, Jason Eisner, and Benjamin Van Durme. 2021. Constrained language models yield few-shot semantic parsers. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 264 |
+
|
| 265 |
+
Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. 2014. Deep inside convolutional networks: Visualising image classification models and saliency maps. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Workshop Track Proceedings.
|
| 266 |
+
|
| 267 |
+
Joe Stacey, Yonatan Belinkov, and Marek Rei. 2022. Supervising model attention with human explanations for robust natural language inference. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI).
|
| 268 |
+
|
| 269 |
+
Mukund Sundararajan, Ankur Taly, and Qiqi Yan. 2017. Axiomatic attribution for deep networks. In Proceedings of the International Conference on Machine Learning (ICML).
|
| 270 |
+
|
| 271 |
+
Albert Webson and Ellie Pavlick. 2022. Do prompt-based models really understand the meaning of their prompts? In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT).
|
| 272 |
+
|
| 273 |
+
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. ArXiv, abs/2201.11903.
|
| 274 |
+
|
| 275 |
+
Jason Weston, Antoine Bordes, Sumit Chopra, and Tomás Mikolov. 2016. Towards AI-Complete Question Answering: A Set of Prerequisite Toy Tasks. In Proceedings of the International Conference on Learning Representations (ICLR).
|
| 276 |
+
|
| 277 |
+
Sarah Wiegreffe, Jack Hessel, Swabha Swayamdipta, Mark Riedl, and Yejin Choi. 2022. Reframing Human-AI Collaboration for Generating Free-Text Explanations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT).
|
| 278 |
+
|
| 279 |
+
Sarah Wiegreffe, Ana Marasovic, and Noah A. Smith. 2021. Measuring association between labels ´ and free-text rationales. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 280 |
+
|
| 281 |
+
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 282 |
+
|
| 283 |
+
Huihan Yao, Ying Chen, Qinyuan Ye, Xisen Jin, and Xiang Ren. 2021. Refining language models with compositional explanations. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS).
|
| 284 |
+
|
| 285 |
+
Xi Ye and Greg Durrett. 2022. Can Explanations be Useful for Calibrating Black Box Models? In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 286 |
+
|
| 287 |
+
Xi Ye, Rohan Nair, and Greg Durrett. 2021. Connecting attributions and QA model behavior on realistic counterfactuals. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).
|
| 288 |
+
|
| 289 |
+
Omar Zaidan, Jason Eisner, and Christine Piatko. 2007. Using “annotator rationales” to improve machine learning for text categorization. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL).
|
| 290 |
+
|
| 291 |
+
Shujian Zhang, Chengyue Gong, and Eunsol Choi. 2021. Knowing more about questions can help: Improving calibration in question answering. In Findings of the Annual Conference of the Association for Computational Linguistics (ACL Findings).
|
| 292 |
+
|
| 293 |
+
Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. 2022. OPT: Open Pre-trained Transformer Language Models. ArXiv, abs/2205.01068.
|
| 294 |
+
|
| 295 |
+
Tony Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In Proceedings of the International Conference on Learning Representations (ICLR).
|
| 296 |
+
|
| 297 |
+
Yangqiaoyu Zhou and Chenhao Tan. 2021. Investigating the effect of natural language explanations on out-of-distribution generalization in few-shot NLI. In Proceedings of the Workshop on Insights from Negative Results in NLP.
|
| 298 |
+
|
| 299 |
+
# Checklist
|
| 300 |
+
|
| 301 |
+
1. For all authors...
|
| 302 |
+
|
| 303 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 304 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 6.
|
| 305 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6.
|
| 306 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 307 |
+
|
| 308 |
+
2. If you are including theoretical results...
|
| 309 |
+
|
| 310 |
+
(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
|
| 311 |
+
|
| 312 |
+
3. If you ran experiments...
|
| 313 |
+
|
| 314 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
|
| 315 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
|
| 316 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes]
|
| 317 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We use the GPT-3 Instruct-series API (text-davinci-001).
|
| 318 |
+
|
| 319 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 320 |
+
|
| 321 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] See reference (Jiang and Bansal, 2019) and (Camburu et al., 2018).
|
| 322 |
+
(b) Did you mention the license of the assets? [Yes] See Section 2.1.
|
| 323 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We included the Synthetic dataset in the supplementary material.
|
| 324 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No]
|
| 325 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No]
|
| 326 |
+
|
| 327 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 328 |
+
|
| 329 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 330 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 331 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/dev/Bct2f8fRd8S/Bct2f8fRd8S_content_list.json
ADDED
|
@@ -0,0 +1,1781 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
223,
|
| 8 |
+
122,
|
| 9 |
+
774,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Xi Ye Greg Durrett Department of Computer Science The University of Texas at Austin {xiye,gdurrett}@cs.utexas.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
357,
|
| 19 |
+
226,
|
| 20 |
+
642,
|
| 21 |
+
282
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
318,
|
| 32 |
+
535,
|
| 33 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Does prompting a large language model (LLM) like GPT-3 with explanations improve in-context learning? We study this question on two NLP tasks that involve reasoning over text, namely question answering and natural language inference. We test the performance of four LLMs on three textual reasoning datasets using prompts that include explanations in multiple different styles. For these tasks, we find that including explanations in the prompts for OPT, GPT-3 (davinci), and InstructGPT (text-davinci-001) only yields small to moderate accuracy improvements over standard few-show learning. However, text-davinci-002 is able to benefit more substantially. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
348,
|
| 43 |
+
764,
|
| 44 |
+
473
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We further show that explanations generated by the LLMs may not entail the models’ predictions nor be factually grounded in the input, even on simple tasks with extractive explanations. However, these flawed explanations can still be useful as a way to verify LLMs’ predictions post-hoc. Through analysis in our three settings, we show that explanations judged by humans to be good—logically consistent with the input and the prediction—more likely cooccur with accurate predictions. Following these observations, we train calibrators using automatically extracted scores that assess the reliability of explanations, allowing us to improve performance post-hoc across all of our datasets.1 ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
232,
|
| 53 |
+
474,
|
| 54 |
+
766,
|
| 55 |
+
599
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "image",
|
| 61 |
+
"img_path": "images/7e3d6e2fb5650e1d21e0b886189e9e8693241f6aef1af0a1c67f6cca21457fa5.jpg",
|
| 62 |
+
"image_caption": [
|
| 63 |
+
"Figure 1: Prompting GPT-3 with explanations. By including explanations in the in-context examples, we can cause GPT-3 to generate an explanation for the test example as well. In this case, the generated explanation is nonfactual, despite the simple reasoning involved here. However, we show this nonfactuality actually provides a signal that can help calibrate the model. "
|
| 64 |
+
],
|
| 65 |
+
"image_footnote": [],
|
| 66 |
+
"bbox": [
|
| 67 |
+
192,
|
| 68 |
+
623,
|
| 69 |
+
810,
|
| 70 |
+
808
|
| 71 |
+
],
|
| 72 |
+
"page_idx": 0
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"type": "text",
|
| 76 |
+
"text": "1 Introduction ",
|
| 77 |
+
"text_level": 1,
|
| 78 |
+
"bbox": [
|
| 79 |
+
174,
|
| 80 |
+
89,
|
| 81 |
+
310,
|
| 82 |
+
106
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 1
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "Recent scaling of pre-training has empowered large language models (LLMs) to learn NLP tasks from just a few training examples “in context,” without updating the model’s parameters (Brown et al., 2020). However, this learning process is still poorly understood: models are biased by the order of in-context examples (Zhao et al., 2021) and may not leverage the instructions or even the labels of the examples in the ways one expects (Min et al., 2022; Webson and Pavlick, 2022). Existing tools for interpreting model predictions have high computational cost (Ribeiro et al., 2016) or require access to gradients (Simonyan et al., 2014; Sundararajan et al., 2017), making them unsuitable for investigating in-context learning or explaining the predictions of prompted models. ",
|
| 89 |
+
"bbox": [
|
| 90 |
+
174,
|
| 91 |
+
121,
|
| 92 |
+
825,
|
| 93 |
+
233
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "One appealing way to gain more insight into predictions obtained through in-context learning is to let the language model “explain itself” (Nye et al., 2021; Wei et al., 2022; Chowdhery et al., 2022; Marasovic et al., 2022; Lampinen et al., 2022). In addition to input-label training pairs in context, one ´ can prompt the language model with an explanation for each pair and trigger the model to generate an explanation for its prediction (Figure 1). Prompting with explanations introduces much richer information compared to using labels alone, which might guide the inference process and allow the model to learn more information from the examples. ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
239,
|
| 103 |
+
825,
|
| 104 |
+
337
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "In this work, we investigate the nature of the explanations that LLMs generate and whether they can improve few-shot in-context learning for textual reasoning tasks, specifically QA and NLI. Recent prior work that finds success with this approach largely targets symbolic reasoning tasks with a very different structure, such as math word problem solving (Nye et al., 2021; Wei et al., 2022). We experiment on three different datasets spanning QA and NLI with four LLMs: OPT, GPT-3 (davinci), InstructGPT (text-davinci-001), and text-davinci-002. The results suggest that explanations only substantially improve accuracy for text-davinci-002, but give a smaller improvement or even hurt the performance with the other LLMs. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
342,
|
| 114 |
+
825,
|
| 115 |
+
453
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Surprisingly, we find that the explanations generated by LLMs can be unreliable, even for a very simple synthetic dataset. We evaluate the explanations along two axes: factuality, whether the explanation is correctly grounded in the input, and consistency, whether the explanation entails the final prediction. LLMs tend to generate consistent explanations that account for the predictions, but the explanations may not be factual, as as shown in Figure 1. Furthermore, our analysis suggests an unreliable explanation more likely indicates a wrong prediction compared to a reliable explanation. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
459,
|
| 125 |
+
825,
|
| 126 |
+
542
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Despite LLMs’ failures here, we can still benefit from model-generated explanations by using them for calibration. If we are able to automatically assess the reliability of an explanation, we can allow an LLM to return a null answer when its explanation is unreliable, since the prediction in this case is less likely to be correct. Unfortunately, there is no automated way to perfectly assess the reliability, but we can extract features that approximately reflect it. We use these features to calibrate InstructGPT’s2 predictions, and successfully improve the in-context learning performance across all the datasets. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
549,
|
| 136 |
+
825,
|
| 137 |
+
632
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "In summary, our main findings are: (1) Simply plugging explanations into the prompt does not always substantially boost the in-context learning performance for textual reasoning. (2) LLMs generate explanations consistent with their predictions, but these explanations might not be factually grounded in the inputs. (3) The factuality of an explanation can serve as an indicator for the correctness of the corresponding prediction. (4) Using features that can approximate the factuality of explanations, we successfully use explanations to improve the in-context learning performance across all tasks. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
638,
|
| 147 |
+
825,
|
| 148 |
+
722
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 Does Prompting with Explanations Improve In-Context Learning? ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
171,
|
| 158 |
+
743,
|
| 159 |
+
759,
|
| 160 |
+
762
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "In this paper, we specifically focus on tasks involving reasoning over natural language. These are tasks where explanations have been traditionally studied (Camburu et al., 2018; Rajani et al., 2019), but which are more complex than tasks like sentiment analysis which are well explained by extractive rationales (Zaidan et al., 2007; DeYoung et al., 2020). We experiment on two tasks, reading comprehension question answering (QA) and natural language inference (NLI), on three English-language datasets. For each dataset, we create a test set with 250 examples. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
776,
|
| 170 |
+
825,
|
| 171 |
+
833
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "table",
|
| 177 |
+
"img_path": "images/31aa1bfd00617012cf6eebeb05c6c5fc4ea72b4ebaf822c31bb1cef4eec61e45.jpg",
|
| 178 |
+
"table_caption": [
|
| 179 |
+
"Figure 2: A SYNTH example and an E-SNLI example. See Figure 3 for ADVHOTPOT examples. "
|
| 180 |
+
],
|
| 181 |
+
"table_footnote": [],
|
| 182 |
+
"table_body": "<table><tr><td>HINXS</td><td>Context: Question: Answer:</td><td>Christopher agrees with Kevin.Tifany agrees with Mathew.Mary hangs out with Danielle.James hangs out with Thomas.Kevin is a student.Matthew is a plumber.Danielle is a student. Thomas is a plumber. Who hangs out with a student? Explanation:Danielle is a student and Mary hangs out with Danielle.</td></tr><tr><td></td><td>Mary Premise:</td><td>A toddler in a green jersey is being folowed bya wheelchair bound woman in ared sweater past awooden bench.</td></tr><tr><td>IINS-3</td><td>Hypothesis: Label:</td><td>A toddler is walking near his wheelchair bound grandmother. Neither Explanation: the woman may not be his grandmother.</td></tr></table>",
|
| 183 |
+
"bbox": [
|
| 184 |
+
189,
|
| 185 |
+
89,
|
| 186 |
+
808,
|
| 187 |
+
175
|
| 188 |
+
],
|
| 189 |
+
"page_idx": 2
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"type": "text",
|
| 193 |
+
"text": "",
|
| 194 |
+
"bbox": [
|
| 195 |
+
176,
|
| 196 |
+
209,
|
| 197 |
+
821,
|
| 198 |
+
237
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 2
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "2.1 Datasets ",
|
| 205 |
+
"text_level": 1,
|
| 206 |
+
"bbox": [
|
| 207 |
+
174,
|
| 208 |
+
257,
|
| 209 |
+
271,
|
| 210 |
+
272
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 2
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "Synthetic Multi-hop QA (SYNTH) In order to have a controlled setting where we can easily understand whether explanations are factual and consistent with the answer, we create a synthetic multi-hop QA dataset. Shown in Figure 2, each example in this dataset asks a bridge question (using the terminology of Yang et al. (2018)) over a context consisting of supporting facts paired with controlled distractors. This dataset is carefully designed to avoid spurious correlations, giving us full understanding over the correct reasoning process and the explanation for every example, which naturally consists of the two supporting sentences. See Appendix B for full details of this dataset.3 ",
|
| 217 |
+
"bbox": [
|
| 218 |
+
174,
|
| 219 |
+
285,
|
| 220 |
+
825,
|
| 221 |
+
382
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 2
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "Adversarial HotpotQA (ADVHOTPOT) We also test on the English-language Adversarial HotpotQA dataset (Yang et al., 2018; Jiang and Bansal, 2019). We use the adversarially augmented version since InstructGPT achieves high performance on the distractor setting of the original dataset. We make a challenging set of examples by balancing sets of questions on which InstructGPT makes correct and incorrect predictions. The context of each question includes two ground truth supporting paragraphs and two adversarial paragraphs. Full details of preprocessing the ADVHOTPOT dataset can be found in Appendix C. ",
|
| 228 |
+
"bbox": [
|
| 229 |
+
174,
|
| 230 |
+
400,
|
| 231 |
+
825,
|
| 232 |
+
497
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "For ADVHOTPOT, we manually annotated explanations for the training examples. Figure 1 shows an example of such an explanation, highlighted in orange. We could use the supporting sentences as the explanations, but we found they are usually too verbose and not sufficient, e.g., with anaphors that resolve outside of the supporting sentences. Therefore, we manually annotate a set of explanations which clearly describe the reasoning path for each question. ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
503,
|
| 242 |
+
825,
|
| 243 |
+
574
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "E-SNLI E-SNLI (Camburu et al., 2018) is an English-language classification dataset commonly used to study explanations, released under the MIT license. Shown in Figure 2, each example consists of a premise and a hypothesis, and the task is to classify the hypothesis as entailed by, contradicted by, or neutral with respect to the premise. As a notable contrast to the other datasets, the explanations here are more abstract natural language written by human annotators, as opposed to mostly constructed from extracted snippets of context. ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
174,
|
| 252 |
+
592,
|
| 253 |
+
825,
|
| 254 |
+
675
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "2.2 Baselines ",
|
| 261 |
+
"text_level": 1,
|
| 262 |
+
"bbox": [
|
| 263 |
+
174,
|
| 264 |
+
696,
|
| 265 |
+
277,
|
| 266 |
+
710
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "We study the effectiveness of plugging in explanations by comparing the in-context learning performance of prompting with or without explanations. Prompting without explanations resembles the standard few-shot in-context learning approach (Few-Shot). To incorporate explanations into the prompt, we consider the following two most commonly used paradigms: ",
|
| 273 |
+
"bbox": [
|
| 274 |
+
174,
|
| 275 |
+
723,
|
| 276 |
+
825,
|
| 277 |
+
779
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "Explain-then-Predict (E-P) prepends an explanation before the label (Figure 1). The language model is expected to generate an explanation first followed by the prediction. The prompting style of past work involving computational traces can be categorized into this paradigm, including Nye et al. (2021) and Wei et al. (2022). This approach is also called a pipeline model in other literature on training models using explanations (Jacovi and Goldberg, 2021; Wiegreffe et al., 2021). ",
|
| 284 |
+
"bbox": [
|
| 285 |
+
174,
|
| 286 |
+
785,
|
| 287 |
+
825,
|
| 288 |
+
856
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "table",
|
| 294 |
+
"img_path": "images/db4018bdabc9988846380c844d9d2c381eb5d1fcd9ba25c57a4d122030785075.jpg",
|
| 295 |
+
"table_caption": [
|
| 296 |
+
"Table 1: Results of prompting with explanations on four large language models. Using explanations leads to small to moderate improves performance on OPT, GPT-3, and InstructGPT, and has more prominent effects on text-davinci-002. "
|
| 297 |
+
],
|
| 298 |
+
"table_footnote": [],
|
| 299 |
+
"table_body": "<table><tr><td colspan=\"2\"></td><td>SYNTH</td><td>ADVHOTPOT</td><td>E-SNLI</td></tr><tr><td rowspan=\"3\">OPT (175B)</td><td>FEW-SHOT</td><td>40.52.8</td><td>49.72.6</td><td>44.03.8</td></tr><tr><td>E-P</td><td>29.60.5</td><td>52.66.5</td><td>39.37.8</td></tr><tr><td>P-E</td><td>40.22.6</td><td>43.34.5</td><td>43.41.6</td></tr><tr><td rowspan=\"3\">GPT-3</td><td>FEW-SHOT</td><td>49.50.6</td><td>49.16.2</td><td>43.35.7</td></tr><tr><td>E-P</td><td>47.12.8</td><td>54.14.1</td><td>40.44.5</td></tr><tr><td>P-E</td><td>51.31.8</td><td>48.74.6</td><td>48.72.4</td></tr><tr><td rowspan=\"3\">InstructGPT</td><td>FEW-SHOT</td><td>54.83.1</td><td>53.22.3</td><td>56.82.0</td></tr><tr><td>E-P</td><td>58.52.1</td><td>58.24.1</td><td>41.82.5</td></tr><tr><td>P-E</td><td>53.61.0</td><td>51.52.4</td><td>59.41.0</td></tr><tr><td rowspan=\"3\">text-davinci-002</td><td>FEW-SHOT</td><td>72.01.4</td><td>77.73.2</td><td>69.12.0</td></tr><tr><td>E-P</td><td>86.93.8</td><td>82.45.1</td><td>75.67.6</td></tr><tr><td>P-E</td><td>81.12.8</td><td>77.24.8</td><td>69.45.0</td></tr></table>",
|
| 300 |
+
"bbox": [
|
| 301 |
+
313,
|
| 302 |
+
138,
|
| 303 |
+
679,
|
| 304 |
+
330
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 3
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Predict-then-Explain (P-E) generates the explanation after the prediction. Unlike E-P, the predicted explanation does not influence the predicted label, since we use greedy inference and the explanation comes afterwards. However, the explanations in the prompt still impact the predictions. ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
176,
|
| 313 |
+
348,
|
| 314 |
+
823,
|
| 315 |
+
390
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 3
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "2.3 Setup",
|
| 322 |
+
"text_level": 1,
|
| 323 |
+
"bbox": [
|
| 324 |
+
174,
|
| 325 |
+
411,
|
| 326 |
+
253,
|
| 327 |
+
426
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "For few-shot learning, we use roughly the maximum allowed shots in the prompt that can fit the length limit of OPT (Zhang et al., 2022) and GPT-3 (Brown et al., 2020), which is 16 for SYNTH, 6 for ADVHOTPOT, and 32 for E-SNLI, respectively.4 We experiment with four LLMs, including OPT (175B), GPT-3 (davinci), InstructGPT (text-davinci-001), and text-davinci-002. OPT and GPT-3 are trained using the standard causal language modeling objective, whereas InstructGPT and text-davinci-002 are trained with special instruction data and human annotations. We generate outputs with greedy decoding (temperature set to be 0). Our prompt formats follow those in Brown et al. (2020). The explanations are inserted before/after the prediction with conjunction words like because. Please refer to Appendix A for full prompts. Because the results of in-context learning vary with the examples presented in the input prompt, for each dataset, we randomly sample multiple groups of training shots, and report the mean and standard deviation of the results (subscript). We use 5 groups for InstructGPT, the primary LM we are using throughout our paper, and 3 groups for the rest. ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
174,
|
| 336 |
+
439,
|
| 337 |
+
825,
|
| 338 |
+
604
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 3
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "text",
|
| 344 |
+
"text": "2.4 Results ",
|
| 345 |
+
"text_level": 1,
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
626,
|
| 349 |
+
263,
|
| 350 |
+
640
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "As shown in Table 1, OPT, GPT-3, and InstructGPT show small to moderate improvements from using explanations for textual reasoning tasks. On the two QA tasks, SYNTH and ADVHOTPOT, E-P improves the performance of InstructGPT, the best among these three LMs, from 54.8 to 58.5 and 56.8 to 59.4, respectively.5 On E-SNLI, P-E outperforms FEW-SHOT by 2.6, whereas E-P substantially lags FEW-SHOT. Comparing E-P against P-E on SYNTH and E-SNLI, E-P typically degrades performance (except on SYNTH for InstructGPT) and P-E is inconsistent across the different models, whereas E-P consistently leads to performance improvements on ADVHOTPOT. There is no single winner between the two paradigms of using explanations; choosing the most effective way is task-specific. Overall, vanilla LLMs (OPT and GPT-3) see limited benefit from producing explanations, and even the Instruct-series InstructGPT does not see substantial improvements. ",
|
| 357 |
+
"bbox": [
|
| 358 |
+
174,
|
| 359 |
+
654,
|
| 360 |
+
825,
|
| 361 |
+
791
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 3
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "The only exception is text-davinci-002. text-davinci-002 greatly benefits from explanations in the prompt across all three tasks, and E-P is consistently more effective than P-E. However, it is unclear what contributes to this difference. As far as we are aware, the differences between text-davinci-002 and InstructGPT are not described in any publication or blog post.6 Comparing GPT-3 and InstructGPT, we see the move to Instruct series models is not sufficient to explain the difference. Given the lack of transparency with this model, we hesitate to make scientific claims about the results it yields. ",
|
| 368 |
+
"bbox": [
|
| 369 |
+
174,
|
| 370 |
+
797,
|
| 371 |
+
825,
|
| 372 |
+
840
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "table",
|
| 378 |
+
"img_path": "images/985ace058484256295f3e9d27023d1a9de798cd084698cdaafa9b990e002398a.jpg",
|
| 379 |
+
"table_caption": [
|
| 380 |
+
"Figure 3: Explanations generated for ADVHOTPOT. InstructGPT may generate nonfactual explanations containing hallucination (red) or inconsistent explanations contradicting the answer (red). "
|
| 381 |
+
],
|
| 382 |
+
"table_footnote": [],
|
| 383 |
+
"table_body": "<table><tr><td>naetatr</td><td>Pedro Rubens! The individual chapters were published into 64 "tankobon"by Kodansha. Yoko Shoji(born4June195o,in Mobara,Chiba)isaJapanese mangaartist.She is bestknown for writing "Seito Shokun! Mulder Scully!The individual chapters were published into 14 "tankobon" by Kodansha. Seito Shokun! The individual chapters were published into 24 "tankobon" by Kodansha between. Q:How many chapters does Yoko Shoji's most famous manga have?</td></tr><tr><td>Trrnsrtetetr</td><td>A: First,Yoko Shoji's mostfamous manga is "Seito Shokun!".Second,"Seito Shokun!"has 64chapters.The answer is 64. Tim Minchin (December 29,1808 July 31,1875) was the President of the United States. Andrew Johnson (December 29,1808 July 31,1875) was the President of the United States. George Andrew Atzerodt (June 12,1835-July 7,1865)was a conspirator, with John Wilkes Booth. Jesse Andrew Williams (June 12,1835-July7,1865) was a conspirator, with John Wilkes Booth. Q: Who was older, George Atzerodt or Andrew Johnson? A: First,George Atzerodt was bornonJune12,1835.Second,Andrew Johnson was bornon December 29,1808.The answer is George Atzerodt.</td></tr></table>",
|
| 384 |
+
"bbox": [
|
| 385 |
+
192,
|
| 386 |
+
90,
|
| 387 |
+
805,
|
| 388 |
+
234
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 4
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "table",
|
| 394 |
+
"img_path": "images/29a9334d9d2c2496a3e03426b905938fb5b8e95703bdd94c45450a119e6f5d0c.jpg",
|
| 395 |
+
"table_caption": [
|
| 396 |
+
"Table 2: Left: factuality (Fac) and consistency (Con) of the generated explanations. Right: the $\\%$ of the examples whose explanation factuality/consistency is congruent with the prediction accuracy. In general, LLMs tend to generate consistent but less likely factual explanations. "
|
| 397 |
+
],
|
| 398 |
+
"table_footnote": [],
|
| 399 |
+
"table_body": "<table><tr><td colspan=\"2\"></td><td>Acc</td><td>Fac</td><td>Con</td><td>Acc=Fac</td><td>Acc=Con</td></tr><tr><td rowspan=\"7\">InstructGPT</td><td colspan=\"6\">reliability of explanations generated by InstructGPT</td></tr><tr><td>SYNTH (E-P)</td><td>58.4</td><td>72.8</td><td>64.8</td><td>66.5</td><td>68.8</td></tr><tr><td>SYNTH (P-E)</td><td>54.8</td><td>51.6</td><td>95.2</td><td>89.6</td><td>57.2</td></tr><tr><td>ADVHP (E-P)</td><td>62.0</td><td>79.6</td><td>91.2</td><td>80.0</td><td>68.4</td></tr><tr><td>ADVHP (P-E)</td><td>54.0</td><td>69.2</td><td>82.0</td><td>77.6</td><td>67.2</td></tr><tr><td>E-SNLI(P-E)</td><td>62.0</td><td>1</td><td>98.8</td><td>1</td><td>62.0</td></tr><tr><td colspan=\"6\">reliability of explanations generated by other LLMs on SYNTH</td></tr><tr><td rowspan=\"2\">OPT (175B)</td><td>SYNTH (E-P)</td><td>30.0</td><td>77.2</td><td>47.2</td><td>45.6</td><td>58.8</td></tr><tr><td>SYNTH (P-E)</td><td>39.6</td><td>64.0</td><td>81.2</td><td>69.2</td><td>49.6</td></tr><tr><td rowspan=\"2\">GPT-3</td><td>SYNTH (E-P)</td><td>46.8</td><td>59.2</td><td>64.8</td><td>66.8</td><td>61.2</td></tr><tr><td>SYNTH (P-E)</td><td>52.4</td><td>52.4</td><td>83.2</td><td>78.4</td><td>58.0</td></tr><tr><td rowspan=\"2\">text-davinci-002</td><td>SYNTH (E-P)</td><td>86.0</td><td>91.6</td><td>85.2</td><td>91.2</td><td>84.8</td></tr><tr><td>SYNTH (P-E)</td><td>81.6</td><td>83.2</td><td>96.4</td><td>95.8</td><td>82.8</td></tr></table>",
|
| 400 |
+
"bbox": [
|
| 401 |
+
281,
|
| 402 |
+
324,
|
| 403 |
+
714,
|
| 404 |
+
525
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 4
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "",
|
| 411 |
+
"bbox": [
|
| 412 |
+
176,
|
| 413 |
+
537,
|
| 414 |
+
823,
|
| 415 |
+
579
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "Our results do not suggest immediate strong improvements from incorporating explanations across all LLMs, even for our synthetic dataset, contradicting recent prior work. This can be attributed to the difference between the tasks we study. The tasks that receive significant benefits from using explanations in Nye et al. (2021) and Wei et al. (2022) are all program-like (e.g., integer addition and program execution), whereas the tasks in this work emphasize textual reasoning grounded in provided inputs. In fact, in Wei et al. (2022) and Chowdhery et al. (2022), explanations only show mild benefit on open-domain QA tasks like StrategyQA (Geva et al., 2021) that are closer to our setting. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
585,
|
| 425 |
+
825,
|
| 426 |
+
683
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "3 Can LLMs Generate Factual and Consistent Explanations? ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
173,
|
| 436 |
+
702,
|
| 437 |
+
699,
|
| 438 |
+
720
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "Prompting LLMs with explanations and having models generate them may not guarantee higher performance on our tasks. But what about the quality of the model-generated explanations themselves? We assess the reliability of the explanations for the three datasets, measured in terms of two aspects. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
734,
|
| 448 |
+
826,
|
| 449 |
+
776
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Factuality refers to whether a generated explanation is faithfully grounded in the corresponding input context (context for QA and premise/hypothesis pair for NLI). A factual explanation should not contain hallucinations that contradict the context. See Figure 3 for a nonfactual explanation. ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
784,
|
| 459 |
+
825,
|
| 460 |
+
825
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "Consistency measures if the explanation entails the prediction. Our concept of consistency resembles plausibility as described in Jacovi and Goldberg (2021), in that we assess whether the prediction follows from the explanation as perceived by a human. See Figure 3 for an inconsistent explanation. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
832,
|
| 470 |
+
825,
|
| 471 |
+
873
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "For SYNTH, we use rules to automatically judge whether an explanation is factual and consistent on all four LLMs. For ADVHOTPOT and E-SNLI, the authors manually inspected the explanations generated by InstructGPT and annotated them for these two characteristics (more details in Appendix D). Note for each setting, the results are based on the explanations and predictions obtained with a single set of training shots. We only show the results of P-E on E-SNLI, as E-P is substantially worse here. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
174,
|
| 480 |
+
92,
|
| 481 |
+
549,
|
| 482 |
+
215
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 5
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "Results We summarize the results in Table 2. We only report consistency on E-SNLI, as the explanations for ESNLI often require some external commonsense knowledge which cannot be easily grounded in the inputs or judged as true or false (examples in Appendix F). The results suggest a disconnect between the model predictions and the “reasoning” in explanations. On InstructGPT, though using explanations improves its performance across three tasks, the generated explanations are unreliable (upper section), even for the straightforward synthetic setting. Comparing the factuality of explanations for SYNTH generated by GPT-3, InstructGPT, and text-davinci-002, we see that instruction tuning improves the factuality, but even the most powerful text-davinci-002 still fails to generate explanations that are perfectly grounded in the input context. Overall, LLMs tend to generate consistent explanations $( > 8 0 \\%$ for all three datasets with the right prompt structure), but the explanations are less likely to be factual, which is concerning as they can deceive a user of the system into believing the model’s answer. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
174,
|
| 491 |
+
231,
|
| 492 |
+
550,
|
| 493 |
+
313
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 5
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "image",
|
| 499 |
+
"img_path": "images/1587e11713a5abeaab67eca8ef5e40f84e75c8296eec9142aad635647d9a3db3.jpg",
|
| 500 |
+
"image_caption": [
|
| 501 |
+
"of Correct/Incorrect Predictions by Factuality/Consistency ",
|
| 502 |
+
"Figure 4: Explanations are more likely to be nonfactual than to be inconsistent, and a nonfactual explanation usually indicates an incorrect prediction. "
|
| 503 |
+
],
|
| 504 |
+
"image_footnote": [],
|
| 505 |
+
"bbox": [
|
| 506 |
+
566,
|
| 507 |
+
98,
|
| 508 |
+
813,
|
| 509 |
+
236
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 5
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "",
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
314,
|
| 519 |
+
825,
|
| 520 |
+
424
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 5
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "3.1 Reliability of Explanations and Prediction Accuracy ",
|
| 527 |
+
"text_level": 1,
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
439,
|
| 531 |
+
575,
|
| 532 |
+
455
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 5
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "LLMs may hallucinate problematic explanations, but this could actually be advantageous if it gives us a way of spotting when the model’s “reasoning” has failed. We investigate the connection between the reliability of an explanation and the accuracy of a prediction and ask whether a reliable explanation indicates an accurate prediction. (This resembles the linguistic calibration of Mielke et al. (2022), but using a different signal for calibration.) ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
465,
|
| 542 |
+
825,
|
| 543 |
+
535
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "As shown in Table 2 (right), accuracy and factuality/consistency are typically correlated, especially factuality. By knowing whether an explanation is factual, we can guess the model’s accuracy a high fraction of the time (Accuracy $=$ Factuality). A nonfactual explanation very likely means an incorrect prediction on the SYNTH dataset across all four LLMs. On ADVHOTPOT, factuality and InstructGPT’s prediction correspond $8 0 . 0 \\%$ of the time, substantially surpassing the prediction accuracy itself. We show fractions of correct and incorrect predictions when the explanations are factual/nonfactual and consistent/inconsistent in Figure 4 for two of our settings. Factual explanations are much more likely paired with correct predictions compared to nonfactual explanations. Consistency is also connected to accuracy but is an inferior indicator compared to factuality in general (Table 2). ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
173,
|
| 552 |
+
541,
|
| 553 |
+
825,
|
| 554 |
+
666
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "4 Calibrating In-Context Learning using Explanations ",
|
| 561 |
+
"text_level": 1,
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
685,
|
| 565 |
+
643,
|
| 566 |
+
703
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 5
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "From Section 3.1, we see that a human oracle assessment of the factuality of an explanation could be of substantial use for calibrating the corresponding prediction. Can we automate this process? ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
173,
|
| 575 |
+
717,
|
| 576 |
+
823,
|
| 577 |
+
746
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 5
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "We first show how to achieve this goal on the perfectly controlled SYNTH dataset (Section 4.1). On our other two datasets, we use surface lexical matching to approximate semantic matching and give real-valued scores approximately reflecting factuality. Following past work on supervised calibration (Kamath et al., 2020; Chen et al., 2021; Ye and Durrett, 2022), we can learn a calibrator that tunes the probabilities of a prediction based on the score of its explanation (Section 4.2). We show such a calibrator can be trained with a handful of examples beyond those used for in-context learning and successfully improve the in-context learning performance on realistic datasets.7 We note that, as mentioned before, the experiments in this section are conducted on InstructGPT. ",
|
| 584 |
+
"bbox": [
|
| 585 |
+
173,
|
| 586 |
+
751,
|
| 587 |
+
825,
|
| 588 |
+
862
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "4.1 Motivating Example: Improving SYNTH Dataset ",
|
| 595 |
+
"text_level": 1,
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
90,
|
| 599 |
+
550,
|
| 600 |
+
106
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 6
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "We first show how post-hoc calibration functions in the controlled SYNTH setting, where we can simply check the factuality of an explanation. Since the generated explanation always follows the format “B is [profession] and A [verb] B.” (example in Figure 2), we can split the explanation into two sentences. The explanation is factual if and only if each of the two sentences exactly matches one of the sentences in the context. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
118,
|
| 610 |
+
825,
|
| 611 |
+
188
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 6
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "We use the assessment to improve the performance of P-E for SYNTH, where a nonfactual explanation typically indicates an incorrect prediction. This gives us a way to reject presumably incorrect answers. Specifically, we iterate through the top 5 candidate answers (restricted by the API) given by InstructGPT and reject any answer-explanation pair if the explanation is nonfactual until we find a factual one. This procedure dramatically improves the accuracy from $5 2 . 4 \\%$ to $7 4 . 8 \\%$ . Note that this SYNTH dataset is a challenging task given its lack of reasoning shortcuts: for reference, neither ROBERTA (Liu et al., 2019) nor DEBERTA (He et al., 2021) finetuned with 16 examples can achieve an accuracy surpassing $50 \\%$ . With the help of the explanations and the checking procedure, we can use InstructGPT to achieve strong results using few-shot learning. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
173,
|
| 620 |
+
194,
|
| 621 |
+
825,
|
| 622 |
+
319
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 6
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "4.2 Learning-based Calibration Framework ",
|
| 629 |
+
"text_level": 1,
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
338,
|
| 633 |
+
493,
|
| 634 |
+
353
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 6
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "Framework We now introduce the framework that can leverage the factuality assessment of an explanation to calibrate a prediction. Let $\\pmb { p }$ be the vector of predicted probabilities associated with each class label in NLI (or the probability score of predicted answer in QA). Let $v$ be a scalar value extracted from the explanation to describe the factuality. Then, we can adjust the probabilities accordingly using a linear model: $\\pmb { \\hat { p } } = \\mathrm { s o f t m a x } ( W [ \\pmb { p } ; \\pmb { v } ] + b )$ , where $\\hat { p }$ is the tuned probabilities. ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
366,
|
| 644 |
+
825,
|
| 645 |
+
436
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 6
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "Our calibration framework is extended from classical calibration methods (Platt, 1999; Guo et al., 2017; Zhao et al., 2021), which apply an affine transformation on the probabilities alone: $\\hat { p } =$ softmax $( W p + b )$ . In contrast, we use an additional factor $v$ in calibration to incorporate the factuality assessment of the explanation. ",
|
| 652 |
+
"bbox": [
|
| 653 |
+
174,
|
| 654 |
+
441,
|
| 655 |
+
825,
|
| 656 |
+
497
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 6
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "There are a small number of parameters ( $W$ and $b$ ) that need to be trained in such a calibration framework. We will rely on a few more examples in addition to the shots we use in the prompt to train the calibrator. Specifically, we use the prompt examples to generate the predictions and explanations for these extra examples, and extract predicted probabilities, factors, and target probabilities triples to construct training data points used to train the calibrator. Note this procedure requires no explanation annotations for the extra examples. ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
503,
|
| 666 |
+
825,
|
| 667 |
+
587
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 6
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Approximating Factuality We approximate the factuality using lexical overlap between the explanations and the inputs, which we found to work fairly well for our tasks. ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
173,
|
| 676 |
+
606,
|
| 677 |
+
823,
|
| 678 |
+
633
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 6
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "ADVHOTPOT: We use an explanation consisting of two sentences (examples in Figure 3) as an illustration. Let $\\mathcal { E } = ( E ^ { ( 1 ) } , E ^ { ( 2 ) } )$ be the generated explanation, where $E ^ { ( 1 ) }$ and $E ^ { ( 2 ) }$ are the two sentences, and the $E ^ { ( i ) } = ( e _ { 1 } , e _ { 2 } , \\cdot \\cdot \\cdot )$ contain tokens $e _ { 1 } , e _ { 2 } , \\cdots$ . Similarly, let $\\mathcal { P } =$ $( P ^ { ( 1 ) } , P ^ { ( 2 ) } , P ^ { ( 3 ) } , P ^ { ( 4 ) } )$ be the context paragraphs, and $P ^ { ( i ) } = ( p _ { 1 } , p _ { 2 } , \\cdot \\cdot \\cdot )$ be the tokens. The factuality estimation of one explanation sentence $E ^ { ( i ) }$ is defined as: $\\begin{array} { r } { \\mathcal { V } ( E ^ { ( i ) } ) = \\operatorname* { m a x } _ { P \\in \\mathcal { P } } \\frac { | E ^ { ( i ) } \\cap P | } { | E ^ { ( i ) } | } } \\end{array}$ . ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
173,
|
| 687 |
+
640,
|
| 688 |
+
825,
|
| 689 |
+
723
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Intuitively, the factuality score for a sentence $E$ is defined as the maximum number of overlapping tokens over all paragraphs $P$ , normalized by the number of tokens in $E$ . We then define the factuality score for the whole explanation as $\\begin{array} { r } { \\mathcal { V } ( \\mathcal { E } ) = \\mathrm { \\bar { \\ m i n } } _ { E \\in \\mathcal { E } } \\mathcal { V } ( E ) } \\end{array}$ , as it requires all sentences to be factual in order to make the entire explanation factual.8 ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
729,
|
| 699 |
+
825,
|
| 700 |
+
785
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "E-SNLI: The explanations of E-SNLI do not really involve a concept of factuality. Nevertheless, we use an analogous score following the same principle by viewing the premise as the context. Let $\\boldsymbol { E } = ( e _ { 1 } , e _ { 2 } , \\cdots )$ be the explanation and $P = ( p _ { 1 } , p _ { 2 } , \\cdots )$ be the premise. We simply score the explanation by $\\begin{array} { r } { \\mathcal { V } ( E ) = \\frac { | E | \\cap | P | } { | E | } } \\end{array}$ . The more an explanation overlaps with the premise, the more factual we judge it to be. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
173,
|
| 709 |
+
791,
|
| 710 |
+
825,
|
| 711 |
+
867
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "4.3 Calibrating E-SNLI ",
|
| 718 |
+
"text_level": 1,
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
90,
|
| 722 |
+
356,
|
| 723 |
+
106
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 7
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "Setup For E-SNLI, we use calibration methods to postprocess the final probabilities. Unlike classical temperature scaling (Platt, 1999), note that the methods we use here can actually change the prediction; we will therefore evaluate on accuracy of the calibrated model. ",
|
| 730 |
+
"bbox": [
|
| 731 |
+
174,
|
| 732 |
+
117,
|
| 733 |
+
485,
|
| 734 |
+
200
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "We study the effectiveness of our explanationbased calibrator under different training data sizes varying from 32 to 128. Recall that we only require explanation annotations for 32 data points, and only need the labels for the rest to train the calibrator. For E-SNLI, we calibrate P-E, which is shown to be more effective than E-P in this setting (Section 2.4). ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
207,
|
| 744 |
+
483,
|
| 745 |
+
318
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "Baselines We provide the performance of finetuned ROBERTA (Liu et al., 2019) model as a reference, finding this to work better than DeBERTa (He et al., 2021). To isolate the effec",
|
| 752 |
+
"bbox": [
|
| 753 |
+
173,
|
| 754 |
+
335,
|
| 755 |
+
486,
|
| 756 |
+
390
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 7
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "table",
|
| 762 |
+
"img_path": "images/a740335a660dacbf1a31304952f59d130a1c4ec3090a735f7251bed9b19b1717.jpg",
|
| 763 |
+
"table_caption": [
|
| 764 |
+
"Table 3: Accuracy $\\mathrm { ( m e a n _ { s t d d e v } ) }$ of various methods on E-SNLI under different data conditions. L denotes number of labels (as well as the total number of examples); E denotes the number of explanations. Calibrating using explanations successfully improves the performance of in-context learning. "
|
| 765 |
+
],
|
| 766 |
+
"table_footnote": [],
|
| 767 |
+
"table_body": "<table><tr><td>w/o Explanation</td><td>32L</td><td>64L</td><td>96L</td><td>128L</td></tr><tr><td>RoBERTa</td><td>40.14.7</td><td>43.05.1</td><td>49.05.2</td><td>54.94.8</td></tr><tr><td>FEW-SHOT</td><td>56.82.0</td><td>1</td><td>1</td><td>1</td></tr><tr><td>FEW-SHOT(NN)</td><td>1</td><td>1</td><td>1</td><td>58.91.0</td></tr><tr><td>FEW-SHOT+PROBCAL</td><td>61.93.8</td><td>62.42.6</td><td>63.22.9</td><td>63.91.2</td></tr><tr><td>w/ Explanation</td><td>32L+32E</td><td>64L+32E</td><td>96L+32E</td><td>128L+32E</td></tr><tr><td>P-E</td><td>59.42.0</td><td>一</td><td></td><td>1</td></tr><tr><td>P-E+PROBCAL</td><td>64.41.8</td><td>65.41.2</td><td>65.41.6</td><td>65.41.9</td></tr><tr><td>P-E+EXPLCAL</td><td>64.22.6</td><td>65.81.3</td><td>67.61.6</td><td>68.51.2</td></tr><tr><td>P-E+ZHANG</td><td>63.03.2</td><td>65.22.2</td><td>65.41.5</td><td>65.92.5</td></tr></table>",
|
| 768 |
+
"bbox": [
|
| 769 |
+
496,
|
| 770 |
+
208,
|
| 771 |
+
825,
|
| 772 |
+
357
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 7
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "tiveness of using explanations for calibration, we introduce three additional baselines using nonexplanation-based calibrators. We apply the probability-based calibrator as described in Section 4.2 on the results obtained on few-shot learning (FEW-SHOT $^ { \\cdot + }$ PROBCAL) and predict-then-explain pipeline $( { \\mathrm { P } } { \\cdot } { \\mathrm { E } } { + } { \\mathrm { P R O B C A L } }$ ). We note that the parameters of these calibrators are trained using the additional data points, as opposed to being heuristically determined as in Zhao et al. (2021). Furthermore, we experiment with a recently proposed supervised calibrator from Zhang et al. (2021), which uses the CLS representations from an additional language model as features in the calibrator. The probabilities are tuned using $\\pmb { \\hat { p } } = \\mathrm { s o f t m a x } ( W [ \\pmb { p } ; \\pmb { h } ] + \\bar { \\boldsymbol { b } } )$ , where $^ { h }$ is the CLS representation. Since we do not have access to the embeddings obtained by GPT-3, we use ROBERTA to extract the vectors instead. We use such a calibrator on top of our best-performing base model, P-E, resulting $\\mathrm { P } \\mathrm { - } \\mathrm { E } +$ ZHANG ET AL. (2021). ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
173,
|
| 781 |
+
390,
|
| 782 |
+
825,
|
| 783 |
+
541
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 7
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "Limited by the maximum prompt length, in-context learning is not able to take as input the additional data used for training the calibrator. For a fair comparison, we can allow the in-context model to use this data by varying the prompts across test examples, dynamically choosing the prompt examples to maximize performance. Choosing closer data points for prompting is a common and effective way of scaling up the training data size for in-context learning (Shin et al., 2021; Liu et al., 2021). Following Liu et al. (2021), we test the performance of choosing nearest neighbors for the prompt based on CLS embedding produced by a ROBERTA model (Liu et al., 2019), referred as FEW-SHOT(NN). It is worth clarifying that the FEW-SHOT and FEW-SHOT $^ +$ PROBCAL approaches use the same set of 32 training shots in the prompt for every test example, whereas the shot sets vary from example to example in FEW-SHOT(NN). ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
173,
|
| 792 |
+
549,
|
| 793 |
+
825,
|
| 794 |
+
686
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 7
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "Results We show the results in Table 3. We use 5 different groups of training examples and report the mean and standard deviation across the groups. For FEW-SHOT(NN), we only report the results obtained using 128 examples; results using a smaller number of examples will be worse than this. ",
|
| 801 |
+
"bbox": [
|
| 802 |
+
174,
|
| 803 |
+
704,
|
| 804 |
+
821,
|
| 805 |
+
746
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Under 128 training examples, applying a trained calibrator on top of prompting with explanation (i.e., P- $\\Xi +$ EXPLCAL) achieves the best accuracy of $6 8 . 5 \\%$ , which is $12 \\%$ higher than the performance of the vanilla uncalibrated few-shot in-context learning (FEW-SHOT). P-E+EXPLCAL also outperforms FEW-SHOT $^ +$ PROBCAL and P- $\\Xi +$ PROBCAL by $5 \\%$ and $3 \\%$ , respectively. Using explanations is more effective than using probabilities alone. In addition, $\\mathrm { P } \\mathrm { - } \\mathrm { E } +$ EXPLCAL also outperforms P- $\\mathsf { E } +$ ZHANG ET AL. (2021), whose performance is on par with P-E+PROBCAL. This suggests the additional CLS information is not very helpful in this setting. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
752,
|
| 815 |
+
825,
|
| 816 |
+
849
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 7
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "As the data size increases from 32 to 128, the performance of the explanation-based calibrator keeps improving notably, whereas the performance of probability-based calibrators nearly saturates at a data size of 96. The performance of FEW-SHOT(NN) with 128 training instances only improves the performance by $3 . 3 \\%$ , compared to FEW-SHOT with 32 training instances. Choosing nearest neighbors as the shots, while being effective when having access to a large amount of data, is not helpful in the extreme data-scarce regime. Calibrating using explanations is an effective way of using a few extra data points that cannot fit in the prompt, which is a pitfall of standard in-context learning. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
856,
|
| 826 |
+
825,
|
| 827 |
+
911
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 7
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "table",
|
| 833 |
+
"img_path": "images/3d720904b7dcb76af1ee6cf2179a600a6292efd8cdc15dfec8f6496636cebd8f.jpg",
|
| 834 |
+
"table_caption": [
|
| 835 |
+
"Table 4: AUC scores $\\left( \\mathrm { { m e a n } _ { \\mathrm { { s t d } \\ d e v } } } \\right)$ on ADVHOTPOT under different data conditions. $\\mathbf { L }$ and $\\mathbf { E }$ denotes the number of label annotations and explanation annotations, respectively. Explanationbased calibration successfully improves the performance on top of prompting with explanations. "
|
| 836 |
+
],
|
| 837 |
+
"table_footnote": [],
|
| 838 |
+
"table_body": "<table><tr><td>w/o Explanation</td><td>6L</td><td>32L</td><td>64L</td></tr><tr><td>FEW-SHOT FEW-SHOT(NN)</td><td>59.62.4</td><td>1</td><td>1</td></tr><tr><td>w/Explanation</td><td>1 6L+6E</td><td>1 32L+6E</td><td>61.30.9 64L+6E</td></tr><tr><td>E-P</td><td>64.42.9</td><td></td><td></td></tr><tr><td>E-P+EXPLCAL</td><td></td><td>66.03.9</td><td>68.83.0</td></tr><tr><td>E-P+ZHANG</td><td>1 1</td><td>65.63.9</td><td>66.13.2</td></tr></table>",
|
| 839 |
+
"bbox": [
|
| 840 |
+
197,
|
| 841 |
+
185,
|
| 842 |
+
470,
|
| 843 |
+
299
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 8
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "image",
|
| 849 |
+
"img_path": "images/ac62f2c8bc287230803bb7f2b84c7493d086a7bca98eb99419c3217e5589a8e9.jpg",
|
| 850 |
+
"image_caption": [
|
| 851 |
+
"Figure 5: Coverage-Acc curves of various methods on ADVHOTPOT. E- $\\mathrm { P } +$ EXPLCAL is better calibrated compared to uncalbrated E-P as well as the other approaches. "
|
| 852 |
+
],
|
| 853 |
+
"image_footnote": [],
|
| 854 |
+
"bbox": [
|
| 855 |
+
529,
|
| 856 |
+
98,
|
| 857 |
+
772,
|
| 858 |
+
239
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 8
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "",
|
| 865 |
+
"bbox": [
|
| 866 |
+
174,
|
| 867 |
+
338,
|
| 868 |
+
825,
|
| 869 |
+
381
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 8
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Finally, ROBERTA finetuned using 128 shots only achieves an accuracy of $5 4 . 9 \\%$ , lagging the performance of GPT-3 based models. The limited training data size is insufficient for finetuning smaller language models like ROBERTA, but is sufficient for $\\mathrm { P } \\mathrm { - } \\mathrm { E } +$ EXPLCAL to be effective. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
176,
|
| 878 |
+
387,
|
| 879 |
+
825,
|
| 880 |
+
429
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 8
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "4.4 Calibrating ADVHOTPOT ",
|
| 887 |
+
"text_level": 1,
|
| 888 |
+
"bbox": [
|
| 889 |
+
174,
|
| 890 |
+
455,
|
| 891 |
+
390,
|
| 892 |
+
470
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 8
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Setup For the ADVHOTPOT dataset, our calibration takes the form of tuning the confidence scores of the predicted answers to better align them with the correctness of predictions. These confidence scores can be used in a “selective QA” setting (Kamath et al., 2020), where the model can abstain on a certain fraction of questions where it assigns low confidence to its answers. We use the area under coverage-accuracy curve (AUC) to evaluate how well a model is calibrated as in past literature (Kamath et al., 2020; Chen et al., 2021; Zhang et al., 2021; Garg and Moschitti, 2021; Ye and Durrett, 2022). The curve plots the average accuracy with varying fractions (coverage) of questions being answered (examples in Figure 5). For any given coverage, a better calibrated model should be able to identify questions that it performs best on, hence resulting a higher AUC. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
174,
|
| 901 |
+
484,
|
| 902 |
+
825,
|
| 903 |
+
611
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 8
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "We experiment with training data set sizes of 6, 32, and 64. We report the results averaged from 5 trials using different training sets. For ADVHOTPOT, we calibrate E-P, which is shown to be more effective than P-E in this setting (Section 2.4). Our approach is also effective for calibrating P-E; please refer to Appendix E for details. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
616,
|
| 913 |
+
825,
|
| 914 |
+
671
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 8
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "Results We show the AUC scores in Table 4. By leveraging explanations, $\\mathrm { E } { \\mathrm { - } } \\mathrm { P } +$ EXPLCAL successfully achieves an AUC of 68.8, surpassing both FEW-SHOT by 7 points and E-P by 4 points. We note this is a substantial improvement, given that the upperbound of AUC is constrained by the accuracy of the answers and cannot reach 100. Figure 5 shows the coverage-accuracy curves of various methods averaged across the 5 training runs. E- $\\mathrm { P } +$ EXPLCAL always achieves a higher accuracy than its uncalibrated counterpart, E-P, under a certain coverage, and the gap is especially large in the most confident intervals (coverage $< 5 0 \\%$ ). E- $\\mathrm { P } +$ ZHANG ET AL. (2021) is able to calibrate the predictions on this dataset, but still lags our explanation-based calibrator, E-P+EXPLCAL. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
696,
|
| 924 |
+
825,
|
| 925 |
+
808
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 8
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "In addition, the explanation-based calibrator can be effective with as few as 32 examples. This is because there are only two parameters (the probability of predicted answer and the explanationbased factor) in the calibrator, which can be easily learned in this few-shot setting. Comparing E $\\mathbf { \\partial } _ { - } \\mathbf { P } { + } \\mathbf { E }$ XPLCAL against FEW-SHOT(NN), using nearest neighbors in the prompt is also able to improve the performance compared to using a fixed set of shots (FEW-SHOT), yet our lightweight calibrator can better utilize such a small amount of data, and learn to distinguish more accurate predictions based on the explanations. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
174,
|
| 934 |
+
814,
|
| 935 |
+
825,
|
| 936 |
+
911
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 8
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "5 Related Work ",
|
| 943 |
+
"text_level": 1,
|
| 944 |
+
"bbox": [
|
| 945 |
+
174,
|
| 946 |
+
89,
|
| 947 |
+
321,
|
| 948 |
+
106
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 9
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Our investigation is centered around in-context learning (Brown et al., 2020), which has garnered increasing interest since the breakthrough of various large pretrained language models. Recent work has been devoted to studying different aspects of in-context learning, including its wayward behaviors (Min et al., 2022; Webson and Pavlick, 2022) and approaches to overcome them (Zhao et al., 2021), whereas our exploration focuses on using explanations. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
174,
|
| 957 |
+
121,
|
| 958 |
+
825,
|
| 959 |
+
189
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 9
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "The utility of explanations for few-shot in-context learning has also been discussed concurrently (Nye et al., 2021; Wei et al., 2022; Marasovic et al., 2022; Chowdhery et al., 2022; Lampinen et al., ´ 2022; Wiegreffe et al., 2022), especially in symbolic reasoning tasks. We differ in that we study more free-form explanations in tasks (QA and NLI, specifically) focusing on textual reasoning over provided contexts. Furthermore, our work focuses on the nature of the explanations generated by LLMs, which are found to be unreliable. Regarding our use of calibration, similar ideas of explanation-based performance estimation have been applied to other tasks (Rajani and Mooney, 2018; Ye et al., 2021; Ye and Durrett, 2022), but we rely on the free-text explanations generated by the model instead of interpretations obtained through post-hoc interpretation techniques. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
174,
|
| 968 |
+
196,
|
| 969 |
+
825,
|
| 970 |
+
320
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 9
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "More broadly, how to use explanations in various forms (textual explanation, highlights, etc.) to train better models is a longstanding problem (Zaidan et al., 2007). Past work has built a series of pipeline models that first generate the explanations and then make predictions purely based on the generated explanations (Wiegreffe et al., 2021; Zhou and Tan, 2021; Chen et al., 2022). Prior research has also explored using explanations as additional supervision to train joint models (Hancock et al., 2018; Dua et al., 2020; Lamm et al., 2021; Stacey et al., 2022). Another line of work seeks to align the reasoning process of a trained model with the explanations, which is typically done by interpreting a prediction post-hoc through explanation techniques and optimizing the distance between the obtained explanation and ground truth explanation (Liu and Avci, 2019; Rieger et al., 2020; Plumb et al., 2020; Erion et al., 2021; Yao et al., 2021). These aforementioned methods all update the model parameters and typically require a considerable amount of explanation annotations to be effective. By contrast, our setting treats language models as pure black boxes and only requires few-shot explanations. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
173,
|
| 979 |
+
327,
|
| 980 |
+
825,
|
| 981 |
+
492
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 9
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "6 Discussion & Conclusion ",
|
| 988 |
+
"text_level": 1,
|
| 989 |
+
"bbox": [
|
| 990 |
+
176,
|
| 991 |
+
512,
|
| 992 |
+
411,
|
| 993 |
+
529
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 9
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Caveats and Risks of Explanations from Large Language Models Our analysis suggests that LLMs’ internal “reasoning” does not always align with explanations that it generates, as shown by our consistency results. More concerning, the explanations might not be factually grounded in the provided prompt. This shortcoming should caution against any deployment of this technology in practice: because the explanations are grammatical English and look very convincing, they may deceive users into believing the system’s responses even when those responses are incorrect. Section 6 of Bender et al. (2021) discusses these risks in additional detail. The fact that language models can hallucinate explanations is also found in other work (Zhou and Tan, 2021). This result is unsurprising in some sense: without sufficient supervision or grounding, language models do not learn meaning as distinct from form (Bender and Koller, 2020), so we should not expect their explanations to be strongly grounded. ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
173,
|
| 1002 |
+
542,
|
| 1003 |
+
825,
|
| 1004 |
+
695
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 9
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "We have shown that even explanations which don’t lead to accuracy gains can still be useful for calibration. However, the lexical overlap feature we use here is a weak signal of explanation correctness (see the example in Figure 1). Strong enough entailment models should theoretically be able to perform this task and work across a range of tasks without fine-tuning. This explanation assessment model can even be a language model itself trained for this particular propose to approach the verification tasks for a given domain by in-context learning. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
174,
|
| 1013 |
+
702,
|
| 1014 |
+
825,
|
| 1015 |
+
785
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 9
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Conclusion We have explored the capabilities of LLMs in using explanations in in-context learning for textual reasoning. Through our experiments with four LLMs and on two QA datasets and an NLI dataset, we find that simply including explanations in the prompt does not always improve the performance of in-context learning. Our manual analysis demonstrates that LLMs tend to generate nonfactual explanations when making wrong predictions, which can be a useful leverage to assess the correctness of the predictions. Lastly, we showcase how to use explanations to build lightweight calibrators, which successfully improve InstructGPT’s in-context learning performance across all three datasets. ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
174,
|
| 1024 |
+
800,
|
| 1025 |
+
825,
|
| 1026 |
+
911
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 9
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Acknowledgments ",
|
| 1033 |
+
"text_level": 1,
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
176,
|
| 1036 |
+
89,
|
| 1037 |
+
328,
|
| 1038 |
+
106
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 10
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "We would like to thank Eunsol Choi, Ruiqi Zhong, Jocelyn Chen, Zayne Sprague, and Jiacheng Xu for their helpful feedback on drafts of this work, as well as the anonymous reviewers for their thoughtful reviews. This work was partially supported by NSF Grant IIS-1814522, NSF CAREER Award IIS-2145280, a grant from Open Philanthropy, a gift from Salesforce Inc., and a gift from Adobe. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
174,
|
| 1047 |
+
121,
|
| 1048 |
+
825,
|
| 1049 |
+
190
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 10
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "References ",
|
| 1056 |
+
"text_level": 1,
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
174,
|
| 1059 |
+
213,
|
| 1060 |
+
266,
|
| 1061 |
+
229
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 10
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, FAccT ’21, page 610–623, New York, NY, USA. Association for Computing Machinery. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
173,
|
| 1070 |
+
238,
|
| 1071 |
+
826,
|
| 1072 |
+
294
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 10
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Emily M. Bender and Alexander Koller. 2020. Climbing towards NLU: On meaning, form, and understanding in the age of data. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
176,
|
| 1081 |
+
305,
|
| 1082 |
+
823,
|
| 1083 |
+
349
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 10
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS). ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
176,
|
| 1092 |
+
359,
|
| 1093 |
+
825,
|
| 1094 |
+
459
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 10
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Jannis Bulian, Christian Buck, Wojciech Gajewski, Benjamin Boerschinger, and Tal Schuster. 2022. Tomayto, tomahto. beyond token-level answer equivalence for question answering evaluation. arXiv preprint arXiv:2202.07654. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
174,
|
| 1103 |
+
470,
|
| 1104 |
+
823,
|
| 1105 |
+
513
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 10
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-SNLI: Natural Language Inference with Natural Language Explanations. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS). ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
174,
|
| 1114 |
+
525,
|
| 1115 |
+
823,
|
| 1116 |
+
569
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 10
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "Howard Chen, Jacqueline He, Karthik Narasimhan, and Danqi Chen. 2022. Can rationalization improve robustness? In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
174,
|
| 1125 |
+
579,
|
| 1126 |
+
825,
|
| 1127 |
+
623
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 10
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Jifan Chen, Eunsol Choi, and Greg Durrett. 2021. Can NLI models verify QA systems’ predictions? In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
173,
|
| 1136 |
+
635,
|
| 1137 |
+
825,
|
| 1138 |
+
665
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 10
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Jifan Chen and Greg Durrett. 2019. Understanding dataset design choices for multi-hop reasoning. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
176,
|
| 1147 |
+
676,
|
| 1148 |
+
823,
|
| 1149 |
+
719
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 10
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Baindoor Rao, Parker Barnes, Yi Tay, Noam M. Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Benton C. Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier García, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Oliveira Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathleen S. MeierHellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. PaLM: Scaling Language Modeling with Pathways. ArXiv, abs/2204.02311. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
179,
|
| 1158 |
+
731,
|
| 1159 |
+
826,
|
| 1160 |
+
911
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 10
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Jay DeYoung, Sarthak Jain, Nazneen Fatema Rajani, Eric Lehman, Caiming Xiong, Richard Socher, and Byron C. Wallace. 2020. ERASER: A benchmark to evaluate rationalized NLP models. In Proceedings of the Annual Conference of the Association for Computational Linguistics $( A C L )$ . ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
176,
|
| 1169 |
+
90,
|
| 1170 |
+
825,
|
| 1171 |
+
133
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 11
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "Dheeru Dua, Sameer Singh, and Matt Gardner. 2020. Benefits of intermediate annotations in reading comprehension. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
174,
|
| 1180 |
+
141,
|
| 1181 |
+
823,
|
| 1182 |
+
184
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 11
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "Gabriel Erion, Joseph D Janizek, Pascal Sturmfels, Scott M Lundberg, and Su-In Lee. 2021. Improving performance of deep learning models with axiomatic attribution priors and expected gradients. Nature machine intelligence, 3(7):620–631. ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
174,
|
| 1191 |
+
191,
|
| 1192 |
+
823,
|
| 1193 |
+
234
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 11
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Siddhant Garg and Alessandro Moschitti. 2021. Will this Question be Answered? Question Filtering via Answer Model Distillation for Efficient Question Answering. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
174,
|
| 1202 |
+
242,
|
| 1203 |
+
823,
|
| 1204 |
+
286
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 11
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. 2021. Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategies. Transactions of the Association for Computational Linguistics, 9:346–361. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
176,
|
| 1213 |
+
292,
|
| 1214 |
+
823,
|
| 1215 |
+
337
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 11
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning (ICML). ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
174,
|
| 1224 |
+
343,
|
| 1225 |
+
821,
|
| 1226 |
+
373
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 11
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "text",
|
| 1232 |
+
"text": "Braden Hancock, Paroma Varma, Stephanie Wang, Martin Bringmann, Percy Liang, and Christopher Ré. 2018. Training classifiers with natural language explanations. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
178,
|
| 1235 |
+
381,
|
| 1236 |
+
821,
|
| 1237 |
+
424
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 11
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. 2021. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. In Proceedings of the International Conference on Learning Representations (ICLR). ",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
176,
|
| 1246 |
+
430,
|
| 1247 |
+
823,
|
| 1248 |
+
474
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 11
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "Alon Jacovi and Yoav Goldberg. 2021. Aligning faithful interpretations with their social attribution. Transactions of the Association for Computational Linguistics (TACL), 9:294–310. ",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
173,
|
| 1257 |
+
481,
|
| 1258 |
+
821,
|
| 1259 |
+
512
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 11
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "text",
|
| 1265 |
+
"text": "Yichen Jiang and Mohit Bansal. 2019. Avoiding reasoning shortcuts: Adversarial evaluation, training, and model development for multi-hop QA. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
174,
|
| 1268 |
+
518,
|
| 1269 |
+
823,
|
| 1270 |
+
563
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 11
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "text",
|
| 1276 |
+
"text": "Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL). ",
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
174,
|
| 1279 |
+
569,
|
| 1280 |
+
823,
|
| 1281 |
+
599
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 11
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. ArXiv, abs/2205.11916. ",
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
176,
|
| 1290 |
+
606,
|
| 1291 |
+
823,
|
| 1292 |
+
636
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 11
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "text",
|
| 1298 |
+
"text": "Matthew Lamm, Jennimaria Palomaki, Chris Alberti, Daniel Andor, Eunsol Choi, Livio Baldini Soares, and Michael Collins. 2021. QED: A framework and dataset for explanations in question answering. Transactions of the Association for Computational Linguistics (TACL), 9:790–806. ",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
174,
|
| 1301 |
+
642,
|
| 1302 |
+
823,
|
| 1303 |
+
686
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 11
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "Andrew K Lampinen, Ishita Dasgupta, Stephanie CY Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L McClelland, Jane X Wang, and Felix Hill. 2022. Can language models learn from explanations in context? arXiv preprint arXiv:2204.02329. ",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
174,
|
| 1312 |
+
693,
|
| 1313 |
+
823,
|
| 1314 |
+
737
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 11
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "Frederick Liu and Besim Avci. 2019. Incorporating priors with feature attribution on text classification. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
173,
|
| 1323 |
+
744,
|
| 1324 |
+
825,
|
| 1325 |
+
773
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 11
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "text",
|
| 1331 |
+
"text": "Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2021. What Makes Good In-Context Examples for GPT-3? ArXiv, abs/2101.06804. ",
|
| 1332 |
+
"bbox": [
|
| 1333 |
+
174,
|
| 1334 |
+
781,
|
| 1335 |
+
825,
|
| 1336 |
+
810
|
| 1337 |
+
],
|
| 1338 |
+
"page_idx": 11
|
| 1339 |
+
},
|
| 1340 |
+
{
|
| 1341 |
+
"type": "text",
|
| 1342 |
+
"text": "Y. Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, M. Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. ArXiv, abs/1907.11692. ",
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
174,
|
| 1345 |
+
818,
|
| 1346 |
+
825,
|
| 1347 |
+
861
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 11
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "text",
|
| 1353 |
+
"text": "Ana Marasovic, Iz Beltagy, Doug Downey, and Matthew E. Peters. 2022. Few-shot self-rationalization ´ with natural language prompts. In Findings of the North American Chapter of the Association for Computational Linguistics (NAACL Findings). ",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
174,
|
| 1356 |
+
868,
|
| 1357 |
+
826,
|
| 1358 |
+
912
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 11
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "Sabrina J. Mielke, Arthur Szlam, Emily Dinan, and Y-Lan Boureau. 2022. Reducing conversational agents’ overconfidence through linguistic calibration. Transactions of the Association for Computational Linguistics, 10:857–872. ",
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
174,
|
| 1367 |
+
90,
|
| 1368 |
+
825,
|
| 1369 |
+
133
|
| 1370 |
+
],
|
| 1371 |
+
"page_idx": 12
|
| 1372 |
+
},
|
| 1373 |
+
{
|
| 1374 |
+
"type": "text",
|
| 1375 |
+
"text": "Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837. ",
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
174,
|
| 1378 |
+
143,
|
| 1379 |
+
823,
|
| 1380 |
+
186
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 12
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. 2021. Show your work: Scratchpads for intermediate computation with language models. ArXiv, abs/2112.00114. ",
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
173,
|
| 1389 |
+
196,
|
| 1390 |
+
825,
|
| 1391 |
+
253
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 12
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "text",
|
| 1397 |
+
"text": "John Platt. 1999. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Advances in large margin classifiers, 10(3):61–74. ",
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
169,
|
| 1400 |
+
265,
|
| 1401 |
+
825,
|
| 1402 |
+
295
|
| 1403 |
+
],
|
| 1404 |
+
"page_idx": 12
|
| 1405 |
+
},
|
| 1406 |
+
{
|
| 1407 |
+
"type": "text",
|
| 1408 |
+
"text": "Gregory Plumb, Maruan Al-Shedivat, Ángel Alexander Cabrera, Adam Perer, Eric Xing, and Ameet Talwalkar. 2020. Regularizing black-box models for improved interpretability. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS). ",
|
| 1409 |
+
"bbox": [
|
| 1410 |
+
173,
|
| 1411 |
+
305,
|
| 1412 |
+
823,
|
| 1413 |
+
349
|
| 1414 |
+
],
|
| 1415 |
+
"page_idx": 12
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"type": "text",
|
| 1419 |
+
"text": "Nazneen Fatema Rajani, Bryan McCann, Caiming Xiong, and Richard Socher. 2019. Explain Yourself! Leveraging Language Models for Commonsense Reasoning. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
176,
|
| 1422 |
+
358,
|
| 1423 |
+
823,
|
| 1424 |
+
402
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 12
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "text",
|
| 1430 |
+
"text": "Nazneen Fatema Rajani and Raymond Mooney. 2018. Stacking with auxiliary features for visual question answering. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), New Orleans, Louisiana. ",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
174,
|
| 1433 |
+
412,
|
| 1434 |
+
825,
|
| 1435 |
+
469
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 12
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"type": "text",
|
| 1441 |
+
"text": "Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016. \"Why Should I Trust You?\": Explaining the Predictions of Any Classifier. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD). ",
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
178,
|
| 1444 |
+
479,
|
| 1445 |
+
821,
|
| 1446 |
+
523
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 12
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "text",
|
| 1452 |
+
"text": "Laura Rieger, Chandan Singh, William Murdoch, and Bin Yu. 2020. Interpretations are useful: Penalizing explanations to align neural networks with prior knowledge. In Proceedings of the International Conference on Machine Learning (ICML). ",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
174,
|
| 1455 |
+
534,
|
| 1456 |
+
825,
|
| 1457 |
+
577
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 12
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "text",
|
| 1463 |
+
"text": "Richard Shin, Christopher Lin, Sam Thomson, Charles Chen, Subhro Roy, Emmanouil Antonios Platanios, Adam Pauls, Dan Klein, Jason Eisner, and Benjamin Van Durme. 2021. Constrained language models yield few-shot semantic parsers. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). ",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
174,
|
| 1466 |
+
587,
|
| 1467 |
+
826,
|
| 1468 |
+
643
|
| 1469 |
+
],
|
| 1470 |
+
"page_idx": 12
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"type": "text",
|
| 1474 |
+
"text": "Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. 2014. Deep inside convolutional networks: Visualising image classification models and saliency maps. In 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014, Workshop Track Proceedings. ",
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
173,
|
| 1477 |
+
655,
|
| 1478 |
+
826,
|
| 1479 |
+
712
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 12
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "Joe Stacey, Yonatan Belinkov, and Marek Rei. 2022. Supervising model attention with human explanations for robust natural language inference. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI). ",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
171,
|
| 1488 |
+
722,
|
| 1489 |
+
823,
|
| 1490 |
+
765
|
| 1491 |
+
],
|
| 1492 |
+
"page_idx": 12
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"type": "text",
|
| 1496 |
+
"text": "Mukund Sundararajan, Ankur Taly, and Qiqi Yan. 2017. Axiomatic attribution for deep networks. In Proceedings of the International Conference on Machine Learning (ICML). ",
|
| 1497 |
+
"bbox": [
|
| 1498 |
+
171,
|
| 1499 |
+
775,
|
| 1500 |
+
823,
|
| 1501 |
+
805
|
| 1502 |
+
],
|
| 1503 |
+
"page_idx": 12
|
| 1504 |
+
},
|
| 1505 |
+
{
|
| 1506 |
+
"type": "text",
|
| 1507 |
+
"text": "Albert Webson and Ellie Pavlick. 2022. Do prompt-based models really understand the meaning of their prompts? In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). ",
|
| 1508 |
+
"bbox": [
|
| 1509 |
+
173,
|
| 1510 |
+
815,
|
| 1511 |
+
825,
|
| 1512 |
+
858
|
| 1513 |
+
],
|
| 1514 |
+
"page_idx": 12
|
| 1515 |
+
},
|
| 1516 |
+
{
|
| 1517 |
+
"type": "text",
|
| 1518 |
+
"text": "Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. 2022. Chain of thought prompting elicits reasoning in large language models. ArXiv, abs/2201.11903. ",
|
| 1519 |
+
"bbox": [
|
| 1520 |
+
174,
|
| 1521 |
+
868,
|
| 1522 |
+
826,
|
| 1523 |
+
911
|
| 1524 |
+
],
|
| 1525 |
+
"page_idx": 12
|
| 1526 |
+
},
|
| 1527 |
+
{
|
| 1528 |
+
"type": "text",
|
| 1529 |
+
"text": "Jason Weston, Antoine Bordes, Sumit Chopra, and Tomás Mikolov. 2016. Towards AI-Complete Question Answering: A Set of Prerequisite Toy Tasks. In Proceedings of the International Conference on Learning Representations (ICLR). ",
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
178,
|
| 1532 |
+
90,
|
| 1533 |
+
823,
|
| 1534 |
+
133
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 13
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"type": "text",
|
| 1540 |
+
"text": "Sarah Wiegreffe, Jack Hessel, Swabha Swayamdipta, Mark Riedl, and Yejin Choi. 2022. Reframing Human-AI Collaboration for Generating Free-Text Explanations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). ",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
174,
|
| 1543 |
+
142,
|
| 1544 |
+
826,
|
| 1545 |
+
199
|
| 1546 |
+
],
|
| 1547 |
+
"page_idx": 13
|
| 1548 |
+
},
|
| 1549 |
+
{
|
| 1550 |
+
"type": "text",
|
| 1551 |
+
"text": "Sarah Wiegreffe, Ana Marasovic, and Noah A. Smith. 2021. Measuring association between labels ´ and free-text rationales. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). ",
|
| 1552 |
+
"bbox": [
|
| 1553 |
+
174,
|
| 1554 |
+
208,
|
| 1555 |
+
825,
|
| 1556 |
+
252
|
| 1557 |
+
],
|
| 1558 |
+
"page_idx": 13
|
| 1559 |
+
},
|
| 1560 |
+
{
|
| 1561 |
+
"type": "text",
|
| 1562 |
+
"text": "Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William W. Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). ",
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
174,
|
| 1565 |
+
261,
|
| 1566 |
+
825,
|
| 1567 |
+
318
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 13
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "text",
|
| 1573 |
+
"text": "Huihan Yao, Ying Chen, Qinyuan Ye, Xisen Jin, and Xiang Ren. 2021. Refining language models with compositional explanations. In Proceedings of the Conference on Advances in Neural Information Processing Systems (NeurIPS). ",
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
174,
|
| 1576 |
+
325,
|
| 1577 |
+
823,
|
| 1578 |
+
369
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 13
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "text",
|
| 1584 |
+
"text": "Xi Ye and Greg Durrett. 2022. Can Explanations be Useful for Calibrating Black Box Models? In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
169,
|
| 1587 |
+
378,
|
| 1588 |
+
823,
|
| 1589 |
+
407
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 13
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "text",
|
| 1595 |
+
"text": "Xi Ye, Rohan Nair, and Greg Durrett. 2021. Connecting attributions and QA model behavior on realistic counterfactuals. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). ",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
176,
|
| 1598 |
+
416,
|
| 1599 |
+
823,
|
| 1600 |
+
459
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 13
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "text",
|
| 1606 |
+
"text": "Omar Zaidan, Jason Eisner, and Christine Piatko. 2007. Using “annotator rationales” to improve machine learning for text categorization. In Proceedings of the Annual Conference of the Association for Computational Linguistics (ACL). ",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
174,
|
| 1609 |
+
468,
|
| 1610 |
+
826,
|
| 1611 |
+
511
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 13
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "text",
|
| 1617 |
+
"text": "Shujian Zhang, Chengyue Gong, and Eunsol Choi. 2021. Knowing more about questions can help: Improving calibration in question answering. In Findings of the Annual Conference of the Association for Computational Linguistics (ACL Findings). ",
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
174,
|
| 1620 |
+
520,
|
| 1621 |
+
825,
|
| 1622 |
+
564
|
| 1623 |
+
],
|
| 1624 |
+
"page_idx": 13
|
| 1625 |
+
},
|
| 1626 |
+
{
|
| 1627 |
+
"type": "text",
|
| 1628 |
+
"text": "Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. 2022. OPT: Open Pre-trained Transformer Language Models. ArXiv, abs/2205.01068. ",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
173,
|
| 1631 |
+
573,
|
| 1632 |
+
825,
|
| 1633 |
+
630
|
| 1634 |
+
],
|
| 1635 |
+
"page_idx": 13
|
| 1636 |
+
},
|
| 1637 |
+
{
|
| 1638 |
+
"type": "text",
|
| 1639 |
+
"text": "Tony Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In Proceedings of the International Conference on Learning Representations (ICLR). ",
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
176,
|
| 1642 |
+
638,
|
| 1643 |
+
825,
|
| 1644 |
+
681
|
| 1645 |
+
],
|
| 1646 |
+
"page_idx": 13
|
| 1647 |
+
},
|
| 1648 |
+
{
|
| 1649 |
+
"type": "text",
|
| 1650 |
+
"text": "Yangqiaoyu Zhou and Chenhao Tan. 2021. Investigating the effect of natural language explanations on out-of-distribution generalization in few-shot NLI. In Proceedings of the Workshop on Insights from Negative Results in NLP. ",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
178,
|
| 1653 |
+
690,
|
| 1654 |
+
823,
|
| 1655 |
+
733
|
| 1656 |
+
],
|
| 1657 |
+
"page_idx": 13
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"type": "text",
|
| 1661 |
+
"text": "Checklist ",
|
| 1662 |
+
"text_level": 1,
|
| 1663 |
+
"bbox": [
|
| 1664 |
+
174,
|
| 1665 |
+
760,
|
| 1666 |
+
254,
|
| 1667 |
+
776
|
| 1668 |
+
],
|
| 1669 |
+
"page_idx": 13
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"type": "text",
|
| 1673 |
+
"text": "1. For all authors... ",
|
| 1674 |
+
"bbox": [
|
| 1675 |
+
214,
|
| 1676 |
+
787,
|
| 1677 |
+
339,
|
| 1678 |
+
801
|
| 1679 |
+
],
|
| 1680 |
+
"page_idx": 13
|
| 1681 |
+
},
|
| 1682 |
+
{
|
| 1683 |
+
"type": "text",
|
| 1684 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 6. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 6. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1685 |
+
"bbox": [
|
| 1686 |
+
238,
|
| 1687 |
+
806,
|
| 1688 |
+
825,
|
| 1689 |
+
911
|
| 1690 |
+
],
|
| 1691 |
+
"page_idx": 13
|
| 1692 |
+
},
|
| 1693 |
+
{
|
| 1694 |
+
"type": "text",
|
| 1695 |
+
"text": "2. If you are including theoretical results... ",
|
| 1696 |
+
"bbox": [
|
| 1697 |
+
214,
|
| 1698 |
+
92,
|
| 1699 |
+
493,
|
| 1700 |
+
106
|
| 1701 |
+
],
|
| 1702 |
+
"page_idx": 14
|
| 1703 |
+
},
|
| 1704 |
+
{
|
| 1705 |
+
"type": "text",
|
| 1706 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
|
| 1707 |
+
"bbox": [
|
| 1708 |
+
238,
|
| 1709 |
+
109,
|
| 1710 |
+
738,
|
| 1711 |
+
141
|
| 1712 |
+
],
|
| 1713 |
+
"page_idx": 14
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"type": "text",
|
| 1717 |
+
"text": "3. If you ran experiments... ",
|
| 1718 |
+
"bbox": [
|
| 1719 |
+
212,
|
| 1720 |
+
145,
|
| 1721 |
+
393,
|
| 1722 |
+
160
|
| 1723 |
+
],
|
| 1724 |
+
"page_idx": 14
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "text",
|
| 1728 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] We use the GPT-3 Instruct-series API (text-davinci-001). ",
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
238,
|
| 1731 |
+
164,
|
| 1732 |
+
825,
|
| 1733 |
+
296
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 14
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "text",
|
| 1739 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1740 |
+
"bbox": [
|
| 1741 |
+
210,
|
| 1742 |
+
301,
|
| 1743 |
+
823,
|
| 1744 |
+
315
|
| 1745 |
+
],
|
| 1746 |
+
"page_idx": 14
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "text",
|
| 1750 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See reference (Jiang and Bansal, 2019) and (Camburu et al., 2018). \n(b) Did you mention the license of the assets? [Yes] See Section 2.1. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We included the Synthetic dataset in the supplementary material. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No] ",
|
| 1751 |
+
"bbox": [
|
| 1752 |
+
238,
|
| 1753 |
+
319,
|
| 1754 |
+
825,
|
| 1755 |
+
454
|
| 1756 |
+
],
|
| 1757 |
+
"page_idx": 14
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"type": "text",
|
| 1761 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1762 |
+
"bbox": [
|
| 1763 |
+
214,
|
| 1764 |
+
458,
|
| 1765 |
+
705,
|
| 1766 |
+
473
|
| 1767 |
+
],
|
| 1768 |
+
"page_idx": 14
|
| 1769 |
+
},
|
| 1770 |
+
{
|
| 1771 |
+
"type": "text",
|
| 1772 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1773 |
+
"bbox": [
|
| 1774 |
+
238,
|
| 1775 |
+
477,
|
| 1776 |
+
825,
|
| 1777 |
+
566
|
| 1778 |
+
],
|
| 1779 |
+
"page_idx": 14
|
| 1780 |
+
}
|
| 1781 |
+
]
|
parse/dev/E0zOKxQsZhN/E0zOKxQsZhN_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|